You can call this operation to retrieve the statistics of queries for the previous day.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeStatisticSummary | The operation that you want to perform. Set the value to DescribeStatisticSummary. |
Lang | String | No | zh | The language of the specific content returned in the response. |
UserClientIp | String | No | 127.0.0.1 | The IP address of the client. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | A73F3BD0-B1A8-42A9-A9B6-689BBABC4891 | The ID of the request. |
TotalCount | Long | 2254 | The total number of the queries received on the previous day. |
VpcRequestTops | Array | The top 3 Virtual Private Clouds (VPCs) based on the number of received queries. | |
VpcRequestTop | The information about a VPC. | ||
RegionId | String | cn-beijing | The ID of the region. |
RegionName | String | China North 2 | The name of the region. |
RequestCount | Long | 2254 | The number of the queries. |
TunnelId | String | 46574 | The ID of the tunnel. |
VpcId | String | vpc-2zeisd8c0j6wk1451jr6o | The ID of the VPC. |
ZoneRequestTops | Array | The top 3 private zones based on the number of received queries. | |
ZoneRequestTop | The information about a private zone. | ||
RequestCount | Long | 2251 | The number of the queries. |
ZoneName | String | host.local | The name of the private zone. |
Examples
Sample requests
http(s)://pvtz.aliyuncs.com/? Action=DescribeStatisticSummary&<Common request parameters>
Sample success responses
XML
format
<DescribeStatisticSummaryResponse> <ZoneRequestTops> <ZoneRequestTop> <ZoneName>host.local</ZoneName> <RequestCount>2251</RequestCount> </ZoneRequestTop> <ZoneRequestTop> <ZoneName>foo.abc.com</ZoneName> <RequestCount>3</RequestCount> </ZoneRequestTop> </ZoneRequestTops> <TotalCount>2254</TotalCount> <VpcRequestTops> <VpcRequestTop> <RegionName>China North 2</RegionName> <RegionId>cn-beijing</RegionId> <RequestCount>2254</RequestCount> <TunnelId>46574</TunnelId> <VpcId>vpc-2zeisd8c0j6wk1451jr6o</VpcId> </VpcRequestTop> </VpcRequestTops> <RequestId>A73F3BD0-B1A8-42A9-A9B6-689BBABC4891</RequestId></DescribeStatisticSummaryResponse>
JSON
format
{“ZoneRequestTops”:{“ZoneRequestTop”:[{“ZoneName”:”host.local”,“RequestCount”:2251},{“ZoneName”:”foo.abc.com”,“RequestCount”:3}]},“TotalCount”:2254,“VpcRequestTops”:{“VpcRequestTop”:[{“RegionName”:”China North 2”,“RegionId”:”cn-beijing”,“RequestCount”:2254,“TunnelId”:”46574”,“VpcId”:”vpc-2zeisd8c0j6wk1451jr6o”}]},“RequestId”:”A73F3BD0-B1A8-42A9-A9B6-689BBABC4891”}
Error codes
For a list of error codes, visit the API Error Center.