VirtualMachineImageOperationsExtensions.GetAsync Method

Asynchronously retrieves information about an operating system image from the user image repository.

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

'Usage
Dim operations As IVirtualMachineImageOperations
Dim imageName As String
Dim returnValue As Task(Of VirtualMachineImageGetResponse)

returnValue = VirtualMachineImageOperationsExtensions.GetAsync(operations, imageName)

[ExtensionAttribute] 
public static Task<VirtualMachineImageGetResponse> GetAsync (
	IVirtualMachineImageOperations operations,
	string imageName
)
/** @attribute ExtensionAttribute() */ 
public static Task<VirtualMachineImageGetResponse> GetAsync (
	IVirtualMachineImageOperations operations, 
	String imageName
)
ExtensionAttribute 
public static function GetAsync (
	operations : IVirtualMachineImageOperations, 
	imageName : String
) : Task<VirtualMachineImageGetResponse>

Parameters

operations

The IVirtualMachineImageOperations object that specifies the operating system image operations.

imageName

The name of the operating system image for which information should be retrieved.

Return Value

The VirtualMachineImageGetResponse object that contains information about the operating system image.

For more information about retrieving information about images, see the following resources:


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

Development Platforms

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

Target Platforms

Show: