All Products
Search
Document Center

Cloud Firewall:DescribeACLProtectTrend

Last Updated:Sep 02, 2024

Queries the statistics on the requests that are blocked by the access control list (ACL) feature.

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:DescribeACLProtectTrendget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

This parameter is deprecated.

223.95.87.130
LangstringNo

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

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

The beginning of the time range to query. The value is a UNIX timestamp that is accurate to seconds.

1677050306
EndTimestringNo

The end of the time range to query. The value is a UNIX timestamp that is accurate to seconds.

1670397599

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

9063AB86-6FFA-5B2D-A16D-697C966DECA3
Intervalinteger

The interval for returning data. Unit: seconds.

86400
TotalProtectCntlong

The total number of requests that are blocked by the ACL feature.

300
InProtectCntlong

The number of internal requests that are blocked by the ACL feature.

100
InterVPCProtectCntlong

This parameter is deprecated.

0
OutProtectCntlong

The number of external requests that are blocked by the ACL feature.

200
TrendListarray<object>

The statistics on the requests that are blocked by the ACL feature.

object
Timelong

The UNIX timestamp at midnight (00:00:00) of each day, which indicates the date of the current day. Unit: seconds.

1697299200
ProtectCntinteger

The number of requests that are blocked by ACL on the current day.

100

Examples

Sample success responses

JSONformat

{
  "RequestId": "9063AB86-6FFA-5B2D-A16D-697C966DECA3",
  "Interval": 86400,
  "TotalProtectCnt": 300,
  "InProtectCnt": 100,
  "InterVPCProtectCnt": 0,
  "OutProtectCnt": 200,
  "TrendList": [
    {
      "Time": 1697299200,
      "ProtectCnt": 100
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400ErrorAliUidAliuid invalid.The aliuid is invalid.
400ErrorDBSelectErrorA database select error occurred.The error message returned because an internal error has occurred in querying the database.

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

Change history

Change timeSummary of changesOperation
2024-08-26API Description Update. The Error code has changedView Change Details