Share via


DeploymentOperationsExtensions.UpgradeBySlot 메서드

Upgrades role instances in a deployment based on where the application is deployed.

네임스페이스: 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 DeploymentUpgradeParameters
Dim returnValue As OperationStatusResponse

returnValue = DeploymentOperationsExtensions.UpgradeBySlot(operations, serviceName, deploymentSlot, parameters)

구문

‘선언
<ExtensionAttribute> _
Public Shared Function UpgradeBySlot ( _
    operations As IDeploymentOperations, _
    serviceName As String, _
    deploymentSlot As DeploymentSlot, _
    parameters As DeploymentUpgradeParameters _
) As OperationStatusResponse
[ExtensionAttribute] 
public static OperationStatusResponse UpgradeBySlot (
    IDeploymentOperations operations,
    string serviceName,
    DeploymentSlot deploymentSlot,
    DeploymentUpgradeParameters parameters
)
[ExtensionAttribute] 
public:
static OperationStatusResponse^ UpgradeBySlot (
    IDeploymentOperations^ operations, 
    String^ serviceName, 
    DeploymentSlot deploymentSlot, 
    DeploymentUpgradeParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static OperationStatusResponse UpgradeBySlot (
    IDeploymentOperations operations, 
    String serviceName, 
    DeploymentSlot deploymentSlot, 
    DeploymentUpgradeParameters parameters
)
ExtensionAttribute 
public static function UpgradeBySlot (
    operations : IDeploymentOperations, 
    serviceName : String, 
    deploymentSlot : DeploymentSlot, 
    parameters : DeploymentUpgradeParameters
) : OperationStatusResponse

매개 변수

  • serviceName
    The name of cloud service that contains the deployment.
  • deploymentSlot
    The name of the environment in which the application is deployed.

    Possible values are:

반환 값

The ComputeOperationStatusResponse object that contains the status of the operation.

설명

If the asynchronous operation succeeds, the response includes the HTTP status code for the successful request. If the asynchronous operation failed, the response includes the HTTP status code for the failed request, and also includes error information about the failure.

For more information about upgrading a deployment, see Upgrade Deployment.

스레드 보안

이 유형의 public static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

플랫폼

개발 플랫폼

Windows Vista, Windows 7 및 Windows Server 2008

대상 플랫폼

참고 항목

참조

DeploymentOperationsExtensions 클래스
DeploymentOperationsExtensions 멤버
Microsoft.WindowsAzure.Management.Compute 네임스페이스