Mengubah pengatur waktu time-to-live (TTL) set cadangan MongoDB.
Deskripsi operasi
You can modify the TTL only for manual backups.
This operation is applicable only to MongoDB instances that use cloud disks.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-bp16cb162771**** |
| BackupExpireTime |
string |
No |
Pengatur waktu time-to-live (TTL) cadangan. Pengatur waktu harus dalam format yyyy-MM-ddTHH:mm:ssZ dan dalam UTC. Catatan
**. |
2025-03-29T03:47:12Z |
| BackupId |
string |
Yes |
ID cadangan. |
260032xxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A0181AC4-XXXX-XXXX-87CA-100C70B86729 |
| BackupExpireTime |
string |
The time-to-live (TTL) of the backup. The time is in the yyyy-MM-ddTHH:mm:ssZ format and is in UTC. Catatan
** |
2025-03-29T03:47:12Z |
| BackupId |
string |
The backup ID. |
260032xxxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A0181AC4-XXXX-XXXX-87CA-100C70B86729",
"BackupExpireTime": "2025-03-29T03:47:12Z",
"BackupId": "260032xxxx"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidBackupMethod.ValueNotSupport | The specified parameter BackupMethod is not valid. | |
| 403 | OperationDenied.BackupJobExists | The operation is not permitted due to backup job exist. | A backup task is in progress. Try again later. |
| 403 | OperationDenied.NoDatabase | The operation is not permitted due to no database. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.