PlatformTelemetryDataSource Class

Definition

Definition of platform telemetry data source configuration.

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

Constructors

PlatformTelemetryDataSource(IEnumerable<String>)

Initializes a new instance of PlatformTelemetryDataSource.

Properties

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.

Streams

List of platform telemetry streams to collect.

Explicit Interface Implementations

IJsonModel<PlatformTelemetryDataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PlatformTelemetryDataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PlatformTelemetryDataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PlatformTelemetryDataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PlatformTelemetryDataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to