IVirtualMachineOperations.BeginCreatingDeploymentAsync Method (String, VirtualMachineCreateDeploymentParameters, CancellationToken)

 

Asynchronously initiates the creation of a new Virtual Machine deployment.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Task<AzureOperationResponse> BeginCreatingDeploymentAsync(
	string serviceName,
	VirtualMachineCreateDeploymentParameters parameters,
	CancellationToken cancellationToken
)

Parameters

serviceName
Type: System.String

The name of the cloud service in which the Virtual Machine should be deployed.

parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineCreateDeploymentParameters

The VirtualMachineCreateDeploymentParameters object that contains the parameters that are used to create the Virtual Machine deployment.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token.

Return Value

Type: System.Threading.Tasks.Task<AzureOperationResponse>

An OperationResponse object that includes an HTTP status code and request ID.

Return to top
Show: