Table of Contents

Class ManagedServiceIdentity

Namespace
Azure.ResourceManager.Models
Assembly
Azure.ResourceManager.dll

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

[JsonConverter(typeof(ManagedServiceIdentity.ManagedServiceIdentityConverter))]
public class ManagedServiceIdentity : IJsonModel<ManagedServiceIdentity>, IPersistableModel<ManagedServiceIdentity>
Inheritance
ManagedServiceIdentity
Implements
IPersistableModel<ManagedServiceIdentity>
Inherited Members

Constructors

ManagedServiceIdentity(ManagedServiceIdentityType)

Initializes a new instance of ManagedServiceIdentity.

public ManagedServiceIdentity(ManagedServiceIdentityType managedServiceIdentityType)

Parameters

managedServiceIdentityType ManagedServiceIdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

Properties

ManagedServiceIdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

public ManagedServiceIdentityType ManagedServiceIdentityType { get; set; }

Property Value

ManagedServiceIdentityType

PrincipalId

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

public Guid? PrincipalId { get; }

Property Value

Guid?

TenantId

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

public Guid? TenantId { get; }

Property Value

Guid?

UserAssignedIdentities

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.

public IDictionary<ResourceIdentifier, UserAssignedIdentity> UserAssignedIdentities { get; }

Property Value

IDictionary<ResourceIdentifier, UserAssignedIdentity>