PrometheusForwarderDataSource Class

Definition

Definition of Prometheus metrics forwarding configuration.

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

Constructors

PrometheusForwarderDataSource()

Creates an new PrometheusForwarderDataSource instance.

Properties

LabelIncludeFilter

The list of label inclusion filters in the form of label "name-value" pairs. Currently only one label is supported: 'microsoft_metrics_include_label'. Label values are matched case-insensitively.

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 streams that this data source will be sent to.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PrometheusForwarderDataSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PrometheusForwarderDataSource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PrometheusForwarderDataSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to