IDeploymentOperations.BeginCreatingAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Begin Creating Deployment operation uploads a new service package and creates a new deployment in the staging or production environments. This operation is an asynchronous operation. To determine whether the management service has finished processing the request, call Get Operation Status. For more information on asynchronous operations, see Tracking Asynchronous Service Management Requests at http://msdn.microsoft.com/en-us/library/windowsazure/ee460791.aspx. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460813.aspx for more information)
public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> BeginCreatingAsync (string serviceName, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot deploymentSlot, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginCreatingAsync : string * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function BeginCreatingAsync (serviceName As String, deploymentSlot As DeploymentSlot, parameters As DeploymentCreateParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- serviceName
- String
The cloud service to create a deployment for.
- deploymentSlot
- DeploymentSlot
The slot to create a deployment for.
- parameters
- DeploymentCreateParameters
Parameters supplied to the Begin Creating Deployment operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET