metrics_credentials
Creates, updates, deletes, gets or lists a metrics_credentials
resource.
Overview
Name | metrics_credentials |
Type | Resource |
Id | digitalocean.databases.metrics_credentials |
Fields
Name | Datatype | Description |
---|---|---|
column_anon | `` |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
databases_get_cluster_metrics_credentials | SELECT |
| To show the credentials for all database clusters' metrics endpoints, send a GET request to /v2/databases/metrics/credentials . The result will be a JSON object with a credentials key. |
databases_update_cluster_metrics_credentials | EXEC |
| To update the credentials for all database clusters' metrics endpoints, send a PUT request to /v2/databases/metrics/credentials . A successful request will receive a 204 No Content status code with no body in response. |
SELECT
examples
To show the credentials for all database clusters' metrics endpoints, send a GET request to /v2/databases/metrics/credentials
. The result will be a JSON object with a credentials
key.
SELECT
column_anon
FROM digitalocean.databases.metrics_credentials
;