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 number of nodes in each replica set. Default value: 3.",
71
+
},
72
+
"availability_zone_list": {
73
+
Type: schema.TypeList,
74
+
Optional: true,
75
+
Computed: true,
76
+
Elem: &schema.Schema{
77
+
Type: schema.TypeString,
78
+
},
79
+
RequiredWith: []string{"hidden_zone"},
80
+
Description: `A list of nodes deployed in multiple availability zones. For more information, please use the API DescribeSpecInfo.
81
+
- Multi-availability zone deployment nodes can only be deployed in 3 different availability zones. It is not supported to deploy most nodes of the cluster in the same availability zone. For example, a 3-node cluster does not support the deployment of 2 nodes in the same zone.
82
+
- Version 4.2 and above are not supported.
83
+
- Read-only disaster recovery instances are not supported.
84
+
- Basic network cannot be selected.`,
85
+
},
86
+
"hidden_zone": {
87
+
Type: schema.TypeString,
88
+
Optional: true,
89
+
Computed: true,
90
+
RequiredWith: []string{"availability_zone_list"},
91
+
Description: "The availability zone to which the Hidden node belongs. This parameter must be configured to deploy instances across availability zones.",
@@ -39,7 +39,14 @@ The following arguments are supported:
39
39
*`memory` - (Required, Int) Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
40
40
*`volume` - (Required, Int) Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
41
41
*`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.
42
+
*`availability_zone_list` - (Optional, List: [`String`]) A list of nodes deployed in multiple availability zones. For more information, please use the API DescribeSpecInfo.
43
+
- Multi-availability zone deployment nodes can only be deployed in 3 different availability zones. It is not supported to deploy most nodes of the cluster in the same availability zone. For example, a 3-node cluster does not support the deployment of 2 nodes in the same zone.
44
+
- Version 4.2 and above are not supported.
45
+
- Read-only disaster recovery instances are not supported.
46
+
- Basic network cannot be selected.
42
47
*`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.
48
+
*`hidden_zone` - (Optional, String) The availability zone to which the Hidden node belongs. This parameter must be configured to deploy instances across availability zones.
49
+
*`node_num` - (Optional, Int) The number of nodes in each replica set. Default value: 3.
43
50
*`password` - (Optional, String) Password of this Mongodb account.
44
51
*`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`.
45
52
*`project_id` - (Optional, Int) ID of the project which the instance belongs.
0 commit comments