public class ModifyDiskSpecRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions |
限定符和类型 | 字段和说明 |
---|---|
String |
diskCategory
The new category of the disk.
|
String |
diskId
The disk ID.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
ownerAccount |
Long |
ownerId |
ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions |
performanceControlOptions
The disk performance specifications.
|
String |
performanceLevel
The new performance level of the ESSD.
|
Long |
provisionedIops
The provisioned read/write IOPS of the ESSD AutoPL disk.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
ModifyDiskSpecRequest() |
@NameInMap(value="DiskCategory") public String diskCategory
The new category of the disk. Valid values:
This parameter is empty by default, which indicates that the disk category is not changed.
cloud_essd
@NameInMap(value="DiskId") public String diskId
The disk ID.
This parameter is required.
example:d-bp131n0q38u3a4zi****
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
DryRunOperation
error code is returned.Default value: false.
example:false
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PerformanceControlOptions") public ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions performanceControlOptions
The disk performance specifications.
@NameInMap(value="PerformanceLevel") public String performanceLevel
The new performance level of the ESSD. Valid values:
Default value: PL1.
example:PL2
@NameInMap(value="ProvisionedIops") public Long provisionedIops
The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
example:This parameter is available only if you set DiskCategory to cloud_auto. For more information, see ESSD AutoPL disks and Modify the performance configurations of an ESSD AutoPL disk.
50000
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static ModifyDiskSpecRequest build(Map<String,?> map) throws Exception
Exception
public ModifyDiskSpecRequest setDiskCategory(String diskCategory)
public String getDiskCategory()
public ModifyDiskSpecRequest setDiskId(String diskId)
public String getDiskId()
public ModifyDiskSpecRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public ModifyDiskSpecRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyDiskSpecRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyDiskSpecRequest setPerformanceControlOptions(ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions performanceControlOptions)
public ModifyDiskSpecRequest.ModifyDiskSpecRequestPerformanceControlOptions getPerformanceControlOptions()
public ModifyDiskSpecRequest setPerformanceLevel(String performanceLevel)
public String getPerformanceLevel()
public ModifyDiskSpecRequest setProvisionedIops(Long provisionedIops)
public Long getProvisionedIops()
public ModifyDiskSpecRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyDiskSpecRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.