deployments
Creates, updates, deletes, gets or lists a deployments resource.
Overview
| Name | deployments |
| Type | Resource |
| Id | azure.resource.deployments |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_resource_group
- get_at_scope
- get_at_management_group_scope
- get_at_subscription_scope
- list_at_scope
- list_at_management_group_scope
- list_at_subscription_scope
- get_at_tenant_scope
- list_at_tenant_scope
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
correlationId | string | The correlation ID of the deployment. |
debugSetting | object | The debug setting of the deployment. |
dependencies | array | The list of deployment dependencies. |
diagnostics | array | Contains diagnostic information collected during validation process. |
duration | string | The duration of the template deployment. |
error | object | The deployment error. |
extensions | array | The extensions used in this deployment. |
location | string | the location of the deployment. |
mode | string | The deployment mode. Possible values are Incremental and Complete. Known values are: "Incremental" and "Complete". (Incremental, Complete) |
onErrorDeployment | object | The deployment on error behavior. |
outputResources | array | Array of provisioned resources. |
outputs | object | Key/value pairs that represent deployment output. |
parameters | object | Deployment parameters. |
parametersLink | object | The URI referencing the parameters. |
providers | array | The list of resource providers needed for the deployment. |
provisioningState | string | Denotes the state of provisioning. Known values are: "NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", and "Updating". (NotSpecified, Accepted, Running, Ready, Creating, Created, Deleting, Deleted, Canceled, Failed, Succeeded, Updating) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Deployment tags. |
templateHash | string | The hash produced for the template. |
templateLink | object | The URI referencing the template. |
timestamp | string (date-time) | The timestamp of the template deployment. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
validatedResources | array | Array of validated resources. |
validationLevel | string | The validation level of the deployment. Known values are: "Template", "Provider", and "ProviderNoRbac". (Template, Provider, ProviderNoRbac) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, deployment_name, subscription_id | Gets a deployment. | |
list_by_resource_group | select | resource_group_name, subscription_id | $filter, $top | Get all the deployments for a resource group. |
get_at_scope | select | scope, deployment_name | Gets a deployment. | |
get_at_management_group_scope | select | group_id, deployment_name | Gets a deployment. | |
get_at_subscription_scope | select | deployment_name, subscription_id | Gets a deployment. | |
list_at_scope | select | scope | $filter, $top | Get all the deployments at the given scope. |
list_at_management_group_scope | select | group_id | $filter, $top | Get all the deployments for a management group. |
list_at_subscription_scope | select | subscription_id | $filter, $top | Get all the deployments for a subscription. |
get_at_tenant_scope | select | deployment_name | Gets a deployment. | |
list_at_tenant_scope | select | $filter, $top | Get all the deployments at the tenant scope. | |
create_or_update | insert | resource_group_name, deployment_name, subscription_id, properties | Deploys resources to a resource group. You can provide the template and parameters directly in the request or link to JSON files. | |
create_or_update_at_management_group_scope | insert | group_id, deployment_name, location, properties | Deploys resources at management group scope. You can provide the template and parameters directly in the request or link to JSON files. | |
create_or_update_at_scope | insert | scope, deployment_name, properties | Deploys resources at a given scope. You can provide the template and parameters directly in the request or link to JSON files. | |
create_or_update_at_tenant_scope | insert | deployment_name, location, properties | Deploys resources at tenant scope. You can provide the template and parameters directly in the request or link to JSON files. | |
create_or_update_at_subscription_scope | insert | deployment_name, subscription_id, properties | Deploys resources at subscription scope. You can provide the template and parameters directly in the request or link to JSON files. | |
create_or_update | replace | resource_group_name, deployment_name, subscription_id, properties | Deploys resources to a resource group. You can provide the template and parameters directly in the request or link to JSON files. | |
create_or_update_at_management_group_scope | replace | group_id, deployment_name, location, properties | Deploys resources at management group scope. You can provide the template and parameters directly in the request or link to JSON files. | |
create_or_update_at_scope | replace | scope, deployment_name, properties | Deploys resources at a given scope. You can provide the template and parameters directly in the request or link to JSON files. | |
create_or_update_at_tenant_scope | replace | deployment_name, location, properties | Deploys resources at tenant scope. You can provide the template and parameters directly in the request or link to JSON files. | |
create_or_update_at_subscription_scope | replace | deployment_name, subscription_id, properties | Deploys resources at subscription scope. You can provide the template and parameters directly in the request or link to JSON files. | |
delete | delete | resource_group_name, deployment_name, subscription_id | Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. | |
delete_at_scope | delete | scope, deployment_name | Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. | |
delete_at_management_group_scope | delete | group_id, deployment_name | Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. | |
delete_at_subscription_scope | delete | deployment_name, subscription_id | Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. | |
delete_at_tenant_scope | delete | deployment_name | Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. | |
check_existence | exec | resource_group_name, deployment_name, subscription_id | Checks whether the deployment exists. | |
check_existence_at_scope | exec | scope, deployment_name | Checks whether the deployment exists. | |
check_existence_at_tenant_scope | exec | deployment_name | Checks whether the deployment exists. | |
check_existence_at_management_group_scope | exec | group_id, deployment_name | Checks whether the deployment exists. | |
check_existence_at_subscription_scope | exec | deployment_name, subscription_id | Checks whether the deployment exists. | |
cancel_at_scope | exec | scope, deployment_name | Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. | |
validate_at_scope | exec | scope, deployment_name, properties | Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. | |
export_template_at_scope | exec | scope, deployment_name | Exports the template used for specified deployment. | |
cancel_at_tenant_scope | exec | deployment_name | Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. | |
validate_at_tenant_scope | exec | deployment_name, location, properties | Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. | |
what_if_at_tenant_scope | exec | deployment_name, location, properties | Returns changes that will be made by the deployment if executed at the scope of the tenant group. | |
export_template_at_tenant_scope | exec | deployment_name | Exports the template used for specified deployment. | |
cancel_at_management_group_scope | exec | group_id, deployment_name | Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. | |
validate_at_management_group_scope | exec | group_id, deployment_name, location, properties | Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. | |
what_if_at_management_group_scope | exec | group_id, deployment_name, location, properties | Returns changes that will be made by the deployment if executed at the scope of the management group. | |
export_template_at_management_group_scope | exec | group_id, deployment_name | Exports the template used for specified deployment. | |
cancel_at_subscription_scope | exec | deployment_name, subscription_id | Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. | |
validate_at_subscription_scope | exec | deployment_name, subscription_id, properties | Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. | |
what_if_at_subscription_scope | exec | deployment_name, subscription_id, properties | Returns changes that will be made by the deployment if executed at the scope of the subscription. | |
export_template_at_subscription_scope | exec | deployment_name, subscription_id | Exports the template used for specified deployment. | |
cancel | exec | resource_group_name, deployment_name, subscription_id | Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed. | |
validate | exec | resource_group_name, deployment_name, subscription_id, properties | Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. | |
what_if | exec | resource_group_name, deployment_name, subscription_id, properties | Returns changes that will be made by the deployment if executed at the scope of the resource group. | |
export_template | exec | resource_group_name, deployment_name, subscription_id | Exports the template used for specified deployment. | |
calculate_template_hash | exec | Calculate the hash of the given template. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
deployment_name | string | The name of the deployment. Required. |
group_id | string | The management group ID. Required. |
resource_group_name | string | The name of the resource group. Required. |
scope | string | The fully qualified Azure Resource manager identifier of the resource. Required. |
subscription_id | string | |
$filter | string | The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. Default value is None. |
$top | integer | The number of results to get. If null is passed, returns all deployments. Default value is None. |
SELECT examples
- get
- list_by_resource_group
- get_at_scope
- get_at_management_group_scope
- get_at_subscription_scope
- list_at_scope
- list_at_management_group_scope
- list_at_subscription_scope
- get_at_tenant_scope
- list_at_tenant_scope
Gets a deployment.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get all the deployments for a resource group.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
Gets a deployment.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE scope = '{{ scope }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
;
Gets a deployment.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE group_id = '{{ group_id }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
;
Gets a deployment.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE deployment_name = '{{ deployment_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get all the deployments at the given scope.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE scope = '{{ scope }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
Get all the deployments for a management group.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE group_id = '{{ group_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
Get all the deployments for a subscription.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
Gets a deployment.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE deployment_name = '{{ deployment_name }}' -- required
;
Get all the deployments at the tenant scope.
SELECT
id,
name,
correlationId,
debugSetting,
dependencies,
diagnostics,
duration,
error,
extensions,
location,
mode,
onErrorDeployment,
outputResources,
outputs,
parameters,
parametersLink,
providers,
provisioningState,
systemData,
tags,
templateHash,
templateLink,
timestamp,
type,
validatedResources,
validationLevel
FROM azure.resource.deployments
WHERE $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
;
INSERT examples
- create_or_update
- create_or_update_at_management_group_scope
- create_or_update_at_scope
- create_or_update_at_tenant_scope
- create_or_update_at_subscription_scope
- Manifest
Deploys resources to a resource group. You can provide the template and parameters directly in the request or link to JSON files.
INSERT INTO azure.resource.deployments (
location,
properties,
tags,
identity,
resource_group_name,
deployment_name,
subscription_id
)
SELECT
'{{ location }}',
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ identity }}',
'{{ resource_group_name }}',
'{{ deployment_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;
Deploys resources at management group scope. You can provide the template and parameters directly in the request or link to JSON files.
INSERT INTO azure.resource.deployments (
location,
properties,
tags,
group_id,
deployment_name
)
SELECT
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ group_id }}',
'{{ deployment_name }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;
Deploys resources at a given scope. You can provide the template and parameters directly in the request or link to JSON files.
INSERT INTO azure.resource.deployments (
location,
properties,
tags,
identity,
scope,
deployment_name
)
SELECT
'{{ location }}',
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ identity }}',
'{{ scope }}',
'{{ deployment_name }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;
Deploys resources at tenant scope. You can provide the template and parameters directly in the request or link to JSON files.
INSERT INTO azure.resource.deployments (
location,
properties,
tags,
deployment_name
)
SELECT
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ deployment_name }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;
Deploys resources at subscription scope. You can provide the template and parameters directly in the request or link to JSON files.
INSERT INTO azure.resource.deployments (
location,
properties,
tags,
identity,
deployment_name,
subscription_id
)
SELECT
'{{ location }}',
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ identity }}',
'{{ deployment_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: deployments
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the deployments resource.
- name: deployment_name
value: "{{ deployment_name }}"
description: Required parameter for the deployments resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the deployments resource.
- name: group_id
value: "{{ group_id }}"
description: Required parameter for the deployments resource.
- name: scope
value: "{{ scope }}"
description: Required parameter for the deployments resource.
- name: location
value: "{{ location }}"
description: |
The location to store the deployment data.
- name: properties
description: |
The deployment properties. Required.
value:
template: "{{ template }}"
templateLink:
uri: "{{ uri }}"
id: "{{ id }}"
relativePath: "{{ relativePath }}"
contentVersion: "{{ contentVersion }}"
queryString: "{{ queryString }}"
parameters: "{{ parameters }}"
externalInputs: "{{ externalInputs }}"
externalInputDefinitions: "{{ externalInputDefinitions }}"
parametersLink:
uri: "{{ uri }}"
contentVersion: "{{ contentVersion }}"
extensionConfigs: "{{ extensionConfigs }}"
mode: "{{ mode }}"
debugSetting:
detailLevel: "{{ detailLevel }}"
onErrorDeployment:
type: "{{ type }}"
deploymentName: "{{ deploymentName }}"
expressionEvaluationOptions:
scope: "{{ scope }}"
validationLevel: "{{ validationLevel }}"
- name: tags
value: "{{ tags }}"
description: |
Deployment tags.
- name: identity
description: |
The Managed Identity configuration for a deployment.
value:
type: "{{ type }}"
userAssignedIdentities: "{{ userAssignedIdentities }}"
REPLACE examples
- create_or_update
- create_or_update_at_management_group_scope
- create_or_update_at_scope
- create_or_update_at_tenant_scope
- create_or_update_at_subscription_scope
Deploys resources to a resource group. You can provide the template and parameters directly in the request or link to JSON files.
REPLACE azure.resource.deployments
SET
location = '{{ location }}',
properties = '{{ properties }}',
tags = '{{ tags }}',
identity = '{{ identity }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND deployment_name = '{{ deployment_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;
Deploys resources at management group scope. You can provide the template and parameters directly in the request or link to JSON files.
REPLACE azure.resource.deployments
SET
location = '{{ location }}',
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
group_id = '{{ group_id }}' --required
AND deployment_name = '{{ deployment_name }}' --required
AND location = '{{ location }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;
Deploys resources at a given scope. You can provide the template and parameters directly in the request or link to JSON files.
REPLACE azure.resource.deployments
SET
location = '{{ location }}',
properties = '{{ properties }}',
tags = '{{ tags }}',
identity = '{{ identity }}'
WHERE
scope = '{{ scope }}' --required
AND deployment_name = '{{ deployment_name }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;
Deploys resources at tenant scope. You can provide the template and parameters directly in the request or link to JSON files.
REPLACE azure.resource.deployments
SET
location = '{{ location }}',
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
deployment_name = '{{ deployment_name }}' --required
AND location = '{{ location }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;
Deploys resources at subscription scope. You can provide the template and parameters directly in the request or link to JSON files.
REPLACE azure.resource.deployments
SET
location = '{{ location }}',
properties = '{{ properties }}',
tags = '{{ tags }}',
identity = '{{ identity }}'
WHERE
deployment_name = '{{ deployment_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;
DELETE examples
- delete
- delete_at_scope
- delete_at_management_group_scope
- delete_at_subscription_scope
- delete_at_tenant_scope
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
DELETE FROM azure.resource.deployments
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND deployment_name = '{{ deployment_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
DELETE FROM azure.resource.deployments
WHERE scope = '{{ scope }}' --required
AND deployment_name = '{{ deployment_name }}' --required
;
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
DELETE FROM azure.resource.deployments
WHERE group_id = '{{ group_id }}' --required
AND deployment_name = '{{ deployment_name }}' --required
;
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
DELETE FROM azure.resource.deployments
WHERE deployment_name = '{{ deployment_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
DELETE FROM azure.resource.deployments
WHERE deployment_name = '{{ deployment_name }}' --required
;
Lifecycle Methods
- check_existence
- check_existence_at_scope
- check_existence_at_tenant_scope
- check_existence_at_management_group_scope
- check_existence_at_subscription_scope
- cancel_at_scope
- validate_at_scope
- export_template_at_scope
- cancel_at_tenant_scope
- validate_at_tenant_scope
- what_if_at_tenant_scope
- export_template_at_tenant_scope
- cancel_at_management_group_scope
- validate_at_management_group_scope
- what_if_at_management_group_scope
- export_template_at_management_group_scope
- cancel_at_subscription_scope
- validate_at_subscription_scope
- what_if_at_subscription_scope
- export_template_at_subscription_scope
- cancel
- validate
- what_if
- export_template
- calculate_template_hash
Checks whether the deployment exists.
EXEC azure.resource.deployments.check_existence
@resource_group_name='{{ resource_group_name }}' --required,
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Checks whether the deployment exists.
EXEC azure.resource.deployments.check_existence_at_scope
@scope='{{ scope }}' --required,
@deployment_name='{{ deployment_name }}' --required
;
Checks whether the deployment exists.
EXEC azure.resource.deployments.check_existence_at_tenant_scope
@deployment_name='{{ deployment_name }}' --required
;
Checks whether the deployment exists.
EXEC azure.resource.deployments.check_existence_at_management_group_scope
@group_id='{{ group_id }}' --required,
@deployment_name='{{ deployment_name }}' --required
;
Checks whether the deployment exists.
EXEC azure.resource.deployments.check_existence_at_subscription_scope
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.
EXEC azure.resource.deployments.cancel_at_scope
@scope='{{ scope }}' --required,
@deployment_name='{{ deployment_name }}' --required
;
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
EXEC azure.resource.deployments.validate_at_scope
@scope='{{ scope }}' --required,
@deployment_name='{{ deployment_name }}' --required
@@json=
'{
"location": "{{ location }}",
"properties": "{{ properties }}",
"tags": "{{ tags }}",
"identity": "{{ identity }}"
}'
;
Exports the template used for specified deployment.
EXEC azure.resource.deployments.export_template_at_scope
@scope='{{ scope }}' --required,
@deployment_name='{{ deployment_name }}' --required
;
Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.
EXEC azure.resource.deployments.cancel_at_tenant_scope
@deployment_name='{{ deployment_name }}' --required
;
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
EXEC azure.resource.deployments.validate_at_tenant_scope
@deployment_name='{{ deployment_name }}' --required
@@json=
'{
"location": "{{ location }}",
"properties": "{{ properties }}",
"tags": "{{ tags }}"
}'
;
Returns changes that will be made by the deployment if executed at the scope of the tenant group.
EXEC azure.resource.deployments.what_if_at_tenant_scope
@deployment_name='{{ deployment_name }}' --required
@@json=
'{
"location": "{{ location }}",
"properties": "{{ properties }}"
}'
;
Exports the template used for specified deployment.
EXEC azure.resource.deployments.export_template_at_tenant_scope
@deployment_name='{{ deployment_name }}' --required
;
Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.
EXEC azure.resource.deployments.cancel_at_management_group_scope
@group_id='{{ group_id }}' --required,
@deployment_name='{{ deployment_name }}' --required
;
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
EXEC azure.resource.deployments.validate_at_management_group_scope
@group_id='{{ group_id }}' --required,
@deployment_name='{{ deployment_name }}' --required
@@json=
'{
"location": "{{ location }}",
"properties": "{{ properties }}",
"tags": "{{ tags }}"
}'
;
Returns changes that will be made by the deployment if executed at the scope of the management group.
EXEC azure.resource.deployments.what_if_at_management_group_scope
@group_id='{{ group_id }}' --required,
@deployment_name='{{ deployment_name }}' --required
@@json=
'{
"location": "{{ location }}",
"properties": "{{ properties }}"
}'
;
Exports the template used for specified deployment.
EXEC azure.resource.deployments.export_template_at_management_group_scope
@group_id='{{ group_id }}' --required,
@deployment_name='{{ deployment_name }}' --required
;
Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed.
EXEC azure.resource.deployments.cancel_at_subscription_scope
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
EXEC azure.resource.deployments.validate_at_subscription_scope
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"location": "{{ location }}",
"properties": "{{ properties }}",
"tags": "{{ tags }}",
"identity": "{{ identity }}"
}'
;
Returns changes that will be made by the deployment if executed at the scope of the subscription.
EXEC azure.resource.deployments.what_if_at_subscription_scope
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"location": "{{ location }}",
"properties": "{{ properties }}"
}'
;
Exports the template used for specified deployment.
EXEC azure.resource.deployments.export_template_at_subscription_scope
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed.
EXEC azure.resource.deployments.cancel
@resource_group_name='{{ resource_group_name }}' --required,
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
EXEC azure.resource.deployments.validate
@resource_group_name='{{ resource_group_name }}' --required,
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"location": "{{ location }}",
"properties": "{{ properties }}",
"tags": "{{ tags }}",
"identity": "{{ identity }}"
}'
;
Returns changes that will be made by the deployment if executed at the scope of the resource group.
EXEC azure.resource.deployments.what_if
@resource_group_name='{{ resource_group_name }}' --required,
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"location": "{{ location }}",
"properties": "{{ properties }}"
}'
;
Exports the template used for specified deployment.
EXEC azure.resource.deployments.export_template
@resource_group_name='{{ resource_group_name }}' --required,
@deployment_name='{{ deployment_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Calculate the hash of the given template.
EXEC azure.resource.deployments.calculate_template_hash
;