Skip to content

Commit d7f9e6d

Browse files
authored
Merge pull request #317 from lpatte/database-doc-improve
improve cloud_project_database doc
2 parents f3dee58 + a2871a0 commit d7f9e6d

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

ovh/resource_cloud_project_database.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func resourceCloudProjectDatabase() *schema.Resource {
6868
Schema: map[string]*schema.Schema{
6969
"network_id": {
7070
Type: schema.TypeString,
71-
Description: "Private network ID in which the node is",
71+
Description: "Private network ID in which the node is. It's the regional openstackId of the private network.",
7272
ForceNew: true,
7373
Optional: true,
7474
},

website/docs/d/cloud_project_database.html.markdown

+9-5
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The following attributes are exported:
4646
* `service_name` - See Argument Reference above.
4747
* `backup_time` - Time on which backups start every day.
4848
* `created_at` - Date of the creation of the cluster.
49-
* `description` - See Argument Reference above.
49+
* `description` - Small description of the database service.
5050
* `endpoints` - List of all endpoints objects of the service.
5151
* `component` - Type of component the URI relates to.
5252
* `domain` - Domain of the cluster.
@@ -57,10 +57,14 @@ The following attributes are exported:
5757
* `ssl_mode` - SSL mode used to connect to the service if the SSL is enabled.
5858
* `uri` - URI of the endpoint.
5959
* `engine` - See Argument Reference above.
60-
* `flavor` - See Argument Reference above.
60+
* `flavor` - A valid OVHcloud public cloud database flavor name in which the nodes will be started.
61+
* `kafka_rest_api` - Defines whether the REST API is enabled on a kafka cluster.
6162
* `maintenance_time` - Time on which maintenances can start every day.
6263
* `network_type` - Type of network of the cluster.
63-
* `nodes` - See Argument Reference above.
64-
* `plan` - See Argument Reference above.
64+
* `nodes` - List of nodes object.
65+
* `network_id` - Private network id in which the node should be deployed. It's the regional openstackId of the private network
66+
* `region` - Public cloud region in which the node should be deployed.
67+
* `subnet_id` - Private subnet ID in which the node is.
68+
* `plan` - Plan of the cluster.
6569
* `status` - Current status of the cluster.
66-
* `version` - See Argument Reference above.
70+
* `version` - The version of the engine in which the service should be deployed

website/docs/r/cloud_project_database.html.markdown

+5-2
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,14 @@ The following arguments are supported:
200200

201201
* `nodes` - (Required, Minimum Items: 1) List of nodes object.
202202
Multi region cluster are not yet available, all node should be identical.
203-
* `network_id` - (Optional, Forces new resource) Private network id in which the node should be deployed.
203+
* `network_id` - (Optional, Forces new resource) Private network id in which the node should be deployed. It's the regional openstackId of the private network
204204
* `region` - (Required, Forces new resource) Public cloud region in which the node should be deployed.
205205
Ex: "GRA'.
206206
* `subnet_id` - (Optional, Forces new resource) Private subnet ID in which the node is.
207207

208208
* `opensearch_acls_enabled` - (Optional) Defines whether the ACLs are enabled on an OpenSearch cluster
209209

210-
* `plan` - (Required) List of nodes object.
210+
* `plan` - (Required) Plan of the cluster.
211211
Enum: "essential", "business", "enterprise".
212212

213213
* `version` - (Required) The version of the engine in which the service should be deployed
@@ -236,6 +236,9 @@ The following attributes are exported:
236236
* `maintenance_time` - Time on which maintenances can start every day.
237237
* `network_type` - Type of network of the cluster.
238238
* `nodes` - See Argument Reference above.
239+
* `network_id` - See Argument Reference above.
240+
* `region` - See Argument Reference above.
241+
* `subnet_id` - See Argument Reference above.
239242
* `opensearch_acls_enabled` - See Argument Reference above.
240243
* `plan` - See Argument Reference above.
241244
* `status` - Current status of the cluster.

0 commit comments

Comments
 (0)