Suppression Class

Action rule with suppression configuration.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.alertsmanagement.models._models_py3.ActionRuleProperties
Suppression

Constructor

Suppression(*, suppression_config: azure.mgmt.alertsmanagement.models._models_py3.SuppressionConfig, scope: Optional[azure.mgmt.alertsmanagement.models._models_py3.Scope] = None, conditions: Optional[azure.mgmt.alertsmanagement.models._models_py3.Conditions] = None, description: Optional[str] = None, status: Optional[Union[str, azure.mgmt.alertsmanagement.models._alerts_management_client_enums.ActionRuleStatus]] = None, **kwargs)

Parameters

scope
Scope
Required

scope on which action rule will apply.

conditions
Conditions
Required

conditions on which alerts will be filtered.

description
str
Required

Description of action rule.

status
str or ActionRuleStatus
Required

Indicates if the given action rule is enabled or disabled. Possible values include: "Enabled", "Disabled".

type
str or ActionRuleType
Required

Required. Indicates type of action rule.Constant filled by server. Possible values include: "Suppression", "ActionGroup", "Diagnostics".

suppression_config
SuppressionConfig
Required

Required. suppression configuration for the action rule.

Variables

created_at
datetime

Creation time of action rule. Date-Time in ISO-8601 format.

last_modified_at
datetime

Last updated time of action rule. Date-Time in ISO-8601 format.

created_by
str

Created by user name.

last_modified_by
str

Last modified by user name.