Share via


DeploymentOperationsExtensions.BeginUpgradingByNameAsync 메서드 (IDeploymentOperations, String, String, DeploymentUpgradeParameters)

 

지정 된 배포에서 역할 인스턴스의 업그레이드를 비동기적으로 시작합니다.

네임스페이스:   Microsoft.WindowsAzure.Management.Compute
어셈블리:  Microsoft.WindowsAzure.Management.Compute.dll의 Microsoft.WindowsAzure.Management.Compute

구문

public static Task<AzureOperationResponse> BeginUpgradingByNameAsync(
    this IDeploymentOperations operations,
    string serviceName,
    string deploymentName,
    DeploymentUpgradeParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ BeginUpgradingByNameAsync(
    IDeploymentOperations^ operations,
    String^ serviceName,
    String^ deploymentName,
    DeploymentUpgradeParameters^ parameters
)
static member BeginUpgradingByNameAsync : 
        operations:IDeploymentOperations *
        serviceName:string *
        deploymentName:string *
        parameters:DeploymentUpgradeParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginUpgradingByNameAsync (
    operations As IDeploymentOperations,
    serviceName As String,
    deploymentName As String,
    parameters As DeploymentUpgradeParameters
) As Task(Of AzureOperationResponse)

매개 변수

  • serviceName
    Type: System.String

    배포를 포함 하는 클라우드 서비스의 이름입니다.

  • deploymentName
    Type: System.String

    업그레이드 하는 배포의 이름입니다.

반환 값

Type: System.Threading.Tasks.Task<AzureOperationResponse>

HTTP 상태 코드 및 요청 ID를 포함 하는 OperationResponse 개체

설명

배포를 업그레이드 하는 방법에 대 한 자세한 내용은 참조 Upgrade Deployment.

참고 항목

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

맨 위로 이동