public static class DescribeInstanceModificationPriceRequest.DescribeInstanceModificationPriceRequestDataDisk
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
category
The category of data disk.
|
String |
performanceLevel
The performance level of data disk N that is an enhanced SSD (ESSD).
|
Integer |
size
The capacity of data disk.
|
构造器和说明 |
---|
DescribeInstanceModificationPriceRequestDataDisk() |
@NameInMap(value="Category") public String category
The category of data disk. You can specify this parameter if you want to query the pricing information about newly attached subscription data disks. Valid values:
* cloud_efficiency: ultra disk
* cloud_ssd: standard SSD
* cloud_essd: ESSD
* cloud: basic disk
This parameter is empty by default.
> When you call the DescribeInstanceModificationPrice operation, you must specify at least one of the following parameters: `InstanceType` and `DataDisk.N.*`.
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of data disk N that is an enhanced SSD (ESSD). The N value must be the same as that in `DataDisk.N.Category` when DataDisk.N.Category is set to cloud_essd. Valid values:
* PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
* PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
* PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
* PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
Default value: PL1.
For more information about ESSD performance levels, see [ESSDs](~~122389~~).
@NameInMap(value="Size") public Integer size
The capacity of data disk. Unit: GiB. Valid values:
* Valid values when Category is set to cloud_efficiency: 20 to 32768.
* Valid values when Category is set to cloud_ssd: 20 to 32768.
* Valid values when Category is set to cloud_essd: depend on the `DataDisk.N.PerformanceLevel` value.
* Valid values when PerformanceLevel is set to PL0: 40 to 32768.
* Valid values when PerformanceLevel is set to PL1: 20 to 32768.
* Valid values when PerformanceLevel is set to PL2: 461 to 32768.
* Valid values when PerformanceLevel is set to PL3: 1261 to 32768.
* Valid values when Category is set to cloud: 5 to 2000.
The default value is the minimum capacity allowed for the specified data disk category.
public DescribeInstanceModificationPriceRequestDataDisk()
public static DescribeInstanceModificationPriceRequest.DescribeInstanceModificationPriceRequestDataDisk build(Map<String,?> map) throws Exception
Exception
public DescribeInstanceModificationPriceRequest.DescribeInstanceModificationPriceRequestDataDisk setCategory(String category)
public String getCategory()
public DescribeInstanceModificationPriceRequest.DescribeInstanceModificationPriceRequestDataDisk setPerformanceLevel(String performanceLevel)
public String getPerformanceLevel()
public DescribeInstanceModificationPriceRequest.DescribeInstanceModificationPriceRequestDataDisk setSize(Integer size)
public Integer getSize()
Copyright © 2023. All rights reserved.