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: "The availability zone to which the Hidden node belongs. This parameter must be configured to deploy instances across availability zones.",
125
125
},
126
+
"maintenance_start": {
127
+
Type: schema.TypeString,
128
+
Optional: true,
129
+
Computed: true,
130
+
Description: "Maintenance window start time. The value range is any full point or half point from `00:00-23:00`, such as 00:00 or 00:30.",
131
+
},
132
+
"maintenance_end": {
133
+
Type: schema.TypeString,
134
+
Optional: true,
135
+
Computed: true,
136
+
Description: "Maintenance window end time.\n"+
137
+
" - 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.\n"+
138
+
" - The end time must be based on the start time backwards.",
//internal version: replace begin begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
354
378
//internal version: replace begin end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
355
379
iftags:=helper.GetTags(d, "tags"); len(tags) >0 {
@@ -442,6 +466,8 @@ func resourceTencentCloudMongodbInstanceRead(d *schema.ResourceData, meta interf
Copy file name to clipboardExpand all lines: website/docs/r/mongodb_instance.html.markdown
+4Lines changed: 4 additions & 0 deletions
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 must be configured to deploy instances across availability zones.
50
+
*`maintenance_end` - (Optional, String) Maintenance window end time.
51
+
- 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
+
- The end time must be based on the start time backwards.
53
+
*`maintenance_start` - (Optional, String) Maintenance window start time. The value range is any full point or half point from `00:00-23:00`, such as 00:00 or 00:30.
50
54
*`node_num` - (Optional, Int) The number of nodes in each replica set. Default value: 3.
51
55
*`password` - (Optional, String) Password of this Mongodb account.
52
56
*`prepaid_period` - (Optional, Int) The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to `PREPAID`.
0 commit comments