Udostępnij za pośrednictwem


DataImportSourcesEventHub Class

Definition

Definition of Event Hub configuration.

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

Constructors

DataImportSourcesEventHub()

Initializes a new instance of DataImportSourcesEventHub.

Properties

ConsumerGroup

Event Hub consumer group name.

(Inherited from DataCollectionRuleEventHubDataSource)
Name

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

(Inherited from DataCollectionRuleEventHubDataSource)
Stream

The stream to collect from EventHub.

(Inherited from DataCollectionRuleEventHubDataSource)

Explicit Interface Implementations

IJsonModel<DataCollectionRuleEventHubDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataCollectionRuleEventHubDataSource)
IJsonModel<DataImportSourcesEventHub>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataImportSourcesEventHub>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataCollectionRuleEventHubDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from DataCollectionRuleEventHubDataSource)
IPersistableModel<DataImportSourcesEventHub>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataImportSourcesEventHub>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataImportSourcesEventHub>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to