Mengkueri tren aset API yang terdeteksi oleh modul keamanan API Web Application Firewall (WAF).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeApisecAssetTrend |
get |
*全部资源
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID Instans WAF. Catatan
Panggil operasi DescribeInstance untuk mengkueri ID Instans WAF. |
waf_v2_public_cn-ww**b06 |
| ClusterId |
string |
No |
ID Kluster WAF Cloud Hibrida. Catatan
Parameter ini hanya berlaku untuk skenario Cloud Hibrida. Panggil operasi DescribeHybridCloudClusters untuk mengkueri ID Kluster WAF Cloud Hibrida. |
590 |
| StartTime |
integer |
No |
Awal rentang pengatur waktu yang akan dikueri. Nilai ini adalah Stempel waktu UNIX. Unit: milidetik. |
1668496310000 |
| EndTime |
integer |
No |
Akhir rentang pengatur waktu yang akan dikueri. Nilai ini adalah Stempel waktu UNIX. Unit: milidetik. |
1668496310000 |
| RegionId |
string |
No |
Wilayah tempat Instans WAF berada. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-aek**7uq |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
D7861F61-5B61-46CE-A47C-6B19****5EB0 |
| Data |
array<object> |
The API asset trend data. |
|
|
object |
The details of a data point in the API asset trend. |
||
| AssetOffline |
integer |
The number of inactive APIs. |
20 |
| AssetCount |
integer |
The total number of API assets. |
80 |
| Timestamp |
integer |
The timestamp of the data point. This value is a UNIX timestamp. Unit: seconds. |
1683600042 |
| AssetActive |
integer |
The number of active APIs. |
60 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19****5EB0",
"Data": [
{
"AssetOffline": 20,
"AssetCount": 80,
"Timestamp": 1683600042,
"AssetActive": 60
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.