DeploymentOperationsExtensions.UpdateStatusByDeploymentSlotAsync 메서드 (IDeploymentOperations, String, DeploymentSlot, DeploymentUpdateStatusParameters)
비동기적으로 실행 중인 응용 프로그램이 배포 되는 위치에 따라 배포의 상태를 변경 합니다. 배포 상태는 실행 중 또는 일시 중단일 수 있습니다.
네임스페이스: Microsoft.WindowsAzure.Management.Compute
어셈블리: Microsoft.WindowsAzure.Management.Compute.dll의 Microsoft.WindowsAzure.Management.Compute
구문
public static Task<OperationStatusResponse> UpdateStatusByDeploymentSlotAsync(
this IDeploymentOperations operations,
string serviceName,
DeploymentSlot deploymentSlot,
DeploymentUpdateStatusParameters parameters
)
public:
[ExtensionAttribute]
static Task<OperationStatusResponse^>^ UpdateStatusByDeploymentSlotAsync(
IDeploymentOperations^ operations,
String^ serviceName,
DeploymentSlot deploymentSlot,
DeploymentUpdateStatusParameters^ parameters
)
static member UpdateStatusByDeploymentSlotAsync :
operations:IDeploymentOperations *
serviceName:string *
deploymentSlot:DeploymentSlot *
parameters:DeploymentUpdateStatusParameters -> Task<OperationStatusResponse>
<ExtensionAttribute>
Public Shared Function UpdateStatusByDeploymentSlotAsync (
operations As IDeploymentOperations,
serviceName As String,
deploymentSlot As DeploymentSlot,
parameters As DeploymentUpdateStatusParameters
) As Task(Of OperationStatusResponse)
매개 변수
operations
Type: Microsoft.WindowsAzure.Management.Compute.IDeploymentOperationsIDeploymentOperations 배포 작업을 지정 하는 개체입니다.
serviceName
Type: System.String배포를 포함 하는 클라우드 서비스의 이름입니다.
deploymentSlot
Type: Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot응용 프로그램 배포 환경의 이름입니다.
가능한 값은 다음과 같습니다.
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.DeploymentUpdateStatusParametersDeploymentUpdateStatusParameters 배포의 상태를 업데이트 하는데 사용 되는 매개 변수를 포함 하는 개체입니다.
반환 값
Type: System.Threading.Tasks.Task<OperationStatusResponse>
T:Microsoft.WindowsAzure.Management.Compute.Models.ComputeOperationStatusResponse 작업의 상태를 포함 하는 개체입니다.
설명
비동기 작업이 성공 하면 HTTP 상태 코드는 성공적인 요청에 대 한 응답에 포함 됩니다. 비동기 작업에 실패 하면 응답 실패 한 요청에 대 한 HTTP 상태 코드 및 포함 되어 오류가 발생 하는 방법에 대 한 오류 정보입니다.
배포의 상태를 변경 하는 방법에 대 한 자세한 내용은 참조 Update Deployment Status.
참고 항목
DeploymentOperationsExtensions 클래스
Microsoft.WindowsAzure.Management.Compute 네임스페이스
맨 위로 이동