For the complete documentation index, see llms.txt. This page is also available as Markdown.

DescribeEipTraffic

1. API Description

This API (DescribeEipTraffic) is used to query the traffic monitoring data of the specified elastic IP within a given time range. Supports data aggregation by statistical granularity (step) and filtering by outbound public IP.

2. Input Parameters

The following request parameter list only provides API request parameters.

Parameter Name
Required
Type
Description

eipId

Yes

String

ID of the elastic IP.

startTime

Yes

String

Start time.

Use UTC time according to the ISO8601 standard. Format: YYYY-MM-ddTHH:mm:ssZ .

endTime

Yes

String

End time.

Use UTC time according to the ISO8601 standard. Format: YYYY-MM-ddTHH:mm:ssZ .

step

No

Integer

Time duration.

Default value: 5 minutes;

Supported values: 1 or 5 minutes.

Default value: 5

wanIp

No

String

Query traffic by a specified IP address.

direction

No

Traffic direction.

3. Output Parameters

Parameter Name
Type
Description

requestId

String

The unique request ID, which is returned for each request.

RequestId is required for locating a problem.

dataList

List of bandwidth data.

in95

Integer

Inbound burstable 95th bandwidth.

inAvg

Integer

Average value of inbound bandwidth.

inMax

Integer

Maximum value of inbound bandwidth.

inMin

Integer

Minimum value of inbound bandwidth.

inTotal

Integer

Total data transfer of inbound bandwidth.

out95

Integer

Outbound burstable 95th bandwidth.

outAvg

Integer

Average value of outbound bandwidth.

outMax

Integer

Maximum value of outbound bandwidth.

outMin

Integer

Minimum value of outbound bandwidth.

outTotal

Integer

Total data transfer of outbound bandwidth.

4. Code Example

Query the traffic of an elastic IP in a specified time range.

5. Developer Resources

Zenlayer Cloud API 2.0 integrates SDKs,to make it easier for you to call APIs. More programming languages will be supported.

6. Error Codes

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

HTTP Status Code
Error Code
Description

400

INVALID_TIME_RANGE

The query time range is invalid.

400

OPERATION_DENIED_TIME_STEP_NOT_SUPPORT

Data point intervals are not supported.

400

OPERATION_DENIED_EIP_DIRECTION_NOT_SUPPORTED

The direction parameter is only valid for PathBasedBandwidthIP type EIPs.

Last updated