Mengkueri data pemantauan prediktif.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:QueryPredictiveMetric |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| StartTime |
string |
Yes |
Waktu mulai data pemantauan prediktif. Tentukan waktu dalam standar ISO 8601 UTC. Format: yyyy-MM-ddTHH:mmZ. |
2025-12-17T08:00Z |
| EndTime |
string |
Yes |
Waktu akhir data pemantauan prediktif. Tentukan waktu dalam standar ISO 8601 UTC. Format: yyyy-MM-ddTHH:mmZ. |
2025-12-18T08:00Z |
| ScalingGroupId |
string |
Yes |
ID grup penskalaan. |
asg-bp1igpak5ft1flyp**** |
| MetricName |
string |
Yes |
Nama data deret waktu pemantauan untuk aturan penskalaan prediktif. Nilai valid:
|
CpuUtilization |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
CC107349-57B7-4405-B1BF-9BF5AF7F**** |
| PredictiveMetrics |
object |
||
| PredictiveMetric |
array<object> |
Data deret waktu pemantauan prediktif. |
|
|
object |
Data deret waktu pemantauan prediktif. |
||
| MetricValue |
string |
Predicted monitoring value. |
10.0 |
| Time |
string |
The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mmZ format. The time must be in UTC. |
2025-12-17T16:00Z |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CC107349-57B7-4405-B1BF-9BF5AF7F****",
"PredictiveMetrics": {
"PredictiveMetric": [
{
"MetricValue": "10.0",
"Time": "2025-12-17T16:00Z"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.