All Products
Search
Document Center

DescribeBizFlow

Last Updated: Nov 02, 2018

Describes the inbound and outbound data transfer speeds for a specific time period, in Kbps.

Request parameters

For information about parameters that are common to all actions, see Common parameters. The following table describes data that is accepted by the request.

Name Type Required Description
StartTime Long Yes The start time for the query, in seconds, in timestamp format.
EndTime Long Yes The end time for the query, in seconds, in timestamp format.
Ip String Yes The Anti-DDoS Pro IP to be queried.

Response parameters

If the action is successful, the service returns an HTTP 200 response. The following table describes the response parameters.

Name Type Description
RequestId String The unique identifier (ID) for this request.
Data Object The data transfer speed object. For a structure description, see Data.
Note: You can use this result to generate charts.

Data

Name Type Description
InKbps List A list of the inbound data transfer speed at each time point. The unit is Kbps.
Note: The time point is calculated based on TimeScope.
OutKbps List A list of the outbound data transfer speed at each time point. The unit is Kbps.
Note: The time point is calculated based on TimeScope.
TimeScope Object The time point object. For a structure description, see TimeScope.

TimeScope

Name Type Description
StartTime Long The start time, in seconds, in timestamp format.
Interval Integer The interval between two adjacent time points, in seconds.

Example

Request example

  1. https://ddospro.cn-hangzhou.aliyuncs.com/?Action=DescribeBizFlow
  2. &StartTime=1536891600
  3. &EndTime=1536893404
  4. &Ip=1.1.1.1
  5. &public parameters

Response example

  • JSON format

    1. {
    2. "RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E",
    3. "Data": {
    4. "InKbps": [0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 1, 2, 0, 1, 0, 0, 0, 2, 1, 0, 1, 0, 0, 0, 1, 0],
    5. "TimeScope": {
    6. "Interval": 60,
    7. "StartTime": 1536891600
    8. },
    9. "OutKbps": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
    10. }
    11. }