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

PlatformTelemetryDataSource Class

Definition

Definition of platform telemetry data source configuration

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

Constructors

PlatformTelemetryDataSource()

Creates an new PlatformTelemetryDataSource instance.

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.

Stream

List of platform telemetry streams to collect

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PlatformTelemetryDataSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PlatformTelemetryDataSource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PlatformTelemetryDataSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to