зеркало из https://github.com/Azure/AzureRMR.git
1.7 KiB
1.7 KiB
AzureRMR 1.0.0.9000
Significant interface changes
- New
create_azure_login
,get_azure_login
anddelete_azure_login
functions to handle ARM authentication. While directly callingaz_rm$new()
will still work, it's recommended to usecreate_azure_login
andget_azure_login
going forward. Login credentials will be saved and reused for subsequent sessions (see below). get_azure_token
significantly revamped. It now supports four authentication methods for obtaining AAD tokens:- Client credentials (what you would use with a "web app" registered service principal)
- Authorization code (for a "native" service principal)
- Device code
- With a username and password (resource owner grant)
get_azure_token
will now cache AAD tokens and refresh them for subsequent sessions. Tokens are cached in a user-specific configuration directory (unlike httr, which saves them in a special file in the R working directory).- Token acquisition logic will shortly move to a new package, to allow it to be used by other packages independently of the Resource Manager interface.
Other changes
- Don't print empty fields for ARM objects.
- Add optional
etag
field to resource object definition. - Add
location
argument toaz_resource_group$create_resource
method, rather than hardcoding it to the resgroup location. - Add
wait
argument when creating a new resource, similar to deploying a template, since some resources will return before provisioning is complete. Defaults toFALSE
for backward compatibility. - Export
is_azure_token
. - Allow
az_resource_group$deploy_template()
to work withoutparameters
arg (parameters folded into template itself).
AzureRMR 1.0.0
- Submitted to CRAN
AzureRMR 0.9.0
- Moved to cloudyr organisation