checks_states
Creates, updates, deletes, gets or lists a checks_states
resource.
Overview
Name | checks_states |
Type | Resource |
Id | digitalocean.uptime.checks_states |
Fields
Name | Datatype | Description |
---|---|---|
previous_outage | object | |
regions | object | A map of region to regional state |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
uptime_get_check_state | SELECT | check_id | To show information about an existing check's state, send a GET request to /v2/uptime/checks/$CHECK_ID/state . |
SELECT
examples
To show information about an existing check's state, send a GET request to /v2/uptime/checks/$CHECK_ID/state
.
SELECT
previous_outage,
regions
FROM digitalocean.uptime.checks_states
WHERE check_id = '{{ check_id }}';