RuleDataSource interface
The resource from which the rule collects its data.
Properties
legacy |
the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule. |
metric |
the namespace of the metric. |
odata |
Polymorphic discriminator, which specifies the different types this object can be |
resource |
the location of the resource. |
resource |
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