Mengkueri penggunaan cadangan untuk instans replica set MongoDB atau kluster sharded yang menggunakan cloud disk.
Deskripsi operasi
Backup usage for a sharded cluster is billed on a per-shard basis. You can use this operation to query the backup usage for a single shard.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeBackupStorage |
get |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah tempat instans berada. Panggil operasi DescribeDBInstanceAttribute untuk mengkueri ID wilayah. |
cn-bejing |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-2zeb2d64cb46xxxx |
| NodeId |
string |
No |
ID node shard di instans kluster sharded. Catatan
Parameter ini wajib diisi jika parameter DBInstanceId menentukan ID instans kluster sharded. |
d-2zee48956b4axxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D648B367-15B6-1B42-BD4B-4XXXXXXXXX |
| FullStorageSize |
integer |
The storage space used by full backups. Unit: bytes. Catatan
Instances that use cloud disks are backed up using snapshots. The size of a full backup is the total size of the snapshot chain. |
789221621 |
| LogStorageSize |
integer |
The storage space used by log backups. Unit: bytes. |
7892216 |
| FreeSize |
integer |
The free backup quota for the instance. Unit: bytes. |
42949672960 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D648B367-15B6-1B42-BD4B-4XXXXXXXXX",
"FullStorageSize": 789221621,
"LogStorageSize": 7892216,
"FreeSize": 42949672960
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDBInstance.Malformed | Too many instance ids or instance id format is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.