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: "Kafka version (0.10.2/1.1.1/2.4.1).",
129
139
},
130
-
"disk_size": {
131
-
Type: schema.TypeInt,
132
-
Optional: true,
133
-
Computed: true,
134
-
ForceNew: true,
135
-
Description: "Disk Size.",
136
-
},
137
140
"band_width": {
138
-
Type: schema.TypeInt,
139
-
Optional: true,
140
-
Computed: true,
141
-
ForceNew: true,
142
-
Description: "Instance bandwidth in Mbps.",
141
+
Type: schema.TypeInt,
142
+
Optional: true,
143
+
Computed: true,
144
+
ForceNew: true,
145
+
ValidateFunc: validateIntegerInRange(40, 1200),
146
+
Description: "Instance bandwidth in MBps. interval:40-1200.",
147
+
},
148
+
"disk_size": {
149
+
Type: schema.TypeInt,
150
+
Optional: true,
151
+
Computed: true,
152
+
ForceNew: true,
153
+
Description: "Disk Size. Its interval varies with bandwidth, and the input must be within the interval, which can be viewed through the control. "+
154
+
"If it is not within the interval, the plan will cause a change when first created.",
143
155
},
144
156
"partition": {
145
-
Type: schema.TypeInt,
146
-
Optional: true,
147
-
Computed: true,
148
-
ForceNew: true,
149
-
Description: "Partition size, the professional version does not need set.",
157
+
Type: schema.TypeInt,
158
+
Optional: true,
159
+
Computed: true,
160
+
ForceNew: true,
161
+
Description: "Partition Size. Its interval varies with bandwidth, and the input must be within the interval, which can be viewed through the control. "+
162
+
"If it is not within the interval, the plan will cause a change when first created.",
150
163
},
151
164
"multi_zone_flag": {
152
165
Type: schema.TypeBool,
@@ -484,16 +497,17 @@ func resourceTencentCloudCkafkaInstanceRead(d *schema.ResourceData, meta interfa
*`period` - (Required, ForceNew) Prepaid purchase time, such as 1, is one month.
49
59
*`subnet_id` - (Required, ForceNew) Subnet id.
50
60
*`vpc_id` - (Required, ForceNew) Vpc id.
51
61
*`zone_id` - (Required, ForceNew) Available zone id.
52
-
*`band_width` - (Optional, ForceNew) Instance bandwidth in Mbps.
62
+
*`band_width` - (Optional, ForceNew) Instance bandwidth in MBps. interval:40-1200.
53
63
*`config` - (Optional) Instance configuration.
54
-
*`disk_size` - (Optional, ForceNew) Disk Size.
64
+
*`disk_size` - (Optional, ForceNew) Disk Size. Its interval varies with bandwidth, and the input must be within the interval, which can be viewed through the control. If it is not within the interval, the plan will cause a change when first created.
*`kafka_version` - (Optional, ForceNew) Kafka version (0.10.2/1.1.1/2.4.1).
58
68
*`msg_retention_time` - (Optional) The maximum retention time of instance logs, in minutes. the default is 10080 (7 days), the maximum is 30 days, and the default 0 is not filled, which means that the log retention time recovery policy is not enabled.
59
69
*`multi_zone_flag` - (Optional, ForceNew) Indicates whether the instance is multi zones. NOTE: if set to `true`, `zone_ids` must set together.
60
-
*`partition` - (Optional, ForceNew) Partition size, the professional version does not need set.
70
+
*`partition` - (Optional, ForceNew) Partition Size. Its interval varies with bandwidth, and the input must be within the interval, which can be viewed through the control. If it is not within the interval, the plan will cause a change when first created.
71
+
*`period` - (Optional, ForceNew) Prepaid purchase time, such as 1, is one month.
61
72
*`public_network` - (Optional) Timestamp.
62
73
*`rebalance_time` - (Optional) Modification of the rebalancing time after upgrade.
63
74
*`renew_flag` - (Optional, ForceNew) Prepaid automatic renewal mark, 0 means the default state, the initial state, 1 means automatic renewal, 2 means clear no automatic renewal (user setting).
0 commit comments