DescribeDdosOriginInstanceBill
Queries the bill of an Anti-DDoS Origin (Pay-as-you-go) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-antiddosbag:DescribeDdosOriginInstanceBill |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The bill type. Valid values:
|
function |
| StartTime |
integer |
No |
The beginning of the time range to query. The value is a timestamp. Unit: milliseconds. |
1711209600410 |
| EndTime |
integer |
No |
The end of the time range to query. The value is a timestamp. Unit: milliseconds. The time span between StartTime and EndTime cannot exceed 30 days. |
1711382399410 |
| IsShowList |
boolean |
No |
Specifies whether to display the bill details. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
72155560-F343-55C8-82FE-ED4D7E4AA97E |
| Status |
integer |
The instance status. Valid values:
|
1 |
| DebtStatus |
integer |
The payment status. Valid values:
|
0 |
| InstanceId |
string |
The ID of the Anti-DDoS Origin (Pay-as-you-go) instance to query. |
ddosorigin_cn-u7c3lcr9r02 |
| IpCount |
integer |
The number of protected IP addresses. |
15 |
| IpInfo |
string |
The IP address distribution. The JSON struct contains the following fields:
|
{\"eipCnIpCount\":6,\"eipOvIpCount\":17,\"standardAssetsCnIpCount\":2,\"standardAssetsOvIpCount\":0} |
| TotalFlowCn |
integer |
The total traffic of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland in the current month. Unit: bytes. |
6302081067 |
| TotalFlowOv |
integer |
The total traffic of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland in the current month. Unit: bytes. |
6204918019 |
| StandardAssetsTotalFlowCn |
integer |
The total traffic of regular Alibaba Cloud services in the Chinese mainland in the current month. |
0 |
| StandardAssetsTotalFlowOv |
integer |
The total traffic of regular Alibaba Cloud services outside the Chinese mainland in the current month. |
0 |
| IpCountOrFunctionList |
array<object> |
The protected IP addresses and enabled features. |
|
|
object |
The protected IP addresses and enabled features. |
||
| Coverage |
string |
The application scope of the instance. Valid values:
|
global |
| IpCntCn |
integer |
The number of IP addresses protected by the pay-as-you-go instance in the Chinese mainland. |
5 |
| IpCntOv |
integer |
The number of IP addresses protected by the pay-as-you-go instance outside the Chinese mainland. |
5 |
| Time |
integer |
The billing time. Unit: milliseconds. |
1680278400000 |
| MemberIpCnt |
string |
The bill distribution by account. The JSON struct contains the following fields:
Note
If the memberUid field in the JSON struct is empty, the information about the current account is returned. |
[{\"eipCnIpCount\":3,\"eipOvIpCount\":18,\"memberUid\":\"\",\"standardAssetsCnIpCount\":2,\"standardAssetsOvIpCount\":0},{\"eipCnIpCount\":3,\"eipOvIpCount\":0,\"memberUid\":\"1776997906319249\",\"standardAssetsCnIpCount\":0,\"standardAssetsOvIpCount\":0}] |
| FlowList |
array<object> |
The details about the traffic of EIPs with Anti-DDoS (Enhanced) enabled. |
|
|
object |
The information about the traffic of the Anti-DDoS Origin instance. |
||
| TotalFlow |
integer |
The traffic of EIPs with Anti-DDoS (Enhanced) enabled. Unit: bytes. |
6302081067 |
| TotalBillFlow |
integer |
The total IP traffic of regular Alibaba Cloud services. |
6302081067 |
| RegionFlow |
string |
The traffic distribution by region. The JSON struct contains the following fields:
|
{\"cn-hangzhou\":[{\"bytes\":0,\"instanceId\":\"ddosorigin_cn-u7c3lcr9r02\",\"ip\":\"47.118.168.124\",\"region\":\"cn-hangzhou\"}]} |
| Time |
integer |
The timestamp. Unit: milliseconds. |
1620951900 |
| MemberFlow |
string |
The traffic distribution by region. The JSON struct contains the following fields:
Note
If the memberUid field in the JSON struct is empty, the information about the current account is returned. The value of the bytes parameter in the outermost level of the JSON struct indicates the total traffic, and the values of the bytes parameters in inner levels indicate the traffic of the account. |
[{\"bytes\":79282719,\"memberUid\":\"\",\"regionFlows\":{\"cn-hangzhou\":[{\"bytes\":79282719,\"instanceId\":\"ddosorigin_cn-u7c3lcr9r02\",\"ip\":\"47.118.168.57\",\"region\":\"cn-hangzhou\"}]}}] |
| StandardAssetsFlowList |
array<object> |
The details about the traffic of regular Alibaba Cloud services. |
|
|
object |
The details about the traffic of a regular Alibaba Cloud service. |
||
| TotalFlow |
integer |
The traffic of regular Alibaba Cloud services. Unit: bytes. |
6302081067 |
| RegionFlow |
string |
The traffic distribution by region. The JSON struct contains the following fields:
|
{\"cn-hangzhou\":[{\"bytes\":0,\"instanceId\":\"ddosorigin_cn-u7c3lcr9r02\",\"ip\":\"47.118.168.124\",\"region\":\"cn-hangzhou\"}]} |
| Time |
integer |
The timestamp. Unit: milliseconds. |
1679846400000 |
| MemberFlow |
string |
The traffic distribution by region. The JSON struct contains the following fields:
Note
If the memberUid field in the JSON struct is empty, the information about the current account is returned. The value of the bytes parameter in the outermost level of the JSON struct indicates the total traffic, and the values of the bytes parameters in inner levels indicate the traffic of the account. |
[{\"bytes\":79282719,\"memberUid\":\"\",\"regionFlows\":{\"cn-hangzhou\":[{\"bytes\":79282719,\"instanceId\":\"ddosorigin_cn-u7c3lcr9r02\",\"ip\":\"47.118.168.57\",\"region\":\"cn-hangzhou\"}]}}] |
| FlowRegion |
object |
The traffic distribution of EIPs with Anti-DDoS (Enhanced) enabled by region. |
{'cn-hongkong': 166491566} |
| StandardAssetsFlowRegion |
object |
The traffic distribution of regular Alibaba Cloud services by region. |
{'cn-hongkong': 166491566} |
| AssetStatus |
integer |
The asset status.
|
0 |
| MonthlySummaryList |
array<object> |
The information about the monthly summary bills. |
|
|
object |
The information about the monthly summary bill. |
||
| Uid |
string |
The ID of the administrator account. |
102518028277**** |
| MemberUid |
string |
The ID of the member. |
112873971277**** |
| EnableDays |
integer |
The number of days that the instance is activated. |
30 |
| StandardAssetsFlowCn |
integer |
The total traffic of regular Alibaba Cloud services in the Chinese mainland. Unit: bytes. |
123456 |
| StandardAssetsFlowIntl |
integer |
The total traffic of regular Alibaba Cloud services outside the Chinese mainland. Unit: bytes. |
123456 |
| FlowCn |
integer |
The total traffic of EIPs with Anti-DDoS (Enhanced) enabled in the Chinese mainland. Unit: bytes. |
123456 |
| FlowIntl |
integer |
The total traffic of EIPs with Anti-DDoS (Enhanced) enabled outside the Chinese mainland. Unit: bytes. |
123456 |
| IpCountCn |
integer |
The total number of protected IP addresses in the Chinese mainland. Note
The total number of protected IP addresses is the sum of the daily numbers of protected IP addresses in a month. |
28 |
| IpCountIntl |
integer |
The total number of protected IP addresses outside the Chinese mainland. Note
The total number of protected IP addresses is the sum of the daily numbers of protected IP addresses in a month. |
30 |
Examples
Success response
JSON format
{
"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
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.