@huaweicloud/huaweicloud-sdk-waf 3.1.175 → 3.1.176

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 (213) hide show
  1. package/package.json +2 -2
  2. package/v1/WafClient.d.ts +478 -0
  3. package/v1/WafClient.d.ts.map +1 -1
  4. package/v1/WafClient.js +1183 -19
  5. package/v1/WafClient.js.map +1 -1
  6. package/v1/model/AlertNoticeConfig.d.ts +40 -0
  7. package/v1/model/AlertNoticeConfig.d.ts.map +1 -0
  8. package/v1/model/AlertNoticeConfig.js +91 -0
  9. package/v1/model/AlertNoticeConfig.js.map +1 -0
  10. package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.d.ts +28 -0
  11. package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.d.ts.map +1 -0
  12. package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.js +66 -0
  13. package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.js.map +1 -0
  14. package/v1/model/BatchCreateAntiTamperRuleRequest.d.ts +17 -0
  15. package/v1/model/BatchCreateAntiTamperRuleRequest.d.ts.map +1 -0
  16. package/v1/model/BatchCreateAntiTamperRuleRequest.js +38 -0
  17. package/v1/model/BatchCreateAntiTamperRuleRequest.js.map +1 -0
  18. package/v1/model/BatchCreateAntiTamperRuleResponse.d.ts +17 -0
  19. package/v1/model/BatchCreateAntiTamperRuleResponse.d.ts.map +1 -0
  20. package/v1/model/BatchCreateAntiTamperRuleResponse.js +35 -0
  21. package/v1/model/BatchCreateAntiTamperRuleResponse.js.map +1 -0
  22. package/v1/model/BatchCreateAntiTamperRulesRequestBody.d.ts +14 -0
  23. package/v1/model/BatchCreateAntiTamperRulesRequestBody.d.ts.map +1 -0
  24. package/v1/model/BatchCreateAntiTamperRulesRequestBody.js +34 -0
  25. package/v1/model/BatchCreateAntiTamperRulesRequestBody.js.map +1 -0
  26. package/v1/model/BatchCreateAntileakageRuleRequest.d.ts +17 -0
  27. package/v1/model/BatchCreateAntileakageRuleRequest.d.ts.map +1 -0
  28. package/v1/model/BatchCreateAntileakageRuleRequest.js +38 -0
  29. package/v1/model/BatchCreateAntileakageRuleRequest.js.map +1 -0
  30. package/v1/model/BatchCreateAntileakageRuleRequestBody.d.ts +27 -0
  31. package/v1/model/BatchCreateAntileakageRuleRequestBody.d.ts.map +1 -0
  32. package/v1/model/BatchCreateAntileakageRuleRequestBody.js +52 -0
  33. package/v1/model/BatchCreateAntileakageRuleRequestBody.js.map +1 -0
  34. package/v1/model/BatchCreateAntileakageRuleResponse.d.ts +24 -0
  35. package/v1/model/BatchCreateAntileakageRuleResponse.d.ts.map +1 -0
  36. package/v1/model/BatchCreateAntileakageRuleResponse.js +47 -0
  37. package/v1/model/BatchCreateAntileakageRuleResponse.js.map +1 -0
  38. package/v1/model/BatchCreateCcRuleRequest.d.ts +17 -0
  39. package/v1/model/BatchCreateCcRuleRequest.d.ts.map +1 -0
  40. package/v1/model/BatchCreateCcRuleRequest.js +38 -0
  41. package/v1/model/BatchCreateCcRuleRequest.js.map +1 -0
  42. package/v1/model/BatchCreateCcRuleRequestBody.d.ts +70 -0
  43. package/v1/model/BatchCreateCcRuleRequestBody.d.ts.map +1 -0
  44. package/v1/model/BatchCreateCcRuleRequestBody.js +150 -0
  45. package/v1/model/BatchCreateCcRuleRequestBody.js.map +1 -0
  46. package/v1/model/BatchCreateCcRuleResponse.d.ts +91 -0
  47. package/v1/model/BatchCreateCcRuleResponse.d.ts.map +1 -0
  48. package/v1/model/BatchCreateCcRuleResponse.js +187 -0
  49. package/v1/model/BatchCreateCcRuleResponse.js.map +1 -0
  50. package/v1/model/BatchCreateCustomRuleRequest.d.ts +17 -0
  51. package/v1/model/BatchCreateCustomRuleRequest.d.ts.map +1 -0
  52. package/v1/model/BatchCreateCustomRuleRequest.js +38 -0
  53. package/v1/model/BatchCreateCustomRuleRequest.js.map +1 -0
  54. package/v1/model/BatchCreateCustomRuleRequestBody.d.ts +26 -0
  55. package/v1/model/BatchCreateCustomRuleRequestBody.d.ts.map +1 -0
  56. package/v1/model/BatchCreateCustomRuleRequestBody.js +57 -0
  57. package/v1/model/BatchCreateCustomRuleRequestBody.js.map +1 -0
  58. package/v1/model/BatchCreateCustomRuleResponse.d.ts +37 -0
  59. package/v1/model/BatchCreateCustomRuleResponse.d.ts.map +1 -0
  60. package/v1/model/BatchCreateCustomRuleResponse.js +73 -0
  61. package/v1/model/BatchCreateCustomRuleResponse.js.map +1 -0
  62. package/v1/model/BatchCreateGeoIpRuleRequest.d.ts +15 -0
  63. package/v1/model/BatchCreateGeoIpRuleRequest.d.ts.map +1 -0
  64. package/v1/model/BatchCreateGeoIpRuleRequest.js +34 -0
  65. package/v1/model/BatchCreateGeoIpRuleRequest.js.map +1 -0
  66. package/v1/model/BatchCreateGeoIpRuleRequestBody.d.ts +20 -0
  67. package/v1/model/BatchCreateGeoIpRuleRequestBody.d.ts.map +1 -0
  68. package/v1/model/BatchCreateGeoIpRuleRequestBody.js +49 -0
  69. package/v1/model/BatchCreateGeoIpRuleRequestBody.js.map +1 -0
  70. package/v1/model/BatchCreateGeoIpRuleResponse.d.ts +25 -0
  71. package/v1/model/BatchCreateGeoIpRuleResponse.d.ts.map +1 -0
  72. package/v1/model/BatchCreateGeoIpRuleResponse.js +53 -0
  73. package/v1/model/BatchCreateGeoIpRuleResponse.js.map +1 -0
  74. package/v1/model/BatchCreateIgnoreRuleRequest.d.ts +17 -0
  75. package/v1/model/BatchCreateIgnoreRuleRequest.d.ts.map +1 -0
  76. package/v1/model/BatchCreateIgnoreRuleRequest.js +38 -0
  77. package/v1/model/BatchCreateIgnoreRuleRequest.js.map +1 -0
  78. package/v1/model/BatchCreateIgnoreRuleRequestBody.d.ts +22 -0
  79. package/v1/model/BatchCreateIgnoreRuleRequestBody.d.ts.map +1 -0
  80. package/v1/model/BatchCreateIgnoreRuleRequestBody.js +48 -0
  81. package/v1/model/BatchCreateIgnoreRuleRequestBody.js.map +1 -0
  82. package/v1/model/BatchCreateIgnoreRuleResponse.d.ts +31 -0
  83. package/v1/model/BatchCreateIgnoreRuleResponse.d.ts.map +1 -0
  84. package/v1/model/BatchCreateIgnoreRuleResponse.js +59 -0
  85. package/v1/model/BatchCreateIgnoreRuleResponse.js.map +1 -0
  86. package/v1/model/BatchCreateIpReputationRuleRequest.d.ts +17 -0
  87. package/v1/model/BatchCreateIpReputationRuleRequest.d.ts.map +1 -0
  88. package/v1/model/BatchCreateIpReputationRuleRequest.js +38 -0
  89. package/v1/model/BatchCreateIpReputationRuleRequest.js.map +1 -0
  90. package/v1/model/BatchCreateIpReputationRuleRequestBody.d.ts +19 -0
  91. package/v1/model/BatchCreateIpReputationRuleRequestBody.d.ts.map +1 -0
  92. package/v1/model/BatchCreateIpReputationRuleRequestBody.js +44 -0
  93. package/v1/model/BatchCreateIpReputationRuleRequestBody.js.map +1 -0
  94. package/v1/model/BatchCreateIpReputationRuleResponse.d.ts +26 -0
  95. package/v1/model/BatchCreateIpReputationRuleResponse.d.ts.map +1 -0
  96. package/v1/model/BatchCreateIpReputationRuleResponse.js +51 -0
  97. package/v1/model/BatchCreateIpReputationRuleResponse.js.map +1 -0
  98. package/v1/model/BatchCreatePrivacyRuleRequest.d.ts +17 -0
  99. package/v1/model/BatchCreatePrivacyRuleRequest.d.ts.map +1 -0
  100. package/v1/model/BatchCreatePrivacyRuleRequest.js +38 -0
  101. package/v1/model/BatchCreatePrivacyRuleRequest.js.map +1 -0
  102. package/v1/model/BatchCreatePrivacyRuleRequestBody.d.ts +26 -0
  103. package/v1/model/BatchCreatePrivacyRuleRequestBody.d.ts.map +1 -0
  104. package/v1/model/BatchCreatePrivacyRuleRequestBody.js +50 -0
  105. package/v1/model/BatchCreatePrivacyRuleRequestBody.js.map +1 -0
  106. package/v1/model/BatchCreatePrivacyRuleResponse.d.ts +31 -0
  107. package/v1/model/BatchCreatePrivacyRuleResponse.d.ts.map +1 -0
  108. package/v1/model/BatchCreatePrivacyRuleResponse.js +54 -0
  109. package/v1/model/BatchCreatePrivacyRuleResponse.js.map +1 -0
  110. package/v1/model/BatchCreateWhiteblackipRuleRequest.d.ts +17 -0
  111. package/v1/model/BatchCreateWhiteblackipRuleRequest.d.ts.map +1 -0
  112. package/v1/model/BatchCreateWhiteblackipRuleRequest.js +38 -0
  113. package/v1/model/BatchCreateWhiteblackipRuleRequest.js.map +1 -0
  114. package/v1/model/BatchCreateWhiteblackipRuleResponse.d.ts +34 -0
  115. package/v1/model/BatchCreateWhiteblackipRuleResponse.d.ts.map +1 -0
  116. package/v1/model/BatchCreateWhiteblackipRuleResponse.js +71 -0
  117. package/v1/model/BatchCreateWhiteblackipRuleResponse.js.map +1 -0
  118. package/v1/model/BatchDeleteAlertNoticeConfigBody.d.ts +9 -0
  119. package/v1/model/BatchDeleteAlertNoticeConfigBody.d.ts.map +1 -0
  120. package/v1/model/BatchDeleteAlertNoticeConfigBody.js +20 -0
  121. package/v1/model/BatchDeleteAlertNoticeConfigBody.js.map +1 -0
  122. package/v1/model/BatchDeleteAlertNoticeConfigRequest.d.ts +17 -0
  123. package/v1/model/BatchDeleteAlertNoticeConfigRequest.d.ts.map +1 -0
  124. package/v1/model/BatchDeleteAlertNoticeConfigRequest.js +40 -0
  125. package/v1/model/BatchDeleteAlertNoticeConfigRequest.js.map +1 -0
  126. package/v1/model/BatchDeleteAlertNoticeConfigResponse.d.ts +10 -0
  127. package/v1/model/BatchDeleteAlertNoticeConfigResponse.d.ts.map +1 -0
  128. package/v1/model/BatchDeleteAlertNoticeConfigResponse.js +21 -0
  129. package/v1/model/BatchDeleteAlertNoticeConfigResponse.js.map +1 -0
  130. package/v1/model/CreateAgencyRequest.d.ts +11 -0
  131. package/v1/model/CreateAgencyRequest.d.ts.map +1 -0
  132. package/v1/model/CreateAgencyRequest.js +24 -0
  133. package/v1/model/CreateAgencyRequest.js.map +1 -0
  134. package/v1/model/CreateAgencyResponse.d.ts +21 -0
  135. package/v1/model/CreateAgencyResponse.d.ts.map +1 -0
  136. package/v1/model/CreateAgencyResponse.js +47 -0
  137. package/v1/model/CreateAgencyResponse.js.map +1 -0
  138. package/v1/model/CreateAlertNoticeConfigBody.d.ts +42 -0
  139. package/v1/model/CreateAlertNoticeConfigBody.d.ts.map +1 -0
  140. package/v1/model/CreateAlertNoticeConfigBody.js +104 -0
  141. package/v1/model/CreateAlertNoticeConfigBody.js.map +1 -0
  142. package/v1/model/CreateAlertNoticeConfigRequest.d.ts +17 -0
  143. package/v1/model/CreateAlertNoticeConfigRequest.d.ts.map +1 -0
  144. package/v1/model/CreateAlertNoticeConfigRequest.js +40 -0
  145. package/v1/model/CreateAlertNoticeConfigRequest.js.map +1 -0
  146. package/v1/model/CreateAlertNoticeConfigResponse.d.ts +47 -0
  147. package/v1/model/CreateAlertNoticeConfigResponse.d.ts.map +1 -0
  148. package/v1/model/CreateAlertNoticeConfigResponse.js +109 -0
  149. package/v1/model/CreateAlertNoticeConfigResponse.js.map +1 -0
  150. package/v1/model/CreateCertificateRequest.d.ts +4 -0
  151. package/v1/model/CreateCertificateRequest.d.ts.map +1 -1
  152. package/v1/model/CreateCertificateRequest.js +10 -0
  153. package/v1/model/CreateCertificateRequest.js.map +1 -1
  154. package/v1/model/CreateQuickAccessDomainRequest.d.ts +16 -0
  155. package/v1/model/CreateQuickAccessDomainRequest.d.ts.map +1 -0
  156. package/v1/model/CreateQuickAccessDomainRequest.js +40 -0
  157. package/v1/model/CreateQuickAccessDomainRequest.js.map +1 -0
  158. package/v1/model/CreateQuickAccessDomainResponse.d.ts +13 -0
  159. package/v1/model/CreateQuickAccessDomainResponse.d.ts.map +1 -0
  160. package/v1/model/CreateQuickAccessDomainResponse.js +29 -0
  161. package/v1/model/CreateQuickAccessDomainResponse.js.map +1 -0
  162. package/v1/model/DeleteAgencyRequest.d.ts +14 -0
  163. package/v1/model/DeleteAgencyRequest.d.ts.map +1 -0
  164. package/v1/model/DeleteAgencyRequest.js +34 -0
  165. package/v1/model/DeleteAgencyRequest.js.map +1 -0
  166. package/v1/model/DeleteAgencyResponse.d.ts +21 -0
  167. package/v1/model/DeleteAgencyResponse.d.ts.map +1 -0
  168. package/v1/model/DeleteAgencyResponse.js +47 -0
  169. package/v1/model/DeleteAgencyResponse.js.map +1 -0
  170. package/v1/model/DeleteAlertNoticeConfigBody.d.ts +6 -0
  171. package/v1/model/DeleteAlertNoticeConfigBody.d.ts.map +1 -0
  172. package/v1/model/DeleteAlertNoticeConfigBody.js +13 -0
  173. package/v1/model/DeleteAlertNoticeConfigBody.js.map +1 -0
  174. package/v1/model/ListCcRulesRequest.d.ts +10 -0
  175. package/v1/model/ListCcRulesRequest.d.ts.map +1 -1
  176. package/v1/model/ListCcRulesRequest.js +22 -0
  177. package/v1/model/ListCcRulesRequest.js.map +1 -1
  178. package/v1/model/PremiumWafAgencyRequest.d.ts +8 -0
  179. package/v1/model/PremiumWafAgencyRequest.d.ts.map +1 -0
  180. package/v1/model/PremiumWafAgencyRequest.js +19 -0
  181. package/v1/model/PremiumWafAgencyRequest.js.map +1 -0
  182. package/v1/model/ResourceResponse.d.ts +6 -0
  183. package/v1/model/ResourceResponse.d.ts.map +1 -1
  184. package/v1/model/ResourceResponse.js +12 -0
  185. package/v1/model/ResourceResponse.js.map +1 -1
  186. package/v1/model/UpdateIpReputationRuleRequest.d.ts +23 -0
  187. package/v1/model/UpdateIpReputationRuleRequest.d.ts.map +1 -0
  188. package/v1/model/UpdateIpReputationRuleRequest.js +56 -0
  189. package/v1/model/UpdateIpReputationRuleRequest.js.map +1 -0
  190. package/v1/model/UpdateIpReputationRuleRequestBody.d.ts +17 -0
  191. package/v1/model/UpdateIpReputationRuleRequestBody.d.ts.map +1 -0
  192. package/v1/model/UpdateIpReputationRuleRequestBody.js +37 -0
  193. package/v1/model/UpdateIpReputationRuleRequestBody.js.map +1 -0
  194. package/v1/model/UpdateIpReputationRuleResponse.d.ts +28 -0
  195. package/v1/model/UpdateIpReputationRuleResponse.d.ts.map +1 -0
  196. package/v1/model/UpdateIpReputationRuleResponse.js +55 -0
  197. package/v1/model/UpdateIpReputationRuleResponse.js.map +1 -0
  198. package/v1/model/UpdatePremiumInstanceRequest.d.ts +11 -0
  199. package/v1/model/UpdatePremiumInstanceRequest.d.ts.map +1 -0
  200. package/v1/model/UpdatePremiumInstanceRequest.js +24 -0
  201. package/v1/model/UpdatePremiumInstanceRequest.js.map +1 -0
  202. package/v1/model/UpdatePremiumInstanceRequestBody.d.ts +8 -0
  203. package/v1/model/UpdatePremiumInstanceRequestBody.d.ts.map +1 -0
  204. package/v1/model/UpdatePremiumInstanceRequestBody.js +18 -0
  205. package/v1/model/UpdatePremiumInstanceRequestBody.js.map +1 -0
  206. package/v1/model/UpdatePremiumInstanceResponse.d.ts +82 -0
  207. package/v1/model/UpdatePremiumInstanceResponse.d.ts.map +1 -0
  208. package/v1/model/UpdatePremiumInstanceResponse.js +187 -0
  209. package/v1/model/UpdatePremiumInstanceResponse.js.map +1 -0
  210. package/v1/public-api.d.ts +48 -0
  211. package/v1/public-api.d.ts.map +1 -1
  212. package/v1/public-api.js +48 -0
  213. package/v1/public-api.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-waf",
3
- "version": "3.1.175",
3
+ "version": "3.1.176",
4
4
  "description": "Huaweicloud SDK for waf",
5
5
  "main": "huaweicloud-sdk-waf.js",
6
6
  "typings": "huaweicloud-sdk-waf.d.ts",
@@ -14,7 +14,7 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.1.175"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.176"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/node": "^14.14.37",
package/v1/WafClient.d.ts CHANGED
@@ -2,6 +2,26 @@ import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
2
2
  import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
3
3
  import { ApplyCertificateToHostRequest } from './model/ApplyCertificateToHostRequest';
4
4
  import { ApplyCertificateToHostResponse } from './model/ApplyCertificateToHostResponse';
5
+ import { BatchCreateAntiTamperRuleRequest } from './model/BatchCreateAntiTamperRuleRequest';
6
+ import { BatchCreateAntiTamperRuleResponse } from './model/BatchCreateAntiTamperRuleResponse';
7
+ import { BatchCreateAntileakageRuleRequest } from './model/BatchCreateAntileakageRuleRequest';
8
+ import { BatchCreateAntileakageRuleResponse } from './model/BatchCreateAntileakageRuleResponse';
9
+ import { BatchCreateCcRuleRequest } from './model/BatchCreateCcRuleRequest';
10
+ import { BatchCreateCcRuleResponse } from './model/BatchCreateCcRuleResponse';
11
+ import { BatchCreateCustomRuleRequest } from './model/BatchCreateCustomRuleRequest';
12
+ import { BatchCreateCustomRuleResponse } from './model/BatchCreateCustomRuleResponse';
13
+ import { BatchCreateGeoIpRuleRequest } from './model/BatchCreateGeoIpRuleRequest';
14
+ import { BatchCreateGeoIpRuleResponse } from './model/BatchCreateGeoIpRuleResponse';
15
+ import { BatchCreateIgnoreRuleRequest } from './model/BatchCreateIgnoreRuleRequest';
16
+ import { BatchCreateIgnoreRuleResponse } from './model/BatchCreateIgnoreRuleResponse';
17
+ import { BatchCreateIpReputationRuleRequest } from './model/BatchCreateIpReputationRuleRequest';
18
+ import { BatchCreateIpReputationRuleResponse } from './model/BatchCreateIpReputationRuleResponse';
19
+ import { BatchCreatePrivacyRuleRequest } from './model/BatchCreatePrivacyRuleRequest';
20
+ import { BatchCreatePrivacyRuleResponse } from './model/BatchCreatePrivacyRuleResponse';
21
+ import { BatchCreateWhiteblackipRuleRequest } from './model/BatchCreateWhiteblackipRuleRequest';
22
+ import { BatchCreateWhiteblackipRuleResponse } from './model/BatchCreateWhiteblackipRuleResponse';
23
+ import { BatchDeleteAlertNoticeConfigRequest } from './model/BatchDeleteAlertNoticeConfigRequest';
24
+ import { BatchDeleteAlertNoticeConfigResponse } from './model/BatchDeleteAlertNoticeConfigResponse';
5
25
  import { BatchDeletePoliciesRequest } from './model/BatchDeletePoliciesRequest';
6
26
  import { BatchDeletePoliciesResponse } from './model/BatchDeletePoliciesResponse';
7
27
  import { ChangePrepaidCloudWafRequest } from './model/ChangePrepaidCloudWafRequest';
@@ -26,6 +46,10 @@ import { ConfirmTmsResourceInstancesRequest } from './model/ConfirmTmsResourceIn
26
46
  import { ConfirmTmsResourceInstancesResponse } from './model/ConfirmTmsResourceInstancesResponse';
27
47
  import { ConfirmUserBundleRequest } from './model/ConfirmUserBundleRequest';
28
48
  import { ConfirmUserBundleResponse } from './model/ConfirmUserBundleResponse';
49
+ import { CreateAgencyRequest } from './model/CreateAgencyRequest';
50
+ import { CreateAgencyResponse } from './model/CreateAgencyResponse';
51
+ import { CreateAlertNoticeConfigRequest } from './model/CreateAlertNoticeConfigRequest';
52
+ import { CreateAlertNoticeConfigResponse } from './model/CreateAlertNoticeConfigResponse';
29
53
  import { CreateAntiTamperRuleRequest } from './model/CreateAntiTamperRuleRequest';
30
54
  import { CreateAntiTamperRuleResponse } from './model/CreateAntiTamperRuleResponse';
31
55
  import { CreateAnticrawlerRuleRequest } from './model/CreateAnticrawlerRuleRequest';
@@ -62,10 +86,14 @@ import { CreatePrivacyRuleRequest } from './model/CreatePrivacyRuleRequest';
62
86
  import { CreatePrivacyRuleResponse } from './model/CreatePrivacyRuleResponse';
63
87
  import { CreatePunishmentRuleRequest } from './model/CreatePunishmentRuleRequest';
64
88
  import { CreatePunishmentRuleResponse } from './model/CreatePunishmentRuleResponse';
89
+ import { CreateQuickAccessDomainRequest } from './model/CreateQuickAccessDomainRequest';
90
+ import { CreateQuickAccessDomainResponse } from './model/CreateQuickAccessDomainResponse';
65
91
  import { CreateValueListRequest } from './model/CreateValueListRequest';
66
92
  import { CreateValueListResponse } from './model/CreateValueListResponse';
67
93
  import { CreateWhiteblackipRuleRequest } from './model/CreateWhiteblackipRuleRequest';
68
94
  import { CreateWhiteblackipRuleResponse } from './model/CreateWhiteblackipRuleResponse';
95
+ import { DeleteAgencyRequest } from './model/DeleteAgencyRequest';
96
+ import { DeleteAgencyResponse } from './model/DeleteAgencyResponse';
69
97
  import { DeleteAnticrawlerRuleRequest } from './model/DeleteAnticrawlerRuleRequest';
70
98
  import { DeleteAnticrawlerRuleResponse } from './model/DeleteAnticrawlerRuleResponse';
71
99
  import { DeleteAntileakageRuleRequest } from './model/DeleteAntileakageRuleRequest';
@@ -292,6 +320,8 @@ import { UpdateInstanceRouteRequest } from './model/UpdateInstanceRouteRequest';
292
320
  import { UpdateInstanceRouteResponse } from './model/UpdateInstanceRouteResponse';
293
321
  import { UpdateIpGroupRequest } from './model/UpdateIpGroupRequest';
294
322
  import { UpdateIpGroupResponse } from './model/UpdateIpGroupResponse';
323
+ import { UpdateIpReputationRuleRequest } from './model/UpdateIpReputationRuleRequest';
324
+ import { UpdateIpReputationRuleResponse } from './model/UpdateIpReputationRuleResponse';
295
325
  import { UpdateLtsInfoConfigRequest } from './model/UpdateLtsInfoConfigRequest';
296
326
  import { UpdateLtsInfoConfigResponse } from './model/UpdateLtsInfoConfigResponse';
297
327
  import { UpdatePolicyProtectHostRequest } from './model/UpdatePolicyProtectHostRequest';
@@ -306,6 +336,8 @@ import { UpdatePremiumHostProtectStatusRequest } from './model/UpdatePremiumHost
306
336
  import { UpdatePremiumHostProtectStatusResponse } from './model/UpdatePremiumHostProtectStatusResponse';
307
337
  import { UpdatePremiumHostRequest } from './model/UpdatePremiumHostRequest';
308
338
  import { UpdatePremiumHostResponse } from './model/UpdatePremiumHostResponse';
339
+ import { UpdatePremiumInstanceRequest } from './model/UpdatePremiumInstanceRequest';
340
+ import { UpdatePremiumInstanceResponse } from './model/UpdatePremiumInstanceResponse';
309
341
  import { UpdatePrivacyRuleRequest } from './model/UpdatePrivacyRuleRequest';
310
342
  import { UpdatePrivacyRuleResponse } from './model/UpdatePrivacyRuleResponse';
311
343
  import { UpdatePunishmentRuleRequest } from './model/UpdatePunishmentRuleRequest';
@@ -333,6 +365,145 @@ export declare class WafClient {
333
365
  * @throws {RequiredError}
334
366
  */
335
367
  applyCertificateToHost(applyCertificateToHostRequest?: ApplyCertificateToHostRequest): Promise<ApplyCertificateToHostResponse>;
368
+ /**
369
+ * 选中多个策略为这些策略批量添加网页防篡改规则
370
+ *
371
+ * Please refer to HUAWEI cloud API Explorer for details.
372
+ *
373
+ * @summary 选中多个策略批量添加网页防篡改规则
374
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
375
+ * @param {BatchCreateAntiTamperRulesRequestBody} bacthCreateWhiteblackipRuleRequestBody 批量创建地理位置访问控制规则
376
+ * @param {string} [policyids] **参数解释:** 域名id。 **约束限制:** 不涉及 **取值范围:** 只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
377
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
378
+ * @param {*} [options] Override http request option.
379
+ * @throws {RequiredError}
380
+ */
381
+ batchCreateAntiTamperRule(batchCreateAntiTamperRuleRequest?: BatchCreateAntiTamperRuleRequest): Promise<BatchCreateAntiTamperRuleResponse>;
382
+ /**
383
+ * 选中多个策略为这些策略批量添加防敏感信息泄漏规则
384
+ *
385
+ * Please refer to HUAWEI cloud API Explorer for details.
386
+ *
387
+ * @summary 选中多个策略批量添加防敏感信息泄漏规则
388
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
389
+ * @param {BatchCreateAntileakageRuleRequestBody} bacthCreateWhiteblackipRuleRequestBody 批量创建防敏感信息泄漏防护规则
390
+ * @param {string} [policyids] **参数解释:** 域名id。 **约束限制:** 不涉及 **取值范围:** 只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
391
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
392
+ * @param {*} [options] Override http request option.
393
+ * @throws {RequiredError}
394
+ */
395
+ batchCreateAntileakageRule(batchCreateAntileakageRuleRequest?: BatchCreateAntileakageRuleRequest): Promise<BatchCreateAntileakageRuleResponse>;
396
+ /**
397
+ * 选中多个策略为这些策略批量添加cc规则
398
+ *
399
+ * Please refer to HUAWEI cloud API Explorer for details.
400
+ *
401
+ * @summary 选中多个策略为批量添加cc规则
402
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
403
+ * @param {BatchCreateCcRuleRequestBody} bacthCreateCcRuleRequestBody 批量创建cc规则
404
+ * @param {string} [policyids] **参数解释:** 策略id列表。策略id从\&quot;查询防护策略列表\&quot;(ListPolicy)接口获取,多个策略之间用“,”隔开 **约束限制:** 不涉及 **取值范围:** 策略id只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
405
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
406
+ * @param {*} [options] Override http request option.
407
+ * @throws {RequiredError}
408
+ */
409
+ batchCreateCcRule(batchCreateCcRuleRequest?: BatchCreateCcRuleRequest): Promise<BatchCreateCcRuleResponse>;
410
+ /**
411
+ * 选中多个策略为这些策略批量添加精准防护规则
412
+ *
413
+ * Please refer to HUAWEI cloud API Explorer for details.
414
+ *
415
+ * @summary 选中多个策略批量添加精准防护规则
416
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
417
+ * @param {BatchCreateCustomRuleRequestBody} bacthCreateCustomRuleRequestBody 批量创建精准防护规则
418
+ * @param {string} [policyids] **参数解释:** 策略id列表。策略id从\&quot;查询防护策略列表\&quot;(ListPolicy)接口获取,多个策略之间用“,”隔开 **约束限制:** 不涉及 **取值范围:** 策略id只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
419
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
420
+ * @param {*} [options] Override http request option.
421
+ * @throws {RequiredError}
422
+ */
423
+ batchCreateCustomRule(batchCreateCustomRuleRequest?: BatchCreateCustomRuleRequest): Promise<BatchCreateCustomRuleResponse>;
424
+ /**
425
+ * 选中多个策略为这些策略批量添加地理位置访问控制规则
426
+ *
427
+ * Please refer to HUAWEI cloud API Explorer for details.
428
+ *
429
+ * @summary 选中多个策略批量添加地理位置访问控制规则
430
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
431
+ * @param {BatchCreateGeoIpRuleRequestBody} batchCreateGeoIpRuleRequestBody 批量创建地理位置访问控制规则
432
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
433
+ * @param {*} [options] Override http request option.
434
+ * @throws {RequiredError}
435
+ */
436
+ batchCreateGeoIpRule(batchCreateGeoIpRuleRequest?: BatchCreateGeoIpRuleRequest): Promise<BatchCreateGeoIpRuleResponse>;
437
+ /**
438
+ * 选中多个策略为这些策略批量添加全局白名单规则
439
+ *
440
+ * Please refer to HUAWEI cloud API Explorer for details.
441
+ *
442
+ * @summary 选中多个策略批量添加全局白名单规则
443
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
444
+ * @param {BatchCreateIgnoreRuleRequestBody} batchCreateIgnoreRuleRequestBody 批量创建全局白名单防护规则
445
+ * @param {string} [policyids] **参数解释:** 域名id。 **约束限制:** 不涉及 **取值范围:** 只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
446
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
447
+ * @param {*} [options] Override http request option.
448
+ * @throws {RequiredError}
449
+ */
450
+ batchCreateIgnoreRule(batchCreateIgnoreRuleRequest?: BatchCreateIgnoreRuleRequest): Promise<BatchCreateIgnoreRuleResponse>;
451
+ /**
452
+ * 选中多个策略为这些策略批量添加威胁情报访问控制规则
453
+ *
454
+ * Please refer to HUAWEI cloud API Explorer for details.
455
+ *
456
+ * @summary 为多个策略批量添加威胁情报访问控制规则
457
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
458
+ * @param {BatchCreateIpReputationRuleRequestBody} batchCreateIpReputationRuleRequestBody 批量创建威胁情报访问控制规则
459
+ * @param {string} [policyids] **参数解释:** 域名id。 **约束限制:** 不涉及 **取值范围:** 只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
460
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
461
+ * @param {*} [options] Override http request option.
462
+ * @throws {RequiredError}
463
+ */
464
+ batchCreateIpReputationRule(batchCreateIpReputationRuleRequest?: BatchCreateIpReputationRuleRequest): Promise<BatchCreateIpReputationRuleResponse>;
465
+ /**
466
+ * 选中多个策略为这些策略批量添加隐私屏蔽防护规则
467
+ *
468
+ * Please refer to HUAWEI cloud API Explorer for details.
469
+ *
470
+ * @summary 选中多个策略批量添加隐私屏蔽防护防护规则
471
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
472
+ * @param {BatchCreatePrivacyRuleRequestBody} batchCreatePrivacyRuleRequestBody 批量创建隐私屏蔽防护规则
473
+ * @param {string} [policyids] **参数解释:** 策略id列表。策略id从\&quot;查询防护策略列表\&quot;(ListPolicy)接口获取,多个策略之间用“,”隔开 **约束限制:** 不涉及 **取值范围:** 策略id只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
474
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
475
+ * @param {*} [options] Override http request option.
476
+ * @throws {RequiredError}
477
+ */
478
+ batchCreatePrivacyRule(batchCreatePrivacyRuleRequest?: BatchCreatePrivacyRuleRequest): Promise<BatchCreatePrivacyRuleResponse>;
479
+ /**
480
+ * 选中多个策略为这些策略批量添加黑白名单防护规则
481
+ *
482
+ * Please refer to HUAWEI cloud API Explorer for details.
483
+ *
484
+ * @summary 选中多个策略批量添加黑白名单防护规则
485
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
486
+ * @param {BacthCreateWhiteBlackIpRuleRequestBody} bacthCreateWhiteblackipRuleRequestBody 批量创建黑白名单防护规则
487
+ * @param {string} [policyids] **参数解释:** 策略id列表。策略id从\&quot;查询防护策略列表\&quot;(ListPolicy)接口获取,多个策略之间用“,”隔开 **约束限制:** 不涉及 **取值范围:** 策略id只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
488
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
489
+ * @param {*} [options] Override http request option.
490
+ * @throws {RequiredError}
491
+ */
492
+ batchCreateWhiteblackipRule(batchCreateWhiteblackipRuleRequest?: BatchCreateWhiteblackipRuleRequest): Promise<BatchCreateWhiteblackipRuleResponse>;
493
+ /**
494
+ * 批量删除告警通知
495
+ *
496
+ * Please refer to HUAWEI cloud API Explorer for details.
497
+ *
498
+ * @summary 批量删除告警通知
499
+ * @param {string} enterpriseProjectId **参数解释:** 企业项目ID **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
500
+ * @param {string} xLanguage 语言,默认值为en-us。zh-cn(中文)/en-us(英文)
501
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
502
+ * @param {BatchDeleteAlertNoticeConfigBody} batchDeleteAlertNoticeConfigBody **参数解释:** 待删除的告警通知配置列表 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
503
+ * @param {*} [options] Override http request option.
504
+ * @throws {RequiredError}
505
+ */
506
+ batchDeleteAlertNoticeConfig(batchDeleteAlertNoticeConfigRequest?: BatchDeleteAlertNoticeConfigRequest): Promise<BatchDeleteAlertNoticeConfigResponse>;
336
507
  /**
337
508
  * 批量删除防护策略
338
509
  *
@@ -486,6 +657,32 @@ export declare class WafClient {
486
657
  * @throws {RequiredError}
487
658
  */
488
659
  confirmUserBundle(confirmUserBundleRequest?: ConfirmUserBundleRequest): Promise<ConfirmUserBundleResponse>;
660
+ /**
661
+ * 创建独享引擎的代理
662
+ *
663
+ * Please refer to HUAWEI cloud API Explorer for details.
664
+ *
665
+ * @summary 创建代理
666
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
667
+ * @param {PremiumWafAgencyRequest} [premiumWafAgencyRequest] **参数解释:** 独享引擎操作 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
668
+ * @param {*} [options] Override http request option.
669
+ * @throws {RequiredError}
670
+ */
671
+ createAgency(createAgencyRequest?: CreateAgencyRequest): Promise<CreateAgencyResponse>;
672
+ /**
673
+ * 创建告警通知
674
+ *
675
+ * Please refer to HUAWEI cloud API Explorer for details.
676
+ *
677
+ * @summary 创建告警通知
678
+ * @param {string} xLanguage **参数解释:** 语言,默认值为en-us。zh-cn(中文)/en-us(英文) **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** zh-cn
679
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
680
+ * @param {string} enterpriseProjectId **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
681
+ * @param {CreateAlertNoticeConfigBody} alertNoticeConfig **参数解释:** 请求Body **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ */
685
+ createAlertNoticeConfig(createAlertNoticeConfigRequest?: CreateAlertNoticeConfigRequest): Promise<CreateAlertNoticeConfigResponse>;
489
686
  /**
490
687
  * 创建防篡改规则
491
688
  *
@@ -551,6 +748,7 @@ export declare class WafClient {
551
748
  * @param {string} contentType 内容类型
552
749
  * @param {CreateCertificateRequestBody} createCertificateRequestBody requestBody
553
750
  * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
751
+ * @param {boolean} [verifyCertKey] 是否验证证书和私钥,true为验证,false为不验证
554
752
  * @param {*} [options] Override http request option.
555
753
  * @throws {RequiredError}
556
754
  */
@@ -758,6 +956,19 @@ export declare class WafClient {
758
956
  * @throws {RequiredError}
759
957
  */
760
958
  createWhiteblackipRule(createWhiteblackipRuleRequest?: CreateWhiteblackipRuleRequest): Promise<CreateWhiteblackipRuleResponse>;
959
+ /**
960
+ * 删除独享引擎的代理
961
+ *
962
+ * Please refer to HUAWEI cloud API Explorer for details.
963
+ *
964
+ * @summary 删除代理
965
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
966
+ * @param {boolean} [purged] **参数解释:** purged取值为true时,会同步删除在IAM处创建的premium_waf_svc_trust委托,purged取值为false时,不会同步删除在IAM处创建的premium_waf_svc_trust委托 **约束限制:** 不涉及 **取值范围:** - true - false **默认取值:** 不涉及
967
+ * @param {Array<string>} [roleIdList] **参数解释:** 待删除的代理id **约束限制:** 不涉及 **取值范围:** 从 “查询独享引擎代理”接口的返回结果中,选取需要删除代理的id值 **默认取值:** 不涉及
968
+ * @param {*} [options] Override http request option.
969
+ * @throws {RequiredError}
970
+ */
971
+ deleteAgency(deleteAgencyRequest?: DeleteAgencyRequest): Promise<DeleteAgencyResponse>;
761
972
  /**
762
973
  * 删除JS脚本反爬虫防护规则
763
974
  *
@@ -1137,6 +1348,10 @@ export declare class WafClient {
1137
1348
  * @param {number} offset 偏移量,表示查询该偏移量之后的记录。
1138
1349
  * @param {number} limit 查询返回记录的数量限制。
1139
1350
  * @param {string} [enterpriseProjectId] 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。
1351
+ * @param {string} [name] 规则名称
1352
+ * @param {number} [status] 规则的开启状态,1表示开启,0表示关闭
1353
+ * @param {string} [category] **参数解释:** 防护动作 **取值范围:** - block: 拦截,表示超过“限速频率”将直接拦截。 - log:仅记录,表示超过“限速频率”将只记录不拦截。 - captcha:表示超过“限速频率”后弹出验证码,进行人机验证,完成验证后,请求将不受访问限制。人机验证目前支持英文。 - dynamic_block:上一个限速周期内,请求频率超过“限速频率”将被拦截,那么在下一个限速周期内,请求频率超过“放行频率”将被拦截。 - advanced_captcha:高阶人机验证,表示超过“限速频率”后弹出验证码,进行人机验证。 - js_challenge:要求客户端完成一段脚本的执行或验证,从而验证请求来源的合法性。
1354
+ * @param {string} [tagType] 限速模式: - ip:IP限速,根据IP区分单个Web访问者。 - cookie:用户限速,根据Cookie键值区分单个Web访问者。 - header:用户限速,根据Header区分单个Web访问者。 - other:根据Referer(自定义请求访问的来源)字段区分单个Web访问者。 - policy: 策略限速 - domain: 域名限速 - url: url限速
1140
1355
  * @param {*} [options] Override http request option.
1141
1356
  * @throws {RequiredError}
1142
1357
  */
@@ -2385,6 +2600,21 @@ export declare class WafClient {
2385
2600
  * @throws {RequiredError}
2386
2601
  */
2387
2602
  updateIpGroup(updateIpGroupRequest?: UpdateIpGroupRequest): Promise<UpdateIpGroupResponse>;
2603
+ /**
2604
+ * 更新IP情报防护规则
2605
+ *
2606
+ * Please refer to HUAWEI cloud API Explorer for details.
2607
+ *
2608
+ * @summary 更新机房IP情报防护规则
2609
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
2610
+ * @param {string} policyId **参数解释:** 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id,响应体的id字段 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
2611
+ * @param {string} ruleId **参数解释:** 机房IP情报访问控制规则id,通过\&quot;查询威胁情报规则列表\&quot;接口获取 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
2612
+ * @param {UpdateIpReputationRuleRequestBody} updateIpReputationRuleRequestBody **参数解释:** body_info **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
2613
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
2614
+ * @param {*} [options] Override http request option.
2615
+ * @throws {RequiredError}
2616
+ */
2617
+ updateIpReputationRule(updateIpReputationRuleRequest?: UpdateIpReputationRuleRequest): Promise<UpdateIpReputationRuleResponse>;
2388
2618
  /**
2389
2619
  * 配置全量日志lts,该接口可用来开启与关闭waf全量日志以及配置日志组和日志流。日志组id和日志流id可前往云日志服务获取。配置的日志流id要属于所配置的日志组。
2390
2620
  *
@@ -2483,6 +2713,18 @@ export declare class WafClient {
2483
2713
  * @throws {RequiredError}
2484
2714
  */
2485
2715
  updatePremiumHostProtectStatus(updatePremiumHostProtectStatusRequest?: UpdatePremiumHostProtectStatusRequest): Promise<UpdatePremiumHostProtectStatusResponse>;
2716
+ /**
2717
+ * 操作WAF独享引擎
2718
+ *
2719
+ * Please refer to HUAWEI cloud API Explorer for details.
2720
+ *
2721
+ * @summary 操作WAF独享引擎
2722
+ * @param {string} instanceId **参数解释:** 独享引擎ID **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
2723
+ * @param {UpdatePremiumInstanceRequestBody} [updatePremiumInstanceRequestBody] **参数解释:** 独享引擎操作 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** 不涉及
2724
+ * @param {*} [options] Override http request option.
2725
+ * @throws {RequiredError}
2726
+ */
2727
+ updatePremiumInstance(updatePremiumInstanceRequest?: UpdatePremiumInstanceRequest): Promise<UpdatePremiumInstanceResponse>;
2486
2728
  /**
2487
2729
  * 更新隐私屏蔽防护规则
2488
2730
  *
@@ -2542,6 +2784,20 @@ export declare class WafClient {
2542
2784
  * @throws {RequiredError}
2543
2785
  */
2544
2786
  updateWhiteblackipRule(updateWhiteblackipRuleRequest?: UpdateWhiteblackipRuleRequest): Promise<UpdateWhiteblackipRuleResponse>;
2787
+ /**
2788
+ * 快速接入,直接去修改用户的DNS记录,使域名快速接入WAF
2789
+ *
2790
+ * Please refer to HUAWEI cloud API Explorer for details.
2791
+ *
2792
+ * @summary 域名快速接入WAF
2793
+ * @param {string} projectid **参数解释:** 项目ID,对应控制台用户名-&gt;我的凭证-&gt;项目列表-&gt;项目ID。 **约束限制:** 不涉及 **取值范围:** 只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及**参数解释:** 项目ID,对应控制台用户名-&gt;我的凭证-&gt;项目列表-&gt;项目ID。 **约束限制:** 不涉及 **取值范围:** 只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
2794
+ * @param {string} instanceid **参数解释:** 域名id。 **约束限制:** 不涉及 **取值范围:** 只能由英文字母、数字组成,且长度为32个字符。 **默认取值:** 不涉及
2795
+ * @param {string} contentType **参数解释:** 内容类型 **约束限制:** 不涉及 **取值范围:** 不涉及 **默认取值:** application/json;charset&#x3D;utf8
2796
+ * @param {string} [enterpriseProjectId] **参数解释:** 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目ID。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 **约束限制:** 不涉及 **取值范围:** - 0:代表default企业项目 - all_granted_eps:代表所有企业项目 - 其它企业项目ID:长度为36个字符 **默认取值:** 0
2797
+ * @param {*} [options] Override http request option.
2798
+ * @throws {RequiredError}
2799
+ */
2800
+ createQuickAccessDomain(createQuickAccessDomainRequest?: CreateQuickAccessDomainRequest): Promise<CreateQuickAccessDomainResponse>;
2545
2801
  /**
2546
2802
  * 根据Id查询Web防护规则
2547
2803
  *
@@ -2570,6 +2826,146 @@ export declare const ParamCreater: () => {
2570
2826
  headers: {};
2571
2827
  data: {};
2572
2828
  };
2829
+ /**
2830
+ * 选中多个策略为这些策略批量添加网页防篡改规则
2831
+ *
2832
+ * Please refer to HUAWEI cloud API Explorer for details.
2833
+ */
2834
+ batchCreateAntiTamperRule(batchCreateAntiTamperRuleRequest?: BatchCreateAntiTamperRuleRequest): {
2835
+ method: string;
2836
+ url: string;
2837
+ contentType: string;
2838
+ queryParams: {};
2839
+ pathParams: {};
2840
+ headers: {};
2841
+ data: {};
2842
+ };
2843
+ /**
2844
+ * 选中多个策略为这些策略批量添加防敏感信息泄漏规则
2845
+ *
2846
+ * Please refer to HUAWEI cloud API Explorer for details.
2847
+ */
2848
+ batchCreateAntileakageRule(batchCreateAntileakageRuleRequest?: BatchCreateAntileakageRuleRequest): {
2849
+ method: string;
2850
+ url: string;
2851
+ contentType: string;
2852
+ queryParams: {};
2853
+ pathParams: {};
2854
+ headers: {};
2855
+ data: {};
2856
+ };
2857
+ /**
2858
+ * 选中多个策略为这些策略批量添加cc规则
2859
+ *
2860
+ * Please refer to HUAWEI cloud API Explorer for details.
2861
+ */
2862
+ batchCreateCcRule(batchCreateCcRuleRequest?: BatchCreateCcRuleRequest): {
2863
+ method: string;
2864
+ url: string;
2865
+ contentType: string;
2866
+ queryParams: {};
2867
+ pathParams: {};
2868
+ headers: {};
2869
+ data: {};
2870
+ };
2871
+ /**
2872
+ * 选中多个策略为这些策略批量添加精准防护规则
2873
+ *
2874
+ * Please refer to HUAWEI cloud API Explorer for details.
2875
+ */
2876
+ batchCreateCustomRule(batchCreateCustomRuleRequest?: BatchCreateCustomRuleRequest): {
2877
+ method: string;
2878
+ url: string;
2879
+ contentType: string;
2880
+ queryParams: {};
2881
+ pathParams: {};
2882
+ headers: {};
2883
+ data: {};
2884
+ };
2885
+ /**
2886
+ * 选中多个策略为这些策略批量添加地理位置访问控制规则
2887
+ *
2888
+ * Please refer to HUAWEI cloud API Explorer for details.
2889
+ */
2890
+ batchCreateGeoIpRule(batchCreateGeoIpRuleRequest?: BatchCreateGeoIpRuleRequest): {
2891
+ method: string;
2892
+ url: string;
2893
+ contentType: string;
2894
+ queryParams: {};
2895
+ pathParams: {};
2896
+ headers: {};
2897
+ data: {};
2898
+ };
2899
+ /**
2900
+ * 选中多个策略为这些策略批量添加全局白名单规则
2901
+ *
2902
+ * Please refer to HUAWEI cloud API Explorer for details.
2903
+ */
2904
+ batchCreateIgnoreRule(batchCreateIgnoreRuleRequest?: BatchCreateIgnoreRuleRequest): {
2905
+ method: string;
2906
+ url: string;
2907
+ contentType: string;
2908
+ queryParams: {};
2909
+ pathParams: {};
2910
+ headers: {};
2911
+ data: {};
2912
+ };
2913
+ /**
2914
+ * 选中多个策略为这些策略批量添加威胁情报访问控制规则
2915
+ *
2916
+ * Please refer to HUAWEI cloud API Explorer for details.
2917
+ */
2918
+ batchCreateIpReputationRule(batchCreateIpReputationRuleRequest?: BatchCreateIpReputationRuleRequest): {
2919
+ method: string;
2920
+ url: string;
2921
+ contentType: string;
2922
+ queryParams: {};
2923
+ pathParams: {};
2924
+ headers: {};
2925
+ data: {};
2926
+ };
2927
+ /**
2928
+ * 选中多个策略为这些策略批量添加隐私屏蔽防护规则
2929
+ *
2930
+ * Please refer to HUAWEI cloud API Explorer for details.
2931
+ */
2932
+ batchCreatePrivacyRule(batchCreatePrivacyRuleRequest?: BatchCreatePrivacyRuleRequest): {
2933
+ method: string;
2934
+ url: string;
2935
+ contentType: string;
2936
+ queryParams: {};
2937
+ pathParams: {};
2938
+ headers: {};
2939
+ data: {};
2940
+ };
2941
+ /**
2942
+ * 选中多个策略为这些策略批量添加黑白名单防护规则
2943
+ *
2944
+ * Please refer to HUAWEI cloud API Explorer for details.
2945
+ */
2946
+ batchCreateWhiteblackipRule(batchCreateWhiteblackipRuleRequest?: BatchCreateWhiteblackipRuleRequest): {
2947
+ method: string;
2948
+ url: string;
2949
+ contentType: string;
2950
+ queryParams: {};
2951
+ pathParams: {};
2952
+ headers: {};
2953
+ data: {};
2954
+ };
2955
+ /**
2956
+ * 批量删除告警通知
2957
+ *
2958
+ * Please refer to HUAWEI cloud API Explorer for details.
2959
+ */
2960
+ batchDeleteAlertNoticeConfig(batchDeleteAlertNoticeConfigRequest?: BatchDeleteAlertNoticeConfigRequest): {
2961
+ method: string;
2962
+ url: string;
2963
+ contentType: string;
2964
+ queryParams: {};
2965
+ pathParams: {};
2966
+ headers: {};
2967
+ data: {};
2968
+ };
2573
2969
  /**
2574
2970
  * 批量删除防护策略
2575
2971
  *
@@ -2732,6 +3128,34 @@ export declare const ParamCreater: () => {
2732
3128
  pathParams: {};
2733
3129
  headers: {};
2734
3130
  };
3131
+ /**
3132
+ * 创建独享引擎的代理
3133
+ *
3134
+ * Please refer to HUAWEI cloud API Explorer for details.
3135
+ */
3136
+ createAgency(createAgencyRequest?: CreateAgencyRequest): {
3137
+ method: string;
3138
+ url: string;
3139
+ contentType: string;
3140
+ queryParams: {};
3141
+ pathParams: {};
3142
+ headers: {};
3143
+ data: {};
3144
+ };
3145
+ /**
3146
+ * 创建告警通知
3147
+ *
3148
+ * Please refer to HUAWEI cloud API Explorer for details.
3149
+ */
3150
+ createAlertNoticeConfig(createAlertNoticeConfigRequest?: CreateAlertNoticeConfigRequest): {
3151
+ method: string;
3152
+ url: string;
3153
+ contentType: string;
3154
+ queryParams: {};
3155
+ pathParams: {};
3156
+ headers: {};
3157
+ data: {};
3158
+ };
2735
3159
  /**
2736
3160
  * 创建防篡改规则
2737
3161
  *
@@ -3012,6 +3436,19 @@ export declare const ParamCreater: () => {
3012
3436
  headers: {};
3013
3437
  data: {};
3014
3438
  };
3439
+ /**
3440
+ * 删除独享引擎的代理
3441
+ *
3442
+ * Please refer to HUAWEI cloud API Explorer for details.
3443
+ */
3444
+ deleteAgency(deleteAgencyRequest?: DeleteAgencyRequest): {
3445
+ method: string;
3446
+ url: string;
3447
+ contentType: string;
3448
+ queryParams: {};
3449
+ pathParams: {};
3450
+ headers: {};
3451
+ };
3015
3452
  /**
3016
3453
  * 删除JS脚本反爬虫防护规则
3017
3454
  *
@@ -4485,6 +4922,20 @@ export declare const ParamCreater: () => {
4485
4922
  headers: {};
4486
4923
  data: {};
4487
4924
  };
4925
+ /**
4926
+ * 更新IP情报防护规则
4927
+ *
4928
+ * Please refer to HUAWEI cloud API Explorer for details.
4929
+ */
4930
+ updateIpReputationRule(updateIpReputationRuleRequest?: UpdateIpReputationRuleRequest): {
4931
+ method: string;
4932
+ url: string;
4933
+ contentType: string;
4934
+ queryParams: {};
4935
+ pathParams: {};
4936
+ headers: {};
4937
+ data: {};
4938
+ };
4488
4939
  /**
4489
4940
  * 配置全量日志lts,该接口可用来开启与关闭waf全量日志以及配置日志组和日志流。日志组id和日志流id可前往云日志服务获取。配置的日志流id要属于所配置的日志组。
4490
4941
  *
@@ -4582,6 +5033,20 @@ export declare const ParamCreater: () => {
4582
5033
  headers: {};
4583
5034
  data: {};
4584
5035
  };
5036
+ /**
5037
+ * 操作WAF独享引擎
5038
+ *
5039
+ * Please refer to HUAWEI cloud API Explorer for details.
5040
+ */
5041
+ updatePremiumInstance(updatePremiumInstanceRequest?: UpdatePremiumInstanceRequest): {
5042
+ method: string;
5043
+ url: string;
5044
+ contentType: string;
5045
+ queryParams: {};
5046
+ pathParams: {};
5047
+ headers: {};
5048
+ data: {};
5049
+ };
4585
5050
  /**
4586
5051
  * 更新隐私屏蔽防护规则
4587
5052
  *
@@ -4638,6 +5103,19 @@ export declare const ParamCreater: () => {
4638
5103
  headers: {};
4639
5104
  data: {};
4640
5105
  };
5106
+ /**
5107
+ * 快速接入,直接去修改用户的DNS记录,使域名快速接入WAF
5108
+ *
5109
+ * Please refer to HUAWEI cloud API Explorer for details.
5110
+ */
5111
+ createQuickAccessDomain(createQuickAccessDomainRequest?: CreateQuickAccessDomainRequest): {
5112
+ method: string;
5113
+ url: string;
5114
+ contentType: string;
5115
+ queryParams: {};
5116
+ pathParams: {};
5117
+ headers: {};
5118
+ };
4641
5119
  /**
4642
5120
  * 根据Id查询Web防护规则
4643
5121
  *