v14

latestSwagger 2.0raw.githubusercontent.com2022-04-018660175.5 KB
Deployments

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.

post/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel

Path parameters

scopestring required

The scope of a deployment.

deploymentNamestring required

The name of the deployment.

Query parameters

api-versionstring required

The API version to use for this operation.

Response

No Content