AlertRuleResourcePatch Class
The alert rule object for patch operations.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.monitor._serialization.ModelAlertRuleResourcePatch
Constructor
AlertRuleResourcePatch(*, tags: Dict[str, str] | None = None, name: str | None = None, description: str | None = None, provisioning_state: str | None = None, is_enabled: bool | None = None, condition: _models.RuleCondition | None = None, action: _models.RuleAction | None = None, actions: List[_models.RuleAction] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
tags
|
Resource tags. |
name
|
the name of the alert rule. |
description
|
the description of the alert rule that will be included in the alert email. |
provisioning_state
|
the provisioning state. |
is_enabled
|
the flag that indicates whether the alert rule is enabled. |
condition
|
the condition that results in the alert rule being activated. |
action
|
action that is performed when the alert rule becomes active, and when an alert condition is resolved. |
actions
|
the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. |
Variables
Name | Description |
---|---|
tags
|
Resource tags. |
name
|
the name of the alert rule. |
description
|
the description of the alert rule that will be included in the alert email. |
provisioning_state
|
the provisioning state. |
is_enabled
|
the flag that indicates whether the alert rule is enabled. |
condition
|
the condition that results in the alert rule being activated. |
action
|
action that is performed when the alert rule becomes active, and when an alert condition is resolved. |
actions
|
the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved. |
last_updated_time
|
Last time the rule was updated in ISO8601 format. |
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for