Share via


VirtualMachineImageOperationsExtensions.ListAsync Method

Asynchronously retrieves a list of the operating system images from the image repository.

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

Usage

'Usage
Dim operations As IVirtualMachineImageOperations
Dim returnValue As Task(Of VirtualMachineImageListResponse)

returnValue = VirtualMachineImageOperationsExtensions.ListAsync(operations)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
    operations As IVirtualMachineImageOperations _
) As Task(Of VirtualMachineImageListResponse)
[ExtensionAttribute] 
public static Task<VirtualMachineImageListResponse> ListAsync (
    IVirtualMachineImageOperations operations
)
[ExtensionAttribute] 
public:
static Task<VirtualMachineImageListResponse^>^ ListAsync (
    IVirtualMachineImageOperations^ operations
)
/** @attribute ExtensionAttribute() */ 
public static Task<VirtualMachineImageListResponse> ListAsync (
    IVirtualMachineImageOperations operations
)
ExtensionAttribute 
public static function ListAsync (
    operations : IVirtualMachineImageOperations
) : Task<VirtualMachineImageListResponse>

Parameters

Return Value

The VirtualMachineImageListResponse object that contains the list of operating system images.

Remarks

For more information about retrieving a list of operating system images, see the following resources:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VirtualMachineImageOperationsExtensions Class
VirtualMachineImageOperationsExtensions Members
Microsoft.WindowsAzure.Management.Compute Namespace