Mengkueri statistik pembuatan dan penghapusan instans.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:DescribeInstanceCreateAndDeleteStatistics |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| ScalingGroupId |
string |
No |
ID grup penskalaan. |
asg-2ze4057nqfbxxxxxxxx |
| StartTime |
string |
Yes |
Waktu mulai periode statistik. Waktu mengikuti standar ISO 8601 dan harus dalam UTC. |
2025-12-15T08:00Z |
| EndTime |
string |
Yes |
Waktu akhir periode statistik. Waktu mengikuti standar ISO 8601 dan harus dalam UTC. |
2025-12-18T08:00Z |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
086EFCD4-C76F-4DC6-9EE9-0D9B711E**** |
| InstanceCreateAndDeleteStatistics |
object |
||
| Statistic |
array<object> |
Statistik pembuatan dan penghapusan instans. |
|
|
object |
Statistik pembuatan dan penghapusan instans. |
||
| DestroyedVmCount |
integer |
The number of released instances. |
34 |
| CreatedVmCount |
integer |
The number of new instances. |
12 |
| Time |
string |
The time when the statistics are generated. The time is in UTC. Format: yyyyMMddHH. |
2025121623 |
| StoppedVmCount |
integer |
The number of instances that are stopped in economical mode. |
10 |
| StartedVmCount |
integer |
The number of instances that are started from economical mode. |
5 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "086EFCD4-C76F-4DC6-9EE9-0D9B711E****",
"InstanceCreateAndDeleteStatistics": {
"Statistic": [
{
"DestroyedVmCount": 34,
"CreatedVmCount": 12,
"Time": "2025121623",
"StoppedVmCount": 10,
"StartedVmCount": 5
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.