共用方式為


Condition Class

Definition

Condition to trigger an alert processing rule.

public class Condition
type Condition = class
Public Class Condition
Inheritance
Condition

Constructors

Condition()

Initializes a new instance of the Condition class.

Condition(String, String, IList<String>)

Initializes a new instance of the Condition class.

Properties

Field

Gets or sets field for a given condition. Possible values include: 'Severity', 'MonitorService', 'MonitorCondition', 'SignalType', 'TargetResourceType', 'TargetResource', 'TargetResourceGroup', 'AlertRuleId', 'AlertRuleName', 'Description', 'AlertContext'

OperatorProperty

Gets or sets operator for a given condition. Possible values include: 'Equals', 'NotEquals', 'Contains', 'DoesNotContain'

Values

Gets or sets list of values to match for a given condition.

Applies to