Rollback Update Or Upgrade
Updated: June 29, 2015
The Rollback Update Or Upgrade operation cancels an in-progress configuration update and returns the deployment to its state before the update was started.
The Rollback Update Or Upgrade request may be specified as follows. Replace <subscription-id> with the subscription ID, <cloudservice-name> with the name of the cloud service, and <deployment-name> with the name of the deployment.
Required. Specifies that the operation in progress is to be halted and the deployment is returned to its previous state.
The following table describes the request headers.
Required. Specifies the version of the operation to use for this request. This header must be set to 2011-10-01 or higher.
<?xml version="1.0" encoding="utf-8"?> <RollbackUpdateOrUpgrade xmlns=”http://schemas.microsoft.com/windowsazure”> <Mode>type-of-upgrade</Mode> <Force>upgrade-forced</Force> </RollbackUpdateOrUpgrade>
The following table describes the elements of the request.
Required. Specifies whether the rollback should proceed automatically.
Required. Specifies whether the rollback should proceed even when it will cause local data to be lost from some role instances. True if the rollback should proceed; otherwise false.
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.
The Rollback Update Or Upgrade operation can only be called when an update is in progress on the deployment. The deployment status can be detected by calling the Get Deployment operation or Get Cloud Service Properties operation and inspecting the RollbackAllowed element. If the value returned is true a rollback can be performed.