public static class DescribePriceRequest.DescribePriceRequestDataDisk
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
category
The category of data disk N.
|
String |
performanceLevel
The performance level of data disk N when the disk is an ESSD.
|
Long |
size
The size of data disk N.
|
构造器和说明 |
---|
DescribePriceRequestDataDisk() |
限定符和类型 | 方法和说明 |
---|---|
static DescribePriceRequest.DescribePriceRequestDataDisk |
build(Map<String,?> map) |
String |
getCategory() |
String |
getPerformanceLevel() |
Long |
getSize() |
DescribePriceRequest.DescribePriceRequestDataDisk |
setCategory(String category) |
DescribePriceRequest.DescribePriceRequestDataDisk |
setPerformanceLevel(String performanceLevel) |
DescribePriceRequest.DescribePriceRequestDataDisk |
setSize(Long size) |
@NameInMap(value="Category") public String category
The category of data disk N. Valid values:
* cloud: basic disk
* cloud_efficiency: ultra disk
* cloud_ssd: standard SSD
* ephemeral_ssd: local SSD
* cloud_essd: ESSD
Valid values of N: 1 to 16.
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of data disk N when the disk is an ESSD. This parameter is valid only when the `DataDisk.N.Category` parameter is set to cloud_essd. Default value: PL1. Valid values:
* PL0
* PL1
* PL2
* PL3
Valid values of N: 1 to 16.
@NameInMap(value="Size") public Long size
The size of data disk N. Unit: GiB. Valid values:
* Valid values if you set DataDisk.N.Category to cloud: 5 to 2000.
* Valid values if you set DataDisk.N.Category to cloud_efficiency: 20 to 32768.
* Valid values when DataDisk.N.Category is set to cloud_ssd: 20 to 32768.
* Valid values when DataDisk.N.Category is set to cloud_essd: depend on the `DataDisk.N.PerformanceLevel` value.
* Valid values when DataDisk.N.PerformanceLevel is set to PL0: 40 to 32768.
* Valid values when DataDisk.N.PerformanceLevel is set to PL1: 20 to 32768.
* Valid values when DataDisk.N.PerformanceLevel is set to PL2: 461 to 32768.
* Valid values when DataDisk.N.PerformanceLevel is set to PL3: 1261 to 32768.
* Valid values when DataDisk.N.Category is set to ephemeral_ssd: 5 to 800.
Valid values of N: 1 to 16.
public static DescribePriceRequest.DescribePriceRequestDataDisk build(Map<String,?> map) throws Exception
Exception
public DescribePriceRequest.DescribePriceRequestDataDisk setCategory(String category)
public String getCategory()
public DescribePriceRequest.DescribePriceRequestDataDisk setPerformanceLevel(String performanceLevel)
public String getPerformanceLevel()
public DescribePriceRequest.DescribePriceRequestDataDisk setSize(Long size)
public Long getSize()
Copyright © 2023. All rights reserved.