Skip to main content

metrics_credentials

Creates, updates, deletes, gets or lists a metrics_credentials resource.

Overview

Namemetrics_credentials
TypeResource
Iddigitalocean.databases.metrics_credentials

Fields

NameDatatypeDescription
column_anon``

Methods

NameAccessible byRequired ParamsDescription
databases_get_cluster_metrics_credentialsSELECTTo 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_credentialsEXECTo 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
;