1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CvmModifyInstanceDiskType
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.CvmModifyInstanceDiskType

Explore with Pulumi AI

Create CvmModifyInstanceDiskType Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new CvmModifyInstanceDiskType(name: string, args: CvmModifyInstanceDiskTypeArgs, opts?: CustomResourceOptions);
@overload
def CvmModifyInstanceDiskType(resource_name: str,
                              args: CvmModifyInstanceDiskTypeArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def CvmModifyInstanceDiskType(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              instance_id: Optional[str] = None,
                              cvm_modify_instance_disk_type_id: Optional[str] = None,
                              data_disks: Optional[Sequence[CvmModifyInstanceDiskTypeDataDiskArgs]] = None,
                              system_disk: Optional[CvmModifyInstanceDiskTypeSystemDiskArgs] = None)
func NewCvmModifyInstanceDiskType(ctx *Context, name string, args CvmModifyInstanceDiskTypeArgs, opts ...ResourceOption) (*CvmModifyInstanceDiskType, error)
public CvmModifyInstanceDiskType(string name, CvmModifyInstanceDiskTypeArgs args, CustomResourceOptions? opts = null)
public CvmModifyInstanceDiskType(String name, CvmModifyInstanceDiskTypeArgs args)
public CvmModifyInstanceDiskType(String name, CvmModifyInstanceDiskTypeArgs args, CustomResourceOptions options)
type: tencentcloud:CvmModifyInstanceDiskType
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CvmModifyInstanceDiskTypeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CvmModifyInstanceDiskTypeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CvmModifyInstanceDiskTypeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CvmModifyInstanceDiskTypeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CvmModifyInstanceDiskTypeArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CvmModifyInstanceDiskType Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The CvmModifyInstanceDiskType resource accepts the following input properties:

InstanceId This property is required. string
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
CvmModifyInstanceDiskTypeId string
DataDisks List<CvmModifyInstanceDiskTypeDataDisk>
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
SystemDisk CvmModifyInstanceDiskTypeSystemDisk
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
InstanceId This property is required. string
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
CvmModifyInstanceDiskTypeId string
DataDisks []CvmModifyInstanceDiskTypeDataDiskArgs
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
SystemDisk CvmModifyInstanceDiskTypeSystemDiskArgs
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
instanceId This property is required. String
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
cvmModifyInstanceDiskTypeId String
dataDisks List<CvmModifyInstanceDiskTypeDataDisk>
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
systemDisk CvmModifyInstanceDiskTypeSystemDisk
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
instanceId This property is required. string
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
cvmModifyInstanceDiskTypeId string
dataDisks CvmModifyInstanceDiskTypeDataDisk[]
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
systemDisk CvmModifyInstanceDiskTypeSystemDisk
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
instance_id This property is required. str
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
cvm_modify_instance_disk_type_id str
data_disks Sequence[CvmModifyInstanceDiskTypeDataDiskArgs]
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
system_disk CvmModifyInstanceDiskTypeSystemDiskArgs
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
instanceId This property is required. String
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
cvmModifyInstanceDiskTypeId String
dataDisks List<Property Map>
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
systemDisk Property Map
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.

Outputs

All input properties are implicitly available as output properties. Additionally, the CvmModifyInstanceDiskType resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing CvmModifyInstanceDiskType Resource

Get an existing CvmModifyInstanceDiskType resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: CvmModifyInstanceDiskTypeState, opts?: CustomResourceOptions): CvmModifyInstanceDiskType
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cvm_modify_instance_disk_type_id: Optional[str] = None,
        data_disks: Optional[Sequence[CvmModifyInstanceDiskTypeDataDiskArgs]] = None,
        instance_id: Optional[str] = None,
        system_disk: Optional[CvmModifyInstanceDiskTypeSystemDiskArgs] = None) -> CvmModifyInstanceDiskType
func GetCvmModifyInstanceDiskType(ctx *Context, name string, id IDInput, state *CvmModifyInstanceDiskTypeState, opts ...ResourceOption) (*CvmModifyInstanceDiskType, error)
public static CvmModifyInstanceDiskType Get(string name, Input<string> id, CvmModifyInstanceDiskTypeState? state, CustomResourceOptions? opts = null)
public static CvmModifyInstanceDiskType get(String name, Output<String> id, CvmModifyInstanceDiskTypeState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:CvmModifyInstanceDiskType    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CvmModifyInstanceDiskTypeId string
DataDisks List<CvmModifyInstanceDiskTypeDataDisk>
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
InstanceId string
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
SystemDisk CvmModifyInstanceDiskTypeSystemDisk
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
CvmModifyInstanceDiskTypeId string
DataDisks []CvmModifyInstanceDiskTypeDataDiskArgs
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
InstanceId string
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
SystemDisk CvmModifyInstanceDiskTypeSystemDiskArgs
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
cvmModifyInstanceDiskTypeId String
dataDisks List<CvmModifyInstanceDiskTypeDataDisk>
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
instanceId String
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
systemDisk CvmModifyInstanceDiskTypeSystemDisk
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
cvmModifyInstanceDiskTypeId string
dataDisks CvmModifyInstanceDiskTypeDataDisk[]
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
instanceId string
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
systemDisk CvmModifyInstanceDiskTypeSystemDisk
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
cvm_modify_instance_disk_type_id str
data_disks Sequence[CvmModifyInstanceDiskTypeDataDiskArgs]
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
instance_id str
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
system_disk CvmModifyInstanceDiskTypeSystemDiskArgs
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.
cvmModifyInstanceDiskTypeId String
dataDisks List<Property Map>
For instance data disk configuration information, you only need to specify the media type of the target cloud disk to be converted, and specify the value of DiskType. Currently, only one data disk conversion is supported. The CdcId parameter is only supported for instances of the CDHPAID type.
instanceId String
Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
systemDisk Property Map
For instance system disk configuration information, you only need to specify the nature type of the target cloud disk to be converted, and specify the value of DiskType. Only CDHPAID type instances are supported to specify Cd.

Supporting Types

CvmModifyInstanceDiskTypeDataDisk
, CvmModifyInstanceDiskTypeDataDiskArgs

DiskSize This property is required. double
Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type. The default value is 0, indicating that no data disk is purchased. For more information, see the product documentation.
CdcId string
ID of the dedicated cluster to which the instance belongs.
DeleteWithInstance bool
Whether to terminate the data disk when its CVM is terminated. Valid values:

  • TRUE: terminate the data disk when its CVM is terminated. This value only supports pay-as-you-go cloud disks billed on an hourly basis.
  • FALSE: retain the data disk when its CVM is terminated. Default value: TRUE.
DiskId string
Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
DiskType string
Data disk type. Valid values:

  • LOCAL_BASIC: local hard disk;
  • LOCAL_SSD: local SSD hard disk;
  • LOCAL_NVME: local NVME hard disk, which is strongly related to InstanceType and cannot be specified;
  • LOCAL_PRO: local HDD hard disk, which is strongly related to InstanceType and cannot be specified;
  • CLOUD_BASIC: ordinary cloud disk;
  • CLOUD_PREMIUM: high-performance cloud disk;
  • CLOUD_SSD:SSD cloud disk;
  • CLOUD_HSSD: enhanced SSD cloud disk;
  • CLOUD_TSSD: extremely fast SSD cloud disk;
  • CLOUD_BSSD: general-purpose SSD cloud disk; Default value: LOCAL_BASIC.
Encrypt bool
Specifies whether the data disk is encrypted. Valid values:

  • TRUE: encrypted
  • FALSE: not encrypted Default value: FALSE.
KmsKeyId string
ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
SnapshotId string
Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
ThroughputPerformance double
Cloud disk performance, in MB/s.
DiskSize This property is required. float64
Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type. The default value is 0, indicating that no data disk is purchased. For more information, see the product documentation.
CdcId string
ID of the dedicated cluster to which the instance belongs.
DeleteWithInstance bool
Whether to terminate the data disk when its CVM is terminated. Valid values:

  • TRUE: terminate the data disk when its CVM is terminated. This value only supports pay-as-you-go cloud disks billed on an hourly basis.
  • FALSE: retain the data disk when its CVM is terminated. Default value: TRUE.
DiskId string
Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
DiskType string
Data disk type. Valid values:

  • LOCAL_BASIC: local hard disk;
  • LOCAL_SSD: local SSD hard disk;
  • LOCAL_NVME: local NVME hard disk, which is strongly related to InstanceType and cannot be specified;
  • LOCAL_PRO: local HDD hard disk, which is strongly related to InstanceType and cannot be specified;
  • CLOUD_BASIC: ordinary cloud disk;
  • CLOUD_PREMIUM: high-performance cloud disk;
  • CLOUD_SSD:SSD cloud disk;
  • CLOUD_HSSD: enhanced SSD cloud disk;
  • CLOUD_TSSD: extremely fast SSD cloud disk;
  • CLOUD_BSSD: general-purpose SSD cloud disk; Default value: LOCAL_BASIC.
Encrypt bool
Specifies whether the data disk is encrypted. Valid values:

  • TRUE: encrypted
  • FALSE: not encrypted Default value: FALSE.
KmsKeyId string
ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
SnapshotId string
Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
ThroughputPerformance float64
Cloud disk performance, in MB/s.
diskSize This property is required. Double
Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type. The default value is 0, indicating that no data disk is purchased. For more information, see the product documentation.
cdcId String
ID of the dedicated cluster to which the instance belongs.
deleteWithInstance Boolean
Whether to terminate the data disk when its CVM is terminated. Valid values:

  • TRUE: terminate the data disk when its CVM is terminated. This value only supports pay-as-you-go cloud disks billed on an hourly basis.
  • FALSE: retain the data disk when its CVM is terminated. Default value: TRUE.
diskId String
Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
diskType String
Data disk type. Valid values:

  • LOCAL_BASIC: local hard disk;
  • LOCAL_SSD: local SSD hard disk;
  • LOCAL_NVME: local NVME hard disk, which is strongly related to InstanceType and cannot be specified;
  • LOCAL_PRO: local HDD hard disk, which is strongly related to InstanceType and cannot be specified;
  • CLOUD_BASIC: ordinary cloud disk;
  • CLOUD_PREMIUM: high-performance cloud disk;
  • CLOUD_SSD:SSD cloud disk;
  • CLOUD_HSSD: enhanced SSD cloud disk;
  • CLOUD_TSSD: extremely fast SSD cloud disk;
  • CLOUD_BSSD: general-purpose SSD cloud disk; Default value: LOCAL_BASIC.
encrypt Boolean
Specifies whether the data disk is encrypted. Valid values:

  • TRUE: encrypted
  • FALSE: not encrypted Default value: FALSE.
kmsKeyId String
ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
snapshotId String
Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
throughputPerformance Double
Cloud disk performance, in MB/s.
diskSize This property is required. number
Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type. The default value is 0, indicating that no data disk is purchased. For more information, see the product documentation.
cdcId string
ID of the dedicated cluster to which the instance belongs.
deleteWithInstance boolean
Whether to terminate the data disk when its CVM is terminated. Valid values:

  • TRUE: terminate the data disk when its CVM is terminated. This value only supports pay-as-you-go cloud disks billed on an hourly basis.
  • FALSE: retain the data disk when its CVM is terminated. Default value: TRUE.
diskId string
Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
diskType string
Data disk type. Valid values:

  • LOCAL_BASIC: local hard disk;
  • LOCAL_SSD: local SSD hard disk;
  • LOCAL_NVME: local NVME hard disk, which is strongly related to InstanceType and cannot be specified;
  • LOCAL_PRO: local HDD hard disk, which is strongly related to InstanceType and cannot be specified;
  • CLOUD_BASIC: ordinary cloud disk;
  • CLOUD_PREMIUM: high-performance cloud disk;
  • CLOUD_SSD:SSD cloud disk;
  • CLOUD_HSSD: enhanced SSD cloud disk;
  • CLOUD_TSSD: extremely fast SSD cloud disk;
  • CLOUD_BSSD: general-purpose SSD cloud disk; Default value: LOCAL_BASIC.
encrypt boolean
Specifies whether the data disk is encrypted. Valid values:

  • TRUE: encrypted
  • FALSE: not encrypted Default value: FALSE.
kmsKeyId string
ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
snapshotId string
Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
throughputPerformance number
Cloud disk performance, in MB/s.
disk_size This property is required. float
Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type. The default value is 0, indicating that no data disk is purchased. For more information, see the product documentation.
cdc_id str
ID of the dedicated cluster to which the instance belongs.
delete_with_instance bool
Whether to terminate the data disk when its CVM is terminated. Valid values:

  • TRUE: terminate the data disk when its CVM is terminated. This value only supports pay-as-you-go cloud disks billed on an hourly basis.
  • FALSE: retain the data disk when its CVM is terminated. Default value: TRUE.
disk_id str
Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
disk_type str
Data disk type. Valid values:

  • LOCAL_BASIC: local hard disk;
  • LOCAL_SSD: local SSD hard disk;
  • LOCAL_NVME: local NVME hard disk, which is strongly related to InstanceType and cannot be specified;
  • LOCAL_PRO: local HDD hard disk, which is strongly related to InstanceType and cannot be specified;
  • CLOUD_BASIC: ordinary cloud disk;
  • CLOUD_PREMIUM: high-performance cloud disk;
  • CLOUD_SSD:SSD cloud disk;
  • CLOUD_HSSD: enhanced SSD cloud disk;
  • CLOUD_TSSD: extremely fast SSD cloud disk;
  • CLOUD_BSSD: general-purpose SSD cloud disk; Default value: LOCAL_BASIC.
encrypt bool
Specifies whether the data disk is encrypted. Valid values:

  • TRUE: encrypted
  • FALSE: not encrypted Default value: FALSE.
kms_key_id str
ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
snapshot_id str
Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
throughput_performance float
Cloud disk performance, in MB/s.
diskSize This property is required. Number
Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type. The default value is 0, indicating that no data disk is purchased. For more information, see the product documentation.
cdcId String
ID of the dedicated cluster to which the instance belongs.
deleteWithInstance Boolean
Whether to terminate the data disk when its CVM is terminated. Valid values:

  • TRUE: terminate the data disk when its CVM is terminated. This value only supports pay-as-you-go cloud disks billed on an hourly basis.
  • FALSE: retain the data disk when its CVM is terminated. Default value: TRUE.
diskId String
Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
diskType String
Data disk type. Valid values:

  • LOCAL_BASIC: local hard disk;
  • LOCAL_SSD: local SSD hard disk;
  • LOCAL_NVME: local NVME hard disk, which is strongly related to InstanceType and cannot be specified;
  • LOCAL_PRO: local HDD hard disk, which is strongly related to InstanceType and cannot be specified;
  • CLOUD_BASIC: ordinary cloud disk;
  • CLOUD_PREMIUM: high-performance cloud disk;
  • CLOUD_SSD:SSD cloud disk;
  • CLOUD_HSSD: enhanced SSD cloud disk;
  • CLOUD_TSSD: extremely fast SSD cloud disk;
  • CLOUD_BSSD: general-purpose SSD cloud disk; Default value: LOCAL_BASIC.
encrypt Boolean
Specifies whether the data disk is encrypted. Valid values:

  • TRUE: encrypted
  • FALSE: not encrypted Default value: FALSE.
kmsKeyId String
ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
snapshotId String
Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
throughputPerformance Number
Cloud disk performance, in MB/s.

CvmModifyInstanceDiskTypeSystemDisk
, CvmModifyInstanceDiskTypeSystemDiskArgs

CdcId string
ID of the dedicated cluster to which the instance belongs.
DiskId string
System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter.
DiskSize double
System disk size; unit: GB; default value: 50 GB.
DiskType string
System disk type. Valid values:- LOCAL_BASIC: local disk

  • LOCAL_SSD: local SSD disk
  • CLOUD_BASIC: ordinary cloud disk
  • CLOUD_SSD: SSD cloud disk
  • CLOUD_PREMIUM: Premium cloud storage
  • CLOUD_BSSD: Balanced SSD The disk currently in stock will be used by default.
CdcId string
ID of the dedicated cluster to which the instance belongs.
DiskId string
System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter.
DiskSize float64
System disk size; unit: GB; default value: 50 GB.
DiskType string
System disk type. Valid values:- LOCAL_BASIC: local disk

  • LOCAL_SSD: local SSD disk
  • CLOUD_BASIC: ordinary cloud disk
  • CLOUD_SSD: SSD cloud disk
  • CLOUD_PREMIUM: Premium cloud storage
  • CLOUD_BSSD: Balanced SSD The disk currently in stock will be used by default.
cdcId String
ID of the dedicated cluster to which the instance belongs.
diskId String
System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter.
diskSize Double
System disk size; unit: GB; default value: 50 GB.
diskType String
System disk type. Valid values:- LOCAL_BASIC: local disk

  • LOCAL_SSD: local SSD disk
  • CLOUD_BASIC: ordinary cloud disk
  • CLOUD_SSD: SSD cloud disk
  • CLOUD_PREMIUM: Premium cloud storage
  • CLOUD_BSSD: Balanced SSD The disk currently in stock will be used by default.
cdcId string
ID of the dedicated cluster to which the instance belongs.
diskId string
System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter.
diskSize number
System disk size; unit: GB; default value: 50 GB.
diskType string
System disk type. Valid values:- LOCAL_BASIC: local disk

  • LOCAL_SSD: local SSD disk
  • CLOUD_BASIC: ordinary cloud disk
  • CLOUD_SSD: SSD cloud disk
  • CLOUD_PREMIUM: Premium cloud storage
  • CLOUD_BSSD: Balanced SSD The disk currently in stock will be used by default.
cdc_id str
ID of the dedicated cluster to which the instance belongs.
disk_id str
System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter.
disk_size float
System disk size; unit: GB; default value: 50 GB.
disk_type str
System disk type. Valid values:- LOCAL_BASIC: local disk

  • LOCAL_SSD: local SSD disk
  • CLOUD_BASIC: ordinary cloud disk
  • CLOUD_SSD: SSD cloud disk
  • CLOUD_PREMIUM: Premium cloud storage
  • CLOUD_BSSD: Balanced SSD The disk currently in stock will be used by default.
cdcId String
ID of the dedicated cluster to which the instance belongs.
diskId String
System disk ID. System disks whose type is LOCAL_BASIC or LOCAL_SSD do not have an ID and do not support this parameter.
diskSize Number
System disk size; unit: GB; default value: 50 GB.
diskType String
System disk type. Valid values:- LOCAL_BASIC: local disk

  • LOCAL_SSD: local SSD disk
  • CLOUD_BASIC: ordinary cloud disk
  • CLOUD_SSD: SSD cloud disk
  • CLOUD_PREMIUM: Premium cloud storage
  • CLOUD_BSSD: Balanced SSD The disk currently in stock will be used by default.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.