Domain name for API request: vpc.tencentcloudapi.com.
This API (DescribeSecurityGroupAssociationStatistics) is used to query statistics on the instances associated with a security group.
A maximum of 100 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeSecurityGroupAssociationStatistics. |
Version | Yes | String | Common Params. The value used for this API: 2017-03-12. |
Region | No | String | Common Params. This parameter is not required for this API. |
SecurityGroupIds.N | Yes | Array of String | The Security instance ID, such as sg-33ocnj9n . It can be obtained through DescribeSecurityGroups. |
Parameter Name | Type | Description |
---|---|---|
SecurityGroupAssociationStatisticsSet | Array of SecurityGroupAssociationStatistics | Statistics on the instances associated with a security group. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://vpc.tencentcloudapi.com/?Action=DescribeSecurityGroupAssociationStatistics
&Version=2017-03-12
&SecurityGroupIds.0=sg-ohuuioma
&SecurityGroupIds.1=sg-2quou3gv
&<Common request parameters>
{
"Response": {
"SecurityGroupAssociationStatisticsSet": [
{
"SecurityGroupId": "sg-2quou3gv",
"CDB": 0,
"CVM": 0,
"ENI": 0,
"SG": 0,
"CLB": 0,
"TotalCount": 0
},
{
"SecurityGroupId": "sg-05bb4upy",
"CDB": 0,
"CVM": 1,
"ENI": 1,
"SG": 2,
"CLB": 1,
"TotalCount": 3
}
]
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidParameterValue.LimitExceeded | The parameter value exceeds the limit. |
InvalidParameterValue.Malformed | Invalid input parameter format. |
ResourceNotFound | The resource does not exist. |
UnsupportedOperation | Unsupported operation. |
本页内容是否解决了您的问题?