Skip to content

Commit 6ebab8e

Browse files
authored
fix documentation issues (#135)
1 parent 7bf2536 commit 6ebab8e

File tree

2 files changed

+492
-489
lines changed

2 files changed

+492
-489
lines changed

docs/resources/cluster.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -615,13 +615,9 @@ resource "ybm_private_service_endpoint" "npsenonok-region" {
615615
- `backup_schedules` (Attributes List) (see [below for nested schema](#nestedatt--backup_schedules))
616616
- `cloud_type` (String) The cloud provider where the cluster is deployed: AWS, AZURE or GCP.
617617
- `cluster_allow_list_ids` (List of String) List of IDs of the allow lists assigned to the cluster.
618-
- `cluster_endpoints` (Map of String, Deprecated) The endpoints used to connect to the cluster.
619-
- `cluster_id` (String) The ID of the cluster. Created automatically when a cluster is created. Used to get a specific cluster.
620618
- `cmk_spec` (Attributes) KMS Provider Configuration. (see [below for nested schema](#nestedatt--cmk_spec))
621619
- `database_track` (String) The track of the database. Production or Innovation or Preview.
622-
- `desired_connection_pooling_state` (String) The desired connection pooling state of the cluster, Enabled or Disabled. This parameter can be used to enable/disable Connection Pooling
623620
- `desired_state` (String) The desired state of the database, Active or Paused. This parameter can be used to pause/resume a cluster.
624-
- `endpoints` (Attributes List) The endpoints used to connect to the cluster. (see [below for nested schema](#nestedatt--endpoints))
625621
- `fault_tolerance` (String) The fault tolerance of the cluster. NONE, NODE, ZONE or REGION.
626622
- `num_faults_to_tolerate` (Number) The number of domain faults the cluster can tolerate. 0 for NONE, 1 for ZONE and [1-3] for NODE and REGION
627623
- `restore_backup_id` (String) The ID of the backup to be restored to the cluster.
@@ -630,8 +626,11 @@ resource "ybm_private_service_endpoint" "npsenonok-region" {
630626

631627
- `account_id` (String) The ID of the account this cluster belongs to.
632628
- `cluster_certificate` (String) The certificate used to connect to the cluster.
629+
- `cluster_endpoints` (Map of String, Deprecated) The endpoints used to connect to the cluster.
630+
- `cluster_id` (String) The ID of the cluster. Created automatically when a cluster is created. Used to get a specific cluster.
633631
- `cluster_info` (Attributes) (see [below for nested schema](#nestedatt--cluster_info))
634632
- `cluster_version` (String)
633+
- `endpoints` (Attributes List) The endpoints used to connect to the cluster. (see [below for nested schema](#nestedatt--endpoints))
635634
- `project_id` (String) The ID of the project this cluster belongs to.
636635

637636
<a id="nestedatt--cluster_region_info"></a>
@@ -764,16 +763,6 @@ Optional:
764763

765764

766765

767-
<a id="nestedatt--endpoints"></a>
768-
### Nested Schema for `endpoints`
769-
770-
Optional:
771-
772-
- `accessibility_type` (String) The accessibility type of the endpoint. PUBLIC or PRIVATE.
773-
- `host` (String) The host of the endpoint.
774-
- `region` (String) The region of the endpoint.
775-
776-
777766
<a id="nestedatt--cluster_info"></a>
778767
### Nested Schema for `cluster_info`
779768

@@ -783,3 +772,13 @@ Read-Only:
783772
- `software_version` (String)
784773
- `state` (String)
785774
- `updated_time` (String)
775+
776+
777+
<a id="nestedatt--endpoints"></a>
778+
### Nested Schema for `endpoints`
779+
780+
Optional:
781+
782+
- `accessibility_type` (String) The accessibility type of the endpoint. PUBLIC or PRIVATE.
783+
- `host` (String) The host of the endpoint.
784+
- `region` (String) The region of the endpoint.

0 commit comments

Comments
 (0)