共用方式為


RuleMetricDataSource Constructors

Definition

Overloads

RuleMetricDataSource()

Initializes a new instance of the RuleMetricDataSource class.

RuleMetricDataSource(String, String, String, String, String)

Initializes a new instance of the RuleMetricDataSource class.

RuleMetricDataSource()

Initializes a new instance of the RuleMetricDataSource class.

public RuleMetricDataSource ();
Public Sub New ()

Applies to

RuleMetricDataSource(String, String, String, String, String)

Initializes a new instance of the RuleMetricDataSource class.

public RuleMetricDataSource (string resourceUri = default, string legacyResourceId = default, string resourceLocation = default, string metricNamespace = default, string metricName = default);
new Microsoft.Azure.Management.Monitor.Models.RuleMetricDataSource : string * string * string * string * string -> Microsoft.Azure.Management.Monitor.Models.RuleMetricDataSource
Public Sub New (Optional resourceUri As String = Nothing, Optional legacyResourceId As String = Nothing, Optional resourceLocation As String = Nothing, Optional metricNamespace As String = Nothing, Optional metricName As String = Nothing)

Parameters

resourceUri
String

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

legacyResourceId
String

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

resourceLocation
String

the location of the resource.

metricNamespace
String

the namespace of the metric.

metricName
String

the name of the metric that defines what the rule monitors.

Applies to