public class UpgradeDBInstanceRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
DBInstanceClass
This parameter is no longer used.
|
String |
DBInstanceGroupCount
This parameter is no longer used.
|
String |
DBInstanceId
The instance ID.
|
String |
instanceSpec
The specifications of each compute node.
|
String |
masterNodeNum
This parameter is no longer used.
|
Long |
ownerId |
String |
payType
This parameter is no longer used.
|
String |
regionId
The region ID of the instance.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs.
|
String |
segDiskPerformanceLevel
The performance level of Enterprise SSDs (ESSDs).
|
String |
segNodeNum
The number of compute nodes.
|
String |
segStorageType
The disk storage type of the instance after the change.
|
String |
storageSize
The storage capacity of each compute node.
|
Long |
upgradeType
The type of the instance configuration change.
|
| 构造器和说明 |
|---|
UpgradeDBInstanceRequest() |
@NameInMap(value="DBInstanceClass") public String DBInstanceClass
This parameter is no longer used.
example:null
@NameInMap(value="DBInstanceGroupCount") public String DBInstanceGroupCount
This parameter is no longer used.
example:null
@NameInMap(value="DBInstanceId") public String DBInstanceId
The instance ID.
You can call the DescribeDBInstances operation to query the IDs of all AnalyticDB for PostgreSQL instances within a region.
This parameter is required.
example:gp-rj***************
@NameInMap(value="InstanceSpec") public String instanceSpec
The specifications of each compute node. For information about the supported specifications, see Instance specifications.
example:This parameter is available only for instances in elastic storage mode.
4C16G
@NameInMap(value="MasterNodeNum") public String masterNodeNum
This parameter is no longer used.
example:2
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PayType") public String payType
This parameter is no longer used.
example:null
@NameInMap(value="RegionId") public String regionId
The region ID of the instance.
example:You can call the DescribeRegions operation to query the most recent region list.
cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance belongs. For information about how to obtain the ID of a resource group, see View basic information of a resource group.
example:rg-bp67acfmxazb4p****
@NameInMap(value="SegDiskPerformanceLevel") public String segDiskPerformanceLevel
The performance level of Enterprise SSDs (ESSDs). Valid values:
pl1
@NameInMap(value="SegNodeNum") public String segNodeNum
The number of compute nodes. The number of compute nodes varies based on the instance resource type and edition.
2
@NameInMap(value="SegStorageType") public String segStorageType
The disk storage type of the instance after the change. The disk storage type can be changed only to ESSD. Set the value to cloud_essd.
example:cloud_essd
@NameInMap(value="StorageSize") public String storageSize
The storage capacity of each compute node. Unit: GB. Valid values: 50 to 6000, in 50 increments.
example:This parameter is available only for instances in elastic storage mode.
100
@NameInMap(value="UpgradeType") public Long upgradeType
The type of the instance configuration change. Valid values:
The supported changes to compute node configurations vary based on the instance resource type. For more information, see the "Usage notes" section of the Change compute node configurations topic.
After you specify a change type, only the corresponding parameters take effect. For example, if you set UpgradeType to 0, the parameter that is used to change the number of compute nodes takes effect, but the parameter that is used to change the number of coordinator nodes does not.
The number of coordinator nodes can be changed only on the China site (aliyun.com).
The disk storage type can be changed only from ultra disks to ESSDs.
0
public static UpgradeDBInstanceRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpgradeDBInstanceRequest setDBInstanceClass(String DBInstanceClass)
public String getDBInstanceClass()
public UpgradeDBInstanceRequest setDBInstanceGroupCount(String DBInstanceGroupCount)
public String getDBInstanceGroupCount()
public UpgradeDBInstanceRequest setDBInstanceId(String DBInstanceId)
public String getDBInstanceId()
public UpgradeDBInstanceRequest setInstanceSpec(String instanceSpec)
public String getInstanceSpec()
public UpgradeDBInstanceRequest setMasterNodeNum(String masterNodeNum)
public String getMasterNodeNum()
public UpgradeDBInstanceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpgradeDBInstanceRequest setPayType(String payType)
public String getPayType()
public UpgradeDBInstanceRequest setRegionId(String regionId)
public String getRegionId()
public UpgradeDBInstanceRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public UpgradeDBInstanceRequest setSegDiskPerformanceLevel(String segDiskPerformanceLevel)
public String getSegDiskPerformanceLevel()
public UpgradeDBInstanceRequest setSegNodeNum(String segNodeNum)
public String getSegNodeNum()
public UpgradeDBInstanceRequest setSegStorageType(String segStorageType)
public String getSegStorageType()
public UpgradeDBInstanceRequest setStorageSize(String storageSize)
public String getStorageSize()
public UpgradeDBInstanceRequest setUpgradeType(Long upgradeType)
public Long getUpgradeType()
Copyright © 2024. All rights reserved.