Share via


EventHubConfiguration Class

Definition

EventHub configurations.

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

Constructors

EventHubConfiguration()

Initializes a new instance of EventHubConfiguration.

Properties

Id

Resource ID of EventHub.

Name

EventHub name.

NameSpace

EventHub namespace.

PolicyName

EventHub policy name.

SubscriptionId

Subscription Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EventHubConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventHubConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventHubConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventHubConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to