You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
legacy_resource_id: Optional[str] =field(default=None, metadata={'description': 'the legacy resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.'}) # fmt: skip
360
-
metric_namespace: Optional[str] =field(default=None, metadata={"description": "the namespace of the metric."})
361
-
type: Optional[str] =field(default=None, metadata={'description': 'specifies the type of data source. There are two types of rule data sources: RuleMetricDataSource and RuleManagementEventDataSource'}) # fmt: skip
362
-
resource_location: Optional[str] =field(default=None, metadata={"description": "the location of the resource."})
363
-
resource_uri: Optional[str] =field(default=None, metadata={'description': 'the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule.'}) # fmt: skip
data_source: Optional[AzureMonitorRuleDataSource] =field(default=None, metadata={'description': 'The resource from which the rule collects its data.'}) # fmt: skip
374
-
type: Optional[str] =field(default=None, metadata={'description': 'specifies the type of condition. This can be one of three types: ManagementEventRuleCondition (occurrences of management events), LocationThresholdRuleCondition (based on the number of failures of a web test), and ThresholdRuleCondition (based on the threshold of a metric).'}) # fmt: skip
_kind_description: ClassVar[str] ="Azure Monitor Alert Rule is a feature in Microsoft Azure that defines conditions for monitoring resources and triggers notifications when specified thresholds are met. It evaluates metrics, logs, and activity data from Azure services, then sends alerts via various channels when predefined criteria are satisfied, helping administrators respond to issues and maintain system health."# fmt: skip
action: Optional[str] =field(default=None, metadata={'description': 'The action that is performed when the alert rule becomes active, and when an alert condition is resolved.'}) # fmt: skip
408
-
actions: Optional[List[str]] =field(default=None, metadata={'description': 'the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.'}) # fmt: skip
409
-
rule_condition: Optional[AzureMonitorRuleCondition] =field(default=None, metadata={'description': 'The condition that results in the alert rule being activated.'}) # fmt: skip
410
-
description: Optional[str] =field(default=None, metadata={'description': 'the description of the alert rule that will be included in the alert email.'}) # fmt: skip
411
-
is_enabled: Optional[bool] =field(default=None, metadata={'description': 'the flag that indicates whether the alert rule is enabled.'}) # fmt: skip
412
-
last_updated_time: Optional[datetime] =field(default=None, metadata={'description': 'Last time the rule was updated in ISO8601 format.'}) # fmt: skip
0 commit comments