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
operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperationsReference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations.
imageName
Type: System.StringRequired. 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