Class RuleMetricDataSource
A rule metric data source. The discriminator value is always RuleMetricDataSource in this case.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
[Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource")]
public class RuleMetricDataSource : Microsoft.Azure.Management.Monitor.Models.RuleDataSource
Constructors
RuleMetricDataSource()
Initializes a new instance of the RuleMetricDataSource class.
Declaration
public RuleMetricDataSource ();
RuleMetricDataSource(String, String)
Initializes a new instance of the RuleMetricDataSource class.
Declaration
public RuleMetricDataSource (string resourceUri = null, string metricName = null);
Parameters
|
String
resourceUri
the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule. |
|
String
metricName
the name of the metric that defines what the rule monitors. |
Properties
MetricName
Gets or sets the name of the metric that defines what the rule monitors.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="metricName")]
public string MetricName { get; set; }
Property Value
|
String
|