Menanyakan template whitelist IP global dari instance ApsaraDB for MongoDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeGlobalSecurityIPGroup |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region instance. Anda dapat memanggil operasi DescribeDBInstanceAttribute untuk menanyakan daftar region terbaru. |
cn-hangzhou |
| GlobalSecurityGroupId |
string |
No |
ID template whitelist IP. |
g-hedmu8kg9nsabw6u42rv |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID unik dari permintaan. Jika permintaan gagal, sediakan ID ini kepada tim dukungan teknis untuk mengatasi kegagalan. |
72651AF9-7897-41A7-8B67-6C15C7F26A0A |
| GlobalSecurityIPGroup |
array<object> |
Template whitelist IP global. |
|
|
object |
Template whitelist IP global. |
||
| GlobalSecurityGroupId |
string |
ID template whitelist IP. |
g-sdgwqyp4f5j1x3qk7yvm |
| GlobalIgName |
string |
Nama template whitelist IP. |
dev_baoxian_k8s_bj |
| GIpList |
string |
Alamat IP dalam template whitelist. Catatan
Pisahkan beberapa alamat IP dengan tanda koma (,). Anda dapat membuat hingga 1.000 alamat IP atau blok CIDR untuk semua whitelist alamat IP. |
117.12.202.19 |
| RegionId |
string |
ID region instance. |
cn-hangzhou |
| DBInstances |
array |
Instance yang terkait dengan template whitelist global. |
|
|
string |
ID instance. |
[dds-asdxxxx,dds-afrexxxxxx] |
Contoh
Respons sukses
JSONformat
{
"RequestId": "72651AF9-7897-41A7-8B67-6C15C7F26A0A",
"GlobalSecurityIPGroup": [
{
"GlobalSecurityGroupId": "g-sdgwqyp4f5j1x3qk7yvm",
"GlobalIgName": "dev_baoxian_k8s_bj",
"GIpList": "117.12.202.19",
"RegionId": "cn-hangzhou",
"DBInstances": [
"[dds-asdxxxx,dds-afrexxxxxx]"
]
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. | |
| 400 | InvalidAction | Specified action is not valid. | |
| 404 | InvalidUser.NotFound | Specified user does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.