Gets the purchasable resources for AnalyticDB for PostgreSQL.
Operation description
Before creating an AnalyticDB for PostgreSQL instance, you can use this operation to query the available instance offerings in a specified availability zone.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:DescribeAvailableResources |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Region |
string |
Yes |
The region ID. Note
Call the DescribeRegions API to query available region IDs. |
cn-hangzhou |
| ZoneId |
string |
Yes |
The availability zone ID. Note
Call the DescribeRegions API to query available zone IDs. |
cn-hangzhou-h |
| ChargeType |
string |
No |
The billing method. Valid values:
|
PostPaid |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
61DC563C-F8E4-593A-8D27-CE********** |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| Resources |
array<object> |
The available resources. |
|
|
array<object> |
Details of an available resource. |
||
| SupportedEngines |
array<object> |
Details of the supported engines and instance types. |
|
|
array<object> |
Details of a supported engine and its available instance types. |
||
| SupportedEngineVersion |
string |
The supported engine version. |
6.0 |
| SupportedInstanceClasses |
array<object> |
The supported instance types. |
|
|
array<object> |
Details of the instance type. |
||
| Description |
string |
The description of the segment node instance type. |
单segment节点2核配置,含16GB 内存 |
| DisplayClass |
string |
The display name of the segment node instance type. |
2C16G |
| InstanceClass |
string |
The instance type of the segment node. |
2C16G |
| NodeCount |
object |
Details of the segment nodes. |
|
| Step |
string |
增加节点时的步长。 例如该参数取值为 4 时,则表示增加 Segment 节点时,增加的节点数量必须为 4 的倍数。 |
4 |
| MinCount |
string |
Segment 节点的最小值。 |
4 |
| MaxCount |
string |
Segment 节点的最大值。 |
256 |
| StorageType |
string |
存储类型。取值说明:
|
cloud_essd |
| StorageSize |
object |
Segment 存储容量。 |
|
| Step |
string |
Segment 存储扩容步长。 |
50 |
| MinCount |
string |
Segment 最小存储容量。 |
50 |
| MaxCount |
string |
Segment 最大存储容量。 |
1000 |
| Category |
string |
实例系列。取值说明:
|
HighAvailability |
| Mode |
string |
实例资源类型。取值说明:
|
ecs |
| ZoneId |
string |
可用区 ID。 |
cn-hangzhou-h |
Examples
Success response
JSON format
{
"RequestId": "61DC563C-F8E4-593A-8D27-CE**********",
"RegionId": "cn-hangzhou",
"Resources": [
{
"SupportedEngines": [
{
"SupportedEngineVersion": "6.0",
"SupportedInstanceClasses": [
{
"Description": "单segment节点2核配置,含16GB 内存",
"DisplayClass": "2C16G",
"InstanceClass": "2C16G",
"NodeCount": {
"Step": "4",
"MinCount": "4",
"MaxCount": "256"
},
"StorageType": "cloud_essd",
"StorageSize": {
"Step": "50",
"MinCount": "50",
"MaxCount": "1000"
},
"Category": "HighAvailability"
}
],
"Mode": "ecs"
}
],
"ZoneId": "cn-hangzhou-h"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.