DataImportSourcesEventHub Class

Definition

Definition of Event Hub configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DataImportSourcesEventHubTypeConverter))]
public class DataImportSourcesEventHub : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataImportSourcesEventHub, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DataImportSourcesEventHubTypeConverter))>]
type DataImportSourcesEventHub = class
    interface IDataImportSourcesEventHub
    interface IJsonSerializable
    interface IEventHubDataSource
    interface IValidates
Public Class DataImportSourcesEventHub
Implements IDataImportSourcesEventHub, IValidates
Inheritance
DataImportSourcesEventHub
Attributes
Implements

Constructors

DataImportSourcesEventHub()

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataImportSourcesEventHub.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataImportSourcesEventHub into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to