Share via


DataCollectionRuleDataSources Class

Definition

The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.

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

Constructors

DataCollectionRuleDataSources()

Creates an new DataCollectionRuleDataSources instance.

Properties

DataImportEventHubConsumerGroup

Event Hub consumer group name

DataImportEventHubName

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

DataImportEventHubStream

The stream to collect from EventHub

Extension

The list of Azure VM extension data source configurations.

IisLog

The list of IIS logs source configurations.

LogFile

The list of Log files source configurations.

PerformanceCounter

The list of performance counter data source configurations.

PlatformTelemetry

The list of platform telemetry configurations

PrometheusForwarder

The list of Prometheus forwarder data source configurations.

Syslog

The list of Syslog data source configurations.

WindowsEventLog

The list of Windows Event Log data source configurations.

WindowsFirewallLog

The list of Windows Firewall logs source configurations.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataCollectionRuleDataSources.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataCollectionRuleDataSources.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataCollectionRuleDataSources into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to