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

MachineIdentity 构造函数

定义

重载

MachineIdentity()

初始化 MachineIdentity 类的新实例。

MachineIdentity(String, String, String)

初始化 MachineIdentity 类的新实例。

MachineIdentity()

初始化 MachineIdentity 类的新实例。

public MachineIdentity();
Public Sub New ()

适用于

MachineIdentity(String, String, String)

初始化 MachineIdentity 类的新实例。

public MachineIdentity(string type = default, string principalId = default, string tenantId = default);
new Microsoft.Azure.Management.HybridCompute.Models.MachineIdentity : string * string * string -> Microsoft.Azure.Management.HybridCompute.Models.MachineIdentity
Public Sub New (Optional type As String = Nothing, Optional principalId As String = Nothing, Optional tenantId As String = Nothing)

参数

type
String

标识类型。

principalId
String

标识的主体 ID。

tenantId
String

标识的租户 ID。

适用于