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.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<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