Dela via


ManagedServiceIdentity Class

Definition

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

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Models.ManagedServiceIdentity+ManagedServiceIdentityConverter))]
public class ManagedServiceIdentity : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Models.ManagedServiceIdentity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Models.ManagedServiceIdentity>
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Models.ManagedServiceIdentity+ManagedServiceIdentityConverter))>]
type ManagedServiceIdentity = class
    interface IJsonModel<ManagedServiceIdentity>
    interface IPersistableModel<ManagedServiceIdentity>
Public Class ManagedServiceIdentity
Implements IJsonModel(Of ManagedServiceIdentity), IPersistableModel(Of ManagedServiceIdentity)
Inheritance
ManagedServiceIdentity
Attributes
Implements

Constructors

ManagedServiceIdentity(ManagedServiceIdentityType)

Initializes a new instance of ManagedServiceIdentity.

Properties

ManagedServiceIdentityType

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

PrincipalId

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

TenantId

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

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.

Explicit Interface Implementations

IJsonModel<ManagedServiceIdentity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ManagedServiceIdentity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedServiceIdentity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedServiceIdentity>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ManagedServiceIdentity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to