Share via


VirtualMachineOSImageOperationsExtensions.CreateAsync Method (IVirtualMachineOSImageOperations, VirtualMachineOSImageCreateParameters)

 

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 https://msdn.microsoft.com/en-us/library/windowsazure/jj157192.aspx for more information)

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

Syntax

public static Task<VirtualMachineOSImageCreateResponse> CreateAsync(
    this IVirtualMachineOSImageOperations operations,
    VirtualMachineOSImageCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<VirtualMachineOSImageCreateResponse^>^ CreateAsync(
    IVirtualMachineOSImageOperations^ operations,
    VirtualMachineOSImageCreateParameters^ parameters
)
static member CreateAsync : 
        operations:IVirtualMachineOSImageOperations *
        parameters:VirtualMachineOSImageCreateParameters -> Task<VirtualMachineOSImageCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
    operations As IVirtualMachineOSImageOperations,
    parameters As VirtualMachineOSImageCreateParameters
) As Task(Of VirtualMachineOSImageCreateResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<VirtualMachineOSImageCreateResponse>

Parameters returned from the Create Virtual Machine Image operation.

See Also

VirtualMachineOSImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top