VirtualMachineOSImageOperationsExtensions.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 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
Azure SDK for .NET