Mengkueri informasi tugas prediksi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:QueryPredictiveTaskInfo |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| StartTime |
string |
Yes |
Waktu mulai tugas prediksi. Tentukan waktu dalam standar ISO 8601 UTC. Format: yyyy-MM-ddTHH:mmZ. |
2025-12-17T08:00Z |
| EndTime |
string |
Yes |
Waktu akhir tugas prediksi. Tentukan waktu dalam standar ISO 8601 UTC. Format: yyyy-MM-ddTHH:mmZ. |
2025-12-18T08:00Z |
| ScalingRuleId |
string |
Yes |
ID aturan penskalaan prediktif. |
asr-bp1dp8yd9f8xxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| TaskInfos |
object |
||
| TaskInfo |
array<object> |
Tugas terjadwal yang dibuat oleh aturan penskalaan prediktif. |
|
|
object |
Tugas terjadwal yang dibuat oleh aturan penskalaan prediktif. |
||
| Time |
string |
The point in time at which the scheduled task is triggered. The value follows the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. |
2025-12-17T10:00Z |
| MinValue |
integer |
The minimum size of the scaling group that you want to create. |
2 |
| MaxValue |
integer |
The maximum size of the scaling group that you want to create. |
10 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"TaskInfos": {
"TaskInfo": [
{
"Time": "2025-12-17T10:00Z",
"MinValue": 2,
"MaxValue": 10
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.