Skip to content

Commit 484b1d7

Browse files
authored
system support bssd (#1253)
1 parent f05f60c commit 484b1d7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

tencentcloud/extension_cvm.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const (
3030
CVM_DISK_TYPE_CLOUD_BASIC = "CLOUD_BASIC"
3131
CVM_DISK_TYPE_CLOUD_SSD = "CLOUD_SSD"
3232
CVM_DISK_TYPE_CLOUD_PREMIUM = "CLOUD_PREMIUM"
33+
CVM_DISK_TYPE_CLOUD_BSSD = "CLOUD_BSSD"
3334

3435
CVM_PLACEMENT_GROUP_TYPE_HOST = "HOST"
3536
CVM_PLACEMENT_GROUP_TYPE_SW = "SW"
@@ -97,6 +98,7 @@ var CVM_DISK_TYPE = []string{
9798
CVM_DISK_TYPE_CLOUD_BASIC,
9899
CVM_DISK_TYPE_CLOUD_SSD,
99100
CVM_DISK_TYPE_CLOUD_PREMIUM,
101+
CVM_DISK_TYPE_CLOUD_BSSD,
100102
}
101103

102104
var CVM_PLACEMENT_GROUP_TYPE = []string{

tencentcloud/resource_tc_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ func resourceTencentCloudInstance() *schema.Resource {
337337
Optional: true,
338338
Default: CVM_DISK_TYPE_CLOUD_PREMIUM,
339339
ValidateFunc: validateAllowedStringValue(CVM_DISK_TYPE),
340-
Description: "System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: 1. `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated; 2. If modified, the instance may force stop.",
340+
Description: "System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage, `CLOUD_BSSD`: Basic SSD. NOTE: 1. `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated; 2. If modified, the instance may force stop.",
341341
},
342342
"system_disk_size": {
343343
Type: schema.TypeInt,

website/docs/r/instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ The following arguments are supported:
173173
* `subnet_id` - (Optional, String) The ID of a VPC subnet. If you want to create instances in a VPC network, this parameter must be set.
174174
* `system_disk_id` - (Optional, String) System disk snapshot ID used to initialize the system disk. When system disk type is `LOCAL_BASIC` and `LOCAL_SSD`, disk id is not supported.
175175
* `system_disk_size` - (Optional, Int) Size of the system disk. Valid value ranges: (50~1000). and unit is GB. Default is 50GB. If modified, the instance may force stop.
176-
* `system_disk_type` - (Optional, String) System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: 1. `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated; 2. If modified, the instance may force stop.
176+
* `system_disk_type` - (Optional, String) System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage, `CLOUD_BSSD`: Basic SSD. NOTE: 1. `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated; 2. If modified, the instance may force stop.
177177
* `tags` - (Optional, Map) A mapping of tags to assign to the resource. For tag limits, please refer to [Use Limits](https://intl.cloud.tencent.com/document/product/651/13354).
178178
* `user_data_raw` - (Optional, String, ForceNew) The user data to be injected into this instance, in plain text. Conflicts with `user_data`. Up to 16 KB after base64 encoded.
179179
* `user_data` - (Optional, String, ForceNew) The user data to be injected into this instance. Must be base64 encoded and up to 16 KB.

0 commit comments

Comments
 (0)