AlertingAction Class
Specify action need to be taken when rule type is Alert.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.monitor.v2018_04_16.models._models_py3.ActionAlertingAction
Constructor
AlertingAction(*, severity: Union[str, azure.mgmt.monitor.v2018_04_16.models._monitor_management_client_enums.AlertSeverity], trigger: azure.mgmt.monitor.v2018_04_16.models._models_py3.TriggerCondition, azns_action: Optional[azure.mgmt.monitor.v2018_04_16.models._models_py3.AzNsActionGroup] = None, throttling_in_min: Optional[int] = None, **kwargs)
Variables
- odata_type
- str
Required. Specifies the action. Supported values - AlertingAction, LogToMetricAction.Constant filled by server.
- severity
- str or <xref:$>(<xref:python-base-namespace>)AlertSeverity
Required. Severity of the alert. Possible values include: "0", "1", "2", "3", "4".
- azns_action
- <xref:$>(<xref:python-base-namespace>)AzNsActionGroup
Azure action group reference.
- throttling_in_min
- int
time (in minutes) for which Alerts should be throttled or suppressed.
- trigger
- <xref:$>(<xref:python-base-namespace>)TriggerCondition
Required. The trigger condition that results in the alert rule being.
Feedback
Submit and view feedback for