Share via


EventHubEventSubscriptionDestination Class

Definition

Information about the event hub destination for an event subscription.

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

Constructors

EventHubEventSubscriptionDestination()

Initializes a new instance of EventHubEventSubscriptionDestination.

Properties

DeliveryAttributeMappings

Delivery attribute details. Please note DeliveryAttributeMapping is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DynamicDeliveryAttributeMapping and StaticDeliveryAttributeMapping.

ResourceId

The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.

Explicit Interface Implementations

IJsonModel<EventHubEventSubscriptionDestination>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventHubEventSubscriptionDestination>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<EventSubscriptionDestination>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from EventSubscriptionDestination)
IJsonModel<EventSubscriptionDestination>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from EventSubscriptionDestination)
IPersistableModel<EventHubEventSubscriptionDestination>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubEventSubscriptionDestination>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventHubEventSubscriptionDestination>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<EventSubscriptionDestination>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from EventSubscriptionDestination)
IPersistableModel<EventSubscriptionDestination>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from EventSubscriptionDestination)
IPersistableModel<EventSubscriptionDestination>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from EventSubscriptionDestination)

Applies to