你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineOSImageOperationsExtensions.GetAsync 方法

定义

获取 OS 映像操作从映像存储库中检索操作系统映像的详细信息。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/windowsazure/jj157191.aspx)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations operations, string imageName);
static member GetAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageGetResponse>
<Extension()>
Public Function GetAsync (operations As IVirtualMachineOSImageOperations, imageName As String) As Task(Of VirtualMachineOSImageGetResponse)

参数

operations
IVirtualMachineOSImageOperations

对 Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations 的引用。

imageName
String

必需。 要检索的 OS 映像的名称。

返回

与订阅关联的虚拟机映像。

适用于