tccli 3.0.1005.1__py2.py3-none-any.whl → 3.0.1006.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdb/v20170320/CloseAuditService.md +20 -0
  3. tccli/examples/cdb/v20170320/CreateAuditRuleTemplate.md +31 -0
  4. tccli/examples/cdb/v20170320/DeleteAuditRuleTemplates.md +20 -0
  5. tccli/examples/cdb/v20170320/DeleteDatabase.md +21 -0
  6. tccli/examples/cdb/v20170320/DescribeAuditInstanceList.md +51 -0
  7. tccli/examples/cdb/v20170320/DescribeAuditRuleTemplateModifyHistory.md +70 -0
  8. tccli/examples/cdb/v20170320/DescribeAuditRuleTemplates.md +61 -0
  9. tccli/examples/cdb/v20170320/ModifyAuditRuleTemplates.md +21 -0
  10. tccli/examples/cdb/v20170320/ModifyAuditService.md +23 -0
  11. tccli/examples/cfg/v20210820/DescribeTaskPolicyTriggerLog.md +38 -0
  12. tccli/examples/cfg/v20210820/TriggerPolicy.md +25 -0
  13. tccli/examples/config/v20220802/ListAggregateConfigRules.md +79 -0
  14. tccli/examples/config/v20220802/ListConfigRules.md +138 -0
  15. tccli/examples/tdmq/v20200217/CreateProCluster.md +3 -3
  16. tccli/examples/teo/v20220901/DescribeOverviewL7Data.md +4 -2
  17. tccli/examples/teo/v20220901/DescribePrefetchTasks.md +2 -1
  18. tccli/examples/teo/v20220901/DescribePurgeTasks.md +2 -1
  19. tccli/examples/teo/v20220901/DescribeTimingL4Data.md +4 -1
  20. tccli/examples/teo/v20220901/DescribeTimingL7AnalysisData.md +6 -3
  21. tccli/examples/teo/v20220901/DescribeTimingL7CacheData.md +6 -3
  22. tccli/examples/teo/v20220901/DescribeTopL7AnalysisData.md +6 -3
  23. tccli/examples/teo/v20220901/DescribeTopL7CacheData.md +8 -4
  24. tccli/examples/teo/v20220901/DownloadL4Logs.md +2 -1
  25. tccli/examples/teo/v20220901/DownloadL7Logs.md +2 -1
  26. tccli/examples/tke/v20180525/DescribeIPAMD.md +6 -3
  27. tccli/examples/tse/v20201207/CloseWafProtection.md +21 -0
  28. tccli/examples/tse/v20201207/CreateWafDomains.md +21 -0
  29. tccli/examples/tse/v20201207/OpenWafProtection.md +21 -0
  30. tccli/examples/vod/v20180717/DescribeTaskDetail.md +4 -0
  31. tccli/examples/vrs/v20200824/GetVRSVoiceTypes.md +4 -2
  32. tccli/services/__init__.py +3 -0
  33. tccli/services/cdb/cdb_client.py +497 -20
  34. tccli/services/cdb/v20170320/api.json +1174 -51
  35. tccli/services/cdb/v20170320/examples.json +72 -0
  36. tccli/services/cfg/cfg_client.py +106 -0
  37. tccli/services/cfg/v20210820/api.json +199 -0
  38. tccli/services/cfg/v20210820/examples.json +16 -0
  39. tccli/services/config/__init__.py +4 -0
  40. tccli/services/config/config_client.py +247 -0
  41. tccli/services/config/v20220802/api.json +767 -0
  42. tccli/services/config/v20220802/examples.json +21 -0
  43. tccli/services/hai/v20230812/api.json +11 -0
  44. tccli/services/tdmq/v20200217/api.json +50 -30
  45. tccli/services/tdmq/v20200217/examples.json +2 -2
  46. tccli/services/teo/v20220901/api.json +51 -40
  47. tccli/services/teo/v20220901/examples.json +24 -24
  48. tccli/services/tke/v20180525/api.json +18 -8
  49. tccli/services/tke/v20180525/examples.json +2 -2
  50. tccli/services/tse/tse_client.py +159 -0
  51. tccli/services/tse/v20201207/api.json +147 -0
  52. tccli/services/tse/v20201207/examples.json +24 -0
  53. tccli/services/vod/v20180717/api.json +278 -24
  54. tccli/services/vod/v20180717/examples.json +4 -4
  55. tccli/services/vrs/v20200824/examples.json +1 -1
  56. tccli/services/waf/v20180125/api.json +3 -3
  57. {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/METADATA +2 -2
  58. {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/RECORD +61 -41
  59. {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/WHEEL +0 -0
  60. {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/entry_points.txt +0 -0
  61. {tccli-3.0.1005.1.dist-info → tccli-3.0.1006.1.dist-info}/license_files/LICENSE +0 -0
@@ -373,29 +373,29 @@
373
373
  "DescribeOverviewL7Data": [
374
374
  {
375
375
  "document": "查询七层监控数据的请求数指标",
376
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOverviewL7Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ]\n}",
376
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOverviewL7Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
377
377
  "output": "{\n \"Response\": {\n \"RequestId\": \"6cc74d08-c174-413a-976b-abe7b851e010\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 1564,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1659225600,\n \"Value\": 0\n }\n ],\n \"Max\": 8037,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 48511\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
378
378
  "title": "查询七层监控类时序流量数据"
379
379
  },
380
380
  {
381
381
  "document": "根据标签的筛选条件获取请求数指标",
382
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOverviewL7Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ]\n}",
382
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOverviewL7Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
383
383
  "output": "{\n \"Response\": {\n \"RequestId\": \"6cc74d08-c174-413a-976b-abe7b851e0121\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 1564,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 100\n },\n {\n \"Timestamp\": 1659225600,\n \"Value\": 34\n }\n ],\n \"Max\": 8037,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 48511\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
384
384
  "title": "根据标签查询时序流量数据"
385
385
  }
386
386
  ],
387
387
  "DescribePrefetchTasks": [
388
388
  {
389
- "document": "",
390
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrefetchTasks\n<公共请求参数>\n\n{\n \"StartTime\": \"2022-02-09T00:00:00+08:00\",\n \"EndTime\": \"2022-02-09T23:59:00+08:00\",\n \"Limit\": 1,\n \"Offset\": 7\n}",
389
+ "document": "通过 CreatePrefetchTasks 提交预热任务后,通过该查询接口查询预热任务记录及执行进度。",
390
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrefetchTasks\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-z8m9mgx\",\n \"StartTime\": \"2022-02-09T00:00:00+08:00\",\n \"EndTime\": \"2022-02-09T23:59:00+08:00\",\n \"Limit\": 1,\n \"Offset\": 7\n}",
391
391
  "output": "{\n \"Response\": {\n \"RequestId\": \"abc-afhhakf-24hkahf-2424\",\n \"Tasks\": [\n {\n \"JobId\": \"20g9wz8m9mgx\",\n \"Status\": \"success\",\n \"Target\": \"http://www.qq.com/a.txt\",\n \"Type\": \"prefetch_url\",\n \"CreateTime\": \"2022-02-09T02:28:43Z\",\n \"UpdateTime\": \"2022-02-09T02:28:52Z\"\n }\n ],\n \"TotalCount\": 8\n }\n}",
392
392
  "title": "查询预热任务"
393
393
  }
394
394
  ],
395
395
  "DescribePurgeTasks": [
396
396
  {
397
- "document": "",
398
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePurgeTasks\n<公共请求参数>\n\n{\n \"StartTime\": \"2022-02-09T00:00:00+08:00\",\n \"EndTime\": \"2022-02-09T23:59:00+08:00\",\n \"Limit\": 1,\n \"Offset\": 7\n}",
397
+ "document": "通过 CreatePurgeTasks 提交刷新任务后,通过该查询接口 查询刷新任务记录及处理进度。",
398
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePurgeTasks\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-wz8m9mgx\",\n \"StartTime\": \"2022-02-09T00:00:00+08:00\",\n \"EndTime\": \"2022-02-09T23:59:00+08:00\",\n \"Limit\": 1,\n \"Offset\": 7\n}",
399
399
  "output": "{\n \"Response\": {\n \"RequestId\": \"abc-afhhakf-24hkahf-2424\",\n \"Tasks\": [\n {\n \"JobId\": \"20g9wz8m9mgx\",\n \"Status\": \"success\",\n \"Target\": \"http://www.qq.com/a.txt\",\n \"Type\": \"purge_url\",\n \"CreateTime\": \"2022-02-09T02:28:43Z\",\n \"UpdateTime\": \"2022-02-09T02:28:52Z\"\n }\n ],\n \"TotalCount\": 8\n }\n}",
400
400
  "title": "查询清除缓存历史记录"
401
401
  }
@@ -427,19 +427,19 @@
427
427
  "DescribeTimingL4Data": [
428
428
  {
429
429
  "document": "",
430
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL4Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l4Flow_inFlux\"\n ]\n}",
430
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL4Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l4Flow_inFlux\"\n ],\n \"ZoneIds\": [\n \"zone-28kw53cmc6ky\"\n ]\n}",
431
431
  "output": "{\n \"Response\": {\n \"RequestId\": \"e12e0659-ae34-4140-9878-4a61db0c3639\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 740563,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1659225600,\n \"Value\": 0\n }\n ],\n \"Max\": 6319079,\n \"MetricName\": \"l4Flow_inFlux\",\n \"Sum\": 22957455\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
432
432
  "title": "查询四层时序流量数据"
433
433
  },
434
434
  {
435
435
  "document": "",
436
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL4Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l4Flow_inFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"ruleId\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"rule-033950bf-6fc4-11ed-8ab2-525400a22580\"\n ]\n }\n ]\n}",
436
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL4Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l4Flow_inFlux\"\n ],\n \"ZoneIds\": [\n \"zone-28kw53cmc6ky\"\n ],\n \"Filters\": [\n {\n \"Key\": \"ruleId\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"rule-033950bf-6fc4-11ed-8ab2-525400a22580\"\n ]\n }\n ]\n}",
437
437
  "output": "{\n \"Response\": {\n \"RequestId\": \"962792de-3bfe-483d-99a7-3cfde0467495\",\n \"Data\": [\n {\n \"TypeKey\": \"zone-28kw53cmc6ky\",\n \"TypeValue\": [\n {\n \"Avg\": 267,\n \"Detail\": [\n {\n \"Timestamp\": 1671669600,\n \"Value\": 390\n },\n {\n \"Timestamp\": 1671669900,\n \"Value\": 740\n },\n {\n \"Timestamp\": 1671670200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671670500,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671670800,\n \"Value\": 562\n },\n {\n \"Timestamp\": 1671671100,\n \"Value\": 690\n },\n {\n \"Timestamp\": 1671671400,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671671700,\n \"Value\": 1353\n },\n {\n \"Timestamp\": 1671672000,\n \"Value\": 1291\n },\n {\n \"Timestamp\": 1671672300,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671672600,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671672900,\n \"Value\": 300\n },\n {\n \"Timestamp\": 1671673200,\n \"Value\": 453\n },\n {\n \"Timestamp\": 1671673500,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671673800,\n \"Value\": 19\n },\n {\n \"Timestamp\": 1671674100,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671674400,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671674700,\n \"Value\": 204\n },\n {\n \"Timestamp\": 1671675000,\n \"Value\": 530\n },\n {\n \"Timestamp\": 1671675300,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671675600,\n \"Value\": 975\n },\n {\n \"Timestamp\": 1671675900,\n \"Value\": 777\n },\n {\n \"Timestamp\": 1671676200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671676500,\n \"Value\": 530\n },\n {\n \"Timestamp\": 1671676800,\n \"Value\": 320\n },\n {\n \"Timestamp\": 1671677100,\n \"Value\": 303\n },\n {\n \"Timestamp\": 1671677400,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671677700,\n \"Value\": 183\n },\n {\n \"Timestamp\": 1671678000,\n \"Value\": 320\n },\n {\n \"Timestamp\": 1671678300,\n \"Value\": 670\n },\n {\n \"Timestamp\": 1671678600,\n \"Value\": 131\n },\n {\n \"Timestamp\": 1671678900,\n \"Value\": 804\n },\n {\n \"Timestamp\": 1671679200,\n \"Value\": 131\n }\n ],\n \"Max\": 31540,\n \"MetricName\": \"l4Flow_outFlux\",\n \"Sum\": 147864\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
438
438
  "title": "根据转发规则ID查询四层流量数据"
439
439
  },
440
440
  {
441
441
  "document": "",
442
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL4Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l4Flow_inFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"proxyId\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"sid-2c2uug8ubfmn\"\n ]\n }\n ]\n}",
442
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL4Data\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l4Flow_inFlux\"\n ],\n \"ZoneIds\": [\n \"zone-28kw53cmc6ky\"\n ],\n \"Filters\": [\n {\n \"Key\": \"proxyId\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"sid-2c2uug8ubfmn\"\n ]\n }\n ]\n}",
443
443
  "output": "{\n \"Response\": {\n \"RequestId\": \"962792de-3bfe-483d-99a7-3cfde0467495\",\n \"Data\": [\n {\n \"TypeKey\": \"zone-28kw53cmc6ky\",\n \"TypeValue\": [\n {\n \"Avg\": 267,\n \"Detail\": [\n {\n \"Timestamp\": 1671669600,\n \"Value\": 390\n },\n {\n \"Timestamp\": 1671669900,\n \"Value\": 740\n },\n {\n \"Timestamp\": 1671670200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671670500,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671670800,\n \"Value\": 562\n },\n {\n \"Timestamp\": 1671671100,\n \"Value\": 690\n },\n {\n \"Timestamp\": 1671671400,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671671700,\n \"Value\": 1353\n },\n {\n \"Timestamp\": 1671672000,\n \"Value\": 1291\n },\n {\n \"Timestamp\": 1671672300,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671672600,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671672900,\n \"Value\": 300\n },\n {\n \"Timestamp\": 1671673200,\n \"Value\": 453\n },\n {\n \"Timestamp\": 1671673500,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671673800,\n \"Value\": 19\n },\n {\n \"Timestamp\": 1671674100,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671674400,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671674700,\n \"Value\": 204\n },\n {\n \"Timestamp\": 1671675000,\n \"Value\": 530\n },\n {\n \"Timestamp\": 1671675300,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671675600,\n \"Value\": 975\n },\n {\n \"Timestamp\": 1671675900,\n \"Value\": 777\n },\n {\n \"Timestamp\": 1671676200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671676500,\n \"Value\": 530\n },\n {\n \"Timestamp\": 1671676800,\n \"Value\": 320\n },\n {\n \"Timestamp\": 1671677100,\n \"Value\": 303\n },\n {\n \"Timestamp\": 1671677400,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1671677700,\n \"Value\": 183\n },\n {\n \"Timestamp\": 1671678000,\n \"Value\": 320\n },\n {\n \"Timestamp\": 1671678300,\n \"Value\": 670\n },\n {\n \"Timestamp\": 1671678600,\n \"Value\": 131\n },\n {\n \"Timestamp\": 1671678900,\n \"Value\": 804\n },\n {\n \"Timestamp\": 1671679200,\n \"Value\": 131\n }\n ],\n \"Max\": 31540,\n \"MetricName\": \"l4Flow_outFlux\",\n \"Sum\": 147864\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
444
444
  "title": "根据四层代理ID查询四层流量数据"
445
445
  }
@@ -447,19 +447,19 @@
447
447
  "DescribeTimingL7AnalysisData": [
448
448
  {
449
449
  "document": "查询七层流量请求数指标的数据",
450
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ]\n}",
450
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"ZoneIds\": [\n \"zone-2o7b38ba1hvr\"\n ]\n}",
451
451
  "output": "{\n \"Response\": {\n \"RequestId\": \"141a7ccd-9713-43a2-91d5-1b47692d0609\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 803,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 7921,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 24918\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
452
452
  "title": "查询七层数据分析类时序流量数据"
453
453
  },
454
454
  {
455
455
  "document": "根据标签的筛选条件获取请求数指标",
456
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ]\n}",
456
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2o7b38ba1hvr\"\n ]\n}",
457
457
  "output": "{\n \"Response\": {\n \"RequestId\": \"141a7ccd-9713-43a2-91d5-1b47692d0609\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 803,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 7921,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 24918\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
458
458
  "title": "根据标签查询时序流量数据"
459
459
  },
460
460
  {
461
461
  "document": "根据协议筛选条件获取请求数指标的数据",
462
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"protocol\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"HTTP/1.0\",\n \"HTTP/1.1\"\n ]\n }\n ]\n}",
462
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"protocol\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"HTTP/1.0\",\n \"HTTP/1.1\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2o7b38ba1hvr\"\n ]\n}",
463
463
  "output": "{\n \"Response\": {\n \"RequestId\": \"141a7ccd-9713-43a2-91d5-1b47692d0609\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 803,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 7921,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 24918\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
464
464
  "title": "根据协议查询时序流量数据"
465
465
  }
@@ -467,19 +467,19 @@
467
467
  "DescribeTimingL7CacheData": [
468
468
  {
469
469
  "document": "",
470
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ]\n}",
470
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
471
471
  "output": "{\n \"Response\": {\n \"RequestId\": \"1c827ba2-7010-45d2-b16b-6d0c4d68a771\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 239058,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 2363561,\n \"MetricName\": \"l7Cache_outFlux\",\n \"Sum\": 7410804\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
472
472
  "title": "查询七层缓存分析类时序流量数据"
473
473
  },
474
474
  {
475
475
  "document": "",
476
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"statusCode\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"1XX\",\n \"2XX\"\n ]\n }\n ]\n}",
476
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"statusCode\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"1XX\",\n \"2XX\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
477
477
  "output": "{\n \"Response\": {\n \"RequestId\": \"1c827ba2-7010-45d2-123b-6d0c4d34ihsx\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 239058,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 10\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 10\n }\n ],\n \"Max\": 2363561,\n \"MetricName\": \"l7Cache_outFlux\",\n \"Sum\": 7410804\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
478
478
  "title": "查询指定状态码的时序流量数据"
479
479
  },
480
480
  {
481
481
  "document": "",
482
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ]\n}",
482
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
483
483
  "output": "{\n \"Response\": {\n \"RequestId\": \"6cc74d08-c174-413a-976b-abe7b851e0121\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 239058,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 8\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 1\n }\n ],\n \"Max\": 2363561,\n \"MetricName\": \"l7Cache_outFlux\",\n \"Sum\": 7410804\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
484
484
  "title": "查询指定标签的时序流量数据"
485
485
  }
@@ -487,19 +487,19 @@
487
487
  "DescribeTopL7AnalysisData": [
488
488
  {
489
489
  "document": "查询七层数据分析类top流量数据",
490
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\"\n}",
490
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
491
491
  "output": "{\n \"Response\": {\n \"RequestId\": \"7c499897-8ad9-4a2d-884e-6154f283d7f6\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"/\",\n \"Value\": 7410001\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
492
492
  "title": "查询七层数据分析类top流量数据"
493
493
  },
494
494
  {
495
495
  "document": "查询指定标签的top流量数据",
496
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ]\n}",
496
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
497
497
  "output": "{\n \"Response\": {\n \"RequestId\": \"7c499897-8ad9-4a2d-884e-6154f283d723\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"/\",\n \"Value\": 1210001\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
498
498
  "title": "查询指定标签的top流量数据"
499
499
  },
500
500
  {
501
501
  "document": "查询七层数据分析类top流量数据",
502
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"Filters\": [\n {\n \"Key\": \"protocol\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"HTTP/1.0\",\n \"HTTP/1.1\"\n ]\n }\n ]\n}",
502
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"Filters\": [\n {\n \"Key\": \"protocol\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"HTTP/1.0\",\n \"HTTP/1.1\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
503
503
  "output": "{\n \"Response\": {\n \"RequestId\": \"7c499897-8ad9-4a2d-884e-6154f283d723\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"/\",\n \"Value\": 1210001\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
504
504
  "title": "查询指定协议的top流量数据"
505
505
  }
@@ -507,25 +507,25 @@
507
507
  "DescribeTopL7CacheData": [
508
508
  {
509
509
  "document": "",
510
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\"\n}",
510
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
511
511
  "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-4c96-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 7410001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 803\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
512
512
  "title": "查询七层缓存分析类top流量数据"
513
513
  },
514
514
  {
515
515
  "document": "",
516
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"cacheType\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"miss\",\n \"hit\"\n ]\n }\n ]\n}",
516
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"cacheType\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"miss\",\n \"hit\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
517
517
  "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-3296-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 7410001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 803\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
518
518
  "title": "查询缓存命中跟未命中的top流量数据"
519
519
  },
520
520
  {
521
521
  "document": "",
522
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"statusCode\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"2XX\",\n \"3XX\"\n ]\n }\n ]\n}",
522
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"statusCode\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"2XX\",\n \"3XX\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
523
523
  "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-3296-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 5810001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 658\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
524
524
  "title": "查询指定状态码的top流量数据"
525
525
  },
526
526
  {
527
527
  "document": "",
528
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ]\n}",
528
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
529
529
  "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-3296-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 5810001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 658\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
530
530
  "title": "根据指定标签的top流量数据"
531
531
  }
@@ -549,7 +549,7 @@
549
549
  "DownloadL4Logs": [
550
550
  {
551
551
  "document": "",
552
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DownloadL4Logs\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0,\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"EndTime\": \"2020-09-22T00:00:00+00:00\"\n}",
552
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DownloadL4Logs\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0,\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
553
553
  "output": "{\n \"Response\": {\n \"RequestId\": \"8b6a2aa9-46ef-46e5-ba87-c0e96326adfe\",\n \"Data\": [\n {\n \"Area\": \"mainland\",\n \"LogPacketName\": \"20220811-10-proxy-1491-11ed-9792-525400655ede\",\n \"LogTime\": 1660212000,\n \"LogStartTime\": \"2023-07-26T06:00:00+08:00\",\n \"LogEndTime\": \"2023-07-26T07:00:00+08:00\",\n \"ProxyId\": \"proxy-1491-11ed-9792-525400655ede\",\n \"Size\": 20761,\n \"Url\": \"https://log-down04-cn.edgeone.qcloud.com/20220811/2022081110-proxy-1491-11ed-9792-52we0655ede.log.gz\"\n }\n ],\n \"TotalCount\": 128\n }\n}",
554
554
  "title": "七层离线日志"
555
555
  }
@@ -557,7 +557,7 @@
557
557
  "DownloadL7Logs": [
558
558
  {
559
559
  "document": "",
560
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DownloadL7Logs\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"StartTime\": \"2022-05-04T03:27:00+08:00\",\n \"EndTime\": \"2022-05-10T23:59:00+08:00\"\n}",
560
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DownloadL7Logs\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"StartTime\": \"2022-05-04T03:27:00+08:00\",\n \"EndTime\": \"2022-05-10T23:59:00+08:00\",\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
561
561
  "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"6f07d593-44d7-4bac-a119-e1923ab5b377\",\n \"Data\": [\n {\n \"Area\": \"mainland\",\n \"Domain\": \"test-add4.wellsjiang.com\",\n \"LogPacketName\": \"20220811-02-test-add4.wellsjiang.com\",\n \"LogTime\": 1660212000,\n \"LogStartTime\": \"2023-07-26T06:00:00+08:00\",\n \"LogEndTime\": \"2023-07-26T07:00:00+08:00\",\n \"Size\": 7539,\n \"Url\": \"https://log-down07-cn.edgeone.qcloud.com/2022081102-test-add4.wellsjiang.com.log.gz\"\n },\n {\n \"Area\": \"overseas\",\n \"Domain\": \"test.codegun.work\",\n \"LogEndTime\": \"2023-07-26T07:14:59+08:00\",\n \"LogPacketName\": \"20230725-2300-luatest3.codegun.work\",\n \"LogStartTime\": \"2023-07-26T07:00:00+08:00\",\n \"LogTime\": 1690326000,\n \"Size\": 708,\n \"Url\": \"https://log-down07-ov-test.edgeone.qcloud.com/20230725/23/251233206/202307252300-test.codegun.work.log.gz\"\n }\n ]\n }\n}",
562
562
  "title": "下载七层离线日志"
563
563
  }
@@ -11134,7 +11134,7 @@
11134
11134
  {
11135
11135
  "disabled": false,
11136
11136
  "document": "集群ID",
11137
- "example": "cls-xxx",
11137
+ "example": "cls-8k33qz0w",
11138
11138
  "member": "string",
11139
11139
  "name": "ClusterId",
11140
11140
  "required": true,
@@ -11152,7 +11152,7 @@
11152
11152
  "example": "false",
11153
11153
  "member": "bool",
11154
11154
  "name": "EnableIPAMD",
11155
- "required": true,
11155
+ "output_required": true,
11156
11156
  "type": "bool",
11157
11157
  "value_allowed_null": false
11158
11158
  },
@@ -11162,7 +11162,7 @@
11162
11162
  "example": "false",
11163
11163
  "member": "bool",
11164
11164
  "name": "EnableCustomizedPodCidr",
11165
- "required": true,
11165
+ "output_required": true,
11166
11166
  "type": "bool",
11167
11167
  "value_allowed_null": true
11168
11168
  },
@@ -11172,7 +11172,7 @@
11172
11172
  "example": "false",
11173
11173
  "member": "bool",
11174
11174
  "name": "DisableVpcCniMode",
11175
- "required": true,
11175
+ "output_required": true,
11176
11176
  "type": "bool",
11177
11177
  "value_allowed_null": true
11178
11178
  },
@@ -11182,7 +11182,7 @@
11182
11182
  "example": "running",
11183
11183
  "member": "string",
11184
11184
  "name": "Phase",
11185
- "required": true,
11185
+ "output_required": true,
11186
11186
  "type": "string",
11187
11187
  "value_allowed_null": true
11188
11188
  },
@@ -11192,20 +11192,30 @@
11192
11192
  "example": "\"\"",
11193
11193
  "member": "string",
11194
11194
  "name": "Reason",
11195
- "required": true,
11195
+ "output_required": true,
11196
11196
  "type": "string",
11197
11197
  "value_allowed_null": true
11198
11198
  },
11199
11199
  {
11200
11200
  "disabled": false,
11201
11201
  "document": "子网信息,已安装eniipamd组件才会有值\n注意:此字段可能返回 null,表示取不到有效值。",
11202
- "example": "[sub-xxxx]",
11202
+ "example": "[\"subnet-imgoatdg\"]",
11203
11203
  "member": "string",
11204
11204
  "name": "SubnetIds",
11205
- "required": true,
11205
+ "output_required": true,
11206
11206
  "type": "list",
11207
11207
  "value_allowed_null": true
11208
11208
  },
11209
+ {
11210
+ "disabled": false,
11211
+ "document": "固定ip回收时间,已安装eniipamd组件才会有值\n注意:此字段可能返回 null,表示取不到有效值。",
11212
+ "example": "300s",
11213
+ "member": "string",
11214
+ "name": "ClaimExpiredDuration",
11215
+ "output_required": false,
11216
+ "type": "string",
11217
+ "value_allowed_null": true
11218
+ },
11209
11219
  {
11210
11220
  "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
11211
11221
  "member": "string",
@@ -953,8 +953,8 @@
953
953
  "DescribeIPAMD": [
954
954
  {
955
955
  "document": "",
956
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIPAMD\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\"\n}",
957
- "output": "{\n \"Response\": {\n \"DisableVpcCniMode\": false,\n \"EnableCustomizedPodCidr\": false,\n \"EnableIPAMD\": false,\n \"Phase\": \"running\",\n \"Reason\": \"\",\n \"RequestId\": \"xxxxx\",\n \"SubnetIds\": null\n }\n}",
956
+ "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIPAMD\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-8k33qz0w\"\n}",
957
+ "output": "{\n \"Response\": {\n \"DisableVpcCniMode\": false,\n \"EnableCustomizedPodCidr\": false,\n \"EnableIPAMD\": false,\n \"Phase\": \"running\",\n \"Reason\": \"\",\n \"RequestId\": \"c692a3b6-11cd-4a9d-8e36-409545d332a2\",\n \"SubnetIds\": [\n \"subnet-imgoatdg\"\n ],\n \"ClaimExpiredDuration\": \"300s\"\n }\n}",
958
958
  "title": "获取eniipamd组件信息"
959
959
  }
960
960
  ],
@@ -121,6 +121,58 @@ def doDescribeUpstreamHealthCheckConfig(args, parsed_globals):
121
121
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
122
122
 
123
123
 
124
+ def doCloseWafProtection(args, parsed_globals):
125
+ g_param = parse_global_arg(parsed_globals)
126
+
127
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
128
+ cred = credential.CVMRoleCredential()
129
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
130
+ cred = credential.STSAssumeRoleCredential(
131
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
132
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
133
+ )
134
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
135
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
136
+ else:
137
+ cred = credential.Credential(
138
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
139
+ )
140
+ http_profile = HttpProfile(
141
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
142
+ reqMethod="POST",
143
+ endpoint=g_param[OptionsDefine.Endpoint],
144
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
145
+ )
146
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
147
+ if g_param[OptionsDefine.Language]:
148
+ profile.language = g_param[OptionsDefine.Language]
149
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
150
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
151
+ client._sdkVersion += ("_CLI_" + __version__)
152
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
153
+ model = models.CloseWafProtectionRequest()
154
+ model.from_json_string(json.dumps(args))
155
+ start_time = time.time()
156
+ while True:
157
+ rsp = client.CloseWafProtection(model)
158
+ result = rsp.to_json_string()
159
+ try:
160
+ json_obj = json.loads(result)
161
+ except TypeError as e:
162
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
163
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
164
+ break
165
+ cur_time = time.time()
166
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
167
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
168
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
169
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
170
+ else:
171
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
172
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
173
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
+
175
+
124
176
  def doModifyCloudNativeAPIGateway(args, parsed_globals):
125
177
  g_param = parse_global_arg(parsed_globals)
126
178
 
@@ -277,6 +329,58 @@ def doDeleteCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
277
329
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
278
330
 
279
331
 
332
+ def doCreateWafDomains(args, parsed_globals):
333
+ g_param = parse_global_arg(parsed_globals)
334
+
335
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
336
+ cred = credential.CVMRoleCredential()
337
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
338
+ cred = credential.STSAssumeRoleCredential(
339
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
340
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
341
+ )
342
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
343
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
344
+ else:
345
+ cred = credential.Credential(
346
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
347
+ )
348
+ http_profile = HttpProfile(
349
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
350
+ reqMethod="POST",
351
+ endpoint=g_param[OptionsDefine.Endpoint],
352
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
353
+ )
354
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
355
+ if g_param[OptionsDefine.Language]:
356
+ profile.language = g_param[OptionsDefine.Language]
357
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
358
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
359
+ client._sdkVersion += ("_CLI_" + __version__)
360
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
361
+ model = models.CreateWafDomainsRequest()
362
+ model.from_json_string(json.dumps(args))
363
+ start_time = time.time()
364
+ while True:
365
+ rsp = client.CreateWafDomains(model)
366
+ result = rsp.to_json_string()
367
+ try:
368
+ json_obj = json.loads(result)
369
+ except TypeError as e:
370
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
371
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
372
+ break
373
+ cur_time = time.time()
374
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
375
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
376
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
377
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
378
+ else:
379
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
380
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
381
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
+
383
+
280
384
  def doDescribeZookeeperServerInterfaces(args, parsed_globals):
281
385
  g_param = parse_global_arg(parsed_globals)
282
386
 
@@ -1889,6 +1993,58 @@ def doUpdateEngineInternetAccess(args, parsed_globals):
1889
1993
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1890
1994
 
1891
1995
 
1996
+ def doOpenWafProtection(args, parsed_globals):
1997
+ g_param = parse_global_arg(parsed_globals)
1998
+
1999
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2000
+ cred = credential.CVMRoleCredential()
2001
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2002
+ cred = credential.STSAssumeRoleCredential(
2003
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2004
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
2005
+ )
2006
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
2007
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2008
+ else:
2009
+ cred = credential.Credential(
2010
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2011
+ )
2012
+ http_profile = HttpProfile(
2013
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2014
+ reqMethod="POST",
2015
+ endpoint=g_param[OptionsDefine.Endpoint],
2016
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2017
+ )
2018
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2019
+ if g_param[OptionsDefine.Language]:
2020
+ profile.language = g_param[OptionsDefine.Language]
2021
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2022
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
2023
+ client._sdkVersion += ("_CLI_" + __version__)
2024
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2025
+ model = models.OpenWafProtectionRequest()
2026
+ model.from_json_string(json.dumps(args))
2027
+ start_time = time.time()
2028
+ while True:
2029
+ rsp = client.OpenWafProtection(model)
2030
+ result = rsp.to_json_string()
2031
+ try:
2032
+ json_obj = json.loads(result)
2033
+ except TypeError as e:
2034
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2035
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2036
+ break
2037
+ cur_time = time.time()
2038
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2039
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2040
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2041
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2042
+ else:
2043
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2044
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2045
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2046
+
2047
+
1892
2048
  def doDescribeCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
1893
2049
  g_param = parse_global_arg(parsed_globals)
1894
2050
 
@@ -2838,9 +2994,11 @@ MODELS_MAP = {
2838
2994
  ACTION_MAP = {
2839
2995
  "DescribeCloudNativeAPIGatewayUpstream": doDescribeCloudNativeAPIGatewayUpstream,
2840
2996
  "DescribeUpstreamHealthCheckConfig": doDescribeUpstreamHealthCheckConfig,
2997
+ "CloseWafProtection": doCloseWafProtection,
2841
2998
  "ModifyCloudNativeAPIGateway": doModifyCloudNativeAPIGateway,
2842
2999
  "ModifyNativeGatewayServerGroup": doModifyNativeGatewayServerGroup,
2843
3000
  "DeleteCloudNativeAPIGatewayServiceRateLimit": doDeleteCloudNativeAPIGatewayServiceRateLimit,
3001
+ "CreateWafDomains": doCreateWafDomains,
2844
3002
  "DescribeZookeeperServerInterfaces": doDescribeZookeeperServerInterfaces,
2845
3003
  "DescribeOneCloudNativeAPIGatewayService": doDescribeOneCloudNativeAPIGatewayService,
2846
3004
  "DescribeCloudNativeAPIGatewayCertificates": doDescribeCloudNativeAPIGatewayCertificates,
@@ -2872,6 +3030,7 @@ ACTION_MAP = {
2872
3030
  "CreateCloudNativeAPIGatewayCanaryRule": doCreateCloudNativeAPIGatewayCanaryRule,
2873
3031
  "DescribeCloudNativeAPIGatewayCertificateDetails": doDescribeCloudNativeAPIGatewayCertificateDetails,
2874
3032
  "UpdateEngineInternetAccess": doUpdateEngineInternetAccess,
3033
+ "OpenWafProtection": doOpenWafProtection,
2875
3034
  "DescribeCloudNativeAPIGatewayServiceRateLimit": doDescribeCloudNativeAPIGatewayServiceRateLimit,
2876
3035
  "ModifyCloudNativeAPIGatewayCanaryRule": doModifyCloudNativeAPIGatewayCanaryRule,
2877
3036
  "CreateCloudNativeAPIGatewayService": doCreateCloudNativeAPIGatewayService,