Share via


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

 

Asynchronously initiates a change in the running status of a deployment based on where the application is deployed. The status of a deployment can be running or suspended.

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

Syntax

public static Task<AzureOperationResponse> BeginUpdatingStatusByDeploymentSlotAsync(
    this IDeploymentOperations operations,
    string serviceName,
    DeploymentSlot deploymentSlot,
    DeploymentUpdateStatusParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ BeginUpdatingStatusByDeploymentSlotAsync(
    IDeploymentOperations^ operations,
    String^ serviceName,
    DeploymentSlot deploymentSlot,
    DeploymentUpdateStatusParameters^ parameters
)
static member BeginUpdatingStatusByDeploymentSlotAsync : 
        operations:IDeploymentOperations *
        serviceName:string *
        deploymentSlot:DeploymentSlot *
        parameters:DeploymentUpdateStatusParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginUpdatingStatusByDeploymentSlotAsync (
    operations As IDeploymentOperations,
    serviceName As String,
    deploymentSlot As DeploymentSlot,
    parameters As DeploymentUpdateStatusParameters
) 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

DeploymentOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top