Deployments

Operations

Cancel

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.

Check Existence

Checks whether the deployment exists.

Create Or Update

Deploys resources to a resource group.
You can provide the template and parameters directly in the request or link to JSON files.

Delete

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.

Export Template

Exports the template used for specified deployment.

Get

Gets a deployment.

List By Resource Group

Get all the deployments for a resource group.

Validate

Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..