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 http://msdn.microsoft.com/en-us/library/windowsazure/jj157192.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Function CreateAsync ( parameters As VirtualMachineOSImageCreateParameters, cancellationToken As CancellationToken ) As Task(Of VirtualMachineOSImageCreateResponse)
Parameters
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageCreateParameters
Parameters supplied to the Create Virtual Machine Image operation.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of VirtualMachineOSImageCreateResponse)Parameters returned from the Create Virtual Machine Image operation.
Show: