RuleMetricDataSource 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.
A rule metric data source. The discriminator value is always RuleMetricDataSource in this case.
public class RuleMetricDataSource : Azure.ResourceManager.Monitor.Models.RuleDataSource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.RuleMetricDataSource>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.RuleMetricDataSource>
type RuleMetricDataSource = class
inherit RuleDataSource
interface IJsonModel<RuleMetricDataSource>
interface IPersistableModel<RuleMetricDataSource>
Public Class RuleMetricDataSource
Inherits RuleDataSource
Implements IJsonModel(Of RuleMetricDataSource), IPersistableModel(Of RuleMetricDataSource)
- Inheritance
- Implements
Constructors
RuleMetricDataSource() |
Initializes a new instance of RuleMetricDataSource. |
Properties
LegacyResourceId |
the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule. (Inherited from RuleDataSource) |
MetricName |
the name of the metric that defines what the rule monitors. |
MetricNamespace |
the namespace of the metric. (Inherited from RuleDataSource) |
ResourceId |
the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule. (Inherited from RuleDataSource) |
ResourceLocation |
the location of the resource. (Inherited from RuleDataSource) |