Skip to content

Commit bf98239

Browse files
committed
Modify the internet_accessible and instance_charge_prepaid fields to forceNew
1 parent ab3b7c4 commit bf98239

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

tencentcloud/services/tke/resource_tc_kubernetes_native_node_pool.go

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/docs/r/kubernetes_native_node_pool.html.markdown

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,17 @@ The `data_disks` object of `native` supports the following:
138138

139139
The `instance_charge_prepaid` object of `native` supports the following:
140140

141-
* `period` - (Required, Int) Postpaid billing cycle, unit (month): 1, 2, 3, 4, 5,, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
142-
* `renew_flag` - (Optional, String) Prepaid renewal method:
141+
* `period` - (Required, Int, ForceNew) Postpaid billing cycle, unit (month): 1, 2, 3, 4, 5,, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
142+
* `renew_flag` - (Optional, String, ForceNew) Prepaid renewal method:
143143
- `NOTIFY_AND_AUTO_RENEW`: Notify users of expiration and automatically renew (default).
144144
- `NOTIFY_AND_MANUAL_RENEW`: Notify users of expiration, but do not automatically renew.
145145
- `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Do not notify users of expiration and do not automatically renew.
146146

147147
The `internet_accessible` object of `native` supports the following:
148148

149-
* `charge_type` - (Required, String) Network billing method. Optional value is `TRAFFIC_POSTPAID_BY_HOUR`, `BANDWIDTH_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
150-
* `max_bandwidth_out` - (Required, Int) Maximum bandwidth output. Note: When chargeType is `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_POSTPAID_BY_HOUR`, the valid range is 1~100. When chargeType is `BANDWIDTH_PACKAG`, the valid range is 1~2000.
151-
* `bandwidth_package_id` - (Optional, String) Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
149+
* `charge_type` - (Required, String, ForceNew) Network billing method. Optional value is `TRAFFIC_POSTPAID_BY_HOUR`, `BANDWIDTH_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
150+
* `max_bandwidth_out` - (Required, Int, ForceNew) Maximum bandwidth output. Note: When chargeType is `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_POSTPAID_BY_HOUR`, the valid range is 1~100. When chargeType is `BANDWIDTH_PACKAG`, the valid range is 1~2000.
151+
* `bandwidth_package_id` - (Optional, String, ForceNew) Bandwidth package ID. Note: When ChargeType is BANDWIDTH_PACKAG, the value cannot be empty; otherwise, the value must be empty.
152152

153153
The `labels` object supports the following:
154154

@@ -178,8 +178,8 @@ The `native` object supports the following:
178178
* `enable_autoscaling` - (Optional, Bool) Whether to enable elastic scaling.
179179
* `health_check_policy_name` - (Optional, String) Fault self-healing rule name.
180180
* `host_name_pattern` - (Optional, String) Native node pool hostName pattern string.
181-
* `instance_charge_prepaid` - (Optional, List) Billing configuration for yearly and monthly models.
182-
* `internet_accessible` - (Optional, List) Public network bandwidth settings.
181+
* `instance_charge_prepaid` - (Optional, List, ForceNew) Billing configuration for yearly and monthly models.
182+
* `internet_accessible` - (Optional, List, ForceNew) Public network bandwidth settings.
183183
* `key_ids` - (Optional, List) Node pool ssh public key id array.
184184
* `kubelet_args` - (Optional, List) Kubelet custom parameters.
185185
* `lifecycle` - (Optional, List) Predefined scripts.

0 commit comments

Comments
 (0)