AlertRuleResource 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
AlertRuleResource() | |
AlertRuleResource(String, String, Boolean, RuleCondition, String, String, String, IDictionary<String,String>, String, IList<RuleAction>, Nullable<DateTime>) |
AlertRuleResource()
public AlertRuleResource ();
Public Sub New ()
Applies to
AlertRuleResource(String, String, Boolean, RuleCondition, String, String, String, IDictionary<String,String>, String, IList<RuleAction>, Nullable<DateTime>)
public AlertRuleResource (string location, string alertRuleResourceName, bool isEnabled, Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.RuleCondition condition, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.RuleAction> actions = default, DateTime? lastUpdatedTime = default);
new Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.AlertRuleResource : string * string * bool * Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.RuleCondition * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.RuleAction> * Nullable<DateTime> -> Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.AlertRuleResource
Public Sub New (location As String, alertRuleResourceName As String, isEnabled As Boolean, condition As RuleCondition, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional actions As IList(Of RuleAction) = Nothing, Optional lastUpdatedTime As Nullable(Of DateTime) = Nothing)
Parameters
- location
- String
- alertRuleResourceName
- String
- isEnabled
- Boolean
- condition
- RuleCondition
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- description
- String
- actions
- IList<RuleAction>