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.StringThe name of the cloud service in which the Virtual Machine should be deployed.
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineCreateDeploymentParametersThe VirtualMachineCreateDeploymentParameters object that contains the parameters that are used to create the Virtual Machine deployment.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
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