Queries API security user asset statistics.
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 |
Instance ID of the WAF instance. Note
You can call the DescribeInstance operation to query instance ID of the WAF instance. |
waf-cn-uax37ijm*** |
| DataType |
string |
Yes |
The type of statistics. Valid values:
|
asset_num |
Days
deprecated
|
string |
No |
The query time in UNIX timestamp format (UTC). Unit: seconds. 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. You can call the DescribeHybridCloudClusters operation to obtain hybrid cloud cluster information. |
428 |
| RegionId |
string |
No |
The region where the WAF instance is deployed. 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 response. |
||
| RequestId |
string |
The request ID. |
C1823E96-EF4B-5BD2-9E02-1D18****3ED8 |
| Assets |
array<object> |
The list of asset statistics. |
|
|
object |
The asset statistics information. |
||
| AssetNum |
integer |
The number of statistics. |
134 |
| TimeStamp |
integer |
The time of the statistics in UNIX timestamp format (UTC). Unit: seconds. |
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.