Queries the relationship between a cluster and a global IP whitelist template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeGlobalSecurityIPGroupRelation |
get |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the IP whitelist template. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
The ID of cluster. |
pc-***************** |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-********** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBClusterId |
string |
The ID of cluster. |
pc-***************** |
| RequestId |
string |
The ID of the request. |
9B7BFB11-C077-4FE3-B051-F69CEB****** |
| GlobalSecurityIPGroupRel |
array<object> |
The details of the global IP whitelist template. |
|
|
object |
1 |
||
| GlobalSecurityGroupId |
string |
The ID of the global IP whitelist template. |
g-zsldxfiwjmti0kcm**** |
| GIpList |
string |
The IP address in the global IP whitelist template. Note
Separate multiple IP addresses with commas (,). You can add up to 1,000 IP addresses or CIDR blocks to all IP whitelists. |
192.168.0.1 |
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
| GlobalIgName |
string |
The name of the global IP whitelist template. The name must meet the following requirements:
|
test_123 |
Examples
Success response
JSON format
{
"DBClusterId": "pc-*****************",
"RequestId": "9B7BFB11-C077-4FE3-B051-F69CEB******",
"GlobalSecurityIPGroupRel": [
{
"GlobalSecurityGroupId": "g-zsldxfiwjmti0kcm****",
"GIpList": "192.168.0.1",
"RegionId": "cn-hangzhou",
"GlobalIgName": "test_123"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. | The specified parameter does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.