Mengubah daftar putih alamat IP dari instance ApsaraDB for MongoDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifySecurityIps |
update |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instance. |
dds-bp***** |
| SecurityIps |
string |
Yes |
Alamat IP dalam daftar putih alamat IP. Pisahkan beberapa alamat IP dengan koma (,). Anda dapat menambahkan hingga 1.000 alamat IP berbeda ke daftar putih. Entri harus dalam salah satu format berikut:
|
127.0.0.1/24,127.0.0.1 |
| ModifyMode |
string |
No |
Metode yang digunakan untuk mengubah daftar putih alamat IP. Nilai yang valid:
Nilai default: Cover. |
Append |
| SecurityIpGroupName |
string |
No |
Nama daftar putih alamat IP yang akan diubah. Nilai default: default. |
allowserver |
| SecurityIpGroupAttribute |
string |
No |
Atribut daftar putih alamat IP. Nilai dapat memiliki panjang hingga 120 karakter dan dapat berisi huruf besar, huruf kecil, dan angka. Parameter ini kosong secara default. |
test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
61B05CCF-EBAB-4BF3-BA67-D77256A721E2 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "61B05CCF-EBAB-4BF3-BA67-D77256A721E2"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidSecurityIps.MalFormed | The specified parameter "SecurityIps" is not valid. | |
| 400 | InvalidSecurityIPListLength.Malformed | The Security IP address is not in the available range or occupied. | |
| 400 | InvalidInstanceIp.Duplicate | The quota of security ip exceeds. | |
| 400 | InvalidGroupName.Format | Sepecified group name is not valid. | |
| 404 | InvalidSecurityIPs.NotFound | The Specified same security IP does not exist or at least one security IP need. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.