Update Deployment Status
Updated: June 29, 2015
The Update Deployment Status asynchronous operation changes the running status of a deployment. The status of a deployment can be running or suspended.
The Update Deployment Status request may be specified as follows. Replace <subscription-id> with the subscription ID, <cloudservice-name> with the name of the cloud service, <deployment-slot> with staging or production, or <deployment-name> with the name of the deployment.
Required. Specifies that the status of the deployment must be updated.
The following table describes the request headers.
Required. Set this header to application/xml.
Required. Specifies the version of the operation to use for this request. This header should be set to 2009-10-01 or higher.
The format of the request body is as follows:
<?xml version="1.0" encoding="utf-8"?> <UpdateDeploymentStatus xmlns="http://schemas.microsoft.com/windowsazure"> <Status>deployment-status</Status> </UpdateDeploymentStatus>
The following table describes the elements in the request body.
Required. Specifies the new status of the deployment.
Possible values are:
The response includes an HTTP status code and a set of response headers.
A successful operation returns status code 200 (OK).
The response for this operation includes the following headers. The response may also include additional standard HTTP headers.
A value that uniquely identifies a request made against the management service. For an asynchronous operation, you can call Get Operation Status with the value of the header to determine whether the operation is complete, has failed, or is still in progress.