DescribePortTraffic
DescribePortTraffic
1. API Description
This API is used to query port bandwidth information in the specified date range.
2. Input Parameters
The following request parameter list only provides API request parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
portId | Yes | String | Port ID. |
startTime | Yes | Start time. Use UTC time according to the ISO8601 standard. Format: | |
endTime | Yes | End time. Use UTC time according to the ISO8601 standard. Format: |
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 | Array of TrafficData | List of bandwidth data. |
in95 | Float | 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. |
unit | String | Unit of bandwidth. For example, |
4. Code Example
Query the bandwidth information of the instance in one day.
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
No error codes related to the API business logic. For other error codes, see Common Error Codes.
Last updated