Alerting

Alerting

Alerting

Available Alerts

Alerting.AvailableAlerts

Methods

list(, ):
get/accounts/{account_id}/alerting/v3/available_alerts

Gets a list of all alert types for which an account is eligible.

Alerting

Destinations

Alerting.Destinations

Alerting.Destinations.Eligible

Methods

get(, ):
get/accounts/{account_id}/alerting/v3/destinations/eligible

Get a list of all delivery mechanism types for which an account is eligible.

Alerting.Destinations.PagerdutyResource

Methods

get(, ): <>
get/accounts/{account_id}/alerting/v3/destinations/pagerduty

Get a list of all configured PagerDuty services.

create(, ):
post/accounts/{account_id}/alerting/v3/destinations/pagerduty/connect

Creates a new token for integrating with PagerDuty.

delete(, ):
delete/accounts/{account_id}/alerting/v3/destinations/pagerduty

Deletes all the PagerDuty Services connected to the account.

link(, , ):
get/accounts/{account_id}/alerting/v3/destinations/pagerduty/connect/{token_id}

Links PagerDuty with the account using the integration token.

Domain types

Pagerduty{…}

Alerting.Destinations.Webhooks

Methods

list(, ): <>
get/accounts/{account_id}/alerting/v3/destinations/webhooks

Gets a list of all configured webhook destinations.

get(, , ):
get/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}

Get details for a single webhooks destination.

create(, ):
post/accounts/{account_id}/alerting/v3/destinations/webhooks

Creates a new webhook destination.

update(, , ):
put/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}

Update a webhook destination.

delete(, , ):
delete/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}

Delete a configured webhook destination.

Domain types

Webhooks{…}
Alerting

History

Alerting.HistoryResource

Methods

list(, ): <>
get/accounts/{account_id}/alerting/v3/history

Gets a list of history records for notifications sent to an account. The records are displayed for last x number of days based on the zone plan (free = 30, pro = 30, biz = 30, ent = 90).

Domain types

History{…}
Alerting

Policies

Alerting.Policies

Methods

list(, ): <>
get/accounts/{account_id}/alerting/v3/policies

Get a list of all Notification policies.

get(, , ):
get/accounts/{account_id}/alerting/v3/policies/{policy_id}

Get details for a single policy.

create(, ):
post/accounts/{account_id}/alerting/v3/policies

Creates a new Notification policy.

update(, , ):
put/accounts/{account_id}/alerting/v3/policies/{policy_id}

Update a Notification policy.

delete(, , ):
delete/accounts/{account_id}/alerting/v3/policies/{policy_id}

Delete a Notification policy.

Domain types

Mechanism{…}

List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.

Policy{…}
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.

Alerting

Silences

Alerting.Silences

Methods

list(, ): <>
get/accounts/{account_id}/alerting/v3/silences

Gets a list of silences for an account.

get(, , ):
get/accounts/{account_id}/alerting/v3/silences/{silence_id}

Gets a specific silence for an account.

create(, ):
post/accounts/{account_id}/alerting/v3/silences

Creates a new silence for an account.

update(, ): <>
put/accounts/{account_id}/alerting/v3/silences

Updates existing silences for an account.

delete(, , ):
delete/accounts/{account_id}/alerting/v3/silences/{silence_id}

Deletes an existing silence for an account.