共用方式為


Identity 類別

資源的身分識別。

變數只會由伺服器填入,而且會在傳送要求時予以忽略。

必須填入所有必要的參數,才能傳送至 Azure。

繼承
azure.mgmt.storage._serialization.Model
Identity

建構函式

Identity(*, type: str | _models.IdentityType, user_assigned_identities: Dict[str, _models.UserAssignedIdentity] | None = None, **kwargs)

變數

principal_id
str

資源識別的主體識別碼。

tenant_id
str

資源的租使用者識別碼。

type
strIdentityType

識別類型。 必要。 已知值為:「None」、「SystemAssigned」、「UserAssigned」和 「SystemAssigned,UserAssigned」。

user_assigned_identities
dict[<xref:str,azure.mgmt.storage.v2021_04_01.models.UserAssignedIdentity>]

取得或設定索引鍵值組的清單,描述將與此儲存體帳戶搭配使用的一組使用者指派身分識別。 金鑰是身分識別的 ARM 資源識別碼。 這裡只允許 1 個使用者指派的身分識別。