查询云防火墙防护的资产的统计信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
yundun-cloudfirewall:DescribeAssetStatistic |
get |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
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 |
||
TotalGeneralInstanceUsedCnt |
integer |
1 |
|
TotalCfwGeneralInstanceUsedCnt |
integer |
1 |
|
TotalVfwGeneralInstanceUsedCnt |
integer |
1 |
|
TotalNatGeneralInstanceUsedCnt |
integer |
1 |
|
TotalCfwGeneralInstanceCnt |
integer |
1 |
|
TotalNatGeneralInstanceCnt |
integer |
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访问错误。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。