Share via


DeploymentOperationsExtensions.ChangeConfigurationByNameAsync 메서드 (IDeploymentOperations, String, String, DeploymentChangeConfigurationParameters)

 

비동기적으로 지정된 된 배포의 구성을 변경합니다.

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

구문

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

매개 변수

  • serviceName
    Type: System.String

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

  • deploymentName
    Type: System.String

    구성을 해야 변경할 수는 배포의 이름입니다.

반환 값

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

T:Microsoft.WindowsAzure.Management.Compute.Models.ComputeOperationStatusResponse 작업의 상태를 포함 하는 개체입니다.

설명

비동기 작업이 성공 하면 HTTP 상태 코드는 성공적인 요청에 대 한 응답에 포함 됩니다. 비동기 작업에 실패 하면 응답 실패 한 요청에 대 한 HTTP 상태 코드 및 포함 되어 오류가 발생 하는 방법에 대 한 오류 정보입니다.

배포의 구성을 변경 하는 방법에 대 한 자세한 내용은 다음 리소스를 참조 합니다.

참고 항목

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

맨 위로 이동