Identity 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
資源的身分識別。
public class Identity
type Identity = class
Public Class Identity
- 繼承
-
Identity
建構函式
Identity() |
初始化 Identity 類別的新實例。 |
Identity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,IdentityUserAssignedIdentitiesValue>) |
初始化 Identity 類別的新實例。 |
屬性
PrincipalId |
取得資源識別的主要識別碼。 |
TenantId |
取得資源的租使用者識別碼。 |
Type |
取得或設定識別類型。 可能的值包括:'SystemAssigned'、'UserAssigned'、'SystemAssigned、UserAssigned'、'None' |
UserAssignedIdentities |
取得或設定與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源識別碼:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 |