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)

Task<OperationStatusResponse^>^ ChangeConfigurationBySlotAsync(
	String^ serviceName,
	DeploymentSlot deploymentSlot,
	DeploymentChangeConfigurationParameters^ parameters,
	CancellationToken cancellationToken
)

Parameters

serviceName
Type: System::String^

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

deploymentSlot
Type: Microsoft.WindowsAzure.Management.Compute.Models::DeploymentSlot

The deployment environment in which the application is deployed.

Possible values are:

parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models::DeploymentChangeConfigurationParameters^

The DeploymentChangeConfigurationParameters object that contains the parameters that are used to change the configuration.

cancellationToken
Type: System.Threading::CancellationToken

The cancellation token.

Return Value

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

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

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

Return to top
Show: