Mengkueri pemetaan antara instans dan templat daftar putih alamat IP global.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeGlobalSecurityIPGroupRelation |
get |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Anda dapat memanggil DescribeRegions untuk mengkueri wilayah yang tersedia. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
ID instans. |
dds-2ze6069764423m0l |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBClusterId |
string |
The instance ID. |
dds-2ze6069764423m0l |
| RequestId |
string |
The ID of the request. If you encounter a problem, provide this ID to our support staff for troubleshooting. |
F8CA8312-530A-413A-9129-F2BB32A8D404 |
| GlobalSecurityIPGroupRel |
array<object> |
The mapping of the global IP address whitelist template. |
|
|
object |
The mapping of the global IP address whitelist template. |
||
| GlobalSecurityGroupId |
string |
The ID of the IP address whitelist template. |
g-gfurfpsh4ycbrm2avst7 |
| GIpList |
string |
The IP addresses in the whitelist template. Catatan
Separate multiple IP addresses with commas. A maximum of 1,000 IP addresses or CIDR blocks can be added across all IP address whitelists. |
27.16.214.10,111.60.117.181 |
| RegionId |
string |
The region ID. |
cn-hongkong |
| GlobalIgName |
string |
The name of the IP address whitelist template. |
dev_baoxian_k8s_bj |
Contoh
Respons sukses
JSONformat
{
"DBClusterId": "dds-2ze6069764423m0l",
"RequestId": "F8CA8312-530A-413A-9129-F2BB32A8D404",
"GlobalSecurityIPGroupRel": [
{
"GlobalSecurityGroupId": "g-gfurfpsh4ycbrm2avst7",
"GIpList": "27.16.214.10,111.60.117.181",
"RegionId": "cn-hongkong",
"GlobalIgName": "dev_baoxian_k8s_bj"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.