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 string
- The unique name of the resource.
- args CvmModifyInstanceDiskTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args CvmModifyInstanceDiskTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CvmModifyInstanceDiskTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- Instance
Id string - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- Cvm
Modify stringInstance Disk Type Id - Data
Disks List<CvmModify Instance Disk Type Data Disk> - 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 CvmModify Instance Disk Type System Disk - 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 string - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- Cvm
Modify stringInstance Disk Type Id - Data
Disks []CvmModify Instance Disk Type Data Disk Args - 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 CvmModify Instance Disk Type System Disk Args - 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 String - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- cvm
Modify StringInstance Disk Type Id - data
Disks List<CvmModify Instance Disk Type Data Disk> - 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 CvmModify Instance Disk Type System Disk - 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 string - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- cvm
Modify stringInstance Disk Type Id - data
Disks CvmModify Instance Disk Type Data Disk[] - 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 CvmModify Instance Disk Type System Disk - 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 str - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- cvm_
modify_ strinstance_ disk_ type_ id - data_
disks Sequence[CvmModify Instance Disk Type Data Disk Args] - 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 CvmModify Instance Disk Type System Disk Args - 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 String - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- cvm
Modify StringInstance Disk Type Id - data
Disks 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.
- system
Disk 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Cvm
Modify stringInstance Disk Type Id - Data
Disks List<CvmModify Instance Disk Type Data Disk> - 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 string - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- System
Disk CvmModify Instance Disk Type System Disk - 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 stringInstance Disk Type Id - Data
Disks []CvmModify Instance Disk Type Data Disk Args - 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 string - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- System
Disk CvmModify Instance Disk Type System Disk Args - 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 StringInstance Disk Type Id - data
Disks List<CvmModify Instance Disk Type Data Disk> - 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 String - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- system
Disk CvmModify Instance Disk Type System Disk - 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 stringInstance Disk Type Id - data
Disks CvmModify Instance Disk Type Data Disk[] - 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 string - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- system
Disk CvmModify Instance Disk Type System Disk - 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_ strinstance_ disk_ type_ id - data_
disks Sequence[CvmModify Instance Disk Type Data Disk Args] - 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 CvmModify Instance Disk Type System Disk Args - 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 StringInstance Disk Type Id - data
Disks 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.
- instance
Id String - Instance ID. To obtain the instance IDs, you can call DescribeInstances and look for InstanceId in the response.
- system
Disk 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
- Disk
Size 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.
- Cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- Delete
With boolInstance - 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 string - Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
- Disk
Type 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.
- Kms
Key stringId - ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
- Snapshot
Id string - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
- Throughput
Performance double - Cloud disk performance, in MB/s.
- Disk
Size 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.
- Cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- Delete
With boolInstance - 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 string - Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
- Disk
Type 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.
- Kms
Key stringId - ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
- Snapshot
Id string - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
- Throughput
Performance float64 - Cloud disk performance, in MB/s.
- disk
Size 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.
- cdc
Id String - ID of the dedicated cluster to which the instance belongs.
- delete
With BooleanInstance - 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 String - Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
- disk
Type 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.
- kms
Key StringId - ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
- snapshot
Id String - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
- throughput
Performance Double - Cloud disk performance, in MB/s.
- disk
Size 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.
- cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- delete
With booleanInstance - 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 string - Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
- disk
Type 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.
- kms
Key stringId - ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
- snapshot
Id string - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
- throughput
Performance number - Cloud disk performance, in MB/s.
- disk_
size 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_ boolinstance - 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_ strid - 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.
- disk
Size 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.
- cdc
Id String - ID of the dedicated cluster to which the instance belongs.
- delete
With BooleanInstance - 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 String - Data disk ID. Note that it's not available for LOCAL_BASIC and LOCAL_SSD disks.
- disk
Type 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.
- kms
Key StringId - ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
- snapshot
Id String - Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
- throughput
Performance Number - Cloud disk performance, in MB/s.
CvmModifyInstanceDiskTypeSystemDisk, CvmModifyInstanceDiskTypeSystemDiskArgs
- Cdc
Id string - ID of the dedicated cluster to which the instance belongs.
- Disk
Id 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.
- Disk
Size double - System disk size; unit: GB; default value: 50 GB.
- Disk
Type 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 string - ID of the dedicated cluster to which the instance belongs.
- Disk
Id 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.
- Disk
Size float64 - System disk size; unit: GB; default value: 50 GB.
- Disk
Type 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 String - ID of the dedicated cluster to which the instance belongs.
- disk
Id 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.
- disk
Size Double - System disk size; unit: GB; default value: 50 GB.
- disk
Type 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 string - ID of the dedicated cluster to which the instance belongs.
- disk
Id 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.
- disk
Size number - System disk size; unit: GB; default value: 50 GB.
- disk
Type 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.
- cdc
Id String - ID of the dedicated cluster to which the instance belongs.
- disk
Id 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.
- disk
Size Number - System disk size; unit: GB; default value: 50 GB.
- disk
Type 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.