Policies
List Notification policies
alerting.policies.list(PolicyListParams**kwargs) -> SyncSinglePage[Policy]
GET/accounts/{account_id}/alerting/v3/policies
Get a Notification policy
alerting.policies.get(strpolicy_id, PolicyGetParams**kwargs) -> Policy
GET/accounts/{account_id}/alerting/v3/policies/{policy_id}
Create a Notification policy
alerting.policies.create(PolicyCreateParams**kwargs) -> PolicyCreateResponse
POST/accounts/{account_id}/alerting/v3/policies
Update a Notification policy
alerting.policies.update(strpolicy_id, PolicyUpdateParams**kwargs) -> PolicyUpdateResponse
PUT/accounts/{account_id}/alerting/v3/policies/{policy_id}
Delete a Notification policy
alerting.policies.delete(strpolicy_id, PolicyDeleteParams**kwargs) -> PolicyDeleteResponse
DELETE/accounts/{account_id}/alerting/v3/policies/{policy_id}
ModelsExpand Collapse
class Policy: …
class Policy: …
alert_interval: Optional[str]
Optional specification of how often to re-alert from the same incident, not support on all alert types.
alert_type: Optional[Literal["abuse_report_alert", "access_custom_certificate_expiration_type", "advanced_ddos_attack_l4_alert", 66 more]]Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.
alert_type: Optional[Literal["abuse_report_alert", "access_custom_certificate_expiration_type", "advanced_ddos_attack_l4_alert", 66 more]]
Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.
One of the following:
filters: Optional[PolicyFilter]
Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documentation for more details.
class PolicyFilter: …Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documentation for more details.
class PolicyFilter: …
Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documentation for more details.