Initializing a new object of this class can either retrieve an existing template, or deploy a new template on the host. Generally, the easiest way to create a template object is via the get_template, deploy_template or list_templates methods of the az_resource_group class, which handle the details automatically.
To initialize an object that refers to an existing deployment, supply the following arguments to new():
token: An OAuth 2.0 token, as generated by get_azure_token.
subscription: The subscription ID.
resource_group: The resource group.
name: The deployment name`.
If you also supply the following arguments to new(), a new template will be deployed:
template: The template to deploy. This can be provided in a number of ways:
A nested list of name-value pairs representing the parsed JSON
The name of a template file
A vector of strings containing unparsed JSON
A URL from which the host can download the template
parameters: The parameters for the template. This can be provided using any of the same methods as the template argument.
wait: Optionally, whether to wait until the deployment is complete. Defaults to FALSE, in which case the method will return immediately.