Hong Ooi
b79f0a893f
really fix resource tests
2020-07-24 15:17:55 +10:00
Hong Ooi
0841472b2a
use https for template schema url
2020-07-22 23:49:31 +10:00
Hong Ooi
747031c543
Template msg check ( #12 )
...
* fix error message
* refactor check
* fix failing test
* add test
2020-07-22 23:33:23 +10:00
Hong Ooi
e99828dc99
List filters ( #11 )
...
* add filtering
* testing
* rm broken azure pipelines link
2020-06-11 03:13:34 +10:00
Hong Ooi
e160e098ee
Add tags for created objects ( #10 )
...
* add createdBy tag to new objects
* fix
* also tag templates
* don't overwrite manually assigned tag
* add template get_tags(), update docs
* update news
2020-06-09 21:58:54 +10:00
Hong Ooi
875c71cb3a
Handle extended resource fields ( #9 )
...
closes #8
2020-05-13 20:07:48 +10:00
Hong Ooi
412f097db8
Add top-level do_op ( #7 )
...
* add do_op for arm session object
* redocument
* fix az_rm do_operation
* better fix
* add test
* update news/desc
* r cmd check fix
2020-04-22 18:34:04 +10:00
Hong Ooi
26f898dabe
treat access token as opaque
2019-10-28 14:37:47 +11:00
Hong Ooi
c6615033af
Revert "let pool fns fall back to sequential"
...
This reverts commit 54020361c5
.
2019-10-25 11:17:48 +08:00
Hong Ooi
54020361c5
let pool fns fall back to sequential
2019-10-24 23:36:21 +08:00
Hong Ooi
ce20147d78
Background pool ( #6 )
...
* pool creation
* pool exports
* declare pool as globalvar
* fixup pool
* wording
* import parallel
* add tests
* import AzureGraph, update docs
2019-10-21 11:46:24 +08:00
Hong Ooi
435b038eb4
expose do_operation for sub and rg
2019-10-17 22:28:56 +11:00
Hong Ooi
03aedd58a7
Graph login ( #5 )
...
* create graph login with ARM login
* normalize tenant
* require dev AzureAuth
* fix
* document
* test interop
* require quietly
* catch errors when making graph login
* put graph login checks in one place
* bump required AzureAuth ver
* AzureAuth 1.2.1 on CRAN
* doc/news update
2019-09-09 17:30:43 +10:00
Hong Ooi
888acc2f68
get AAD v2 token to work
2019-08-15 19:22:24 +10:00
Hong Ooi
417db355e2
template build helpers
2019-06-02 02:06:34 +10:00
Hong Ooi
c674b986a9
fix failing test
2019-05-21 20:28:23 +10:00
Hong Ooi
2141f66281
add token as create_azure_login arg
2019-05-12 06:11:41 +10:00
Hong Ooi
c29cf2283f
update tests, news
2019-05-12 05:41:00 +10:00
Hong Ooi
c4b969bcf7
basic RBAC support ( #15 )
...
* skeleton
* fleshing out
* refactoring
* use sub_op method throughout
* fixes
* no longer just ARM error msgs
* all impls
* graph login fns
* fix normalize_graph_tenant
* app object
* call_azure_graph fn
* more impl
* fixing
* more fixing
* define client obj, wrapping arm and graph
* yet more fixing
* add scope for list_role_assignments
* service principal
* continuing fixups
* can load
* use active bindings to redirect
* add scope arg for list_role_defs
* use objects for roles
* get_role_def working
* add and remove_role_assignment
* rm stray print
* fix remove_role_assignment
* really fix remove_role_assignment
* return df from list_role methods
* add refresh method for client
* testing for rbac
* refresh is function, not active binding
* fixing
* tests working
* resource rbac testing
* test tinkering
* fail if selection provided but doesn't exist
* documenting
* more documenting
* role doc
* move graph to new pkg
* fixing for R cmd check
* rm AzureGraph as suggested
* fixes
* doc tweak
* update news
* rm stray bit
* another stray bit
* use latest RBAC API versions
* use new filter for list_role_defs
2019-03-15 19:12:12 +11:00
hong-revo
44fc8c9c45
add list_locks method
2019-02-21 17:32:12 +11:00
hong-revo
2b04646c3e
change body encoding to raw, fixes #13
2019-02-18 18:05:23 +11:00
hong-revo
2a66d15168
fixes for tagging
2019-02-18 14:34:55 +11:00
hong-revo
72572a697a
resgroup tagging
2019-02-15 06:24:32 +11:00
hong-revo
6d72b5dd0d
add tests, note req permissions
2019-02-15 05:48:23 +11:00
hong-revo
99db87901e
rm token tests
2019-02-06 22:50:28 +11:00
hong-revo
b231ebc60f
tests passing
2019-02-06 21:23:11 +11:00
hong-revo
ccf59a5f24
test typo
2019-01-21 15:49:02 +08:00
hong-revo
90b3c70ac2
fix resource delete from rg
2019-01-18 08:39:58 +11:00
hong-revo
76c212bf8e
add warning if requiring devicecode and noninteractive
2019-01-16 23:19:17 +11:00
hong-revo
94a6a596ab
more tidying, export data dir fn
2019-01-15 11:03:42 +11:00
hong-revo
a9ef31f2d4
tidying login details
2019-01-15 03:55:41 +11:00
hong-revo
b3a6466bd5
login tests
2019-01-15 02:49:21 +11:00
hong-revo
9e424ecca1
revamping azure_login
2019-01-15 02:22:30 +11:00
hong-revo
a736649248
tests for tokens
2019-01-15 00:37:39 +11:00
hong-revo
8c10eab8e8
caching hideous but working
2019-01-14 22:28:38 +11:00
hong-revo
137115d769
revised caching logic
2019-01-14 18:19:42 +11:00
hong-revo
24018e92fd
fully implement token caching
2019-01-14 08:28:26 +11:00
hong-revo
81b3f2a7ba
fix no-parameters deploy
2019-01-12 05:45:08 +11:00
hong-revo
fc26b2bacf
fix tests, run document()
2019-01-11 05:12:58 +11:00
Hong Ooi
5ab610fd8e
Cli auth ( #2 )
...
* changes to enable auth with CLI app id
* api for persistent logins
* dev version number
* typo
* add documentation
* update docs to use get_az_login
* update mds
* allow new login flow to use svc principal
* fix delete_az_login
* more fixups
* fix list_az_logins
* update news
* update intro
* add badges
* az_login -> azure_login
* doc fix
* cleanup
* document
* document fixup
* update tests
* rationalise auth arguments: resource_host first arg, auth_type default based on pwd
* fix vignette img links
2018-12-26 15:15:31 +11:00
hong-revo
11a3a1785f
add wait arg for res creation, location arg for create_resource method
2018-12-12 01:56:51 +11:00
hong-revo
94ba623623
move resource check into resgroup class
2018-11-12 09:43:25 -08:00
hong-revo
66fea8fc65
default location for create_resource taken from rg loc, fill in readme
2018-10-30 13:40:06 +11:00
hong-revo
68c804bd81
rename secret -> password for compat with az cli
2018-10-29 00:00:20 +11:00
hong-revo
40d470f665
fix template test
2018-10-28 23:03:37 +11:00
hong-revo
43d773892f
test commit
2018-10-23 20:45:27 +08:00
hong-revo
a6c92d19a5
rm cruft
2018-10-23 02:17:12 +08:00
hong-revo
73cb1f0f0c
template test
2018-10-23 02:15:08 +08:00
hong-revo
abfc24fa86
resource tests
2018-10-22 23:06:19 +08:00
hong-revo
11b9b026bd
basic integration testing
2018-10-22 21:22:02 +08:00