Delen via


Identity Class

Definition

Identity for the resource.

public class Identity
type Identity = class
Public Class Identity
Inheritance
Identity

Constructors

Identity()

Initializes a new instance of the Identity class.

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

Initializes a new instance of the Identity class.

Properties

PrincipalId

Gets the principal ID of resource identity.

TenantId

Gets the tenant ID of resource.

Type

Gets or sets the identity type. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'

UserAssignedIdentities

Gets or sets the list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Applies to