You can call this operation to query the ECS Security groups associated with an apsaradb for MongoDB instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the instance.

AccessKeyId String No LTAIgbTGpxxxxxx

The AccessKey ID provided by Alibaba Cloud for you to access services.

Action String No DescribeSecurityGroupConfiguration

The operation that you want to perform. Set the value to DescribeSecurityGroupConfiguration.

Response parameters

Parameter Type Example Description
Items Array

The ECS Security Group information.


The ECS Security Group information.

NetType String vpc

The network type of the ECS Security Group. Response:

  • vpc
  • classic
RegionId Boolean cn-hangzhou

The ID of the region to which the ECS Security Group belongs.

SecurityGroupId String sg-bpxxxxxxxx

The ID of the ECS security group.

RequestId String Cost

The ID of the request.


Sample requests

http(s):// Action=DescribeSecurityGroupConfiguration
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.