Udostępnij za pośrednictwem


IVirtualMachineOSImageOperations.CreateAsync Method

Definition

The Create OS Image operation adds an operating system image that is stored in a storage account and is available from the image repository. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157192.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageCreateResponse> CreateAsync (Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageCreateResponse>
Public Function CreateAsync (parameters As VirtualMachineOSImageCreateParameters, cancellationToken As CancellationToken) As Task(Of VirtualMachineOSImageCreateResponse)

Parameters

parameters
VirtualMachineOSImageCreateParameters

Parameters supplied to the Create Virtual Machine Image operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Parameters returned from the Create Virtual Machine Image operation.

Applies to