health
Creates, updates, deletes, gets or lists a health resource.
Overview
| Name | health |
| Type | Resource |
| Id | digitalocean.apps.health |
Fields
The following fields are returned by SELECT queries:
- apps_get_health
A JSON with key app_health
| Name | Datatype | Description |
|---|---|---|
components | array | |
functions_components | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
apps_get_health | select | app_id | Retrieve information like health status, cpu and memory utilization of app components. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
app_id | string | The app ID (example: 4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf) |
SELECT examples
- apps_get_health
Retrieve information like health status, cpu and memory utilization of app components.
SELECT
components,
functions_components
FROM digitalocean.apps.health
WHERE app_id = '{{ app_id }}' -- required
;