调用DescribeStatisticSummary获取昨日请求量概要。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| Action | String | 是 | DescribeStatisticSummary |
系统规定参数。取值:DescribeStatisticSummary。 |
| Lang | String | 否 | zh |
语言 |
| UserClientIp | String | 否 | 127.0.0.1 |
用户Ip |
返回数据
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| RequestId | String | A73F3BD0-B1A8-42A9-A9B6-689BBABC4891 |
请求ID |
| TotalCount | Long | 2254 |
昨日请求总量 |
| VpcRequestTops | Array |
VPC请求量TOP3 |
|
| VpcRequestTop |
VPC请求量TOP3 |
||
| RegionId | String | cn-beijing |
地域ID |
| RegionName | String | 华北 2 |
地域名称 |
| RequestCount | Long | 2254 |
请求量 |
| TunnelId | String | 46574 |
隧道编号 |
| VpcId | String | vpc-2zeisd8c0j6wk1451jr6o |
VPC ID |
| ZoneRequestTops | Array |
Zone请求量TOP3 |
|
| ZoneRequestTop |
Zone请求量TOP3 |
||
| RequestCount | Long | 2251 |
请求量 |
| ZoneName | String | host.local |
zone名称 |
示例
请求示例
http(s)://pvtz.aliyuncs.com/?Action=DescribeStatisticSummary
&<公共请求参数>
正常返回示例
XML 格式
<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>华北 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 格式
{
"ZoneRequestTops":{
"ZoneRequestTop":[
{
"ZoneName":"host.local",
"RequestCount":2251
},
{
"ZoneName":"foo.abc.com",
"RequestCount":3
}
]
},
"TotalCount":2254,
"VpcRequestTops":{
"VpcRequestTop":[
{
"RegionName":"华北 2",
"RegionId":"cn-beijing",
"RequestCount":2254,
"TunnelId":"46574",
"VpcId":"vpc-2zeisd8c0j6wk1451jr6o"
}
]
},
"RequestId":"A73F3BD0-B1A8-42A9-A9B6-689BBABC4891"
}
错误码
访问错误中心查看更多错误码。