共用方式為


IdentityInfo 類別

資源的身分識別資訊。

'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 此屬性目前未使用,並保留供日後使用。

'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 此屬性目前未使用,並保留供日後使用。

繼承
IdentityInfo

建構函式

IdentityInfo(*, type: str | IdentityType | None = None, principal_id: str | None = None, tenant_id: str | None = None, user_assigned_identities: Dict[str, UserIdentityProperties] | None = None, **kwargs)

參數

type
strIdentityType

使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 'None' 將會移除任何身分識別。 可能的值為:「None」、「SystemAssigned」、「UserAssigned」、「SystemAssigned、UserAssigned」。

principal_id
str

資源識別的主體識別碼。

tenant_id
str

資源的租使用者識別碼。

user_assigned_identities

與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考將會是格式為 ARM 資源識別碼:

變數

type
strIdentityType

使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 'None' 將會移除任何身分識別。 可能的值為:「None」、「SystemAssigned」、「UserAssigned」、「SystemAssigned、UserAssigned」。

principal_id
str

資源識別的主體識別碼。

tenant_id
str

資源的租使用者識別碼。

user_assigned_identities

與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考將會是格式為 ARM 資源識別碼: