selectel_dbaas_prometheus_metric_token_v1
Эта инструкция — копия документации Selectel Terraform-провайдера в Terraform Registry.
Provides a list of tokens for Prometheus available in Managed Databases. For more information about tokens for Prometheus, see the official Selectel documentation for PostgreSQL, PostgreSQL for 1C, PostgreSQL TimescaleDB, MySQL semi-sync, MySQL sync, Redis, and Kafka.
Example Usage
data "selectel_dbaas_prometheus_metric_token_v1" "token_1" {
project_id = selectel_vpc_project_v2.project_1.id
region = "ru-3"
}
Argument Reference
-
project_id
— (Required) Unique identifier of the associated project. Retrieved from the selectel_vpc_project_v2 resource. Learn more about Projects. -
region
— (Required) Pool where the database is located, for example,ru-3
. Learn more about available pools in the Availability matrix.
Attributes Reference
-
prometheus_metrics_tokens
— List of tokens for Prometheus.-
id
— Unique identifier of the token. -
created_at
— Time when the token was created. -
updated_at
— Time when the token was updated. -
project_id
— Unique identifier of the associated project. Learn more about Projects. -
name
— Token name. -
value
— Token value.
-