Queries the security groups added to the whitelist of a Tair (Redis OSS-compatible) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeSecurityGroupConfiguration |
get |
*dbinstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
r-bp1zxszhcgatnx**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
981C0D6A-D9DD-466C-92DA-F29DF755**** |
| Items |
object |
||
| EcsSecurityGroupRelation |
array<object> |
The list of security groups. |
|
|
object |
|||
| SecurityGroupId |
string |
The ID of the security group. |
sg-bp14p9y07ns3gwq**** |
| RegionId |
string |
The region ID of the instance. |
cn-hangzhou |
| NetType |
string |
The network type of the security group. Valid values:
|
vpc |
Examples
Success response
JSON format
{
"RequestId": "981C0D6A-D9DD-466C-92DA-F29DF755****",
"Items": {
"EcsSecurityGroupRelation": [
{
"SecurityGroupId": "sg-bp14p9y07ns3gwq****",
"RegionId": "cn-hangzhou",
"NetType": "vpc"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidInstanceId.NotFound | The InstanceId provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.