All Products
Search
Document Center

Cloud Firewall:DescribeAssetStatistic

Last Updated:Mar 13, 2026

Queries performance statistics for assets protected by Cloud Firewall.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

SourceIp

string

No

Source IP address of the requester.

112.239.XX.XX

Lang

string

No

Language for the request and response messages. Valid values:- zh: Chinese- en: English

zh

Lang

string

No

Language for the request and response messages. Valid values:- zh: Chinese- en: English

zh

Response elements

Element

Type

Description

Example

object

Response object.

AutoResourceEnable

boolean

Whether automatic traffic diversion is enabled. Valid values:- true: enabled- false: disabled

RequestId

string

ID of the request.

850A84******25g4d2

ResourceSpecStatistic

object

Resource specification usage statistics.

IpNumUsed

integer

Number of public IP addresses with protection enabled.

10

IpNumSpec

integer

Maximum number of public IP addresses that can be protected.

20

SensitiveDataIpNumSpec

integer

The number of IP specifications for sensitive data.

0

SensitiveDataIpNumUsed

integer

Number of public IP addresses currently scanned for sensitive data.

0

GeneralInstanceSpecStatistic

object

Specifications for general instances in version 2.0.

TotalGeneralInstanceUsedCnt

integer

Total number of general instances used.

1

TotalCfwGeneralInstanceUsedCnt

integer

Number of Internet-facing firewall instances with protection enabled.

1

TotalVfwGeneralInstanceUsedCnt

integer

Number of VPC firewall instances with protection enabled.

1

TotalNatGeneralInstanceUsedCnt

integer

Number of NAT firewall instances with protection enabled.

1

TotalCfwGeneralInstanceCnt

integer

Total number of Internet-facing firewall instances.

1

TotalNatGeneralInstanceCnt

integer

Total number of NAT firewall instances.

1

CfwGeneralInstanceRegionStatistic

array<object>

Internet-facing firewall instance usage by region.

object

Detailed Internet-facing firewall instance usage by region.

RegionNo

string

Region information

cn-hangzhou

MemberList

array

List of member accounts in the region.

string

A member of the region

123

CfwTotalGeneralInstanceRegionStatistic

array<object>

Total Internet-facing firewall instances by region.

object

Detailed total Internet-facing firewall instances by region.

RegionNo

string

Region information

cn-shanghai

MemberList

array

List of member accounts in the region.

string

The members in the region.

123

Examples

Success response

JSON format

{
  "AutoResourceEnable": false,
  "RequestId": "850A84******25g4d2",
  "ResourceSpecStatistic": {
    "IpNumUsed": 10,
    "IpNumSpec": 20,
    "SensitiveDataIpNumSpec": 0,
    "SensitiveDataIpNumUsed": 0
  },
  "GeneralInstanceSpecStatistic": {
    "TotalGeneralInstanceUsedCnt": 1,
    "TotalCfwGeneralInstanceUsedCnt": 1,
    "TotalVfwGeneralInstanceUsedCnt": 1,
    "TotalNatGeneralInstanceUsedCnt": 1,
    "TotalCfwGeneralInstanceCnt": 1,
    "TotalNatGeneralInstanceCnt": 1,
    "CfwGeneralInstanceRegionStatistic": [
      {
        "RegionNo": "cn-hangzhou",
        "MemberList": [
          "123"
        ]
      }
    ],
    "CfwTotalGeneralInstanceRegionStatistic": [
      {
        "RegionNo": "cn-shanghai",
        "MemberList": [
          "123"
        ]
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorParamsNotEnough Parameters are insufficient. Parameters are insufficient.
400 ErrorDbFailed Query db failed. DB access error.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.