Queries the Elastic Compute Service (ECS) security groups associated with an ApsaraDB for MongoDB instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeSecurityGroupConfiguration |
get |
*dbinstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The ID of the instance. |
dds-bpxxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
3C4A2494-85C4-45C5-93CF-548DB3375193 |
| Items |
object |
||
| RdsEcsSecurityGroupRel |
array<object> |
Details about the ECS security groups. |
|
|
object |
|||
| SecurityGroupId |
string |
The ID of the ECS security group. |
sg-bpxxxxxxxx |
| NetType |
string |
The network type of the ECS security group. Valid values:
|
vpc |
| RegionId |
string |
The region ID of the ECS security group. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "3C4A2494-85C4-45C5-93CF-548DB3375193",
"Items": {
"RdsEcsSecurityGroupRel": [
{
"SecurityGroupId": "sg-bpxxxxxxxx",
"NetType": "vpc",
"RegionId": "cn-hangzhou"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.