Share via


DeploymentOperationsExtensions.CreateAsync 메서드 (IDeploymentOperations, String, DeploymentSlot, DeploymentCreateParameters)

 

지정된 된 클라우드 서비스에 새 배포를 비동기적으로 만듭니다.

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

구문

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

매개 변수

  • serviceName
    Type: System.String

    배포 만들어야 하는 클라우드 서비스의 이름입니다.

반환 값

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

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

설명

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

응용 프로그램을 배포 하는 방법에 대 한 자세한 내용은 다음 리소스를 참조 합니다.

참고 항목

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

맨 위로 이동