You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Refers to the category of the pre-modified network, including: `changeVip`: refers to switching the private network, including its intranet IPv4 address and port; `changeVpc`: refers to switching the subnet to which the private network belongs; `changeBaseToVpc`: refers to switching the basic network to a private network; `changeVPort`: refers to only modifying the instance network port.",
Description: "IP address of an instance. When the `operation_network` is `changeVip`, this parameter needs to be configured.",
184
181
},
185
-
186
182
"wait_switch": {
187
183
Type: schema.TypeInt,
188
184
Optional: true,
189
185
Description: "Switching mode: `1`-maintenance time window switching, `2`-immediate switching, default value `2`.",
190
186
},
191
-
187
+
"product_version": {
188
+
Type: schema.TypeString,
189
+
Optional: true,
190
+
Computed: true,
191
+
Description: "Specify the product version of the instance. `local`: Local disk version, `cloud`: Cloud disk version, `cdc`: Exclusive cluster version. Default is `local`.",
192
+
},
193
+
"redis_cluster_id": {
194
+
Type: schema.TypeString,
195
+
Optional: true,
196
+
Computed: true,
197
+
Description: "Exclusive cluster ID. When the `product_version` is set to `cdc`, this parameter must be set.",
198
+
},
192
199
"tags": {
193
200
Type: schema.TypeMap,
194
201
Optional: true,
195
202
//internal version: replace tagComputed begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
196
203
//internal version: replace tagComputed end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace clientCreate begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
277
286
//internal version: replace clientCreate end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
@@ -449,7 +474,10 @@ func resourceTencentCloudRedisInstanceCreate(d *schema.ResourceData, meta interf
449
474
autoRenewFlag,
450
475
replicasReadonly,
451
476
paramsTemplateId,
477
+
productVersion,
478
+
redisClusterId,
452
479
)
480
+
453
481
//internal version: replace varId begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
454
482
//internal version: replace varId end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
455
483
iferr!=nil {
@@ -476,6 +504,7 @@ func resourceTencentCloudRedisInstanceCreate(d *schema.ResourceData, meta interf
//internal version: replace queryAndSetId end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
481
510
@@ -582,6 +611,8 @@ func resourceTencentCloudRedisInstanceRead(d *schema.ResourceData, meta interfac
0 commit comments