你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DataSourcesSpec Class

Definition

Specification of data sources that will be collected.

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

Constructors

DataSourcesSpec()

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataSourcesSpec.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataSourcesSpec into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to