Aracılığıyla paylaş


ManagedIdentity Class

Definition

Describes the managed identities for an Azure resource.

public class ManagedIdentity
type ManagedIdentity = class
Public Class ManagedIdentity
Inheritance
ManagedIdentity

Constructors

ManagedIdentity()

Initializes a new instance of the ManagedIdentity class.

ManagedIdentity(String, String, Nullable<ManagedIdentityType>, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the ManagedIdentity class.

Properties

PrincipalId

Gets the principal id of the managed identity. This property will only be provided for a system assigned identity.

TenantId

Gets the tenant id of the managed identity. This property will only be provided for a system assigned identity.

Type

Gets or sets the type of managed identity for the resource. 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