Compartilhar via


EventHubDirectDestination Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.EventHubDirectDestinationTypeConverter))]
public class EventHubDirectDestination : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IEventHubDirectDestination
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.EventHubDirectDestinationTypeConverter))>]
type EventHubDirectDestination = class
    interface IEventHubDirectDestination
    interface IJsonSerializable
Public Class EventHubDirectDestination
Implements IEventHubDirectDestination
Inheritance
EventHubDirectDestination
Attributes
Implements

Constructors

EventHubDirectDestination()

Creates an new EventHubDirectDestination instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventHubDirectDestination.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventHubDirectDestination.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IEventHubDirectDestination.

FromJsonString(String)

Creates a new instance of EventHubDirectDestination, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventHubDirectDestination into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to