Share via


IDeploymentOperations.ChangeConfigurationBySlotAsync Method (String, DeploymentSlot, DeploymentChangeConfigurationParameters, CancellationToken)

 

Asynchronously changes the configuration 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<OperationStatusResponse> ChangeConfigurationBySlotAsync(
    string serviceName,
    DeploymentSlot deploymentSlot,
    DeploymentChangeConfigurationParameters parameters,
    CancellationToken cancellationToken
)
Task<OperationStatusResponse^>^ ChangeConfigurationBySlotAsync(
    String^ serviceName,
    DeploymentSlot deploymentSlot,
    DeploymentChangeConfigurationParameters^ parameters,
    CancellationToken cancellationToken
)
abstract ChangeConfigurationBySlotAsync : 
        serviceName:string *
        deploymentSlot:DeploymentSlot *
        parameters:DeploymentChangeConfigurationParameters *
        cancellationToken:CancellationToken -> Task<OperationStatusResponse>
Function ChangeConfigurationBySlotAsync (
    serviceName As String,
    deploymentSlot As DeploymentSlot,
    parameters As DeploymentChangeConfigurationParameters,
    cancellationToken As CancellationToken
) As Task(Of OperationStatusResponse)

Parameters

  • serviceName
    Type: System.String

    The name of the cloud service that contains the deployment to be changed.

Return Value

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

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

Remarks

For more information about changing the configuration of a deployment, see the following resources:

See Also

IDeploymentOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top