Queries predicted monitoring data.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:QueryPredictiveMetric |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| StartTime |
string |
Yes |
The start time of the prediction data query, in UTC. Format: yyyy-MM-ddTHH:mmZ (ISO 8601). |
2025-12-17T08:00Z |
| EndTime |
string |
Yes |
The end time of the prediction data query, in UTC. Format: yyyy-MM-ddTHH:mmZ (ISO 8601). |
2025-12-18T08:00Z |
| ScalingGroupId |
string |
Yes |
The ID of the scaling group. |
asg-bp1igpak5ft1flyp**** |
| MetricName |
string |
Yes |
The monitoring metric of the prediction rule. Valid values:
|
CpuUtilization |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CC107349-57B7-4405-B1BF-9BF5AF7F**** |
| PredictiveMetrics |
object |
||
| PredictiveMetric |
array<object> |
Predicted monitoring metrics. |
|
|
object |
Predicted monitoring metrics. |
||
| MetricValue |
string |
The predicted metric value. |
10.0 |
| Time |
string |
The timestamp in UTC. Format: yyyy-MM-ddTHH:mmZ (ISO 8601). |
2025-12-17T16:00Z |
Examples
Success response
JSON format
{
"RequestId": "CC107349-57B7-4405-B1BF-9BF5AF7F****",
"PredictiveMetrics": {
"PredictiveMetric": [
{
"MetricValue": "10.0",
"Time": "2025-12-17T16:00Z"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.