@alicloud/esa20240910 3.4.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/dist/client.d.ts +238 -134
  2. package/dist/client.js +389 -134
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchCreateWafRulesRequest.d.ts +24 -19
  5. package/dist/models/BatchCreateWafRulesRequest.js.map +1 -1
  6. package/dist/models/BatchCreateWafRulesResponseBody.d.ts +2 -2
  7. package/dist/models/BatchCreateWafRulesShrinkRequest.d.ts +24 -19
  8. package/dist/models/BatchCreateWafRulesShrinkRequest.js.map +1 -1
  9. package/dist/models/BatchUpdateWafRulesRequest.d.ts +25 -19
  10. package/dist/models/BatchUpdateWafRulesRequest.js.map +1 -1
  11. package/dist/models/BatchUpdateWafRulesShrinkRequest.d.ts +25 -19
  12. package/dist/models/BatchUpdateWafRulesShrinkRequest.js.map +1 -1
  13. package/dist/models/CommitRoutineStagingCodeRequest.d.ts +1 -1
  14. package/dist/models/CreateClientCertificateRequest.d.ts +4 -4
  15. package/dist/models/CreateClientCertificateResponseBody.d.ts +9 -9
  16. package/dist/models/CreateListRequest.d.ts +6 -4
  17. package/dist/models/CreateListRequest.js.map +1 -1
  18. package/dist/models/CreateListResponseBody.d.ts +1 -1
  19. package/dist/models/CreateListShrinkRequest.d.ts +6 -4
  20. package/dist/models/CreateListShrinkRequest.js.map +1 -1
  21. package/dist/models/CreateLoadBalancerRequest.d.ts +70 -83
  22. package/dist/models/CreateLoadBalancerRequest.js.map +1 -1
  23. package/dist/models/CreateLoadBalancerResponseBody.d.ts +2 -2
  24. package/dist/models/CreateLoadBalancerShrinkRequest.d.ts +24 -29
  25. package/dist/models/CreateLoadBalancerShrinkRequest.js.map +1 -1
  26. package/dist/models/CreatePageRequest.d.ts +33 -6
  27. package/dist/models/CreatePageRequest.js.map +1 -1
  28. package/dist/models/CreatePageResponseBody.d.ts +1 -1
  29. package/dist/models/CreatePageShrinkRequest.d.ts +33 -6
  30. package/dist/models/CreatePageShrinkRequest.js.map +1 -1
  31. package/dist/models/CreateRoutineRouteRequest.d.ts +4 -4
  32. package/dist/models/CreateUserWafRulesetRequest.d.ts +28 -19
  33. package/dist/models/CreateUserWafRulesetRequest.js.map +1 -1
  34. package/dist/models/CreateUserWafRulesetResponseBody.d.ts +2 -2
  35. package/dist/models/CreateUserWafRulesetShrinkRequest.d.ts +28 -19
  36. package/dist/models/CreateUserWafRulesetShrinkRequest.js.map +1 -1
  37. package/dist/models/CreateWafRuleRequest.d.ts +15 -16
  38. package/dist/models/CreateWafRuleRequest.js.map +1 -1
  39. package/dist/models/CreateWafRuleResponseBody.d.ts +2 -2
  40. package/dist/models/CreateWafRuleShrinkRequest.d.ts +15 -16
  41. package/dist/models/CreateWafRuleShrinkRequest.js.map +1 -1
  42. package/dist/models/DescribePurgeTasksRequest.d.ts +8 -7
  43. package/dist/models/DescribePurgeTasksRequest.js.map +1 -1
  44. package/dist/models/DescribePurgeTasksResponseBody.d.ts +7 -7
  45. package/dist/models/DescribeRatePlanPriceGapRequest.d.ts +2 -4
  46. package/dist/models/DescribeRatePlanPriceGapRequest.js.map +1 -1
  47. package/dist/models/DescribeRatePlanPriceGapResponseBody.d.ts +1 -1
  48. package/dist/models/DescribeSiteWafTimeSeriesDataRequest.d.ts +89 -0
  49. package/dist/models/DescribeSiteWafTimeSeriesDataRequest.js +93 -0
  50. package/dist/models/DescribeSiteWafTimeSeriesDataRequest.js.map +1 -0
  51. package/dist/models/DescribeSiteWafTimeSeriesDataResponse.d.ts +19 -0
  52. package/dist/models/DescribeSiteWafTimeSeriesDataResponse.js +69 -0
  53. package/dist/models/DescribeSiteWafTimeSeriesDataResponse.js.map +1 -0
  54. package/dist/models/DescribeSiteWafTimeSeriesDataResponseBody.d.ts +188 -0
  55. package/dist/models/DescribeSiteWafTimeSeriesDataResponseBody.js +152 -0
  56. package/dist/models/DescribeSiteWafTimeSeriesDataResponseBody.js.map +1 -0
  57. package/dist/models/DescribeSiteWafTimeSeriesDataShrinkRequest.d.ts +62 -0
  58. package/dist/models/DescribeSiteWafTimeSeriesDataShrinkRequest.js +66 -0
  59. package/dist/models/DescribeSiteWafTimeSeriesDataShrinkRequest.js.map +1 -0
  60. package/dist/models/DescribeSiteWafTopDataRequest.d.ts +96 -0
  61. package/dist/models/DescribeSiteWafTopDataRequest.js +95 -0
  62. package/dist/models/DescribeSiteWafTopDataRequest.js.map +1 -0
  63. package/dist/models/DescribeSiteWafTopDataResponse.d.ts +19 -0
  64. package/dist/models/DescribeSiteWafTopDataResponse.js +69 -0
  65. package/dist/models/DescribeSiteWafTopDataResponse.js.map +1 -0
  66. package/dist/models/DescribeSiteWafTopDataResponseBody.d.ts +115 -0
  67. package/dist/models/DescribeSiteWafTopDataResponseBody.js +116 -0
  68. package/dist/models/DescribeSiteWafTopDataResponseBody.js.map +1 -0
  69. package/dist/models/DescribeSiteWafTopDataShrinkRequest.d.ts +69 -0
  70. package/dist/models/DescribeSiteWafTopDataShrinkRequest.js +68 -0
  71. package/dist/models/DescribeSiteWafTopDataShrinkRequest.js.map +1 -0
  72. package/dist/models/DescribeTraceDiagnoseReportRequest.d.ts +2 -2
  73. package/dist/models/DescribeTraceDiagnoseReportResponseBody.d.ts +31 -31
  74. package/dist/models/DescribeWafUsageDataRequest.d.ts +72 -0
  75. package/dist/models/DescribeWafUsageDataRequest.js +68 -0
  76. package/dist/models/DescribeWafUsageDataRequest.js.map +1 -0
  77. package/dist/models/DescribeWafUsageDataResponse.d.ts +19 -0
  78. package/dist/models/DescribeWafUsageDataResponse.js +69 -0
  79. package/dist/models/DescribeWafUsageDataResponse.js.map +1 -0
  80. package/dist/models/DescribeWafUsageDataResponseBody.d.ts +94 -0
  81. package/dist/models/DescribeWafUsageDataResponseBody.js +94 -0
  82. package/dist/models/DescribeWafUsageDataResponseBody.js.map +1 -0
  83. package/dist/models/GetCertificateRequest.d.ts +1 -1
  84. package/dist/models/GetCertificateResponseBody.d.ts +26 -26
  85. package/dist/models/GetClientCaCertificateRequest.d.ts +2 -2
  86. package/dist/models/GetClientCaCertificateResponseBody.d.ts +13 -7
  87. package/dist/models/GetClientCaCertificateResponseBody.js.map +1 -1
  88. package/dist/models/GetClientCertificateRequest.d.ts +2 -2
  89. package/dist/models/GetClientCertificateResponseBody.d.ts +18 -12
  90. package/dist/models/GetClientCertificateResponseBody.js.map +1 -1
  91. package/dist/models/GetFailFileRequest.d.ts +2 -2
  92. package/dist/models/GetKeylessServerRequest.d.ts +2 -2
  93. package/dist/models/GetKeylessServerResponseBody.d.ts +12 -12
  94. package/dist/models/GetListRequest.d.ts +1 -1
  95. package/dist/models/GetListResponseBody.d.ts +8 -4
  96. package/dist/models/GetListResponseBody.js.map +1 -1
  97. package/dist/models/GetLoadBalancerRequest.d.ts +2 -2
  98. package/dist/models/GetLoadBalancerResponseBody.d.ts +65 -70
  99. package/dist/models/GetLoadBalancerResponseBody.js.map +1 -1
  100. package/dist/models/GetOriginCaCertificateRequest.d.ts +2 -2
  101. package/dist/models/GetOriginCaCertificateResponseBody.d.ts +10 -10
  102. package/dist/models/GetOriginClientCertificateRequest.d.ts +1 -1
  103. package/dist/models/GetOriginClientCertificateResponseBody.d.ts +18 -18
  104. package/dist/models/GetPageRequest.d.ts +1 -1
  105. package/dist/models/GetPageResponseBody.d.ts +9 -5
  106. package/dist/models/GetPageResponseBody.js.map +1 -1
  107. package/dist/models/GetRoutineCodeVersionInfoResponseBody.d.ts +3 -3
  108. package/dist/models/GetRoutineRouteRequest.d.ts +2 -2
  109. package/dist/models/GetRoutineRouteResponseBody.d.ts +18 -24
  110. package/dist/models/GetRoutineRouteResponseBody.js.map +1 -1
  111. package/dist/models/GetSiteOriginClientCertificateRequest.d.ts +2 -2
  112. package/dist/models/GetSiteOriginClientCertificateResponseBody.d.ts +8 -8
  113. package/dist/models/GetUserWafRulesetRequest.d.ts +2 -2
  114. package/dist/models/GetUserWafRulesetResponseBody.d.ts +38 -60
  115. package/dist/models/GetUserWafRulesetResponseBody.js.map +1 -1
  116. package/dist/models/GetWafQuotaRequest.d.ts +5 -9
  117. package/dist/models/GetWafQuotaRequest.js.map +1 -1
  118. package/dist/models/GetWafQuotaResponseBody.d.ts +26 -22
  119. package/dist/models/GetWafQuotaResponseBody.js.map +1 -1
  120. package/dist/models/GetWafRuleRequest.d.ts +2 -2
  121. package/dist/models/GetWafRuleResponseBody.d.ts +18 -22
  122. package/dist/models/GetWafRuleResponseBody.js.map +1 -1
  123. package/dist/models/GetWafRulesetRequest.d.ts +11 -19
  124. package/dist/models/GetWafRulesetRequest.js.map +1 -1
  125. package/dist/models/GetWafRulesetResponseBody.d.ts +16 -20
  126. package/dist/models/GetWafRulesetResponseBody.js.map +1 -1
  127. package/dist/models/ListCertificatesByRecordRequest.d.ts +5 -5
  128. package/dist/models/ListCertificatesByRecordResponseBody.d.ts +24 -20
  129. package/dist/models/ListCertificatesByRecordResponseBody.js.map +1 -1
  130. package/dist/models/ListCertificatesRequest.d.ts +4 -4
  131. package/dist/models/ListCertificatesResponseBody.d.ts +38 -49
  132. package/dist/models/ListCertificatesResponseBody.js.map +1 -1
  133. package/dist/models/ListClientCaCertificatesRequest.d.ts +3 -3
  134. package/dist/models/ListClientCaCertificatesResponseBody.d.ts +13 -13
  135. package/dist/models/ListClientCertificatesResponseBody.d.ts +14 -8
  136. package/dist/models/ListClientCertificatesResponseBody.js.map +1 -1
  137. package/dist/models/ListKeylessServersRequest.d.ts +2 -2
  138. package/dist/models/ListKeylessServersResponseBody.d.ts +14 -14
  139. package/dist/models/ListListsRequest.d.ts +11 -11
  140. package/dist/models/ListListsResponseBody.d.ts +14 -10
  141. package/dist/models/ListListsResponseBody.js.map +1 -1
  142. package/dist/models/ListListsShrinkRequest.d.ts +3 -3
  143. package/dist/models/ListLoadBalancersRequest.d.ts +8 -9
  144. package/dist/models/ListLoadBalancersRequest.js.map +1 -1
  145. package/dist/models/ListLoadBalancersResponseBody.d.ts +70 -75
  146. package/dist/models/ListLoadBalancersResponseBody.js.map +1 -1
  147. package/dist/models/ListOriginCaCertificatesRequest.d.ts +3 -3
  148. package/dist/models/ListOriginCaCertificatesResponseBody.d.ts +9 -9
  149. package/dist/models/ListOriginClientCertificatesRequest.d.ts +3 -3
  150. package/dist/models/ListOriginClientCertificatesResponseBody.d.ts +14 -14
  151. package/dist/models/ListPagesRequest.d.ts +5 -3
  152. package/dist/models/ListPagesRequest.js.map +1 -1
  153. package/dist/models/ListPagesResponseBody.d.ts +13 -9
  154. package/dist/models/ListPagesResponseBody.js.map +1 -1
  155. package/dist/models/ListPagesShrinkRequest.d.ts +1 -1
  156. package/dist/models/ListRewriteUrlRulesRequest.d.ts +10 -10
  157. package/dist/models/ListRewriteUrlRulesResponseBody.d.ts +29 -27
  158. package/dist/models/ListRewriteUrlRulesResponseBody.js.map +1 -1
  159. package/dist/models/ListRoutineRoutesRequest.d.ts +2 -2
  160. package/dist/models/ListRoutineRoutesResponseBody.d.ts +14 -14
  161. package/dist/models/ListSiteOriginClientCertificatesRequest.d.ts +2 -2
  162. package/dist/models/ListSiteOriginClientCertificatesResponseBody.d.ts +9 -9
  163. package/dist/models/ListSiteRoutesRequest.d.ts +5 -5
  164. package/dist/models/ListSiteRoutesResponseBody.d.ts +14 -23
  165. package/dist/models/ListSiteRoutesResponseBody.js.map +1 -1
  166. package/dist/models/ListUrlObservationsRequest.d.ts +4 -4
  167. package/dist/models/ListUrlObservationsResponseBody.d.ts +8 -8
  168. package/dist/models/ListWafRulesRequest.d.ts +22 -30
  169. package/dist/models/ListWafRulesRequest.js.map +1 -1
  170. package/dist/models/ListWafRulesResponseBody.d.ts +36 -44
  171. package/dist/models/ListWafRulesResponseBody.js.map +1 -1
  172. package/dist/models/ListWafRulesShrinkRequest.d.ts +15 -23
  173. package/dist/models/ListWafRulesShrinkRequest.js.map +1 -1
  174. package/dist/models/ListWafRulesetsRequest.d.ts +18 -26
  175. package/dist/models/ListWafRulesetsRequest.js.map +1 -1
  176. package/dist/models/ListWafRulesetsResponseBody.d.ts +22 -26
  177. package/dist/models/ListWafRulesetsResponseBody.js.map +1 -1
  178. package/dist/models/ListWafRulesetsShrinkRequest.d.ts +14 -22
  179. package/dist/models/ListWafRulesetsShrinkRequest.js.map +1 -1
  180. package/dist/models/PurchaseBotInstanceRequest.d.ts +33 -0
  181. package/dist/models/PurchaseBotInstanceRequest.js +60 -0
  182. package/dist/models/PurchaseBotInstanceRequest.js.map +1 -0
  183. package/dist/models/PurchaseBotInstanceResponse.d.ts +19 -0
  184. package/dist/models/PurchaseBotInstanceResponse.js +69 -0
  185. package/dist/models/PurchaseBotInstanceResponse.js.map +1 -0
  186. package/dist/models/PurchaseBotInstanceResponseBody.d.ts +37 -0
  187. package/dist/models/PurchaseBotInstanceResponseBody.js +62 -0
  188. package/dist/models/PurchaseBotInstanceResponseBody.js.map +1 -0
  189. package/dist/models/PurchaseCacheReserveRequest.d.ts +13 -14
  190. package/dist/models/PurchaseCacheReserveRequest.js.map +1 -1
  191. package/dist/models/PurchaseCacheReserveResponseBody.d.ts +3 -3
  192. package/dist/models/QuotaListItemsValue.d.ts +2 -2
  193. package/dist/models/QuotaPageContentTypesValue.d.ts +2 -2
  194. package/dist/models/SetClientCertificateHostnamesRequest.d.ts +3 -3
  195. package/dist/models/SetClientCertificateHostnamesResponseBody.d.ts +3 -3
  196. package/dist/models/SetClientCertificateHostnamesShrinkRequest.d.ts +3 -3
  197. package/dist/models/UpdateListRequest.d.ts +13 -3
  198. package/dist/models/UpdateListRequest.js.map +1 -1
  199. package/dist/models/UpdateListShrinkRequest.d.ts +13 -3
  200. package/dist/models/UpdateListShrinkRequest.js.map +1 -1
  201. package/dist/models/UpdatePageRequest.d.ts +27 -7
  202. package/dist/models/UpdatePageRequest.js.map +1 -1
  203. package/dist/models/UpdatePageResponseBody.d.ts +1 -1
  204. package/dist/models/UpdatePageShrinkRequest.d.ts +27 -7
  205. package/dist/models/UpdatePageShrinkRequest.js.map +1 -1
  206. package/dist/models/UpdateRedirectRuleRequest.d.ts +18 -29
  207. package/dist/models/UpdateRedirectRuleRequest.js.map +1 -1
  208. package/dist/models/UpdateRedirectRuleResponseBody.d.ts +1 -1
  209. package/dist/models/UpdateRewriteUrlRuleRequest.d.ts +18 -26
  210. package/dist/models/UpdateRewriteUrlRuleRequest.js.map +1 -1
  211. package/dist/models/UpdateRoutineRouteRequest.d.ts +6 -6
  212. package/dist/models/UpdateUrlObservationRequest.d.ts +5 -5
  213. package/dist/models/UploadClientCaCertificateRequest.d.ts +1 -1
  214. package/dist/models/UploadClientCaCertificateResponseBody.d.ts +7 -7
  215. package/dist/models/WafSiteSettings.d.ts +53 -29
  216. package/dist/models/WafSiteSettings.js.map +1 -1
  217. package/dist/models/model.d.ts +22 -0
  218. package/dist/models/model.js +76 -32
  219. package/dist/models/model.js.map +1 -1
  220. package/package.json +1 -1
  221. package/src/client.ts +418 -134
  222. package/src/models/BatchCreateWafRulesRequest.ts +24 -19
  223. package/src/models/BatchCreateWafRulesResponseBody.ts +2 -2
  224. package/src/models/BatchCreateWafRulesShrinkRequest.ts +24 -19
  225. package/src/models/BatchUpdateWafRulesRequest.ts +25 -19
  226. package/src/models/BatchUpdateWafRulesShrinkRequest.ts +25 -19
  227. package/src/models/CommitRoutineStagingCodeRequest.ts +1 -1
  228. package/src/models/CreateClientCertificateRequest.ts +4 -4
  229. package/src/models/CreateClientCertificateResponseBody.ts +9 -9
  230. package/src/models/CreateListRequest.ts +6 -4
  231. package/src/models/CreateListResponseBody.ts +1 -1
  232. package/src/models/CreateListShrinkRequest.ts +6 -4
  233. package/src/models/CreateLoadBalancerRequest.ts +70 -83
  234. package/src/models/CreateLoadBalancerResponseBody.ts +2 -2
  235. package/src/models/CreateLoadBalancerShrinkRequest.ts +24 -29
  236. package/src/models/CreatePageRequest.ts +33 -6
  237. package/src/models/CreatePageResponseBody.ts +1 -1
  238. package/src/models/CreatePageShrinkRequest.ts +33 -6
  239. package/src/models/CreateRoutineRouteRequest.ts +4 -4
  240. package/src/models/CreateUserWafRulesetRequest.ts +28 -19
  241. package/src/models/CreateUserWafRulesetResponseBody.ts +2 -2
  242. package/src/models/CreateUserWafRulesetShrinkRequest.ts +28 -19
  243. package/src/models/CreateWafRuleRequest.ts +15 -16
  244. package/src/models/CreateWafRuleResponseBody.ts +2 -2
  245. package/src/models/CreateWafRuleShrinkRequest.ts +15 -16
  246. package/src/models/DescribePurgeTasksRequest.ts +8 -7
  247. package/src/models/DescribePurgeTasksResponseBody.ts +7 -7
  248. package/src/models/DescribeRatePlanPriceGapRequest.ts +2 -4
  249. package/src/models/DescribeRatePlanPriceGapResponseBody.ts +1 -1
  250. package/src/models/DescribeSiteWafTimeSeriesDataRequest.ts +128 -0
  251. package/src/models/DescribeSiteWafTimeSeriesDataResponse.ts +40 -0
  252. package/src/models/DescribeSiteWafTimeSeriesDataResponseBody.ts +268 -0
  253. package/src/models/DescribeSiteWafTimeSeriesDataShrinkRequest.ts +83 -0
  254. package/src/models/DescribeSiteWafTopDataRequest.ts +137 -0
  255. package/src/models/DescribeSiteWafTopDataResponse.ts +40 -0
  256. package/src/models/DescribeSiteWafTopDataResponseBody.ts +168 -0
  257. package/src/models/DescribeSiteWafTopDataShrinkRequest.ts +92 -0
  258. package/src/models/DescribeTraceDiagnoseReportRequest.ts +2 -2
  259. package/src/models/DescribeTraceDiagnoseReportResponseBody.ts +31 -31
  260. package/src/models/DescribeWafUsageDataRequest.ts +95 -0
  261. package/src/models/DescribeWafUsageDataResponse.ts +40 -0
  262. package/src/models/DescribeWafUsageDataResponseBody.ts +134 -0
  263. package/src/models/GetCertificateRequest.ts +1 -1
  264. package/src/models/GetCertificateResponseBody.ts +26 -26
  265. package/src/models/GetClientCaCertificateRequest.ts +2 -2
  266. package/src/models/GetClientCaCertificateResponseBody.ts +13 -7
  267. package/src/models/GetClientCertificateRequest.ts +2 -2
  268. package/src/models/GetClientCertificateResponseBody.ts +18 -12
  269. package/src/models/GetFailFileRequest.ts +2 -2
  270. package/src/models/GetKeylessServerRequest.ts +2 -2
  271. package/src/models/GetKeylessServerResponseBody.ts +12 -12
  272. package/src/models/GetListRequest.ts +1 -1
  273. package/src/models/GetListResponseBody.ts +8 -4
  274. package/src/models/GetLoadBalancerRequest.ts +2 -2
  275. package/src/models/GetLoadBalancerResponseBody.ts +65 -70
  276. package/src/models/GetOriginCaCertificateRequest.ts +2 -2
  277. package/src/models/GetOriginCaCertificateResponseBody.ts +10 -10
  278. package/src/models/GetOriginClientCertificateRequest.ts +1 -1
  279. package/src/models/GetOriginClientCertificateResponseBody.ts +18 -18
  280. package/src/models/GetPageRequest.ts +1 -1
  281. package/src/models/GetPageResponseBody.ts +9 -5
  282. package/src/models/GetRoutineCodeVersionInfoResponseBody.ts +3 -3
  283. package/src/models/GetRoutineRouteRequest.ts +2 -2
  284. package/src/models/GetRoutineRouteResponseBody.ts +18 -24
  285. package/src/models/GetSiteOriginClientCertificateRequest.ts +2 -2
  286. package/src/models/GetSiteOriginClientCertificateResponseBody.ts +8 -8
  287. package/src/models/GetUserWafRulesetRequest.ts +2 -2
  288. package/src/models/GetUserWafRulesetResponseBody.ts +38 -60
  289. package/src/models/GetWafQuotaRequest.ts +5 -9
  290. package/src/models/GetWafQuotaResponseBody.ts +26 -22
  291. package/src/models/GetWafRuleRequest.ts +2 -2
  292. package/src/models/GetWafRuleResponseBody.ts +18 -22
  293. package/src/models/GetWafRulesetRequest.ts +11 -19
  294. package/src/models/GetWafRulesetResponseBody.ts +16 -20
  295. package/src/models/ListCertificatesByRecordRequest.ts +5 -5
  296. package/src/models/ListCertificatesByRecordResponseBody.ts +24 -20
  297. package/src/models/ListCertificatesRequest.ts +4 -4
  298. package/src/models/ListCertificatesResponseBody.ts +38 -49
  299. package/src/models/ListClientCaCertificatesRequest.ts +3 -3
  300. package/src/models/ListClientCaCertificatesResponseBody.ts +13 -13
  301. package/src/models/ListClientCertificatesResponseBody.ts +14 -8
  302. package/src/models/ListKeylessServersRequest.ts +2 -2
  303. package/src/models/ListKeylessServersResponseBody.ts +14 -14
  304. package/src/models/ListListsRequest.ts +11 -11
  305. package/src/models/ListListsResponseBody.ts +14 -10
  306. package/src/models/ListListsShrinkRequest.ts +3 -3
  307. package/src/models/ListLoadBalancersRequest.ts +8 -9
  308. package/src/models/ListLoadBalancersResponseBody.ts +70 -75
  309. package/src/models/ListOriginCaCertificatesRequest.ts +3 -3
  310. package/src/models/ListOriginCaCertificatesResponseBody.ts +9 -9
  311. package/src/models/ListOriginClientCertificatesRequest.ts +3 -3
  312. package/src/models/ListOriginClientCertificatesResponseBody.ts +14 -14
  313. package/src/models/ListPagesRequest.ts +5 -3
  314. package/src/models/ListPagesResponseBody.ts +13 -9
  315. package/src/models/ListPagesShrinkRequest.ts +1 -1
  316. package/src/models/ListRewriteUrlRulesRequest.ts +10 -10
  317. package/src/models/ListRewriteUrlRulesResponseBody.ts +29 -27
  318. package/src/models/ListRoutineRoutesRequest.ts +2 -2
  319. package/src/models/ListRoutineRoutesResponseBody.ts +14 -14
  320. package/src/models/ListSiteOriginClientCertificatesRequest.ts +2 -2
  321. package/src/models/ListSiteOriginClientCertificatesResponseBody.ts +9 -9
  322. package/src/models/ListSiteRoutesRequest.ts +5 -5
  323. package/src/models/ListSiteRoutesResponseBody.ts +14 -23
  324. package/src/models/ListUrlObservationsRequest.ts +4 -4
  325. package/src/models/ListUrlObservationsResponseBody.ts +8 -8
  326. package/src/models/ListWafRulesRequest.ts +22 -30
  327. package/src/models/ListWafRulesResponseBody.ts +36 -44
  328. package/src/models/ListWafRulesShrinkRequest.ts +15 -23
  329. package/src/models/ListWafRulesetsRequest.ts +18 -26
  330. package/src/models/ListWafRulesetsResponseBody.ts +22 -26
  331. package/src/models/ListWafRulesetsShrinkRequest.ts +14 -22
  332. package/src/models/PurchaseBotInstanceRequest.ts +48 -0
  333. package/src/models/PurchaseBotInstanceResponse.ts +40 -0
  334. package/src/models/PurchaseBotInstanceResponseBody.ts +54 -0
  335. package/src/models/PurchaseCacheReserveRequest.ts +13 -14
  336. package/src/models/PurchaseCacheReserveResponseBody.ts +3 -3
  337. package/src/models/QuotaListItemsValue.ts +2 -2
  338. package/src/models/QuotaPageContentTypesValue.ts +2 -2
  339. package/src/models/SetClientCertificateHostnamesRequest.ts +3 -3
  340. package/src/models/SetClientCertificateHostnamesResponseBody.ts +3 -3
  341. package/src/models/SetClientCertificateHostnamesShrinkRequest.ts +3 -3
  342. package/src/models/UpdateListRequest.ts +13 -3
  343. package/src/models/UpdateListShrinkRequest.ts +13 -3
  344. package/src/models/UpdatePageRequest.ts +27 -7
  345. package/src/models/UpdatePageResponseBody.ts +1 -1
  346. package/src/models/UpdatePageShrinkRequest.ts +27 -7
  347. package/src/models/UpdateRedirectRuleRequest.ts +18 -29
  348. package/src/models/UpdateRedirectRuleResponseBody.ts +1 -1
  349. package/src/models/UpdateRewriteUrlRuleRequest.ts +18 -26
  350. package/src/models/UpdateRoutineRouteRequest.ts +6 -6
  351. package/src/models/UpdateUrlObservationRequest.ts +5 -5
  352. package/src/models/UploadClientCaCertificateRequest.ts +1 -1
  353. package/src/models/UploadClientCaCertificateResponseBody.ts +7 -7
  354. package/src/models/WafSiteSettings.ts +53 -29
  355. package/src/models/model.ts +22 -0
@@ -5,7 +5,17 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePageRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The page content, which must be provided in BASE64 encoding. For example, the value PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4= decodes to \\<html>hello page\\</html>.
8
+ * The BASE64-encoded page content. The actual content format must match the value of `ContentType`.
9
+ *
10
+ * **Encoding method**:
11
+ * 1. Encode the original page content into a byte string by using UTF-8 encoding.
12
+ * 2. Apply standard BASE64 encoding to the byte string.
13
+ *
14
+ * **Example**:
15
+ * - Original content: `<html>hello page</html>`
16
+ * - BASE64: `PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4=`
17
+ *
18
+ * > The maximum size, supported character sets, and security filtering rules are subject to the server-side custom page specifications.
9
19
  *
10
20
  * @example
11
21
  * PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4=
@@ -13,11 +23,14 @@ export class CreatePageRequest extends $dara.Model {
13
23
  content?: string;
14
24
  /**
15
25
  * @remarks
16
- * The `Content-Type` HTTP header. Examples:
26
+ * The MIME type of the page content. This value is returned to the client as the HTTP `Content-Type` response header after a match.
17
27
  *
18
- * - text/html
28
+ * **Common values**:
29
+ * - `text/html`: HTML page. The `Content` parameter must be set to the BASE64-encoded value of UTF-8 HTML text.
30
+ * - `application/json`: JSON response. The `Content` parameter must be set to the BASE64-encoded value of a valid JSON string.
31
+ * - `text/plain`: plain text. The `Content` parameter must be set to the BASE64-encoded value of plain text content.
19
32
  *
20
- * - application/json
33
+ * > Note: The complete list of supported ContentType values is subject to the server-side specifications. If the specified `ContentType` does not match the actual format of `Content`, the client may fail to render the page properly.
21
34
  *
22
35
  * This parameter is required.
23
36
  *
@@ -27,7 +40,11 @@ export class CreatePageRequest extends $dara.Model {
27
40
  contentType?: string;
28
41
  /**
29
42
  * @remarks
30
- * The description of the page.
43
+ * The description of the page, used to identify the purpose of the page in the console list.
44
+ *
45
+ * **Suggested content**: Use the scenarios and identity information of the page, such as "CC protection block page - Chinese version". This is an optional field. If not specified, the value is empty by default.
46
+ *
47
+ * > The maximum field length is subject to the server-side specifications.
31
48
  *
32
49
  * @example
33
50
  * a custom deny page
@@ -35,7 +52,9 @@ export class CreatePageRequest extends $dara.Model {
35
52
  description?: string;
36
53
  /**
37
54
  * @remarks
38
- * The name of the custom error page.
55
+ * The name of the custom page.
56
+ *
57
+ * **Naming suggestions**: Use a short name that consists of letters, digits, and underscores, such as `blocked_page_v1`, for easy reference in rules. The specific character set, maximum length, uniqueness, and other constraints are **subject to the server-side custom page naming specifications**.
39
58
  *
40
59
  * This parameter is required.
41
60
  *
@@ -43,6 +62,14 @@ export class CreatePageRequest extends $dara.Model {
43
62
  * example
44
63
  */
45
64
  name?: string;
65
+ /**
66
+ * @remarks
67
+ * The list of website IDs to associate with this custom page.
68
+ *
69
+ * - You can obtain website IDs by calling the `ListSites` operation.
70
+ * - If you pass an empty list (no websites are associated), the page is still created but does not take effect. You can call the `UpdatePage` operation later to associate websites.
71
+ * - If the list contains a website ID that does not belong to the current account, an `InvalidParameter` error is returned.
72
+ */
46
73
  siteIds?: number[];
47
74
  static names(): { [key: string]: string } {
48
75
  return {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePageResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the custom error page. Obtain this ID by calling the [ListPages](https://help.aliyun.com/document_detail/2850223.html) API.
8
+ * The ID of the custom response page. You can obtain the ID by calling the [ListPages](https://help.aliyun.com/document_detail/2850223.html) operation.
9
9
  *
10
10
  * @example
11
11
  * 50000001
@@ -5,7 +5,17 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePageShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The page content, which must be provided in BASE64 encoding. For example, the value PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4= decodes to \\<html>hello page\\</html>.
8
+ * The BASE64-encoded page content. The actual content format must match the value of `ContentType`.
9
+ *
10
+ * **Encoding method**:
11
+ * 1. Encode the original page content into a byte string by using UTF-8 encoding.
12
+ * 2. Apply standard BASE64 encoding to the byte string.
13
+ *
14
+ * **Example**:
15
+ * - Original content: `<html>hello page</html>`
16
+ * - BASE64: `PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4=`
17
+ *
18
+ * > The maximum size, supported character sets, and security filtering rules are subject to the server-side custom page specifications.
9
19
  *
10
20
  * @example
11
21
  * PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4=
@@ -13,11 +23,14 @@ export class CreatePageShrinkRequest extends $dara.Model {
13
23
  content?: string;
14
24
  /**
15
25
  * @remarks
16
- * The `Content-Type` HTTP header. Examples:
26
+ * The MIME type of the page content. This value is returned to the client as the HTTP `Content-Type` response header after a match.
17
27
  *
18
- * - text/html
28
+ * **Common values**:
29
+ * - `text/html`: HTML page. The `Content` parameter must be set to the BASE64-encoded value of UTF-8 HTML text.
30
+ * - `application/json`: JSON response. The `Content` parameter must be set to the BASE64-encoded value of a valid JSON string.
31
+ * - `text/plain`: plain text. The `Content` parameter must be set to the BASE64-encoded value of plain text content.
19
32
  *
20
- * - application/json
33
+ * > Note: The complete list of supported ContentType values is subject to the server-side specifications. If the specified `ContentType` does not match the actual format of `Content`, the client may fail to render the page properly.
21
34
  *
22
35
  * This parameter is required.
23
36
  *
@@ -27,7 +40,11 @@ export class CreatePageShrinkRequest extends $dara.Model {
27
40
  contentType?: string;
28
41
  /**
29
42
  * @remarks
30
- * The description of the page.
43
+ * The description of the page, used to identify the purpose of the page in the console list.
44
+ *
45
+ * **Suggested content**: Use the scenarios and identity information of the page, such as "CC protection block page - Chinese version". This is an optional field. If not specified, the value is empty by default.
46
+ *
47
+ * > The maximum field length is subject to the server-side specifications.
31
48
  *
32
49
  * @example
33
50
  * a custom deny page
@@ -35,7 +52,9 @@ export class CreatePageShrinkRequest extends $dara.Model {
35
52
  description?: string;
36
53
  /**
37
54
  * @remarks
38
- * The name of the custom error page.
55
+ * The name of the custom page.
56
+ *
57
+ * **Naming suggestions**: Use a short name that consists of letters, digits, and underscores, such as `blocked_page_v1`, for easy reference in rules. The specific character set, maximum length, uniqueness, and other constraints are **subject to the server-side custom page naming specifications**.
39
58
  *
40
59
  * This parameter is required.
41
60
  *
@@ -43,6 +62,14 @@ export class CreatePageShrinkRequest extends $dara.Model {
43
62
  * example
44
63
  */
45
64
  name?: string;
65
+ /**
66
+ * @remarks
67
+ * The list of website IDs to associate with this custom page.
68
+ *
69
+ * - You can obtain website IDs by calling the `ListSites` operation.
70
+ * - If you pass an empty list (no websites are associated), the page is still created but does not take effect. You can call the `UpdatePage` operation later to associate websites.
71
+ * - If the list contains a website ID that does not belong to the current account, an `InvalidParameter` error is returned.
72
+ */
46
73
  siteIdsShrink?: string;
47
74
  static names(): { [key: string]: string } {
48
75
  return {
@@ -7,7 +7,7 @@ export class CreateRoutineRouteRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The bypass mode. Valid values:
9
9
  * - on: enabled
10
- * - off: disabled.
10
+ * - off: disabled
11
11
  *
12
12
  * @example
13
13
  * on
@@ -15,7 +15,7 @@ export class CreateRoutineRouteRequest extends $dara.Model {
15
15
  bypass?: string;
16
16
  /**
17
17
  * @remarks
18
- * The fallback-to-origin switch. When enabled, if the function encounters an exception such as CPU usage exceeding the limit, the request is forwarded to the origin server. Valid values:
18
+ * The back-to-origin on exception switch. When enabled, if the function encounters an exception such as CPU usage exceeding the limit, the request falls back to the origin server. Valid values:
19
19
  * - on: Enabled.
20
20
  * - off: Disabled.
21
21
  *
@@ -27,7 +27,7 @@ export class CreateRoutineRouteRequest extends $dara.Model {
27
27
  * @remarks
28
28
  * The route switch. Valid values:
29
29
  * - on: enabled
30
- * - off: disabled.
30
+ * - off: disabled
31
31
  *
32
32
  * This parameter is required.
33
33
  *
@@ -85,7 +85,7 @@ export class CreateRoutineRouteRequest extends $dara.Model {
85
85
  siteId?: number;
86
86
  /**
87
87
  * @remarks
88
- * The Edge Routine timeout period. Valid values: 5 to 60.
88
+ * The Edge Routine timeout period. Valid values: 5 to 60. Unit: seconds.
89
89
  *
90
90
  * @example
91
91
  * 5
@@ -15,7 +15,13 @@ export class CreateUserWafRulesetRequest extends $dara.Model {
15
15
  description?: string;
16
16
  /**
17
17
  * @remarks
18
- * The expression for the WAF ruleset.
18
+ * The match expression of the WAF ruleset. Rules in this ruleset are evaluated only when a request matches this expression.
19
+ *
20
+ * Examples:
21
+ * - `http.host eq "example.com"` — Only requests with the host example.com enter this ruleset.
22
+ * - `starts_with(http.uri.path, "/api/")` — Only requests with the /api/ prefix enter this ruleset.
23
+ *
24
+ * > The complete expression syntax and available field set are subject to the server-side wirefilter dialect.
19
25
  *
20
26
  * This parameter is required.
21
27
  *
@@ -37,6 +43,8 @@ export class CreateUserWafRulesetRequest extends $dara.Model {
37
43
  * @remarks
38
44
  * The name of the WAF ruleset.
39
45
  *
46
+ * **Naming suggestion**: Use a combination of letters, digits, and underscores for easy reference. The specific character set, maximum length, and uniqueness constraints are subject to the WAF ruleset service naming conventions.
47
+ *
40
48
  * This parameter is required.
41
49
  *
42
50
  * @example
@@ -45,23 +53,15 @@ export class CreateUserWafRulesetRequest extends $dara.Model {
45
53
  name?: string;
46
54
  /**
47
55
  * @remarks
48
- * The execution phase of the WAF ruleset.
49
- *
50
- * - `http_whitelist`: whitelist rule
51
- *
52
- * - `http_custom`: custom rule
53
- *
54
- * - `http_managed`: managed rule
55
- *
56
- * - `http_anti_scan`: scan protection rule
56
+ * The phase to which the WAF ruleset belongs. Valid values:
57
57
  *
58
- * - `http_ratelimit`: rate limiting rule
58
+ * - http_whitelist: whitelist rules
59
+ * - http_custom: custom rules
60
+ * - http_managed: managed rules
61
+ * - http_anti_scan: scan protection rules
62
+ * - http_ratelimit: rate limiting rules
59
63
  *
60
- * - `ip_access_rule`: IP access rule
61
- *
62
- * - `http_bot`: advanced bot
63
- *
64
- * - `http_security_level_rule`: security rule
64
+ * > Note: The supported fields (Expression match fields, Action values, and others) vary by phase. For more information, refer to the rule configuration documentation for the corresponding phase.
65
65
  *
66
66
  * This parameter is required.
67
67
  *
@@ -71,17 +71,26 @@ export class CreateUserWafRulesetRequest extends $dara.Model {
71
71
  phase?: string;
72
72
  /**
73
73
  * @remarks
74
- * A list of rule configurations within the WAF ruleset.
74
+ * The list of rule configurations in the WAF ruleset. Each element corresponds to a rule.
75
+ *
76
+ * - The field structure of each rule is subject to the `WafRuleConfig` data structure, which includes Expression, Action, Name, and other fields.
75
77
  */
76
78
  rules?: WafRuleConfig[];
77
79
  /**
78
80
  * @remarks
79
- * The shared configuration for WAF batch rules.
81
+ * The shared fields across multiple rules in this ruleset, such as a unified Action or Name prefix.
82
+ *
83
+ * > The field structure is subject to the `WafBatchRuleShared` data structure. If you do not need to share properties, you can leave this parameter empty.
80
84
  */
81
85
  shared?: WafBatchRuleShared;
82
86
  /**
83
87
  * @remarks
84
- * The status of the WAF ruleset.
88
+ * The status of the WAF ruleset. Valid values:
89
+ *
90
+ * - on: Enabled. The rules in the ruleset participate in matching and blocking.
91
+ * - off: Disabled. The ruleset is retained but does not participate in matching.
92
+ *
93
+ * > The complete set of valid values is subject to the server-side enum.
85
94
  *
86
95
  * This parameter is required.
87
96
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateUserWafRulesetResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The WAF ruleset ID.
8
+ * The ID of the WAF ruleset.
9
9
  *
10
10
  * @example
11
11
  * 665d3af3621bccf3fe29e1a4
@@ -21,7 +21,7 @@ export class CreateUserWafRulesetResponseBody extends $dara.Model {
21
21
  requestId?: string;
22
22
  /**
23
23
  * @remarks
24
- * A list of rule IDs within the WAF ruleset.
24
+ * The list of rule IDs in the WAF ruleset.
25
25
  */
26
26
  ruleIds?: number[];
27
27
  static names(): { [key: string]: string } {
@@ -13,7 +13,13 @@ export class CreateUserWafRulesetShrinkRequest extends $dara.Model {
13
13
  description?: string;
14
14
  /**
15
15
  * @remarks
16
- * The expression for the WAF ruleset.
16
+ * The match expression of the WAF ruleset. Rules in this ruleset are evaluated only when a request matches this expression.
17
+ *
18
+ * Examples:
19
+ * - `http.host eq "example.com"` — Only requests with the host example.com enter this ruleset.
20
+ * - `starts_with(http.uri.path, "/api/")` — Only requests with the /api/ prefix enter this ruleset.
21
+ *
22
+ * > The complete expression syntax and available field set are subject to the server-side wirefilter dialect.
17
23
  *
18
24
  * This parameter is required.
19
25
  *
@@ -35,6 +41,8 @@ export class CreateUserWafRulesetShrinkRequest extends $dara.Model {
35
41
  * @remarks
36
42
  * The name of the WAF ruleset.
37
43
  *
44
+ * **Naming suggestion**: Use a combination of letters, digits, and underscores for easy reference. The specific character set, maximum length, and uniqueness constraints are subject to the WAF ruleset service naming conventions.
45
+ *
38
46
  * This parameter is required.
39
47
  *
40
48
  * @example
@@ -43,23 +51,15 @@ export class CreateUserWafRulesetShrinkRequest extends $dara.Model {
43
51
  name?: string;
44
52
  /**
45
53
  * @remarks
46
- * The execution phase of the WAF ruleset.
47
- *
48
- * - `http_whitelist`: whitelist rule
49
- *
50
- * - `http_custom`: custom rule
51
- *
52
- * - `http_managed`: managed rule
53
- *
54
- * - `http_anti_scan`: scan protection rule
54
+ * The phase to which the WAF ruleset belongs. Valid values:
55
55
  *
56
- * - `http_ratelimit`: rate limiting rule
56
+ * - http_whitelist: whitelist rules
57
+ * - http_custom: custom rules
58
+ * - http_managed: managed rules
59
+ * - http_anti_scan: scan protection rules
60
+ * - http_ratelimit: rate limiting rules
57
61
  *
58
- * - `ip_access_rule`: IP access rule
59
- *
60
- * - `http_bot`: advanced bot
61
- *
62
- * - `http_security_level_rule`: security rule
62
+ * > Note: The supported fields (Expression match fields, Action values, and others) vary by phase. For more information, refer to the rule configuration documentation for the corresponding phase.
63
63
  *
64
64
  * This parameter is required.
65
65
  *
@@ -69,17 +69,26 @@ export class CreateUserWafRulesetShrinkRequest extends $dara.Model {
69
69
  phase?: string;
70
70
  /**
71
71
  * @remarks
72
- * A list of rule configurations within the WAF ruleset.
72
+ * The list of rule configurations in the WAF ruleset. Each element corresponds to a rule.
73
+ *
74
+ * - The field structure of each rule is subject to the `WafRuleConfig` data structure, which includes Expression, Action, Name, and other fields.
73
75
  */
74
76
  rulesShrink?: string;
75
77
  /**
76
78
  * @remarks
77
- * The shared configuration for WAF batch rules.
79
+ * The shared fields across multiple rules in this ruleset, such as a unified Action or Name prefix.
80
+ *
81
+ * > The field structure is subject to the `WafBatchRuleShared` data structure. If you do not need to share properties, you can leave this parameter empty.
78
82
  */
79
83
  sharedShrink?: string;
80
84
  /**
81
85
  * @remarks
82
- * The status of the WAF ruleset.
86
+ * The status of the WAF ruleset. Valid values:
87
+ *
88
+ * - on: Enabled. The rules in the ruleset participate in matching and blocking.
89
+ * - off: Disabled. The ruleset is retained but does not participate in matching.
90
+ *
91
+ * > The complete set of valid values is subject to the server-side enum.
83
92
  *
84
93
  * This parameter is required.
85
94
  *
@@ -6,28 +6,27 @@ import { WafRuleConfig } from "./WafRuleConfig";
6
6
  export class CreateWafRuleRequest extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The detailed configuration of the WAF rule.
9
+ * The specific configuration of the WAF rule (`WafRuleConfig` data structure). The required fields vary depending on the Phase value:
10
+ *
11
+ * - `http_custom`: `Expression` (match expression) and `Action` (action upon match) are required. Setting `Name` is recommended for easier identification.
12
+ * - `http_whitelist`: `Expression` is required. Matched requests are allowed directly (no Action).
13
+ * - `http_ratelimit`: `Expression` and `RateLimit` (rate limiting parameters) are required.
14
+ * - `ip_access_rule`: `Expression` (containing IP match) and `Action` are required.
15
+ *
16
+ * > The complete field definitions are based on the `WafRuleConfig` data structure. If required fields are missing, the service returns `InvalidParameter(400)` / `Rule.Config.Malformed`.
10
17
  */
11
18
  config?: WafRuleConfig;
12
19
  /**
13
20
  * @remarks
14
- * The phase in which the WAF rule runs.
15
- *
21
+ * The WAF rule execution phase. This **single-creation operation** supports the following phases (it does not support `http_anti_scan` or `http_bot`. For these two phases, use the batch operation `BatchCreateWafRules`):
16
22
  * - `http_whitelist`: whitelist rule
17
- *
18
23
  * - `http_custom`: custom rule
19
- *
20
24
  * - `http_managed`: managed rule
21
- *
22
- * - `http_anti_scan`: anti-scan rule
23
- *
24
- * - `http_ratelimit`: rate limit rule
25
- *
25
+ * - `http_ratelimit`: rate limiting rule
26
26
  * - `ip_access_rule`: IP access rule
27
+ * - `http_security_level_rule`: security rule
27
28
  *
28
- * - `http_bot`: Advanced Mode Bots
29
- *
30
- * - `http_security_level_rule`: Security Rule
29
+ * > Note: `http_anti_scan` and `http_bot` can only be created through the batch operation. Passing these two values to this operation returns an error.
31
30
  *
32
31
  * This parameter is required.
33
32
  *
@@ -37,7 +36,7 @@ export class CreateWafRuleRequest extends $dara.Model {
37
36
  phase?: string;
38
37
  /**
39
38
  * @remarks
40
- * The ID of the WAF ruleset. You can obtain this ID by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) operation.
39
+ * The ID of the WAF ruleset. You can call the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) operation to obtain the ruleset ID.
41
40
  *
42
41
  * @example
43
42
  * 10000001
@@ -45,7 +44,7 @@ export class CreateWafRuleRequest extends $dara.Model {
45
44
  rulesetId?: number;
46
45
  /**
47
46
  * @remarks
48
- * The ID of the site. You can obtain this ID by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
47
+ * The site ID. You can call the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation to obtain the site ID.
49
48
  *
50
49
  * This parameter is required.
51
50
  *
@@ -55,7 +54,7 @@ export class CreateWafRuleRequest extends $dara.Model {
55
54
  siteId?: number;
56
55
  /**
57
56
  * @remarks
58
- * If version management is enabled for the site, use this parameter to specify the version to which the configuration applies. The default is 0.
57
+ * The version number of the site configuration. For sites with version management enabled, you can use this parameter to specify the site version on which the configuration takes effect. The default value is 0.
59
58
  *
60
59
  * @example
61
60
  * 0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateWafRuleResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the newly created WAF rule.
8
+ * The ID of the WAF rule. You can call the [ListWafRules](https://help.aliyun.com/document_detail/2878257.html) operation to obtain the rule ID.
9
9
  *
10
10
  * @example
11
11
  * 20000001
@@ -21,7 +21,7 @@ export class CreateWafRuleResponseBody extends $dara.Model {
21
21
  requestId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ID of the ruleset to which the new rule belongs.
24
+ * The ID of the WAF ruleset. You can call the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) operation to obtain the ruleset ID.
25
25
  *
26
26
  * @example
27
27
  * 10000001
@@ -5,28 +5,27 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateWafRuleShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The detailed configuration of the WAF rule.
8
+ * The specific configuration of the WAF rule (`WafRuleConfig` data structure). The required fields vary depending on the Phase value:
9
+ *
10
+ * - `http_custom`: `Expression` (match expression) and `Action` (action upon match) are required. Setting `Name` is recommended for easier identification.
11
+ * - `http_whitelist`: `Expression` is required. Matched requests are allowed directly (no Action).
12
+ * - `http_ratelimit`: `Expression` and `RateLimit` (rate limiting parameters) are required.
13
+ * - `ip_access_rule`: `Expression` (containing IP match) and `Action` are required.
14
+ *
15
+ * > The complete field definitions are based on the `WafRuleConfig` data structure. If required fields are missing, the service returns `InvalidParameter(400)` / `Rule.Config.Malformed`.
9
16
  */
10
17
  configShrink?: string;
11
18
  /**
12
19
  * @remarks
13
- * The phase in which the WAF rule runs.
14
- *
20
+ * The WAF rule execution phase. This **single-creation operation** supports the following phases (it does not support `http_anti_scan` or `http_bot`. For these two phases, use the batch operation `BatchCreateWafRules`):
15
21
  * - `http_whitelist`: whitelist rule
16
- *
17
22
  * - `http_custom`: custom rule
18
- *
19
23
  * - `http_managed`: managed rule
20
- *
21
- * - `http_anti_scan`: anti-scan rule
22
- *
23
- * - `http_ratelimit`: rate limit rule
24
- *
24
+ * - `http_ratelimit`: rate limiting rule
25
25
  * - `ip_access_rule`: IP access rule
26
+ * - `http_security_level_rule`: security rule
26
27
  *
27
- * - `http_bot`: Advanced Mode Bots
28
- *
29
- * - `http_security_level_rule`: Security Rule
28
+ * > Note: `http_anti_scan` and `http_bot` can only be created through the batch operation. Passing these two values to this operation returns an error.
30
29
  *
31
30
  * This parameter is required.
32
31
  *
@@ -36,7 +35,7 @@ export class CreateWafRuleShrinkRequest extends $dara.Model {
36
35
  phase?: string;
37
36
  /**
38
37
  * @remarks
39
- * The ID of the WAF ruleset. You can obtain this ID by calling the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) operation.
38
+ * The ID of the WAF ruleset. You can call the [ListWafRulesets](https://help.aliyun.com/document_detail/2878359.html) operation to obtain the ruleset ID.
40
39
  *
41
40
  * @example
42
41
  * 10000001
@@ -44,7 +43,7 @@ export class CreateWafRuleShrinkRequest extends $dara.Model {
44
43
  rulesetId?: number;
45
44
  /**
46
45
  * @remarks
47
- * The ID of the site. You can obtain this ID by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
46
+ * The site ID. You can call the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation to obtain the site ID.
48
47
  *
49
48
  * This parameter is required.
50
49
  *
@@ -54,7 +53,7 @@ export class CreateWafRuleShrinkRequest extends $dara.Model {
54
53
  siteId?: number;
55
54
  /**
56
55
  * @remarks
57
- * If version management is enabled for the site, use this parameter to specify the version to which the configuration applies. The default is 0.
56
+ * The version number of the site configuration. For sites with version management enabled, you can use this parameter to specify the site version on which the configuration takes effect. The default value is 0.
58
57
  *
59
58
  * @example
60
59
  * 0
@@ -13,7 +13,7 @@ export class DescribePurgeTasksRequest extends $dara.Model {
13
13
  content?: string;
14
14
  /**
15
15
  * @remarks
16
- * The end time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
16
+ * The end time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0.
17
17
  *
18
18
  *
19
19
  * > The end time must be later than the start time.
@@ -41,6 +41,7 @@ export class DescribePurgeTasksRequest extends $dara.Model {
41
41
  /**
42
42
  * @remarks
43
43
  * The site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) operation.
44
+ * >Notice: You must always specify SiteId. An error is reported if SiteId is not specified.</notice>
44
45
  *
45
46
  * @example
46
47
  * 123456789****
@@ -48,7 +49,7 @@ export class DescribePurgeTasksRequest extends $dara.Model {
48
49
  siteId?: number;
49
50
  /**
50
51
  * @remarks
51
- * The start time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
52
+ * The start time. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0.
52
53
  *
53
54
  * @example
54
55
  * 2022-11-16T05:33:00Z
@@ -58,9 +59,9 @@ export class DescribePurgeTasksRequest extends $dara.Model {
58
59
  * @remarks
59
60
  * The task execution status. Valid values:
60
61
  *
61
- * - **Complete**: The task is complete.
62
- * - **Refreshing**: The task is in progress.
63
- * - **Failed**: The task failed.
62
+ * - **Complete**: Completed.
63
+ * - **Refreshing**: Refreshing.
64
+ * - **Failed**: Refresh failed.
64
65
  *
65
66
  * @example
66
67
  * Complete
@@ -72,9 +73,9 @@ export class DescribePurgeTasksRequest extends $dara.Model {
72
73
  * - **file** (default): file refresh.
73
74
  * - **cachetag**: cache tag refresh.
74
75
  * - **directory**: directory refresh.
75
- * - **ignoreParams**: parameter-stripped refresh.
76
+ * - **ignoreParams**: ignore parameters refresh.
76
77
  * - **hostname**: hostname refresh.
77
- * - **purgeall**: refresh all cached content of the site.
78
+ * - **purgeall**: purge all cache under the site.
78
79
  *
79
80
  * @example
80
81
  * file
@@ -13,7 +13,7 @@ export class DescribePurgeTasksResponseBodyTasks extends $dara.Model {
13
13
  content?: string;
14
14
  /**
15
15
  * @remarks
16
- * The creation time, in ISO 8601 format (for example, 2024-01-01T00:00:00+Z).
16
+ * The creation time in ISO 8601 format (for example, 2024-01-01T00:00:00+Z).
17
17
  *
18
18
  * @example
19
19
  * 2023-07-26T01:56:15Z
@@ -37,13 +37,13 @@ export class DescribePurgeTasksResponseBodyTasks extends $dara.Model {
37
37
  process?: string;
38
38
  /**
39
39
  * @remarks
40
- * The task status. Valid values:
40
+ * The status. Valid values:
41
41
  *
42
- * - **Complete**: The task is complete.
42
+ * - **Complete**: Completed.
43
43
  *
44
- * - **Refreshing**: The task is in progress.
44
+ * - **Refreshing**: Refreshing.
45
45
  *
46
- * - **Failed**: The task failed.
46
+ * - **Failed**: Refresh failed.
47
47
  *
48
48
  * @example
49
49
  * Complete
@@ -63,9 +63,9 @@ export class DescribePurgeTasksResponseBodyTasks extends $dara.Model {
63
63
  * - **file** (default): file refresh.
64
64
  * - **cachetag**: cache tag refresh.
65
65
  * - **directory**: directory refresh.
66
- * - **ignoreParams**: parameter-stripped refresh.
66
+ * - **ignoreParams**: ignore parameters refresh.
67
67
  * - **hostname**: hostname refresh.
68
- * - **purgeall**: refresh all cached content of the site.
68
+ * - **purgeall**: purge all cache under the site.
69
69
  *
70
70
  * @example
71
71
  * file
@@ -23,12 +23,10 @@ export class DescribeRatePlanPriceGapRequest extends $dara.Model {
23
23
  orderType?: string;
24
24
  /**
25
25
  * @remarks
26
- * The specification change type. Valid values:
27
- * - DOWNGRADE: downgrade.
28
- * - UPGRADE: upgrade.
26
+ * The code of the target plan for the specification change.
29
27
  *
30
28
  * @example
31
- * UPGRADE
29
+ * standardplan
32
30
  */
33
31
  targetPlanCode?: string;
34
32
  /**
@@ -68,7 +68,7 @@ export class DescribeRatePlanPriceGapResponseBodyPriceModel extends $dara.Model
68
68
  currency?: string;
69
69
  /**
70
70
  * @remarks
71
- * The order discount amount.
71
+ * The discount amount of the order.
72
72
  *
73
73
  * @example
74
74
  * 1