Compartir a través de


EventHubDataSource Class

Definition

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

Constructors

EventHubDataSource()

Creates an new EventHubDataSource instance.

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventHubDataSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventHubDataSource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventHubDataSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to