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: "AddressType. Default value: WanIP. For beta users of dedicated IP. the value can be: HighQualityEIP: Dedicated IP. Note that dedicated IPs are only available in partial regions. For beta users of Anti-DDoS IP, the value can be: AntiDDoSEIP: Anti-DDoS EIP. Note that Anti-DDoS IPs are only available in partial regions.",
Description: "IPv6 AddressType. Default value: WanIP. EIPv6: Elastic IPv6; HighQualityEIPv6: Premium IPv6, only China Hong Kong supports premium IPv6. To allocate IPv6 addresses to resources, please specify the Elastic IPv6 type.",
215
+
},
216
+
"ipv6_address_count": {
217
+
Type: schema.TypeInt,
218
+
Optional: true,
219
+
ForceNew: true,
220
+
Computed: true,
221
+
Description: "Specify the number of randomly generated IPv6 addresses for the Elastic Network Interface.",
Description: "The instance launch template version number. If given, a new instance launch template will be created based on the given version number.",
480
495
},
496
+
"release_address": {
497
+
Type: schema.TypeBool,
498
+
Optional: true,
499
+
Description: "Release elastic IP. Under EIP 2.0, only the first EIP under the primary network card is provided, and the EIP types are limited to HighQualityEIP, AntiDDoSEIP, EIPv6, and HighQualityEIPv6. Default behavior is not released.",
500
+
},
481
501
// Computed values.
482
502
"instance_status": {
483
503
Type: schema.TypeString,
@@ -674,6 +694,11 @@ func resourceTencentCloudInstanceCreate(d *schema.ResourceData, meta interface{}
Copy file name to clipboardExpand all lines: website/docs/r/instance.html.markdown
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -320,6 +320,8 @@ The following arguments are supported:
320
320
*`internet_charge_type` - (Optional, String) Internet charge type of the instance, Valid values are `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `BANDWIDTH_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`. If not set, internet charge type are consistent with the cvm charge type by default. This value takes NO Effect when changing and does not need to be set when `allocate_public_ip` is false.
321
321
*`internet_max_bandwidth_out` - (Optional, Int) Maximum outgoing bandwidth to the public network, measured in Mbps (Mega bits per second). This value does not need to be set when `allocate_public_ip` is false.
322
322
*`ipv4_address_type` - (Optional, String, ForceNew) AddressType. Default value: WanIP. For beta users of dedicated IP. the value can be: HighQualityEIP: Dedicated IP. Note that dedicated IPs are only available in partial regions. For beta users of Anti-DDoS IP, the value can be: AntiDDoSEIP: Anti-DDoS EIP. Note that Anti-DDoS IPs are only available in partial regions.
323
+
*`ipv6_address_count` - (Optional, Int, ForceNew) Specify the number of randomly generated IPv6 addresses for the Elastic Network Interface.
324
+
*`ipv6_address_type` - (Optional, String, ForceNew) IPv6 AddressType. Default value: WanIP. EIPv6: Elastic IPv6; HighQualityEIPv6: Premium IPv6, only China Hong Kong supports premium IPv6. To allocate IPv6 addresses to resources, please specify the Elastic IPv6 type.
323
325
*`keep_image_login` - (Optional, Bool) Whether to keep image login or not, default is `false`. When the image type is private or shared or imported, this parameter can be set `true`. Modifications may lead to the reinstallation of the instance's operating system..
324
326
*`key_ids` - (Optional, Set: [`String`]) The key pair to use for the instance, it looks like `skey-16jig7tx`. Modifications may lead to the reinstallation of the instance's operating system.
325
327
*`key_name` - (Optional, String, **Deprecated**) Please use `key_ids` instead. The key pair to use for the instance, it looks like `skey-16jig7tx`. Modifications may lead to the reinstallation of the instance's operating system.
@@ -330,6 +332,7 @@ The following arguments are supported:
330
332
*`placement_group_id` - (Optional, String) The ID of a placement group.
331
333
*`private_ip` - (Optional, String) The private IP to be assigned to this instance, must be in the provided subnet and available.
332
334
*`project_id` - (Optional, Int) The project the instance belongs to, default to 0.
335
+
*`release_address` - (Optional, Bool) Release elastic IP. Under EIP 2.0, only the first EIP under the primary network card is provided, and the EIP types are limited to HighQualityEIP, AntiDDoSEIP, EIPv6, and HighQualityEIPv6. Default behavior is not released.
333
336
*`running_flag` - (Optional, Bool) Set instance to running or stop. Default value is true, the instance will shutdown when this flag is false.
334
337
*`security_groups` - (Optional, Set: [`String`], **Deprecated**) It will be deprecated. Use `orderly_security_groups` instead. A list of security group IDs to associate with.
335
338
*`spot_instance_type` - (Optional, String) Type of spot instance, only support `ONE-TIME` now. Note: it only works when instance_charge_type is set to `SPOTPAID`.
0 commit comments