Udostępnij za pośrednictwem


VirtualMachineOSImageOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageCreateResponse> CreateAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations operations, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageCreateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageCreateResponse>
<Extension()>
Public Function CreateAsync (operations As IVirtualMachineOSImageOperations, parameters As VirtualMachineOSImageCreateParameters) As Task(Of VirtualMachineOSImageCreateResponse)

Parameters

operations
IVirtualMachineOSImageOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations.

parameters
VirtualMachineOSImageCreateParameters

Required. Parameters supplied to the Create Virtual Machine Image operation.

Returns

Parameters returned from the Create Virtual Machine Image operation.

Applies to