Condividi tramite


EventSubscriptionIdentity Class

Definition

The identity information with the event subscription.

public class EventSubscriptionIdentity : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventGrid.Models.EventSubscriptionIdentity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventGrid.Models.EventSubscriptionIdentity>
type EventSubscriptionIdentity = class
    interface IJsonModel<EventSubscriptionIdentity>
    interface IPersistableModel<EventSubscriptionIdentity>
Public Class EventSubscriptionIdentity
Implements IJsonModel(Of EventSubscriptionIdentity), IPersistableModel(Of EventSubscriptionIdentity)
Inheritance
EventSubscriptionIdentity
Implements

Constructors

EventSubscriptionIdentity()

Initializes a new instance of EventSubscriptionIdentity.

Properties

IdentityType

The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.

UserAssignedIdentity

The user identity associated with the resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EventSubscriptionIdentity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventSubscriptionIdentity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventSubscriptionIdentity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventSubscriptionIdentity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventSubscriptionIdentity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to