Share via


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)

Syntax

Task<AzureOperationResponse> BeginCreatingDeploymentAsync(
    string serviceName,
    VirtualMachineCreateDeploymentParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ BeginCreatingDeploymentAsync(
    String^ serviceName,
    VirtualMachineCreateDeploymentParameters^ parameters,
    CancellationToken cancellationToken
)
abstract BeginCreatingDeploymentAsync : 
        serviceName:string *
        parameters:VirtualMachineCreateDeploymentParameters *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function BeginCreatingDeploymentAsync (
    serviceName As String,
    parameters As VirtualMachineCreateDeploymentParameters,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

Parameters

  • serviceName
    Type: System.String

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

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 creating a Virtual Machine, see the following resources:

See Also

IVirtualMachineOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top