Queries statistics information about assets detected by the basic API security feature.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
yundun-waf:DescribeFreeUserAssetCount | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
InstanceId | string | Yes | The ID of the WAF instance. Note Call the DescribeInstance operation to query the ID of the WAF instance. | waf_v3prepaid_public_cn-cs0***** |
RegionId | string | No | The region of the WAF instance. Valid values:
| cn-hangzhou |
ResourceManagerResourceGroupId | string | No | The ID of the resource group. | rg-acfm***q |
Response elements
Parameter | Type | Description | Example |
object | The result of the request. | ||
RequestId | string | The request ID. | 30488BF0-FD58-52DD-B396-D014549F43A3 |
| Asset | object | The statistics information about assets detected by the basic API security feature. | |
AssetCount | integer | The total number of API assets. | 15 |
AssetActive | integer | The number of active APIs. | 34 |
AssetOffline | integer | The number of inactive APIs. | 13 |
Examples
Success response
JSON format
{
"RequestId": "30488BF0-FD58-52DD-B396-D014549F43A3",
"Asset": {
"AssetCount": 15,
"AssetActive": 34,
"AssetOffline": 13
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.