Queries the performance details (such as CPU) of ApsaraDB RDS instances by calling the DescribeRdsPerformanceSummary operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeRdsPerformanceSummary |
get |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| DrdsInstanceId |
string |
Yes |
The DRDS instance ID. |
drds************ |
| RdsInstanceId |
array |
Yes |
The list of ApsaraDB RDS instances. |
rm-***************** |
|
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the API request is successful. |
true |
| RequestId |
string |
The request ID. |
B6876277-ECFD-4658-AC1E-A7FAD8****** |
| RdsPerformanceInfos |
array<object> |
The collection of objects. |
|
|
object |
|||
| Cpu |
number |
The CPU usage of the ApsaraDB RDS instance. |
0.26 |
| ActiveSessions |
integer |
The number of active sessions on the current ApsaraDB RDS instance. |
0 |
| TotalSessions |
integer |
The total number of sessions on the current ApsaraDB RDS instance. |
162 |
| RdsId |
string |
The ApsaraDB RDS instance ID. |
rm-************** |
| Iops |
number |
The IOPS data of the ApsaraDB RDS instance. |
17.62 |
| SpaceUsage |
integer |
The disk usage of the ApsaraDB RDS instance. Unit: MB. |
4145144777 |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "B6876277-ECFD-4658-AC1E-A7FAD8******",
"RdsPerformanceInfos": [
{
"Cpu": 0.26,
"ActiveSessions": 0,
"TotalSessions": 162,
"RdsId": "rm-**************",
"Iops": 17.62,
"SpaceUsage": 4145144777
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | %s | %s | |
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.