Share via


DataCollectionRuleEventHubDestination Class

Definition

The DataCollectionRuleEventHubDestination.

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

Constructors

DataCollectionRuleEventHubDestination()

Initializes a new instance of DataCollectionRuleEventHubDestination.

Properties

EventHubResourceId

The resource ID of the event hub.

Name

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

Explicit Interface Implementations

IJsonModel<DataCollectionRuleEventHubDestination>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataCollectionRuleEventHubDestination>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataCollectionRuleEventHubDestination>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataCollectionRuleEventHubDestination>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataCollectionRuleEventHubDestination>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to