Sprache

DataSourcesSpec Class

Definition

Specification of data sources that will be collected.

public class DataSourcesSpec : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.DataSourcesSpec>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.DataSourcesSpec>
type DataSourcesSpec = class
    interface IJsonModel<DataSourcesSpec>
    interface IPersistableModel<DataSourcesSpec>
Public Class DataSourcesSpec
Implements IJsonModel(Of DataSourcesSpec), IPersistableModel(Of DataSourcesSpec)
Inheritance
DataSourcesSpec
Derived
Implements

Constructors

Name Description
DataSourcesSpec()

Initializes a new instance of DataSourcesSpec.

Properties

Name Description
DataImportsEventHub

Definition of Event Hub configuration.

EtwProviders

The list of ETW providers data source configurations.

Extensions

The list of Azure VM extension data source configurations.

IisLogs

The list of IIS logs source configurations.

LogFiles

The list of Log files source configurations.

OtelLogs

The list of Otel Logs data source configurations.

OtelMetrics

The list of OTel metrics data source configurations.

OtelTraces

The list of Otel traces data source configurations.

PerformanceCounters

The list of performance counter data source configurations.

PerformanceCountersOtel

The list of Open Telemetry 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.

WindowsEventLogs

The list of Windows Event Log data source configurations.

WindowsFirewallLogs

The list of Windows Firewall logs source configurations.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DataSourcesSpec>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataSourcesSpec>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataSourcesSpec>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataSourcesSpec>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataSourcesSpec>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to