All Products
Search
Document Center

Cloud Firewall:DescribeUserAssetIPTrafficInfo

Last Updated:Sep 02, 2024

Queries the information about the traffic of a specified asset that belongs to your Alibaba Cloud account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-cloudfirewall:DescribeUserAssetIPTrafficInfoget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the response. Valid values:

  • zh (default): Chinese
  • en: English
zh
AssetIPstringYes

The IP address of the asset.

192.0.XX.XX
TrafficTimestringYes

The time range to query. The value is a UNIX timestamp. Unit: seconds.

1656923760

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

F0F82705-CFC7-5F83-86C8-A063892F****
StartTimelong

The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.

1656837360
EndTimelong

The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.

1656923760
InBpslong

The network throughput, which indicates the inbound traffic rate. Unit: bit/s.

4520
OutBpslong

The network throughput, which indicates the outbound traffic rate. Unit: bit/s.

4180
InPpslong

The inbound network throughput, which indicates the number of packets that are sent inbound per second. Unit: packets per second (pps).

233
OutPpslong

The outbound network throughput, which indicates the number of packets that are sent outbound per second. Unit: pps.

224
SessionCountlong

The number of requests.

50
NewConnlong

The new connection creation rate.

43

Examples

Sample success responses

JSONformat

{
  "RequestId": "F0F82705-CFC7-5F83-86C8-A063892F****",
  "StartTime": 1656837360,
  "EndTime": 1656923760,
  "InBps": 4520,
  "OutBps": 4180,
  "InPps": 233,
  "OutPps": 224,
  "SessionCount": 50,
  "NewConn": 43
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-07-07The response structure of the API has changedView Change Details
2022-07-07Add OperationView Change Details