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:
* cloud: basic disk
* cloud_efficiency: ultra disk
* cloud_ssd: standard SSD
* ephemeral_ssd: local SSD
* cloud_essd: enhanced SSD (ESSD)
Description of the default values:
* When the InstanceType parameter is set to a retired instance type and the `IoOptimized` parameter is set to `none`, the default value of this parameter is `cloud`.
* In other cases, the default value of this parameter is `cloud_efficiency`.
> When you query the prices of system disks, you must also specify the `ImageId` parameter.
@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 the `SystemDiskCategory` parameter is set to cloud_essd. Default value: PL1. Valid values:
PL0 PL1 PL2 PL3
@NameInMap(value="Size") public Integer size
The size of the system disk. Unit: GiB. Valid values: 20 to 500.
Default value: 20 or the image size, whichever is greater.
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 © 2023. All rights reserved.