Condividi tramite


DataCollectionRuleEventHubDataSource Class

Definition

The DataCollectionRuleEventHubDataSource.

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

Constructors

DataCollectionRuleEventHubDataSource()

Initializes a new instance of DataCollectionRuleEventHubDataSource.

Properties

ConsumerGroup

Event Hub consumer group name.

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.

Stream

The stream to collect from EventHub.

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.

IJsonModel<DataCollectionRuleEventHubDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataCollectionRuleEventHubDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataCollectionRuleEventHubDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataCollectionRuleEventHubDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to