Share via


VirtualMachineOSImageOperationsExtensions.GetAsync Method (IVirtualMachineOSImageOperations, String)

 

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

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

public static Task<VirtualMachineOSImageGetResponse> GetAsync(
    this IVirtualMachineOSImageOperations operations,
    string imageName
)
public:
[ExtensionAttribute]
static Task<VirtualMachineOSImageGetResponse^>^ GetAsync(
    IVirtualMachineOSImageOperations^ operations,
    String^ imageName
)
static member GetAsync : 
        operations:IVirtualMachineOSImageOperations *
        imageName:string -> Task<VirtualMachineOSImageGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As IVirtualMachineOSImageOperations,
    imageName As String
) As Task(Of VirtualMachineOSImageGetResponse)

Parameters

  • imageName
    Type: System.String

    Required. The name of the OS image to retrieve.

Return Value

Type: System.Threading.Tasks.Task<VirtualMachineOSImageGetResponse>

A virtual machine image associated with your subscription.

See Also

VirtualMachineOSImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top