Freigeben über


ManagedServiceIdentity Class

Definition

Managed service identity (system assigned and/or user assigned identities)

public class ManagedServiceIdentity
type ManagedServiceIdentity = class
Public Class ManagedServiceIdentity
Inheritance
ManagedServiceIdentity

Constructors

ManagedServiceIdentity()

Initializes a new instance of the ManagedServiceIdentity class.

ManagedServiceIdentity(String, Nullable<Guid>, Nullable<Guid>, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the ManagedServiceIdentity class.

Properties

PrincipalId

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

TenantId

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

Type

Gets or sets type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned,UserAssigned'

UserAssignedIdentities

Gets or sets the set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Methods

Validate()

Validate the object.

Applies to