DeploymentOperationsExtensions.RollbackUpdateOrUpgradeByDeploymentSlotAsync 메서드
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.
네임스페이스: Microsoft.WindowsAzure.Management.Compute
어셈블리: Microsoft.WindowsAzure.Management.Compute.dll의 Microsoft.WindowsAzure.Management.Compute
사용량
‘사용 방법
Dim operations As IDeploymentOperations
Dim serviceName As String
Dim deploymentSlot As DeploymentSlot
Dim parameters As DeploymentRollbackUpdateOrUpgradeParameters
Dim returnValue As Task(Of AzureOperationResponse)
returnValue = DeploymentOperationsExtensions.RollbackUpdateOrUpgradeByDeploymentSlotAsync(operations, serviceName, deploymentSlot, parameters)
구문
‘선언
<ExtensionAttribute> _
Public Shared Function RollbackUpdateOrUpgradeByDeploymentSlotAsync ( _
operations As IDeploymentOperations, _
serviceName As String, _
deploymentSlot As DeploymentSlot, _
parameters As DeploymentRollbackUpdateOrUpgradeParameters _
) As Task(Of AzureOperationResponse)
[ExtensionAttribute]
public static Task<AzureOperationResponse> RollbackUpdateOrUpgradeByDeploymentSlotAsync (
IDeploymentOperations operations,
string serviceName,
DeploymentSlot deploymentSlot,
DeploymentRollbackUpdateOrUpgradeParameters parameters
)
[ExtensionAttribute]
public:
static Task<AzureOperationResponse^>^ RollbackUpdateOrUpgradeByDeploymentSlotAsync (
IDeploymentOperations^ operations,
String^ serviceName,
DeploymentSlot deploymentSlot,
DeploymentRollbackUpdateOrUpgradeParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static Task<AzureOperationResponse> RollbackUpdateOrUpgradeByDeploymentSlotAsync (
IDeploymentOperations operations,
String serviceName,
DeploymentSlot deploymentSlot,
DeploymentRollbackUpdateOrUpgradeParameters parameters
)
ExtensionAttribute
public static function RollbackUpdateOrUpgradeByDeploymentSlotAsync (
operations : IDeploymentOperations,
serviceName : String,
deploymentSlot : DeploymentSlot,
parameters : DeploymentRollbackUpdateOrUpgradeParameters
) : Task<AzureOperationResponse>
매개 변수
- operations
The IDeploymentOperations object that specifies the deployment operations.
- serviceName
The name of the cloud service that contains the deployment.
deploymentSlot
The name of the environment in which the application is deployed.Possible values are:
- parameters
The DeploymentRollbackUpdateOrUpgradeParameters object that contains the parameters that are used to roll back an update of a deployment.
반환 값
An OperationResponse object that includes an HTTP status code and request ID.
설명
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.
스레드 보안
이 유형의 public static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
플랫폼
개발 플랫폼
Windows Vista, Windows 7 및 Windows Server 2008
대상 플랫폼
참고 항목
참조
DeploymentOperationsExtensions 클래스
DeploymentOperationsExtensions 멤버
Microsoft.WindowsAzure.Management.Compute 네임스페이스