RuleDataSource interface

The resource from which the rule collects its data.

Properties

legacyResourceId

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

metricNamespace

the namespace of the metric.

odataType

Polymorphic discriminator, which specifies the different types this object can be

resourceLocation

the location of the resource.

resourceUri

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

Property Details

legacyResourceId

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

legacyResourceId?: string

Property Value

string

metricNamespace

the namespace of the metric.

metricNamespace?: string

Property Value

string

odataType

Polymorphic discriminator, which specifies the different types this object can be

odataType: "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource" | "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"

Property Value

"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource" | "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"

resourceLocation

the location of the resource.

resourceLocation?: string

Property Value

string

resourceUri

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

resourceUri?: string

Property Value

string