Queries the second-level monitoring data of a single cloud disk.
Operation description
Operation description
-
A single query returns a maximum of 400 data records. The value of (EndTime - StartTime) / Period cannot exceed 400.
-
A single query can retrieve monitoring data from the last three days. The time specified by StartTime cannot be more than three days earlier than the current time.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ebs:DescribeDiskMonitorData |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DiskId |
string |
Yes |
The cloud disk ID. |
d-bp67acfmxazb4p**** |
| StartTime |
string |
Yes |
The start time to retrieve the second-level monitoring data of the cloud disk. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2022-06-01T03:00:00Z |
| EndTime |
string |
Yes |
The end time to retrieve the second-level monitoring data of the cloud disk. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2022-06-01T05:00:00Z |
| Period |
integer |
No |
The interval to retrieve the second-level monitoring data of the cloud disk. Unit: seconds. Valid values:
Default value: 5. |
5 |
| Type |
string |
No |
The type of cloud disk monitoring data. Valid values:
|
basic |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| TotalCount |
integer |
The total number of returned entries. |
15 |
| MonitorData |
array<object> |
The second-level monitoring data of the cloud disk. |
|
|
object |
The second-level monitoring data of the cloud disk. |
||
| ReadBPS |
integer |
The read bandwidth of the cloud disk. Unit: MBps. |
10 |
| WriteBPS |
integer |
The write bandwidth of the cloud disk. Unit: MBps. |
204 |
| DiskId |
string |
The cloud disk ID. |
d-bp1bq5g3dxxo1x4o**** |
| ReadIOPS |
integer |
The maximum number of read operations per second. Unit: operations per second. |
2000 |
| WriteIOPS |
integer |
The maximum number of write operations per second. Unit: operations per second. |
2000 |
| IOPSPercent |
integer |
The IOPS utilization of the cloud disk. |
80(%) |
| BPSPercent |
integer |
The BPS utilization of the cloud disk. |
80(%) |
| Timestamp |
string |
The timestamp of the second-level monitoring data of the cloud disk. The time is displayed in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format and is in UTC. |
2022-06-01T08:00:00Z |
| BurstIOCount |
integer |
The number of burst I/O operations of the cloud disk. |
0 |
| ReadBlockSize |
integer |
The read I/O block size. Unit: bytes. |
4096 |
| WriteBlockSize |
integer |
The write I/O block size. Unit: bytes. |
4096 |
| ReadLatency |
integer |
The read latency. Unit: microseconds. |
100 |
| WriteLatency |
integer |
The write latency. Unit: microseconds. |
100 |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"TotalCount": 15,
"MonitorData": [
{
"ReadBPS": 10,
"WriteBPS": 204,
"DiskId": "d-bp1bq5g3dxxo1x4o****",
"ReadIOPS": 2000,
"WriteIOPS": 2000,
"IOPSPercent": 0,
"BPSPercent": 0,
"Timestamp": "2022-06-01T08:00:00Z",
"BurstIOCount": 0,
"ReadBlockSize": 4096,
"WriteBlockSize": 4096,
"ReadLatency": 100,
"WriteLatency": 100
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | An internal error has occurred. |
| 403 | Forbidden | User is not authorized to operate. | You are not authorized to manage the resource. Check the account permissions or contact the Alibaba Cloud account. |
| 403 | Forbidden.Action | User is not authorized to operate this action. | You are not authorized to perform this operation. Check the account permissions or contact the Alibaba Cloud account. |
| 404 | NoSuchResource | The specified resource does not exist. | The specified resource does not exist. |
| 504 | RequestTimeout | The request is timeout, please try again later. | The request has timed out. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.