Share via


RuleDataSource Class

Definition

The resource from which the rule collects its data.

public class RuleDataSource
type RuleDataSource = class
Public Class RuleDataSource
Inheritance
RuleDataSource
Derived

Constructors

RuleDataSource()

Initializes a new instance of the RuleDataSource class.

RuleDataSource(String, String, String, String)

Initializes a new instance of the RuleDataSource class.

Properties

LegacyResourceId

Gets or sets the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.

MetricNamespace

Gets or sets the namespace of the metric.

ResourceLocation

Gets or sets the ___location of the resource.

ResourceUri

Gets or sets the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.

Applies to