Queries resource specifications supported by different scaling plan types for an AnalyticDB for MySQL cluster.
Operation description
Supported service endpoints are listed in Endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeElasticPlanSpecifications |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
Yes |
The type of the scaling plan. Valid values:
|
EXECUTOR |
| ResourceGroupName |
string |
No |
The name of the resource group. Note
|
test |
| DBClusterId |
string |
Yes |
The cluster ID. Note
Call DescribeDBClusters to query cluster IDs in a region. |
amv-wz9509beptiz**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| TotalCount |
integer |
The total number of entries returned. |
10 |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
5 |
| Specifications |
array |
The queried resource specifications. |
|
|
string |
The queried resource specification. |
16ACU |
|
| RequestId |
string |
The request ID. |
A5C433C2-001F-58E3-99F5-3274C14DF8BD |
Examples
Success response
JSON format
{
"TotalCount": 10,
"PageNumber": 1,
"PageSize": 5,
"Specifications": [
"16ACU"
],
"RequestId": "A5C433C2-001F-58E3-99F5-3274C14DF8BD"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.