public static class ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Integer |
IOPS
The new IOPS rate of the disk.
|
String |
recover
Specifies whether to reset the IOPS rate and throughput of the disk.
|
Integer |
throughput
The new throughput of the disk.
|
构造器和说明 |
---|
ModifyDiskSpecRequestPerformanceControlOptions() |
@NameInMap(value="IOPS") public Integer IOPS
The new IOPS rate of the disk. You can modify the IOPS rate of only disks in dedicated block storage clusters.
Valid values: 900 to maximum IOPS per disk (with an increment of 100).
For more information, see Block storage performance.
example:2000
@NameInMap(value="Recover") public String recover
Specifies whether to reset the IOPS rate and throughput of the disk. This parameter takes effect only when the disk belongs to a dedicated block storage cluster.
After you specify this parameter, PerformanceControlOptions.IOPS and PerformanceControlOptions.Throughput do not take effect.
Set the value to All, which indicates that the IOPS rate and throughput of the disk are reset to the initial values.
example:All
@NameInMap(value="Throughput") public Integer throughput
The new throughput of the disk. You can modify the throughput of only disks in dedicated block storage clusters. Unit: MB/s.
Valid values: 60 to maximum throughput per disk.
For more information, see Block storage performance.
example:200
public ModifyDiskSpecRequestPerformanceControlOptions()
public static ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions build(Map<String,?> map) throws Exception
Exception
public ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions setIOPS(Integer IOPS)
public Integer getIOPS()
public ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions setRecover(String recover)
public String getRecover()
public ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions setThroughput(Integer throughput)
public Integer getThroughput()
Copyright © 2024. All rights reserved.