DescribeAssetStatistic - 获取资产统计信息

查询云防火墙防护的资产的统计信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

SourceIp

string

访问者源 IP 地址。

112.239.XX.XX

Lang

string

指定请求和接收消息的语言类型。-zh:中文-en:英文

zh

Lang

string

指定请求和接收消息的语言类型。-zh:中文-en:英文

zh

返回参数

名称

类型

描述

示例值

object

返回对象

RequestId

string

结果的请求 id。

850A84******25g4d2

ResourceSpecStatistic

object

规格占用统计信息。

IpNumUsed

integer

公网 IP 开启保护数。

10

IpNumSpec

integer

公网 IP 保护规格数。

20

SensitiveDataIpNumSpec

integer

敏感数据 IP 规格数。

0

SensitiveDataIpNumUsed

integer

敏感数据 IP 开启数。

0

GeneralInstanceSpecStatistic

object

售卖 2.0 通用实例规格

TotalGeneralInstanceUsedCnt

integer

总规格

1

TotalCfwGeneralInstanceUsedCnt

integer

互联网墙开启实例数量

1

TotalVfwGeneralInstanceUsedCnt

integer

vpc 墙开启实例数量

1

TotalNatGeneralInstanceUsedCnt

integer

nat 墙开启实例数量

1

TotalCfwGeneralInstanceCnt

integer

互联网墙所有实例数量

1

TotalNatGeneralInstanceCnt

integer

nat 墙所有实例数量

1

CfwGeneralInstanceRegionStatistic

array<object>

互联网墙地域规格统计

object

互联网墙地域规格统计详情

RegionNo

string

地域信息

cn-hangzhou

MemberList

array

地域成员列表

string

地域成员

123

示例

正常返回示例

JSON格式

{
  "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"
        ]
      }
    ]
  }
}

错误码

HTTP status code

错误码

错误信息

描述

400 ErrorParamsNotEnough Parameters are insufficient. 参数不足
400 ErrorDbFailed Query db failed. DB访问错误。

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情