Share via


IVirtualMachineOSImageOperations.CreateAsync Method (VirtualMachineOSImageCreateParameters, CancellationToken)

 

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

Task<VirtualMachineOSImageCreateResponse> CreateAsync(
    VirtualMachineOSImageCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<VirtualMachineOSImageCreateResponse^>^ CreateAsync(
    VirtualMachineOSImageCreateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateAsync : 
        parameters:VirtualMachineOSImageCreateParameters *
        cancellationToken:CancellationToken -> Task<VirtualMachineOSImageCreateResponse>
Function CreateAsync (
    parameters As VirtualMachineOSImageCreateParameters,
    cancellationToken As CancellationToken
) As Task(Of VirtualMachineOSImageCreateResponse)

Parameters

Return Value

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

Parameters returned from the Create Virtual Machine Image operation.

See Also

IVirtualMachineOSImageOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top