Dela via


VirtualMachineOSImageOperationsExtensions.GetAsync Method

Definition

The Get OS Image operation retrieves the details for an operating system image from the image repository. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157191.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations operations, string imageName);
static member GetAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageGetResponse>
<Extension()>
Public Function GetAsync (operations As IVirtualMachineOSImageOperations, imageName As String) As Task(Of VirtualMachineOSImageGetResponse)

Parameters

operations
IVirtualMachineOSImageOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations.

imageName
String

Required. The name of the OS image to retrieve.

Returns

A virtual machine image associated with your subscription.

Applies to