Mengkueri jumlah snapshot dan ukuran total snapshot di suatu wilayah.
Deskripsi operasi
Deskripsi operasi
Untuk Tampilan penggunaan snapshot setiap cloud disk di wilayah saat ini, panggil DescribeSnapshotLinks untuk mengkueri rantai snapshot.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DescribeSnapshotsUsage |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah snapshot. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| SnapshotSize |
integer |
Ukuran total snapshot di wilayah saat ini. Unit: bytes. |
122 |
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| SnapshotCount |
integer |
Jumlah total snapshot di wilayah saat ini. |
5 |
Contoh
Respons sukses
JSONformat
{
"SnapshotSize": 122,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"SnapshotCount": 5
}
Respons error
JSONformat
{
"SnapshotCount": "5",
"SnapshotSize": "122",
"RequestId": "ACD9BBB0-A9D1-46D7-9630-B7A69889E110"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | InvalidParam.RegionId | The specified region is not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.