RuleDataSource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RuleDataSource() |
Initializes a new instance of the RuleDataSource class. |
RuleDataSource(String, String, String, String) |
Initializes a new instance of the RuleDataSource class. |
RuleDataSource()
Initializes a new instance of the RuleDataSource class.
public RuleDataSource ();
Public Sub New ()
Applies to
RuleDataSource(String, String, String, String)
Initializes a new instance of the RuleDataSource class.
public RuleDataSource (string resourceUri = default, string legacyResourceId = default, string resourceLocation = default, string metricNamespace = default);
new Microsoft.Azure.Management.Monitor.Models.RuleDataSource : string * string * string * string -> Microsoft.Azure.Management.Monitor.Models.RuleDataSource
Public Sub New (Optional resourceUri As String = Nothing, Optional legacyResourceId As String = Nothing, Optional resourceLocation As String = Nothing, Optional metricNamespace 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.
Applies to
Azure SDK for .NET