diff --git a/website/docs/d/dbaas_configuration_parameter_v1.html.markdown b/website/docs/d/dbaas_configuration_parameter_v1.html.markdown index 48f56fb0..025c9fa0 100644 --- a/website/docs/d/dbaas_configuration_parameter_v1.html.markdown +++ b/website/docs/d/dbaas_configuration_parameter_v1.html.markdown @@ -8,7 +8,7 @@ description: |- # selectel\_dbaas\_configuration_parameter_v1 -Provides a list of configuration parameters available for Managed Databases. For more information about configuration parameters, see the official Selectel documentation for [PostgreSQL](https://docs.selectel.ru/cloud/managed-databases/postgresql/settings/), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/settings-1c/), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/settings/), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/settings/), [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/settings/), and [Redis](https://docs.selectel.ru/cloud/managed-databases/redis/eviction-policy/). +Provides a list of configuration parameters available for Managed Databases. For more information about configuration parameters, see the official Selectel documentation for [PostgreSQL](https://docs.selectel.ru/cloud/managed-databases/postgresql/settings/), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/settings-1c/), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/settings/), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/settings/), [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/settings/), [Redis](https://docs.selectel.ru/cloud/managed-databases/redis/eviction-policy/), and [Kafka](https://docs.selectel.ru/cloud/managed-databases/kafka/settings/). ## Example Usage diff --git a/website/docs/d/dbaas_datastore_type_v1.html.markdown b/website/docs/d/dbaas_datastore_type_v1.html.markdown index a9f9f562..04be5b2d 100644 --- a/website/docs/d/dbaas_datastore_type_v1.html.markdown +++ b/website/docs/d/dbaas_datastore_type_v1.html.markdown @@ -52,7 +52,7 @@ data "selectel_dbaas_datastore_type_v1" "dt" { ## Example Usage for MySQL semi-sync ```hcl -data "selectel_dbaas_datastore_type_v1" "dt" { +data "selectel_dbaas_datastore_type_v1" "datastore_type_1" { project_id = selectel_vpc_project_v2.project_1.id region = "ru-3" filter { @@ -65,7 +65,7 @@ data "selectel_dbaas_datastore_type_v1" "dt" { ## Example Usage for MySQL sync ```hcl -data "selectel_dbaas_datastore_type_v1" "dt" { +data "selectel_dbaas_datastore_type_v1" "datastore_type_1" { project_id = selectel_vpc_project_v2.project_1.id region = "ru-3" filter { @@ -78,7 +78,7 @@ data "selectel_dbaas_datastore_type_v1" "dt" { ## Example Usage for Redis ```hcl -data "selectel_dbaas_datastore_type_v1" "dt" { +data "selectel_dbaas_datastore_type_v1" "datastore_type_1" { project_id = selectel_vpc_project_v2.project_1.id region = "ru-3" filter { @@ -88,6 +88,19 @@ data "selectel_dbaas_datastore_type_v1" "dt" { } ``` +## Example Usage for Kafka + +```hcl +data "selectel_dbaas_datastore_type_v1" "datastore_type_1" { + project_id = selectel_vpc_project_v2.project_1.id + region = "ru-3" + filter { + engine = "kafka" + version = "3.5" + } +} +``` + ## Argument Reference * `project_id` - (Required) Unique identifier of the associated Cloud Platform project. Retrieved from the [selectel_vpc_project_v2](https://registry.terraform.io/providers/selectel/selectel/latest/docs/resources/vpc_project_v2) resource. Learn more about [Cloud Platform projects](https://docs.selectel.ru/cloud/servers/about/projects/). diff --git a/website/docs/d/dbaas_flavor_v1.html.markdown b/website/docs/d/dbaas_flavor_v1.html.markdown index 27fbf72e..9740d299 100644 --- a/website/docs/d/dbaas_flavor_v1.html.markdown +++ b/website/docs/d/dbaas_flavor_v1.html.markdown @@ -8,7 +8,7 @@ description: |- # selectel\_dbaas\_flavors_v1 -Provides a list of flavors available in Managed Databases. For more information about available configurations, see the official Selectel documentation for [PostgreSQL](https://docs.selectel.ru/cloud/managed-databases/postgresql/configurations/), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/configurations-1c/), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/configurations/), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/configurations/), [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/configurations/), and [Redis](https://docs.selectel.ru/cloud/managed-databases/redis/configurations/). +Provides a list of flavors available in Managed Databases. For more information about available configurations, see the official Selectel documentation for [PostgreSQL](https://docs.selectel.ru/cloud/managed-databases/postgresql/configurations/), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/configurations-1c/), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/configurations/), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/configurations/), [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/configurations/), [Redis](https://docs.selectel.ru/cloud/managed-databases/redis/configurations/), and [Kafka](https://docs.selectel.ru/cloud/managed-databases/kafka/configurations/). ## Example Usage diff --git a/website/docs/d/dbaas_prometheus_metric_token_v1.html.markdown b/website/docs/d/dbaas_prometheus_metric_token_v1.html.markdown index 1ee75160..2b69a321 100644 --- a/website/docs/d/dbaas_prometheus_metric_token_v1.html.markdown +++ b/website/docs/d/dbaas_prometheus_metric_token_v1.html.markdown @@ -8,7 +8,7 @@ description: |- # selectel\_dbaas\_prometheus_metric_token_v1 -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](https://docs.selectel.ru/cloud/managed-databases/postgresql/monitoring/#экспортировать-метрики-в-формате-prometheus), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/monitoring-1c/#экспортировать-метрики-в-формате-prometheus), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/monitoring/#экспортировать-метрики-в-формате-prometheus), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/monitoring/#экспортировать-метрики-в-формате-prometheus), [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/monitoring/#экспортировать-метрики-в-формате-prometheus), and [Redis](https://docs.selectel.ru/cloud/managed-databases/redis/monitoring/#экспортировать-метрики-в-формате-prometheus). +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](https://docs.selectel.ru/cloud/managed-databases/postgresql/monitoring/#export-metrics-in-prometheus-format), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/monitoring-1c/#export-metrics-in-prometheus-format), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/monitoring/#export-metrics-in-prometheus-format), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/monitoring/#export-metrics-in-prometheus-format), [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/monitoring/#export-metrics-in-prometheus-format), [Redis](https://docs.selectel.ru/cloud/managed-databases/redis/monitoring/#export-metrics-in-prometheus-format), and [Kafka](https://docs.selectel.ru/cloud/managed-databases/kafka/monitoring/#export-metrics-in-prometheus-format). ## Example Usage diff --git a/website/docs/r/dbaas_grant_v1.html.markdown b/website/docs/r/dbaas_grant_v1.html.markdown index c7e75840..033908ed 100644 --- a/website/docs/r/dbaas_grant_v1.html.markdown +++ b/website/docs/r/dbaas_grant_v1.html.markdown @@ -8,7 +8,7 @@ description: |- # selectel\_dbaas\_grant\_v1 -Grants privileges to the users in Managed Databases using public API v1. Not applicable to Redis. Learn more about Managed Databases in the [official Selectel documentation](https://docs.selectel.ru/cloud/managed-databases/). +Grants privileges to the users in Managed Databases using public API v1. Not applicable to Redis and Kafka. Learn more about Managed Databases in the [official Selectel documentation](https://docs.selectel.ru/cloud/managed-databases/). ## Example usage diff --git a/website/docs/r/dbaas_kafka_acl_v1.html.markdown.md b/website/docs/r/dbaas_kafka_acl_v1.html.markdown similarity index 100% rename from website/docs/r/dbaas_kafka_acl_v1.html.markdown.md rename to website/docs/r/dbaas_kafka_acl_v1.html.markdown diff --git a/website/docs/r/dbaas_kafka_datastore_v1.html.markdown.md b/website/docs/r/dbaas_kafka_datastore_v1.html.markdown similarity index 100% rename from website/docs/r/dbaas_kafka_datastore_v1.html.markdown.md rename to website/docs/r/dbaas_kafka_datastore_v1.html.markdown diff --git a/website/docs/r/dbaas_kafka_topic_v1.html.markdown b/website/docs/r/dbaas_kafka_topic_v1.html.markdown index 2e484848..9f54c49e 100644 --- a/website/docs/r/dbaas_kafka_topic_v1.html.markdown +++ b/website/docs/r/dbaas_kafka_topic_v1.html.markdown @@ -28,7 +28,7 @@ resource "selectel_dbaas_kafka_topic_v1" "topic_1" { * `partitions` - (Required) Number of partitions in a topic. The available range is from 1 to 4 000. You cannot increase the number of partitions in the existing topic. Learn more about [Partitions](https://docs.selectel.ru/cloud/managed-databases/kafka/manage-topics/#partitions) -* `project_id` - (Required) Unique identifier of the associated Cloud Platform project. Changing this creates a new user. Retrieved from the [selectel_vpc_project_v2](https://registry.terraform.io/providers/selectel/selectel/latest/docs/resources/vpc_project_v2) resource. Learn more about [Cloud Platform projects](https://docs.selectel.ru/cloud/managed-databases/about/projects/). +* `project_id` - (Required) Unique identifier of the associated Cloud Platform project. Changing this creates a new topic. Retrieved from the [selectel_vpc_project_v2](https://registry.terraform.io/providers/selectel/selectel/latest/docs/resources/vpc_project_v2) resource. Learn more about [Cloud Platform projects](https://docs.selectel.ru/cloud/managed-databases/about/projects/). * `region` - (Required) Pool where the database is located, for example, `ru-3`. Changing this creates a new topic. Learn more about available pools in the [Availability matrix](https://docs.selectel.ru/control-panel-actions/availability-matrix/#managed-databases). @@ -63,4 +63,4 @@ where: * `` — Pool where the cluster is located, for example, `ru-3`. To get information about the pool, in the [Control panel](https://my.selectel.ru/vpc/dbaas/), go to **Cloud Platform** ⟶ **Managed Databases**. The pool is in the **Pool** column. -* `` — Unique identifier of the user, for example, `b311ce58-2658-46b5-b733-7a0f418703f2`. To get the user ID in the [Control panel](https://my.selectel.ru/vpc/dbaas/), go to **Cloud Platform** ⟶ **Managed Databases** ⟶ the cluster page ⟶ the **Users** tab. The user ID is under the user name. \ No newline at end of file +* `` — Unique identifier of the topic, for example, `b311ce58-2658-46b5-b733-7a0f418703f2`. To get the topic ID in the [Control panel](https://my.selectel.ru/vpc/dbaas/), go to **Cloud Platform** ⟶ **Managed Databases** ⟶ the cluster page ⟶ the **Topics** tab. The topic ID is under the topic name. \ No newline at end of file diff --git a/website/docs/r/dbaas_prometheus_metric_token_v1.html.markdown b/website/docs/r/dbaas_prometheus_metric_token_v1.html.markdown index a1704b54..eb0c45c4 100644 --- a/website/docs/r/dbaas_prometheus_metric_token_v1.html.markdown +++ b/website/docs/r/dbaas_prometheus_metric_token_v1.html.markdown @@ -8,7 +8,7 @@ description: |- # selectel\_dbaas\_prometheus_metric_token_v1 -Creates and manages tokens required to get access to the metrics in the Prometheus format using public API v1. For more information about export of Prometheus metrics, see the official Selectel documentation for [PostgreSQL](https://docs.selectel.ru/cloud/managed-databases/postgresql/monitoring/#экспортировать-метрики-в-формате-prometheus), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/monitoring-1c/#экспортировать-метрики-в-формате-prometheus), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/monitoring/#экспортировать-метрики-в-формате-prometheus), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/monitoring/#экспортировать-метрики-в-формате-prometheus), [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/monitoring/#экспортировать-метрики-в-формате-prometheus), and [Redis](https://docs.selectel.ru/cloud/managed-databases/redis/monitoring/#экспортировать-метрики-в-формате-prometheus). +Creates and manages tokens required to get access to the metrics in the Prometheus format using public API v1. For more information about export of Prometheus metrics, see the official Selectel documentation for [PostgreSQL](https://docs.selectel.ru/cloud/managed-databases/postgresql/monitoring/#export-metrics-in-prometheus-format), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/monitoring-1c/#export-metrics-in-prometheus-format), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/monitoring/#export-metrics-in-prometheus-format), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/monitoring/#export-metrics-in-prometheus-format), [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/monitoring/#export-metrics-in-prometheus-format), [Redis](https://docs.selectel.ru/cloud/managed-databases/redis/monitoring/#export-metrics-in-prometheus-format) and [Kafka](https://docs.selectel.ru/cloud/managed-databases/kafka/monitoring/#export-metrics-in-prometheus-format). ## Example Usage diff --git a/website/docs/r/dbaas_user_v1.html.markdown b/website/docs/r/dbaas_user_v1.html.markdown index 5ff3cdfa..582cd077 100644 --- a/website/docs/r/dbaas_user_v1.html.markdown +++ b/website/docs/r/dbaas_user_v1.html.markdown @@ -8,7 +8,7 @@ description: |- # selectel\_dbaas\_user\_v1 -Creates and manages a user in Managed Databases using public API v1. Not applicable to Redis. For more information about managing users in Managed Databases, see the official Selectel documentation for [PostgreSQL](https://docs.selectel.ru/cloud/managed-databases/postgresql/manage-users/), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/manage-users-1c/), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/manage-users/), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/manage-users/), and [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/manage-users/). +Creates and manages a user in Managed Databases using public API v1. Not applicable to Redis. For more information about managing users in Managed Databases, see the official Selectel documentation for [PostgreSQL](https://docs.selectel.ru/cloud/managed-databases/postgresql/manage-users/), [PostgreSQL for 1C](https://docs.selectel.ru/cloud/managed-databases/postgresql-for-1c/manage-users-1c/), [PostgreSQL TimescaleDB](https://docs.selectel.ru/cloud/managed-databases/timescaledb/manage-users/), [MySQL semi-sync](https://docs.selectel.ru/cloud/managed-databases/mysql-semi-sync/manage-users/), [MySQL sync](https://docs.selectel.ru/cloud/managed-databases/mysql-sync/manage-users/), and [Kafka](https://docs.selectel.ru/cloud/managed-databases/kafka/manage-users/). ## Example usage @@ -36,6 +36,18 @@ resource "selectel_dbaas_user_v1" "user_1" { } ``` +### Kafka + +```hcl +resource "selectel_dbaas_user_v1" "user_1" { + project_id = selectel_vpc_project_v2.project_1.id + region = "ru-3" + datastore_id = selectel_dbaas_kafka_datastore_v1.datastore_1.id + name = "user" + password = "secret" +} +``` + ## Argument Reference * `name` - (Required, Sensitive) User name. Changing this creates a new user.