查询DDos防护包后付费账单信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-antiddosbag:DescribeDdosOriginInstanceBill |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Type |
string |
否 |
账单类型。取值:
|
function |
| StartTime |
integer |
否 |
查询开始时间戳,单位为毫秒。 |
1711209600410 |
| EndTime |
integer |
否 |
查询结束时间戳,单位为毫秒。时间跨度不能超过 30 天。 |
1711382399410 |
| IsShowList |
boolean |
否 |
是否展示账单详情。 取值:
|
false |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回参数 |
||
| RequestId |
string |
本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。 |
72155560-F343-55C8-82FE-ED4D7E4AA97E |
| Status |
integer |
开通状态。取值:
|
1 |
| DebtStatus |
integer |
欠费状态。取值:
|
0 |
| InstanceId |
string |
要查询的防护包后付费实例 ID。 |
ddosorigin_cn-u7c3lcr9r02 |
| IpCount |
integer |
防护 IP 数量。 |
15 |
| IpInfo |
string |
IP 分布详情。JSON 结构体包含以下字段::
|
{\"eipCnIpCount\":6,\"eipOvIpCount\":17,\"standardAssetsCnIpCount\":2,\"standardAssetsOvIpCount\":0} |
| TotalFlowCn |
integer |
当月 DDoS 防护(增强版)EIP 中国内地总流量,单位:字节。 |
6302081067 |
| TotalFlowOv |
integer |
当月 DDoS 防护(增强版)EIP 国际和港澳台总流量,单位:字节。 |
6204918019 |
| StandardAssetsTotalFlowCn |
integer |
当月标准云产品中国内地总流量。 |
0 |
| StandardAssetsTotalFlowOv |
integer |
当月标准云产品国际和港澳台总流量。 |
0 |
| IpCountOrFunctionList |
array<object> |
防护 IP 数和功能开通列表详情。 |
|
|
object |
防护 IP 数和功能开通列表详情。 |
||
| Coverage |
string |
防护资产区域。取值:
|
global |
| IpCntCn |
integer |
后付费防护中国内地 IP 数量。 |
5 |
| IpCntOv |
integer |
后付费防护国际和港澳台 IP 数量。 |
5 |
| Time |
integer |
账单时间,单位:毫秒。 |
1680278400000 |
| MemberIpCnt |
string |
账单分布的账号。JSON 字段结构如下:
说明
JSON 中 memberUid 为空则表示当前账号信息。 |
[{\"eipCnIpCount\":3,\"eipOvIpCount\":18,\"memberUid\":\"\",\"standardAssetsCnIpCount\":2,\"standardAssetsOvIpCount\":0},{\"eipCnIpCount\":3,\"eipOvIpCount\":0,\"memberUid\":\"1776997906319249\",\"standardAssetsCnIpCount\":0,\"standardAssetsOvIpCount\":0}] |
| FlowList |
array<object> |
DDoS 防护增强版 EIP 流量详情。 |
|
|
object |
ddos 原生防护实例的流量信息。 |
||
| TotalFlow |
integer |
DDoS 防护增强版 EIP 流量,单位为 byte。 |
6302081067 |
| TotalBillFlow |
integer |
标准云产品 IP 总流量 |
6302081067 |
| RegionFlow |
string |
region 对应的流量分布。JSON 字段结构如下:
|
{\"cn-hangzhou\":[{\"bytes\":0,\"instanceId\":\"ddosorigin_cn-u7c3lcr9r02\",\"ip\":\"47.118.168.124\",\"region\":\"cn-hangzhou\"}]} |
| Time |
integer |
时间戳。单位:毫秒。 |
1620951900 |
| MemberFlow |
string |
region 对应的流量分布。JSON 字段结构如下:
说明
JSON 中 memberUid 为空则表示当前账号信息。JSON 最外层 bytes 为总流量,内层 bytes 为账号对应的流量。 |
[{\"bytes\":79282719,\"memberUid\":\"\",\"regionFlows\":{\"cn-hangzhou\":[{\"bytes\":79282719,\"instanceId\":\"ddosorigin_cn-u7c3lcr9r02\",\"ip\":\"47.118.168.57\",\"region\":\"cn-hangzhou\"}]}}] |
| StandardAssetsFlowList |
array<object> |
标准云产品流量信息。 |
|
|
object |
标准云产品流量信息。 |
||
| TotalFlow |
integer |
标准云产品流量,单位为 byte。 |
6302081067 |
| RegionFlow |
string |
region 对应的流量分布。JSON 字段结构如下:
|
{\"cn-hangzhou\":[{\"bytes\":0,\"instanceId\":\"ddosorigin_cn-u7c3lcr9r02\",\"ip\":\"47.118.168.124\",\"region\":\"cn-hangzhou\"}]} |
| Time |
integer |
时间戳,单位毫秒。 |
1679846400000 |
| MemberFlow |
string |
region 对应的流量分布。JSON 字段结构如下:
说明
JSON 中 memberUid 为空则表示当前账号信息。JSON 最外层 bytes 为总流量,内层 bytes 为账号对应的流量。 |
[{\"bytes\":79282719,\"memberUid\":\"\",\"regionFlows\":{\"cn-hangzhou\":[{\"bytes\":79282719,\"instanceId\":\"ddosorigin_cn-u7c3lcr9r02\",\"ip\":\"47.118.168.57\",\"region\":\"cn-hangzhou\"}]}}] |
| FlowRegion |
object |
DDoS 防护(增强版)EIP 的 region 流量分布信息。 |
{'cn-hongkong': 166491566} |
| StandardAssetsFlowRegion |
object |
标准云产品的 region 流量分布信息。 |
{'cn-hongkong': 166491566} |
| AssetStatus |
integer |
资产状态
|
0 |
| MonthlySummaryList |
array<object> |
月度汇总信息列表。 |
|
|
object |
月度汇总信息。 |
||
| Uid |
string |
管理账号 UID。 |
102518028277**** |
| MemberUid |
string |
成员账号 UID。 |
112873971277**** |
| EnableDays |
integer |
开通天数。 |
30 |
| StandardAssetsFlowCn |
integer |
标准云产品中国内地总流量。单位:byte。 |
123456 |
| StandardAssetsFlowIntl |
integer |
标准云产品非中国内地总流量。单位:byte。 |
123456 |
| FlowCn |
integer |
DDoS 防护增强版 EIP 中国内地总流量,单位:byte。 |
123456 |
| FlowIntl |
integer |
DDoS 防护增强版 EIP 非中国内地总流量,单位:byte。 |
123456 |
| IpCountCn |
integer |
中国内地防护 IP 总数。 说明
每天防护 IP 个数累加。 |
28 |
| IpCountIntl |
integer |
非中国内地防护 IP 总数。 说明
每天防护 IP 个数累加。 |
30 |
示例
正常返回示例
JSON格式
{
"RequestId": "72155560-F343-55C8-82FE-ED4D7E4AA97E",
"Status": 1,
"DebtStatus": 0,
"InstanceId": "ddosorigin_cn-u7c3lcr9r02",
"IpCount": 15,
"IpInfo": "{\\\"eipCnIpCount\\\":6,\\\"eipOvIpCount\\\":17,\\\"standardAssetsCnIpCount\\\":2,\\\"standardAssetsOvIpCount\\\":0}",
"TotalFlowCn": 6302081067,
"TotalFlowOv": 6204918019,
"StandardAssetsTotalFlowCn": 0,
"StandardAssetsTotalFlowOv": 0,
"IpCountOrFunctionList": [
{
"Coverage": "global",
"IpCntCn": 5,
"IpCntOv": 5,
"Time": 1680278400000,
"MemberIpCnt": "[{\\\"eipCnIpCount\\\":3,\\\"eipOvIpCount\\\":18,\\\"memberUid\\\":\\\"\\\",\\\"standardAssetsCnIpCount\\\":2,\\\"standardAssetsOvIpCount\\\":0},{\\\"eipCnIpCount\\\":3,\\\"eipOvIpCount\\\":0,\\\"memberUid\\\":\\\"1776997906319249\\\",\\\"standardAssetsCnIpCount\\\":0,\\\"standardAssetsOvIpCount\\\":0}]"
}
],
"FlowList": [
{
"TotalFlow": 6302081067,
"TotalBillFlow": 6302081067,
"RegionFlow": "{\\\"cn-hangzhou\\\":[{\\\"bytes\\\":0,\\\"instanceId\\\":\\\"ddosorigin_cn-u7c3lcr9r02\\\",\\\"ip\\\":\\\"47.118.168.124\\\",\\\"region\\\":\\\"cn-hangzhou\\\"}]}",
"Time": 1620951900,
"MemberFlow": "[{\\\"bytes\\\":79282719,\\\"memberUid\\\":\\\"\\\",\\\"regionFlows\\\":{\\\"cn-hangzhou\\\":[{\\\"bytes\\\":79282719,\\\"instanceId\\\":\\\"ddosorigin_cn-u7c3lcr9r02\\\",\\\"ip\\\":\\\"47.118.168.57\\\",\\\"region\\\":\\\"cn-hangzhou\\\"}]}}]"
}
],
"StandardAssetsFlowList": [
{
"TotalFlow": 6302081067,
"RegionFlow": "{\\\"cn-hangzhou\\\":[{\\\"bytes\\\":0,\\\"instanceId\\\":\\\"ddosorigin_cn-u7c3lcr9r02\\\",\\\"ip\\\":\\\"47.118.168.124\\\",\\\"region\\\":\\\"cn-hangzhou\\\"}]}",
"Time": 1679846400000,
"MemberFlow": "[{\\\"bytes\\\":79282719,\\\"memberUid\\\":\\\"\\\",\\\"regionFlows\\\":{\\\"cn-hangzhou\\\":[{\\\"bytes\\\":79282719,\\\"instanceId\\\":\\\"ddosorigin_cn-u7c3lcr9r02\\\",\\\"ip\\\":\\\"47.118.168.57\\\",\\\"region\\\":\\\"cn-hangzhou\\\"}]}}]"
}
],
"FlowRegion": {
"test": "test",
"test2": 1
},
"StandardAssetsFlowRegion": {
"test": "test",
"test2": 1
},
"AssetStatus": 0,
"MonthlySummaryList": [
{
"Uid": "102518028277****",
"MemberUid": "112873971277****",
"EnableDays": 30,
"StandardAssetsFlowCn": 123456,
"StandardAssetsFlowIntl": 123456,
"FlowCn": 123456,
"FlowIntl": 123456,
"IpCountCn": 28,
"IpCountIntl": 30
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。