IVirtualMachineOSImageOperations.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET