MetricAlertResource 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
MetricAlertResource()
public MetricAlertResource ();
Public Sub New ()
Applies to
MetricAlertResource(String, String, Int32, Boolean, TimeSpan, TimeSpan, MetricAlertCriteria, String, String, String, IDictionary<String, String>, IList<String>, String, String, Nullable<Boolean>, IList<MetricAlertAction>, Nullable<DateTime>)
public MetricAlertResource (string location, string description, int severity, bool enabled, TimeSpan evaluationFrequency, TimeSpan windowSize, Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricAlertCriteria criteria, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<string> scopes = default, string targetResourceType = default, string targetResourceRegion = default, bool? autoMitigate = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricAlertAction> actions = default, DateTime? lastUpdatedTime = default);
new Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricAlertResource : string * string * int * bool * TimeSpan * TimeSpan * Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricAlertCriteria * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<string> * string * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricAlertAction> * Nullable<DateTime> -> Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricAlertResource
Public Sub New (location As String, description As String, severity As Integer, enabled As Boolean, evaluationFrequency As TimeSpan, windowSize As TimeSpan, criteria As MetricAlertCriteria, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional scopes As IList(Of String) = Nothing, Optional targetResourceType As String = Nothing, Optional targetResourceRegion As String = Nothing, Optional autoMitigate As Nullable(Of Boolean) = Nothing, Optional actions As IList(Of MetricAlertAction) = Nothing, Optional lastUpdatedTime As Nullable(Of DateTime) = Nothing)
Parameters
- location
- String
- description
- String
- severity
- Int32
- enabled
- Boolean
- evaluationFrequency
- TimeSpan
- windowSize
- TimeSpan
- criteria
- MetricAlertCriteria
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- targetResourceType
- String
- targetResourceRegion
- String
- actions
- IList<MetricAlertAction>