tccli 3.0.1267.1__py2.py3-none-any.whl → 3.0.1268.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 (31) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/antiddos/v20200309/api.json +194 -136
  3. tccli/services/antiddos/v20200309/examples.json +15 -15
  4. tccli/services/bi/v20220105/api.json +1 -1
  5. tccli/services/cbs/v20170312/api.json +18 -0
  6. tccli/services/cdn/v20180606/api.json +3 -0
  7. tccli/services/cloudaudit/v20190319/api.json +3 -3
  8. tccli/services/cloudaudit/v20190319/examples.json +1 -1
  9. tccli/services/cwp/v20180228/api.json +11 -1
  10. tccli/services/lcic/lcic_client.py +61 -8
  11. tccli/services/lcic/v20220817/api.json +53 -0
  12. tccli/services/lcic/v20220817/examples.json +8 -0
  13. tccli/services/lighthouse/v20200324/api.json +4 -4
  14. tccli/services/live/v20180801/api.json +59 -3
  15. tccli/services/ocr/v20181119/api.json +41 -22
  16. tccli/services/postgres/v20170312/api.json +1 -1
  17. tccli/services/rum/v20210622/api.json +1 -1
  18. tccli/services/smh/v20210712/api.json +50 -30
  19. tccli/services/tdmq/v20200217/api.json +97 -0
  20. tccli/services/teo/v20220901/api.json +3 -3
  21. tccli/services/thpc/v20230321/api.json +19 -0
  22. tccli/services/trocket/v20230308/api.json +130 -11
  23. tccli/services/vpc/v20170312/api.json +46 -39
  24. tccli/services/vpc/v20170312/examples.json +3 -3
  25. tccli/services/wedata/v20210820/api.json +29 -9
  26. tccli/services/wedata/v20210820/examples.json +3 -3
  27. {tccli-3.0.1267.1.dist-info → tccli-3.0.1268.1.dist-info}/METADATA +2 -2
  28. {tccli-3.0.1267.1.dist-info → tccli-3.0.1268.1.dist-info}/RECORD +31 -31
  29. {tccli-3.0.1267.1.dist-info → tccli-3.0.1268.1.dist-info}/WHEEL +0 -0
  30. {tccli-3.0.1267.1.dist-info → tccli-3.0.1268.1.dist-info}/entry_points.txt +0 -0
  31. {tccli-3.0.1267.1.dist-info → tccli-3.0.1268.1.dist-info}/license_files/LICENSE +0 -0
@@ -43,7 +43,7 @@
43
43
  "CreateCCReqLimitPolicy": [
44
44
  {
45
45
  "document": "",
46
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCCReqLimitPolicy\n<公共请求参数>\n\n{\n \"Domain\": \"www.baidu.com\",\n \"InstanceId\": \"bgpip-000005v7\",\n \"Ip\": \"1.1.1.1\",\n \"Policy\": {\n \"Action\": \"alg\",\n \"ExecuteDuration\": 120,\n \"Mode\": \"equal\",\n \"Period\": 10,\n \"RequestNum\": 500,\n \"Uri\": \"/\"\n },\n \"Protocol\": \"http\"\n}",
46
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCCReqLimitPolicy\n<公共请求参数>\n\n{\n \"Domain\": \"www.baidu.com\",\n \"InstanceId\": \"bgpip-000005v7\",\n \"Ip\": \"1.1.1.1\",\n \"Policy\": {\n \"Action\": \"alg\",\n \"ExecuteDuration\": 120,\n \"Mode\": \"equal\",\n \"Period\": 10,\n \"RequestNum\": 500,\n \"Uri\": \"www.abc.com\"\n },\n \"Protocol\": \"http\"\n}",
47
47
  "output": "{\n \"Response\": {\n \"RequestId\": \"5063ab0a-a8a7-41e8-ace2-263b2c1c8794\"\n }\n}",
48
48
  "title": "新增CC频率限制策略"
49
49
  }
@@ -59,7 +59,7 @@
59
59
  "CreateCcGeoIPBlockConfig": [
60
60
  {
61
61
  "document": "",
62
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCcGeoIPBlockConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"bgpip-0000011x\",\n \"IP\": \"1.1.1.1\",\n \"Domain\": \"www.test.com\",\n \"Protocol\": \"http\",\n \"CcGeoIPBlockConfig\": {\n \"Action\": \"drop\",\n \"Id\": \"0\",\n \"RegionType\": \"oversea\",\n \"AreaList\": [\n 100025\n ]\n }\n}",
62
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCcGeoIPBlockConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"bgpip-0000011x\",\n \"IP\": \"1.1.1.1\",\n \"Domain\": \"www.test.com\",\n \"Protocol\": \"http\",\n \"CcGeoIPBlockConfig\": {\n \"Action\": \"drop\",\n \"Id\": \"ccGeoip-00000111\",\n \"RegionType\": \"oversea\",\n \"AreaList\": [\n 100025\n ]\n }\n}",
63
63
  "output": "{\n \"Response\": {\n \"RequestId\": \"54a41bf4-dca0-438b-a1cd-eb1f99e9a6b3\"\n }\n}",
64
64
  "title": "添加CC防护的区域封禁配置"
65
65
  }
@@ -307,8 +307,8 @@
307
307
  "DescribeBasicDeviceStatus": [
308
308
  {
309
309
  "document": "获取基础防护状态",
310
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBasicDeviceStatus\n<公共请求参数>\n\n{\n \"IpList\": [\n \"abc\"\n ],\n \"IdList\": [\n \"abc\"\n ],\n \"FilterRegion\": 1\n}",
311
- "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"CLBData\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"CnameWafData\": [\n {\n \"Key\": \"1.1.1.1\",\n \"Value\": \"1\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
310
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBasicDeviceStatus\n<公共请求参数>\n\n{\n \"IpList\": [\n \"1.1.1.1\"\n ],\n \"IdList\": [\n \"222\"\n ],\n \"FilterRegion\": 1\n}",
311
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Key\": \"1.1.1.1\",\n \"Value\": \"2\"\n }\n ],\n \"CLBData\": [\n {\n \"Key\": \"1.1.1.1\",\n \"Value\": \"3\"\n }\n ],\n \"CnameWafData\": [\n {\n \"Key\": \"1.1.1.1\",\n \"Value\": \"1\"\n }\n ],\n \"RequestId\": \"07a620b1\"\n }\n}",
312
312
  "title": "获取基础防护状态"
313
313
  },
314
314
  {
@@ -433,7 +433,7 @@
433
433
  "DescribeDDoSConnectLimitList": [
434
434
  {
435
435
  "document": "",
436
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDDoSConnectLimitList\n<公共请求参数>\n\n{\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
436
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDDoSConnectLimitList\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0\n}",
437
437
  "output": "{\n \"Response\": {\n \"Total\": 1,\n \"ConfigList\": [\n {\n \"InstanceDetailList\": [\n {\n \"InstanceId\": \"bgpip-111111q1\",\n \"EipList\": [\n \"1.1.1.1\"\n ]\n }\n ],\n \"ConnectLimitConfig\": {\n \"SynLimit\": 1,\n \"BadConnThreshold\": 1,\n \"SdConnLimit\": 1,\n \"SdNewLimit\": 1,\n \"SynRate\": 1,\n \"ConnTimeout\": 1,\n \"DstConnLimit\": 1,\n \"DstNewLimit\": 1,\n \"NullConnEnable\": 1\n }\n }\n ],\n \"RequestId\": \"c9520936-381c-4c04-b535-c8f4df1f8059\"\n }\n}",
438
438
  "title": "获取DDoS连接抑制配置列表"
439
439
  }
@@ -458,14 +458,14 @@
458
458
  {
459
459
  "document": "",
460
460
  "input": "https://antiddos.tencentcloudapi.com/?Action=DescribeIpBlockList\n&<公共请求参数>",
461
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Status\": \"xx\",\n \"Ip\": \"xx\",\n \"UnBlockTime\": \"2020-09-22 00:00:00\",\n \"ActionType\": \"xx\",\n \"BlockTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
461
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Status\": \"1\",\n \"Ip\": \"1.1.1.1\",\n \"UnBlockTime\": \"2020-09-22 00:00:00\",\n \"ActionType\": \"type\",\n \"BlockTime\": \"2020-09-22 00:00:00\",\n \"ProtectFlag\": 1\n }\n ],\n \"RequestId\": \"reqid\"\n }\n}",
462
462
  "title": "获取IP封堵列表"
463
463
  }
464
464
  ],
465
465
  "DescribeL7RulesBySSLCertId": [
466
466
  {
467
467
  "document": "",
468
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL7RulesBySSLCertId\n<公共请求参数>\n\n{\n \"Status\": \"bindable\",\n \"CertIds\": [\n \"xxx\"\n ]\n}",
468
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL7RulesBySSLCertId\n<公共请求参数>\n\n{\n \"Status\": \"bindable\",\n \"CertIds\": [\n \"id-xxxx\"\n ]\n}",
469
469
  "output": "{\n \"Response\": {\n \"CertSet\": [\n {\n \"CertId\": \"kneSCNrZ\",\n \"L7Rules\": [\n {\n \"InsId\": \"bgpip-000001eo\",\n \"AppId\": \"251008915\",\n \"Protocol\": \"https\",\n \"Domain\": \"www.xxx.com\",\n \"VirtualPort\": \"443\",\n \"SSLId\": \"\",\n \"Status\": 8\n }\n ]\n }\n ],\n \"RequestId\": \"d87b0215-5dc6-4b99-ad82-704f0ef1bfb7\"\n }\n}",
470
470
  "title": "查询可绑定证书的域名规则"
471
471
  }
@@ -489,7 +489,7 @@
489
489
  "DescribeListBlackWhiteIpList": [
490
490
  {
491
491
  "document": "",
492
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeListBlackWhiteIpList\n<公共请求参数>\n\n{\n \"FilterInstanceId\": \"bgpip-0000011x\",\n \"FilterIp\": \"1.1.1.1\",\n \"Limit\": \"25\",\n \"Offset\": \"0\"\n}",
492
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeListBlackWhiteIpList\n<公共请求参数>\n\n{\n \"FilterInstanceId\": \"bgpip-0000011x\",\n \"FilterIp\": \"1.1.1.1\",\n \"Limit\": 25,\n \"Offset\": 0\n}",
493
493
  "output": "{\n \"Response\": {\n \"IpList\": [\n {\n \"InstanceDetailList\": [\n {\n \"InstanceId\": \"bgpip-0000011x\",\n \"EipList\": [\n \"1.2.2.19\"\n ]\n }\n ],\n \"Ip\": \"1.1.4.1\",\n \"Type\": \"white\",\n \"Mask\": 1,\n \"ModifyTime\": \"2022-11-29 18:34:13\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"j5RV4a5576e8cf46f24e3bae026ebb391a\"\n }\n}",
494
494
  "title": "获取DDoS防护的IP黑白名单列表"
495
495
  }
@@ -537,8 +537,8 @@
537
537
  "DescribeListPacketFilterConfig": [
538
538
  {
539
539
  "document": "",
540
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeListPacketFilterConfig\n<公共请求参数>\n\n{\n \"FilterInstanceId\": \"bgpip-0000011x\",\n \"FilterIp\": \"1.1.1.1\",\n \"Limit\": \"25\",\n \"Offset\": \"0\"\n}",
541
- "output": "{\n \"Response\": {\n \"Total\": 1,\n \"ConfigList\": [\n {\n \"InstanceDetailList\": [\n {\n \"InstanceId\": \"bgpip-0000011x\",\n \"EipList\": [\n \"1.1.1.1\"\n ]\n }\n ],\n \"PacketFilterConfig\": {\n \"MatchType2\": \"sunday\",\n \"MatchBegin2\": \"begin-l5\",\n \"Str2\": \"\",\n \"SportEnd\": 0,\n \"IsNot\": 0,\n \"PktlenMax\": 1500,\n \"MatchLogic\": \"none\",\n \"MatchBegin\": \"begin-l5\",\n \"Offset\": 0,\n \"SportStart\": 0,\n \"DportStart\": 0,\n \"PktlenMin\": 0,\n \"IsNot2\": 0,\n \"Depth\": 20,\n \"Str\": \"\",\n \"Action\": \"drop\",\n \"Protocol\": \"tcp\",\n \"MatchType\": \"sunday\",\n \"DportEnd\": 0,\n \"Offset2\": 5,\n \"Depth2\": 20,\n \"Id\": \"\"\n },\n \"ModifyTime\": \"2022-01-29 17:47:48\"\n }\n ],\n \"RequestId\": \"3eb91f01-96dd-4ad3-9e16-edde46b8cf40\"\n }\n}",
540
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeListPacketFilterConfig\n<公共请求参数>\n\n{\n \"FilterInstanceId\": \"bgpip-0000011x\",\n \"FilterIp\": \"1.1.1.1\",\n \"Limit\": 25,\n \"Offset\": 0\n}",
541
+ "output": "{\n \"Response\": {\n \"Total\": 1,\n \"ConfigList\": [\n {\n \"InstanceDetailList\": [\n {\n \"InstanceId\": \"bgpip-0000011x\",\n \"EipList\": [\n \"1.1.1.1\"\n ]\n }\n ],\n \"PacketFilterConfig\": {\n \"MatchType2\": \"sunday\",\n \"MatchBegin2\": \"begin-l5\",\n \"Str2\": \"\",\n \"SportEnd\": 0,\n \"IsNot\": 0,\n \"PktlenMax\": 1500,\n \"MatchLogic\": \"none\",\n \"MatchBegin\": \"begin-l5\",\n \"Offset\": 0,\n \"SportStart\": 0,\n \"DportStart\": 0,\n \"PktlenMin\": 0,\n \"IsNot2\": 0,\n \"Depth\": 20,\n \"Str\": \"\",\n \"Action\": \"drop\",\n \"Protocol\": \"tcp\",\n \"MatchType\": \"sunday\",\n \"PktLenGT\": 50,\n \"DportEnd\": 0,\n \"Offset2\": 5,\n \"Depth2\": 20,\n \"Id\": \"\"\n },\n \"ModifyTime\": \"2022-01-29 17:47:48\"\n }\n ],\n \"RequestId\": \"3eb91f01-96dd-4ad3-9e16-edde46b8cf40\"\n }\n}",
542
542
  "title": "获取DDoS防护的特征过滤规则列表"
543
543
  }
544
544
  ],
@@ -577,8 +577,8 @@
577
577
  "DescribeListWaterPrintConfig": [
578
578
  {
579
579
  "document": "",
580
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeListWaterPrintConfig\n<公共请求参数>\n\n{\n \"FilterInstanceId\": \"bgpip-0000011x\",\n \"FilterIp\": \"1.1.1.1\",\n \"Limit\": \"25\",\n \"Offset\": \"0\"\n}",
581
- "output": "{\n \"Response\": {\n \"Total\": 1,\n \"ConfigList\": [\n {\n \"WaterPrintConfig\": {\n \"Keys\": [\n {\n \"KeyVersion\": \"fbf1\",\n \"KeyContent\": \"82e352b956e8d512-fbf1-82e352b956e8d512eeb95315d5772e86fac99256\",\n \"KeyId\": \"000005hj\",\n \"KeyOpenStatus\": 0,\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"Verify\": \"checkall\",\n \"Listeners\": [\n {\n \"ForwardProtocol\": \"TCP\",\n \"FrontendPort\": 80,\n \"FrontendPortEnd\": 0\n }\n ],\n \"OpenStatus\": 0,\n \"Offset\": 30\n },\n \"InstanceDetailList\": [\n {\n \"InstanceId\": \"bgpip-0000011x\",\n \"EipList\": [\n \"1.1.1.1\"\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"c5ff0d5d-d2bd-4b34-b081-4acd4cf7be1f\"\n }\n}",
580
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeListWaterPrintConfig\n<公共请求参数>\n\n{\n \"FilterInstanceId\": \"bgpip-0000011x\",\n \"FilterIp\": \"1.1.1.1\",\n \"Limit\": 25,\n \"Offset\": 0\n}",
581
+ "output": "{\n \"Response\": {\n \"Total\": 1,\n \"ConfigList\": [\n {\n \"WaterPrintConfig\": {\n \"Keys\": [\n {\n \"KeyVersion\": \"fbf1\",\n \"KeyContent\": \"82e352b956e8d512-fbf1-82e352b956e8d512eeb95315d5772e86fac99256\",\n \"KeyId\": \"000005hj\",\n \"KeyOpenStatus\": 0,\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"Verify\": \"checkall\",\n \"Listeners\": [\n {\n \"ForwardProtocol\": \"TCP\",\n \"FrontendPort\": 80,\n \"FrontendPortEnd\": 0\n }\n ],\n \"CloudSdkProxy\": 1,\n \"OpenStatus\": 0,\n \"Offset\": 30\n },\n \"InstanceDetailList\": [\n {\n \"InstanceId\": \"bgpip-0000011x\",\n \"EipList\": [\n \"1.1.1.1\"\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"c5ff0d5d-d2bd-4b34-b081-4acd4cf7be1f\"\n }\n}",
582
582
  "title": "获取DDoS防护的水印防护配置列表"
583
583
  }
584
584
  ],
@@ -601,7 +601,7 @@
601
601
  "DescribeOverviewAttackTrend": [
602
602
  {
603
603
  "document": "",
604
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOverviewAttackTrend\n<公共请求参数>\n\n{\n \"EndTime\": \"2020-02-03 18:03:23\",\n \"Type\": \"ddos\",\n \"Dimension\": \"attackcount\",\n \"StartTime\": \"2020-02-01 12:04:12\",\n \"Period\": \"86400\"\n}",
604
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOverviewAttackTrend\n<公共请求参数>\n\n{\n \"EndTime\": \"2020-02-03 18:03:23\",\n \"Type\": \"ddos\",\n \"Dimension\": \"attackcount\",\n \"StartTime\": \"2020-02-01 12:04:12\",\n \"Period\": 86400\n}",
605
605
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Type\": \"ddos\",\n \"StartTime\": \"2020-02-01 12:04:12\",\n \"EndTime\": \"2020-02-03 18:03:23\",\n \"Period\": 86400,\n \"Data\": [\n 0,\n 0\n ],\n \"Count\": 2\n }\n}",
606
606
  "title": "拉取防护概览攻击趋势"
607
607
  }
@@ -609,7 +609,7 @@
609
609
  "DescribeOverviewCCTrend": [
610
610
  {
611
611
  "document": "当Business可以不传,统计所有Business为 基础防护 + 高防ip + 高防包 的和",
612
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOverviewCCTrend\n<公共请求参数>\n\n{\n \"Period\": 0,\n \"StartTime\": \"2020-09-22 00:00:00\",\n \"EndTime\": \"2020-09-22 00:00:00\",\n \"MetricName\": \"bps\"\n}",
612
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOverviewCCTrend\n<公共请求参数>\n\n{\n \"Period\": 3600,\n \"StartTime\": \"2020-09-22 00:00:00\",\n \"EndTime\": \"2020-09-23 00:00:00\",\n \"MetricName\": \"dropqps\"\n}",
613
613
  "output": "{\n \"Response\": {\n \"Count\": 1,\n \"Data\": [\n 1234\n ],\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
614
614
  "title": "获取防护概览趋势图"
615
615
  }
@@ -729,7 +729,7 @@
729
729
  "ModifyDDoSThreshold": [
730
730
  {
731
731
  "document": "",
732
- "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDDoSThreshold\n<公共请求参数>\n\n{\n \"Threshold\": \"1000\",\n \"Id\": \"bgpip-000000xe\",\n \"Business\": \"bgpip\"\n}",
732
+ "input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDDoSThreshold\n<公共请求参数>\n\n{\n \"Threshold\": 1000,\n \"Id\": \"bgpip-000000xe\",\n \"Business\": \"bgpip\"\n}",
733
733
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Success\": {\n \"Code\": \"Success\",\n \"Message\": \"Success\"\n }\n }\n}",
734
734
  "title": "修改DDoS清洗阈值"
735
735
  }
@@ -4217,7 +4217,7 @@
4217
4217
  {
4218
4218
  "disabled": false,
4219
4219
  "document": "数据\n注意:此字段可能返回 null,表示取不到有效值。",
4220
- "example": "",
4220
+ "example": "返回为null",
4221
4221
  "member": "string",
4222
4222
  "name": "Data",
4223
4223
  "output_required": true,
@@ -368,6 +368,24 @@
368
368
  "name": "DiskId",
369
369
  "required": true,
370
370
  "type": "string"
371
+ },
372
+ {
373
+ "disabled": false,
374
+ "document": "回滚云硬盘备份点前是否自动关机,默认为FALSE,表示不自动关机",
375
+ "example": "false",
376
+ "member": "bool",
377
+ "name": "AutoStopInstance",
378
+ "required": false,
379
+ "type": "bool"
380
+ },
381
+ {
382
+ "disabled": false,
383
+ "document": "回滚云硬盘备份点完成后是否自动开机,默认为FALSE,表示不自动开机",
384
+ "example": "false",
385
+ "member": "bool",
386
+ "name": "AutoStartInstance",
387
+ "required": false,
388
+ "type": "bool"
371
389
  }
372
390
  ],
373
391
  "type": "object"
@@ -3099,6 +3099,7 @@
3099
3099
  "example": "无",
3100
3100
  "member": "SimpleCache",
3101
3101
  "name": "SimpleCache",
3102
+ "output_required": true,
3102
3103
  "required": false,
3103
3104
  "type": "object",
3104
3105
  "value_allowed_null": true
@@ -3109,6 +3110,7 @@
3109
3110
  "example": "无",
3110
3111
  "member": "AdvancedCache",
3111
3112
  "name": "AdvancedCache",
3113
+ "output_required": true,
3112
3114
  "required": false,
3113
3115
  "type": "object",
3114
3116
  "value_allowed_null": true
@@ -3119,6 +3121,7 @@
3119
3121
  "example": "无",
3120
3122
  "member": "RuleCache",
3121
3123
  "name": "RuleCache",
3124
+ "output_required": true,
3122
3125
  "required": false,
3123
3126
  "type": "list",
3124
3127
  "value_allowed_null": true
@@ -3,14 +3,14 @@
3
3
  "CreateAuditTrack": {
4
4
  "document": "创建操作审计跟踪集",
5
5
  "input": "CreateAuditTrackRequest",
6
- "name": "创建操作审计跟踪集",
6
+ "name": "创建指定事件跟踪集",
7
7
  "output": "CreateAuditTrackResponse",
8
8
  "status": "online"
9
9
  },
10
10
  "CreateEventsAuditTrack": {
11
11
  "document": "创建操作审计跟踪集",
12
12
  "input": "CreateEventsAuditTrackRequest",
13
- "name": "创建操作审计跟踪集(多事件)",
13
+ "name": "创建全部事件跟踪集",
14
14
  "output": "CreateEventsAuditTrackResponse",
15
15
  "status": "online"
16
16
  },
@@ -432,7 +432,7 @@
432
432
  {
433
433
  "disabled": false,
434
434
  "document": "数据过滤条件",
435
- "example": "{ \"ResourceFields\": [ { \"ResourceType\": \"cam\", \"ActionType\": \"*\", \"EventNames\": [ \"AddSubAccount\", \"AddSubAccountCheckingMFA\" ] }, { \"ResourceType\": \"cvm\", \"ActionType\": \"*\", \"EventNames\": [ \"*\" ] }, { \"ResourceType\": \"tke\", \"ActionType\": \"*\", \"EventNames\": [ \"*\" ] } ] }",
435
+ "example": "{\"ResourceFields\":[{\"ResourceType\":\"cam\",\"ActionType\":\"*\",\"EventNames\":[\"AddSubAccount\",\"AddSubAccountCheckingMFA\"]},{\"ResourceType\":\"cvm\",\"ActionType\":\"*\",\"EventNames\":[\"*\"]},{\"ResourceType\":\"tke\",\"ActionType\":\"*\",\"EventNames\":[\"*\"]}]}",
436
436
  "member": "Filter",
437
437
  "name": "Filters",
438
438
  "required": true,
@@ -12,7 +12,7 @@
12
12
  {
13
13
  "document": "",
14
14
  "input": "POST / HTTP/1.1\nHost: cloudaudit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEventsAuditTrack\n<公共请求参数>\n\n{\n \"Name\": \"test_track\",\n \"Status\": 1,\n \"Storage\": {\n \"StorageType\": \"cos\",\n \"StorageRegion\": \"ap-guangzhou\",\n \"StorageName\": \"audit_test\",\n \"StoragePrefix\": \"audit_config\",\n \"StorageAccountId\": \"2345345\",\n \"StorageAppId\": \"23456546\"\n },\n \"Filters\": {\n \"ResourceFields\": [\n {\n \"ResourceType\": \"cam\",\n \"ActionType\": \"Read\",\n \"EventNames\": [\n \"ConsoleLogin\"\n ]\n }\n ]\n },\n \"TrackForAllMembers\": 1\n}",
15
- "output": "{\n \"Response\": {\n \"TrackId\": 1,\n \"RequestId\": \"abc\"\n }\n}",
15
+ "output": "{\n \"Response\": {\n \"TrackId\": 1,\n \"RequestId\": \"7f9b29d-be2c-4061-afb2-b43fdd72\"\n }\n}",
16
16
  "title": "创建操作审计跟踪集"
17
17
  }
18
18
  ],
@@ -16484,7 +16484,7 @@
16484
16484
  },
16485
16485
  {
16486
16486
  "disabled": false,
16487
- "document": "命令有效期,非腾讯云时必填",
16487
+ "document": "命令有效期,非腾讯云时必填(已废弃,命令永久生效)",
16488
16488
  "example": "2021-06-17",
16489
16489
  "member": "date",
16490
16490
  "name": "ExpireDate",
@@ -48558,6 +48558,16 @@
48558
48558
  "ModifyRiskDnsPolicyResponse": {
48559
48559
  "document": "ModifyRiskDnsPolicy返回参数结构体",
48560
48560
  "members": [
48561
+ {
48562
+ "disabled": false,
48563
+ "document": "0:没有重复,1:和现有策略重复",
48564
+ "example": "1",
48565
+ "member": "int64",
48566
+ "name": "Repeat",
48567
+ "output_required": false,
48568
+ "type": "int",
48569
+ "value_allowed_null": false
48570
+ },
48561
48571
  {
48562
48572
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
48563
48573
  "member": "string",
@@ -1473,6 +1473,58 @@ def doGetRoomEvent(args, parsed_globals):
1473
1473
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1474
1474
 
1475
1475
 
1476
+ def doDeleteUser(args, parsed_globals):
1477
+ g_param = parse_global_arg(parsed_globals)
1478
+
1479
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1480
+ cred = credential.CVMRoleCredential()
1481
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1482
+ cred = credential.STSAssumeRoleCredential(
1483
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1484
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1485
+ )
1486
+ 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):
1487
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1488
+ else:
1489
+ cred = credential.Credential(
1490
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1491
+ )
1492
+ http_profile = HttpProfile(
1493
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1494
+ reqMethod="POST",
1495
+ endpoint=g_param[OptionsDefine.Endpoint],
1496
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1497
+ )
1498
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1499
+ if g_param[OptionsDefine.Language]:
1500
+ profile.language = g_param[OptionsDefine.Language]
1501
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1502
+ client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
1503
+ client._sdkVersion += ("_CLI_" + __version__)
1504
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1505
+ model = models.DeleteUserRequest()
1506
+ model.from_json_string(json.dumps(args))
1507
+ start_time = time.time()
1508
+ while True:
1509
+ rsp = client.DeleteUser(model)
1510
+ result = rsp.to_json_string()
1511
+ try:
1512
+ json_obj = json.loads(result)
1513
+ except TypeError as e:
1514
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1515
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1516
+ break
1517
+ cur_time = time.time()
1518
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1519
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1520
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1521
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1522
+ else:
1523
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1524
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1525
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1526
+
1527
+
1476
1528
  def doDescribeRoom(args, parsed_globals):
1477
1529
  g_param = parse_global_arg(parsed_globals)
1478
1530
 
@@ -1837,7 +1889,7 @@ def doDeleteSupervisor(args, parsed_globals):
1837
1889
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1838
1890
 
1839
1891
 
1840
- def doDeleteUser(args, parsed_globals):
1892
+ def doDescribeRoomStatistics(args, parsed_globals):
1841
1893
  g_param = parse_global_arg(parsed_globals)
1842
1894
 
1843
1895
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1866,11 +1918,11 @@ def doDeleteUser(args, parsed_globals):
1866
1918
  client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
1867
1919
  client._sdkVersion += ("_CLI_" + __version__)
1868
1920
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1869
- model = models.DeleteUserRequest()
1921
+ model = models.DescribeRoomStatisticsRequest()
1870
1922
  model.from_json_string(json.dumps(args))
1871
1923
  start_time = time.time()
1872
1924
  while True:
1873
- rsp = client.DeleteUser(model)
1925
+ rsp = client.DescribeRoomStatistics(model)
1874
1926
  result = rsp.to_json_string()
1875
1927
  try:
1876
1928
  json_obj = json.loads(result)
@@ -1941,7 +1993,7 @@ def doRegisterUser(args, parsed_globals):
1941
1993
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1942
1994
 
1943
1995
 
1944
- def doDescribeRoomStatistics(args, parsed_globals):
1996
+ def doDescribeRecordTask(args, parsed_globals):
1945
1997
  g_param = parse_global_arg(parsed_globals)
1946
1998
 
1947
1999
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1970,11 +2022,11 @@ def doDescribeRoomStatistics(args, parsed_globals):
1970
2022
  client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
1971
2023
  client._sdkVersion += ("_CLI_" + __version__)
1972
2024
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1973
- model = models.DescribeRoomStatisticsRequest()
2025
+ model = models.DescribeRecordTaskRequest()
1974
2026
  model.from_json_string(json.dumps(args))
1975
2027
  start_time = time.time()
1976
2028
  while True:
1977
- rsp = client.DescribeRoomStatistics(model)
2029
+ rsp = client.DescribeRecordTask(model)
1978
2030
  result = rsp.to_json_string()
1979
2031
  try:
1980
2032
  json_obj = json.loads(result)
@@ -3540,6 +3592,7 @@ ACTION_MAP = {
3540
3592
  "ModifyUserProfile": doModifyUserProfile,
3541
3593
  "BatchDeleteGroupMember": doBatchDeleteGroupMember,
3542
3594
  "GetRoomEvent": doGetRoomEvent,
3595
+ "DeleteUser": doDeleteUser,
3543
3596
  "DescribeRoom": doDescribeRoom,
3544
3597
  "DescribeDocuments": doDescribeDocuments,
3545
3598
  "SendRoomNormalMessage": doSendRoomNormalMessage,
@@ -3547,9 +3600,9 @@ ACTION_MAP = {
3547
3600
  "CreateGroupWithSubGroup": doCreateGroupWithSubGroup,
3548
3601
  "GetRoomMessage": doGetRoomMessage,
3549
3602
  "DeleteSupervisor": doDeleteSupervisor,
3550
- "DeleteUser": doDeleteUser,
3551
- "RegisterUser": doRegisterUser,
3552
3603
  "DescribeRoomStatistics": doDescribeRoomStatistics,
3604
+ "RegisterUser": doRegisterUser,
3605
+ "DescribeRecordTask": doDescribeRecordTask,
3553
3606
  "BindDocumentToRoom": doBindDocumentToRoom,
3554
3607
  "LoginOriginId": doLoginOriginId,
3555
3608
  "ForbidSendMsg": doForbidSendMsg,
@@ -252,6 +252,13 @@
252
252
  "output": "DescribeRecordStreamResponse",
253
253
  "status": "online"
254
254
  },
255
+ "DescribeRecordTask": {
256
+ "document": "查询录制任务ID",
257
+ "input": "DescribeRecordTaskRequest",
258
+ "name": "查询录制任务ID",
259
+ "output": "DescribeRecordTaskResponse",
260
+ "status": "online"
261
+ },
255
262
  "DescribeRoom": {
256
263
  "document": "获取房间配置信息",
257
264
  "input": "DescribeRoomRequest",
@@ -3509,6 +3516,52 @@
3509
3516
  ],
3510
3517
  "type": "object"
3511
3518
  },
3519
+ "DescribeRecordTaskRequest": {
3520
+ "document": "DescribeRecordTask请求参数结构体",
3521
+ "members": [
3522
+ {
3523
+ "disabled": false,
3524
+ "document": "学校ID",
3525
+ "example": "3456721",
3526
+ "member": "uint64",
3527
+ "name": "SdkAppId",
3528
+ "required": true,
3529
+ "type": "int"
3530
+ },
3531
+ {
3532
+ "disabled": false,
3533
+ "document": "房间ID",
3534
+ "example": "9090",
3535
+ "member": "uint64",
3536
+ "name": "RoomId",
3537
+ "required": true,
3538
+ "type": "int"
3539
+ }
3540
+ ],
3541
+ "type": "object"
3542
+ },
3543
+ "DescribeRecordTaskResponse": {
3544
+ "document": "DescribeRecordTask返回参数结构体",
3545
+ "members": [
3546
+ {
3547
+ "disabled": false,
3548
+ "document": "任务ID",
3549
+ "example": "2432324323",
3550
+ "member": "string",
3551
+ "name": "TaskId",
3552
+ "output_required": false,
3553
+ "type": "string",
3554
+ "value_allowed_null": false
3555
+ },
3556
+ {
3557
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3558
+ "member": "string",
3559
+ "name": "RequestId",
3560
+ "type": "string"
3561
+ }
3562
+ ],
3563
+ "type": "object"
3564
+ },
3512
3565
  "DescribeRoomForbiddenUserRequest": {
3513
3566
  "document": "DescribeRoomForbiddenUser请求参数结构体",
3514
3567
  "members": [
@@ -306,6 +306,14 @@
306
306
  "title": "DescribeRecordStream"
307
307
  }
308
308
  ],
309
+ "DescribeRecordTask": [
310
+ {
311
+ "document": "",
312
+ "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRecordTask\n<公共请求参数>\n\n{\n \"SdkAppId\": 38901738,\n \"RoomId\": 567825\n}",
313
+ "output": "{\n \"Response\": {\n \"RequestId\": \"743fff05-5133b-4c4e-a572-99917288eded3\",\n \"TaskId\": \"d4ckjh5-9b1e-5648-ab79-0123khjk6b\"\n }\n}",
314
+ "title": "查询录制任务ID"
315
+ }
316
+ ],
309
317
  "DescribeRoom": [
310
318
  {
311
319
  "document": "获取房间信息",
@@ -7415,7 +7415,7 @@
7415
7415
  "example": "FREEZING",
7416
7416
  "member": "string",
7417
7417
  "name": "Source",
7418
- "output_required": false,
7418
+ "output_required": true,
7419
7419
  "type": "string",
7420
7420
  "value_allowed_null": false
7421
7421
  },
@@ -7425,7 +7425,7 @@
7425
7425
  "example": "2",
7426
7426
  "member": "string",
7427
7427
  "name": "State",
7428
- "output_required": false,
7428
+ "output_required": true,
7429
7429
  "type": "string",
7430
7430
  "value_allowed_null": false
7431
7431
  },
@@ -7435,7 +7435,7 @@
7435
7435
  "example": "未备案",
7436
7436
  "member": "string",
7437
7437
  "name": "Reason",
7438
- "output_required": false,
7438
+ "output_required": true,
7439
7439
  "type": "string",
7440
7440
  "value_allowed_null": false
7441
7441
  },
@@ -7445,7 +7445,7 @@
7445
7445
  "example": "http://157.*.*.29/",
7446
7446
  "member": "string",
7447
7447
  "name": "Content",
7448
- "output_required": false,
7448
+ "output_required": true,
7449
7449
  "type": "string",
7450
7450
  "value_allowed_null": false
7451
7451
  }
@@ -2218,7 +2218,7 @@
2218
2218
  {
2219
2219
  "disabled": false,
2220
2220
  "document": "模板名称。",
2221
- "example": "aaa",
2221
+ "example": "回调模板1",
2222
2222
  "member": "string",
2223
2223
  "name": "TemplateName",
2224
2224
  "output_required": true,
@@ -2228,7 +2228,7 @@
2228
2228
  {
2229
2229
  "disabled": false,
2230
2230
  "document": "描述信息。",
2231
- "example": "xxx",
2231
+ "example": "场景1回调模版配置",
2232
2232
  "member": "string",
2233
2233
  "name": "Description",
2234
2234
  "output_required": true,
@@ -2318,12 +2318,32 @@
2318
2318
  {
2319
2319
  "disabled": false,
2320
2320
  "document": "音频审核回调 URL。\n注意:此字段可能返回 null,表示取不到有效值。",
2321
- "example": "",
2321
+ "example": "http://domain.com/path",
2322
2322
  "member": "string",
2323
2323
  "name": "AudioAuditNotifyUrl",
2324
2324
  "output_required": true,
2325
2325
  "type": "string",
2326
2326
  "value_allowed_null": true
2327
+ },
2328
+ {
2329
+ "disabled": false,
2330
+ "document": "录制异常回调 URL。",
2331
+ "example": "http://domain.com/path",
2332
+ "member": "string",
2333
+ "name": "RecordExceptionNotifyUrl",
2334
+ "output_required": false,
2335
+ "type": "string",
2336
+ "value_allowed_null": false
2337
+ },
2338
+ {
2339
+ "disabled": false,
2340
+ "document": "录制异常回调级别,可选择:error: 错误。alarm: 告警。",
2341
+ "example": "[\"error\"]",
2342
+ "member": "string",
2343
+ "name": "RecordExceptionLevels",
2344
+ "output_required": false,
2345
+ "type": "list",
2346
+ "value_allowed_null": false
2327
2347
  }
2328
2348
  ],
2329
2349
  "usage": "out"
@@ -4564,6 +4584,24 @@
4564
4584
  "name": "AudioAuditNotifyUrl",
4565
4585
  "required": false,
4566
4586
  "type": "string"
4587
+ },
4588
+ {
4589
+ "disabled": false,
4590
+ "document": "录制异常回调 URL。",
4591
+ "example": "http://domain.com/path",
4592
+ "member": "string",
4593
+ "name": "RecordExceptionNotifyUrl",
4594
+ "required": false,
4595
+ "type": "string"
4596
+ },
4597
+ {
4598
+ "disabled": false,
4599
+ "document": "录制异常回调级别,可选择:error、warning、info。",
4600
+ "example": "[\"error\"]",
4601
+ "member": "string",
4602
+ "name": "RecordExceptionLevels",
4603
+ "required": false,
4604
+ "type": "list"
4567
4605
  }
4568
4606
  ],
4569
4607
  "type": "object"
@@ -15604,6 +15642,24 @@
15604
15642
  "name": "AudioAuditNotifyUrl",
15605
15643
  "required": false,
15606
15644
  "type": "string"
15645
+ },
15646
+ {
15647
+ "disabled": false,
15648
+ "document": "录制异常回调 URL。\t",
15649
+ "example": "http://domain.com/path\t",
15650
+ "member": "string",
15651
+ "name": "RecordExceptionNotifyUrl",
15652
+ "required": false,
15653
+ "type": "string"
15654
+ },
15655
+ {
15656
+ "disabled": false,
15657
+ "document": "录制异常回调级别,可选择:error、warning、info。",
15658
+ "example": "[\"error\"]",
15659
+ "member": "string",
15660
+ "name": "RecordExceptionLevels",
15661
+ "required": false,
15662
+ "type": "list"
15607
15663
  }
15608
15664
  ],
15609
15665
  "type": "object"