list_azure_logins
function. Thanks to Pedro Z (@pedrobtz).get_tags
method for subscription objects. Thanks to Bert Neef (@bertneef).AzureGraph::get_graph_login
, get_azure_login
now has app
, scopes
and auth_type
arguments to let you specify a particular login to retrieve.az_subscription$list_locations
to handle the new response format.set_tags
method to work when called inside a function (#18).get_resource(*, api_version=NULL)
when there are no stable API versions will now warn and use the latest preview version, rather than throw an error (#19).res$get_subresource(type="subrestype", name="subresname")
. See az_resource
for more information.build_template_definition
. Also allow changing the schema, content version and api profile.filter
, expand
and top
) for the list_resource_groups
, list_templates
and list_resources
methods, to trim the results. See the Azure docs for more details.createdBy:AzureR/AzureRMR
tag to Azure objects (resource groups, resources and templates) created by this package.get_tags()
method for templates.zones
field containing the availability zones.do_operation
method for the Resource Manager login client, allowing arbitrary operations at the top-level scope.get_paged_list
utility function.?pool
for more details.do_operation
methods for subscription and resource group objects, similar to that for resources. This allows arbitrary operations on a sub or RG.create_azure_login
can now create a login client for Microsoft Graph with the same credentials as the ARM client. This is to facilitate working with registered apps and service principals, eg when managing roles and permissions. Some Azure services also require creating service principals as part of creating a resource (eg Azure Kubernetes Service), and keeping the Graph credentials consistent with ARM helps ensure nothing breaks.create_azure_login
still required the tenant
argument when a token was supplied.utils::askYesNo
for confirmation prompts on R >= 3.5, eg when deleting resources; this fixes a bug in reading the input. As a side-effect, Windows users who are using RGUI.exe will see a popup dialog box instead of a message in the terminal.build_template_definition
and build_parameters_parameters
generics to help in template deployment. These can take as inputs R lists, JSON text strings, or file connections, and can also be extended by other packages.config_file
argument for az_rm$new
has been removed; to use a configuration file, call the (recommended) create_azure_login
function.az_subscription$get_provider_api_version
now returns only stable APIs by default. Set the argument stable_only=FALSE
to allow returning preview APIs.?rbac
for more information.create_azure_login
, get_azure_login
and delete_azure_login
functions to handle ARM authentication. By default, these will authenticate using your AAD user credentials without requiring you to create a service principal. Directly calling az_rm$new()
will still work, but it's recommended to use create_azure_login
and get_azure_login
going forward. Login credentials will be saved and reused for subsequent sessions (see below).get_azure_token
now supports four authentication methods for obtaining tokens (client_credentials
, authorization_code
, device_code
and resource_owner
). Tokens are also automatically cached and retrieved for use in subsequent sessions, without needing the user to reauthenticate. See the AzureAuth documentation for more details.etag
field to resource object definition.location
argument to az_resource_group$create_resource
method, rather than hardcoding it to the resgroup location.wait
argument when creating a new resource, similar to deploying a template, since some resources will return before provisioning is complete. Defaults to FALSE
for backward compatibility.is_azure_token
.az_resource_group$deploy_template()
to work without parameters
arg (parameters folded into template itself).az_resource_group$delete_resource
from deleting the resource.az_resource$get_api_version
to match set_api_version
.az_resource$set_api_version
gains a new argument stable_only
which defaults to TRUE
; set this to FALSE
if you want the latest preview version.az_resource$sync_fields()
will respect a non-default API version.create_lock
to create a lock, get_lock
to retrieve an existing lock object, and delete_lock
to delete a lock. Call list_locks
to list all the locks that apply to an object.set_tags
to set tags, and get_tags
to retrieve them.named_list
to accept empty inputs. The output will be a list of length 0 with a names
attribute.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.