Dela 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(Nullable<ResourceIdentityType>, String, String, IDictionary<String,UserAssignedIdentity>)

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: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned'

UserAssignedIdentities

Gets or sets the list of user assigned 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