Memperpanjang periode retensi titik akhir jaringan klasik instans Database Apsara for MongoDB.
Deskripsi operasi
Before you call this operation, make sure that the instance meets the following requirements:
-
The instance is in the Running state.
-
The network of the instance is in hybrid access mode.
This operation is supported by replica set instances and sharded cluster instances. This operation is not supported by standalone instances.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyDBInstanceNetExpireTime |
update |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-bpxxxxxxxx |
| ConnectionString |
string |
No |
Titik akhir instans. |
dds-bpxxxxxxxx.mongodb.rds.aliyuncs.com |
| ClassicExpendExpiredDays |
integer |
Yes |
Periode retensi titik akhir jaringan klasik instans. Nilai valid: 14, 30, 60, dan 120. Unit: hari. |
30 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
459E7D5C-38DA-4E14-9C82-5B5AF693DBAB |
Contoh
Respons sukses
JSONformat
{
"RequestId": "459E7D5C-38DA-4E14-9C82-5B5AF693DBAB"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidConnectionString.NotFound | Specified connection string or net type is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.