DeploymentOperationsExtensions.BeginChangingConfigurationBySlotAsync Method (IDeploymentOperations, String, DeploymentSlot, DeploymentChangeConfigurationParameters)
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
public static Task<AzureOperationResponse> BeginChangingConfigurationBySlotAsync(
this IDeploymentOperations operations,
string serviceName,
DeploymentSlot deploymentSlot,
DeploymentChangeConfigurationParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ BeginChangingConfigurationBySlotAsync(
IDeploymentOperations^ operations,
String^ serviceName,
DeploymentSlot deploymentSlot,
DeploymentChangeConfigurationParameters^ parameters
)
static member BeginChangingConfigurationBySlotAsync :
operations:IDeploymentOperations *
serviceName:string *
deploymentSlot:DeploymentSlot *
parameters:DeploymentChangeConfigurationParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginChangingConfigurationBySlotAsync (
operations As IDeploymentOperations,
serviceName As String,
deploymentSlot As DeploymentSlot,
parameters As DeploymentChangeConfigurationParameters
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IDeploymentOperationsThe IDeploymentOperations object that specifies the deployment operations.
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.
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
DeploymentOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top