Queries the details of the elastic plan for a cluster.
Operation description
For the service registration address of the current service, see Endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeElasticPlanAttribute |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ElasticPlanName |
string |
Yes |
The name of the elastic plan. Note
Call the DescribeElasticPlans operation to query the name of the elastic plan for the cluster. |
test |
| DBClusterId |
string |
Yes |
The ID of the cluster. Note
Call the DescribeDBClusters operation to query the cluster ID. |
amv-wz9509beptiz**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResponse |
||
| ElasticPlan |
object |
The elastic plan. |
|
| ElasticPlanName |
string |
The name of the elastic plan. |
test |
| Type |
string |
The type of the elastic plan. |
EXECUTOR |
| Enabled |
boolean |
Indicates whether the elastic plan is enabled. |
true |
| ResourceGroupName |
string |
The name of the resource group to which the elastic plan belongs. |
test |
| TargetSize |
string |
The target specifications. |
32ACU |
| StartTime |
string |
The start time. Note
The time is in the yyyy-MM-ddTHH:mm:ssZ format. |
2022-01-01T12:01:00Z |
| EndTime |
string |
The end time. Note
The time is in the yyyy-MM-ddTHH:mm:ssZ format. |
2025-01-01T12:01:00Z |
| CronExpression |
string |
The cron expression, which indicates the scaling cycle and scaling time of the elastic plan. |
0 20 14 * * ? |
| AutoScale |
boolean |
Indicates whether proportional default elastic scaling for the storage acceleration service (EIU) is enabled. Valid values:
Note
Only one storage elastic plan with proportional default elastic scaling for the storage acceleration service (EIU) can be enabled for the entire cluster. After this type of elastic plan is enabled, no other storage elastic plans can be enabled. |
false |
| RequestId |
string |
The ID of the request. |
A5C433C2-001F-58E3-99F5-3274C14DF8BD |
Examples
Success response
JSON format
{
"ElasticPlan": {
"ElasticPlanName": "test",
"Type": "EXECUTOR",
"Enabled": true,
"ResourceGroupName": "test",
"TargetSize": "32ACU",
"StartTime": "2022-01-01T12:01:00Z",
"EndTime": "2025-01-01T12:01:00Z",
"CronExpression": "0 20 14 * * ?",
"AutoScale": false
},
"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. |
| 404 | ACS.ElasticPlan.NotFound | The elastic plan is not found. | The elastic plan is not found |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.