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

IVirtualMachineOSImageOperations.GetAsync(String, CancellationToken) 方法

定义

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageGetResponse> GetAsync (string imageName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageGetResponse>
Public Function GetAsync (imageName As String, cancellationToken As CancellationToken) As Task(Of VirtualMachineOSImageGetResponse)

参数

imageName
String

要检索的 OS 映像的名称。

cancellationToken
CancellationToken

取消标记。

返回

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

适用于