VirtualMachineOperationsExtensions.BeginCreatingDeploymentAsync Method (IVirtualMachineOperations, String, VirtualMachineCreateDeploymentParameters)

 

Asynchronously initiates the creation or a new Virtual Machine deployment.

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

Syntax

public static Task<AzureOperationResponse> BeginCreatingDeploymentAsync(
    this IVirtualMachineOperations operations,
    string serviceName,
    VirtualMachineCreateDeploymentParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ BeginCreatingDeploymentAsync(
    IVirtualMachineOperations^ operations,
    String^ serviceName,
    VirtualMachineCreateDeploymentParameters^ parameters
)
static member BeginCreatingDeploymentAsync : 
        operations:IVirtualMachineOperations *
        serviceName:string *
        parameters:VirtualMachineCreateDeploymentParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginCreatingDeploymentAsync (
    operations As IVirtualMachineOperations,
    serviceName As String,
    parameters As VirtualMachineCreateDeploymentParameters
) 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

VirtualMachineOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top