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: "Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and `1` for creation.",
202
202
},
203
+
"in_maintenance": {
204
+
Type: schema.TypeInt,
205
+
Optional: true,
206
+
Description: "Switch time for instance configuration changes.\n"+
207
+
" - 0: When the adjustment is completed, perform the configuration task immediately. Default is 0.\n"+
208
+
" - 1: Perform reconfiguration tasks within the maintenance time window.\n"+
209
+
"Note: Adjusting the number of nodes and slices does not support changes within the maintenance window.",
returnresource.RetryableError(fmt.Errorf("[CRITAL] updating mongodb sharding instance, current memory and volume values: %d, %d, waiting for them becoming new value: %d, %d", memoryDes, volumeDes, d.Get("memory").(int), d.Get("volume").(int)))
returnresource.RetryableError(fmt.Errorf("[CRITAL] updating mongodb sharding instance, current memory and volume values: %d, %d, waiting for them becoming new value: %d, %d", memoryDes, volumeDes, d.Get("memory").(int), d.Get("volume").(int)))
Copy file name to clipboardExpand all lines: website/docs/r/mongodb_instance.html.markdown
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,10 @@ The following arguments are supported:
47
47
- Basic network cannot be selected.
48
48
*`charge_type` - (Optional, String, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will delete old instances and create new one with new charge type.
49
49
*`hidden_zone` - (Optional, String) The availability zone to which the Hidden node belongs. This parameter is required in cross-AZ instance deployment.
50
+
*`in_maintenance` - (Optional, Int) Switch time for instance configuration changes.
51
+
- 0: When the adjustment is completed, perform the configuration task immediately. Default is 0.
52
+
- 1: Perform reconfiguration tasks within the maintenance time window.
53
+
Note: Adjusting the number of nodes and slices does not support changes within the maintenance window.
50
54
*`maintenance_end` - (Optional, String) Maintenance window end time.
51
55
- The value range is any full point or half point from `00:00-23:00`, and the maintenance time duration is at least 30 minutes and at most 3 hours.
52
56
- The end time must be based on the start time backwards.
Copy file name to clipboardExpand all lines: website/docs/r/mongodb_readonly_instance.html.markdown
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,10 @@ The following arguments are supported:
71
71
*`volume` - (Required, Int) Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
72
72
*`auto_renew_flag` - (Optional, Int) Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and `1` for creation.
73
73
*`charge_type` - (Optional, String, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will delete old instances and create new one with new charge type.
74
+
*`in_maintenance` - (Optional, Int) Switch time for instance configuration changes.
75
+
- 0: When the adjustment is completed, perform the configuration task immediately. Default is 0.
76
+
- 1: Perform reconfiguration tasks within the maintenance time window.
77
+
Note: Adjusting the number of nodes and slices does not support changes within the maintenance window.
74
78
*`mongos_cpu` - (Optional, Int) Number of mongos cpu.
75
79
*`mongos_memory` - (Optional, Int) Mongos memory size in GB.
76
80
*`mongos_node_num` - (Optional, Int) Number of mongos.
Copy file name to clipboardExpand all lines: website/docs/r/mongodb_sharding_instance.html.markdown
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,10 @@ The following arguments are supported:
53
53
- Basic network cannot be selected.
54
54
*`charge_type` - (Optional, String, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will delete old instances and create new one with new charge type.
55
55
*`hidden_zone` - (Optional, String) The availability zone to which the Hidden node belongs. This parameter is required in cross-AZ instance deployment.
56
+
*`in_maintenance` - (Optional, Int) Switch time for instance configuration changes.
57
+
- 0: When the adjustment is completed, perform the configuration task immediately. Default is 0.
58
+
- 1: Perform reconfiguration tasks within the maintenance time window.
59
+
Note: Adjusting the number of nodes and slices does not support changes within the maintenance window.
56
60
*`mongos_cpu` - (Optional, Int) Number of mongos cpu.
57
61
*`mongos_memory` - (Optional, Int) Mongos memory size in GB.
58
62
*`mongos_node_num` - (Optional, Int) Number of mongos.
0 commit comments