Mengambil daftar putih IP dari sebuah instans ApsaraDB for MongoDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeSecurityIps |
get |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-bpxxxxxxxx |
| ShowHDMIps |
boolean |
No |
Apakah akan menampilkan informasi daftar putih DAS. Valid values:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| SecurityIps |
string |
Alamat IP dalam daftar putih default. |
47.xxx.xxx.xx,100.xxx.xxx.0/24 |
| RequestId |
string |
ID permintaan. |
FC724D23-2962-479E-ABB1-606C935AE7FD |
| SecurityIpGroups |
object |
||
| SecurityIpGroup |
array<object> |
Sebuah array yang berisi informasi daftar putih IP. |
|
|
object |
|||
| SecurityIpGroupName |
string |
The name of the IP whitelist. |
default |
| SecurityIpGroupAttribute |
string |
The attribute of the IP address whitelist. |
hidden |
| SecurityIpList |
string |
The name of the IP whitelist. |
47.xxx.xxx.xx,100.xxx.xxx.0/24 |
Contoh
Respons sukses
JSONformat
{
"SecurityIps": "47.xxx.xxx.xx,100.xxx.xxx.0/24",
"RequestId": "FC724D23-2962-479E-ABB1-606C935AE7FD",
"SecurityIpGroups": {
"SecurityIpGroup": [
{
"SecurityIpGroupName": "default",
"SecurityIpGroupAttribute": " hidden",
"SecurityIpList": "47.xxx.xxx.xx,100.xxx.xxx.0/24"
}
]
}
}
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.