IVirtualMachineOSImageOperations.GetAsync Method (String, CancellationToken)
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)
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Function GetAsync ( imageName As String, cancellationToken As CancellationToken ) As Task(Of VirtualMachineOSImageGetResponse)
Parameters
- imageName
-
Type:
System.String
The name of the OS image to retrieve.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of VirtualMachineOSImageGetResponse)A virtual machine image associated with your subscription.
Show: