ListVccFlowInfos

Updated at:

Queries the traffic rate information of a Lingjun connection.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eflo:ListVccFlowInfos

list

*Vcc

acs:eflo:{#regionId}:{#accountId}:Vcc/{#VccId}

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-wulanchabu

VccId

string

No

The Lingjun connection ID.

Note

This parameter is actually required. If it is not provided, the API returns error code 1006 (the vccId parameter is empty).

vcc-cn-zvp2******

MetricName

string

No

The metric name.

Valid values:

  • totalPacketsRate :

    total packet rate.

  • dropBytesRate :

    dropped byte rate.

  • dropPacketsRate :

    dropped packet rate.

  • totalBytesRate :

    total byte rate.

  • passBytesRate :

    passed byte rate.

  • passPacketsRate :

    passed packet rate.

passBytesRate

Direction

string

No

The direction.

Valid values:

  • IN :

    inbound.

  • OUT :

    outbound.

OUT

From

integer

No

The start time. Default value: 5 minutes ago.

1667727514000

To

integer

No

The end time. Default value: current time.

1689749749000

Response elements

Element

Type

Description

Example

object

AjaxResult<PageResult>

Code

integer

The response code.

0

Message

string

The response message.

Success

RequestId

string

The request ID.

BDBCC783-84CA-5733-8EEA-************

Content

object

The returned result.

Total

integer

The total number of records.

1

Data

array<object>

The traffic information of the Lingjun connection.

object

RegionId

string

The region ID.

cn-wulanchabu

VccId

string

The Lingjun connection ID.

vcc-cn-zvp2w******

MetricName

string

The metric.

passBytesRate

Direction

string

The direction.

OUT

Timestamp

integer

The collection time of the data point, which is a millisecond-level UNIX timestamp (13 digits).

1689749749000

Value

number

The value.

123

AccessDeniedDetail

string

The detailed reason for the access denial.

None

Examples

Success response

JSON format

{
  "Code": 0,
  "Message": "Succeeded",
  "RequestId": "BDBCC783-84CA-5733-8EEA-************",
  "Content": {
    "Total": 1,
    "Data": [
      {
        "RegionId": "cn-wulanchabu",
        "VccId": "vcc-cn-zvp2w******",
        "MetricName": "passBytesRate",
        "Direction": "OUT",
        "Timestamp": 1689749749000,
        "Value": 123
      }
    ]
  },
  "AccessDeniedDetail": "None"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.