DeploymentOperationsExtensions.RollbackUpdateOrUpgradeByDeploymentSlotAsync Method (IDeploymentOperations, String, DeploymentSlot, DeploymentRollbackUpdateOrUpgradeParameters)
Asynchronously cancels an in-progress update of a configuration and returns the deployment in the specified deployment environment to the state it was in before the update was started.
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Syntax
public static Task<AzureOperationResponse> RollbackUpdateOrUpgradeByDeploymentSlotAsync(
this IDeploymentOperations operations,
string serviceName,
DeploymentSlot deploymentSlot,
DeploymentRollbackUpdateOrUpgradeParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ RollbackUpdateOrUpgradeByDeploymentSlotAsync(
IDeploymentOperations^ operations,
String^ serviceName,
DeploymentSlot deploymentSlot,
DeploymentRollbackUpdateOrUpgradeParameters^ parameters
)
static member RollbackUpdateOrUpgradeByDeploymentSlotAsync :
operations:IDeploymentOperations *
serviceName:string *
deploymentSlot:DeploymentSlot *
parameters:DeploymentRollbackUpdateOrUpgradeParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function RollbackUpdateOrUpgradeByDeploymentSlotAsync (
operations As IDeploymentOperations,
serviceName As String,
deploymentSlot As DeploymentSlot,
parameters As DeploymentRollbackUpdateOrUpgradeParameters
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IDeploymentOperationsThe IDeploymentOperations object that specifies the deployment operations.
serviceName
Type: System.StringThe name of the cloud service that contains the deployment.
deploymentSlot
Type: Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlotThe name of the environment in which the application is deployed.
Possible values are:
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.DeploymentRollbackUpdateOrUpgradeParametersThe DeploymentRollbackUpdateOrUpgradeParameters object that contains the parameters that are used to roll back an update of a deployment.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
An OperationResponse object that includes an HTTP status code and request ID.
Remarks
For more information about rolling back an update of a deployment, see Rollback Update Or Upgrade.
The role back of an update can only be called when an update is in progress on the deployment.
See Also
DeploymentOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top