Queries the mapping between an instance and a global IP address whitelist template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeGlobalSecurityIPGroupRelation |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the available regions. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
The instance ID. |
dds-2ze6069764423m0l |
Response elements
|
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. Note
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 |
Examples
Success response
JSON format
{
"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"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.