IDeploymentOperations.BeginChangingConfigurationBySlotAsync Method (String, DeploymentSlot, DeploymentChangeConfigurationParameters, CancellationToken)
Asynchronously initiates a change to 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<AzureOperationResponse> BeginChangingConfigurationBySlotAsync(
string serviceName,
DeploymentSlot deploymentSlot,
DeploymentChangeConfigurationParameters parameters,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ BeginChangingConfigurationBySlotAsync(
String^ serviceName,
DeploymentSlot deploymentSlot,
DeploymentChangeConfigurationParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginChangingConfigurationBySlotAsync :
serviceName:string *
deploymentSlot:DeploymentSlot *
parameters:DeploymentChangeConfigurationParameters *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function BeginChangingConfigurationBySlotAsync (
serviceName As String,
deploymentSlot As DeploymentSlot,
parameters As DeploymentChangeConfigurationParameters,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
Parameters
serviceName
Type: System.StringThe name of the cloud service that contains the deployment to be changed.
deploymentSlot
Type: Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlotThe deployment environment in which the application is deployed.
Possible values are:
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.DeploymentChangeConfigurationParametersThe DeploymentChangeConfigurationParameters object that contains the parameters that are used to change the configuration.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
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 configuration of a deployment, see the following resources:
See Also
IDeploymentOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top