public static class DescribePriceRequest.DescribePriceRequestSystemDisk
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
category
The category of the system disk.
|
String |
performanceLevel
The performance level of the system disk when the disk is an ESSD.
|
Integer |
size
The size of the system disk.
|
构造器和说明 |
---|
DescribePriceRequestSystemDisk() |
限定符和类型 | 方法和说明 |
---|---|
static DescribePriceRequest.DescribePriceRequestSystemDisk |
build(Map<String,?> map) |
String |
getCategory() |
String |
getPerformanceLevel() |
Integer |
getSize() |
DescribePriceRequest.DescribePriceRequestSystemDisk |
setCategory(String category) |
DescribePriceRequest.DescribePriceRequestSystemDisk |
setPerformanceLevel(String performanceLevel) |
DescribePriceRequest.DescribePriceRequestSystemDisk |
setSize(Integer size) |
@NameInMap(value="Category") public String category
The category of the system disk. Valid values:
Default value:
IoOptimized
is set to none
, the default value is cloud
.cloud_efficiency
.example:If you want to query the price of a system disk, you must also specify
ImageId
.
cloud_ssd
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of the system disk when the disk is an ESSD. This parameter is valid only when SystemDiskCategory
is set to cloud_essd. Valid values:
PL0, PL1 (default), PL2, PL3.
example:PL1
@NameInMap(value="Size") public Integer size
The size of the system disk. Unit: GiB. Valid values:
Basic disk (cloud): 20 to 500.
ESSD (cloud_essd): Valid values vary based on the SystemDisk.PerformanceLevel value.
ESSD AutoPL disk (cloud_auto): 1 to 2048.
Other disk categories: 20 to 2048.
Default value: 20 or the size of the image specified by ImageId, whichever is greater.
example:80
public static DescribePriceRequest.DescribePriceRequestSystemDisk build(Map<String,?> map) throws Exception
Exception
public DescribePriceRequest.DescribePriceRequestSystemDisk setCategory(String category)
public String getCategory()
public DescribePriceRequest.DescribePriceRequestSystemDisk setPerformanceLevel(String performanceLevel)
public String getPerformanceLevel()
public DescribePriceRequest.DescribePriceRequestSystemDisk setSize(Integer size)
public Integer getSize()
Copyright © 2024. All rights reserved.