Udostępnij za pośrednictwem


DeploymentOperationsExtensions.BeginCreating Method

Definition

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 static Microsoft.Azure.AzureOperationResponse BeginCreating (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot deploymentSlot, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentCreateParameters parameters);
static member BeginCreating : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentCreateParameters -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function BeginCreating (operations As IDeploymentOperations, serviceName As String, deploymentSlot As DeploymentSlot, parameters As DeploymentCreateParameters) As AzureOperationResponse

Parameters

operations
IDeploymentOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations.

serviceName
String

Required. The cloud service to create a deployment for.

deploymentSlot
DeploymentSlot

Required. The slot to create a deployment for.

parameters
DeploymentCreateParameters

Required. Parameters supplied to the Begin Creating Deployment operation.

Returns

Microsoft.Azure.AzureOperationResponse

A standard service response including an HTTP status code and request ID.

Applies to