Share via


EventHubDestination Class

Definition

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

Constructors

EventHubDestination()

Creates an new EventHubDestination 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 EventHubDestination.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventHubDestination.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventHubDestination into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to