Share via


IDeploymentOperations.BeginUpdatingStatusByDeploymentSlotAsync Method (String, DeploymentSlot, DeploymentUpdateStatusParameters, CancellationToken)

 

Asynchronously initiates a change in the running status of a deployment based on where the application is deployed.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

Task<AzureOperationResponse> BeginUpdatingStatusByDeploymentSlotAsync(
    string serviceName,
    DeploymentSlot deploymentSlot,
    DeploymentUpdateStatusParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ BeginUpdatingStatusByDeploymentSlotAsync(
    String^ serviceName,
    DeploymentSlot deploymentSlot,
    DeploymentUpdateStatusParameters^ parameters,
    CancellationToken cancellationToken
)
abstract BeginUpdatingStatusByDeploymentSlotAsync : 
        serviceName:string *
        deploymentSlot:DeploymentSlot *
        parameters:DeploymentUpdateStatusParameters *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function BeginUpdatingStatusByDeploymentSlotAsync (
    serviceName As String,
    deploymentSlot As DeploymentSlot,
    parameters As DeploymentUpdateStatusParameters,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

  • serviceName
    Type: System.String

    The name of cloud service that contains the deployment.

Return Value

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

An OperationResponse object that includes an HTTP status code and request ID.

Remarks

For more information about changing the status of a deployment, see Update Deployment Status.

See Also

IDeploymentOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top