获取流量统计列表。
接口说明
入参 JsonConfig 是一个非常复杂的 JSON 配置,为此我们提供了辅助工具类帮助具体配置示例,请参考 Demo 。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-sas:ListTrafficStatistics |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
否 |
威胁分析的数据管理中心所在地。您需要根据资产所在地域,选择管理中心所在地。取值:
|
cn-hangzhou |
| Lang |
string |
否 |
返回消息的语言类型。取值:
|
zh |
| RoleFor |
integer |
否 |
管理员切换成其他成员视角的用户 ID。 |
173326******* |
| TrafficStatisticPeriod |
string |
否 |
统计周期。 |
30 |
| TrafficStatisticPeriodType |
string |
否 |
统计粒度。取值:
|
day |
| TrafficStatisticType |
string |
否 |
统计维度。取值:
|
Region |
| ProductId |
string |
否 |
产品 ID。 |
alibaba_cloud_sas |
| RegionTag |
integer |
否 |
地域。 |
1 |
| LogUserIds |
array |
否 |
数据批量接入用户 ID 列表。 |
|
|
integer |
否 |
数据批量接入用户 ID。 |
173326******* |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回体。 |
||
| RequestId |
string |
请求消息 ID。 |
6276D891-*****-55B2-87B9-74D413F7**** |
| TrafficStatistics |
array<object> |
流量统计列表。 |
|
|
array<object> |
流量统计。 |
||
| TrafficStatisticTarget |
string |
统计目标。 |
all |
| TrafficStatisticData |
array<object> |
统计信息。 |
|
|
object |
流量信息。 |
||
| TrafficStatisticTime |
integer |
统计时间。 |
20250815 |
| TrafficStatisticValue |
number |
统计值。 |
1.699814 |
示例
正常返回示例
JSON格式
{
"RequestId": "6276D891-*****-55B2-87B9-74D413F7****",
"TrafficStatistics": [
{
"TrafficStatisticTarget": "all",
"TrafficStatisticData": [
{
"TrafficStatisticTime": 20250815,
"TrafficStatisticValue": 1.699814
}
]
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。