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

MachinesOperationsExtensions.GetAsync 方法

定义

检索有关混合计算机的模型视图或实例视图的信息。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HybridCompute.Models.Machine> GetAsync (this Microsoft.Azure.Management.HybridCompute.IMachinesOperations operations, string resourceGroupName, string name, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.HybridCompute.IMachinesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HybridCompute.Models.Machine>
<Extension()>
Public Function GetAsync (operations As IMachinesOperations, resourceGroupName As String, name As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Machine)

参数

operations
IMachinesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

name
String

混合计算机的名称。

expand
String

要应用于操作的 expand 表达式。 可能的值包括:“instanceView”

cancellationToken
CancellationToken

取消标记。

返回

适用于