Share 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(IdentityType, String, String, IDictionary<String,UserIdentityProperties>)

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 type of managed service identity. Possible values include: '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}'.

Methods

Validate()

Validate the object.

Applies to