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 http://msdn.microsoft.com/en-us/library/windowsazure/jj157192.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
public: [ExtensionAttribute] static Task<VirtualMachineOSImageCreateResponse^>^ CreateAsync( IVirtualMachineOSImageOperations^ operations, VirtualMachineOSImageCreateParameters^ parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Compute::IVirtualMachineOSImageOperations^
Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Compute.Models::VirtualMachineOSImageCreateParameters^
Required. Parameters supplied to the Create Virtual Machine Image operation.
Return Value
Type: System.Threading.Tasks::Task<VirtualMachineOSImageCreateResponse^>^Parameters returned from the Create Virtual Machine Image operation.
Show: