public static class CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
burstingEnabled
Specifies whether to enable the performance burst feature for data disk N.
|
String |
category
The category of data disk N.
|
Boolean |
deleteWithInstance
Specifies whether to release data disk N when the instance to which the data disk is attached is released.
|
String |
description
The description of data disk N.
|
String |
device
The mount point of data disk N.
|
String |
diskName
The name of data disk N.
|
String |
encryptAlgorithm
This parameter is not publicly available.
|
Boolean |
encrypted
Specifies whether to encrypt data disk N.
|
String |
kmsKeyId
The ID of the Key Management Service (KMS) key to use for data disk N.
|
String |
performanceLevel
The performance level of the Enterprise SSD (ESSD) to use as data disk N.
|
Long |
provisionedIops
The provisioned read/write IOPS of the ESSD AutoPL disk to use as data disk N.
|
Integer |
size
The size of data disk N.
|
String |
snapshotId
The ID of the snapshot to use to create data disk N.
|
构造器和说明 |
---|
CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk() |
@NameInMap(value="BurstingEnabled") public Boolean burstingEnabled
Specifies whether to enable the performance burst feature for data disk N. Valid values:
example:This parameter is available only if you set LaunchConfiguration.DataDisk.N.Category to cloud_auto. For more information, see ESSD AutoPL disks.
false
@NameInMap(value="Category") public String category
The category of data disk N. Valid values of N: 1 to 16. Valid values:
For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:cloud_ssd
@NameInMap(value="DeleteWithInstance") public Boolean deleteWithInstance
Specifies whether to release data disk N when the instance to which the data disk is attached is released. Valid values:
Default value: true.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:true
@NameInMap(value="Description") public String description
The description of data disk N. The description must be 2 to 256 characters in length and cannot start with http://
or https://
. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
DataDisk_Description
@NameInMap(value="Device") public String device
The mount point of data disk N. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:/dev/vd1
@NameInMap(value="DiskName") public String diskName
The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http://
or https://
. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
This parameter is left empty by default.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:cloud_ssdData
@NameInMap(value="EncryptAlgorithm") public String encryptAlgorithm
example:This parameter is not publicly available.
null
@NameInMap(value="Encrypted") public Boolean encrypted
Specifies whether to encrypt data disk N. Valid values:
Default value: false.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:false
@NameInMap(value="KmsKeyId") public String kmsKeyId
The ID of the Key Management Service (KMS) key to use for data disk N. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:0e478b7a-4262-4802-b8cb-00d3fb40****
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of the Enterprise SSD (ESSD) to use as data disk N. The value of N in this parameter must be the same as the value of N in LaunchConfiguration.DataDisk.N.Category
. Valid values:
For more information about ESSD performance levels, see ESSDs.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:PL1
@NameInMap(value="ProvisionedIops") public Long provisionedIops
The provisioned read/write IOPS of the ESSD AutoPL disk to use as data disk N. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
example:This parameter is available only if you set LaunchConfiguration.DataDisk.N.Category to cloud_auto. For more information, see ESSD AutoPL disks.
40000
@NameInMap(value="Size") public Integer size
The size of data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:
Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_efficiency: 20 to 32768.
Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_ssd: 20 to 32768.
Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_essd: vary based on the LaunchConfiguration.DataDisk.N.PerformanceLevel
value.
Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud: 5 to 2000.
The value of this parameter must be greater than or equal to the size of the snapshot specified by
LaunchConfiguration.DataDisk.N.SnapshotId
.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:20
@NameInMap(value="SnapshotId") public String snapshotId
The ID of the snapshot to use to create data disk N. Valid values of N: 1 to 16.
If you specify this parameter, LaunchConfiguration.DataDisk.N.Size
is ignored. The size of data disk N is the same as that of the snapshot specified by this parameter. Use snapshots created after July 15, 2013. Otherwise, an error is returned and your request is rejected.
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
example:s-bp17441ohwka0yuh****
public CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk()
public static CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk build(Map<String,?> map) throws Exception
Exception
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setBurstingEnabled(Boolean burstingEnabled)
public Boolean getBurstingEnabled()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setCategory(String category)
public String getCategory()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setDeleteWithInstance(Boolean deleteWithInstance)
public Boolean getDeleteWithInstance()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setDescription(String description)
public String getDescription()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setDevice(String device)
public String getDevice()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setDiskName(String diskName)
public String getDiskName()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setEncryptAlgorithm(String encryptAlgorithm)
public String getEncryptAlgorithm()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setEncrypted(Boolean encrypted)
public Boolean getEncrypted()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setKmsKeyId(String kmsKeyId)
public String getKmsKeyId()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setPerformanceLevel(String performanceLevel)
public String getPerformanceLevel()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setProvisionedIops(Long provisionedIops)
public Long getProvisionedIops()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setSize(Integer size)
public Integer getSize()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk setSnapshotId(String snapshotId)
public String getSnapshotId()
Copyright © 2024. All rights reserved.