Partager via


DataImportSources Class

Definition

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

Constructors

DataImportSources()

Creates an new DataImportSources instance.

Properties

EventHubConsumerGroup

Event Hub consumer group name

EventHubName

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

EventHubStream

The stream to collect from EventHub

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataImportSources.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataImportSources.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataImportSources into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to