tccli-intl-en 3.0.1168.1__py2.py3-none-any.whl → 3.1.16.1__py2.py3-none-any.whl

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 (294) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argument.py +1 -1
  3. tccli/plugins/sso/__init__.py +14 -0
  4. tccli/plugins/sso/login.py +23 -6
  5. tccli/plugins/sso/texts.py +4 -0
  6. tccli/services/__init__.py +49 -2
  7. tccli/services/advisor/advisor_client.py +10 -4
  8. tccli/services/ai3d/__init__.py +4 -0
  9. tccli/services/ai3d/ai3d_client.py +266 -0
  10. tccli/services/ai3d/v20250513/api.json +264 -0
  11. tccli/services/ai3d/v20250513/examples.json +20 -0
  12. tccli/services/aiart/aiart_client.py +5 -2
  13. tccli/services/ams/ams_client.py +20 -8
  14. tccli/services/antiddos/antiddos_client.py +350 -140
  15. tccli/services/apigateway/apigateway_client.py +465 -186
  16. tccli/services/apm/apm_client.py +835 -68
  17. tccli/services/apm/v20210622/api.json +3936 -1145
  18. tccli/services/apm/v20210622/examples.json +133 -23
  19. tccli/services/asr/asr_client.py +10 -4
  20. tccli/services/autoscaling/autoscaling_client.py +341 -114
  21. tccli/services/autoscaling/v20180419/api.json +514 -333
  22. tccli/services/autoscaling/v20180419/examples.json +46 -38
  23. tccli/services/batch/batch_client.py +140 -56
  24. tccli/services/bi/__init__.py +4 -0
  25. tccli/services/bi/bi_client.py +1498 -0
  26. tccli/services/bi/v20220105/api.json +5769 -0
  27. tccli/services/bi/v20220105/examples.json +215 -0
  28. tccli/services/billing/billing_client.py +1055 -134
  29. tccli/services/billing/v20180709/api.json +1654 -243
  30. tccli/services/billing/v20180709/examples.json +169 -25
  31. tccli/services/cam/cam_client.py +405 -162
  32. tccli/services/captcha/captcha_client.py +5 -2
  33. tccli/services/captcha/v20190722/api.json +16 -6
  34. tccli/services/captcha/v20190722/examples.json +3 -3
  35. tccli/services/car/car_client.py +165 -66
  36. tccli/services/cbs/cbs_client.py +190 -76
  37. tccli/services/ccc/ccc_client.py +1167 -268
  38. tccli/services/ccc/v20200210/api.json +2263 -202
  39. tccli/services/ccc/v20200210/examples.json +116 -12
  40. tccli/services/cdb/cdb_client.py +665 -266
  41. tccli/services/cdb/v20170320/api.json +426 -173
  42. tccli/services/cdb/v20170320/examples.json +6 -6
  43. tccli/services/cdc/cdc_client.py +100 -40
  44. tccli/services/cdc/v20201214/api.json +2 -2
  45. tccli/services/cdc/v20201214/examples.json +4 -4
  46. tccli/services/cdn/cdn_client.py +220 -88
  47. tccli/services/cdwdoris/cdwdoris_client.py +385 -154
  48. tccli/services/cdwpg/cdwpg_client.py +120 -48
  49. tccli/services/cdz/__init__.py +4 -0
  50. tccli/services/cdz/cdz_client.py +210 -0
  51. tccli/services/cdz/v20221123/api.json +233 -0
  52. tccli/services/cdz/v20221123/examples.json +12 -0
  53. tccli/services/cfg/cfg_client.py +80 -32
  54. tccli/services/cfg/v20210820/api.json +30 -10
  55. tccli/services/cfg/v20210820/examples.json +1 -1
  56. tccli/services/cfs/cfs_client.py +195 -78
  57. tccli/services/cfw/cfw_client.py +330 -132
  58. tccli/services/chdfs/chdfs_client.py +145 -58
  59. tccli/services/ciam/ciam_client.py +80 -32
  60. tccli/services/ckafka/ckafka_client.py +1033 -255
  61. tccli/services/ckafka/v20190819/api.json +3378 -1681
  62. tccli/services/ckafka/v20190819/examples.json +254 -160
  63. tccli/services/clb/clb_client.py +1054 -469
  64. tccli/services/clb/v20180317/api.json +2307 -1024
  65. tccli/services/clb/v20180317/examples.json +186 -126
  66. tccli/services/cloudaudit/cloudaudit_client.py +90 -36
  67. tccli/services/cls/cls_client.py +434 -173
  68. tccli/services/cmq/cmq_client.py +14 -803
  69. tccli/services/cmq/v20190304/api.json +173 -1367
  70. tccli/services/cmq/v20190304/examples.json +0 -120
  71. tccli/services/config/config_client.py +30 -12
  72. tccli/services/controlcenter/controlcenter_client.py +229 -2
  73. tccli/services/controlcenter/v20230110/api.json +528 -5
  74. tccli/services/controlcenter/v20230110/examples.json +32 -0
  75. tccli/services/csip/csip_client.py +339 -78
  76. tccli/services/csip/v20221121/api.json +1011 -38
  77. tccli/services/csip/v20221121/examples.json +24 -0
  78. tccli/services/ctsdb/__init__.py +4 -0
  79. tccli/services/ctsdb/ctsdb_client.py +266 -0
  80. tccli/services/ctsdb/v20230202/api.json +677 -0
  81. tccli/services/ctsdb/v20230202/examples.json +20 -0
  82. tccli/services/cvm/cvm_client.py +706 -189
  83. tccli/services/cvm/v20170312/api.json +1141 -510
  84. tccli/services/cvm/v20170312/examples.json +174 -128
  85. tccli/services/cwp/cwp_client.py +2325 -930
  86. tccli/services/cynosdb/cynosdb_client.py +3051 -575
  87. tccli/services/cynosdb/v20190107/api.json +14074 -7139
  88. tccli/services/cynosdb/v20190107/examples.json +597 -287
  89. tccli/services/dataintegration/dataintegration_client.py +5 -2
  90. tccli/services/dayu/dayu_client.py +515 -206
  91. tccli/services/dbbrain/dbbrain_client.py +210 -84
  92. tccli/services/dc/dc_client.py +90 -36
  93. tccli/services/dcdb/dcdb_client.py +310 -124
  94. tccli/services/dlc/dlc_client.py +859 -214
  95. tccli/services/dlc/v20210125/api.json +637 -13
  96. tccli/services/dlc/v20210125/examples.json +48 -0
  97. tccli/services/dms/dms_client.py +10 -4
  98. tccli/services/dnspod/dnspod_client.py +390 -111
  99. tccli/services/dnspod/v20210323/api.json +196 -0
  100. tccli/services/dnspod/v20210323/examples.json +24 -0
  101. tccli/services/domain/domain_client.py +120 -48
  102. tccli/services/dts/dts_client.py +415 -166
  103. tccli/services/eb/eb_client.py +130 -52
  104. tccli/services/ecdn/ecdn_client.py +75 -30
  105. tccli/services/ecm/ecm_client.py +620 -248
  106. tccli/services/eiam/eiam_client.py +200 -80
  107. tccli/services/emr/emr_client.py +3104 -117
  108. tccli/services/emr/v20190103/api.json +15311 -4361
  109. tccli/services/emr/v20190103/examples.json +452 -42
  110. tccli/services/es/es_client.py +105 -42
  111. tccli/services/facefusion/facefusion_client.py +15 -6
  112. tccli/services/faceid/faceid_client.py +95 -38
  113. tccli/services/faceid/v20180301/api.json +172 -45
  114. tccli/services/faceid/v20180301/examples.json +3 -3
  115. tccli/services/gaap/gaap_client.py +440 -176
  116. tccli/services/gme/gme_client.py +50 -20
  117. tccli/services/gpm/gpm_client.py +90 -36
  118. tccli/services/gse/gse_client.py +110 -44
  119. tccli/services/gwlb/gwlb_client.py +90 -36
  120. tccli/services/hunyuan/__init__.py +4 -0
  121. tccli/services/hunyuan/hunyuan_client.py +266 -0
  122. tccli/services/hunyuan/v20230901/api.json +270 -0
  123. tccli/services/hunyuan/v20230901/examples.json +20 -0
  124. tccli/services/iai/iai_client.py +145 -58
  125. tccli/services/iai/v20200303/api.json +187 -51
  126. tccli/services/iai/v20200303/examples.json +30 -12
  127. tccli/services/iap/iap_client.py +30 -12
  128. tccli/services/ims/ims_client.py +5 -2
  129. tccli/services/ims/v20201229/api.json +133 -141
  130. tccli/services/ims/v20201229/examples.json +3 -3
  131. tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +516 -72
  132. tccli/services/intlpartnersmgt/v20220928/api.json +976 -60
  133. tccli/services/intlpartnersmgt/v20220928/examples.json +50 -2
  134. tccli/services/iotcloud/iotcloud_client.py +100 -40
  135. tccli/services/iotcloud/v20210408/api.json +216 -107
  136. tccli/services/iotcloud/v20210408/examples.json +9 -9
  137. tccli/services/ip/ip_client.py +30 -12
  138. tccli/services/kms/kms_client.py +1226 -227
  139. tccli/services/kms/v20190118/api.json +1562 -144
  140. tccli/services/kms/v20190118/examples.json +204 -78
  141. tccli/services/lcic/lcic_client.py +265 -106
  142. tccli/services/lighthouse/lighthouse_client.py +370 -148
  143. tccli/services/lighthouse/v20200324/api.json +14 -14
  144. tccli/services/lighthouse/v20200324/examples.json +5 -5
  145. tccli/services/live/live_client.py +804 -232
  146. tccli/services/live/v20180801/api.json +272 -0
  147. tccli/services/live/v20180801/examples.json +32 -0
  148. tccli/services/lke/__init__.py +4 -0
  149. tccli/services/lke/lke_client.py +5194 -0
  150. tccli/services/lke/v20231130/api.json +14803 -0
  151. tccli/services/lke/v20231130/examples.json +736 -0
  152. tccli/services/lkeap/__init__.py +4 -0
  153. tccli/services/lkeap/lkeap_client.py +602 -0
  154. tccli/services/lkeap/v20240522/api.json +953 -0
  155. tccli/services/lkeap/v20240522/examples.json +92 -0
  156. tccli/services/mariadb/mariadb_client.py +250 -100
  157. tccli/services/mdc/mdc_client.py +90 -36
  158. tccli/services/mdl/mdl_client.py +402 -82
  159. tccli/services/mdl/v20200326/api.json +1144 -58
  160. tccli/services/mdl/v20200326/examples.json +48 -16
  161. tccli/services/mdp/mdp_client.py +785 -122
  162. tccli/services/mdp/v20200527/api.json +1168 -44
  163. tccli/services/mdp/v20200527/examples.json +151 -79
  164. tccli/services/message/__init__.py +4 -0
  165. tccli/services/message/message_client.py +210 -0
  166. tccli/services/message/v20181225/api.json +72 -0
  167. tccli/services/message/v20181225/examples.json +13 -0
  168. tccli/services/mongodb/mongodb_client.py +1452 -136
  169. tccli/services/mongodb/v20190725/api.json +4393 -1462
  170. tccli/services/mongodb/v20190725/examples.json +265 -71
  171. tccli/services/monitor/monitor_client.py +1008 -296
  172. tccli/services/monitor/v20180724/api.json +660 -11
  173. tccli/services/monitor/v20180724/examples.json +152 -4
  174. tccli/services/mps/mps_client.py +1573 -354
  175. tccli/services/mps/v20190612/api.json +12394 -7243
  176. tccli/services/mps/v20190612/examples.json +244 -84
  177. tccli/services/msp/msp_client.py +35 -14
  178. tccli/services/ocr/ocr_client.py +596 -102
  179. tccli/services/ocr/v20181119/api.json +2271 -181
  180. tccli/services/ocr/v20181119/examples.json +70 -8
  181. tccli/services/omics/omics_client.py +100 -40
  182. tccli/services/organization/organization_client.py +580 -232
  183. tccli/services/postgres/postgres_client.py +455 -182
  184. tccli/services/postgres/v20170312/api.json +134 -109
  185. tccli/services/postgres/v20170312/examples.json +14 -14
  186. tccli/services/privatedns/privatedns_client.py +206 -60
  187. tccli/services/privatedns/v20201028/api.json +179 -0
  188. tccli/services/privatedns/v20201028/examples.json +8 -0
  189. tccli/services/pts/pts_client.py +240 -96
  190. tccli/services/quota/__init__.py +4 -0
  191. tccli/services/quota/quota_client.py +434 -0
  192. tccli/services/quota/v20241204/api.json +548 -0
  193. tccli/services/quota/v20241204/examples.json +51 -0
  194. tccli/services/rce/rce_client.py +5 -2
  195. tccli/services/redis/redis_client.py +698 -212
  196. tccli/services/redis/v20180412/api.json +968 -563
  197. tccli/services/redis/v20180412/examples.json +98 -56
  198. tccli/services/region/__init__.py +4 -0
  199. tccli/services/region/region_client.py +322 -0
  200. tccli/services/region/v20220627/api.json +399 -0
  201. tccli/services/region/v20220627/examples.json +29 -0
  202. tccli/services/rum/rum_client.py +300 -120
  203. tccli/services/scf/scf_client.py +210 -84
  204. tccli/services/ses/ses_client.py +368 -69
  205. tccli/services/ses/v20201002/api.json +240 -0
  206. tccli/services/ses/v20201002/examples.json +32 -0
  207. tccli/services/smh/__init__.py +4 -0
  208. tccli/services/smh/smh_client.py +714 -0
  209. tccli/services/smh/v20210712/api.json +1287 -0
  210. tccli/services/smh/v20210712/examples.json +85 -0
  211. tccli/services/sms/sms_client.py +90 -36
  212. tccli/services/sqlserver/sqlserver_client.py +3855 -470
  213. tccli/services/sqlserver/v20180328/api.json +9757 -3347
  214. tccli/services/sqlserver/v20180328/examples.json +480 -20
  215. tccli/services/ssl/ssl_client.py +504 -72
  216. tccli/services/ssl/v20191205/api.json +789 -21
  217. tccli/services/ssl/v20191205/examples.json +54 -0
  218. tccli/services/ssm/ssm_client.py +120 -48
  219. tccli/services/sts/sts_client.py +25 -10
  220. tccli/services/tag/tag_client.py +150 -60
  221. tccli/services/tat/tat_client.py +95 -38
  222. tccli/services/tbaas/__init__.py +4 -0
  223. tccli/services/tbaas/tbaas_client.py +378 -0
  224. tccli/services/tbaas/v20180416/api.json +551 -0
  225. tccli/services/tbaas/v20180416/examples.json +37 -0
  226. tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
  227. tccli/services/tcaplusdb/v20190823/api.json +836 -760
  228. tccli/services/tcaplusdb/v20190823/examples.json +3 -3
  229. tccli/services/tchd/tchd_client.py +5 -2
  230. tccli/services/tcmpp/tcmpp_client.py +520 -208
  231. tccli/services/tcr/tcr_client.py +380 -152
  232. tccli/services/tcsas/tcsas_client.py +295 -118
  233. tccli/services/tcsas/v20250106/api.json +155 -79
  234. tccli/services/tcsas/v20250106/examples.json +3 -3
  235. tccli/services/tcss/tcss_client.py +1650 -660
  236. tccli/services/tdid/tdid_client.py +240 -96
  237. tccli/services/tdmq/tdmq_client.py +2876 -466
  238. tccli/services/tdmq/v20200217/api.json +11607 -3958
  239. tccli/services/tdmq/v20200217/examples.json +562 -264
  240. tccli/services/tem/tem_client.py +280 -112
  241. tccli/services/teo/teo_client.py +4507 -966
  242. tccli/services/teo/v20220901/api.json +7341 -1405
  243. tccli/services/teo/v20220901/examples.json +679 -99
  244. tccli/services/tione/__init__.py +4 -0
  245. tccli/services/tione/tione_client.py +210 -0
  246. tccli/services/tione/v20211111/api.json +3074 -0
  247. tccli/services/tione/v20211111/examples.json +12 -0
  248. tccli/services/tiw/tiw_client.py +255 -102
  249. tccli/services/tke/tke_client.py +741 -274
  250. tccli/services/tke/v20180525/api.json +132 -7
  251. tccli/services/tke/v20180525/examples.json +42 -16
  252. tccli/services/tms/tms_client.py +5 -2
  253. tccli/services/tms/v20201229/api.json +91 -100
  254. tccli/services/tmt/tmt_client.py +5 -2
  255. tccli/services/trabbit/__init__.py +4 -0
  256. tccli/services/trabbit/trabbit_client.py +1778 -0
  257. tccli/services/trabbit/v20230418/api.json +4772 -0
  258. tccli/services/trabbit/v20230418/examples.json +237 -0
  259. tccli/services/trocket/__init__.py +4 -0
  260. tccli/services/trocket/trocket_client.py +2450 -0
  261. tccli/services/trocket/v20230308/api.json +6062 -0
  262. tccli/services/trocket/v20230308/examples.json +339 -0
  263. tccli/services/trro/trro_client.py +95 -38
  264. tccli/services/trtc/trtc_client.py +928 -192
  265. tccli/services/trtc/v20190722/api.json +1810 -256
  266. tccli/services/trtc/v20190722/examples.json +100 -6
  267. tccli/services/tts/tts_client.py +5 -2
  268. tccli/services/vclm/vclm_client.py +10 -4
  269. tccli/services/vm/v20210922/api.json +61 -30
  270. tccli/services/vm/v20210922/examples.json +0 -12
  271. tccli/services/vm/vm_client.py +20 -8
  272. tccli/services/vod/v20180717/api.json +332 -52
  273. tccli/services/vod/v20180717/examples.json +9 -1
  274. tccli/services/vod/v20240718/api.json +1105 -0
  275. tccli/services/vod/v20240718/examples.json +97 -0
  276. tccli/services/vod/vod_client.py +1316 -350
  277. tccli/services/vpc/v20170312/api.json +1166 -106
  278. tccli/services/vpc/v20170312/examples.json +197 -23
  279. tccli/services/vpc/vpc_client.py +2413 -739
  280. tccli/services/waf/v20180125/api.json +1372 -194
  281. tccli/services/waf/v20180125/examples.json +89 -1
  282. tccli/services/waf/waf_client.py +1149 -245
  283. tccli/services/wedata/v20210820/api.json +1577 -231
  284. tccli/services/wedata/v20210820/examples.json +74 -12
  285. tccli/services/wedata/v20250806/api.json +13644 -0
  286. tccli/services/wedata/v20250806/examples.json +621 -0
  287. tccli/services/wedata/wedata_client.py +6366 -1191
  288. tccli/services/yunjing/yunjing_client.py +355 -142
  289. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/METADATA +4 -7
  290. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/RECORD +294 -230
  291. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/WHEEL +1 -1
  292. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/entry_points.txt +0 -1
  293. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/LICENSE +0 -0
  294. {tccli_intl_en-3.0.1168.1.dist-info → tccli_intl_en-3.1.16.1.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,19 @@
1
1
  {
2
2
  "actions": {
3
+ "ApplyFreeCertificate": [
4
+ {
5
+ "document": "This example shows you how to apply for a free certificate using file validation mode with HTTP access for the domain name (abc.test.com) under the site (ZoneId is zone-2fgd17m17xw).",
6
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ApplyFreeCertificate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2fgd17m17xw\",\n \"Domain\": \"abc.test.com\",\n \"VerificationMethod\": \"http_challenge\"\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"064a8c04-2d3e-4c9d-9473-39a8f76276ea\",\n \"FileVerification\": {\n \"Content\": \"9i8vhsvt9y8y3sx1s2d\",\n \"Path\": \"/.well-known/teo-verification/yvnu7sesms\"\n }\n }\n}",
8
+ "title": "Applying for Free Certificate Using HTTP Access File Validation Mode"
9
+ },
10
+ {
11
+ "document": "This example shows you how to apply for a free certificate using the DNS delegated verification method for the domain name (qwe.test.com) under the site (ZoneId is zone-2fgd17m17xw).",
12
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ApplyFreeCertificate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2fgd17m17xw\",\n \"Domain\": \"qwe.test.com\",\n \"VerificationMethod\": \"dns_challenge\"\n}",
13
+ "output": "{\n \"Response\": {\n \"RequestId\": \"064a8c04-2d3e-4c9d-9473-39a8f76276ea\",\n \"DnsVerification\": {\n \"RecordType\": \"CNAME\",\n \"RecordValue\": \"_acme-challenge\",\n \"Subdomain\": \"www.example.com.edgeone.com\"\n }\n }\n}",
14
+ "title": "Applying for a Free Certificate Using DNS Delegation Verification Method"
15
+ }
16
+ ],
3
17
  "BindSecurityTemplateToEntity": [
4
18
  {
5
19
  "document": "In this example, we unbind the domain name `a.test.com` from the policy template `temp-cuwg1hki` of the site `zone-2aq0e8rhu6jx`. Only one domain name can be unbound at one time. There are two options: \n1. `unbind-keep-policy`: Unbind the domain name from the specified policy and create a new policy for the domain name with the same configuration as the original one. This takes additional rule quota.\n2. `unbind-use-default`: Unbind the domain name from the specified policy and then bind it with the default policy with default configurations. Custom rules no longer take effect.\n\n \n\nNote: To use `unbind-keep-policy`, make sure your rule quota is enough. If the remaining quota is insufficient, the unbinding fails and the domain name remains bound to the current policy template.",
@@ -44,6 +58,36 @@
44
58
  "title": "Querying the CNAME status of a domain name"
45
59
  }
46
60
  ],
61
+ "CheckFreeCertificateVerification": [
62
+ {
63
+ "document": "This example shows you how to check whether the free certificate application succeeds for the domain name (cc.xzone.cloud) under the site (ZoneId is zone-28v607hq8d3m) after triggering the application.",
64
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckFreeCertificateVerification\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-28v607hq8d3m\",\n \"Domain\": \"cc.xzone.cloud\"\n}",
65
+ "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"ResourceUnavailable.RecordUnExpected\",\n \"Message\": \"Unable to detect the verification value correctly. Please check whether the current domain name has configured regional resolution or policy interception.\"\n },\n \"RequestId\": \"ed93f3cb-f35e-473f-b9f3-0d451b8b79c6\"\n }\n}",
66
+ "title": "Checking Free Certificate Application Result, Free Certificate Application Failed"
67
+ },
68
+ {
69
+ "document": "This example shows you how to check whether the free certificate application succeeds for the domain name (aa.xzone.cloud) under the site (ZoneId zone-28v607hq8d3m) after triggering the free certificate application.",
70
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckFreeCertificateVerification\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-28v607hq8d3m\",\n \"Domain\": \"aa.xzone.cloud\"\n}",
71
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dc1ba58b-4e4e-4a71-bed6-2b777c48d17e\",\n \"CommonName\": \"aa.xzone.cloud\",\n \"SignatureAlgorithm\": \"RSA 2048\",\n \"ExpireTime\": \"2025-07-31T07:06:57Z\"\n }\n}",
72
+ "title": "Checking Free Certificate Application Result, Free Certificate Application Succeeds"
73
+ }
74
+ ],
75
+ "ConfirmMultiPathGatewayOriginACL": [
76
+ {
77
+ "document": "This example shows you how to confirm the instance with ZoneId 'zone-27q0p0bal192' and GatewayId 'mpgw-lbxuhk1oh' has updated the latest origin server IP range to the origin server firewall.",
78
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConfirmOriginACLUpdate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"OriginACLVersion\": 1\n}",
79
+ "output": "{\n \"Response\": {\n \"RequestId\": \"af0a2b4f-df6d-4d2a-ac39-1706cbf8a868\"\n }\n}",
80
+ "title": "Confirm Updated to the Latest Origin IP Range"
81
+ }
82
+ ],
83
+ "ConfirmOriginACLUpdate": [
84
+ {
85
+ "document": "The selected site with ZoneId 'zone-276zs184g93m' confirms the latest origin ACLs have been updated to the origin server firewall.",
86
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConfirmOriginACLUpdate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\"\n}",
87
+ "output": "{\n \"Response\": {\n \"RequestId\": \"af0a2b4f-df6d-4d2a-ac39-1706cbf8a868\"\n }\n}",
88
+ "title": "Confirm Updated to the Latest Origin ACLs"
89
+ }
90
+ ],
47
91
  "CreateAccelerationDomain": [
48
92
  {
49
93
  "document": "This example shows you how to create an acceleration domain name for a domain-name origin server.",
@@ -100,10 +144,10 @@
100
144
  ],
101
145
  "CreateContentIdentifier": [
102
146
  {
103
- "document": "Create content identifiers and bind tags.",
104
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateContentIdentifier\n<Common request parameters>\n\n{\n \"Tags\": [\n {\n \"TagKey\": \"test\",\n \"TagValue\": \"abc\"\n }\n ],\n \"PlanId\": \"edgeone-37q0w7qali10\",\n \"Description\": \"content-test\"\n}",
147
+ "document": "This example shows you how to create a Content Identifier and bind a Tag simultaneously.",
148
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateContentIdentifier\n<Common request parameters>\n\n{\n \"Tags\": [\n {\n \"TagKey\": \"testkey\",\n \"TagValue\": \"testvalue\"\n }\n ],\n \"PlanId\": \"edgeone-37q0w7qali10\",\n \"Description\": \"content-test\"\n}",
105
149
  "output": "{\n \"Response\": {\n \"ContentId\": \"eocontent-27q0p1bali16\",\n \"RequestId\": \"3c140219-cff9-470e-b241-907877d6fb03\"\n }\n}",
106
- "title": "Create Content Identifiers"
150
+ "title": "Create a Content Identifier"
107
151
  }
108
152
  ],
109
153
  "CreateCustomizeErrorPage": [
@@ -150,34 +194,42 @@
150
194
  "title": "Creating a Rule for an Edge Function"
151
195
  }
152
196
  ],
197
+ "CreateJustInTimeTranscodeTemplate": [
198
+ {
199
+ "document": "This example shows you how to create a just-in-time transcoding template.",
200
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateJustInTimeTranscodeTemplate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-djuqmq\",\n \"TemplateName\": \"myTemplate\",\n \"Comment\": \"This is my template.\",\n \"VideoStreamSwitch\": \"on\",\n \"AudioStreamSwitch\": \"on\",\n \"VideoTemplate\": {\n \"Codec\": \"H.264\",\n \"Bitrate\": 2048,\n \"Fps\": 25\n },\n \"AudioTemplate\": {\n \"Codec\": \"libfdk_aac\",\n \"AudioChannel\": 2\n }\n}",
201
+ "output": "{\n \"Response\": {\n \"TemplateId\": \"C1LZ7982VgTpYhJ7M\",\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
202
+ "title": "Creating a Just-In-Time Transcoding Template"
203
+ }
204
+ ],
153
205
  "CreateL4Proxy": [
154
206
  {
155
- "document": "This example shows you how to create a Layer 4 instance named 'test', with the acceleration zone of 'Availability zone in the Chinese mainland', under the zone with ZoneId 'zone-2jc2xy3hr7f7'.",
156
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateL4Proxy\n<Common Request Parameters>\n\n{\n \"ProxyName\": \"test\",\n \"ZoneId\": \"zone-2jc2xy3hr7f7\",\n \"Area\": \"mainland\"\n}",
207
+ "document": "This example shows you how to create a layer-4 instance named test in the selected site with ZoneId zone-2jc2xy3hr7f7 and acceleration region Chinese mainland AZ.",
208
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateL4Proxy\n<Common request parameters>\n\n{\n \"ProxyName\": \"proxy1\",\n \"ZoneId\": \"zone-2jc2xy3hr7f7\",\n \"Area\": \"mainland\"\n}",
157
209
  "output": "{\n \"Response\": {\n \"ProxyId\": \"sid-2jc2hl2hr8f7\",\n \"RequestId\": \"0se57a54-cc42-11ed-8efb-525401a961b1\"\n }\n}",
158
- "title": "Creating a Layer 4 proxy instance with the acceleration zone of 'Availability Zone in the Chinese mainland'"
210
+ "title": "Creating an L4 Proxy Instance with a Chinese Mainland Availability Zone As the Acceleration Zone"
159
211
  },
160
212
  {
161
- "document": "This example shows you how to create a Layer 4 instance named 'test', with the acceleration zone of 'Global availability zone (excluding the Chinese mainland)', and exclusive DDoS protection enabled under the zone with ZoneId 'zone-2jc2xy3hr7f7', to provide full protection within the acceleration zone.",
162
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateL4Proxy\n<Common Request Parameters>\n\n{\n \"ZoneId\": \"zone-2jc2xy3hr7f7\",\n \"ProxyName\": \"test\",\n \"Area\": \"overseas\",\n \"DDosProtectionConfig\": {\n \"LevelOverseas\": \"ANYCAST_ALLIN\"\n }\n}",
213
+ "document": "This example shows you how to create a layer-4 instance named test under the selected site with ZoneId zone-2jc2xy3hr7f7, set the acceleration zone to global availability zone (exclude Chinese mainland), enable exclusive Anti-DDoS protection and provide full protection within the acceleration zone.",
214
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateL4Proxy\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2jc2xy3hr7f7\",\n \"ProxyName\": \"proxy2\",\n \"Area\": \"overseas\",\n \"DDosProtectionConfig\": {\n \"LevelOverseas\": \"ANYCAST_ALLIN\"\n }\n}",
163
215
  "output": "{\n \"Response\": {\n \"ProxyId\": \"sid-2jc2hl2hr8f7\",\n \"RequestId\": \"0se57a54-cc42-11ed-8efb-525401a961b1\"\n }\n}",
164
- "title": "Creating a Layer 4 proxy instance with the acceleration zone of 'Global Availability Zone (excluding Chinese mainland)' and exclusive DDoS protection enabled"
216
+ "title": "Create a Layer 4 Proxy Instance in the Global Availability Zone (Exclude Chinese Mainland) with Exclusive DDoS Protection Enabled"
165
217
  }
166
218
  ],
167
219
  "CreateL4ProxyRules": [
168
220
  {
169
- "document": "This example shows you how to create a forwarding rule in the instance with ProxyId 'sid-2qwk27xf7j9g' under the zone with ZoneId 'zone-24wjy25v1cwi'.",
170
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateL4ProxyRules\n<Common Request Parameters>\n\n{\n \"ZoneId\": \"zone-24wjy25v1cwi\",\n \"ProxyId\": \"sid-2qwk27xf7j9g\",\n \"L4ProxyRules\": [\n {\n \"Protocol\": \"TCP\",\n \"PortRange\": [\n \"80\"\n ],\n \"OriginType\": \"IP_DOMAIN\",\n \"OriginValue\": [\n \"119.23.100.45\"\n ],\n \"OriginPortRange\": \"90\",\n \"ClientIPPassThroughMode\": \"TOA\",\n \"SessionPersist\": \"on\",\n \"SessionPersistTime\": 3600,\n \"RuleTag\": \"test\"\n }\n ]\n}",
221
+ "document": "Create a forwarding rule in the instance with ProxyId 'sid-2qwk27xf7j9g' under the zone with ZoneId 'zone-24wjy25v1cwi'.",
222
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateL4ProxyRules\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-24wjy25v1cwi\",\n \"ProxyId\": \"sid-2qwk27xf7j9g\",\n \"L4ProxyRules\": [\n {\n \"Protocol\": \"TCP\",\n \"PortRange\": [\n \"80\"\n ],\n \"OriginType\": \"IP_DOMAIN\",\n \"OriginValue\": [\n \"119.23.100.45\"\n ],\n \"OriginPortRange\": \"90\",\n \"ClientIPPassThroughMode\": \"TOA\",\n \"SessionPersist\": \"on\",\n \"SessionPersistTime\": 3600,\n \"RuleTag\": \"testrule\"\n }\n ]\n}",
171
223
  "output": "{\n \"Response\": {\n \"RequestId\": \"6f8h5358-df6d-4d2a-ac39-1706cbf8a707\",\n \"L4ProxyRuleIds\": [\n \"rule-2qzkbvx3hxl1\"\n ]\n }\n}",
172
- "title": "Creating a Layer 4 proxy forwarding rule"
224
+ "title": "Creating a Layer 4 Proxy Forwarding Rule"
173
225
  }
174
226
  ],
175
227
  "CreateL7AccRules": [
176
228
  {
177
229
  "document": "This example shows you how to create a layer-7 acceleration rule.",
178
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateL7AccRules\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bali12\",\n \"Rules\": [\n {\n \"RuleName\": \"Test Rule\",\n \"Status\": \"disable\",\n \"Description\": [\n \"Note 1\",\n \"Annotation 2\"\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyOrigin\",\n \"ModifyOriginParameters\": {\n \"OriginType\": \"IPDomain\",\n \"Origin\": \"1.1.1.1\",\n \"OriginProtocol\": \"follow\",\n \"HTTPOriginPort\": 80,\n \"HTTPSOriginPort\": 443\n }\n }\n ],\n \"SubRules\": [\n {\n \"Description\": [\n \"Node Cache TTL Example\"\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Cache\",\n \"CacheParameters\": {\n \"FollowOrigin\": {\n \"Switch\": \"on\",\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n \"Browser Cache TTL Example\"\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"MaxAge\",\n \"MaxAgeParameters\": {\n \"FollowOrigin\": \"off\",\n \"CacheTime\": 0\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Custom `CacheKey` example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CacheKey\",\n \"CacheKeyParameters\": {\n \"FullURLCache\": \"off\",\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"IgnoreCase\": \"on\",\n \"Header\": {\n \"Switch\": \"on\",\n \"Values\": [\n \"EO-Client-Device\",\n \"EO-Client-OS\"\n ]\n },\n \"Scheme\": \"on\",\n \"Cookie\": {\n \"Switch\": \"off\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Status Code Cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"StatusCodeCache\",\n \"StatusCodeCacheParameters\": {\n \"StatusCodeCacheParams\": [\n {\n \"StatusCode\": 400,\n \"CacheTime\": 4\n },\n {\n \"StatusCode\": 401,\n \"CacheTime\": 180\n },\n {\n \"StatusCode\": 403,\n \"CacheTime\": 7200\n },\n {\n \"StatusCode\": 404,\n \"CacheTime\": 86400\n }\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Cache Prefresh Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CachePrefresh\",\n \"CachePrefreshParameters\": {\n \"Switch\": \"on\",\n \"CacheTimePercent\": 80\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Offline Cache Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OfflineCache\",\n \"OfflineCacheParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n HTTP2 Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTP2\",\n \"HTTP2Parameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n QUIC Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"QUIC\",\n \"QUICParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n WebSocket Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"WebSocket\",\n \"WebSocketParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 30\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Maximum Upload Size Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"PostMaxSize\",\n \"PostMaxSizeParameters\": {\n \"Switch\": \"on\",\n \"MaxSize\": 524288000\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Smart Compression Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Compression\",\n \"CompressionParameters\": {\n \"Switch\": \"on\",\n \"Algorithms\": [\n \"gzip\"\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Intelligent Acceleration Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"SmartRouting\",\n \"SmartRoutingParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n HTTP/2 Origin-Pull Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"UpstreamHTTP2\",\n \"UpstreamHTTP2Parameters\": {\n \"Switch\": \"off\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Origin-Pull Timeout Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTPUpstreamTimeout\",\n \"HTTPUpstreamTimeoutParameters\": {\n \"ResponseTimeout\": 15\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Forced HTTPS Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ForceRedirectHTTPS\",\n \"ForceRedirectHTTPSParameters\": {\n \"Switch\": \"on\",\n \"RedirectStatusCode\": 302\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n <HSTS Example>\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HSTS\",\n \"HSTSParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 1000,\n \"IncludeSubDomains\": \"on\",\n \"Preload\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n SSL/TLS Security Configuration Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"TLSConfig\",\n \"TLSConfigParameters\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n OCSP Stapling Example\n Following Origin Redirects Example\n Example of redirection during origin pull\n Custom error page example\n \"Range Back-to-Origin Example\"\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OCSPStapling\",\n \"OCSPStaplingParameters\": {\n \"Switch\": \"on\"\n }\n },\n {\n \"Name\": \"UpstreamRequest\",\n \"UpstreamRequestParameters\": {\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"Cookie\": {\n \"Switch\": \"on\",\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"UpstreamFollowRedirect\",\n \"UpstreamFollowRedirectParameters\": {\n \"Switch\": \"on\",\n \"MaxTimes\": 3\n }\n },\n {\n \"Name\": \"ErrorPage\",\n \"ErrorPageParameters\": {\n \"ErrorPageParams\": [\n {\n \"StatusCode\": 400,\n \"RedirectURL\": \"http://www.test-v.com/custom-page.html\"\n },\n {\n \"StatusCode\": 403,\n \"RedirectURL\": \"http://www.test-v.com/custom-page1.html\"\n }\n ]\n }\n },\n {\n \"Name\": \"RangeOriginPull\",\n \"RangeOriginPullParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Origin pull over HTTPS example\n Example of Modifying HTTP Request Headers\n Host Header Rewrite Example\n Access URL Redirection Example\n Token Authentication Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OriginPullProtocol\"\n },\n {\n \"Name\": \"ModifyRequestHeader\",\n \"ModifyRequestHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"EO-Client-Browser\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"EO-Client-Device\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"EO-Client-OS\"\n }\n ]\n }\n },\n {\n \"Name\": \"HostHeader\",\n \"HostHeaderParameters\": {\n \"Action\": \"followOrigin\"\n }\n },\n {\n \"Name\": \"AccessURLRedirect\",\n \"AccessURLRedirectParameters\": {\n \"StatusCode\": 302,\n \"Protocol\": \"follow\",\n \"HostName\": {\n \"Action\": \"follow\"\n },\n \"URLPath\": {\n \"Action\": \"follow\"\n },\n \"QueryString\": {\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"Authentication\",\n \"AuthenticationParameters\": {\n \"AuthType\": \"TypeA\",\n \"Timeout\": 5,\n \"SecretKey\": \"BCChgIM4o0k08Uk0Jgi3f27ir3\",\n \"BackupSecretKey\": \"3deJ7O6CsqlIk\",\n \"AuthParam\": \"test123QQ\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Modifying HTTP Node Response Headers Example\n Client IP Header Example\n \"Client IP Geo Location header example\",\n \"HTTP response example\",\n \"Origin-Pull URL rewrite example\",\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyResponseHeader\",\n \"ModifyResponseHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"Access-Control-Allow-Methods\",\n \"Value\": \"POST,GET\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"Access-Control-Allow-Origin\",\n \"Value\": \"http://test.com,http://1.1.1.1\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"Content-Disposition\"\n }\n ]\n }\n },\n {\n \"Name\": \"ClientIPHeader\",\n \"ClientIPHeaderParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"test\"\n }\n },\n {\n \"Name\": \"ClientIPCountry\",\n \"ClientIPCountryParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"EO-Client-IPCountry\"\n }\n },\n {\n \"Name\": \"HttpResponse\",\n \"HttpResponseParameters\": {\n \"StatusCode\": 400,\n \"ResponsePage\": \"p-30tcxgl8i0ls\"\n }\n },\n {\n \"Name\": \"UpstreamURLRewrite\",\n \"UpstreamURLRewriteParameters\": {\n \"Type\": \"Path\",\n \"Action\": \"addPrefix\",\n \"Value\": \"/prefix\"\n }\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}",
230
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateL7AccRules\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bali12\",\n \"Rules\": [\n {\n\"RuleName\": \"Test Rule\",\n \"Status\": \"disable\",\n \"Description\": [\n\"Note 1\"\nNote 2\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyOrigin\",\n \"ModifyOriginParameters\": {\n \"OriginType\": \"IPDomain\",\n \"Origin\": \"1.1.1.1\",\n \"OriginProtocol\": \"follow\",\n \"HTTPOriginPort\": 80,\n \"HTTPSOriginPort\": 443\n }\n }\n ],\n \"SubRules\": [\n {\n \"Description\": [\nNode cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Cache\",\n \"CacheParameters\": {\n \"FollowOrigin\": {\n \"Switch\": \"on\",\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nbrowser cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"MaxAge\",\n \"MaxAgeParameters\": {\n \"FollowOrigin\": \"off\",\n \"CacheTime\": 0\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nCustom cache key example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CacheKey\",\n \"CacheKeyParameters\": {\n \"FullURLCache\": \"off\",\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"IgnoreCase\": \"on\",\n \"Header\": {\n \"Switch\": \"on\",\n \"Values\": [\n \"EO-Client-Device\",\n \"EO-Client-OS\"\n ]\n },\n \"Scheme\": \"on\",\n \"Cookie\": {\n \"Switch\": \"off\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nStatus code cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"StatusCodeCache\",\n \"StatusCodeCacheParameters\": {\n \"StatusCodeCacheParams\": [\n {\n \"StatusCode\": 400,\n \"CacheTime\": 4\n },\n {\n \"StatusCode\": 401,\n \"CacheTime\": 180\n },\n {\n \"StatusCode\": 403,\n \"CacheTime\": 7200\n },\n {\n \"StatusCode\": 404,\n \"CacheTime\": 86400\n }\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nCache pre-refresh example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CachePrefresh\",\n \"CachePrefreshParameters\": {\n \"Switch\": \"on\",\n \"CacheTimePercent\": 80\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOffline cache example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OfflineCache\",\n \"OfflineCacheParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nHTTP/2 example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTP2\",\n \"HTTP2Parameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nQUIC example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"QUIC\",\n \"QUICParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nWebSocket example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"WebSocket\",\n \"WebSocketParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 30\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nMaximum upload size example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"PostMaxSize\",\n \"PostMaxSizeParameters\": {\n \"Switch\": \"on\",\n \"MaxSize\": 524288000\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nIntelligent compression example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Compression\",\n \"CompressionParameters\": {\n \"Switch\": \"on\",\n \"Algorithms\": [\n \"gzip\"\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nSmart Acceleration example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"SmartRouting\",\n \"SmartRoutingParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nHTTP/2 origin pull example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"UpstreamHTTP2\",\n \"UpstreamHTTP2Parameters\": {\n \"Switch\": \"off\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOrigin-pull timeout example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTPUpstreamTimeout\",\n \"HTTPUpstreamTimeoutParameters\": {\n \"ResponseTimeout\": 15\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nForce HTTPS example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ForceRedirectHTTPS\",\n \"ForceRedirectHTTPSParameters\": {\n \"Switch\": \"on\",\n \"RedirectStatusCode\": 302\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nHSTS example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HSTS\",\n \"HSTSParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 1000,\n \"IncludeSubDomains\": \"on\",\n \"Preload\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nSSL/TLS security configuration example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"TLSConfig\",\n \"TLSConfigParameters\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOCSP stapling example\nOrigin-pull request parameter setting example\nUpstream Follow Redirect example\nCustom error page example\nRange GETs example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OCSPStapling\",\n \"OCSPStaplingParameters\": {\n \"Switch\": \"on\"\n }\n },\n {\n \"Name\": \"UpstreamRequest\",\n \"UpstreamRequestParameters\": {\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"Cookie\": {\n \"Switch\": \"on\",\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"UpstreamFollowRedirect\",\n \"UpstreamFollowRedirectParameters\": {\n \"Switch\": \"on\",\n \"MaxTimes\": 3\n }\n },\n {\n \"Name\": \"ErrorPage\",\n \"ErrorPageParameters\": {\n \"ErrorPageParams\": [\n {\n \"StatusCode\": 400,\n \"RedirectURL\": \"http://www.test-v.com/custom-page.html\"\n },\n {\n \"StatusCode\": 403,\n \"RedirectURL\": \"http://www.test-v.com/custom-page1.html\"\n }\n ]\n }\n },\n {\n \"Name\": \"RangeOriginPull\",\n \"RangeOriginPullParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nHTTPS origin-pull example\nModify HTTP back-to-origin request header example\nHost Header Rewrite Example\nAccess URL redirection example\nToken authentication example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OriginPullProtocol\"\n },\n {\n \"Name\": \"ModifyRequestHeader\",\n \"ModifyRequestHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"EO-Client-Browser\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"EO-Client-Device\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"EO-Client-OS\"\n }\n ]\n }\n },\n {\n \"Name\": \"HostHeader\",\n \"HostHeaderParameters\": {\n \"Action\": \"followOrigin\"\n }\n },\n {\n \"Name\": \"AccessURLRedirect\",\n \"AccessURLRedirectParameters\": {\n \"StatusCode\": 302,\n \"Protocol\": \"follow\",\n \"HostName\": {\n \"Action\": \"follow\"\n },\n \"URLPath\": {\n \"Action\": \"follow\"\n },\n \"QueryString\": {\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"Authentication\",\n \"AuthenticationParameters\": {\n \"AuthType\": \"TypeA\",\n \"Timeout\": 5,\n \"SecretKey\": \"BCChgIM4o0k08Uk0Jgi3f27ir3\",\n \"BackupSecretKey\": \"3deJ7O6CsqlIk\",\n \"AuthParam\": \"test123QQ\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nModify HTTP node response header example\nclient IP header example\nClient IP Geolocation Header example\nHTTP response sample\norigin-pull URL rewrite example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyResponseHeader\",\n \"ModifyResponseHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"Access-Control-Allow-Methods\",\n \"Value\": \"POST,GET\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"Access-Control-Allow-Origin\",\n \"Value\": \"http://test.com,http://1.1.1.1\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"Content-Disposition\"\n }\n ]\n }\n },\n {\n \"Name\": \"ClientIPHeader\",\n \"ClientIPHeaderParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"testheader\"\n }\n },\n {\n \"Name\": \"ClientIPCountry\",\n \"ClientIPCountryParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"EO-Client-IPCountry\"\n }\n },\n {\n \"Name\": \"HttpResponse\",\n \"HttpResponseParameters\": {\n \"StatusCode\": 400,\n \"ResponsePage\": \"p-30tcxgl8i0ls\"\n }\n },\n {\n \"Name\": \"UpstreamURLRewrite\",\n \"UpstreamURLRewriteParameters\": {\n \"Type\": \"Path\",\n \"Action\": \"addPrefix\",\n \"Value\": \"/prefix\"\n }\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}",
179
231
  "output": "{\n \"Response\": {\n \"RuleIds\": [\n \"rule-sjuq23\"\n ],\n \"RequestId\": \"811d2583-310c-41f4-b5e7-abe407404sxsd\"\n }\n}",
180
- "title": "Creating Layer-7 Acceleration Rule"
232
+ "title": "Creating a Layer-7 Acceleration Rule"
181
233
  }
182
234
  ],
183
235
  "CreateLoadBalancer": [
@@ -218,6 +270,48 @@
218
270
  "title": "Creating a LoadBalancer with Probe Disabled"
219
271
  }
220
272
  ],
273
+ "CreateMultiPathGateway": [
274
+ {
275
+ "document": "This example shows you how to create a Cloud Gateway in the specified zone (ZoneId: zone-27q0p0bal192) in the Beijing region (RegionId: ap-beijing) with the port (GatewayPort) set to 8080.",
276
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMultiPathGateway\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayType\": \"cloud\",\n \"GatewayName\": \"EOMPGW-1\",\n \"RegionId\": \"ap-beijing\",\n \"GatewayPort\": 8080\n}",
277
+ "output": "{\n \"Response\": {\n \"GatewayId\": \"mpgw-9d65563y6p\",\n \"RequestId\": \"04e15f26-7a59-4e29-b297-1b43ed4ec691\"\n }\n}",
278
+ "title": "Creating a Multi-Channel Security Acceleration Gateway (Cloud Gateway)"
279
+ },
280
+ {
281
+ "document": "Create a private gateway in the designated zone (ZoneId: zone-27q0p0bal192) with IP (GatewayIP) 49.7.248.202 and port (GatewayPort) 443.",
282
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMultiPathGateway\n<Common request parameters>\n\n{\n \"GatewayType\": \"private\",\n \"GatewayName\": \"private-1\",\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayPort\": 443,\n \"GatewayIP\": \"49.7.248.202\"\n}",
283
+ "output": "{\n \"Response\": {\n \"GatewayId\": \"mpgw-ajf5qkoync\",\n \"RequestId\": \"e8fef204-be7b-4a39-aee3-85b617651734\"\n }\n}",
284
+ "title": "Creating a Multi-Channel Security Acceleration Gateway (Private Gateway)"
285
+ }
286
+ ],
287
+ "CreateMultiPathGatewayLine": [
288
+ {
289
+ "document": "Create a Layer-4 proxy route for EdgeOne on the multi-channel security acceleration gateway with Gateway ID mpgw-lbxuhk1oh in the designated site (ZoneId zone-27q0p0bal192).",
290
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMultiPathGatewayLine\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"LineType\": \"proxy\",\n \"LineAddress\": \"101.23.573.10:8989\",\n \"ProxyId\": \"sid-2gpv1z8cx8y2\",\n \"RuleId\": \"rule-33ik84rw3nuu\"\n}",
291
+ "output": "{\n \"Response\": {\n \"LineId\": \"line-1\",\n \"RequestId\": \"34b734a7-71de-4ffc-a59d-eeac9d171da2\"\n }\n}",
292
+ "title": "Creating an EdgeOne Layer-4 Proxy Line"
293
+ },
294
+ {
295
+ "document": "Create a custom line for the multi-channel security acceleration gateway with Gateway ID mpgw-lbxuhk1oh under the specified site (ZoneId zone-27q0p0bal192).",
296
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMultiPathGatewayLine\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"LineType\": \"custom\",\n \"LineAddress\": \"120.62.91.54:8080\"\n}",
297
+ "output": "{\n \"Response\": {\n \"LineId\": \"line-2\",\n \"RequestId\": \"a622678d-ea5b-41e8-9cd2-d335816141a0\"\n }\n}",
298
+ "title": "Creating a Custom Line"
299
+ }
300
+ ],
301
+ "CreateMultiPathGatewaySecretKey": [
302
+ {
303
+ "document": "Create a user-defined multi-channel SCDN gateway integration key under the specified site (ZoneId zone-27q0p0bal192).",
304
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMultiPathGatewaySecretKey\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"SecretKey\": \"b8sfnemqzF5TNCwwtshVmG/gyCJVi/rP+7A+jsBwqGY=\"\n}",
305
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9153aae4-26b1-4580-adc3-fa7cd4d32bf5\"\n }\n}",
306
+ "title": "Creating a Multi-Channel Security Acceleration Gateway Integration Key (Custom)"
307
+ },
308
+ {
309
+ "document": "Create a system-generated multi-channel security acceleration gateway integration key for the specified site (ZoneId: zone-27q0p0bal192).",
310
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMultiPathGatewaySecretKey\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\"\n}",
311
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1026aae4-26b1-4580-adc3-fa7cd4dasd19\"\n }\n}",
312
+ "title": "Creating a Multi-Channel Security Acceleration Gateway Integration Key (System-Generated)"
313
+ }
314
+ ],
221
315
  "CreateOriginGroup": [
222
316
  {
223
317
  "document": "This example shows you how to create an HTTP-specific origin groups.",
@@ -346,20 +440,66 @@
346
440
  "title": "Changing the origin server type to COS"
347
441
  }
348
442
  ],
443
+ "CreateSecurityAPIResource": [
444
+ {
445
+ "document": "This example shows you how to create a new API resource.",
446
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecurityAPIResource\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123sfakjf\",\n \"APIResources\": [\n {\n \"Name\": \"test2\",\n \"Path\": \"/ava\",\n \"APIServiceIds\": [\n \"apisrv-123233399\"\n ],\n \"Methods\": [\n \"POST\",\n \"PUT\"\n ],\n \"RequestConstraint\": \"${http.request.body.form['operationType']} in ['id.dana.order.listAl']\"\n }\n ]\n}",
447
+ "output": "{\n \"Response\": {\n \"APIResourceIds\": [\n \"apires-1232382313\"\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
448
+ "title": "Creating an API Resource"
449
+ }
450
+ ],
451
+ "CreateSecurityAPIService": [
452
+ {
453
+ "document": "This example shows you how to create a new API service.",
454
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecurityAPIService\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123sfakjf\",\n \"APIServices\": [\n {\n \"Name\": \"test\",\n \"BasePath\": \"/tt\"\n }\n ]\n}",
455
+ "output": "{\n \"Response\": {\n \"APIServiceIds\": [\n \"apisrv-1232382313\"\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
456
+ "title": "Creating an API Service"
457
+ }
458
+ ],
459
+ "CreateSecurityClientAttester": [
460
+ {
461
+ "document": "This example shows you how to create a new authentication option configuration.",
462
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecurityClientAttester\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123123322\",\n \"ClientAttesters\": [\n {\n \"Name\": \"test\",\n \"AttesterSource\": \"TC-RCE\",\n \"TCRCEOption\": {\n \"Channel\": \"12399223\"\n },\n \"AttesterDuration\": \"300s\"\n }\n ]\n}",
463
+ "output": "{\n \"Response\": {\n \"ClientAttesterIds\": [\n \"attest-2184008405\"\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
464
+ "title": "Creating Authentication Option Configuration"
465
+ }
466
+ ],
349
467
  "CreateSecurityIPGroup": [
350
468
  {
351
- "document": "This example shows you how to create a security IP group.",
352
- "input": "POST / HTTP/1.1 \nHost: teo.tencentcloudapi.com \nContent-Type: application/json \nX-TC-Action: CreateSecurityIPGroup \n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 0,\n \"Name\": \"testip\",\n \"Content\": [\n \"2.2.2.2\"\n ]\n },\n \"ZoneId\": \"zone-j94jf0a1\"\n}",
469
+ "document": "This example shows you how to create a security IP group and set 2.2.2.2 as permanent.",
470
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecurityIPGroup\n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 0,\n \"Name\": \"testip\",\n \"Content\": [\n \"2.2.2.2\"\n ]\n },\n \"ZoneId\": \"zone-j94jf0a1\"\n}",
353
471
  "output": "{\n \"Response\": {\n \"RequestId\": \"09ce3d28-1119-49cd-xxxx-27cb34dac669\",\n \"GroupId\": 128\n }\n}",
354
- "title": "Creating a security IP group"
472
+ "title": "Creating a Security IP Group and Configuring Permanent IPs"
473
+ },
474
+ {
475
+ "document": "This example shows you how to create a security IP group, set 3.3.3.3 to exist permanently, and configure an expiration time for 1.1.1.1.",
476
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecurityIPGroup\n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 0,\n \"Name\": \"test\",\n \"Content\": [\n \"1.1.1.1\",\n \"3.3.3.3\"\n ],\n \"IPExpireInfo\": [\n {\n \"ExpireTime\": \"2026-03-24T16:03:00+08:00\",\n \"IPList\": [\n \"1.1.1.1\"\n ]\n }\n ]\n },\n \"ZoneId\": \"zone-j94jf0a1\"\n}",
477
+ "output": "{\n \"Response\": {\n \"RequestId\": \"09ce3d28-1119-49cd-xxxx-27cb34dac669\",\n \"GroupId\": 128\n }\n}",
478
+ "title": "Creating a Security IP Group and Setting the Configuration Expiration Time"
479
+ }
480
+ ],
481
+ "CreateSecurityJSInjectionRule": [
482
+ {
483
+ "document": "This example shows you how to create a JavaScript injection rule.",
484
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecurityJSInjectionRule\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123123322\",\n \"JSInjectionRules\": [\n {\n \"Name\": \"test\",\n \"Condition\": \"${http.request.host} in ['www.test.com'] and ${http.request.uri.path} in ['/atteffa/geo-info']\",\n \"InjectJS\": \"inject-sdk-only\",\n \"Priority\": 2\n }\n ]\n}",
485
+ "output": "{\n \"Response\": {\n \"JSInjectionRuleIds\": [\n \"injection-2184008405\"\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
486
+ "title": "Creating a JavaScript Injection Rule"
355
487
  }
356
488
  ],
357
489
  "CreateSharedCNAME": [
358
490
  {
359
- "document": "This example shows you how to create a shared CNAME under the site `zone-225qgrnvbi9w` with the prefix of `test` and description of `For Service A`.",
360
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSharedCNAME\n<Common request parameters>\n\n{\n \"SharedCNAMEPrefix\": \"test\",\n \"ZoneId\": \"zone-225qgrnvbi9w\",\n \"Description\": \"For Service A\"\n}",
361
- "output": "{\n \"Response\": {\n \"SharedCNAME\": \"test.225qgrnvbi9w.share.dnse1.com\",\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
362
- "title": "Creating a shared CNAME"
491
+ "document": "This example shows you how to create a shared CNAME prefixed with test and described as For Service A under the selected site with ZoneId zone-225qgrnvbi9w.",
492
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSharedCNAME\n<Common request parameters>\n\n{\n \"SharedCNAMEPrefix\": \"example.com\",\n \"ZoneId\": \"zone-225qgrnvbi9w\",\n \"Description\": \"For Service A\"\n}",
493
+ "output": "{\n \"Response\": {\n \"SharedCNAME\": \"example.com.225qgrnvbi9w.share.dnse1.com\",\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
494
+ "title": "Creating a Shared CNAME"
495
+ }
496
+ ],
497
+ "CreateWebSecurityTemplate": [
498
+ {
499
+ "document": "This example shows you how to create a \"Web security policy template\" in the zone-2wkpkd52pwsk site.",
500
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWebSecurityTemplate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2wkpkd52pwsk\",\n\"TemplateName\": \"Web security policy template\",\n \"SecurityPolicy\": {\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Name\": \"acl1\",\n \"Condition\": \"${http.request.host} in ['111']\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"on\",\n \"RuleType\": \"PreciseMatchRule\",\n \"Priority\": 35\n },\n {\n \"Name\": \"iptable1\",\n \"Condition\": \"${http.request.headers['referer']} in ['123']\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"on\",\n \"RuleType\": \"BasicAccessRule\"\n }\n ]\n },\n \"ExceptionRules\": {\n \"Rules\": [\n {\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"Enabled\": \"on\"\n },\n {\n \"Name\": \"SampleSkipManagedRule2\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRuleGroupsForException\": [\n \"wafgroup-sql-injection-attacks\"\n ],\n \"Enabled\": \"on\"\n },\n {\n \"Name\": \"SampleSkipManagedRuleForField\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] \",\n \"SkipScope\": \"ManagedRules\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"SkipOption\": \"SkipOnSpecifiedRequestFields\",\n \"RequestFieldsForException\": [\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n }\n ],\n \"Enabled\": \"on\"\n }\n ]\n },\n \"HttpDDoSProtection\": {\n \"AdaptiveFrequencyControl\": {\n \"Action\": {\n \"ChallengeActionParameters\": {\n \"ChallengeOption\": \"JSChallenge\"\n },\n \"Name\": \"Challenge\"\n },\n \"Enabled\": \"on\",\n \"Sensitivity\": \"Loose\"\n },\n \"BandwidthAbuseDefense\": {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"Enabled\": \"off\"\n },\n \"ClientFiltering\": {\n \"Action\": {\n \"ChallengeActionParameters\": {\n \"ChallengeOption\": \"JSChallenge\"\n },\n \"Name\": \"Challenge\"\n },\n \"Enabled\": \"on\"\n },\n \"SlowAttackDefense\": {\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"off\",\n \"MinimalRequestBodyTransferRate\": {\n \"CountingPeriod\": \"60s\",\n \"Enabled\": \"off\",\n \"MinimalAvgTransferRateThreshold\": \"80bps\"\n },\n \"RequestBodyTransferTimeout\": {\n \"Enabled\": \"off\",\n \"IdleTimeout\": \"5s\"\n }\n }\n },\n \"ManagedRules\": {\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"on\"\n },\n \"DetectionOnly\": \"on\",\n \"Enabled\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-webshell-attacks\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-xss-attacks\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-xxe-attacks\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-vulnerability-scanners\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-non-compliant-protocol-usages\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-cms-vulnerabilities\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-file-upload-attacks\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-other-vulnerabilities\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-command-and-code-injections\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-sql-injections\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-shiro-vulnerabilities\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-unauthorized-file-accesses\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-ldap-injections\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-oa-vulnerabilities\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-ssrf-attacks\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-ssti-attacks\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-unauthorized-accesses\",\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n }\n ],\n \"SemanticAnalysis\": \"off\"\n },\n \"RateLimitingRules\": {\n \"Rules\": [\n {\n \"Enabled\": \"on\",\n \"Name\": \"SampleHttpDdosRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit']\",\n \"CountBy\": [\n \"http.request.ip\",\n \"http.request.cookies['UserSession']\"\n ],\n \"MaxRequestThreshold\": 1000,\n \"CountingPeriod\": \"2m\",\n \"ActionDuration\": \"20h\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Priority\": 100\n }\n ]\n }\n }\n}",
501
+ "output": "{\n \"Response\": {\n \"RequestId\": \"09ce3d28-1119-49cd-a99f-27cb34dac669\",\n \"TemplateId\": \"temp-ygt2paxl\"\n }\n}",
502
+ "title": "Creating a Security Policy Configuration Template"
363
503
  }
364
504
  ],
365
505
  "CreateZone": [
@@ -454,6 +594,14 @@
454
594
  "title": "Deleting a Rule for an Edge Function"
455
595
  }
456
596
  ],
597
+ "DeleteJustInTimeTranscodeTemplates": [
598
+ {
599
+ "document": "This example shows you how to delete an existing transcoding template.",
600
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteJustInTimeTranscodeTemplates\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-djuqmq\",\n \"TemplateIds\": [\n \"C1LZ7982VgTpYhJ7M\"\n ]\n}",
601
+ "output": "{\n \"Response\": {\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
602
+ "title": "Deleting a Transcoding Template"
603
+ }
604
+ ],
457
605
  "DeleteL4Proxy": [
458
606
  {
459
607
  "document": "This example shows you how to delete a Layer 4 proxy instance with ZoneId as 'zone-24wjy25v1cwi' and ProxyId as 'sid-2qwk27xf7j9g'.",
@@ -486,6 +634,22 @@
486
634
  "title": "Deleting a LoadBalancer"
487
635
  }
488
636
  ],
637
+ "DeleteMultiPathGateway": [
638
+ {
639
+ "document": "Delete the multi-channel security acceleration gateway with Gateway ID mpgw-lbxuhk1oh under the specified site (ZoneId zone-27q0p0bal192).",
640
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMultiPathGateway\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\"\n}",
641
+ "output": "{\n \"Response\": {\n \"RequestId\": \"7ad406fd-0e19-4bb4-af86-4ec580f89901\"\n }\n}",
642
+ "title": "Deleting a Multi-Channel Security Acceleration Gateway"
643
+ }
644
+ ],
645
+ "DeleteMultiPathGatewayLine": [
646
+ {
647
+ "document": "Delete a specified custom line of the multi-channel security acceleration gateway.",
648
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMultiPathGatewayLine\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"LineId\": \"line-2\"\n}",
649
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a622678d-ea5b-41e8-9cd2-d335816141a0\"\n }\n}",
650
+ "title": "Delete a Multi-Channel Security Acceleration Gateway Line"
651
+ }
652
+ ],
489
653
  "DeleteOriginGroup": [
490
654
  {
491
655
  "document": "This example shows you how to delete an origin group.",
@@ -510,6 +674,30 @@
510
674
  "title": "Batch deleting rules from the rule engine"
511
675
  }
512
676
  ],
677
+ "DeleteSecurityAPIResource": [
678
+ {
679
+ "document": "This example shows you how to delete specific existing API resources.",
680
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSecurityAPIResource\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123sfakjf\",\n \"APIResourceIds\": [\n \"apires-1232000001\",\n \"apires-1232000002\"\n ]\n}",
681
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
682
+ "title": "Deleting a Specified API Resource"
683
+ }
684
+ ],
685
+ "DeleteSecurityAPIService": [
686
+ {
687
+ "document": "This example shows you how to delete specific existing API services.",
688
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSecurityAPIService\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123sfakjf\",\n \"APIServiceIds\": [\n \"apisrv-1232382313\",\n \"apisrv-1232382314\"\n ]\n}",
689
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
690
+ "title": "Deleting a Specified API Service"
691
+ }
692
+ ],
693
+ "DeleteSecurityClientAttester": [
694
+ {
695
+ "document": "This example shows you how to delete an existing authentication option.",
696
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSecurityClientAttester\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-nqicqhasui\",\n \"ClientAttesterIds\": [\n \"attest-2184008405\"\n ]\n}",
697
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
698
+ "title": "Delete Specified Authentication Option"
699
+ }
700
+ ],
513
701
  "DeleteSecurityIPGroup": [
514
702
  {
515
703
  "document": "This example shows you how to delete a security IP group.",
@@ -518,6 +706,14 @@
518
706
  "title": "Deleting a security IP group"
519
707
  }
520
708
  ],
709
+ "DeleteSecurityJSInjectionRule": [
710
+ {
711
+ "document": "This example shows you how to delete a certain JavaScript injection rule.",
712
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSecurityJSInjectionRule\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-nqicqhasui\",\n \"JSInjectionRuleIds\": [\n \"injection-2184008405\"\n ]\n}",
713
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
714
+ "title": "Deleting JavaScript Injection Rules"
715
+ }
716
+ ],
521
717
  "DeleteSharedCNAME": [
522
718
  {
523
719
  "document": "This example deletes the share CNAME `qq.com.225qgrnvbi9w.share.dnse5.com` under the site `zone-225qgrnvbi9w`.",
@@ -526,6 +722,14 @@
526
722
  "title": "Deleting a shared CNAME"
527
723
  }
528
724
  ],
725
+ "DeleteWebSecurityTemplate": [
726
+ {
727
+ "document": "This example shows you how to delete the security policy template temp-o3xctdd2 under the site zone-2wkpkd52pku8.",
728
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteWebSecurityTemplate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2wkpkd52pku8\",\n \"TemplateId\": \"temp-o3xctdd2\"\n}",
729
+ "output": "{\n \"Response\": {\n \"RequestId\": \"09ce3d28-1119-49cd-f0e3-27cb34dac669\"\n }\n}",
730
+ "title": "Deleting a Security Policy Configuration Template"
731
+ }
732
+ ],
529
733
  "DeleteZone": [
530
734
  {
531
735
  "document": " ",
@@ -546,7 +750,7 @@
546
750
  {
547
751
  "document": "This example shows you how to query the information of all acceleration domain names with the origin server type of IP_DOMAIN under the specified zone-id, and sort the results in descending order by creation time.",
548
752
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccelerationDomains\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"Filters\": [\n {\n \"Fuzzy\": true,\n \"Values\": [\n \"IP_DOMAIN\"\n ],\n \"Name\": \"origin-type\"\n }\n ],\n \"Direction\": \"desc\",\n \"Order\": \"created_on\",\n \"Match\": \"all\"\n}",
549
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccelerationDomains\": [\n {\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"DomainName\": \"www.qq.com\",\n \"DomainStatus\": \"online\",\n \"OriginDetail\": {\n \"OriginType\": \"IP_DOMAIN\",\n \"Origin\": \"origin.qq.com\",\n \"BackupOrigin\": \"\",\n \"PrivateParameters\": [],\n \"PrivateAccess\": \"\",\n \"OriginGroupName\": \"\",\n \"BackOriginGroupName\": \"\"\n },\n \"Certificate\": {\n \"Mode\": \"sslcert\",\n \"List\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ],\n \"ClientCertInfo\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n },\n \"UpstreamCertInfo\": {\n \"UpstreamMutualTLS\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n }\n }\n },\n \"IdentificationStatus\": \"finished\",\n \"Cname\": \"www.qq.com.eo.dnse3.com\",\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"ModifiedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"5e5a0d0f-52f3-4bad-9bd3-dcf1d5c954e7\"\n }\n}",
753
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccelerationDomains\": [\n {\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"DomainName\": \"www.qq.com\",\n \"DomainStatus\": \"online\",\n \"OriginDetail\": {\n \"OriginType\": \"IP_DOMAIN\",\n \"HostHeader\": null,\n \"Origin\": \"origin.qq.com\",\n \"BackupOrigin\": \"\",\n \"PrivateParameters\": [],\n \"PrivateAccess\": \"\",\n \"OriginGroupName\": \"\",\n \"BackOriginGroupName\": \"\"\n },\n \"Certificate\": {\n \"Mode\": \"sslcert\",\n \"List\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ],\n \"ClientCertInfo\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n },\n \"UpstreamCertInfo\": {\n \"UpstreamMutualTLS\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n }\n }\n },\n \"IdentificationStatus\": \"finished\",\n \"Cname\": \"www.qq.com.eo.dnse3.com\",\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"ModifiedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"5e5a0d0f-52f3-4bad-9bd3-dcf1d5c954e7\"\n }\n}",
550
754
  "title": "Querying Information of Domain Names Under a Specified Site"
551
755
  }
552
756
  ],
@@ -576,34 +780,52 @@
576
780
  ],
577
781
  "DescribeBillingData": [
578
782
  {
579
- "document": "This example shows you how to query the billing volume of content acceleration traffic with a specific zone ID and region ID on a daily granularity.",
580
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingData\n<Common Request Parameters>\n\n{\n \"StartTime\": \"2024-01-01T00:00:00+08:00\",\n \"EndTime\": \"2024-01-24T03:20:00+08:00\",\n \"Interval\": \"day\",\n \"MetricName\": \"acc_flux\",\n \"Filters\": [\n {\n \"Type\": \"region-id\",\n \"Value\": \"MidEast\"\n }\n ],\n \"ZoneIds\": [\n \"zone-2smdfso9dr58\"\n ]\n}",
783
+ "document": "This example shows you how to query the billing usage of content acceleration traffic for a specified zone-id in a designated region-id with daily granularity.",
784
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingData\n<Common request parameters>\n\n{\n \"StartTime\": \"2024-01-01T00:00:00+08:00\",\n \"EndTime\": \"2024-01-24T03:20:00+08:00\",\n \"Interval\": \"day\",\n \"MetricName\": \"acc_flux\",\n \"Filters\": [\n {\n \"Type\": \"region-id\",\n \"Value\": \"MidEast\"\n }\n ],\n \"ZoneIds\": [\n \"zone-2smdfso9dr58\"\n ]\n}",
581
785
  "output": "{\n \"Response\": {\n \"RequestId\": \"457e8933-4296-4878-9a7f-fb888559e29e\",\n \"Data\": [\n {\n \"Time\": \"2023-12-31T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-01T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-02T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-03T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-04T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-05T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-06T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-07T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-08T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-09T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-10T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-11T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-12T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-13T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-14T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-15T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-16T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-17T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-18T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-19T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-20T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-21T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-22T16:00:00Z\",\n \"Value\": 0\n },\n {\n \"Time\": \"2024-01-23T16:00:00Z\",\n \"Value\": 0\n }\n ]\n }\n}",
582
- "title": "Querying content acceleration traffic in the specified zone and billing region"
786
+ "title": "Querying Content Acceleration Traffic for Specified Site in Specified Billing Region"
787
+ },
788
+ {
789
+ "document": "This example shows you how to query the billing usage of content acceleration traffic for a specified zone-id, grouping by zone-id with daily granularity.",
790
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingData\n<Common request parameters>\n\n{\n \"StartTime\": \"2025-07-01T00:00:00+08:00\",\n \"EndTime\": \"2025-07-02T23:59:59+08:00\",\n \"Interval\": \"day\",\n \"MetricName\": \"acc_flux\",\n \"ZoneIds\": [\n \"zone-2m2gq4dnpmd2\",\n \"zone-30hqppzribht\"\n ],\n \"GroupBy\": [\n \"zone-id\"\n ]\n}",
791
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d2174285-8aac-4cdc-bc06-d81f2f6520da\",\n \"Data\": [\n {\n \"Time\": \"2025-06-30T16:00:00Z\",\n \"Value\": 0,\n \"ZoneId\": \"zone-2m2gq4dnpmd2\"\n },\n {\n \"Time\": \"2025-07-01T16:00:00Z\",\n \"Value\": 2751240612,\n \"ZoneId\": \"zone-2m2gq4dnpmd2\"\n },\n {\n \"Time\": \"2025-06-30T16:00:00Z\",\n \"Value\": 0,\n \"ZoneId\": \"zone-30hqppzribht\"\n },\n {\n \"Time\": \"2025-07-01T16:00:00Z\",\n \"Value\": 68443435,\n \"ZoneId\": \"zone-30hqppzribht\"\n }\n ]\n }\n}",
792
+ "title": "Querying Content Acceleration Traffic of Specified Sites Grouped by Site ID"
793
+ },
794
+ {
795
+ "document": "This example shows you how to query specified content acceleration traffic billing volume by domain name with daily granularity for a given zone-id.",
796
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingData\n<Common request parameters>\n\n{\n \"StartTime\": \"2025-07-01T00:00:00+08:00\",\n \"EndTime\": \"2025-07-02T23:59:59+08:00\",\n \"Interval\": \"day\",\n \"MetricName\": \"acc_flux\",\n \"ZoneIds\": [\n \"zone-2m2gq4dnpmd2\",\n \"zone-30hqppzribht\"\n ],\n \"GroupBy\": [\n \"host\"\n ]\n}",
797
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d2174285-8aac-4cdc-bc06-d81f2f6520da\",\n \"Data\": [\n {\n \"Host\": \"test1.example.com\",\n \"Time\": \"2025-06-30T16:00:00Z\",\n \"Value\": 1387001003,\n \"ZoneId\": \"zone-2m2gq4dnpmd2\"\n },\n {\n \"Host\": \"test1.example.com\",\n \"Time\": \"2025-07-01T16:00:00Z\",\n \"Value\": 1390529805,\n \"ZoneId\": \"zone-2m2gq4dnpmd2\"\n },\n {\n \"Host\": \"test2.example.com\",\n \"Time\": \"2025-06-30T16:00:00Z\",\n \"Value\": 2879078,\n \"ZoneId\": \"zone-2m2gq4dnpmd2\"\n },\n {\n \"Host\": \"test2.example.com\",\n \"Time\": \"2025-07-01T16:00:00Z\",\n \"Value\": 2889084,\n \"ZoneId\": \"zone-2m2gq4dnpmd2\"\n }\n ]\n }\n}",
798
+ "title": "Querying Content Acceleration Traffic for Specified Site by Domain Group"
799
+ },
800
+ {
801
+ "document": "This example shows you how to query specified zone-id content acceleration traffic billing volume, grouping by zone-id and billing region with daily granularity.",
802
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillingData\n<Common request parameters>\n\n{\n \"StartTime\": \"2025-07-01T00:00:00+08:00\",\n \"EndTime\": \"2025-07-02T23:59:59+08:00\",\n \"Interval\": \"day\",\n \"MetricName\": \"acc_flux\",\n \"ZoneIds\": [\n \"zone-2m2gq4dnpmd2\",\n \"zone-30hqppzribht\"\n ],\n \"GroupBy\": [\n \"zone-id\",\n \"region-id\"\n ]\n}",
803
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d2174285-8aac-4cdc-bc06-d81f2f6520da\",\n \"Data\": [\n {\n \"RegionId\": \"SA\",\n \"Time\": \"2025-06-30T16:00:00Z\",\n \"Value\": 549591531,\n \"ZoneId\": \"zone-2m2gq4dnpmd2\"\n },\n {\n \"RegionId\": \"SA\",\n \"Time\": \"2025-07-01T16:00:00Z\",\n \"Value\": 549591531,\n \"ZoneId\": \"zone-2m2gq4dnpmd2\"\n },\n {\n \"RegionId\": \"MidEast\",\n \"Time\": \"2025-06-30T16:00:00Z\",\n \"Value\": 549591531,\n \"ZoneId\": \"zone-30hqppzribht\"\n },\n {\n \"RegionId\": \"MidEast\",\n \"Time\": \"2025-07-01T16:00:00Z\",\n \"Value\": 549591531,\n \"ZoneId\": \"zone-30hqppzribht\"\n }\n ]\n }\n}",
804
+ "title": "Querying Content Acceleration Traffic of Specified Site and Grouping by Site ID and Billing Region"
583
805
  }
584
806
  ],
585
807
  "DescribeConfigGroupVersionDetail": [
586
808
  {
587
- "document": "Query version details with ZoneId set to zone-m2kplohsdc4b and VersionId to ver-5ksglmhghsu3.",
809
+ "document": "This example shows you how to query the version details with VersionId ver-5ksglmhghsu3 under the selected site where ZoneId is zone-m2kplohsdc4b.",
588
810
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConfigGroupVersionDetail\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-m2kplohsdc4b\",\n \"VersionId\": \"ver-5ksglmhghsu3\"\n}",
589
- "output": "{\n \"Response\": {\n \"Content\": \"{\\n \\\"FormatVersion\\\": \\\"1.0\\\",\\n \\\"ZoneConfig\\\": {\\n \\\"SmartRouting\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"Cache\\\": {\\n \\\"CustomTime\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"CacheTime\\\": 604800\\n }\\n },\\n \\\"MaxAge\\\": {\\n \\\"FollowOrigin\\\": \\\"on\\\",\\n \\\"CacheTime\\\": 600\\n },\\n \\\"CacheKey\\\": {\\n \\\"FullURLCache\\\": \\\"off\\\",\\n \\\"QueryString\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"Action\\\": \\\"includeCustom\\\",\\n \\\"Values\\\": [\\n \\\"key1\\\",\\n \\\"key2\\\"\\n ]\\n },\\n \\\"IgnoreCase\\\": \\\"on\\\"\\n },\\n \\\"CachePrefresh\\\": {\\n \\\"Switch\\\": \\\"off\\\",\\n \\\"CacheTimePercent\\\": 90\\n },\\n \\\"OfflineCache\\\": {\\n \\\"Switch\\\": \\\"on\\\"\\n },\\n \\\"Compression\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"Algorithms\\\": [\\n \\\"brotli\\\",\\n \\\"gzip\\\"\\n ]\\n },\\n \\\"ImageOptimize\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"ForceRedirectHTTPS\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"RedirectStatusCode\\\": 302\\n },\\n \\\"HSTS\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"IncludeSubDomains\\\": \\\"on\\\",\\n \\\"Timeout\\\": 16070400,\\n \\\"Preload\\\": \\\"on\\\"\\n },\\n \\\"TLSConfig\\\": {\\n \\\"CipherSuite\\\": \\\"loose-v2023\\\",\\n \\\"Version\\\": [\\n \\\"TLSv1\\\",\\n \\\"TLSv1.1\\\",\\n \\\"TLSv1.2\\\",\\n \\\"TLSv1.3\\\"\\n ]\\n },\\n \\\"OCSPStapling\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"HTTP2\\\": {\\n \\\"Switch\\\": \\\"on\\\"\\n },\\n \\\"QUIC\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"UpstreamHTTP2\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"IPv6\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"WebSocket\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"Timeout\\\": 30\\n },\\n \\\"PostMaxSize\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"MaxSize\\\": 838860800\\n },\\n \\\"ClientIPHeader\\\": {\\n \\\"Switch\\\": \\\"off\\\",\\n \\\"HeaderName\\\": \\\"\\\"\\n },\\n \\\"ClientIPCountry\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"HeaderName\\\": \\\"EO-Client-IPCountry\\\"\\n },\\n \\\"gRPC\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"AccelerateMainland\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"StandardDebug\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"AllowClientIPList\\\": [\\n \\\"1.2.3.4\\\"\\n ],\\n \\\"Expires\\\": \\\"2023-11-04T04:46:28Z\\\"\\n }\\n },\\n \\\"Rules\\\": [\\n {\\n \\\"RuleName\\\": \\\"Unnamed rule\\\",\\n \\\"Branches\\\": [\\n {\\n \\\"Condition\\\": \\\"${http.request.host} matches '.*'\\\",\\n \\\"Actions\\\": [\\n {\\n \\\"Name\\\": \\\"UpstreamURLRewrite\\\",\\n \\\"Parameters\\\": {\\n \\\"Type\\\": \\\"Path\\\",\\n \\\"Action\\\": \\\"rmvPrefix\\\",\\n \\\"Value\\\": \\\"/prefix\\\"\\n }\\n }\\n ],\\n \\\"SubRules\\\": [\\n {\\n \\\"Branches\\\": [\\n {\\n \\\"Condition\\\": \\\"${http.request.file_extension} in ['.jpg']\\\",\\n \\\"Actions\\\": [\\n {\\n \\\"Name\\\": \\\"PostMaxSize\\\",\\n \\\"Parameters\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"MaxSize\\\": 524288000\\n }\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \\\"Branches\\\": [\\n {\\n \\\"Condition\\\": \\\"${http.request.file_extension} in ['.png']\\\",\\n \\\"Actions\\\": [\\n {\\n \\\"Name\\\": \\\"PostMaxSize\\\",\\n \\\"Parameters\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"MaxSize\\\": 209715200\\n }\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}\",\n \"ConfigGroupVersionInfo\": {\n \"CreateTime\": \"2023-11-06T11:33:12Z\",\n \"Description\": \"test\",\n \"GroupId\": \"cg-2p9unsmt54uw\",\n \"GroupType\": \"l7_acceleration\",\n \"Status\": \"inactive\",\n \"VersionId\": \"ver-2pn240kqwgti\",\n \"VersionNumber\": \"1\"\n },\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
590
- "title": "Query Version Details"
811
+ "output": "{\n \"Response\": {\n \"Content\": \"{\\n \\\"FormatVersion\\\": \\\"1.0\\\",\\n \\\"ZoneConfig\\\": {\\n \\\"SmartRouting\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"Cache\\\": {\\n \\\"CustomTime\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"CacheTime\\\": 604800\\n }\\n },\\n \\\"MaxAge\\\": {\\n \\\"FollowOrigin\\\": \\\"on\\\",\\n \\\"CacheTime\\\": 600\\n },\\n \\\"CacheKey\\\": {\\n \\\"FullURLCache\\\": \\\"off\\\",\\n \\\"QueryString\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"Action\\\": \\\"includeCustom\\\",\\n \\\"Values\\\": [\\n \\\"key1\\\",\\n \\\"key2\\\"\\n ]\\n },\\n \\\"IgnoreCase\\\": \\\"on\\\"\\n },\\n \\\"CachePrefresh\\\": {\\n \\\"Switch\\\": \\\"off\\\",\\n \\\"CacheTimePercent\\\": 90\\n },\\n \\\"OfflineCache\\\": {\\n \\\"Switch\\\": \\\"on\\\"\\n },\\n \\\"Compression\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"Algorithms\\\": [\\n \\\"brotli\\\",\\n \\\"gzip\\\"\\n ]\\n },\\n \\\"ImageOptimize\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"ForceRedirectHTTPS\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"RedirectStatusCode\\\": 302\\n },\\n \\\"HSTS\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"IncludeSubDomains\\\": \\\"on\\\",\\n \\\"Timeout\\\": 16070400,\\n \\\"Preload\\\": \\\"on\\\"\\n },\\n \\\"TLSConfig\\\": {\\n \\\"CipherSuite\\\": \\\"loose-v2023\\\",\\n \\\"Version\\\": [\\n \\\"TLSv1\\\",\\n \\\"TLSv1.1\\\",\\n \\\"TLSv1.2\\\",\\n \\\"TLSv1.3\\\"\\n ]\\n },\\n \\\"OCSPStapling\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"HTTP2\\\": {\\n \\\"Switch\\\": \\\"on\\\"\\n },\\n \\\"QUIC\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"UpstreamHTTP2\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"IPv6\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"WebSocket\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"Timeout\\\": 30\\n },\\n \\\"PostMaxSize\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"MaxSize\\\": 838860800\\n },\\n \\\"ClientIPHeader\\\": {\\n \\\"Switch\\\": \\\"off\\\",\\n \\\"HeaderName\\\": \\\"\\\"\\n },\\n \\\"ClientIPCountry\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"HeaderName\\\": \\\"EO-Client-IPCountry\\\"\\n },\\n \\\"gRPC\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"AccelerateMainland\\\": {\\n \\\"Switch\\\": \\\"off\\\"\\n },\\n \\\"StandardDebug\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"AllowClientIPList\\\": [\\n \\\"1.2.3.4\\\"\\n ],\\n \\\"Expires\\\": \\\"2023-11-04T04:46:28Z\\\"\\n }\\n },\\n \\\"Rules\\\": [\\n {\\n \\\"RuleName\\\": \\\"Unnamed Rule\\\",\\n \\\"Branches\\\": [\\n {\\n \\\"Condition\\\": \\\"${http.request.host} matches '.*'\\\"\\n\\\"Actions\\\": [\\n {\\n \\\"Name\\\": \\\"UpstreamURLRewrite\\\",\\n \\\"Parameters\\\": {\\n \\\"Type\\\": \\\"Path\\\",\\n \\\"Action\\\": \\\"rmvPrefix\\\",\\n \\\"Value\\\": \\\"/prefix\\\"\\n }\\n }\\n ],\\n \\\"SubRules\\\": [\\n {\\n \\\"Branches\\\": [\\n {\\n \\\"Condition\\\": \\\"${http.request.file_extension} in ['.jpg']\\\",\\n \\\"Actions\\\": [\\n {\\n \\\"Name\\\": \\\"PostMaxSize\\\",\\n \\\"Parameters\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"MaxSize\\\": 524288000\\n }\\n }\\n ]\\n }\\n ]\\n },\\n {\\n \\\"Branches\\\": [\\n {\\n \\\"Condition\\\": \\\"${http.request.file_extension} in ['.png']\\\",\\n \\\"Actions\\\": [\\n {\\n \\\"Name\\\": \\\"PostMaxSize\\\",\\n \\\"Parameters\\\": {\\n \\\"Switch\\\": \\\"on\\\",\\n \\\"MaxSize\\\": 209715200\\n }\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}\",\n \"ConfigGroupVersionInfo\": {\n \"CreateTime\": \"2023-11-06T11:33:12Z\",\n \"Description\": \"testversion\",\n \"GroupId\": \"cg-2p9unsmt54uw\",\n \"GroupType\": \"l7_acceleration\",\n \"Status\": \"inactive\",\n \"VersionId\": \"ver-2pn240kqwgti\",\n \"VersionNumber\": \"1\"\n },\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
812
+ "title": "Querying Version Detail"
591
813
  }
592
814
  ],
593
815
  "DescribeConfigGroupVersions": [
594
816
  {
595
- "document": "Query version details with ZoneId set to zone-2kpsqmtisdcb, GroupId to cg-27fil26zq2s1, and VersionId to ver-2kuq2mhis9c0.",
817
+ "document": "This example shows you how to query the version information with version ID ver-2kuq2mhis9c0 under the configuration group with ID cg-27fil26zq2s1 in the selected site with ZoneId zone-2kpsqmtisdcb.",
596
818
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConfigGroupVersions\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2kpsqmtisdcb\",\n \"GroupId\": \"cg-27fil26zq2s1\",\n \"Filters\": [\n {\n \"Name\": \"version-id\",\n \"Values\": [\n \"ver-2kuq2mhis9c0\"\n ]\n }\n ]\n}",
597
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ConfigGroupVersionInfos\": [\n {\n \"VersionId\": \"ver-2kuq2mhis9c0\",\n \"Description\": \"test\",\n \"VersionNumber\": \"1.0\",\n \"GroupId\": \"cg-27fil26zq2s1\",\n \"GroupType\": \"l7_acceleration\",\n \"Status\": \"RELEASED\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
819
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ConfigGroupVersionInfos\": [\n {\n \"VersionId\": \"ver-2kuq2mhis9c0\",\n \"Description\": \"testversion\",\n \"VersionNumber\": \"1.0\",\n \"GroupId\": \"cg-27fil26zq2s1\",\n \"GroupType\": \"l7_acceleration\",\n \"Status\": \"RELEASED\",\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"9bd9c732-8f9a-4cd3-a3e8-1c9db5e53631\"\n }\n}",
598
820
  "title": "Query Version List"
599
821
  }
600
822
  ],
601
823
  "DescribeContentIdentifiers": [
602
824
  {
603
- "document": "This example shows you how to query content identifiers by specifying an ID.",
825
+ "document": "Query content by specified ID Unique identifier",
604
826
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeContentIdentifiers\n<Common request parameters>\n\n{\n \"Filters\": [\n {\n \"Name\": \"content-id\",\n \"Values\": [\n \"eocontent-27q0p0sali16\"\n ],\n \"Fuzzy\": false\n }\n ]\n}",
605
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"3c140219-cfe9-470e-b341-907877d6fb03\",\n \"ContentIdentifiers\": [\n {\n \"ContentId\": \"eocontent-27q0p0sali16\",\n \"Description\": \"content-test\",\n \"PlanId\": \"edgeone-2ycvs8ml4zpq\",\n \"ReferenceCount\": 10,\n \"Tags\": [\n {\n \"TagKey\": \"test\",\n \"TagValue\": \"ct\"\n }\n ],\n \"CreatedOn\": \"2023-10-05T15:30:45Z\",\n \"ModifiedOn\": \"2023-10-05T15:30:45Z\",\n \"DeletedOn\": null,\n \"Status\": \"active\"\n }\n ]\n }\n}",
606
- "title": "Querying Content Identifier Information"
827
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"3c140219-cfe9-470e-b341-907877d6fb03\",\n \"ContentIdentifiers\": [\n {\n \"ContentId\": \"eocontent-27q0p0sali16\",\n \"Description\": \"content-test\",\n \"PlanId\": \"edgeone-2ycvs8ml4zpq\",\n \"ReferenceCount\": 10,\n \"Tags\": [\n {\n \"TagKey\": \"testkey\",\n \"TagValue\": \"ct\"\n }\n ],\n \"CreatedOn\": \"2023-10-05T15:30:45Z\",\n \"ModifiedOn\": \"2023-10-05T15:30:45Z\",\n \"DeletedOn\": null,\n \"Status\": \"active\"\n }\n ]\n }\n}",
828
+ "title": "Query Content Identifier Info"
607
829
  }
608
830
  ],
609
831
  "DescribeContentQuota": [
@@ -646,6 +868,14 @@
646
868
  "title": "Querying the top-ranked DDoS attack data"
647
869
  }
648
870
  ],
871
+ "DescribeDDoSProtection": [
872
+ {
873
+ "document": "This example shows you how to search for site exclusive Anti-DDoS information.",
874
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDDoSProtection\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2jaltqbdhq37\"\n}",
875
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1362c269-9931-4b12-b148-3d1df0818600\",\n \"DDoSProtection\": {\n \"ProtectionOption\": \"protect_specified_domains\",\n \"DomainDDoSProtections\": [\n {\n \"Domain\": \"www.example.com\",\n \"Switch\": \"on\"\n }\n ],\n \"SharedCNAMEDDoSProtections\": [\n {\n \"Domain\": \"a.example.com\",\n \"Switch\": \"off\"\n }\n ]\n }\n }\n}",
876
+ "title": "Search for Site Exclusive Anti-DDoS Information"
877
+ }
878
+ ],
649
879
  "DescribeDefaultCertificates": [
650
880
  {
651
881
  "document": " ",
@@ -693,8 +923,8 @@
693
923
  "DescribeFunctionRules": [
694
924
  {
695
925
  "document": "",
696
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctionRules\n<Common request parameters>\n\n\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\"\n}",
697
- "output": "{\n \"Response\": {\n \"RequestId\": \"d7213f7f-a67b-4602-b630-ed6740e1a124\",\n \"FunctionRules\": [\n {\n \"RuleId\": \"rule-53qpdadi\",\n \"FunctionRuleConditions\": [\n {\n \"RuleConditions\": [\n {\n \"Operator\": \"equal\",\n \"Target\": \"url\",\n \"Values\": [\n \"/test3\"\n ],\n \"IgnoreCase\": false,\n \"Name\": \"\"\n }\n ]\n }\n ],\n \"FunctionId\": \"ef-n1j14wfm\",\n \"FunctionName\": \"test\",\n \"Priority\": 2,\n \"Remark\": \"my function rule\",\n \"CreateTime\": \"2023-04-19T07:32:09Z\",\n \"UpdateTime\": \"2023-04-19T07:36:43Z\"\n }\n ]\n }\n}",
926
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctionRules\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\"\n}",
927
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d7213f7f-a67b-4602-b630-ed6740e1a124\",\n \"FunctionRules\": [\n {\n \"RuleId\": \"rule-53qpdadi\",\n \"FunctionRuleConditions\": [\n {\n \"RuleConditions\": [\n {\n \"Operator\": \"equal\",\n \"Target\": \"url\",\n \"Values\": [\n \"/test3\"\n ],\n \"IgnoreCase\": false,\n \"Name\": \"\"\n }\n ]\n }\n ],\n \"FunctionId\": \"ef-n1j14wfm\",\n \"FunctionName\": \"testfunction\",\n \"Priority\": 2,\n \"Remark\": \"my function rule\",\n \"CreateTime\": \"2023-04-19T07:32:09Z\",\n \"UpdateTime\": \"2023-04-19T07:36:43Z\"\n }\n ]\n }\n}",
698
928
  "title": "Querying the List of Trigger Rules for an Edge Function"
699
929
  }
700
930
  ],
@@ -709,13 +939,13 @@
709
939
  "DescribeFunctions": [
710
940
  {
711
941
  "document": "",
712
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctions\n<Common request parameters>\n\n\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Filters\": [\n {\n \"Name\": \"name\",\n \"Values\": [\n \"test\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 2\n}",
713
- "output": "{\n \"Response\": {\n \"Functions\": [\n {\n \"FunctionId\": \"ef-1pakhnuy\",\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World!');\\r\\n e.respondWith(response);\\r\\n});\",\n \"Name\": \"test-function\",\n \"Remark\": \"my function\",\n \"Domain\": \"test-function-zone-293e7s5jne1i-123456789.eo-edgefunctions1.com\",\n \"CreateTime\": \"2022-09-19T15:23:25+08:00\",\n \"UpdateTime\": \"2022-09-19T15:27:13+08:00\"\n },\n {\n \"FunctionId\": \"ef-2pakw1uk\",\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World test!');\\r\\n e.respondWith(response);\\r\\n});\",\n \"Name\": \"test-function2\",\n \"Remark\": \"my function 2\",\n \"Domain\": \"test-function-zone-293e7s5jne1i-123456789.eo-edgefunctions1.com\",\n \"CreateTime\": \"2022-09-20T15:23:25+08:00\",\n \"UpdateTime\": \"2022-09-20T15:27:13+08:00\"\n }\n ],\n \"TotalCount\": 17,\n \"RequestId\": \"ab8a61c5-4eef-45af-9384-b071f1922541\"\n }\n}",
942
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctions\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Filters\": [\n {\n \"Name\": \"name\",\n \"Values\": [\n \"test-function\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 2\n}",
943
+ "output": "{\n \"Response\": {\n \"Functions\": [\n {\n \"FunctionId\": \"ef-1pakhnuy\",\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World!');\\r\\n e.respondWith(response);\\r\\n});\",\n \"Name\": \"test-function\",\n \"Remark\": \"my function\",\n \"Domain\": \"test-function-zone-293e7s5jne1i-123456789.eo-edgefunctions1.com\",\n \"CreateTime\": \"2022-09-19T15:23:25+08:00\",\n \"UpdateTime\": \"2022-09-19T15:27:13+08:00\"\n },\n {\n \"FunctionId\": \"ef-2pakw1uk\",\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World test!');\\r\\n e.respondWith(response);\\r\\n});\",\n \"Name\": \"test-function2\",\n \"Remark\": \"my function 2\",\n \"Domain\": \"test-function2-zone-293e7s5jne1i-123456789.eo-edgefunctions1.com\",\n \"CreateTime\": \"2022-09-20T15:23:25+08:00\",\n \"UpdateTime\": \"2022-09-20T15:27:13+08:00\"\n }\n ],\n \"TotalCount\": 17,\n \"RequestId\": \"ab8a61c5-4eef-45af-9384-b071f1922541\"\n }\n}",
714
944
  "title": "Matching the List of Edge Functions by Name"
715
945
  },
716
946
  {
717
947
  "document": "",
718
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctions\n<Common request parameters>\n\n\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"FunctionIds\": [\n \"ef-1pakhnuy\"\n ],\n \"Offset\": 0,\n \"Limit\": 2\n}",
948
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctions\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"FunctionIds\": [\n \"ef-1pakhnuy\"\n ],\n \"Offset\": 0,\n \"Limit\": 2\n}",
719
949
  "output": "{\n \"Response\": {\n \"Functions\": [\n {\n \"FunctionId\": \"ef-1pakhnuy\",\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World!');\\r\\n e.respondWith(response);\\r\\n});\",\n \"Name\": \"test-function\",\n \"Remark\": \"my function\",\n \"Domain\": \"test-function-zone-293e7s5jne1i-123456789.eo-edgefunctions1.com\",\n \"CreateTime\": \"2022-09-19T15:23:25+08:00\",\n \"UpdateTime\": \"2022-09-19T15:27:13+08:00\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"ab8a61c5-4eef-45af-9384-b071f1922541\"\n }\n}",
720
950
  "title": "Matching the List of Edge Functions by Function ID"
721
951
  }
@@ -744,19 +974,27 @@
744
974
  "title": "Querying the verification status of a site"
745
975
  }
746
976
  ],
977
+ "DescribeJustInTimeTranscodeTemplates": [
978
+ {
979
+ "document": "This example shows you how to obtain a transcoding template by its name.",
980
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeJustInTimeTranscodeTemplates\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-djuqmq\",\n \"Filters\": [\n {\n \"Name\": \"template-name\",\n \"Values\": [\n \"myTemplate\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 100\n}",
981
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TemplateSet\": [\n {\n \"TemplateId\": \"C1LZ7982VgTpYhJ7M\",\n \"TemplateName\": \"myTemplate\",\n \"Comment\": \"MyTranscodeTemplate\",\n \"Type\": \"Custom\",\n \"VideoStreamSwitch\": \"on\",\n \"AudioStreamSwitch\": \"on\",\n \"VideoTemplate\": {\n \"Codec\": \"H.264\",\n \"Fps\": 24,\n \"FillType\": \"black\",\n \"Bitrate\": 2048,\n \"ResolutionAdaptive\": \"open\",\n \"Width\": 0,\n \"Height\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"libfdk_aac\",\n \"AudioChannel\": 2\n },\n \"CreateTime\": \"2018-10-01T10:00:00Z\",\n \"UpdateTime\": \"2018-10-01T10:00:00Z\"\n }\n ],\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
982
+ "title": "Obtaining Transcoding Templates"
983
+ }
984
+ ],
747
985
  "DescribeL4Proxy": [
748
986
  {
749
- "document": "This example shows you how to query the list of Layer 4 proxy instances under the zone with ZoneId 'zone-24wjy25v1cwi'.",
750
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL4Proxy\n<Common Request Parameters>\n\n{\n \"Offset\": 1,\n \"Limit\": 10,\n \"Filters\": [],\n \"ZoneId\": \"zone-24wjy25v1cwi\"\n}",
751
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"L4Proxies\": [\n {\n \"ZoneId\": \"zone-24wjy25v1cwi\",\n \"ProxyId\": \"sid-2qwk27xf7j9g\",\n \"ProxyName\": \"test\",\n \"Area\": \"mainland\",\n \"Cname\": \"test.24wjy25v1cwi.eo.dnse5.com\",\n \"Ips\": [],\n \"Status\": \"online\",\n \"Ipv6\": \"off\",\n \"StaticIp\": \"off\",\n \"AccelerateMainland\": \"off\",\n \"UpdateTime\": \"2023-09-22T15:31:04+00:00\"\n }\n ],\n \"RequestId\": \"6f8h5258-cdda-4f82-b7sc-0aef4a219244\"\n }\n}",
752
- "title": "Querying the list of Layer 4 proxy instances under a zone"
987
+ "document": "Query the Layer 4 proxy instance list under the site with ZoneId zone-24wjy25v1cwi.",
988
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL4Proxy\n<Common request parameters>\n\n{\n \"Offset\": 1,\n \"Limit\": 10,\n \"Filters\": [],\n \"ZoneId\": \"zone-24wjy25v1cwi\"\n}",
989
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"L4Proxies\": [\n {\n \"ZoneId\": \"zone-24wjy25v1cwi\",\n \"ProxyId\": \"sid-2qwk27xf7j9g\",\n \"ProxyName\": \"myproxy\",\n \"Area\": \"mainland\",\n \"Cname\": \"myproxy.24wjy25v1cwi.eo.dnse5.com\",\n \"Ips\": [],\n \"Status\": \"online\",\n \"Ipv6\": \"off\",\n \"StaticIp\": \"off\",\n \"AccelerateMainland\": \"off\",\n \"L4ProxyRuleCount\": 1,\n \"UpdateTime\": \"2023-09-22T15:31:04+00:00\"\n }\n ],\n \"RequestId\": \"6f8h5258-cdda-4f82-b7sc-0aef4a219244\"\n }\n}",
990
+ "title": "Querying Layer 4 Proxy Instance List under a Site"
753
991
  }
754
992
  ],
755
993
  "DescribeL4ProxyRules": [
756
994
  {
757
995
  "document": "This example shows you how to query the list of forwarding rules with ProxyId 'sid-2qwk27xf7j9g' under the zone with ZoneId 'zone-24wjy25v1cwi'.",
758
996
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL4ProxyRules\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-24wjy25v1cwi\",\n \"ProxyId\": \"sid-2qwk27xf7j9g\",\n \"Offset\": 1,\n \"Limit\": 0\n}",
759
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"L4ProxyRules\": [\n {\n \"RuleId\": \"rule-2qzkbvx3hxl1\",\n \"Protocol\": \"TCP\",\n \"PortRange\": [\n \"80\"\n ],\n \"OriginType\": \"IP_DOMAIN\",\n \"OriginValue\": [\n \"test.origin.com\"\n ],\n \"OriginPortRange\": \"90\",\n \"ClientIPPassThroughMode\": \"TOA\",\n \"SessionPersist\": \"on\",\n \"SessionPersistTime\": 3600,\n \"RuleTag\": \"test\",\n \"Status\": \"online\"\n }\n ],\n \"RequestId\": \"6f8h5358-cdda-4f82-b7sc-0aef4a219244\"\n }\n}",
997
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"L4ProxyRules\": [\n {\n \"RuleId\": \"rule-2qzkbvx3hxl1\",\n \"Protocol\": \"TCP\",\n \"PortRange\": [\n \"80\"\n ],\n \"OriginType\": \"IP_DOMAIN\",\n \"OriginValue\": [\n \"test.origin.com\"\n ],\n \"OriginPortRange\": \"90\",\n \"ClientIPPassThroughMode\": \"TOA\",\n \"SessionPersist\": \"on\",\n \"SessionPersistTime\": 3600,\n \"RuleTag\": \"origin\",\n \"Status\": \"online\"\n }\n ],\n \"RequestId\": \"6f8h5358-cdda-4f82-b7sc-0aef4a219244\"\n }\n}",
760
998
  "title": "Querying the List of Forwarding Rules for Layer-4 Proxy Instances"
761
999
  },
762
1000
  {
@@ -768,18 +1006,18 @@
768
1006
  ],
769
1007
  "DescribeL7AccRules": [
770
1008
  {
771
- "document": "Query the rule list in the rule engine.",
1009
+ "document": "This example shows you how to query the list of engine rules.",
772
1010
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL7AccRules\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0lali12\"\n}",
773
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"Rules\": [\n {\n \"RuleName\": \"Test Rule\",\n \"Status\": \"disable\",\n \"RuleId\": \"rule-djuq23\",\n \"Description\": [\n \"Annotation 1\",\n \"Annotation 2\",\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyOrigin\",\n \"ModifyOriginParameters\": {\n \"OriginType\": \"IPDomain\",\n \"Origin\": \"1.1.1.1\",\n \"OriginProtocol\": \"follow\",\n \"HTTPOriginPort\": 80,\n \"HTTPSOriginPort\": 443\n }\n }\n ],\n \"SubRules\": [\n {\n \"Description\": [\n Node Cache TTL Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Cache\",\n \"CacheParameters\": {\n \"FollowOrigin\": {\n \"Switch\": \"on\",\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Browser Cache TTL Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"MaxAge\",\n \"MaxAgeParameters\": {\n \"FollowOrigin\": \"off\",\n \"CacheTime\": 0\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Custom `CacheKey` Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CacheKey\",\n \"CacheKeyParameters\": {\n \"FullURLCache\": \"off\",\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"IgnoreCase\": \"on\",\n \"Header\": {\n \"Switch\": \"on\",\n \"Values\": [\n \"EO-Client-Device\",\n \"EO-Client-OS\"\n ]\n },\n \"Scheme\": \"on\",\n \"Cookie\": {\n \"Switch\": \"off\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Status Code Cache TTL Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"StatusCodeCache\",\n \"StatusCodeCacheParameters\": {\n \"StatusCodeCacheParams\": [\n {\n \"StatusCode\": 400,\n \"CacheTime\": 4\n },\n {\n \"StatusCode\": 401,\n \"CacheTime\": 180\n },\n {\n \"StatusCode\": 403,\n \"CacheTime\": 7200\n },\n {\n \"StatusCode\": 404,\n \"CacheTime\": 86400\n }\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Cache Prefresh Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CachePrefresh\",\n \"CachePrefreshParameters\": {\n \"Switch\": \"on\",\n \"CacheTimePercent\": 80\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Offline Cache Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OfflineCache\",\n \"OfflineCacheParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n HTTP/2 Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTP2\",\n \"HTTP2Parameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n \"QUIC Example\"\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"QUIC\",\n \"QUICParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n WebSocket Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"WebSocket\",\n \"WebSocketParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 30\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Maximum Upload Size Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"PostMaxSize\",\n \"PostMaxSizeParameters\": {\n \"Switch\": \"on\",\n \"MaxSize\": 524288000\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Smart Compression Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Compression\",\n \"CompressionParameters\": {\n \"Switch\": \"on\",\n \"Algorithms\": [\n \"gzip\"\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Smart Acceleration Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"SmartRouting\",\n \"SmartRoutingParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n HTTP/2 Origin-Pull Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"UpstreamHTTP2\",\n \"UpstreamHTTP2Parameters\": {\n \"Switch\": \"off\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Origin-Pull Timeout Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTPUpstreamTimeout\",\n \"HTTPUpstreamTimeoutParameters\": {\n \"ResponseTimeout\": 15\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Forced HTTPS Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ForceRedirectHTTPS\",\n \"ForceRedirectHTTPSParameters\": {\n \"Switch\": \"on\",\n \"RedirectStatusCode\": 302\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n <HSTS Example>\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HSTS\",\n \"HSTSParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 1000,\n \"IncludeSubDomains\": \"on\",\n \"Preload\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n SSL/TLS Security Configuration Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"TLSConfig\",\n \"TLSConfigParameters\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n OCSP Stapling Example\n Origin-Pull Request Parameter Configuration Example\n Redirection during Origin Pull Example\n Custom Error Page Example\n Example of Range Back-to-Origin\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OCSPStapling\",\n \"OCSPStaplingParameters\": {\n \"Switch\": \"on\"\n }\n },\n {\n \"Name\": \"UpstreamRequest\",\n \"UpstreamRequestParameters\": {\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"Cookie\": {\n \"Switch\": \"on\",\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"UpstreamFollowRedirect\",\n \"UpstreamFollowRedirectParameters\": {\n \"Switch\": \"on\",\n \"MaxTimes\": 3\n }\n },\n {\n \"Name\": \"ErrorPage\",\n \"ErrorPageParameters\": {\n \"ErrorPageParams\": [\n {\n \"StatusCode\": 400,\n \"RedirectURL\": \"http://www.test-v.com/custom-page.html\"\n },\n {\n \"StatusCode\": 403,\n \"RedirectURL\": \"http://www.test-v.com/custom-page1.html\"\n }\n ]\n }\n },\n {\n \"Name\": \"RangeOriginPull\",\n \"RangeOriginPullParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Origin-pull HTTPS example\n Example of Modifying HTTP Request Headers\n Host Header Rewrite example\n Access URL Redirection example\n Token Authentication example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OriginPullProtocol\"\n },\n {\n \"Name\": \"ModifyRequestHeader\",\n \"ModifyRequestHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"EO-Client-Browser\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"EO-Client-Device\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"EO-Client-OS\"\n }\n ]\n }\n },\n {\n \"Name\": \"HostHeader\",\n \"HostHeaderParameters\": {\n \"Action\": \"followOrigin\"\n }\n },\n {\n \"Name\": \"AccessURLRedirect\",\n \"AccessURLRedirectParameters\": {\n \"StatusCode\": 302,\n \"Protocol\": \"follow\",\n \"HostName\": {\n \"Action\": \"follow\"\n },\n \"URLPath\": {\n \"Action\": \"follow\"\n },\n \"QueryString\": {\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"Authentication\",\n \"AuthenticationParameters\": {\n \"AuthType\": \"TypeA\",\n \"Timeout\": 5,\n \"SecretKey\": \"BCChgIM4o0k08Uk0Jgi3f27ir3\",\n \"BackupSecretKey\": \"3deJ7O6CsqlIk\",\n \"AuthParam\": \"test123QQ\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n \"Modifying HTTP Node Response Headers Example\"\n Client IP Header Example\n Client IP Geographical Location Header Example\n HTTP Response Example\n Origin-Pull URL Rewrite Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyResponseHeader\",\n \"ModifyResponseHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"Access-Control-Allow-Methods\",\n \"Value\": \"POST,GET\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"Access-Control-Allow-Origin\",\n \"Value\": \"http://test.com,http://1.1.1.1\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"Content-Disposition\"\n }\n ]\n }\n },\n {\n \"Name\": \"ClientIPHeader\",\n \"ClientIPHeaderParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"test\"\n }\n },\n {\n \"Name\": \"ClientIPCountry\",\n \"ClientIPCountryParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"EO-Client-IPCountry\"\n }\n },\n {\n \"Name\": \"HttpResponse\",\n \"HttpResponseParameters\": {\n \"StatusCode\": 400,\n \"ResponsePage\": \"p-30tcxgl8i0ls\"\n }\n },\n {\n \"Name\": \"UpstreamURLRewrite\",\n \"UpstreamURLRewriteParameters\": {\n \"Type\": \"Path\",\n \"Action\": \"addPrefix\",\n \"Value\": \"/prefix\"\n }\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n}",
774
- "title": "Query the Rule List In the Rule Engine"
1011
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"Rules\": [\n {\n\"RuleName\": \"Test rule\",\n \"Status\": \"disable\",\n \"RuleId\": \"rule-djuq23\",\n \"Description\": [\n\"Annotation 1\"\nAnnotation 2\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyOrigin\",\n \"ModifyOriginParameters\": {\n \"OriginType\": \"IPDomain\",\n \"Origin\": \"1.1.1.1\",\n \"OriginProtocol\": \"follow\",\n \"HTTPOriginPort\": 80,\n \"HTTPSOriginPort\": 443\n }\n }\n ],\n \"SubRules\": [\n {\n \"Description\": [\nNode cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Cache\",\n \"CacheParameters\": {\n \"FollowOrigin\": {\n \"Switch\": \"on\",\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nbrowser cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"MaxAge\",\n \"MaxAgeParameters\": {\n \"FollowOrigin\": \"off\",\n \"CacheTime\": 0\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nCustom cache key example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CacheKey\",\n \"CacheKeyParameters\": {\n \"FullURLCache\": \"off\",\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"IgnoreCase\": \"on\",\n \"Header\": {\n \"Switch\": \"on\",\n \"Values\": [\n \"EO-Client-Device\",\n \"EO-Client-OS\"\n ]\n },\n \"Scheme\": \"on\",\n \"Cookie\": {\n \"Switch\": \"off\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nStatus code cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"StatusCodeCache\",\n \"StatusCodeCacheParameters\": {\n \"StatusCodeCacheParams\": [\n {\n \"StatusCode\": 400,\n \"CacheTime\": 4\n },\n {\n \"StatusCode\": 401,\n \"CacheTime\": 180\n },\n {\n \"StatusCode\": 403,\n \"CacheTime\": 7200\n },\n {\n \"StatusCode\": 404,\n \"CacheTime\": 86400\n }\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nCache pre-refresh example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CachePrefresh\",\n \"CachePrefreshParameters\": {\n \"Switch\": \"on\",\n \"CacheTimePercent\": 80\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOffline cache example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OfflineCache\",\n \"OfflineCacheParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nSample for HTTP2\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTP2\",\n \"HTTP2Parameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nQUIC example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"QUIC\",\n \"QUICParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nWebSocket example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"WebSocket\",\n \"WebSocketParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 30\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nMaximum Upload Size Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"PostMaxSize\",\n \"PostMaxSizeParameters\": {\n \"Switch\": \"on\",\n \"MaxSize\": 524288000\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nIntelligent compression example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Compression\",\n \"CompressionParameters\": {\n \"Switch\": \"on\",\n \"Algorithms\": [\n \"gzip\"\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nSmart acceleration example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"SmartRouting\",\n \"SmartRoutingParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nHTTP/2 origin pull example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"UpstreamHTTP2\",\n \"UpstreamHTTP2Parameters\": {\n \"Switch\": \"off\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOrigin-pull timeout example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTPUpstreamTimeout\",\n \"HTTPUpstreamTimeoutParameters\": {\n \"ResponseTimeout\": 15\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nForce HTTPS example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ForceRedirectHTTPS\",\n \"ForceRedirectHTTPSParameters\": {\n \"Switch\": \"on\",\n \"RedirectStatusCode\": 302\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nHSTS example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HSTS\",\n \"HSTSParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 1000,\n \"IncludeSubDomains\": \"on\",\n \"Preload\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nSSL/TLS security configuration example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"TLSConfig\",\n \"TLSConfigParameters\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOCSP stapling example\nSet origin request parameters example\nOrigin-pull follow redirect example\nCustom error page example\nRange GETs example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OCSPStapling\",\n \"OCSPStaplingParameters\": {\n \"Switch\": \"on\"\n }\n },\n {\n \"Name\": \"UpstreamRequest\",\n \"UpstreamRequestParameters\": {\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"Cookie\": {\n \"Switch\": \"on\",\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"UpstreamFollowRedirect\",\n \"UpstreamFollowRedirectParameters\": {\n \"Switch\": \"on\",\n \"MaxTimes\": 3\n }\n },\n {\n \"Name\": \"ErrorPage\",\n \"ErrorPageParameters\": {\n \"ErrorPageParams\": [\n {\n \"StatusCode\": 400,\n \"RedirectURL\": \"http://www.test-v.com/custom-page.html\"\n },\n {\n \"StatusCode\": 403,\n \"RedirectURL\": \"http://www.test-v.com/custom-page1.html\"\n }\n ]\n }\n },\n {\n \"Name\": \"RangeOriginPull\",\n \"RangeOriginPullParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOrigin-pull HTTPS example\nModify HTTP back-to-origin request header example\nHost Header rewrite example\nAccess URL Redirection Example\nToken authentication example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OriginPullProtocol\"\n },\n {\n \"Name\": \"ModifyRequestHeader\",\n \"ModifyRequestHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"EO-Client-Browser\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"EO-Client-Device\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"EO-Client-OS\"\n }\n ]\n }\n },\n {\n \"Name\": \"HostHeader\",\n \"HostHeaderParameters\": {\n \"Action\": \"followOrigin\"\n }\n },\n {\n \"Name\": \"AccessURLRedirect\",\n \"AccessURLRedirectParameters\": {\n \"StatusCode\": 302,\n \"Protocol\": \"follow\",\n \"HostName\": {\n \"Action\": \"follow\"\n },\n \"URLPath\": {\n \"Action\": \"follow\"\n },\n \"QueryString\": {\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"Authentication\",\n \"AuthenticationParameters\": {\n \"AuthType\": \"TypeA\",\n \"Timeout\": 5,\n \"SecretKey\": \"BCChgIM4o0k08Uk0Jgi3f27ir3\",\n \"BackupSecretKey\": \"3deJ7O6CsqlIk\",\n \"AuthParam\": \"test123QQ\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nModify HTTP node response headers example\nclient IP header example\nClient IP Geolocation Header example\nHTTP response sample\norigin-pull URL rewrite example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyResponseHeader\",\n \"ModifyResponseHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"Access-Control-Allow-Methods\",\n \"Value\": \"POST,GET\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"Access-Control-Allow-Origin\",\n \"Value\": \"http://test.com,http://1.1.1.1\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"Content-Disposition\"\n }\n ]\n }\n },\n {\n \"Name\": \"ClientIPHeader\",\n \"ClientIPHeaderParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"testheader\"\n }\n },\n {\n \"Name\": \"ClientIPCountry\",\n \"ClientIPCountryParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"EO-Client-IPCountry\"\n }\n },\n {\n \"Name\": \"HttpResponse\",\n \"HttpResponseParameters\": {\n \"StatusCode\": 400,\n \"ResponsePage\": \"p-30tcxgl8i0ls\"\n }\n },\n {\n \"Name\": \"UpstreamURLRewrite\",\n \"UpstreamURLRewriteParameters\": {\n \"Type\": \"Path\",\n \"Action\": \"addPrefix\",\n \"Value\": \"/prefix\"\n }\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n}",
1012
+ "title": "Querying the Rule Engine Rule List"
775
1013
  }
776
1014
  ],
777
1015
  "DescribeL7AccSetting": [
778
1016
  {
779
- "document": "Query the global acceleration configuration of the site.",
1017
+ "document": "This example shows you how to query the global configuration information for site acceleration.",
780
1018
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL7AccSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\"\n}",
781
- "output": "{\n \"Response\": {\n \"RequestId\": \"88215c08-67de-4c7d-974e-a14461816f5b\",\n \"ZoneSetting\": {\n \"ZoneName\": \"example.com\",\n \"ZoneConfig\": {\n \"SmartRouting\": {\n \"Switch\": \"off\"\n },\n \"Cache\": {\n \"CustomTime\": {\n \"CacheTime\": 2592000,\n \"Switch\": \"off\"\n },\n \"FollowOrigin\": {\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0,\n \"Switch\": \"on\"\n },\n \"NoCache\": {\n \"Switch\": \"off\"\n }\n },\n \"MaxAge\": {\n \"FollowOrigin\": \"on\",\n \"CacheTime\": 600\n },\n \"CacheKey\": {\n \"FullURLCache\": \"on\",\n \"IgnoreCase\": \"off\",\n \"QueryString\": {\n \"Action\": \"includeCustom\",\n \"Switch\": \"off\",\n \"Values\": []\n }\n },\n \"CachePrefresh\": {\n \"CacheTimePercent\": 90,\n \"Switch\": \"off\"\n },\n \"OfflineCache\": {\n \"Switch\": \"on\"\n },\n \"Compression\": {\n \"Algorithms\": [\n \"brotli\",\n \"gzip\"\n ],\n \"Switch\": \"on\"\n },\n \"ForceRedirectHTTPS\": {\n \"RedirectStatusCode\": 302,\n \"Switch\": \"off\"\n },\n \"HSTS\": {\n \"IncludeSubDomains\": \"off\",\n \"Timeout\": 0,\n \"Preload\": \"off\",\n \"Switch\": \"off\"\n },\n \"TLSConfig\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n },\n \"OCSPStapling\": {\n \"Switch\": \"off\"\n },\n \"HTTP2\": {\n \"Switch\": \"off\"\n },\n \"QUIC\": {\n \"Switch\": \"off\"\n },\n \"UpstreamHTTP2\": {\n \"Switch\": \"off\"\n },\n \"IPv6\": {\n \"Switch\": \"off\"\n },\n \"WebSocket\": {\n \"Switch\": \"off\",\n \"Timeout\": 30\n },\n \"PostMaxSize\": {\n \"MaxSize\": 524288000,\n \"Switch\": \"on\"\n },\n \"ClientIPHeader\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"ClientIPCountry\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"Grpc\": {\n \"Switch\": \"off\"\n },\n \"AccelerateMainland\": {\n \"Switch\": \"off\"\n },\n \"StandardDebug\": {\n \"AllowClientIPList\": [],\n \"Expires\": \"1969-12-31T16:00:00Z\",\n \"Switch\": \"off\"\n }\n }\n }\n }\n}",
782
- "title": "Query the Site Configuration For Layer-7 Acceleration"
1019
+ "output": "{\n \"Response\": {\n \"RequestId\": \"88215c08-67de-4c7d-974e-a14461816f5b\",\n \"ZoneSetting\": {\n \"ZoneName\": \"example.com\",\n \"ZoneConfig\": {\n \"SmartRouting\": {\n \"Switch\": \"off\"\n },\n \"Cache\": {\n \"CustomTime\": {\n \"CacheTime\": 2592000,\n \"Switch\": \"off\"\n },\n \"FollowOrigin\": {\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0,\n \"Switch\": \"on\"\n },\n \"NoCache\": {\n \"Switch\": \"off\"\n }\n },\n \"MaxAge\": {\n \"FollowOrigin\": \"on\",\n \"CacheTime\": 600\n },\n \"CacheKey\": {\n \"FullURLCache\": \"on\",\n \"IgnoreCase\": \"off\",\n \"QueryString\": {\n \"Action\": \"includeCustom\",\n \"Switch\": \"off\",\n \"Values\": []\n }\n },\n \"CachePrefresh\": {\n \"CacheTimePercent\": 90,\n \"Switch\": \"off\"\n },\n \"OfflineCache\": {\n \"Switch\": \"on\"\n },\n \"Compression\": {\n \"Algorithms\": [\n \"brotli\",\n \"gzip\"\n ],\n \"Switch\": \"on\"\n },\n \"ForceRedirectHTTPS\": {\n \"RedirectStatusCode\": 302,\n \"Switch\": \"off\"\n },\n \"HSTS\": {\n \"IncludeSubDomains\": \"off\",\n \"Timeout\": 0,\n \"Preload\": \"off\",\n \"Switch\": \"off\"\n },\n \"TLSConfig\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n },\n \"OCSPStapling\": {\n \"Switch\": \"off\"\n },\n \"HTTP2\": {\n \"Switch\": \"off\"\n },\n \"QUIC\": {\n \"Switch\": \"off\"\n },\n \"UpstreamHTTP2\": {\n \"Switch\": \"off\"\n },\n \"IPv6\": {\n \"Switch\": \"off\"\n },\n \"WebSocket\": {\n \"Switch\": \"off\",\n \"Timeout\": 30\n },\n \"PostMaxSize\": {\n \"MaxSize\": 524288000,\n \"Switch\": \"on\"\n },\n \"ClientIPHeader\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"ClientIPCountry\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"Grpc\": {\n \"Switch\": \"off\"\n },\n \"NetworkErrorLogging\": {\n \"Switch\": \"on\"\n },\n \"AccelerateMainland\": {\n \"Switch\": \"off\"\n },\n \"StandardDebug\": {\n \"AllowClientIPList\": [],\n \"Expires\": \"1969-12-31T16:00:00Z\",\n \"Switch\": \"off\"\n }\n }\n }\n }\n}",
1020
+ "title": "Querying Layer-7 Acceleration Site Configuration"
783
1021
  }
784
1022
  ],
785
1023
  "DescribeLoadBalancerList": [
@@ -790,6 +1028,80 @@
790
1028
  "title": "Querying the LoadBalancer List"
791
1029
  }
792
1030
  ],
1031
+ "DescribeMultiPathGateway": [
1032
+ {
1033
+ "document": "Query the detailed information of Gateway ID mpgw-9d65563y6p under ZoneId zone-27q0p0bal192.",
1034
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMultiPathGateway\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-9d65563y6p\"\n}",
1035
+ "output": "{\n \"Response\": {\n \"GatewayDetail\": {\n \"GatewayId\": \"mpgw-9d65563y6p\",\n \"GatewayIP\": \"49.233.240.134\",\n \"GatewayName\": \"EOMPGW-1\",\n \"GatewayPort\": 8080,\n \"RegionId\": \"ap-beijing\",\n \"Status\": \"online\",\n \"GatewayType\": \"cloud\",\n \"Lines\": [\n {\n \"LineAddress\": \"49.233.240.134:8080\",\n \"LineId\": \"line-0\",\n \"LineType\": \"direct\"\n }\n ]\n },\n \"RequestId\": \"aaab53cb-23c4-4b13-85f5-e63745107ba0\"\n }\n}",
1036
+ "title": "Querying Cloud Gateway Details"
1037
+ },
1038
+ {
1039
+ "document": "Query the detailed information of Gateway ID mpgw-9d6asd63376 under ZoneId zone-27q0p0bal192.",
1040
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMultiPathGateway\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-9d6asd63376\"\n}",
1041
+ "output": "{\n \"Response\": {\n \"GatewayDetail\": {\n \"GatewayId\": \"mpgw-9d6asd63376\",\n \"GatewayIP\": \"41.125.20.114\",\n \"GatewayName\": \"EOMPGW-2\",\n \"GatewayPort\": 8080,\n \"RegionId\": \"ap-shanghai\",\n \"Status\": \"online\",\n \"GatewayType\": \"private\",\n \"Lines\": [\n {\n \"LineAddress\": \"43.213.14.191:8080\",\n \"LineId\": \"line-0\",\n \"LineType\": \"direct\"\n }\n ]\n },\n \"RequestId\": \"aaab53cb-23c4-4b13-85f5-e63745107ba0\"\n }\n}",
1042
+ "title": "Querying Private Gateway Details"
1043
+ }
1044
+ ],
1045
+ "DescribeMultiPathGatewayLine": [
1046
+ {
1047
+ "document": "Query the detailed information of the gateway (GatewayId: mpgw-lbxuhk1oh) and line type (LineId: line-0) in the site (ZoneId: zone-27q0p0bal192).",
1048
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMultiPathGatewayLine\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"LineId\": \"line-0\"\n}",
1049
+ "output": "{\n \"Response\": {\n \"Line\": {\n \"LineId\": \"line-0\",\n \"LineType\": \"direct\",\n \"LineAddress\": \"159.21.35.91:8080\"\n },\n \"RequestId\": \"9153aae4-26b1-4580-adc3-fa7cd4d32bf5\"\n }\n}",
1050
+ "title": "Query Direct-Access Routes for the Multi-Channel Security Acceleration Gateway"
1051
+ },
1052
+ {
1053
+ "document": "Query detailed information of the gateway (GatewayId: mpgw-lbxuhk1oh) and line type (LineId: line-1) under the query site (ZoneId: zone-27q0p0bal192).",
1054
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMultiPathGatewayLine\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"LineId\": \"line-1\"\n}",
1055
+ "output": "{\n \"Response\": {\n \"Line\": {\n \"LineType\": \"proxy\",\n \"LineAddress\": \"120.12.31.91:8080\",\n \"LineId\": \"line-1\",\n \"ProxyId\": \"sid-2gpv1z8cx8y2\",\n \"RuleId\": \"rule-33ik84rw3nuu\"\n },\n \"RequestId\": \"9153aae4-26b1-4580-adc3-fa7cd4d32bf5\"\n }\n}",
1056
+ "title": "Querying Proxy Routes of Multi-Channel SCDN Gateway"
1057
+ },
1058
+ {
1059
+ "document": "Query the detailed information of the gateway (GatewayId: mpgw-lbxuhk1oh) and line type (LineId: line-2) under the site (ZoneId: zone-27q0p0bal192).",
1060
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMultiPathGatewayLine\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"LineId\": \"line-2\"\n}",
1061
+ "output": "{\n \"Response\": {\n \"Line\": {\n \"LineId\": \"line-2\",\n \"LineType\": \"custom\",\n \"LineAddress\": \"120.12.31.91:8080\"\n },\n \"RequestId\": \"9153aae4-26b1-4580-adc3-fa7cd4d32bf5\"\n }\n}",
1062
+ "title": "Querying Custom Access Routes for Multi-Channel SCDN Gateways"
1063
+ }
1064
+ ],
1065
+ "DescribeMultiPathGatewayOriginACL": [
1066
+ {
1067
+ "document": "This example shows you how to query the binding relationship between instances with ZoneId 'zone-27q0p0bal192' and GatewayId 'mpgw-lbxuhk1oh' and the IP address range, as well as the IP range details.",
1068
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\"\n}",
1069
+ "output": "{\n \"Response\": {\n \"RequestId\": \"de0a2b4f-df6d-4d2a-ac39-1706cbf8a797\",\n \"MultiPathGatewayOriginACLInfo\": {\n \"MultiPathGatewayCurrentOriginACL\": {\n \"EntireAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n },\n \"Version\": 3,\n \"IsPlaned\": \"false\"\n },\n \"MultiPathGatewayNextOriginACL\": {\n \"Version\": 4,\n \"EntireAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\",\n \"22.22.22.22/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n },\n \"AddedAddresses\": {\n \"IPv4\": [\n \"22.22.22.22/24\"\n ],\n \"IPv6\": []\n },\n \"RemovedAddresses\": {\n \"IPv4\": [],\n \"IPv6\": []\n },\n \"NoChangeAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n }\n }\n }\n }\n}",
1070
+ "title": "Querying Multi-Channel SCDN Gateway Origin Server Protection Detail"
1071
+ }
1072
+ ],
1073
+ "DescribeMultiPathGatewayRegions": [
1074
+ {
1075
+ "document": "Get the list of available regions of cloud gateways under the site (ZoneId is zone-27q0p0bal192).",
1076
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMultiPathGatewayRegions\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\"\n}",
1077
+ "output": "{\n \"Response\": {\n \"GatewayRegions\": [\n {\n \"RegionId\": \"ap-beijing\",\n \"CNName\": \"Beijing\",\n \"ENName\": \"beijing\"\n },\n {\n \"RegionId\": \"ap-shanghai\",\n \"CNName\": \"Shanghai\",\n \"ENName\": \"shanghai\"\n }\n ],\n \"RequestId\": \"a622678d-ea5b-41e8-9cd2-d335816141a0\"\n }\n}",
1078
+ "title": "Get the List of Available Gateway Regions"
1079
+ }
1080
+ ],
1081
+ "DescribeMultiPathGatewaySecretKey": [
1082
+ {
1083
+ "document": "Query the access key of a multi-channel security acceleration gateway for the specified site (ZoneId: zone-27q0p0bal192).",
1084
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMultiPathGatewaySecretKey\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\"\n}",
1085
+ "output": "{\n \"Response\": {\n \"SecretKey\": \"b8sfnemqzF5TNCwwtshVmG/gyCJVi/rP+7A+jsBwqGY=\",\n \"RequestId\": \"9153aae4-26b1-4580-adc3-fa7cd4d32bf5\"\n }\n}",
1086
+ "title": "Querying Multi-Channel security acceleration Gateway Keys"
1087
+ }
1088
+ ],
1089
+ "DescribeMultiPathGateways": [
1090
+ {
1091
+ "document": "Query the list of multi-channel security acceleration gateways with 10 row records per page and no filter conditions.",
1092
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMultiPathGateways\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
1093
+ "output": "{\n \"Response\": {\n \"Gateways\": [\n {\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"GatewayName\": \"mpgw\",\n \"GatewayType\": \"private\",\n \"GatewayPort\": 8080,\n \"Status\": \"online\",\n \"GatewayIP\": \"101.43.204.125\"\n }\n ],\n \"RequestId\": \"a622678d-ea5b-41e8-9cd2-d335816141a0\",\n \"TotalCount\": 1\n }\n}",
1094
+ "title": "Query the Multi-Channel Security Acceleration Gateway List"
1095
+ }
1096
+ ],
1097
+ "DescribeOriginACL": [
1098
+ {
1099
+ "document": "This example shows you how to query the binding relationship between the L7 acceleration domain/L4 proxy instance and the origin IP range, as well as the origin IP range details for the selected site with ZoneId 'zone-276zs184g93m'.",
1100
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\"\n}",
1101
+ "output": "{\n \"Response\": {\n \"RequestId\": \"de0a2b4f-df6d-4d2a-ac39-1706cbf8a797\",\n \"OriginACLInfo\": {\n \"L7Hosts\": [\n \"www.example.com\"\n ],\n \"L4ProxyIds\": [\n \"proxy-19389e5dwwxfs\"\n ],\n \"CurrentOriginACL\": {\n \"EntireAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n },\n \"Version\": \"mlc-1.0.1-20250421\",\n \"ActiveTime\": \"2014-11-30T10:00:00Z\",\n \"IsPlaned\": \"false\"\n },\n \"Status\": \"online\",\n \"NextOriginACL\": {\n \"Version\": \"mlc-1.0.1-20250422\",\n \"PlannedActiveTime\": \"2014-12-30T10:00:00Z\",\n \"EntireAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\",\n \"22.22.22.22/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n },\n \"AddedAddresses\": {\n \"IPv4\": [\n \"22.22.22.22/24\"\n ],\n \"IPv6\": []\n },\n \"RemovedAddresses\": {\n \"IPv4\": [],\n \"IPv6\": []\n },\n \"NoChangeAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n }\n }\n }\n }\n}",
1102
+ "title": "Querying Origin Protection Detail"
1103
+ }
1104
+ ],
793
1105
  "DescribeOriginGroup": [
794
1106
  {
795
1107
  "document": "This example shows you how to query the list of origin groups by a specified ID.",
@@ -828,6 +1140,14 @@
828
1140
  "title": "Querying L7 Monitoring Time Sequence Traffic Data"
829
1141
  }
830
1142
  ],
1143
+ "DescribePlans": [
1144
+ {
1145
+ "document": "This example shows you how to query the package information list sorted by package activation time in descending order, starting from the 0th package and fetching 4 package details.",
1146
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePlans\n<Common request parameters>\n\n{\n \"Offset\": 0,\n \"Limit\": 4,\n \"Order\": \"enable-time\",\n \"Direction\": \"desc\"\n}",
1147
+ "output": "{\n \"Response\": {\n \"RequestId\": \"55496a31-e798-4aef-b40c-5cdbaef7fe6f\",\n \"Plans\": [\n {\n \"Area\": \"overseas\",\n \"AutoRenewal\": false,\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8ml4zpq\",\n \"PlanType\": \"plan-enterprise-v2\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": false,\n \"ZoneId\": \"zone-2ycvr8p31c5q\",\n \"ZoneName\": \"edgeone.icu\"\n }\n ],\n \"Bindable\": \"true\"\n },\n {\n \"Area\": \"global\",\n \"AutoRenewal\": false,\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8p345am\",\n \"PlanType\": \"plan-enterprise-v2\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": false,\n \"ZoneId\": \"zone-2ycvr8p35jv2\",\n \"ZoneName\": \"edgeone.xyz\"\n }\n ],\n \"Bindable\": \"true\"\n },\n {\n \"Area\": \"overseas\",\n \"AutoRenewal\": false,\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8p36yfi\",\n \"PlanType\": \"plan-enterprise\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": false,\n \"ZoneId\": \"zone-2ycvr8p38czy\",\n \"ZoneName\": \"edgeone.com\"\n }\n ],\n \"Bindable\": \"true\"\n },\n {\n \"Area\": \"overseas\",\n \"AutoRenewal\": false,\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8p39rke\",\n \"PlanType\": \"plan-standard\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": true,\n \"ZoneId\": \"zone-2vv6990bixl1\",\n \"ZoneName\": \"edgeone.xyz\"\n }\n ],\n \"Bindable\": \"false\"\n }\n ],\n \"TotalCount\": 28\n }\n}",
1148
+ "title": "Query Package Information List"
1149
+ }
1150
+ ],
831
1151
  "DescribePrefetchTasks": [
832
1152
  {
833
1153
  "document": "After the preheating task is submitted by using CreatePrefetchTasks, use this API to query the preheating task records and execution progress.",
@@ -874,12 +1194,50 @@
874
1194
  "title": "DescribeRulesSetting"
875
1195
  }
876
1196
  ],
1197
+ "DescribeSecurityAPIResource": [
1198
+ {
1199
+ "document": "This example shows you how to perform a paging query for API resources of a certain site.",
1200
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityAPIResource\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123123232\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
1201
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"APIResources\": [\n {\n \"Id\": \"apires-1230001002\",\n \"Name\": \"test2\",\n \"Path\": \"/ava\",\n \"APIServiceIds\": [\n \"apisrv-123233399\"\n ],\n \"Methods\": [\n \"POST\",\n \"PUT\"\n ],\n \"RequestConstraint\": \"${http.request.body.form['operationType']} in ['id.dana.order.listAl']\"\n }\n ],\n \"RequestId\": \"97f2dd9b-1624-4519-9ac6-13c95154d846\"\n }\n}",
1202
+ "title": "Querying API Resources of a Specified Site"
1203
+ }
1204
+ ],
1205
+ "DescribeSecurityAPIService": [
1206
+ {
1207
+ "document": "This example shows you how to perform a paging query for API services of a specified site.",
1208
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityAPIService\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123123232\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
1209
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"APIServices\": [\n {\n \"Id\": \"apisrv-1230001001\",\n \"Name\": \"test1\",\n \"BasePath\": \"/tt\"\n }\n ],\n \"RequestId\": \"97f2dd9b-1624-4519-9ac6-13c95154d846\"\n }\n}",
1210
+ "title": "Querying API Service of a Specified Site"
1211
+ }
1212
+ ],
1213
+ "DescribeSecurityClientAttester": [
1214
+ {
1215
+ "document": "This example shows you how to paginate client authentication option configuration for a specified site.",
1216
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityClientAttester\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123123232\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
1217
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ClientAttesters\": [\n {\n \"Name\": \"test1\",\n \"Id\": \"attest-2180001023\",\n \"AttesterSource\": \"TC-RCE\",\n \"Type\": \"CUSTOM\",\n \"AttesterDuration\": \"300s\",\n \"TCRCEOption\": {\n \"Channel\": \"12399223\"\n }\n }\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
1218
+ "title": "Querying Client Authentication Option Configuration for Specified Site"
1219
+ }
1220
+ ],
877
1221
  "DescribeSecurityIPGroup": [
878
1222
  {
879
- "document": "This example shows you how to query the configuration information of security IP groups in a specified site.",
880
- "input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-nqicqhasui\"\n}",
881
- "output": "{\n \"Response\": {\n \"IPGroups\": [\n {\n \"GroupId\": 123,\n \"Name\": \"ExampleIpGroup\",\n \"Content\": [\n \"2.2.2.2\",\n \"23.23.23.0/24\"\n ]\n }\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
882
- "title": "Querying the configuration information of security IP groups"
1223
+ "document": "This example shows you how to query the configuration information of ALL security IP groups in a specified site.",
1224
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityIPGroup\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-nqicqhasui\"\n}",
1225
+ "output": "{\n \"Response\": {\n \"IPGroups\": [\n {\n \"GroupId\": 97,\n \"Name\": \"ExampleIpGroup\",\n \"IPTotalCount\": 2,\n \"Content\": [\n \"2.2.2.2\",\n \"23.23.23.0/24\"\n ],\n \"IPExpireInfo\": [\n {\n \"ExpireTime\": \"2026-03-24T16:03:00+08:00\",\n \"IPList\": [\n \"2.2.2.2\"\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
1226
+ "title": "Querying the Configuration Information of ALL Security IP Groups under a Site"
1227
+ },
1228
+ {
1229
+ "document": "This example shows you how to query the configuration information of security IP groups with specified ID in a site.",
1230
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityIPGroup\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-ncacqeabax\",\n \"GroupIds\": [\n 100,\n 200\n ]\n}",
1231
+ "output": "{\n \"Response\": {\n \"IPGroups\": [\n {\n \"GroupId\": 100,\n \"Name\": \"ExampleIpGroup-1\",\n \"IPTotalCount\": 2,\n \"Content\": [\n \"2.2.2.2\",\n \"23.23.23.0/24\"\n ],\n \"IPExpireInfo\": [\n {\n \"ExpireTime\": \"2026-03-24T16:03:00+08:00\",\n \"IPList\": [\n \"2.2.2.2\"\n ]\n }\n ]\n },\n {\n \"GroupId\": 200,\n \"Name\": \"ExampleIpGroup-2\",\n \"IPTotalCount\": 2,\n \"Content\": [\n \"1.1.1.1\",\n \"23.23.23.0/24\"\n ],\n \"IPExpireInfo\": [\n {\n \"ExpireTime\": \"2025-03-24T16:03:00+08:00\",\n \"IPList\": [\n \"1.1.1.1\"\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
1232
+ "title": "Querying the Configuration Information of Security IP Groups with Specified ID"
1233
+ }
1234
+ ],
1235
+ "DescribeSecurityIPGroupContent": [
1236
+ {
1237
+ "document": "This example shows you how to query the IP or IP range list in a group by specifying the GroupId. If the number of IPs or IP ranges exceeds 100000, you can gradually retrieve all data via paging query.",
1238
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityIPGroupContent\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-nqicqhasui\",\n \"GroupId\": 100121,\n \"Limit\": 1000,\n \"Offset\": 0\n}",
1239
+ "output": "{\n \"Response\": {\n \"IPTotalCount\": 5,\n \"IPList\": [\n \"1.1.1.1\",\n \"1.2.3.1\",\n \"1.2.4.1\",\n \"1.5.3.1\",\n \"6.2.3.1\"\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
1240
+ "title": "Querying IP or Ranges in an IP Group"
883
1241
  }
884
1242
  ],
885
1243
  "DescribeSecurityIPGroupInfo": [
@@ -890,11 +1248,19 @@
890
1248
  "title": "Querying the configuration information of an IP group"
891
1249
  }
892
1250
  ],
1251
+ "DescribeSecurityJSInjectionRule": [
1252
+ {
1253
+ "document": "This example shows you how to query JavaScript injection rules on a site with paging.",
1254
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityJSInjectionRule\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123123232\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
1255
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"JSInjectionRules\": [\n {\n \"RuleId\": \"injection-123219329\",\n \"Name\": \"test\",\n \"Condition\": \"${http.request.host} in ['www.test.com'] and ${http.request.uri.path} in ['/atteffa/geo-info']\",\n \"InjectJS\": \"inject-sdk-only\",\n \"Priority\": 2\n }\n ],\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
1256
+ "title": "Querying JavaScript Injection Rules"
1257
+ }
1258
+ ],
893
1259
  "DescribeSecurityPolicy": [
894
1260
  {
895
- "document": "Query security protection settings",
1261
+ "document": "This example shows you how to query security protection settings.",
896
1262
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityPolicy\n<Common request parameters>\n\n{\n \"Entity\": \"Host\",\n \"Host\": \"www.example.com\",\n \"ZoneId\": \"zone-xxqr76cy\"\n}",
897
- "output": "{\n \"Response\": {\n \"RequestId\": \"cb5d2c0e-295e-412a-891a-9f8ab6057b4a\",\n \"SecurityPolicy\": {\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ASimpleIPRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24'] or ${http.request.ip.asn} in ['132203']\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"on\",\n \"RuleType\": \"PreciseMatchRule\",\n \"Priority\": 50\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MetaData\": {\nScanner Attack Vulnerability Protection\n\"GroupName\": \"Scanner Attack Vulnerability Protection\"\n \"RuleDetails\": [\n {\n \"RuleId\": \"4401215444\",\n \"RiskLevel\": \"extreme\",\nProtection rule against historic sql injection vulnerabilities in dedecms\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n },\n {\n \"RuleId\": \"4401214877\",\n \"RiskLevel\": \"medium\",\nIntercept xss verification payloads of common scanners\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n}",
1263
+ "output": "{\n \"Response\": {\n \"RequestId\": \"cb5d2c0e-295e-412a-891a-9f8ab6057b4a\",\n \"SecurityPolicy\": {\n \"ExceptionRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ExampleSkipModule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"WebSecurityModules\",\n \"WebSecurityModulesForException\": [\n \"websec-mod-custom-rules\",\n \"websec-mod-rate-limiting\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRuleGroupsForException\": [\n \"wafgroup-sql-injection-attacks\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRuleForField\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"SkipOption\": \"SkipOnSpecifiedRequestFields\",\n \"RequestFieldsForException\": [\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['session-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['account-id'] and ${value} like ['prefix-*']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} in ['x-trace-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} like ['x-auth-*'] and ${value} like ['Bearer *']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action'] and ${value} in ['upload', 'delete']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"query\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"path\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"fullpath\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id'] and ${value} in ['1234', '5678']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"fullbody\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"multipart\"\n }\n ],\n \"Enabled\": \"On\"\n }\n ]\n },\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ASimpleIPRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24'] or ${http.request.ip.asn} in ['132203']\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"on\",\n \"RuleType\": \"PreciseMatchRule\",\n \"Priority\": 50\n }\n ]\n },\n \"HttpDDoSProtection\": {\n \"AdaptiveFrequencyControl\": {\n \"Enabled\": \"on\",\n \"Sensitivity\": \"Loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"ClientFiltering\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"BandwidthAbuseDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"SlowAttackDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MinimalRequestBodyTransferRate\": {\n \"MinimalAvgTransferRateThreshold\": \"50bps\",\n \"CountingPeriod\": \"60s\"\n },\n \"RequestBodyTransferTimeout\": {\n \"IdleTimeout\": \"5s\"\n }\n }\n },\n \"RateLimitingRules\": {\n \"Rules\": [\n {\n \"Enabled\": \"on\",\n \"Name\": \"SampleHttpDdosRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit']\",\n \"CountBy\": [\n \"http.request.ip\",\n \"http.request.cookies['UserSession']\"\n ],\n \"MaxRequestThreshold\": 1000,\n \"CountingPeriod\": \"2m\",\n \"ActionDuration\": \"20h\",\n \"Action\": {\n \"Name\": \"ManagedChallenge\"\n },\n \"Id\": \"2181399690\",\n \"Priority\": 100\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MetaData\": {\n\"GroupDetail\": \"Vulnerability scanner attack protection\"\n\"GroupName\": \"Vulnerability Scanner Attack Protection\"\n \"RuleDetails\": [\n {\n \"RuleId\": \"4401215444\",\n \"RiskLevel\": \"extreme\",\n\"Description\": \"Protection rule against historic sql injection vulnerability in dedecms\"\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n },\n {\n \"RuleId\": \"4401214877\",\n \"RiskLevel\": \"medium\",\n\"Description\": \"Block common vulnerability scanner xss verification payloads\"\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n}",
898
1264
  "title": "Querying Security Protection Settings"
899
1265
  }
900
1266
  ],
@@ -942,6 +1308,14 @@
942
1308
  "title": "Querying the Time Series Traffic Data by Specified Status Code"
943
1309
  }
944
1310
  ],
1311
+ "DescribeTimingL7OriginPullData": [
1312
+ {
1313
+ "document": "This example shows you how to query the number of origin-pull requests for layer-7 domain services under specified site ID zone-2ntf1u8utpmz from 2025-07-01 00:00:00 to 2025-07-15 00:00:00 with a query time granularity of day.",
1314
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7OriginPullData\n<Common request parameters>\n\n{\n \"StartTime\": \"2025-07-01T00:00:00+08:00\",\n \"EndTime\": \"2025-07-15T00:00:00+08:00\",\n \"Interval\": \"day\",\n \"MetricNames\": [\n \"l7Flow_request_hy\"\n ],\n \"ZoneIds\": [\n \"zone-2ntf1u8utpmz\"\n ]\n}",
1315
+ "output": "{\n \"Response\": {\n \"RequestId\": \"7cc73e86-092b-4aa2-b28a-c9c338834926\",\n \"TimingDataRecords\": [\n {\n \"TypeKey\": \"251008840\",\n \"TypeValue\": [\n {\n \"Avg\": 1714316,\n \"Detail\": [\n {\n \"Timestamp\": 1751299200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1751385600,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1751472000,\n \"Value\": 1471972\n },\n {\n \"Timestamp\": 1751558400,\n \"Value\": 2824464\n },\n {\n \"Timestamp\": 1751644800,\n \"Value\": 2815290\n },\n {\n \"Timestamp\": 1751731200,\n \"Value\": 2814852\n },\n {\n \"Timestamp\": 1751817600,\n \"Value\": 2815244\n },\n {\n \"Timestamp\": 1751904000,\n \"Value\": 11147558\n },\n {\n \"Timestamp\": 1751990400,\n \"Value\": 6\n },\n {\n \"Timestamp\": 1752076800,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1752163200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1752249600,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1752336000,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1752422400,\n \"Value\": 111050\n }\n ],\n \"Max\": 11147558,\n \"MetricName\": \"l7Flow_request_hy\",\n \"Sum\": 24000436\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
1316
+ "title": "Querying Time Series Data for Origin Analysis"
1317
+ }
1318
+ ],
945
1319
  "DescribeTopL7AnalysisData": [
946
1320
  {
947
1321
  "document": "This example shows you how to query the traffic data of the top URL path under a specific HTTP protocol version (HTTP/1.0 or HTTP/1.1).",
@@ -958,6 +1332,22 @@
958
1332
  "title": "Querying the Top Traffic Data by Specified Status Code"
959
1333
  }
960
1334
  ],
1335
+ "DescribeWebSecurityTemplate": [
1336
+ {
1337
+ "document": "This example shows you how to query the configuration content of the policy template temp-a9s1ekqt in site zone-a012rw4m76cy.",
1338
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWebSecurityTemplate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-a012rw4m76cy\",\n \"TemplateId\": \"temp-a9s1ekqt\"\n}",
1339
+ "output": "{\n \"Response\": {\n \"RequestId\": \"cb5d2c0e-295e-412a-891a-9f8ab6057b4a\",\n \"SecurityPolicy\": {\n \"ExceptionRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ExampleSkipModule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"WebSecurityModules\",\n \"WebSecurityModulesForException\": [\n \"websec-mod-custom-rules\",\n \"websec-mod-rate-limiting\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRuleGroupsForException\": [\n \"wafgroup-sql-injection-attacks\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRuleForField\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"SkipOption\": \"SkipOnSpecifiedRequestFields\",\n \"RequestFieldsForException\": [\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['session-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['account-id'] and ${value} like ['prefix-*']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} in ['x-trace-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} like ['x-auth-*'] and ${value} like ['Bearer *']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action'] and ${value} in ['upload', 'delete']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"query\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"path\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"fullpath\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id'] and ${value} in ['1234', '5678']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"fullbody\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"multipart\"\n }\n ],\n \"Enabled\": \"On\"\n }\n ]\n },\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ASimpleIPRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24'] or ${http.request.ip.asn} in ['132203']\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"on\",\n \"RuleType\": \"PreciseMatchRule\",\n \"Priority\": 50\n }\n ]\n },\n \"HttpDDoSProtection\": {\n \"AdaptiveFrequencyControl\": {\n \"Enabled\": \"on\",\n \"Sensitivity\": \"Loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"ClientFiltering\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"BandwidthAbuseDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"SlowAttackDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MinimalRequestBodyTransferRate\": {\n \"MinimalAvgTransferRateThreshold\": \"50bps\",\n \"CountingPeriod\": \"60s\"\n },\n \"RequestBodyTransferTimeout\": {\n \"IdleTimeout\": \"5s\"\n }\n }\n },\n \"RateLimitingRules\": {\n \"Rules\": [\n {\n \"Enabled\": \"on\",\n \"Name\": \"SampleHttpDdosRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit']\",\n \"CountBy\": [\n \"http.request.ip\",\n \"http.request.cookies['UserSession']\"\n ],\n \"MaxRequestThreshold\": 1000,\n \"CountingPeriod\": \"2m\",\n \"ActionDuration\": \"20h\",\n \"Action\": {\n \"Name\": \"ManagedChallenge\"\n },\n \"Id\": \"2181399690\",\n \"Priority\": 100\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MetaData\": {\n\"GroupDetail\": \"Vulnerability scanner attack protection\"\n\"GroupName\": \"Vulnerability Scanner Attack Protection\"\n \"RuleDetails\": [\n {\n \"RuleId\": \"4401215444\",\n \"RiskLevel\": \"extreme\",\n\"Description\": \"Protection rule against historic sql injection vulnerability in dedecms\"\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n },\n {\n \"RuleId\": \"4401214877\",\n \"RiskLevel\": \"medium\",\n\"Description\": \"Block common scanner xss verification payloads\"\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n}",
1340
+ "title": "Querying Security Policy Configuration Template Details"
1341
+ }
1342
+ ],
1343
+ "DescribeWebSecurityTemplates": [
1344
+ {
1345
+ "document": "This example shows you how to query the security policy configuration template list.",
1346
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWebSecurityTemplates\n<Common request parameters>\n\n{\n \"ZoneIds\": [\n \"zone-2bu6nf2gwsax\",\n \"zone-6wkpkd5gzvms\"\n ]\n}",
1347
+ "output": "{\n \"Response\": {\n \"RequestId\": \"e56b198e-e7ca-4fa6-904d-2b81927e5663\",\n \"TotalCount\": 2,\n \"SecurityPolicyTemplates\": [\n {\n \"ZoneId\": \"zone-2wkpkd5gzvms\",\n \"TemplateId\": \"temp-1m9la413\",\n\"TemplateName\": \"CC Protection Template\"\n \"BindDomains\": [\n {\n \"Domain\": \"t.teo-secdev01.top\",\n \"ZoneId\": \"zone-2wkpkd5gzvms\",\n \"Status\": \"online\"\n },\n {\n \"Domain\": \"a.teo-secdev02.top\",\n \"ZoneId\": \"zone-9ac5swm0293l\",\n \"Status\": \"fail\"\n }\n ]\n },\n {\n \"ZoneId\": \"zone-8bu6nf2gwsax\",\n \"TemplateId\": \"temp-ws139la4\",\n\"TemplateName\": \"Bot protection template\"\n \"BindDomains\": [\n {\n \"Domain\": \"a.teo-secdev03.top\",\n \"ZoneId\": \"zone-8bu6nf2gwsax\",\n \"Status\": \"process\"\n }\n ]\n }\n ]\n }\n}",
1348
+ "title": "Query Security Policy Configuration Template List"
1349
+ }
1350
+ ],
961
1351
  "DescribeZoneConfigImportResult": [
962
1352
  {
963
1353
  "document": "This example shows you how to query the import results of the Layer-7 acceleration configuration item under the site zone-21xfqlh4qjee.",
@@ -970,7 +1360,7 @@
970
1360
  {
971
1361
  "document": " ",
972
1362
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZoneSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\"\n}",
973
- "output": "{\n \"Response\": {\n \"RequestId\": \"88215c08-67de-4c7d-974e-a14461816f5b\",\n \"ZoneSetting\": {\n \"AccelerateMainland\": {\n \"Switch\": \"off\"\n },\n \"Area\": \"global\",\n \"CacheConfig\": {\n \"Cache\": {\n \"CacheTime\": 2592000,\n \"Switch\": \"off\"\n },\n \"FollowOrigin\": {\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0,\n \"Switch\": \"on\"\n },\n \"NoCache\": {\n \"Switch\": \"off\"\n }\n },\n \"CacheKey\": {\n \"FullUrlCache\": \"on\",\n \"IgnoreCase\": \"off\",\n \"QueryString\": {\n \"Action\": \"includeCustom\",\n \"Switch\": \"off\",\n \"Value\": []\n }\n },\n \"CachePrefresh\": {\n \"Percent\": 90,\n \"Switch\": \"off\"\n },\n \"ClientIpCountry\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"ClientIpHeader\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"Compression\": {\n \"Algorithms\": [\n \"brotli\",\n \"gzip\"\n ],\n \"Switch\": \"on\"\n },\n \"ForceRedirect\": {\n \"RedirectStatusCode\": 302,\n \"Switch\": \"off\"\n },\n \"Grpc\": {\n \"Switch\": \"off\"\n },\n \"Https\": {\n \"ApplyType\": \"none\",\n \"CertInfo\": [],\n \"CipherSuite\": \"loose-v2023\",\n \"Hsts\": {\n \"IncludeSubDomains\": \"off\",\n \"MaxAge\": 0,\n \"Preload\": \"off\",\n \"Switch\": \"off\"\n },\n \"Http2\": \"on\",\n \"OcspStapling\": \"off\",\n \"TlsVersion\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ]\n },\n \"ImageOptimize\": {\n \"Switch\": \"off\"\n },\n \"Ipv6\": {\n \"Switch\": \"off\"\n },\n \"MaxAge\": {\n \"FollowOrigin\": \"on\",\n \"MaxAgeTime\": 600\n },\n \"OfflineCache\": {\n \"Switch\": \"on\"\n },\n \"Origin\": {\n \"Origins\": [\n \"30.12.34.23\"\n ],\n \"BackupOrigins\": [\n \"30.12.34.11\"\n ],\n \"OriginPullProtocol\": \"follow\",\n \"CosPrivateAccess\": \"off\"\n },\n \"PostMaxSize\": {\n \"MaxSize\": 524288000,\n \"Switch\": \"on\"\n },\n \"Quic\": {\n \"Switch\": \"off\"\n },\n \"SmartRouting\": {\n \"Switch\": \"off\"\n },\n \"StandardDebug\": {\n \"AllowClientIPList\": [],\n \"ExpireTime\": \"1969-12-31T16:00:00Z\",\n \"Switch\": \"off\"\n },\n \"UpstreamHttp2\": {\n \"Switch\": \"off\"\n },\n \"WebSocket\": {\n \"Switch\": \"off\",\n \"Timeout\": 30\n },\n \"JITVideoProcess\": {\n \"Switch\": \"off\"\n },\n \"ZoneName\": \"wxlagame.com\"\n }\n }\n}",
1363
+ "output": "{\n \"Response\": {\n \"RequestId\": \"88215c08-67de-4c7d-974e-a14461816f5b\",\n \"ZoneSetting\": {\n \"AccelerateMainland\": {\n \"Switch\": \"off\"\n },\n \"Area\": \"global\",\n \"CacheConfig\": {\n \"Cache\": {\n \"CacheTime\": 2592000,\n \"Switch\": \"off\"\n },\n \"FollowOrigin\": {\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0,\n \"Switch\": \"on\"\n },\n \"NoCache\": {\n \"Switch\": \"off\"\n }\n },\n \"CacheKey\": {\n \"FullUrlCache\": \"on\",\n \"IgnoreCase\": \"off\",\n \"QueryString\": {\n \"Action\": \"includeCustom\",\n \"Switch\": \"off\",\n \"Value\": []\n }\n },\n \"CachePrefresh\": {\n \"Percent\": 90,\n \"Switch\": \"off\"\n },\n \"ClientIpCountry\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"ClientIpHeader\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"Compression\": {\n \"Algorithms\": [\n \"brotli\",\n \"gzip\"\n ],\n \"Switch\": \"on\"\n },\n \"ForceRedirect\": {\n \"RedirectStatusCode\": 302,\n \"Switch\": \"off\"\n },\n \"Grpc\": {\n \"Switch\": \"off\"\n },\n \"NetworkErrorLogging\": {\n \"Switch\": \"on\"\n },\n \"Https\": {\n \"ApplyType\": \"none\",\n \"CertInfo\": [],\n \"CipherSuite\": \"loose-v2023\",\n \"Hsts\": {\n \"IncludeSubDomains\": \"off\",\n \"MaxAge\": 0,\n \"Preload\": \"off\",\n \"Switch\": \"off\"\n },\n \"Http2\": \"on\",\n \"OcspStapling\": \"off\",\n \"TlsVersion\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ]\n },\n \"ImageOptimize\": {\n \"Switch\": \"off\"\n },\n \"Ipv6\": {\n \"Switch\": \"off\"\n },\n \"MaxAge\": {\n \"FollowOrigin\": \"on\",\n \"MaxAgeTime\": 600\n },\n \"OfflineCache\": {\n \"Switch\": \"on\"\n },\n \"Origin\": {\n \"Origins\": [\n \"30.12.34.23\"\n ],\n \"BackupOrigins\": [\n \"30.12.34.11\"\n ],\n \"OriginPullProtocol\": \"follow\",\n \"CosPrivateAccess\": \"off\"\n },\n \"PostMaxSize\": {\n \"MaxSize\": 524288000,\n \"Switch\": \"on\"\n },\n \"Quic\": {\n \"Switch\": \"off\"\n },\n \"SmartRouting\": {\n \"Switch\": \"off\"\n },\n \"StandardDebug\": {\n \"AllowClientIPList\": [],\n \"ExpireTime\": \"1969-12-31T16:00:00Z\",\n \"Switch\": \"off\"\n },\n \"UpstreamHttp2\": {\n \"Switch\": \"off\"\n },\n \"WebSocket\": {\n \"Switch\": \"off\",\n \"Timeout\": 30\n },\n \"JITVideoProcess\": {\n \"Switch\": \"off\"\n },\n \"ZoneName\": \"wxlagame.com\"\n }\n }\n}",
974
1364
  "title": "Querying Site Configuration"
975
1365
  }
976
1366
  ],
@@ -990,6 +1380,14 @@
990
1380
  "title": "Terminating Billing Plan"
991
1381
  }
992
1382
  ],
1383
+ "DisableOriginACL": [
1384
+ {
1385
+ "document": "This example shows you how to disable 'Origin Protection' for a site with ZoneId 'zone-276zs184g93m'.",
1386
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisableOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\"\n}",
1387
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ce0a2b4f-df6d-4d2a-ac39-1706cbf8a863\"\n }\n}",
1388
+ "title": "Disable Origin Protection"
1389
+ }
1390
+ ],
993
1391
  "DownloadL4Logs": [
994
1392
  {
995
1393
  "document": " ",
@@ -1006,6 +1404,44 @@
1006
1404
  "title": "Downloading L7 Offline Logs"
1007
1405
  }
1008
1406
  ],
1407
+ "EnableOriginACL": [
1408
+ {
1409
+ "document": "This example shows you how to turn on origin protection for the selected site with ZoneId 'zone-276zs184g93m', configure L7 acceleration for domain name 'www.qq.com', and enable specific IP range for origin return on L4 proxy instance 'sid-19389e5dwwxfs'.",
1410
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L7EnableMode\": \"specific\",\n \"L7Hosts\": [\n \"www.qq.com\"\n ],\n \"L4EnableMode\": \"specific\",\n \"L4ProxyIds\": [\n \"sid-19389e5dwwxfs\"\n ]\n}",
1411
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706cbf8a869\"\n }\n}",
1412
+ "title": "Enable Origin Protection for the Site for the First Time and Configure It to Assign a Specific IP Range for Origin Retrieval to the Designated Layer-7 Acceleration Domain or Layer-4 Proxy Instance"
1413
+ },
1414
+ {
1415
+ "document": "This example shows you how to enable origin protection for the selected site with ZoneId 'zone-276zs184g93m', and configure the layer-7 acceleration domain name 'www.qq.com' to enable specific IP range for origin retrieval.",
1416
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L7EnableMode\": \"specific\",\n \"L7Hosts\": [\n \"www.qq.com\"\n ]\n}",
1417
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706cbf8a869\"\n }\n}",
1418
+ "title": "Site First-Time Origin Protection Enablement, Configured to Specify L7 Acceleration Domain Activation with Specific Origin IP Range"
1419
+ },
1420
+ {
1421
+ "document": "This example shows you how to enable origin protection for the selected site with ZoneId 'zone-276zs184g93m' and configure the L4 proxy instance 'sid-19389e5dwwxfs' to use a specific IP range for origin retrieval.",
1422
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L4EnableMode\": \"specific\",\n \"L4ProxyIds\": [\n \"sid-19389e5dwwxfs\"\n ]\n}",
1423
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706cbf8a869\"\n }\n}",
1424
+ "title": "Enabling Origin Protection for a Site for the First Time and Configuring a Specific IP Range for Origin Return on an L4 Proxy Instance"
1425
+ },
1426
+ {
1427
+ "document": "This example shows you how to enable origin protection for the selected site with ZoneId 'zone-276zs184g93m', and configure all layer-7 acceleration domain names and L4 proxy instances to use a specific IP range for origin retrieval.",
1428
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L7EnableMode\": \"all\",\n \"L4EnableMode\": \"all\"\n}",
1429
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706wdf8a869\"\n }\n}",
1430
+ "title": "First-Time Origin Protection Enablement for a Site and Configuring Specific IP Range Back-To-Origin for All Layer-7 Acceleration Domain Names and L4 Proxy Instances under the Site"
1431
+ },
1432
+ {
1433
+ "document": "This example shows you how to enable origin protection for the selected site with ZoneId 'zone-276zs184g93m' and configure all layer-7 acceleration domain names to use a specific IP range for origin pull.",
1434
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L7EnableMode\": \"all\"\n}",
1435
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706wdf8a869\"\n }\n}",
1436
+ "title": "Enable Origin Protection for the Site for the First Time and Configure ALL L7 Acceleration Domains under the Site to Use a Specific IP Range for Origin"
1437
+ },
1438
+ {
1439
+ "document": "This example shows you how to enable origin protection for the selected site with ZoneId 'zone-276zs184g93m' and configure all L4 proxy instances to use a specific IP range for origin retrieval.",
1440
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L4EnableMode\": \"all\"\n}",
1441
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706wdf8a869\"\n }\n}",
1442
+ "title": "Site First-Time Enablement of Origin Protection and Configuration of ALL L4 Proxy Instances under the Site to Enable Specific IP Range for Origin Pull"
1443
+ }
1444
+ ],
1009
1445
  "ExportZoneConfig": [
1010
1446
  {
1011
1447
  "document": "This example shows you how to export the Layer-7 acceleration configuration under the site zone-21xfqlh5qjee.",
@@ -1162,6 +1598,14 @@
1162
1598
  "title": "Modifying a custom response page"
1163
1599
  }
1164
1600
  ],
1601
+ "ModifyDDoSProtection": [
1602
+ {
1603
+ "document": "This example shows you how to modify site exclusive Anti-DDoS protection.",
1604
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDDoSProtection\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2jaltqbdhq37\",\n \"DDoSProtection\": {\n \"ProtectionOption\": \"protect_specified_domains\",\n \"DomainDDoSProtections\": [\n {\n \"Domain\": \"www.example.com\",\n \"Switch\": \"on\"\n }\n ]\n }\n}",
1605
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1362c269-9931-4b12-b148-3d1df0818600\"\n }\n}",
1606
+ "title": "Modifying Site Exclusive Anti-DDoS Protection"
1607
+ }
1608
+ ],
1165
1609
  "ModifyDnsRecords": [
1166
1610
  {
1167
1611
  "document": "At the site with ZoneId zone-225qgrnvbi9w, change the record name of the DNS record with record ID record-3d5dg39c to eo-test1.com, the record type to CNAME, and the record content to eo-test1.c4games.com.eo.dnse2.com; change the record name of the DNS record with record ID record-gkd9gyrv to eo-test2.com, the record type to A, and the record content to 1.2.3.4.",
@@ -1268,10 +1712,10 @@
1268
1712
  ],
1269
1713
  "ModifyL7AccRule": [
1270
1714
  {
1271
- "document": "Modify the content of a single rule in the rule engine.",
1272
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyL7AccRule\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bali12\",\n \"Rule\": {\n \"RuleId\": \"rule-djuq23\",\n \"RuleName\": \"Test Rule\",\n \"Status\": \"disable\",\n \"Description\": [\n \"Note 1\",\n Annotation 2\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyOrigin\",\n \"ModifyOriginParameters\": {\n \"OriginType\": \"IPDomain\",\n \"Origin\": \"1.1.1.1\",\n \"OriginProtocol\": \"follow\",\n \"HTTPOriginPort\": 80,\n \"HTTPSOriginPort\": 443\n }\n }\n ],\n \"SubRules\": [\n {\n \"Description\": [\n Node Cache TTL Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Cache\",\n \"CacheParameters\": {\n \"FollowOrigin\": {\n \"Switch\": \"on\",\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Browser Cache TTL Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"MaxAge\",\n \"MaxAgeParameters\": {\n \"FollowOrigin\": \"off\",\n \"CacheTime\": 0\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Custom `CacheKey` Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CacheKey\",\n \"CacheKeyParameters\": {\n \"FullURLCache\": \"off\",\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"IgnoreCase\": \"on\",\n \"Header\": {\n \"Switch\": \"on\",\n \"Values\": [\n \"EO-Client-Device\",\n \"EO-Client-OS\"\n ]\n },\n \"Scheme\": \"on\",\n \"Cookie\": {\n \"Switch\": \"off\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Status Code Cache TTL Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"StatusCodeCache\",\n \"StatusCodeCacheParameters\": {\n \"StatusCodeCacheParams\": [\n {\n \"StatusCode\": 400,\n \"CacheTime\": 4\n },\n {\n \"StatusCode\": 401,\n \"CacheTime\": 180\n },\n {\n \"StatusCode\": 403,\n \"CacheTime\": 7200\n },\n {\n \"StatusCode\": 404,\n \"CacheTime\": 86400\n }\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Cache Prefresh Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CachePrefresh\",\n \"CachePrefreshParameters\": {\n \"Switch\": \"on\",\n \"CacheTimePercent\": 80\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Offline Cache Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OfflineCache\",\n \"OfflineCacheParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n HTTP2 Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTP2\",\n \"HTTP2Parameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n QUIC Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"QUIC\",\n \"QUICParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n WebSocket Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"WebSocket\",\n \"WebSocketParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 30\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Maximum Upload Size Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"PostMaxSize\",\n \"PostMaxSizeParameters\": {\n \"Switch\": \"on\",\n \"MaxSize\": 524288000\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Smart Compression Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Compression\",\n \"CompressionParameters\": {\n \"Switch\": \"on\",\n \"Algorithms\": [\n \"gzip\"\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Intelligent Acceleration Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"SmartRouting\",\n \"SmartRoutingParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n HTTP/2 Origin-Pull Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"UpstreamHTTP2\",\n \"UpstreamHTTP2Parameters\": {\n \"Switch\": \"off\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Origin-Pull Timeout Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTPUpstreamTimeout\",\n \"HTTPUpstreamTimeoutParameters\": {\n \"ResponseTimeout\": 15\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Forced HTTPS Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ForceRedirectHTTPS\",\n \"ForceRedirectHTTPSParameters\": {\n \"Switch\": \"on\",\n \"RedirectStatusCode\": 302\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n HSTS Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HSTS\",\n \"HSTSParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 1000,\n \"IncludeSubDomains\": \"on\",\n \"Preload\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n SSL/TLS Security Configuration Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"TLSConfig\",\n \"TLSConfigParameters\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n OCSP Stapling Example\n Following Origin Redirects Example\n Example of redirection during origin pull\n Custom error page example\n Range GETs example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OCSPStapling\",\n \"OCSPStaplingParameters\": {\n \"Switch\": \"on\"\n }\n },\n {\n \"Name\": \"UpstreamRequest\",\n \"UpstreamRequestParameters\": {\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"Cookie\": {\n \"Switch\": \"on\",\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"UpstreamFollowRedirect\",\n \"UpstreamFollowRedirectParameters\": {\n \"Switch\": \"on\",\n \"MaxTimes\": 3\n }\n },\n {\n \"Name\": \"ErrorPage\",\n \"ErrorPageParameters\": {\n \"ErrorPageParams\": [\n {\n \"StatusCode\": 400,\n \"RedirectURL\": \"http://www.test-v.com/custom-page.html\"\n },\n {\n \"StatusCode\": 403,\n \"RedirectURL\": \"http://www.test-v.com/custom-page1.html\"\n }\n ]\n }\n },\n {\n \"Name\": \"RangeOriginPull\",\n \"RangeOriginPullParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n \"Example of origin HTTPS\"\n Example of Modifying HTTP Request Headers\n Host Header Rewrite Example\n Access URL Redirection Example\n Token Authentication Example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OriginPullProtocol\"\n },\n {\n \"Name\": \"ModifyRequestHeader\",\n \"ModifyRequestHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"EO-Client-Browser\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"EO-Client-Device\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"EO-Client-OS\"\n }\n ]\n }\n },\n {\n \"Name\": \"HostHeader\",\n \"HostHeaderParameters\": {\n \"Action\": \"followOrigin\"\n }\n },\n {\n \"Name\": \"AccessURLRedirect\",\n \"AccessURLRedirectParameters\": {\n \"StatusCode\": 302,\n \"Protocol\": \"follow\",\n \"HostName\": {\n \"Action\": \"follow\"\n },\n \"URLPath\": {\n \"Action\": \"follow\"\n },\n \"QueryString\": {\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"Authentication\",\n \"AuthenticationParameters\": {\n \"AuthType\": \"TypeA\",\n \"Timeout\": 5,\n \"SecretKey\": \"BCChgIM4o0k08Uk0Jgi3f27ir3\",\n \"BackupSecretKey\": \"3deJ7O6CsqlIk\",\n \"AuthParam\": \"test123QQ\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\n Modifying HTTP Node Response Headers Sample\n Client IP Header Sample\n Client IP Geographical Location Header Sample\n HTTP Response Sample\n Access URL Redirection Sample\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyResponseHeader\",\n \"ModifyResponseHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"Access-Control-Allow-Methods\",\n \"Value\": \"POST,GET\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"Access-Control-Allow-Origin\",\n \"Value\": \"http://test.com,http://1.1.1.1\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"Content-Disposition\"\n }\n ]\n }\n },\n {\n \"Name\": \"ClientIPHeader\",\n \"ClientIPHeaderParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"test\"\n }\n },\n {\n \"Name\": \"ClientIPCountry\",\n \"ClientIPCountryParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"EO-Client-IPCountry\"\n }\n },\n {\n \"Name\": \"HttpResponse\",\n \"HttpResponseParameters\": {\n \"StatusCode\": 400,\n \"ResponsePage\": \"p-30tcxgl8i0ls\"\n }\n },\n {\n \"Name\": \"UpstreamURLRewrite\",\n \"UpstreamURLRewriteParameters\": {\n \"Type\": \"Path\",\n \"Action\": \"addPrefix\",\n \"Value\": \"/prefix\"\n }\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n}",
1715
+ "document": "Modify the rule content of a single rule in the rule engine.",
1716
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyL7AccRule\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bali12\",\n \"Rule\": {\n \"RuleId\": \"rule-djuq23\",\n\"RuleName\": \"Test Rule\",\n \"Status\": \"disable\",\n \"Description\": [\n\"Annotation 1\"\nNote 2\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyOrigin\",\n \"ModifyOriginParameters\": {\n \"OriginType\": \"IPDomain\",\n \"Origin\": \"1.1.1.1\",\n \"OriginProtocol\": \"follow\",\n \"HTTPOriginPort\": 80,\n \"HTTPSOriginPort\": 443\n }\n }\n ],\n \"SubRules\": [\n {\n \"Description\": [\nNode Cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Cache\",\n \"CacheParameters\": {\n \"FollowOrigin\": {\n \"Switch\": \"on\",\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nbrowser cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"MaxAge\",\n \"MaxAgeParameters\": {\n \"FollowOrigin\": \"off\",\n \"CacheTime\": 0\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nCustom cache key example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CacheKey\",\n \"CacheKeyParameters\": {\n \"FullURLCache\": \"off\",\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"IgnoreCase\": \"on\",\n \"Header\": {\n \"Switch\": \"on\",\n \"Values\": [\n \"EO-Client-Device\",\n \"EO-Client-OS\"\n ]\n },\n \"Scheme\": \"on\",\n \"Cookie\": {\n \"Switch\": \"off\"\n }\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nStatus code cache TTL example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"StatusCodeCache\",\n \"StatusCodeCacheParameters\": {\n \"StatusCodeCacheParams\": [\n {\n \"StatusCode\": 400,\n \"CacheTime\": 4\n },\n {\n \"StatusCode\": 401,\n \"CacheTime\": 180\n },\n {\n \"StatusCode\": 403,\n \"CacheTime\": 7200\n },\n {\n \"StatusCode\": 404,\n \"CacheTime\": 86400\n }\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nCache pre-refresh example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"CachePrefresh\",\n \"CachePrefreshParameters\": {\n \"Switch\": \"on\",\n \"CacheTimePercent\": 80\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOffline cache example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OfflineCache\",\n \"OfflineCacheParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nHTTP/2 example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTP2\",\n \"HTTP2Parameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nQUIC example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"QUIC\",\n \"QUICParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nWebSocket example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"WebSocket\",\n \"WebSocketParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 30\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nMaximum upload size example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"PostMaxSize\",\n \"PostMaxSizeParameters\": {\n \"Switch\": \"on\",\n \"MaxSize\": 524288000\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nIntelligent compression example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"Compression\",\n \"CompressionParameters\": {\n \"Switch\": \"on\",\n \"Algorithms\": [\n \"gzip\"\n ]\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nSmart Acceleration example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"SmartRouting\",\n \"SmartRoutingParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nHTTP/2 origin pull example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"UpstreamHTTP2\",\n \"UpstreamHTTP2Parameters\": {\n \"Switch\": \"off\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\norigin-pull timeout example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HTTPUpstreamTimeout\",\n \"HTTPUpstreamTimeoutParameters\": {\n \"ResponseTimeout\": 15\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nForce HTTPS example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ForceRedirectHTTPS\",\n \"ForceRedirectHTTPSParameters\": {\n \"Switch\": \"on\",\n \"RedirectStatusCode\": 302\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nHSTS example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"HSTS\",\n \"HSTSParameters\": {\n \"Switch\": \"on\",\n \"Timeout\": 1000,\n \"IncludeSubDomains\": \"on\",\n \"Preload\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nSSL/TLS security configuration example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"TLSConfig\",\n \"TLSConfigParameters\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOCSP stapling example\norigin-pull request parameter setting example\nOrigin-pull follow redirect example\nCustom error page example\nRange-based origin pull example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OCSPStapling\",\n \"OCSPStaplingParameters\": {\n \"Switch\": \"on\"\n }\n },\n {\n \"Name\": \"UpstreamRequest\",\n \"UpstreamRequestParameters\": {\n \"QueryString\": {\n \"Switch\": \"on\",\n \"Action\": \"includeCustom\",\n \"Values\": [\n \"name1\",\n \"name2\"\n ]\n },\n \"Cookie\": {\n \"Switch\": \"on\",\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"UpstreamFollowRedirect\",\n \"UpstreamFollowRedirectParameters\": {\n \"Switch\": \"on\",\n \"MaxTimes\": 3\n }\n },\n {\n \"Name\": \"ErrorPage\",\n \"ErrorPageParameters\": {\n \"ErrorPageParams\": [\n {\n \"StatusCode\": 400,\n \"RedirectURL\": \"http://www.test-v.com/custom-page.html\"\n },\n {\n \"StatusCode\": 403,\n \"RedirectURL\": \"http://www.test-v.com/custom-page1.html\"\n }\n ]\n }\n },\n {\n \"Name\": \"RangeOriginPull\",\n \"RangeOriginPullParameters\": {\n \"Switch\": \"on\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nOrigin-pull HTTPS example\nModifying HTTP request headers example\nHost Header rewrite example\nAccess URL Redirection Example\nToken authentication example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"OriginPullProtocol\"\n },\n {\n \"Name\": \"ModifyRequestHeader\",\n \"ModifyRequestHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"EO-Client-Browser\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"EO-Client-Device\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"EO-Client-OS\"\n }\n ]\n }\n },\n {\n \"Name\": \"HostHeader\",\n \"HostHeaderParameters\": {\n \"Action\": \"followOrigin\"\n }\n },\n {\n \"Name\": \"AccessURLRedirect\",\n \"AccessURLRedirectParameters\": {\n \"StatusCode\": 302,\n \"Protocol\": \"follow\",\n \"HostName\": {\n \"Action\": \"follow\"\n },\n \"URLPath\": {\n \"Action\": \"follow\"\n },\n \"QueryString\": {\n \"Action\": \"full\"\n }\n }\n },\n {\n \"Name\": \"Authentication\",\n \"AuthenticationParameters\": {\n \"AuthType\": \"TypeA\",\n \"Timeout\": 5,\n \"SecretKey\": \"BCChgIM4o0k08Uk0Jgi3f27ir3\",\n \"BackupSecretKey\": \"3deJ7O6CsqlIk\",\n \"AuthParam\": \"test123QQ\"\n }\n }\n ]\n }\n ]\n },\n {\n \"Description\": [\nModifying HTTP Response Headers example\nClient IP header example\nClient IP Geolocation Header example\nHTTP response sample\norigin-pull URL rewrite example\n ],\n \"Branches\": [\n {\n \"Condition\": \"${http.request.host} in ['www.example.com']\",\n \"Actions\": [\n {\n \"Name\": \"ModifyResponseHeader\",\n \"ModifyResponseHeaderParameters\": {\n \"HeaderActions\": [\n {\n \"Action\": \"add\",\n \"Name\": \"Access-Control-Allow-Methods\",\n \"Value\": \"POST,GET\"\n },\n {\n \"Action\": \"set\",\n \"Name\": \"Access-Control-Allow-Origin\",\n \"Value\": \"http://test.com,http://1.1.1.1\"\n },\n {\n \"Action\": \"del\",\n \"Name\": \"Content-Disposition\"\n }\n ]\n }\n },\n {\n \"Name\": \"ClientIPHeader\",\n \"ClientIPHeaderParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"testheader\"\n }\n },\n {\n \"Name\": \"ClientIPCountry\",\n \"ClientIPCountryParameters\": {\n \"Switch\": \"on\",\n \"HeaderName\": \"EO-Client-IPCountry\"\n }\n },\n {\n \"Name\": \"HttpResponse\",\n \"HttpResponseParameters\": {\n \"StatusCode\": 400,\n \"ResponsePage\": \"p-30tcxgl8i0ls\"\n }\n },\n {\n \"Name\": \"UpstreamURLRewrite\",\n \"UpstreamURLRewriteParameters\": {\n \"Type\": \"Path\",\n \"Action\": \"addPrefix\",\n \"Value\": \"/prefix\"\n }\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n}",
1273
1717
  "output": "{\n \"Response\": {\n \"RequestId\": \"811d2583-310c-41f4-b5e7-abe407404sxsd\"\n }\n}",
1274
- "title": "Modifying Rules"
1718
+ "title": "Modify Rule"
1275
1719
  }
1276
1720
  ],
1277
1721
  "ModifyL7AccRulePriority": [
@@ -1284,28 +1728,28 @@
1284
1728
  ],
1285
1729
  "ModifyL7AccSetting": [
1286
1730
  {
1287
- "document": "Modify the global acceleration configuration of the site.",
1288
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyL7AccSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"ZoneConfig\": {\n \"SmartRouting\": {\n \"Switch\": \"on\"\n },\n \"Cache\": {\n \"CustomTime\": {\n \"CacheTime\": 2592000,\n \"Switch\": \"off\"\n },\n \"FollowOrigin\": {\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0,\n \"Switch\": \"on\"\n },\n \"NoCache\": {\n \"Switch\": \"off\"\n }\n },\n \"MaxAge\": {\n \"FollowOrigin\": \"on\",\n \"CacheTime\": 600\n },\n \"CacheKey\": {\n \"FullURLCache\": \"on\",\n \"IgnoreCase\": \"off\",\n \"QueryString\": {\n \"Action\": \"includeCustom\",\n \"Switch\": \"off\",\n \"Values\": []\n }\n },\n \"CachePrefresh\": {\n \"CacheTimePercent\": 90,\n \"Switch\": \"on\"\n },\n \"OfflineCache\": {\n \"Switch\": \"on\"\n },\n \"Compression\": {\n \"Algorithms\": [\n \"brotli\",\n \"gzip\"\n ],\n \"Switch\": \"on\"\n },\n \"ForceRedirectHTTPS\": {\n \"RedirectStatusCode\": 302,\n \"Switch\": \"off\"\n },\n \"HSTS\": {\n \"IncludeSubDomains\": \"off\",\n \"Timeout\": 0,\n \"Preload\": \"off\",\n \"Switch\": \"off\"\n },\n \"TLSConfig\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n },\n \"OCSPStapling\": {\n \"Switch\": \"off\"\n },\n \"HTTP2\": {\n \"Switch\": \"off\"\n },\n \"QUIC\": {\n \"Switch\": \"off\"\n },\n \"UpstreamHTTP2\": {\n \"Switch\": \"off\"\n },\n \"IPv6\": {\n \"Switch\": \"off\"\n },\n \"WebSocket\": {\n \"Switch\": \"off\",\n \"Timeout\": 30\n },\n \"PostMaxSize\": {\n \"MaxSize\": 524288000,\n \"Switch\": \"on\"\n },\n \"ClientIPHeader\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"ClientIPCountry\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"Grpc\": {\n \"Switch\": \"off\"\n },\n \"AccelerateMainland\": {\n \"Switch\": \"off\"\n },\n \"StandardDebug\": {\n \"AllowClientIPList\": [],\n \"Expires\": \"1969-12-31T16:00:00Z\",\n \"Switch\": \"off\"\n }\n }\n}",
1731
+ "document": "This example shows you how to modify the global configuration for site acceleration.",
1732
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyL7AccSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"ZoneConfig\": {\n \"SmartRouting\": {\n \"Switch\": \"on\"\n },\n \"Cache\": {\n \"CustomTime\": {\n \"CacheTime\": 2592000,\n \"Switch\": \"off\"\n },\n \"FollowOrigin\": {\n \"DefaultCache\": \"on\",\n \"DefaultCacheStrategy\": \"on\",\n \"DefaultCacheTime\": 0,\n \"Switch\": \"on\"\n },\n \"NoCache\": {\n \"Switch\": \"off\"\n }\n },\n \"MaxAge\": {\n \"FollowOrigin\": \"on\",\n \"CacheTime\": 600\n },\n \"CacheKey\": {\n \"FullURLCache\": \"on\",\n \"IgnoreCase\": \"off\",\n \"QueryString\": {\n \"Action\": \"includeCustom\",\n \"Switch\": \"off\",\n \"Values\": []\n }\n },\n \"CachePrefresh\": {\n \"CacheTimePercent\": 90,\n \"Switch\": \"on\"\n },\n \"OfflineCache\": {\n \"Switch\": \"on\"\n },\n \"Compression\": {\n \"Algorithms\": [\n \"brotli\",\n \"gzip\"\n ],\n \"Switch\": \"on\"\n },\n \"ForceRedirectHTTPS\": {\n \"RedirectStatusCode\": 302,\n \"Switch\": \"off\"\n },\n \"HSTS\": {\n \"IncludeSubDomains\": \"off\",\n \"Timeout\": 0,\n \"Preload\": \"off\",\n \"Switch\": \"off\"\n },\n \"TLSConfig\": {\n \"Version\": [\n \"TLSv1\",\n \"TLSv1.1\",\n \"TLSv1.2\",\n \"TLSv1.3\"\n ],\n \"CipherSuite\": \"loose-v2023\"\n },\n \"OCSPStapling\": {\n \"Switch\": \"off\"\n },\n \"HTTP2\": {\n \"Switch\": \"off\"\n },\n \"QUIC\": {\n \"Switch\": \"off\"\n },\n \"UpstreamHTTP2\": {\n \"Switch\": \"off\"\n },\n \"IPv6\": {\n \"Switch\": \"off\"\n },\n \"WebSocket\": {\n \"Switch\": \"off\",\n \"Timeout\": 30\n },\n \"PostMaxSize\": {\n \"MaxSize\": 524288000,\n \"Switch\": \"on\"\n },\n \"ClientIPHeader\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"ClientIPCountry\": {\n \"HeaderName\": \"\",\n \"Switch\": \"off\"\n },\n \"Grpc\": {\n \"Switch\": \"off\"\n },\n \"NetworkErrorLogging\": {\n \"Switch\": \"on\"\n },\n \"AccelerateMainland\": {\n \"Switch\": \"off\"\n },\n \"StandardDebug\": {\n \"AllowClientIPList\": [],\n \"Expires\": \"1969-12-31T16:00:00Z\",\n \"Switch\": \"off\"\n }\n }\n}",
1289
1733
  "output": "{\n \"Response\": {\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
1290
- "title": "Modifying the Global Acceleration Configuration Of a Site"
1734
+ "title": "Modifying the Global Configuration for Site Acceleration"
1291
1735
  },
1292
1736
  {
1293
- "document": "Enable IPv6 access for all domain names under the site.",
1737
+ "document": "This example shows you how to enable IPv6 access for all domain names under the site.",
1294
1738
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyL7AccSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"ZoneConfig\": {\n \"IPv6\": {\n \"Switch\": \"on\"\n }\n }\n}",
1295
1739
  "output": "{\n \"Response\": {\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
1296
- "title": "Modifying the Global IPv6 Access Configuration Of a Site Acceleration"
1740
+ "title": "Modifying Site Acceleration Global IPv6 Access Configuration"
1297
1741
  },
1298
1742
  {
1299
- "document": "This example shows you how to enable QUIC for all domain names under a site.",
1743
+ "document": "This example shows you how to enable QUIC for all domain names under the site.",
1300
1744
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyL7AccSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"ZoneConfig\": {\n \"QUIC\": {\n \"Switch\": \"on\"\n }\n }\n}",
1301
1745
  "output": "{\n \"Response\": {\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
1302
- "title": "Modifying the Global QUIC Configuration Of the Site"
1746
+ "title": "Modifying Global QUIC Configuration for Site Acceleration"
1303
1747
  },
1304
1748
  {
1305
- "document": "This example shows you how to configure the cache to no-cache for all domain names under a site.",
1749
+ "document": "This example shows you how to configure the cache as no-cache for ALL domains under the site.",
1306
1750
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyL7AccSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"ZoneConfig\": {\n \"Cache\": {\n \"NoCache\": {\n \"Switch\": \"on\"\n }\n }\n }\n}",
1307
1751
  "output": "{\n \"Response\": {\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
1308
- "title": "Modifying Global Node Cache TTL Configuration For Site Acceleration"
1752
+ "title": "Modifying the Global Node Cache TTL Configuration for Site Acceleration"
1309
1753
  }
1310
1754
  ],
1311
1755
  "ModifyLoadBalancer": [
@@ -1316,6 +1760,58 @@
1316
1760
  "title": "Modifying the Check Policy of a LoadBalancer"
1317
1761
  }
1318
1762
  ],
1763
+ "ModifyMultiPathGateway": [
1764
+ {
1765
+ "document": "Modify the gateway name, IP and port information of the multi-channel SCDN gateway with GatewayId mpgw-lbxuhk1oh under the specified site with ZoneId zone-27q0p0bal192.",
1766
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMultiPathGateway\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"GatewayName\": \"eomp\",\n \"GatewayIP\": \"101.31.33.19\",\n \"GatewayPort\": 8080\n}",
1767
+ "output": "{\n \"Response\": {\n \"RequestId\": \"175a5e55-a849-41f1-93d2-c9741859fedd\"\n }\n}",
1768
+ "title": "Modify Multi-Channel Security Acceleration Gateway Info"
1769
+ }
1770
+ ],
1771
+ "ModifyMultiPathGatewayLine": [
1772
+ {
1773
+ "document": "Modify the Edgeone Layer 4 proxy forwarding route for the multi-channel security acceleration gateway (ID: mpgw-lbxuhk1oh) under the site (ZoneId value is zone-27q0p0bal192). Change LineAddress to 101.23.573.10:8989, ProxyId to sid-2gpv1z8cx8y2, and RuleId to rule-33ik84rw3nuu.",
1774
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMultiPathGatewayLine\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"LineId\": \"line-1\",\n \"LineType\": \"proxy\",\n \"LineAddress\": \"101.23.573.10:8989\",\n \"ProxyId\": \"sid-2gpv1z8cx8y2\",\n \"RuleId\": \"rule-33ik84rw3nuu\"\n}",
1775
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a622678d-ea5b-41e8-9cd2-d335816141a0\"\n }\n}",
1776
+ "title": "Modify the Proxy Route of the Multi-Channel Security Acceleration Gateway"
1777
+ },
1778
+ {
1779
+ "document": "Modify the custom lines of the multi-channel SCDN gateway with ID mpgw-lbxuhk1oh under the site (ZoneId value is zone-27q0p0bal192) by changing LineAddress to 120.91.82.74:8080.",
1780
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMultiPathGatewayLine\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"GatewayId\": \"mpgw-lbxuhk1oh\",\n \"LineId\": \"line-2\",\n \"LineType\": \"custom\",\n \"LineAddress\": \"120.91.82.74:8080\"\n}",
1781
+ "output": "{\n \"Response\": {\n \"RequestId\": \"548b1b65-fcec-4095-8c7a-ec8afa862635\"\n }\n}",
1782
+ "title": "Modifying Custom Lines for the Multi-Channel Security Acceleration Gateway"
1783
+ }
1784
+ ],
1785
+ "ModifyMultiPathGatewaySecretKey": [
1786
+ {
1787
+ "document": "Modify the key of a multi-channel security acceleration gateway on the specified site (ZoneId: zone-27q0p0bal192). The original key will be invalid after modification.",
1788
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMultiPathGatewaySecretKey\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\",\n \"SecretKey\": \"b8sfnemqzF5TNCwwtshVmG/gyCJVi/rP+7A+jsBwqGY=\"\n}",
1789
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9153aae4-26b1-4580-adc3-fa7cd4d32bf5\"\n }\n}",
1790
+ "title": "Modify the Configuration for Connecting Key"
1791
+ }
1792
+ ],
1793
+ "ModifyMultiPathGatewayStatus": [
1794
+ {
1795
+ "document": "This example shows you how to update the status of a multi-channel security gateway with ZoneId 'zone-27q0p0bal192' and GatewayId 'eo-gw-lb-uhk1oh'.",
1796
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMultiPathGatewayStatus\n<Common request parameters>\n\n{\n \"GatewayId\": \"eo-gw-lb-uhk1oh\",\n \"GatewayStatus\": \"offline\",\n \"ZoneId\": \"zone-27q0p0bal192\"\n}",
1797
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a03c3e4d-3a8c-4ef1-924c-81b33df6453a\"\n }\n}",
1798
+ "title": "Update Multi-Channel Security Gateway Status"
1799
+ }
1800
+ ],
1801
+ "ModifyOriginACL": [
1802
+ {
1803
+ "document": "This example shows you how to add the L7 acceleration domain 'www.qq.com' under site 'zone-276zs184g93m' enabling origin ACLs.",
1804
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"OriginACLEntities\": [\n {\n \"OperationMode\": \"enable\",\n \"Type\": \"l7\",\n \"Instances\": [\n \"www.qq.com\"\n ]\n }\n ]\n}",
1805
+ "output": "{\n \"Response\": {\n \"RequestId\": \"fe0a2b4f-df6d-4d2a-ac39-1706cbf8a868\"\n }\n}",
1806
+ "title": "Add New L7 Acceleration Domains Enabling Origin ACLs"
1807
+ },
1808
+ {
1809
+ "document": "This example shows you how to disable origin ACLs for the L4 proxy instance 'sid-19389e5dwwxfs' under site 'zone-276zs184g93m'.",
1810
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyOriginACL\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"OriginACLEntities\": [\n {\n \"OperationMode\": \"disable\",\n \"Type\": \"l4\",\n \"Instances\": [\n \"sid-19389e5dwwxfs\"\n ]\n }\n ]\n}",
1811
+ "output": "{\n \"Response\": {\n \"RequestId\": \"fe0a2b4f-df6d-4d2a-ac39-1706cbf8a868\"\n }\n}",
1812
+ "title": "Disable Origin ACLs for L4 Proxy Instances"
1813
+ }
1814
+ ],
1319
1815
  "ModifyOriginGroup": [
1320
1816
  {
1321
1817
  "document": "This example shows you how to rename an origin group to `edgeone-new-origin`. ",
@@ -1360,62 +1856,132 @@
1360
1856
  "title": "ModifyRule"
1361
1857
  }
1362
1858
  ],
1859
+ "ModifySecurityAPIResource": [
1860
+ {
1861
+ "document": "This example shows you how to modify an existing API resource.",
1862
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityAPIResource\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123sfakjf\",\n \"APIResources\": [\n {\n \"Id\": \"apires-1230001002\",\n \"Name\": \"test2\",\n \"Path\": \"/ava\",\n \"APIServiceIds\": [\n \"apisrv-123233399\"\n ],\n \"Methods\": [\n \"POST\",\n \"PUT\"\n ],\n \"RequestConstraint\": \"${http.request.body.form['operationType']} in ['id.dana.order.listAl']\"\n }\n ]\n}",
1863
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
1864
+ "title": "Modifying a Designated API Resource"
1865
+ }
1866
+ ],
1867
+ "ModifySecurityAPIService": [
1868
+ {
1869
+ "document": "This example shows you how to modify the associated domain name, rule name and base path of a certain existing API service.",
1870
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityAPIService\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123sfakjf\",\n \"APIServices\": [\n {\n \"Id\": \"apisrv-1230001001\",\n \"Name\": \"test\",\n \"BasePath\": \"/tt\"\n }\n ]\n}",
1871
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
1872
+ "title": "Modifying a Specified API Service"
1873
+ }
1874
+ ],
1875
+ "ModifySecurityClientAttester": [
1876
+ {
1877
+ "document": "This example shows you how to modify certain existing authentication option content.",
1878
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityClientAttester\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-12ekfafefe3\",\n \"ClientAttesters\": [\n {\n \"Name\": \"test\",\n \"Id\": \"attest-2180012392\",\n \"AttesterSource\": \"TC-RCE\",\n \"TCRCEOption\": {\n \"Channel\": \"12399223\"\n },\n \"AttesterDuration\": \"300s\"\n }\n ]\n}",
1879
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
1880
+ "title": "Modifying Specified Authentication Option Content"
1881
+ }
1882
+ ],
1363
1883
  "ModifySecurityIPGroup": [
1364
1884
  {
1365
- "document": "This example shows you how to modify a security IP group with the operation \"append\".",
1366
- "input": "POST / HTTP/1.1 \nHost: teo.tencentcloudapi.com \nContent-Type: application/json \nX-TC-Action: ModifySecurityIPGroup \n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [\n \"1.3.1.1/16\",\n \"6.6.6.6\"\n ]\n },\n \"Mode\": \"append\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1885
+ "document": "To append the following IPs or ranges to an existing IP group: 1.1.1.1, 2.2.2.0/24.",
1886
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityIPGroup\n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [\n \"1.1.1.1\",\n \"2.2.2.0/24\"\n ]\n },\n \"Mode\": \"append\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1887
+ "output": "{\n \"Response\": {\n \"RequestId\": \"728cb059-8595-44c7-b6c6-b4a539ae823f\"\n }\n}",
1888
+ "title": "Adding IPs or Ranges to an IP Group"
1889
+ },
1890
+ {
1891
+ "document": "This example shows you how to add the following IPs or ranges to an already existing security IP group: 1.1.1.1, 2.2.2.0/24, 3.3.3.3 and 4.4.4.4, and configure expiration time for 1.1.1.1, 2.2.2.0/24 and 4.4.4.4.",
1892
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityIPGroup\n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [\n \"1.1.1.1\",\n \"2.2.2.0/24\",\n \"3.3.3.3\",\n \"4.4.4.4\"\n ],\n \"IPExpireInfo\": [\n {\n \"ExpireTime\": \"2022-01-01T00:00:00+08:00\",\n \"IPList\": [\n \"1.1.1.1\",\n \"4.4.4.4\"\n ]\n },\n {\n \"ExpireTime\": \"2022-01-02T00:00:00+08:00\",\n \"IPList\": [\n \"2.2.2.0/24\"\n ]\n }\n ]\n },\n \"Mode\": \"append\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1893
+ "output": "{\n \"Response\": {\n \"RequestId\": \"728cb059-8595-44c7-b6c6-b4a539ae823f\"\n }\n}",
1894
+ "title": "Adding IPs or Ranges to a Security IP Group and Configuring the Expiration Time"
1895
+ },
1896
+ {
1897
+ "document": "The IP 1.1.1.1 in the IP group has a configured expiration time and now needs to change its scheduled expiration time.",
1898
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityIPGroup\n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [],\n \"IPExpireInfo\": [\n {\n \"ExpireTime\": \"2022-01-01T00:00:00+08:00\",\n \"IPList\": [\n \"1.1.1.1\"\n ]\n }\n ]\n },\n \"Mode\": \"append\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1367
1899
  "output": "{\n \"Response\": {\n \"RequestId\": \"728cb059-8595-44c7-b6c6-b4a539ae823f\"\n }\n}",
1368
- "title": "Modifying a security IP group with the operation \"append\""
1900
+ "title": "Modify the Expiry Date of IPs or Ranges in an IP Group"
1369
1901
  },
1370
1902
  {
1371
- "document": "This example shows you how to modify a security IP group with the operation \"remove\".",
1372
- "input": "POST / HTTP/1.1 \nHost: teo.tencentcloudapi.com \nContent-Type: application/json \nX-TC-Action: ModifySecurityIPGroup \n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [\n \"1.3.1.1/16\",\n \"6.6.6.6\"\n ]\n },\n \"Mode\": \"remove\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1903
+ "document": "This example shows you how to delete the IP 1.1.1.1 that exists in the IP group.",
1904
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityIPGroup\n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [\n \"1.1.1.1\"\n ]\n },\n \"Mode\": \"remove\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1373
1905
  "output": "{\n \"Response\": {\n \"RequestId\": \"5bdc699c-68df-4cb7-9d0a-1c174b0374ad\"\n }\n}",
1374
- "title": "Modifying a security IP group with the operation \"remove\""
1906
+ "title": "Deleting IPs or Ranges From an IP Group"
1907
+ },
1908
+ {
1909
+ "document": "The IP group contains 1.1.1.1 and is automatically configured with an expiry date. Now need to delete the expiry date of this IP.",
1910
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityIPGroup\n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [],\n \"IPExpireInfo\": [\n {\n \"IPList\": [\n \"1.1.1.1\"\n ]\n }\n ]\n },\n \"Mode\": \"remove\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1911
+ "output": "{\n \"Response\": {\n \"RequestId\": \"728cb059-8595-44c7-b6c6-b4a539ae823f\"\n }\n}",
1912
+ "title": "Deleting the Expiry Date of IPs or Ranges in an IP Group"
1375
1913
  },
1376
1914
  {
1377
- "document": "This example shows you how to modify a security IP group with the operation \"update\".",
1378
- "input": "POST / HTTP/1.1 \nHost: teo.tencentcloudapi.com \nContent-Type: application/json \nX-TC-Action: ModifySecurityIPGroup \n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [\n \"1.2.1.1/24\",\n \"3.3.3.3\"\n ]\n },\n \"Mode\": \"update\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1915
+ "document": "A full update of the IP group content is required. The IP or ranges to update are: 1.1.1.1, 2.2.2.0/24.",
1916
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityIPGroup\n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [\n \"1.1.1.1\",\n \"2.2.2.0/24\"\n ]\n },\n \"Mode\": \"update\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1379
1917
  "output": "{\n \"Response\": {\n \"RequestId\": \"sh1u8a90-xxxx-49cd-swui-27cb34daa779\"\n }\n}",
1380
- "title": "Modifying a security IP group with the operation \"update\""
1918
+ "title": "Full Update of IPs or Ranges in a Security IP Group"
1919
+ },
1920
+ {
1921
+ "document": "A full update of the IP group content is required. The new IPs or ranges are: 1.1.1.1, 2.2.2.0/24, 3.3.3.3. Set an expiration time for 1.1.1.1.",
1922
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityIPGroup\n<Common request parameters>\n\n{\n \"IPGroup\": {\n \"GroupId\": 67,\n \"Name\": \"test3\",\n \"Content\": [\n \"1.1.1.1\",\n \"2.2.2.0/24\",\n \"3.3.3.3\"\n ],\n \"IPExpireInfo\": [\n {\n \"ExpireTime\": \"2022-01-01T00:00:00+08:00\",\n \"IPList\": [\n \"1.1.1.1\"\n ]\n }\n ]\n },\n \"Mode\": \"update\",\n \"ZoneId\": \"zone-hduqwh\"\n}",
1923
+ "output": "{\n \"Response\": {\n \"RequestId\": \"728cb059-8595-44c7-b6c6-b4a539ae823f\"\n }\n}",
1924
+ "title": "Full Update of IPs or Ranges and Expiry Date in a Security IP Group"
1925
+ }
1926
+ ],
1927
+ "ModifySecurityJSInjectionRule": [
1928
+ {
1929
+ "document": "This example shows you how to modify a certain JavaScript injection rule.",
1930
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityJSInjectionRule\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-123123322\",\n \"JSInjectionRules\": [\n {\n \"RuleId\": \"injection-123219329\",\n \"Name\": \"test\",\n \"Condition\": \"${http.request.host} in ['www.test.com'] and ${http.request.uri.path} in ['/atteffa/geo-info']\",\n \"InjectJS\": \"inject-sdk-only\",\n \"Priority\": 2\n }\n ]\n}",
1931
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ddf831fc-cf45-40fe-81b0-2d9cdd4c1bd6\"\n }\n}",
1932
+ "title": "Modifying JavaScript Injection Rules"
1381
1933
  }
1382
1934
  ],
1383
1935
  "ModifySecurityPolicy": [
1384
1936
  {
1385
- "document": "Modify the domain name policy for a.eotest.com under the eotest.com site",
1386
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityPolicy\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-fa89j239a\",\n \"Entity\": \"Host\",\n \"Host\": \"a.eotest.com\",\n \"SecurityConfig\": {},\n \"SecurityPolicy\": {\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleBasicACLRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24', ${security.ip_group['123'@'zone-2xsnpvkhdjes']} ]\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Priority\": 10,\n \"Enabled\": \"on\"\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"wafmanagedrule-sensitivity-level-extreme\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n }\n ]\n }\n }\n}",
1937
+ "document": "Modify the domain policy of a.eotest.com under the eotest.com site",
1938
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityPolicy\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-fa89j239a\",\n \"Entity\": \"Host\",\n \"Host\": \"a.eotest.com\",\n \"SecurityConfig\": {},\n \"SecurityPolicy\": {\n \"ExceptionRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ExampleSkipModule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"WebSecurityModules\",\n \"WebSecurityModulesForException\": [\n \"websec-mod-custom-rules\",\n \"websec-mod-rate-limiting\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRuleGroupsForException\": [\n \"wafgroup-sql-injection-attacks\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRuleForField\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"SkipOption\": \"SkipOnSpecifiedRequestFields\",\n \"RequestFieldsForException\": [\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['session-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['account-id'] and ${value} like ['prefix-*']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} in ['x-trace-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} like ['x-auth-*'] and ${value} like ['Bearer *']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action'] and ${value} in ['upload', 'delete']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"query\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"path\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"fullpath\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id'] and ${value} in ['1234', '5678']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"fullbody\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"multipart\"\n }\n ],\n \"Enabled\": \"On\"\n }\n ]\n },\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleBasicACLRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24', ${security.ip_group['123'@'zone-2xsnpvkhdjes']} ]\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Priority\": 10,\n \"Enabled\": \"on\"\n }\n ]\n },\n \"HttpDDoSProtection\": {\n \"AdaptiveFrequencyControl\": {\n \"Enabled\": \"on\",\n \"Sensitivity\": \"Loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"ClientFiltering\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"BandwidthAbuseDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"SlowAttackDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MinimalRequestBodyTransferRate\": {\n \"Enabled\": \"on\",\n \"MinimalAvgTransferRateThreshold\": \"50bps\",\n \"CountingPeriod\": \"60s\"\n },\n \"RequestBodyTransferTimeout\": {\n \"Enabled\": \"on\",\n \"IdleTimeout\": \"5s\"\n }\n }\n },\n \"RateLimitingRules\": {\n \"Rules\": [\n {\n \"Enabled\": \"on\",\n \"Name\": \"SampleHttpDdosRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit']\",\n \"CountBy\": [\n \"http.request.ip\",\n \"http.request.cookies['UserSession']\"\n ],\n \"MaxRequestThreshold\": 1000,\n \"CountingPeriod\": \"2m\",\n \"ActionDuration\": \"20h\",\n \"Action\": {\n \"Name\": \"ManagedChallenge\"\n },\n \"Id\": \"2181399690\",\n \"Priority\": 100\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"wafmanagedrule-sensitivity-level-extreme\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n }\n ]\n }\n }\n}",
1387
1939
  "output": "{\n \"Response\": {\n \"RequestId\": \"08b32010-ab25-42a4-b923-777c481da684\"\n }\n}",
1388
- "title": "Modify Domain Name Policy"
1940
+ "title": "Modifying a Domain Name Policy"
1389
1941
  },
1390
1942
  {
1391
- "document": "Modify the template policy of temp-00iel413 under the eotest.com site",
1943
+ "document": "Modify the policy of the temp-00iel413 template under the eotest.com site",
1392
1944
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityPolicy\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-fa89j239a\",\n \"Entity\": \"Template\",\n \"TemplateId\": \"temp-00iel413\",\n \"SecurityConfig\": {},\n \"SecurityPolicy\": {\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleBasicACLRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24', ${security.ip_group['123'@'zone-2xsnpvkhdjes']} ]\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Priority\": 10,\n \"Enabled\": \"on\"\n }\n ]\n }\n }\n}",
1393
1945
  "output": "{\n \"Response\": {\n \"RequestId\": \"08b32010-ab25-42a4-b923-777c481da684\"\n }\n}",
1394
- "title": "Modify Template Policy"
1946
+ "title": "Modifying Template Policy"
1395
1947
  },
1396
1948
  {
1397
- "document": "Modify the site-level policy of eotest.com",
1949
+ "document": "This example shows you how to modify the site-level policy for eotest.com.",
1398
1950
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityPolicy\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-fa89j239a\",\n \"Entity\": \"ZoneDefaultPolicy\",\n \"SecurityConfig\": {},\n \"SecurityPolicy\": {\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"wafmanagedrule-sensitivity-level-extreme\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n }\n ]\n }\n }\n}",
1399
1951
  "output": "{\n \"Response\": {\n \"RequestId\": \"08b32010-ab25-42a4-b923-777c481da684\"\n }\n}",
1400
- "title": "Modify Site-Level Policy"
1952
+ "title": "Modifying a Site-Level Policy"
1401
1953
  },
1402
1954
  {
1403
- "document": "This example shows you how to modify the layer-7 security configuration for the a.eotest.com domain name.",
1955
+ "document": "This example shows you how to modify the layer-7 security configuration for the domain a.eotest.com.",
1404
1956
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityPolicy\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-fa89j239a\",\n \"Entity\": \"a.eotest.com\",\n \"SecurityConfig\": {\n \"WafConfig\": {\n \"Switch\": \"on\",\n \"WafRule\": {\n \"Switch\": \"on\",\n \"ObserveRuleIDs\": [],\n \"BlockRuleIDs\": [\n 162502146\n ]\n },\n \"Mode\": \"block\",\n \"Level\": \"loose\"\n }\n }\n}",
1405
1957
  "output": "{\n \"Response\": {\n \"RequestId\": \"08b32010-ab25-42a4-b923-2e6c481dae23\"\n }\n}",
1406
- "title": "Modify Security Configuration"
1958
+ "title": "Modifying Security Configuration"
1407
1959
  },
1408
1960
  {
1409
- "document": "In WAF protection, if there is a scenario (such as an HTTP request with the path /skipwaf) in your business that requires whitelisting some fields (such as all keys in the HTTP Header) to skip WAF security protection, you can use the following configuration.",
1961
+ "document": "This example shows you how to use the following configuration to skip WAF security protection by whitelisting certain fields (such as all keys in the HTTP Header) for a specific scenario (for example, HTTP requests with the path /skipwaf) in WAF protection.",
1410
1962
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityPolicy\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-fa89j239a\",\n \"Entity\": \"*.eotest.com\",\n \"SecurityConfig\": {\n \"ExceptConfig\": {\n \"Switch\": \"on\",\n \"ExceptUserRules\": [\n {\n \"Action\": \"skip\",\n \"ExceptUserRuleConditions\": [\n {\n \"MatchContent\": \"/skipwaf\",\n \"MatchFrom\": \"cgi\",\n \"Operator\": \"equal\"\n }\n ],\n \"ExceptUserRuleScope\": {\n \"Type\": \"partial\",\n \"PartialModules\": [\n {\n \"Module\": \"waf\",\n \"Include\": [\n 106247778\n ]\n }\n ],\n \"SkipConditions\": [\n {\n \"MatchContent\": [],\n \"MatchFrom\": [],\n \"Selector\": \"keys\",\n \"Type\": \"header_fields\"\n }\n ]\n },\n \"RuleID\": 0,\n \"RuleName\": \"first_webshell\",\n \"RulePriority\": 0,\n \"RuleStatus\": \"on\",\n \"UpdateTime\": \"2022-09-22T03:00:10Z\"\n }\n ]\n }\n }\n}",
1411
1963
  "output": "{\n \"Response\": {\n \"RequestId\": \"08b32010-ab25-42a4-b923-2e6c481dae44\"\n }\n}",
1412
- "title": "Scenarios for Modifying Exception Rules in Security Configuration and Whitelisting Fields"
1964
+ "title": "Modifying an Exception Rule to Allow Specified Fields"
1413
1965
  },
1414
1966
  {
1415
- "document": "In WAF protection, if there is a scenario in your business (such as an HTTP request with the path /skipwaf) where you need to whitelist certain fields (such as the Value corresponding to YourSkipHeader in the HTTP Header) to skip WAF security protection, you can use the following configuration.",
1967
+ "document": "In WAF security protection, if a certain scenario exists in the business (such as an http request with the path /skipwaf) where partial fields (such as the Value corresponding to YourSkipHeader in the HTTP Header) need to be whitelisted to skip WAF security protection, you can use the following configuration.",
1416
1968
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityPolicy\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-fa89j239a\",\n \"Entity\": \"*.eotest.com\",\n \"SecurityConfig\": {\n \"ExceptConfig\": {\n \"Switch\": \"on\",\n \"ExceptUserRules\": [\n {\n \"Action\": \"skip\",\n \"ExceptUserRuleConditions\": [\n {\n \"MatchContent\": \"/skipwaf\",\n \"MatchFrom\": \"cgi\",\n \"Operator\": \"equal\"\n }\n ],\n \"ExceptUserRuleScope\": {\n \"Type\": \"partial\",\n \"PartialModules\": [\n {\n \"Module\": \"waf\",\n \"Include\": [\n 106247778\n ]\n }\n ],\n \"SkipConditions\": [\n {\n \"MatchContent\": [],\n \"MatchFrom\": [\n \"YourSkipHeader\"\n ],\n \"MatchFromType\": \"equal\",\n \"Selector\": \"values\",\n \"Type\": \"header_fields\"\n }\n ]\n },\n \"RuleID\": 0,\n \"RuleName\": \"first_webshell\",\n \"RulePriority\": 0,\n \"RuleStatus\": \"on\",\n \"UpdateTime\": \"2022-09-22T03:00:10Z\"\n }\n ]\n }\n }\n}",
1417
1969
  "output": "{\n \"Response\": {\n \"RequestId\": \"08b32010-ab25-42a4-b923-2e6c481dae66\"\n }\n}",
1418
- "title": "Modifying Exception Rules in Security Configuration and Whitelisting Header Specifying key Field Scenarios"
1970
+ "title": "Modifying Exception Rules in Security Configuration and Whitelisting Header key Field Scenarios"
1971
+ }
1972
+ ],
1973
+ "ModifyWebSecurityTemplate": [
1974
+ {
1975
+ "document": "This example shows you how to modify the name of the template temp-cuwgt1ca under the site zone-2wkpkd52pku2 to \"Web Protection Standard Template V2\".",
1976
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWebSecurityTemplate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2wkpkd52pku2\",\n \"TemplateId\": \"temp-cuwgt1ca\",\n \"TemplateName\": \"Web protection standard template V2\"\n}",
1977
+ "output": "{\n \"Response\": {\n \"RequestId\": \"09ce3d28-1119-49cd-d5a9-27cb34dac669\"\n }\n}",
1978
+ "title": "Modifying a Policy Template Name"
1979
+ },
1980
+ {
1981
+ "document": "This example shows you how to modify the configuration content of the temp-cuwgt1ca Template under the zone-2wkpkd52pku2 site.",
1982
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyWebSecurityTemplate\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-2wkpkd52pku2\",\n \"TemplateId\": \"temp-cuwgt1ca\",\n\"TemplateName\": \"Security template_rename\"\n \"SecurityPolicy\": {\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Condition\": \"${http.request.host} in ['111']\",\n \"Enabled\": \"on\",\n \"Id\": \"1492837231\",\n \"Name\": \"acl1\",\n \"Priority\": 35,\n \"RuleType\": \"PreciseMatchRule\"\n },\n {\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Condition\": \"${http.request.headers['referer']} in ['123']\",\n \"Enabled\": \"on\",\n \"Id\": \"1492837231\",\n \"Name\": \"iptable1\",\n \"Priority\": 1,\n \"RuleType\": \"BasicAccessRule\"\n }\n ]\n },\n \"ExceptionRules\": {\n \"Rules\": [\n {\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] \",\n \"Enabled\": \"on\",\n \"Id\": \"1492837231\",\n \"ManagedRuleGroupsForException\": [\n\n ],\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"Name\": \"SampleSkipManagedRuleForField\",\n \"RequestFieldsForException\": [\n {\n \"Scope\": \"cookie\",\n \"TargetField\": \"key\",\n \"Condition\": \"\"\n }\n ],\n \"SkipOption\": \"SkipOnSpecifiedRequestFields\",\n \"SkipScope\": \"ManagedRules\",\n \"WebSecurityModulesForException\": [\n\n ]\n }\n ]\n },\n \"HttpDDoSProtection\": {\n \"AdaptiveFrequencyControl\": {\n \"Action\": {\n \"ChallengeActionParameters\": {\n \"ChallengeOption\": \"JSChallenge\"\n },\n \"Name\": \"Challenge\"\n },\n \"Enabled\": \"on\",\n \"Sensitivity\": \"Loose\"\n },\n \"BandwidthAbuseDefense\": {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"Enabled\": \"off\"\n },\n \"ClientFiltering\": {\n \"Action\": {\n \"ChallengeActionParameters\": {\n \"ChallengeOption\": \"JSChallenge\"\n },\n \"Name\": \"Challenge\"\n },\n \"Enabled\": \"on\"\n },\n \"SlowAttackDefense\": {\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"off\",\n \"MinimalRequestBodyTransferRate\": {\n \"CountingPeriod\": \"60s\",\n \"Enabled\": \"off\",\n \"MinimalAvgTransferRateThreshold\": \"80bps\"\n },\n \"RequestBodyTransferTimeout\": {\n \"Enabled\": \"off\",\n \"IdleTimeout\": \"5s\"\n }\n }\n },\n \"ManagedRules\": {\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"on\"\n },\n \"DetectionOnly\": \"on\",\n \"Enabled\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-webshell-attacks\",\n \"MetaData\": {\n\"GroupDetail\": \"Webshell detection and protection\"\n\"GroupName\": \"Webshell detection protection\"\n \"RuleDetails\": [\n {\n\"Description\": \"This rule intercepts malicious obfuscated PHP Webshell\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-05-16T03:02:25Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"Protection against php code injection and webshell upload attacks\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2019-04-03T08:25:00Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"This rule intercepts malicious function call features in ASP Webshell and JSP Webshell\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-05-16T03:04:30Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"This rule intercepts the login password feature in Webshell\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-01-10T09:39:02Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"Detection rule targeting the default_json transport protocol of Ice Scorpion\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-07-28T06:24:01Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"Protection rule against asp.net webshell, based on asp.net webshell tag features\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-01-19T09:12:31Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"Targets webshell write features appearing in headers\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-03-31T09:37:39Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"This rule intercepts suspicious function calls in webshells\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-01-12T07:29:50Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"This rule intercepts high-risk function call features in PHP Webshell\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-05-16T03:06:10Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"This rule intercepts the behavior of variable definition in PHP Webshell\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-06-13T03:55:11Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"This rule blocks webshell files based on connection features of some commonly used webshell tools\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-08-13T06:35:48Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"Protect against java code injection and jsp webshell upload attacks\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2017-11-01T08:53:30Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"Detection rule against the default_image transport protocol of Ice Scorpion\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-07-28T06:24:25Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"This rule intercepts sensitive string features that may appear in webshells\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-01-10T09:43:16Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"Protect against webshell attacks and detect sensitive variable usage in $_GET/$_POST\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2018-11-28T06:51:52Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"This rule detects malicious obfuscated webshells\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-01-12T07:33:55Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"This rule intercepts Webshells with suspicious encoded character strings\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-01-12T07:21:46Z\",\n \"Tags\": [\n\n ]\n }\n ]\n },\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n },\n {\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"GroupId\": \"wafgroup-xss-attacks\",\n \"MetaData\": {\n\"GroupDetail\": \"Cross-site scripting protection\"\n\"GroupName\": \"xss Cross-Site Scripting Protection\"\n \"RuleDetails\": [\n {\n\"Description\": \"Strict xss rules targeting scenarios with html tag injection\"\n \"RiskLevel\": \"low\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-03-23T05:32:56Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"This rule intercepts HTML injection via the data pseudo-protocol\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-06-20T06:26:44Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protect against flash xss attacks in xss attacks, detect access requests for swf files that can call sensitive functions\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2018-04-18T06:37:44Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protect against xss attacks by targeting sensitive tags and their attributes in HTTP request cookie fields, such as attack patterns like <script src=xxx>/<iframe src=javascript:xxx>\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-06-24T12:35:37Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Disguises protocol characteristics based on javascript, intercepts GET request parameters, and leverages javascript pseudo-protocol for xss behavior\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-07-22T03:07:14Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"This rule intercepts sensitive pseudo-protocol call features in XSS attacking\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-11-22T12:31:05Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protection rule against Ecommerse-1.0 xss vulnerability\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-11-30T08:47:05Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"Intercept attack patterns that call multiple pseudo-protocols within the same HTML tag\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-08-09T02:41:51Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protection against the javascript pseudo-protocol in xss\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-04-01T03:47:49Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protection against some xss-specific attack probes\"\n \"RiskLevel\": \"low\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2024-11-19T06:37:27Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"Protects against sensitive events and JS functions during xss attacks, such as onload=xxx and document.cookie\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2019-01-03T07:36:29Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"This rule intercepts attackers bypassing attacks by encoding browser pseudo-protocols as entities and other methods\"\n \"RiskLevel\": \"low\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-10-25T12:34:40Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"In moderate protection mode, defend against common reflected/stored XSS attacks\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-08-17T08:25:13Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"For scenarios targeting xss vulnerability exploitation in js environment output points, such as using ;new Function(atob(` to execute malicious js code\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2020-12-28T06:29:01Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protects against reflection/stored XSS attacks in upload requests\"\n \"RiskLevel\": \"low\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-08-17T08:23:02Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Targeting xss vulnerability type, this rule covers newly-added on events used for executing javascript operations.\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-01-18T08:14:05Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protection rule to block attempts using the <isindex> tag for XSS exploitation\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-11-30T08:43:55Z\",\n \"Tags\": [\n\n ]\n },\n {\n\"Description\": \"protect against flash xss attacks\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2017-11-01T03:03:57Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protect against xss attacks, detect attackers performing sensitive operations such as pop-up verification via alert/prompt calls or adding malicious DOM nodes.\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2018-01-02T02:05:19Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protects against attackers leveraging XSS vulnerabilities for probing\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-04-02T08:25:47Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Encode entities in the cookie field of an HTTP request to bypass XSS attacks targeting sensitive operations\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-06-24T09:24:55Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Strict xss rule, protection rule against some special encoding\"\n \"RiskLevel\": \"low\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-03-23T12:45:22Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protect against xss attacks, detect attackers attempting to inject external JS scripts by calling getScript/CreateElement functions for sensitive operations\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2018-01-02T02:09:14Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protects against sensitive tags and their sensitive attributes in xss attacks, such as attack patterns like <script src=xxx>/<iframe src=javascript:xxx>\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2019-12-31T07:48:29Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Detect attack patterns like data uri/base64 in xss attacking by targeting the cookie field in HTTP requests\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-06-24T10:09:09Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protection rule against some client-side prototype chain pollution probe requests\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-09-03T09:26:42Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Interception rule against specific xss probing payloads in strict mode\"\n \"RiskLevel\": \"low\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-11-10T08:57:34Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Detect attack patterns in xss data uri/base64\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2017-09-01T03:18:36Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Strict xss rule targeting predefined global variables in js\"\n \"RiskLevel\": \"low\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-03-23T05:33:41Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Strict xss rules targeting scenarios where css executes javascript in IE\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-03-23T04:58:47Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protect against malicious XSS vulnerability detection behavior\"\n \"RiskLevel\": \"low\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-03-23T13:17:23Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protects against XSS attacks leveraging angularjs features\"\n \"RiskLevel\": \"medium\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-04-06T06:21:17Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protection against XSS attacks bypassing entity encoding\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2018-01-02T02:21:34Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"In loose mode, xss protection rule\"\n \"RiskLevel\": \"extreme\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2020-12-07T02:45:26Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Block attack patterns that call multiple pseudo-protocols within the same HTML tag\"\n \"RiskLevel\": \"high\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2021-08-09T02:40:05Z\",\n \"Tags\": [\n \"owasp\"\n ]\n },\n {\n\"Description\": \"Protection rules against some historic XSS attack vectors\"\n \"RiskLevel\": \"low\",\n \"RuleId\": \"1492837231\",\n \"RuleVersion\": \"2022-05-16T09:28:20Z\",\n \"Tags\": [\n \"owasp\"\n ]\n }\n ]\n },\n \"RuleActions\": [\n\n ],\n \"SensitivityLevel\": \"strict\"\n }\n ],\n \"SemanticAnalysis\": \"off\"\n },\n \"RateLimitingRules\": {\n \"Rules\": [\n {\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"ActionDuration\": \"20h\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit']\",\n \"CountBy\": [\n \"http.request.ip\",\n \"http.request.cookies['UserSession']\"\n ],\n \"CountingPeriod\": \"2m\",\n \"Enabled\": \"on\",\n \"Id\": \"1492837231\",\n \"MaxRequestThreshold\": 1000,\n \"Name\": \"SampleHttpDdosRule\",\n \"Priority\": 100\n }\n ]\n }\n }\n}",
1983
+ "output": "{\n \"Response\": {\n \"RequestId\": \"09ce3d28-1119-49cd-d5a9-27cb34dac669\"\n }\n}",
1984
+ "title": "Modifying Policy Template Configuration Content"
1419
1985
  }
1420
1986
  ],
1421
1987
  "ModifyZone": [
@@ -1428,22 +1994,28 @@
1428
1994
  ],
1429
1995
  "ModifyZoneSetting": [
1430
1996
  {
1431
- "document": "This example shows you how to modify the IPv6 access configuration of a site.",
1432
- "input": "POST / HTTP/1.1 \nHost: teo.tencentcloudapi.com \nContent-Type: application/json \nX-TC-Action: ModifyZoneSetting \n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"Ipv6\": {\n \"Switch\": \"on\"\n }\n}",
1997
+ "document": "This example shows you how to modify site Ipv6 access configuration.",
1998
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyZoneSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"Ipv6\": {\n \"Switch\": \"on\"\n }\n}",
1433
1999
  "output": "{\n \"Response\": {\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
1434
- "title": "Modifying the IPv6 access configuration of a site"
2000
+ "title": "Modify Site Ipv6 Access Configuration"
1435
2001
  },
1436
2002
  {
1437
- "document": "This example shows you how to modify the QUIC access configuration of a site.",
1438
- "input": "POST / HTTP/1.1 \nHost: teo.tencentcloudapi.com \nContent-Type: application/json \nX-TC-Action: ModifyZoneSetting \n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"Quic\": {\n \"Switch\": \"on\"\n }\n}",
2003
+ "document": "This example shows you how to modify the Quic access configuration for a site.",
2004
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyZoneSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"Quic\": {\n \"Switch\": \"on\"\n }\n}",
1439
2005
  "output": "{\n \"Response\": {\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
1440
- "title": "Modifying the QUIC access configuration of a site"
2006
+ "title": "Modifying the Site Quic Access Configuration"
1441
2007
  },
1442
2008
  {
1443
- "document": "This example shows you how to modify the cache expiration time of a site.",
1444
- "input": "POST / HTTP/1.1 \nHost: teo.tencentcloudapi.com \nContent-Type: application/json \nX-TC-Action: ModifyZoneSetting \n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"CacheConfig\": {\n \"NoCache\": {\n \"Switch\": \"on\"\n }\n }\n}",
2009
+ "document": "This example shows you how to modify the cache expiration time configuration for a site.",
2010
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyZoneSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-21xfqlh4qjee\",\n \"CacheConfig\": {\n \"NoCache\": {\n \"Switch\": \"on\"\n }\n }\n}",
1445
2011
  "output": "{\n \"Response\": {\n \"RequestId\": \"5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707\"\n }\n}",
1446
- "title": "Modifying the cache expiration time of a site"
2012
+ "title": "Modifying the Cache Expiration Time Configuration for a Site"
2013
+ },
2014
+ {
2015
+ "document": "This example shows you how to modify network error log configuration.",
2016
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyZoneSetting\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-3ivyxdb1d1kt\",\n \"NetworkErrorLogging\": {\n \"Switch\": \"on\"\n }\n}",
2017
+ "output": "{\n \"Response\": {\n \"RequestId\": \"e2c073b0-4859-4848-88f9-e357c81172cf\"\n }\n}",
2018
+ "title": "Modifying Network Error Log Configuration"
1447
2019
  }
1448
2020
  ],
1449
2021
  "ModifyZoneStatus": [
@@ -1454,6 +2026,14 @@
1454
2026
  "title": "Changes the site status"
1455
2027
  }
1456
2028
  ],
2029
+ "RefreshMultiPathGatewaySecretKey": [
2030
+ {
2031
+ "document": "Refresh the key for multi-channel security acceleration gateway at the specified site. The original key will become invalid after refreshing.",
2032
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RefreshMultiPathGatewaySecretKey\n<Common request parameters>\n\n{\n \"ZoneId\": \"zone-27q0p0bal192\"\n}",
2033
+ "output": "{\n \"Response\": {\n \"SecretKey\": \"b8sfnemqzF5TNCwwtshVmG/gyCJVi/rP+7A+jsBwqGY=\",\n \"RequestId\": \"a622678d-ea5b-41e8-9cd2-d335816141a0\"\n }\n}",
2034
+ "title": "Refreshing the Key of a Multi-Channel Security Acceleration Gateway"
2035
+ }
2036
+ ],
1457
2037
  "RenewPlan": [
1458
2038
  {
1459
2039
  "document": "The plan edgeone-2unuvzjmmn2q is renewed for three months and the voucher will not be automatically used.",