DynamicPromQLCriteria Constructor
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.
Initializes a new instance of DynamicPromQLCriteria.
public DynamicPromQLCriteria(string name, string query, Azure.ResourceManager.Monitor.Models.DynamicThresholdOperator operator, Azure.ResourceManager.Monitor.Models.DynamicThresholdSensitivity alertSensitivity);
new Azure.ResourceManager.Monitor.Models.DynamicPromQLCriteria : string * string * Azure.ResourceManager.Monitor.Models.DynamicThresholdOperator * Azure.ResourceManager.Monitor.Models.DynamicThresholdSensitivity -> Azure.ResourceManager.Monitor.Models.DynamicPromQLCriteria
Public Sub New (name As String, query As String, operator As DynamicThresholdOperator, alertSensitivity As DynamicThresholdSensitivity)
Parameters
- name
- String
Name of the criteria.
- query
- String
The query used to evaluate the alert rule.
- operator
- DynamicThresholdOperator
The operator used to compare the metric value against the threshold. Previously undocumented values might be returned.
- alertSensitivity
- DynamicThresholdSensitivity
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern. Previously undocumented values might be returned.
Exceptions
name or query is null.