共用方式為


UserAssignedIdentity Class

Definition

User assigned identity properties.

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

Constructors

UserAssignedIdentity()

Initializes a new instance of UserAssignedIdentity.

Properties

ClientId

The client ID of the assigned identity.

PrincipalId

The principal ID of the assigned identity.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<UserAssignedIdentity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UserAssignedIdentity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserAssignedIdentity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserAssignedIdentity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UserAssignedIdentity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to