Queries user asset statistics for API Security.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeUserAsset |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the Web Application Firewall (WAF) instance. Note
Call the DescribeInstance operation to query the ID of the WAF instance. |
waf-cn-uax37ijm*** |
| DataType |
string |
Yes |
The type of statistics. Valid values:
|
asset_num |
Days
deprecated
|
string |
No |
The time to query. The value is a UNIX timestamp in seconds. The time is in Coordinated Universal Time (UTC). Important
This parameter is deprecated. |
1723435200 |
| ClusterId |
string |
No |
The ID of the hybrid cloud cluster. Note
This parameter applies only to hybrid cloud scenarios. Call the DescribeHybridCloudClusters operation to query information about hybrid cloud clusters. |
428 |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request. |
C1823E96-EF4B-5BD2-9E02-1D18****3ED8 |
| Assets |
array<object> |
A list of asset statistics. |
|
|
object |
The statistics of an asset. |
||
| AssetNum |
integer |
The number of assets. |
134 |
| TimeStamp |
integer |
The time when the statistics are collected. This value is a UNIX timestamp in seconds. The time is in UTC. |
1723435200 |
Examples
Success response
JSON format
{
"RequestId": "C1823E96-EF4B-5BD2-9E02-1D18****3ED8",
"Assets": [
{
"AssetNum": 134,
"TimeStamp": 1723435200
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.