Skip to main content

deployments

Overview

Namedeployments
TypeResource
Idazure.resources.deployments

Fields

NameDatatypeDescription
idstringThe ID of the deployment.
namestringThe name of the deployment.
locationstringthe location of the deployment.
propertiesobjectDeployment properties with additional details.
tagsobjectDeployment tags
typestringThe type of the deployment.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeploymentName, resourceGroupName, subscriptionIdGets a deployment.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGet all the deployments for a resource group.
create_or_updateINSERTdeploymentName, resourceGroupName, subscriptionId, data__propertiesYou can provide the template and parameters directly in the request or link to JSON files.
deleteDELETEdeploymentName, resourceGroupName, subscriptionIdA 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.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdGet all the deployments for a resource group.
calculate_template_hashEXECCalculate the hash of the given template.
cancelEXECdeploymentName, resourceGroupName, subscriptionIdYou 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.
cancel_at_management_group_scopeEXECdeploymentName, groupIdYou 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.
cancel_at_scopeEXECdeploymentName, scopeYou 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.
cancel_at_subscription_scopeEXECdeploymentName, subscriptionIdYou 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.
cancel_at_tenant_scopeEXECdeploymentNameYou 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.
check_existenceEXECdeploymentName, resourceGroupName, subscriptionIdChecks whether the deployment exists.
check_existence_at_management_group_scopeEXECdeploymentName, groupIdChecks whether the deployment exists.
check_existence_at_scopeEXECdeploymentName, scopeChecks whether the deployment exists.
check_existence_at_subscription_scopeEXECdeploymentName, subscriptionIdChecks whether the deployment exists.
check_existence_at_tenant_scopeEXECdeploymentNameChecks whether the deployment exists.
export_templateEXECdeploymentName, resourceGroupName, subscriptionIdExports the template used for specified deployment.
export_template_at_management_group_scopeEXECdeploymentName, groupIdExports the template used for specified deployment.
export_template_at_scopeEXECdeploymentName, scopeExports the template used for specified deployment.
export_template_at_subscription_scopeEXECdeploymentName, subscriptionIdExports the template used for specified deployment.
export_template_at_tenant_scopeEXECdeploymentNameExports the template used for specified deployment.
validateEXECdeploymentName, resourceGroupName, subscriptionId, data__propertiesValidates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
validate_at_management_group_scopeEXECdeploymentName, groupId, data__location, data__propertiesValidates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
validate_at_scopeEXECdeploymentName, scope, data__propertiesValidates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
validate_at_subscription_scopeEXECdeploymentName, subscriptionId, data__propertiesValidates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
validate_at_tenant_scopeEXECdeploymentName, data__location, data__propertiesValidates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
what_ifEXECdeploymentName, resourceGroupName, subscriptionId, data__propertiesReturns changes that will be made by the deployment if executed at the scope of the resource group.
what_if_at_management_group_scopeEXECdeploymentName, groupId, data__location, data__propertiesReturns changes that will be made by the deployment if executed at the scope of the management group.
what_if_at_subscription_scopeEXECdeploymentName, subscriptionId, data__propertiesReturns changes that will be made by the deployment if executed at the scope of the subscription.
what_if_at_tenant_scopeEXECdeploymentName, data__location, data__propertiesReturns changes that will be made by the deployment if executed at the scope of the tenant group.