AlertRuleResourcePatch interface
The alert rule object for patch operations.
Properties
| 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. |
| condition | the condition that results in the alert rule being activated. |
| description | the description of the alert rule that will be included in the alert email. |
| is |
the flag that indicates whether the alert rule is enabled. |
| last |
Last time the rule was updated in ISO8601 format. NOTE: This property will not be serialized. It can only be populated by the server. |
| name | the name of the alert rule. |
| provisioning |
the provisioning state. |
| tags | Resource tags |
Property Details
action
action that is performed when the alert rule becomes active, and when an alert condition is resolved.
action?: RuleActionUnion
Property Value
actions
the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
actions?: RuleActionUnion[]
Property Value
condition
the condition that results in the alert rule being activated.
condition?: RuleConditionUnion
Property Value
description
the description of the alert rule that will be included in the alert email.
description?: string
Property Value
string
isEnabled
the flag that indicates whether the alert rule is enabled.
isEnabled?: boolean
Property Value
boolean
lastUpdatedTime
Last time the rule was updated in ISO8601 format. NOTE: This property will not be serialized. It can only be populated by the server.
lastUpdatedTime?: Date
Property Value
Date
name
the name of the alert rule.
name?: string
Property Value
string
provisioningState
the provisioning state.
provisioningState?: string
Property Value
string
tags
Resource tags
tags?: {[propertyName: string]: string}
Property Value
{[propertyName: string]: string}