共用方式為


DataCollectionRuleEventHubDirectDestination Class

Definition

The DataCollectionRuleEventHubDirectDestination.

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

Constructors

DataCollectionRuleEventHubDirectDestination()

Initializes a new instance of DataCollectionRuleEventHubDirectDestination.

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<DataCollectionRuleEventHubDirectDestination>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataCollectionRuleEventHubDirectDestination>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataCollectionRuleEventHubDirectDestination>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataCollectionRuleEventHubDirectDestination>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataCollectionRuleEventHubDirectDestination>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to