你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PrometheusForwarderDataSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |