Share via


MetricRules Class

Definition

Set of rules for sending metrics for the Monitor resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.MetricRulesTypeConverter))]
public class MetricRules : Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IMetricRules
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.MetricRulesTypeConverter))>]
type MetricRules = class
    interface IMetricRules
    interface IJsonSerializable
Public Class MetricRules
Implements IMetricRules
Inheritance
MetricRules
Attributes
Implements

Constructors

MetricRules()

Creates an new MetricRules instance.

Properties

FilteringTag

List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MetricRules.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MetricRules.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DynatraceObservability.Models.Api20210901.IMetricRules.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MetricRules into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to