Поделиться через


Identity Конструкторы

Определение

Перегрузки

Identity()

Инициализирует новый экземпляр класса Identity.

Identity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,IdentityUserAssignedIdentitiesValue>)

Инициализирует новый экземпляр класса Identity.

Identity()

Инициализирует новый экземпляр класса Identity.

public Identity ();
Public Sub New ()

Применяется к

Identity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,IdentityUserAssignedIdentitiesValue>)

Инициализирует новый экземпляр класса Identity.

public Identity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.Automation.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Automation.Models.IdentityUserAssignedIdentitiesValue> userAssignedIdentities = default);
new Microsoft.Azure.Management.Automation.Models.Identity : string * string * Nullable<Microsoft.Azure.Management.Automation.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Automation.Models.IdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.Automation.Models.Identity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of ResourceIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, IdentityUserAssignedIdentitiesValue) = Nothing)

Параметры

principalId
String

Идентификатор субъекта удостоверения ресурса.

tenantId
String

Идентификатор клиента ресурса.

type
Nullable<ResourceIdentityType>

Тип удостоверения. Возможные значения: SystemAssigned, UserAssigned, SystemAssigned, UserAssigned, None.

userAssignedIdentities
IDictionary<String,IdentityUserAssignedIdentitiesValue>

Список удостоверений пользователей, связанных с ресурсом. Ссылки на ключи словаря удостоверений пользователей будут иметь идентификаторы ресурсов ARM в форме: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".

Применяется к