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.Model
AlertRuleResourcePatch

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
str

the name of the alert rule.

description
str

the description of the alert rule that will be included in the alert email.

provisioning_state
str

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
str

the name of the alert rule.

description
str

the description of the alert rule that will be included in the alert email.

provisioning_state
str

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.