alerts
Creates, updates, deletes, gets or lists a alerts
resource.
Overview
Name | alerts |
Type | Resource |
Id | digitalocean.apps.alerts |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
component_name | string | |
emails | array | |
phase | string | |
progress | object | |
slack_webhooks | array | |
spec | object |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
apps_list_alerts | SELECT | app_id | List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions. |
apps_assign_alert_destinations | EXEC | alert_id, app_id | Updates the emails and slack webhook destinations for app alerts. Emails must be associated to a user with access to the app. |
SELECT
examples
List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions.
SELECT
id,
component_name,
emails,
phase,
progress,
slack_webhooks,
spec
FROM digitalocean.apps.alerts
WHERE app_id = '{{ app_id }}';