Queries the global IP whitelist templates associated with an ApsaraDB for Redis instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeGlobalSecurityIPGroupRelation |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBClusterId |
string |
Yes |
The instance ID. |
r-t4n885e834f6**** |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-acfmyiu4ekp**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBClusterId |
string |
The instance ID. |
r-t4n885e834f6**** |
| RequestId |
string |
The request ID. |
9B7BFB11-C077-4FE3-B051-F69CEB****** |
| GlobalSecurityIPGroupRel |
array<object> |
The associated global IP whitelist templates. |
|
|
object |
|||
| GlobalSecurityGroupId |
string |
The IP whitelist template ID. |
g-zsldxfiwjmti0kcm**** |
| GIpList |
string |
The IP addresses in the IP whitelist template. Note
Separate multiple IP addresses with commas (,). |
192.168.0.1,10.10.10.10 |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| GlobalIgName |
string |
The IP whitelist template name. |
test_123 |
Examples
Success response
JSON format
{
"DBClusterId": "r-t4n885e834f6****",
"RequestId": "9B7BFB11-C077-4FE3-B051-F69CEB******",
"GlobalSecurityIPGroupRel": [
{
"GlobalSecurityGroupId": "g-zsldxfiwjmti0kcm****",
"GIpList": "192.168.0.1,10.10.10.10",
"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. | Missing input parameter |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.