IVirtualMachineImageOperations.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 instance As IVirtualMachineImageOperations
Dim imageName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of VirtualMachineImageGetResponse)

returnValue = instance.GetAsync(imageName, cancellationToken)

Task<VirtualMachineImageGetResponse> GetAsync (
	string imageName,
	CancellationToken cancellationToken
)
Task<VirtualMachineImageGetResponse> GetAsync (
	String imageName, 
	CancellationToken cancellationToken
)
function GetAsync (
	imageName : String, 
	cancellationToken : CancellationToken
) : Task<VirtualMachineImageGetResponse>

Parameters

imageName

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

cancellationToken

The cancellation token.

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: