ManagedServiceIdentity 建構函式

定義

多載

ManagedServiceIdentity()

初始化 ManagedServiceIdentity 類別的新實例。

ManagedServiceIdentity(String, String, String, IDictionary<String,UserAssignedIdentity>)

初始化 ManagedServiceIdentity 類別的新實例。

ManagedServiceIdentity()

初始化 ManagedServiceIdentity 類別的新實例。

public ManagedServiceIdentity ();
Public Sub New ()

適用於

ManagedServiceIdentity(String, String, String, IDictionary<String,UserAssignedIdentity>)

初始化 ManagedServiceIdentity 類別的新實例。

public ManagedServiceIdentity (string type, string principalId = default, string tenantId = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Blueprint.Models.UserAssignedIdentity> userAssignedIdentities = default);
new Microsoft.Azure.Management.Blueprint.Models.ManagedServiceIdentity : string * string * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Blueprint.Models.UserAssignedIdentity> -> Microsoft.Azure.Management.Blueprint.Models.ManagedServiceIdentity
Public Sub New (type As String, Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing)

參數

type
String

受控識別的類型。 可能的值包括:'None'、'SystemAssigned'、'UserAssigned'

principalId
String

與此身分識別相關聯的 Azure Active Directory 主體識別碼。

tenantId
String

Azure Active Directory 的識別碼。

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

與資源相關聯的使用者指派受控識別清單。 金鑰是受控識別的 Azure 資源識別碼。

適用於