Skip to content

Commit a99f9cf

Browse files
authored
fix(mongodb): [128905435] tencentcloud_mongodb_instance update doc (#3623)
* add * add
1 parent e244a29 commit a99f9cf

File tree

6 files changed

+27
-6
lines changed

6 files changed

+27
-6
lines changed

.changelog/3623.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_mongodb_instance: update doc
3+
```

tencentcloud/provider.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,6 +1582,8 @@ func Provider() *schema.Provider {
15821582
"tencentcloud_mongodb_instance_transparent_data_encryption": mongodb.ResourceTencentCloudMongodbInstanceTransparentDataEncryption(),
15831583
"tencentcloud_mongodb_instance_backup_rule": mongodb.ResourceTencentCloudMongodbInstanceBackupRule(),
15841584
"tencentcloud_mongodb_instance_params": mongodb.ResourceTencentCloudMongodbInstanceParams(),
1585+
"tencentcloud_mongodb_standby_instance": mongodb.ResourceTencentCloudMongodbStandbyInstance(),
1586+
"tencentcloud_mongodb_readonly_instance": mongodb.ResourceTencentCloudMongodbReadOnlyInstance(),
15851587
"tencentcloud_dayu_cc_http_policy": dayu.ResourceTencentCloudDayuCCHttpPolicy(),
15861588
"tencentcloud_dayu_cc_https_policy": dayu.ResourceTencentCloudDayuCCHttpsPolicy(),
15871589
"tencentcloud_dayu_ddos_policy": dayu.ResourceTencentCloudDayuDdosPolicy(),
@@ -1695,8 +1697,6 @@ func Provider() *schema.Provider {
16951697
"tencentcloud_monitor_grafana_sso_cam_config": tcmg.ResourceTencentCloudMonitorGrafanaSsoCamConfig(),
16961698
"tencentcloud_monitor_grafana_sso_config": tcmg.ResourceTencentCloudMonitorGrafanaSsoConfig(),
16971699
"tencentcloud_monitor_grafana_version_upgrade": tcmg.ResourceTencentCloudMonitorGrafanaVersionUpgrade(),
1698-
"tencentcloud_mongodb_standby_instance": mongodb.ResourceTencentCloudMongodbStandbyInstance(),
1699-
"tencentcloud_mongodb_readonly_instance": mongodb.ResourceTencentCloudMongodbReadOnlyInstance(),
17001700
"tencentcloud_elasticsearch_instance": es.ResourceTencentCloudElasticsearchInstance(),
17011701
"tencentcloud_elasticsearch_security_group": es.ResourceTencentCloudElasticsearchSecurityGroup(),
17021702
"tencentcloud_elasticsearch_logstash": es.ResourceTencentCloudElasticsearchLogstash(),

tencentcloud/services/mongodb/extension_mongodb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func TencentMongodbBasicInfo() map[string]*schema.Schema {
9595
Type: schema.TypeString,
9696
Required: true,
9797
ForceNew: true,
98-
Description: "Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT` (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2 WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.",
98+
Description: "Refers to version information. The DescribeSpecInfo API can be called to obtain detailed information about the supported versions.\n- MONGO_40_WT: version of the MongoDB 4.0 WiredTiger storage engine.\n- MONGO_42_WT: version of the MongoDB 4.2 WiredTiger storage engine.\n- MONGO_44_WT: version of the MongoDB 4.4 WiredTiger storage engine.\n- MONGO_50_WT: version of the MongoDB 5.0 WiredTiger storage engine.\n- MONGO_60_WT: version of the MongoDB 6.0 WiredTiger storage engine.\n- MONGO_70_WT: version of the MongoDB 7.0 WiredTiger storage engine.",
9999
},
100100
"machine_type": {
101101
Type: schema.TypeString,

website/docs/r/mongodb_instance.html.markdown

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ resource "tencentcloud_mongodb_instance" "mongodb" {
3333
The following arguments are supported:
3434

3535
* `available_zone` - (Required, String, ForceNew) The available zone of the Mongodb.
36-
* `engine_version` - (Required, String, ForceNew) Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT` (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2 WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.
36+
* `engine_version` - (Required, String, ForceNew) Refers to version information. The DescribeSpecInfo API can be called to obtain detailed information about the supported versions.
37+
- MONGO_40_WT: version of the MongoDB 4.0 WiredTiger storage engine.
38+
- MONGO_42_WT: version of the MongoDB 4.2 WiredTiger storage engine.
39+
- MONGO_44_WT: version of the MongoDB 4.4 WiredTiger storage engine.
40+
- MONGO_50_WT: version of the MongoDB 5.0 WiredTiger storage engine.
41+
- MONGO_60_WT: version of the MongoDB 6.0 WiredTiger storage engine.
42+
- MONGO_70_WT: version of the MongoDB 7.0 WiredTiger storage engine.
3743
* `instance_name` - (Required, String) Name of the Mongodb instance.
3844
* `machine_type` - (Required, String, ForceNew) Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
3945
* `memory` - (Required, Int) Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.

website/docs/r/mongodb_readonly_instance.html.markdown

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,13 @@ The following arguments are supported:
6262

6363
* `available_zone` - (Required, String, ForceNew) The available zone of the Mongodb.
6464
* `cluster_type` - (Required, String, ForceNew) Instance schema type. - REPLSET: Replset cluster; - SHARD: Shard cluster.
65-
* `engine_version` - (Required, String, ForceNew) Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT` (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2 WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.
65+
* `engine_version` - (Required, String, ForceNew) Refers to version information. The DescribeSpecInfo API can be called to obtain detailed information about the supported versions.
66+
- MONGO_40_WT: version of the MongoDB 4.0 WiredTiger storage engine.
67+
- MONGO_42_WT: version of the MongoDB 4.2 WiredTiger storage engine.
68+
- MONGO_44_WT: version of the MongoDB 4.4 WiredTiger storage engine.
69+
- MONGO_50_WT: version of the MongoDB 5.0 WiredTiger storage engine.
70+
- MONGO_60_WT: version of the MongoDB 6.0 WiredTiger storage engine.
71+
- MONGO_70_WT: version of the MongoDB 7.0 WiredTiger storage engine.
6672
* `father_instance_id` - (Required, String, ForceNew) Indicates the main instance ID of readonly instances.
6773
* `father_instance_region` - (Required, String, ForceNew) Indicates the region of main instance.
6874
* `instance_name` - (Required, String) Name of the Mongodb instance.

website/docs/r/mongodb_sharding_instance.html.markdown

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ resource "tencentcloud_mongodb_sharding_instance" "mongodb" {
3838
The following arguments are supported:
3939

4040
* `available_zone` - (Required, String, ForceNew) The available zone of the Mongodb.
41-
* `engine_version` - (Required, String, ForceNew) Version of the Mongodb, and available values include `MONGO_36_WT` (MongoDB 3.6 WiredTiger Edition), `MONGO_40_WT` (MongoDB 4.0 WiredTiger Edition) and `MONGO_42_WT` (MongoDB 4.2 WiredTiger Edition). NOTE: `MONGO_3_WT` (MongoDB 3.2 WiredTiger Edition) and `MONGO_3_ROCKS` (MongoDB 3.2 RocksDB Edition) will deprecated.
41+
* `engine_version` - (Required, String, ForceNew) Refers to version information. The DescribeSpecInfo API can be called to obtain detailed information about the supported versions.
42+
- MONGO_40_WT: version of the MongoDB 4.0 WiredTiger storage engine.
43+
- MONGO_42_WT: version of the MongoDB 4.2 WiredTiger storage engine.
44+
- MONGO_44_WT: version of the MongoDB 4.4 WiredTiger storage engine.
45+
- MONGO_50_WT: version of the MongoDB 5.0 WiredTiger storage engine.
46+
- MONGO_60_WT: version of the MongoDB 6.0 WiredTiger storage engine.
47+
- MONGO_70_WT: version of the MongoDB 7.0 WiredTiger storage engine.
4248
* `instance_name` - (Required, String) Name of the Mongodb instance.
4349
* `machine_type` - (Required, String, ForceNew) Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
4450
* `memory` - (Required, Int) Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.

0 commit comments

Comments
 (0)