Modifies the specifications of an AnalyticDB for PostgreSQL instance.
Operation description
This operation does not support instances in storage-reserved mode.
Before you call this operation, ensure that you understand the billing methods and pricing of AnalyticDB for PostgreSQL.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:UpgradeDBInstance |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the instance belongs. For more information, see View basic information of a resource group. |
rg-bp67acfmxazb4p**** |
| RegionId |
string |
No |
The region ID. Note
You can call the DescribeRegions operation to query available region IDs. |
cn-hangzhou |
| DBInstanceClass |
string |
No |
This parameter is deprecated. |
null |
| DBInstanceGroupCount |
string |
No |
This parameter is deprecated. |
null |
| DBInstanceId |
string |
Yes |
The instance ID. Note
You can call the DescribeDBInstances operation to query the details of all AnalyticDB for PostgreSQL instances in a specific region. |
gp-rj*************** |
| PayType |
string |
No |
This parameter is deprecated. |
null |
| MasterNodeNum |
string |
No |
This parameter is deprecated. |
null |
| SegNodeNum |
string |
No |
The number of segment nodes. The supported number of nodes varies by instance resource type and edition:
|
2 |
| InstanceSpec |
string |
No |
The segment node specifications. For more information about supported node specifications, see Instance specifications. Note
This parameter is applicable only to Storage-elastic Mode instances. |
4C16G |
| StorageSize |
string |
No |
The storage capacity of each segment node. Unit: GB. The value must be a multiple of 50, from 50 to 6000. Note
This parameter is applicable only to Storage-elastic Mode instances. |
100 |
| SegDiskPerformanceLevel |
string |
No |
The performance level (PL) of the cloud disks. Valid values:
|
pl1 |
| SegStorageType |
string |
No |
The target disk storage type. This operation only supports upgrading to an ESSD cloud disk. Set the value to cloud_essd. |
cloud_essd |
| UpgradeType |
integer |
No |
The change type. Valid values:
Note
|
0 |
| ServerlessResource |
string |
No |
||
| CacheStorageSize |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
25C11EE5-B7E8-481A-A07C-BD********** |
| DBInstanceId |
string |
The instance ID. |
gp-rj*************** |
| OrderId |
string |
The order ID. |
********* |
Examples
Success response
JSON format
{
"RequestId": "25C11EE5-B7E8-481A-A07C-BD**********",
"DBInstanceId": "gp-rj***************",
"OrderId": "*********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.