tccli 3.0.1330.1__py2.py3-none-any.whl → 3.0.1333.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 (63) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/asr/v20190614/api.json +1 -1
  3. tccli/services/autoscaling/v20180419/api.json +1 -1
  4. tccli/services/bmvpc/v20180625/api.json +36 -36
  5. tccli/services/ccc/ccc_client.py +53 -0
  6. tccli/services/ccc/v20200210/api.json +71 -2
  7. tccli/services/ccc/v20200210/examples.json +8 -0
  8. tccli/services/cdb/v20170320/api.json +37 -37
  9. tccli/services/cdn/v20180606/api.json +5 -5
  10. tccli/services/cdn/v20180606/examples.json +5 -5
  11. tccli/services/cfw/v20190904/api.json +1 -1
  12. tccli/services/ckafka/v20190819/api.json +11 -1
  13. tccli/services/clb/v20180317/api.json +18 -0
  14. tccli/services/cwp/v20180228/api.json +4 -4
  15. tccli/services/dbbrain/v20210527/api.json +1 -0
  16. tccli/services/dc/v20180410/api.json +39 -0
  17. tccli/services/dnspod/dnspod_client.py +106 -0
  18. tccli/services/dnspod/v20210323/api.json +509 -2
  19. tccli/services/dnspod/v20210323/examples.json +17 -1
  20. tccli/services/emr/v20190103/api.json +2 -2
  21. tccli/services/ess/ess_client.py +57 -4
  22. tccli/services/ess/v20201111/api.json +63 -2
  23. tccli/services/ess/v20201111/examples.json +8 -0
  24. tccli/services/essbasic/v20210526/api.json +3 -3
  25. tccli/services/faceid/v20180301/api.json +4 -4
  26. tccli/services/goosefs/v20220519/api.json +2 -2
  27. tccli/services/gs/gs_client.py +163 -4
  28. tccli/services/gs/v20191118/api.json +216 -0
  29. tccli/services/gs/v20191118/examples.json +24 -0
  30. tccli/services/ioa/ioa_client.py +167 -8
  31. tccli/services/ioa/v20220601/api.json +541 -1
  32. tccli/services/ioa/v20220601/examples.json +42 -0
  33. tccli/services/iotexplorer/v20190423/api.json +12 -12
  34. tccli/services/iotexplorer/v20190423/examples.json +2 -2
  35. tccli/services/live/v20180801/api.json +3 -3
  36. tccli/services/lke/lke_client.py +699 -63
  37. tccli/services/lke/v20231130/api.json +1754 -79
  38. tccli/services/lke/v20231130/examples.json +96 -0
  39. tccli/services/lkeap/v20240522/examples.json +5 -5
  40. tccli/services/lowcode/v20210108/api.json +41 -1
  41. tccli/services/lowcode/v20210108/examples.json +2 -2
  42. tccli/services/ocr/ocr_client.py +532 -320
  43. tccli/services/ocr/v20181119/api.json +545 -8
  44. tccli/services/ocr/v20181119/examples.json +32 -0
  45. tccli/services/sms/v20190711/api.json +4 -4
  46. tccli/services/sms/v20210111/api.json +4 -4
  47. tccli/services/ssl/v20191205/api.json +4 -4
  48. tccli/services/ssl/v20191205/examples.json +1 -1
  49. tccli/services/tat/v20201028/api.json +1 -1
  50. tccli/services/teo/v20220901/api.json +1 -1
  51. tccli/services/tke/tke_client.py +106 -0
  52. tccli/services/tke/v20180525/api.json +124 -0
  53. tccli/services/tke/v20180525/examples.json +16 -0
  54. tccli/services/trtc/v20190722/api.json +2 -2
  55. tccli/services/tsf/v20180326/api.json +46 -17
  56. tccli/services/tsf/v20180326/examples.json +10 -10
  57. tccli/services/vpc/v20170312/api.json +5 -5
  58. tccli/services/vpc/v20170312/examples.json +6 -6
  59. {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/METADATA +2 -2
  60. {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/RECORD +63 -63
  61. {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/WHEEL +0 -0
  62. {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/entry_points.txt +0 -0
  63. {tccli-3.0.1330.1.dist-info → tccli-3.0.1333.1.dist-info}/license_files/LICENSE +0 -0
@@ -9359,7 +9359,7 @@
9359
9359
  "members": [
9360
9360
  {
9361
9361
  "disabled": false,
9362
- "document": "实例 ID 。",
9362
+ "document": "实例 ID。",
9363
9363
  "example": "cdb-xxdasd",
9364
9364
  "member": "string",
9365
9365
  "name": "InstanceId",
@@ -9374,7 +9374,7 @@
9374
9374
  "members": [
9375
9375
  {
9376
9376
  "disabled": false,
9377
- "document": "策略类型。可选值 auto、manual。如果返回为NULL说明尚未开通弹性扩容策略\n注意:此字段可能返回 null,表示取不到有效值。",
9377
+ "document": "策略类型。输出值 auto、manual。如果返回为 NULL 说明尚未开通弹性扩容策略。\n注意:此字段可能返回 null,表示取不到有效值。",
9378
9378
  "example": "auto",
9379
9379
  "member": "string",
9380
9380
  "name": "Type",
@@ -9384,7 +9384,7 @@
9384
9384
  },
9385
9385
  {
9386
9386
  "disabled": false,
9387
- "document": "手动扩容的 CPU 。Type为 manual 时有效。\n注意:此字段可能返回 null,表示取不到有效值。",
9387
+ "document": "手动扩容的 CPU 。Type 为 manual 时有效。\n注意:此字段可能返回 null,表示取不到有效值。",
9388
9388
  "example": "4",
9389
9389
  "member": "int64",
9390
9390
  "name": "ExpandCpu",
@@ -9394,8 +9394,8 @@
9394
9394
  },
9395
9395
  {
9396
9396
  "disabled": false,
9397
- "document": "自动扩容策略。Type 为 auto 时有效\n注意:此字段可能返回 null,表示取不到有效值。",
9398
- "example": "",
9397
+ "document": "自动扩容策略。Type 为 auto 时有效。\n注意:此字段可能返回 null,表示取不到有效值。",
9398
+ "example": "{\"ExpandSecondPeriod\": 15,\"ExpandThreshold\": 70,\"ShrinkSecondPeriod\": 300,\"ShrinkThreshold\": 30}",
9399
9399
  "member": "AutoStrategy",
9400
9400
  "name": "AutoStrategy",
9401
9401
  "output_required": false,
@@ -9405,7 +9405,7 @@
9405
9405
  {
9406
9406
  "disabled": false,
9407
9407
  "document": "按周期扩容策略。",
9408
- "example": "",
9408
+ "example": "{\"TimeCycle\": {\"Friday\": true,\"Monday\": true,\"Saturday\": false,\"Sunday\": false,\"Thursday\": true,\"Tuesday\": false,\"Wednesday\": true},\"TimeInterval\": {\"EndTime\": \"00:00\",\"StartTime\": \"08:00\"}}",
9409
9409
  "member": "PeriodStrategy",
9410
9410
  "name": "PeriodStrategy",
9411
9411
  "output_required": false,
@@ -9414,8 +9414,8 @@
9414
9414
  },
9415
9415
  {
9416
9416
  "disabled": false,
9417
- "document": "按时间段扩容策略",
9418
- "example": "",
9417
+ "document": "按时间段扩容策略。",
9418
+ "example": "{\"StartTime\": 1749722400}",
9419
9419
  "member": "TimeIntervalStrategy",
9420
9420
  "name": "TimeIntervalStrategy",
9421
9421
  "output_required": false,
@@ -20787,7 +20787,7 @@
20787
20787
  "members": [
20788
20788
  {
20789
20789
  "disabled": false,
20790
- "document": "实例 ID 。",
20790
+ "document": "实例 ID。",
20791
20791
  "example": "cdb-himitj11",
20792
20792
  "member": "string",
20793
20793
  "name": "InstanceId",
@@ -20796,7 +20796,7 @@
20796
20796
  },
20797
20797
  {
20798
20798
  "disabled": false,
20799
- "document": "扩容类型。auto 自动 manual 立即生效 timeInterval 按时间段 period 按周期",
20799
+ "document": "扩容类型,支持自动扩容和自定义扩容。\n说明:1. auto 表示自动扩容。2. manual 表示自定义扩容,扩容时间为立即生效。3. timeInterval 表示自定义扩容,扩容时间为按时间段。4. period 表示自定义扩容,扩容时间为按周期。",
20800
20800
  "example": "auto",
20801
20801
  "member": "string",
20802
20802
  "name": "Type",
@@ -20805,7 +20805,7 @@
20805
20805
  },
20806
20806
  {
20807
20807
  "disabled": false,
20808
- "document": "手动扩容时,扩容的 CPU 核心数。\n说明:1. Type 为 manual 时必传。2. 扩容的 CPU 核心数上限为当前实例 CPU 核心数,比如8核16G最大可手动扩容的 CPU 核心数为8,即范围为1 - 8。",
20808
+ "document": "自定义扩容时,扩容的 CPU 核心数。\n说明:1. Type 为 manual、timeInterval、period 时必传。2. 扩容的 CPU 核心数上限为当前实例 CPU 核心数,比如8核16G最大可手动扩容的 CPU 核心数为8,即范围为1 - 8。",
20809
20809
  "example": "4",
20810
20810
  "member": "int64",
20811
20811
  "name": "ExpandCpu",
@@ -20823,8 +20823,8 @@
20823
20823
  },
20824
20824
  {
20825
20825
  "disabled": false,
20826
- "document": "按时间段扩容策略",
20827
- "example": "[{\"StartTime\": \"2024-10-17 10:00:00\",\"EndTime\": \"2024-10-17 12:00:00\"}]",
20826
+ "document": "按时间段扩容策略。",
20827
+ "example": "[{\"StartTime\": 1749546000,\"EndTime\": 1749718800}]",
20828
20828
  "member": "TimeIntervalStrategy",
20829
20829
  "name": "TimeIntervalStrategy",
20830
20830
  "required": false,
@@ -20832,8 +20832,8 @@
20832
20832
  },
20833
20833
  {
20834
20834
  "disabled": false,
20835
- "document": "按周期扩容策略",
20836
- "example": "",
20835
+ "document": "按周期扩容策略。",
20836
+ "example": "[{\"TimeCycle\": {\"Monday\": true,\"Tuesday\": false,\"Wednesday\": false,\"Thursday\": false,\"Friday\": true,\"Saturday\": false,\"Sunday\": false},\"TimeInterval\": {\"StartTime\": \"17:00\",\"EndTime\": \"20:00\"}}]",
20837
20837
  "member": "PeriodStrategy",
20838
20838
  "name": "PeriodStrategy",
20839
20839
  "required": false,
@@ -21263,8 +21263,8 @@
21263
21263
  "members": [
21264
21264
  {
21265
21265
  "disabled": false,
21266
- "document": "周一的扩容时间段",
21267
- "example": "10:00-12:00",
21266
+ "document": "按周期扩容时,是否选择周一扩容。\n说明:取值 true,表示选择,取值 false,表示不选择。",
21267
+ "example": "true",
21268
21268
  "member": "bool",
21269
21269
  "name": "Monday",
21270
21270
  "output_required": false,
@@ -21274,8 +21274,8 @@
21274
21274
  },
21275
21275
  {
21276
21276
  "disabled": false,
21277
- "document": "周二的扩容时间段",
21278
- "example": "10:00-12:00",
21277
+ "document": "按周期扩容时,是否选择周二扩容。\n说明:取值 true,表示选择,取值 false,表示不选择。",
21278
+ "example": "true",
21279
21279
  "member": "bool",
21280
21280
  "name": "Tuesday",
21281
21281
  "output_required": false,
@@ -21285,8 +21285,8 @@
21285
21285
  },
21286
21286
  {
21287
21287
  "disabled": false,
21288
- "document": "周三的扩容时间段",
21289
- "example": "10:00-12:00",
21288
+ "document": "按周期扩容时,是否选择周三扩容。\n说明:取值 true,表示选择,取值 false,表示不选择。",
21289
+ "example": "true",
21290
21290
  "member": "bool",
21291
21291
  "name": "Wednesday",
21292
21292
  "output_required": false,
@@ -21296,8 +21296,8 @@
21296
21296
  },
21297
21297
  {
21298
21298
  "disabled": false,
21299
- "document": "周四的扩容时间段",
21300
- "example": "10:00-12:00",
21299
+ "document": "按周期扩容时,是否选择周四扩容。\n说明:取值 true,表示选择,取值 false,表示不选择。",
21300
+ "example": "true",
21301
21301
  "member": "bool",
21302
21302
  "name": "Thursday",
21303
21303
  "output_required": false,
@@ -21307,8 +21307,8 @@
21307
21307
  },
21308
21308
  {
21309
21309
  "disabled": false,
21310
- "document": "周五的扩容时间段",
21311
- "example": "10:00-12:00",
21310
+ "document": "按周期扩容时,是否选择周五扩容。\n说明:取值 true,表示选择,取值 false,表示不选择。",
21311
+ "example": "true",
21312
21312
  "member": "bool",
21313
21313
  "name": "Friday",
21314
21314
  "output_required": false,
@@ -21318,8 +21318,8 @@
21318
21318
  },
21319
21319
  {
21320
21320
  "disabled": false,
21321
- "document": "周六的扩容时间段",
21322
- "example": "10:00-12:00",
21321
+ "document": "按周期扩容时,是否选择周六扩容。\n说明:取值 true,表示选择,取值 false,表示不选择。",
21322
+ "example": "true",
21323
21323
  "member": "bool",
21324
21324
  "name": "Saturday",
21325
21325
  "output_required": false,
@@ -21329,8 +21329,8 @@
21329
21329
  },
21330
21330
  {
21331
21331
  "disabled": false,
21332
- "document": "周日的扩容时间段",
21333
- "example": "10:00-12:00",
21332
+ "document": "按周期扩容时,是否选择周日扩容。\n说明:取值 true,表示选择,取值 false,表示不选择。",
21333
+ "example": "true",
21334
21334
  "member": "bool",
21335
21335
  "name": "Sunday",
21336
21336
  "output_required": false,
@@ -21661,8 +21661,8 @@
21661
21661
  "members": [
21662
21662
  {
21663
21663
  "disabled": false,
21664
- "document": "开始时间",
21665
- "example": "02:00:37",
21664
+ "document": "开始时间。",
21665
+ "example": "02:00",
21666
21666
  "member": "string",
21667
21667
  "name": "StartTime",
21668
21668
  "output_required": false,
@@ -21672,8 +21672,8 @@
21672
21672
  },
21673
21673
  {
21674
21674
  "disabled": false,
21675
- "document": "结束时间",
21676
- "example": "03:00:37",
21675
+ "document": "结束时间。",
21676
+ "example": "03:00",
21677
21677
  "member": "string",
21678
21678
  "name": "EndTime",
21679
21679
  "output_required": false,
@@ -21689,8 +21689,8 @@
21689
21689
  "members": [
21690
21690
  {
21691
21691
  "disabled": false,
21692
- "document": "开始扩容时间",
21693
- "example": "2024-10-17 10:00:00",
21692
+ "document": "开始扩容时间。\n说明:此值的格式为 Integer 的时间戳。",
21693
+ "example": "1749546000",
21694
21694
  "member": "int64",
21695
21695
  "name": "StartTime",
21696
21696
  "output_required": false,
@@ -21700,8 +21700,8 @@
21700
21700
  },
21701
21701
  {
21702
21702
  "disabled": false,
21703
- "document": "结束扩容时间",
21704
- "example": "2024-10-17 12:00:00",
21703
+ "document": "结束扩容时间。\n说明:此值的格式为 Integer 的时间戳。",
21704
+ "example": "1749718800",
21705
21705
  "member": "int64",
21706
21706
  "name": "EndTime",
21707
21707
  "output_required": false,
@@ -5533,7 +5533,7 @@
5533
5533
  },
5534
5534
  {
5535
5535
  "disabled": false,
5536
- "document": "托管证书ID,Cert和CertId不能均未空,都填写时以CertId为准。",
5536
+ "document": "托管证书ID,Cert和CertId不能均为空,都填写时以CertId为准。",
5537
5537
  "example": "证书ID",
5538
5538
  "member": "string",
5539
5539
  "name": "CertId",
@@ -5818,7 +5818,7 @@
5818
5818
  {
5819
5819
  "disabled": false,
5820
5820
  "document": "指定省份查询,不填充表示查询所有省份\n省份、国家/地区编码可以查看 [省份编码映射](https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)",
5821
- "example": "[\"122\\n\"]",
5821
+ "example": "122",
5822
5822
  "member": "int64",
5823
5823
  "name": "Districts",
5824
5824
  "required": false,
@@ -5827,7 +5827,7 @@
5827
5827
  {
5828
5828
  "disabled": false,
5829
5829
  "document": "指定运营商查询,不填充表示查询所有运营商\n运营商编码可以查看 [运营商编码映射](https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)",
5830
- "example": "[\"3947\\n\"]",
5830
+ "example": "3947",
5831
5831
  "member": "int64",
5832
5832
  "name": "Isps",
5833
5833
  "required": false,
@@ -6651,7 +6651,7 @@
6651
6651
  },
6652
6652
  {
6653
6653
  "disabled": false,
6654
- "document": "Domains 传入多个时,默认(false)返回多个域名的汇总数据\n可按需指定为 true,返回每一个 Domain 的明细数据(statusCode、2xx、3xx、4xx、5xx 指标暂不支持)",
6654
+ "document": "Domains 传入多个时,默认(false)返回多个域名的汇总数据\n可按需指定为 true,返回每一个 Domain 的明细数据(statusCode、2xx、3xx、4xx、5xx 指标暂不支持)",
6655
6655
  "example": "false",
6656
6656
  "member": "bool",
6657
6657
  "name": "Detail",
@@ -6930,7 +6930,7 @@
6930
6930
  "members": [
6931
6931
  {
6932
6932
  "disabled": false,
6933
- "document": "详细刷新记录",
6933
+ "document": "详细刷新纪录",
6934
6934
  "example": "无",
6935
6935
  "member": "PurgeTask",
6936
6936
  "name": "PurgeLogs",
@@ -124,7 +124,7 @@
124
124
  {
125
125
  "document": "查询域名指定时间段的日志列表",
126
126
  "input": "POST / HTTP/1.1\nHost: cdn.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCdnDomainLogs\n<公共请求参数>\n\n{\n \"Domain\": \"www.test.com\",\n \"EndTime\": \"2019-09-04 12:00:00\",\n \"StartTime\": \"2019-09-04 00:00:00\"\n}",
127
- "output": "{\n \"Response\": {\n \"RequestId\": \"123\",\n \"DomainLogs\": [\n {\n \"Area\": \"mainland\",\n \"StartTime\": \"2019-09-04 23:00:00\",\n \"EndTime\": \"2019-09-04 23:59:59\",\n \"LogPath\": \"http://www.test.qcloud.com/20190904/23/201909042300-www.test.com.gz?st=hGzJr0QFpo3jYM2uj7kkjA&e=3135214538\",\n \"LogName\": \"2019090423\",\n \"FileSize\": 9999\n }\n ],\n \"TotalCount\": 300\n }\n}",
127
+ "output": "{\n \"Response\": {\n \"RequestId\": \"26cbf416-0155-411f-93df-7256930245a4\",\n \"DomainLogs\": [\n {\n \"Area\": \"mainland\",\n \"StartTime\": \"2019-09-04 23:00:00\",\n \"EndTime\": \"2019-09-04 23:59:59\",\n \"LogPath\": \"http://www.test.qcloud.com/20190904/23/201909042300-www.test.com.gz?st=hGzJr0QFpo3jYM2uj7kkjA&e=3135214538\",\n \"LogName\": \"2019090423\",\n \"FileSize\": 9999\n }\n ],\n \"TotalCount\": 300\n }\n}",
128
128
  "title": "日志下载链接查询"
129
129
  }
130
130
  ],
@@ -195,7 +195,7 @@
195
195
  "DescribeEdgePackTaskStatus": [
196
196
  {
197
197
  "document": "",
198
- "input": "POST / HTTP/1.1\nHost: cdn.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgePackTaskStatus\n<公共请求参数>\n\n{\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"EndTime\": \"2020-09-23T00:00:00+00:00\",\n \"Limit\": 0,\n \"Offset\": 0\n}",
198
+ "input": "POST / HTTP/1.1\nHost: cdn.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgePackTaskStatus\n<公共请求参数>\n\n{\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"EndTime\": \"2020-09-23T00:00:00+00:00\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
199
199
  "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"EdgePackTaskStatusSet\": [\n {\n \"Apk\": \"test.apk\",\n \"UploadTime\": \"2020-09-22T00:00:00+00:00\",\n \"SrcDir\": [\n \"/src/\"\n ],\n \"DstDir\": \"/ext/\",\n \"StatusDesc\": \"\",\n \"Status\": \"done\"\n }\n ],\n \"RequestId\": \"9b231c10-72a3-4a92-8498-ffxxxxxxx\"\n }\n}",
200
200
  "title": "查询动态打包任务状态列"
201
201
  }
@@ -252,7 +252,7 @@
252
252
  {
253
253
  "document": "",
254
254
  "input": "https://cdn.tencentcloudapi.com/?Action=DescribeOriginData\n&StartTime=2018-09-04 00:00:00\n&EndTime=2018-09-04 12:00:00\n&Metric=flux\n&Domains.0=www.test.com\n&<公共请求参数>",
255
- "output": "{\n \"Response\": {\n \"RequestId\": \"123\",\n \"Data\": [\n {\n \"Resource\": \"www.test.com\",\n \"OriginData\": [\n {\n \"Metric\": \"flux\",\n \"DetailData\": [\n {\n \"Time\": \"2018-09-03 00:00:00\",\n \"Value\": 10\n },\n {\n \"Time\": \"2018-09-03 00:05:00\",\n \"Value\": 20\n }\n ],\n \"SummarizedData\": {\n \"Name\": \"sum\",\n \"Value\": 30\n }\n }\n ]\n }\n ],\n \"Interval\": \"5min\"\n }\n}",
255
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c2bb261c-1476-4190-93ba-b3c9bae51249\",\n \"Data\": [\n {\n \"Resource\": \"www.test.com\",\n \"OriginData\": [\n {\n \"Metric\": \"flux\",\n \"DetailData\": [\n {\n \"Time\": \"2018-09-03 00:00:00\",\n \"Value\": 10\n },\n {\n \"Time\": \"2018-09-03 00:05:00\",\n \"Value\": 20\n }\n ],\n \"SummarizedData\": {\n \"Name\": \"sum\",\n \"Value\": 30\n }\n }\n ]\n }\n ],\n \"Interval\": \"5min\"\n }\n}",
256
256
  "title": "查询Cdn回源数据"
257
257
  }
258
258
  ],
@@ -276,7 +276,7 @@
276
276
  {
277
277
  "document": "",
278
278
  "input": "https://cdn.tencentcloudapi.com/?Action=DescribePurgeTasks\n&TaskId=1234567\n&Area=mainland\n&<公共请求参数>",
279
- "output": "{\n \"Response\": {\n \"RequestId\": \"4d5a83f8-a61f-445b-8036-5636be640bef\",\n \"PurgeLogs\": [\n {\n \"TaskId\": \"153303185323131331\",\n \"Url\": \"http://www.test.com/\",\n \"Status\": \"Done\",\n \"PurgeType\": \"url\",\n \"FlushType\": \"flush\",\n \"CreateTime\": \"2018-07-30 18:10:53\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
279
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4d5a83f8-a61f-445b-8036-5636be640bef\",\n \"PurgeLogs\": [\n {\n \"TaskId\": \"153303185323131331\",\n \"Url\": \"http://www.test.com/\",\n \"Status\": \"done\",\n \"PurgeType\": \"url\",\n \"FlushType\": \"flush\",\n \"CreateTime\": \"2018-07-30 18:10:53\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
280
280
  "title": "刷新历史查询"
281
281
  }
282
282
  ],
@@ -629,7 +629,7 @@
629
629
  "UpdateDomainConfig": [
630
630
  {
631
631
  "document": "更新域名配置",
632
- "input": "POST / HTTP/1.1\nHost: cdn.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDomainConfig\n<公共请求参数>\n\n{\n \"ProjectId\": \"0\",\n \"Domain\": \"www.test.com\"\n}",
632
+ "input": "POST / HTTP/1.1\nHost: cdn.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDomainConfig\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"Domain\": \"www.test.com\"\n}",
633
633
  "output": "{\n \"Response\": {\n \"RequestId\": \"23cd4005-496f-4bc4-87d8-ab348d5b0c17\"\n }\n}",
634
634
  "title": "更新域名配置"
635
635
  }
@@ -5591,7 +5591,7 @@
5591
5591
  },
5592
5592
  {
5593
5593
  "disabled": false,
5594
- "document": "防火墙实例id,当前仅支持接入模式的实例",
5594
+ "document": "防火墙实例id,当前仅支持接入模式的实例,该字段必填",
5595
5595
  "example": "cfwnat-d2afc817",
5596
5596
  "member": "string",
5597
5597
  "name": "CfwInstance",
@@ -5388,6 +5388,16 @@
5388
5388
  "output_required": false,
5389
5389
  "type": "list",
5390
5390
  "value_allowed_null": false
5391
+ },
5392
+ {
5393
+ "disabled": false,
5394
+ "document": "任务描述信息",
5395
+ "example": "任务描述信息",
5396
+ "member": "string",
5397
+ "name": "Description",
5398
+ "output_required": false,
5399
+ "type": "string",
5400
+ "value_allowed_null": false
5391
5401
  }
5392
5402
  ],
5393
5403
  "usage": "out"
@@ -7011,7 +7021,7 @@
7011
7021
  {
7012
7022
  "disabled": false,
7013
7023
  "document": "连接源列表",
7014
- "example": "{\"TotalCount\":1,\"ConnectResourceList\":[{\"ResourceId\":\"resource-test\",\"ResourceName\":\"resource-test\",\"Description\":\"description-test\",\"Type\":\"ES\",\"Status\":0,\"CreateTime\":\"2019/8/19 00:00:00\",\"ErrorMessage\":\"message-test\",\"DatahubTaskCount\":1,\"CurrentStep\":\"step-test\",\"TaskProgress\":0,\"StepList\":[\"step-test\"],\"EsConnectParam\":{\"Ip\":\"10.0.0.3\",\"Port\":9200,\"ServiceVip\":\"10.0.0.5\",\"UniqVpcId\":\"vpc-test\",\"UserName\":\"user-test\",\"Password\":\"pwd-test\",\"Resource\":\"resource-test\",\"SelfBuilt\":true,\"IsUpdate\":true}}]}",
7024
+ "example": "{\"TotalCount\":1,\"ConnectResourceList\":[{\"ResourceId\":\"resource-test\",\"ResourceName\":\"resource-test\"]}",
7015
7025
  "member": "DescribeConnectResourcesResp",
7016
7026
  "name": "Result",
7017
7027
  "output_required": true,
@@ -2999,6 +2999,15 @@
2999
2999
  "required": false,
3000
3000
  "type": "int"
3001
3001
  },
3002
+ {
3003
+ "disabled": false,
3004
+ "document": "TCP_SSL和QUIC是否支持PP",
3005
+ "example": "False",
3006
+ "member": "bool",
3007
+ "name": "ProxyProtocol",
3008
+ "required": false,
3009
+ "type": "bool"
3010
+ },
3002
3011
  {
3003
3012
  "disabled": false,
3004
3013
  "document": "是否开启SNAT,True(开启)、False(关闭)。\n默认为关闭。",
@@ -9487,6 +9496,15 @@
9487
9496
  "required": false,
9488
9497
  "type": "int"
9489
9498
  },
9499
+ {
9500
+ "disabled": false,
9501
+ "document": "TCP_SSL和QUIC是否支持PP",
9502
+ "example": "False",
9503
+ "member": "bool",
9504
+ "name": "ProxyProtocol",
9505
+ "required": false,
9506
+ "type": "bool"
9507
+ },
9490
9508
  {
9491
9509
  "disabled": false,
9492
9510
  "document": "是否开启SNAT, True 表示开启 SNAT,False 表示不开启 SNAT。\n不传则表示不修改。",
@@ -8,11 +8,11 @@
8
8
  "status": "online"
9
9
  },
10
10
  "CancelIgnoreVul": {
11
- "document": "取消漏洞忽略",
11
+ "document": "产品变动切换到了\\\\n切换到 AddVulIgnoreRule / ModifyVulIgnoreRule CancelVulIgnoreRule\\\\n相关接口\n\n取消漏洞忽略",
12
12
  "input": "CancelIgnoreVulRequest",
13
13
  "name": "取消漏洞忽略",
14
14
  "output": "CancelIgnoreVulResponse",
15
- "status": "online"
15
+ "status": "deprecated"
16
16
  },
17
17
  "ChangeRuleEventsIgnoreStatus": {
18
18
  "document": "根据检测项id或事件id批量忽略事件或取消忽略",
@@ -2983,11 +2983,11 @@
2983
2983
  "status": "online"
2984
2984
  },
2985
2985
  "IgnoreImpactedHosts": {
2986
- "document": "本接口 (IgnoreImpactedHosts) 用于忽略漏洞。",
2986
+ "document": "产品变动切换到了\\\\n切换到 AddVulIgnoreRule / ModifyVulIgnoreRule CancelVulIgnoreRule\\\\n相关接口\n\n本接口 (IgnoreImpactedHosts) 用于忽略漏洞。",
2987
2987
  "input": "IgnoreImpactedHostsRequest",
2988
2988
  "name": "忽略漏洞",
2989
2989
  "output": "IgnoreImpactedHostsResponse",
2990
- "status": "online"
2990
+ "status": "deprecated"
2991
2991
  },
2992
2992
  "KeysLocalStorage": {
2993
2993
  "document": "获取本地存储键值列表",
@@ -1938,6 +1938,7 @@
1938
1938
  "example": "1000",
1939
1939
  "member": "int64",
1940
1940
  "name": "AsyncRequestId",
1941
+ "output_required": true,
1941
1942
  "type": "int",
1942
1943
  "value_allowed_null": false
1943
1944
  },
@@ -321,6 +321,16 @@
321
321
  "output_required": true,
322
322
  "type": "string",
323
323
  "value_allowed_null": false
324
+ },
325
+ {
326
+ "disabled": false,
327
+ "document": "是否MACsec",
328
+ "example": "true",
329
+ "member": "bool",
330
+ "name": "IsMacSec",
331
+ "output_required": true,
332
+ "type": "bool",
333
+ "value_allowed_null": false
324
334
  }
325
335
  ],
326
336
  "usage": "out"
@@ -975,6 +985,15 @@
975
985
  "name": "Tags",
976
986
  "required": false,
977
987
  "type": "list"
988
+ },
989
+ {
990
+ "disabled": false,
991
+ "document": "是否MACsec需求",
992
+ "example": "true",
993
+ "member": "bool",
994
+ "name": "IsMacSec",
995
+ "required": false,
996
+ "type": "bool"
978
997
  }
979
998
  ],
980
999
  "type": "object"
@@ -2135,6 +2154,26 @@
2135
2154
  "output_required": true,
2136
2155
  "type": "bool",
2137
2156
  "value_allowed_null": false
2157
+ },
2158
+ {
2159
+ "disabled": false,
2160
+ "document": "是否MACsec",
2161
+ "example": "true",
2162
+ "member": "bool",
2163
+ "name": "IsMacSec",
2164
+ "output_required": true,
2165
+ "type": "bool",
2166
+ "value_allowed_null": false
2167
+ },
2168
+ {
2169
+ "disabled": false,
2170
+ "document": "端口规格(Mbps)",
2171
+ "example": "10000",
2172
+ "member": "uint64",
2173
+ "name": "PortSpecification",
2174
+ "output_required": true,
2175
+ "type": "int",
2176
+ "value_allowed_null": false
2138
2177
  }
2139
2178
  ],
2140
2179
  "usage": "out"
@@ -2045,6 +2045,58 @@ def doDeleteDomain(args, parsed_globals):
2045
2045
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2046
2046
 
2047
2047
 
2048
+ def doDescribeDomainVipList(args, parsed_globals):
2049
+ g_param = parse_global_arg(parsed_globals)
2050
+
2051
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2052
+ cred = credential.CVMRoleCredential()
2053
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2054
+ cred = credential.STSAssumeRoleCredential(
2055
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2056
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2057
+ )
2058
+ 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):
2059
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2060
+ else:
2061
+ cred = credential.Credential(
2062
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2063
+ )
2064
+ http_profile = HttpProfile(
2065
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2066
+ reqMethod="POST",
2067
+ endpoint=g_param[OptionsDefine.Endpoint],
2068
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2069
+ )
2070
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2071
+ if g_param[OptionsDefine.Language]:
2072
+ profile.language = g_param[OptionsDefine.Language]
2073
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2074
+ client = mod.DnspodClient(cred, g_param[OptionsDefine.Region], profile)
2075
+ client._sdkVersion += ("_CLI_" + __version__)
2076
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2077
+ model = models.DescribeDomainVipListRequest()
2078
+ model.from_json_string(json.dumps(args))
2079
+ start_time = time.time()
2080
+ while True:
2081
+ rsp = client.DescribeDomainVipList(model)
2082
+ result = rsp.to_json_string()
2083
+ try:
2084
+ json_obj = json.loads(result)
2085
+ except TypeError as e:
2086
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2087
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2088
+ break
2089
+ cur_time = time.time()
2090
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2091
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2092
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2093
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2094
+ else:
2095
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2096
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2097
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2098
+
2099
+
2048
2100
  def doDescribeDomainShareInfo(args, parsed_globals):
2049
2101
  g_param = parse_global_arg(parsed_globals)
2050
2102
 
@@ -2305,6 +2357,58 @@ def doCreateSubDomainsAnalyticsFile(args, parsed_globals):
2305
2357
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2306
2358
 
2307
2359
 
2360
+ def doDescribeVasList(args, parsed_globals):
2361
+ g_param = parse_global_arg(parsed_globals)
2362
+
2363
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2364
+ cred = credential.CVMRoleCredential()
2365
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2366
+ cred = credential.STSAssumeRoleCredential(
2367
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2368
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2369
+ )
2370
+ 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):
2371
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2372
+ else:
2373
+ cred = credential.Credential(
2374
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2375
+ )
2376
+ http_profile = HttpProfile(
2377
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2378
+ reqMethod="POST",
2379
+ endpoint=g_param[OptionsDefine.Endpoint],
2380
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2381
+ )
2382
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2383
+ if g_param[OptionsDefine.Language]:
2384
+ profile.language = g_param[OptionsDefine.Language]
2385
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2386
+ client = mod.DnspodClient(cred, g_param[OptionsDefine.Region], profile)
2387
+ client._sdkVersion += ("_CLI_" + __version__)
2388
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2389
+ model = models.DescribeVasListRequest()
2390
+ model.from_json_string(json.dumps(args))
2391
+ start_time = time.time()
2392
+ while True:
2393
+ rsp = client.DescribeVasList(model)
2394
+ result = rsp.to_json_string()
2395
+ try:
2396
+ json_obj = json.loads(result)
2397
+ except TypeError as e:
2398
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2399
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2400
+ break
2401
+ cur_time = time.time()
2402
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2403
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2404
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2405
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2406
+ else:
2407
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2408
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2409
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2410
+
2411
+
2308
2412
  def doDeleteSnapshot(args, parsed_globals):
2309
2413
  g_param = parse_global_arg(parsed_globals)
2310
2414
 
@@ -4643,11 +4747,13 @@ ACTION_MAP = {
4643
4747
  "ModifyRecordToGroup": doModifyRecordToGroup,
4644
4748
  "ModifyTXTRecord": doModifyTXTRecord,
4645
4749
  "DeleteDomain": doDeleteDomain,
4750
+ "DescribeDomainVipList": doDescribeDomainVipList,
4646
4751
  "DescribeDomainShareInfo": doDescribeDomainShareInfo,
4647
4752
  "DeleteDomainCustomLine": doDeleteDomainCustomLine,
4648
4753
  "DescribeDomainAliasList": doDescribeDomainAliasList,
4649
4754
  "DescribeSnapshotList": doDescribeSnapshotList,
4650
4755
  "CreateSubDomainsAnalyticsFile": doCreateSubDomainsAnalyticsFile,
4756
+ "DescribeVasList": doDescribeVasList,
4651
4757
  "DeleteSnapshot": doDeleteSnapshot,
4652
4758
  "CreateDeal": doCreateDeal,
4653
4759
  "ModifyDomainToGroup": doModifyDomainToGroup,