tccli 3.0.1238.1__py2.py3-none-any.whl → 3.0.1239.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 (58) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cdb/v20170320/api.json +730 -649
  3. tccli/services/cdb/v20170320/examples.json +37 -37
  4. tccli/services/cdwdoris/v20211228/api.json +16 -7
  5. tccli/services/chdfs/v20201112/api.json +95 -78
  6. tccli/services/chdfs/v20201112/examples.json +14 -14
  7. tccli/services/clb/v20180317/api.json +2 -2
  8. tccli/services/cynosdb/v20190107/api.json +370 -365
  9. tccli/services/cynosdb/v20190107/examples.json +39 -39
  10. tccli/services/dbbrain/v20191016/api.json +206 -188
  11. tccli/services/dbbrain/v20191016/examples.json +10 -10
  12. tccli/services/dbbrain/v20210527/api.json +274 -267
  13. tccli/services/dbbrain/v20210527/examples.json +25 -25
  14. tccli/services/dc/v20180410/api.json +101 -41
  15. tccli/services/dc/v20180410/examples.json +5 -5
  16. tccli/services/dts/v20180330/api.json +9 -9
  17. tccli/services/dts/v20180330/examples.json +4 -4
  18. tccli/services/dts/v20211206/api.json +28 -28
  19. tccli/services/dts/v20211206/examples.json +4 -4
  20. tccli/services/eb/v20210416/api.json +2 -2
  21. tccli/services/eb/v20210416/examples.json +2 -2
  22. tccli/services/ecm/v20190719/api.json +267 -224
  23. tccli/services/ecm/v20190719/examples.json +21 -21
  24. tccli/services/ess/v20201111/api.json +21 -3
  25. tccli/services/essbasic/v20210526/api.json +18 -0
  26. tccli/services/facefusion/v20220927/api.json +2 -2
  27. tccli/services/gaap/v20180529/api.json +22 -22
  28. tccli/services/hunyuan/v20230901/api.json +21 -2
  29. tccli/services/lcic/v20220817/api.json +1 -1
  30. tccli/services/lighthouse/v20200324/api.json +4 -4
  31. tccli/services/live/v20180801/api.json +60 -60
  32. tccli/services/live/v20180801/examples.json +37 -37
  33. tccli/services/mongodb/v20180408/api.json +104 -104
  34. tccli/services/mongodb/v20190725/api.json +116 -103
  35. tccli/services/ocr/v20181119/api.json +2 -2
  36. tccli/services/ocr/v20181119/examples.json +1 -1
  37. tccli/services/redis/v20180412/api.json +1 -1
  38. tccli/services/sqlserver/v20180328/api.json +611 -450
  39. tccli/services/sqlserver/v20180328/examples.json +16 -16
  40. tccli/services/tbaas/v20180416/api.json +47 -49
  41. tccli/services/tbaas/v20180416/examples.json +4 -4
  42. tccli/services/tdmq/tdmq_client.py +53 -0
  43. tccli/services/tdmq/v20200217/api.json +61 -0
  44. tccli/services/tdmq/v20200217/examples.json +8 -0
  45. tccli/services/trocket/trocket_client.py +171 -12
  46. tccli/services/trocket/v20230308/api.json +524 -0
  47. tccli/services/trocket/v20230308/examples.json +24 -0
  48. tccli/services/tsf/v20180326/api.json +39 -37
  49. tccli/services/tsf/v20180326/examples.json +16 -16
  50. tccli/services/vod/v20180717/api.json +21 -3
  51. tccli/services/vod/v20180717/examples.json +2 -2
  52. tccli/services/vpc/v20170312/api.json +3 -3
  53. tccli/services/vpc/v20170312/examples.json +4 -4
  54. {tccli-3.0.1238.1.dist-info → tccli-3.0.1239.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.1238.1.dist-info → tccli-3.0.1239.1.dist-info}/RECORD +58 -58
  56. {tccli-3.0.1238.1.dist-info → tccli-3.0.1239.1.dist-info}/WHEEL +0 -0
  57. {tccli-3.0.1238.1.dist-info → tccli-3.0.1239.1.dist-info}/entry_points.txt +0 -0
  58. {tccli-3.0.1238.1.dist-info → tccli-3.0.1239.1.dist-info}/license_files/LICENSE +0 -0
@@ -91,8 +91,8 @@
91
91
  "CreateBusinessIntelligenceFile": [
92
92
  {
93
93
  "document": "",
94
- "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBusinessIntelligenceFile\n<公共请求参数>\n\n{\n \"Remark\": \"aa\",\n \"FileURL\": \"http://xxxxxxxx.cos.ap-guangzhou.myqcloud.com/test.xlsx\",\n \"InstanceId\": \"mssqlbi-fo2dwujt\",\n \"FileType\": \"FLAT\"\n}",
95
- "output": "{\n \"Response\": {\n \"FileTaskId\": \"test.xlsx\",\n \"RequestId\": \"9f36fb2e-ae6b-4d18-b1b3-a79111ce4b33\"\n }\n}",
94
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBusinessIntelligenceFile\n<公共请求参数>\n\n{\n \"Remark\": \"andy\",\n \"FileURL\": \"http://xxxxxxxx.cos.ap-guangzhou.myqcloud.com/test.xlsx\",\n \"InstanceId\": \"mssqlbi-fo2dwujt\",\n \"FileType\": \"FLAT\"\n}",
95
+ "output": "{\n \"Response\": {\n \"FileTaskId\": \"andy.xlsx\",\n \"RequestId\": \"9f36fb2e-ae6b-4d18-b1b3-a79111ce4b33\"\n }\n}",
96
96
  "title": "创建商业智能平面文件"
97
97
  }
98
98
  ],
@@ -116,7 +116,7 @@
116
116
  {
117
117
  "document": "",
118
118
  "input": "https://sqlserver.tencentcloudapi.com/?Action=CreateDB\n&InstanceId=mssql-i1z41iwd\n&DBs.0.DBName=test_db\n&DBs.0.Charset=Chinese_PRC_CI_AS\n&<公共请求参数>",
119
- "output": "{\n \"Response\": {\n \"FlowId\": 123,\n \"RequestId\": \"4be5990d-a4b5-49dc-b2b4-e713b6aa7ba3\"\n }\n}",
119
+ "output": "{\n \"Response\": {\n \"FlowId\": 100364,\n \"RequestId\": \"4be5990d-a4b5-49dc-b2b4-e713b6aa7ba3\"\n }\n}",
120
120
  "title": "创建数据库test_db"
121
121
  }
122
122
  ],
@@ -163,8 +163,8 @@
163
163
  "CutXEvents": [
164
164
  {
165
165
  "document": "",
166
- "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CutXEvents\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}",
167
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
166
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CutXEvents\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-o3851odd\"\n}",
167
+ "output": "{\n \"Response\": {\n \"RequestId\": \"eaf9efa1-3d73-45f9-97f5-f0ea26040b93\"\n }\n}",
168
168
  "title": "手动生成阻塞日志"
169
169
  }
170
170
  ],
@@ -187,7 +187,7 @@
187
187
  "DeleteBusinessIntelligenceFile": [
188
188
  {
189
189
  "document": "",
190
- "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBusinessIntelligenceFile\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssqlbi-fo2dwujt\",\n \"FileNameSet\": [\n \"test.xlsx\"\n ]\n}",
190
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBusinessIntelligenceFile\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssqlbi-fo2dwujt\",\n \"FileNameSet\": [\n \"andy.xlsx\"\n ]\n}",
191
191
  "output": "{\n \"Response\": {\n \"RequestId\": \"b2231cb2-9415-46af-b48f-bab65e06b091\"\n }\n}",
192
192
  "title": "删除商业智能平面文件"
193
193
  }
@@ -252,7 +252,7 @@
252
252
  {
253
253
  "document": "",
254
254
  "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccounts\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-j8kv137v\"\n}",
255
- "output": "{\n \"Response\": {\n \"InstanceId\": \"mssql-632eyp63\",\n \"TotalCount\": 1,\n \"Accounts\": [\n {\n \"Status\": 2,\n \"Remark\": \"--\",\n \"AccountType\": \"L0\",\n \"Host\": \"127.0.0.1\",\n \"Name\": \"xiaowei\",\n \"IsAdmin\": true,\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"InternalStatus\": \"enable\",\n \"Authentication\": \"win-windows\",\n \"PassTime\": \"2020-09-22 00:00:00\",\n \"Dbs\": [\n {\n \"Privilege\": \"ReadOnly\",\n \"DBName\": \"test\"\n }\n ],\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"RequestId\": \"5729760c-db94-4c71-a1ee-ebd43adae189\"\n }\n}",
255
+ "output": "{\n \"Response\": {\n \"InstanceId\": \"mssql-632eyp63\",\n \"TotalCount\": 1,\n \"Accounts\": [\n {\n \"Status\": 2,\n \"Remark\": \"--\",\n \"AccountType\": \"L0\",\n \"Host\": \"127.0.0.1\",\n \"Name\": \"xiaowei\",\n \"IsAdmin\": true,\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"InternalStatus\": \"enable\",\n \"Authentication\": \"win-windows\",\n \"PassTime\": \"2020-09-22 00:00:00\",\n \"Dbs\": [\n {\n \"Privilege\": \"ReadOnly\",\n \"DBName\": \"db1\"\n }\n ],\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"RequestId\": \"5729760c-db94-4c71-a1ee-ebd43adae189\"\n }\n}",
256
256
  "title": "拉取实例账户列表"
257
257
  }
258
258
  ],
@@ -355,7 +355,7 @@
355
355
  "DescribeBusinessIntelligenceFile": [
356
356
  {
357
357
  "document": "",
358
- "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBusinessIntelligenceFile\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"OrderByType\": \"desc\",\n \"OrderBy\": \"create_time\",\n \"InstanceId\": \"mssqlbi-fo2dwujt\",\n \"FileName\": \"test\",\n \"FileType\": \"FLAT\",\n \"StatusSet\": [\n 1\n ]\n}",
358
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBusinessIntelligenceFile\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"OrderByType\": \"desc\",\n \"OrderBy\": \"create_time\",\n \"InstanceId\": \"mssqlbi-fo2dwujt\",\n \"FileName\": \"andy\",\n \"FileType\": \"FLAT\",\n \"StatusSet\": [\n 1\n ]\n}",
359
359
  "output": "{\n \"Response\": {\n \"BackupMigrationSet\": [\n {\n \"Action\": {\n \"AllAction\": [\n \"view\",\n \"remark\",\n \"delete\"\n ],\n \"AllowedAction\": [\n \"view\",\n \"remark\",\n \"delete\"\n ]\n },\n \"CreateTime\": \"2022-08-05 14:14:17\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"FileMd5\": \"\",\n \"FileName\": \"test.xlsx\",\n \"FilePath\": \"D:\\\\SSIS\\\\\",\n \"FileSize\": 0,\n \"FileType\": \"FLAT\",\n \"FileURL\": \"http://sqlserver-gz-test-1251966477.cos.ap-guangzhou.myqcloud.com/test.xlsx\",\n \"InstanceId\": \"mssqlbi-fo2dwujt\",\n \"Message\": \"\",\n \"Remark\": \"Remark\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"Status\": 1\n }\n ],\n \"RequestId\": \"13903852-75f7-4977-9965-aa4babeadbd5\",\n \"TotalCount\": 1\n }\n}",
360
360
  "title": "查询商业智能服务需要的文件"
361
361
  }
@@ -404,7 +404,7 @@
404
404
  {
405
405
  "document": "查询实例在互通组中的状态,内网互通ip用于在SSIS服务中使用。",
406
406
  "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceInter\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20,\n \"InstanceId\": \"mssqlbi-q1atet3b\"\n}",
407
- "output": "{\n \"Response\": {\n \"InterInstanceSet\": [\n {\n \"InstanceId\": \"mssql-30vft2ix\",\n \"InterPort\": 1028,\n \"InterVip\": \"192.168.0.1\",\n \"Name\": \"xxx\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"Version\": \"2012SP3\",\n \"VersionName\": \"SQL Server 2012 Enterprise\",\n \"Vip\": \"192.168.0.2\",\n \"Vport\": 1433,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"InstanceId\": \"mssql-iqnuxv3j\",\n \"InterPort\": 1026,\n \"InterVip\": \"192.168.0.1\",\n \"Name\": \"xxxx\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"Version\": \"2017\",\n \"VersionName\": \"SQL Server 2017 Enterprise\",\n \"Vip\": \"192.168.0.2\",\n \"Vport\": 1433,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"InstanceId\": \"mssql-ngc6786l\",\n \"InterPort\": 1029,\n \"InterVip\": \"192.168.0.1\",\n \"Name\": \"xxxx\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"Version\": \"2008R2\",\n \"VersionName\": \"SQL Server 2008 Enterprise\",\n \"Vip\": \"192.168.0.2\",\n \"Vport\": 1433,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ],\n \"RequestId\": \"ff9c5a56-1d33-4707-b656-a715240635ad\",\n \"TotalCount\": 3\n }\n}",
407
+ "output": "{\n \"Response\": {\n \"InterInstanceSet\": [\n {\n \"InstanceId\": \"mssql-30vft2ix\",\n \"InterPort\": 1028,\n \"InterVip\": \"192.168.0.1\",\n \"Name\": \"andy\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"Version\": \"2012SP3\",\n \"VersionName\": \"SQL Server 2012 Enterprise\",\n \"Vip\": \"192.168.0.2\",\n \"Vport\": 1433,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"InstanceId\": \"mssql-iqnuxv3j\",\n \"InterPort\": 1026,\n \"InterVip\": \"192.168.0.1\",\n \"Name\": \"tom\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"Version\": \"2017\",\n \"VersionName\": \"SQL Server 2017 Enterprise\",\n \"Vip\": \"192.168.0.2\",\n \"Vport\": 1433,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"InstanceId\": \"mssql-ngc6786l\",\n \"InterPort\": 1029,\n \"InterVip\": \"192.168.0.1\",\n \"Name\": \"andy2\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"Version\": \"2008R2\",\n \"VersionName\": \"SQL Server 2008 Enterprise\",\n \"Vip\": \"192.168.0.2\",\n \"Vport\": 1433,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ],\n \"RequestId\": \"ff9c5a56-1d33-4707-b656-a715240635ad\",\n \"TotalCount\": 3\n }\n}",
408
408
  "title": "查询实例在互通组中的状态"
409
409
  }
410
410
  ],
@@ -571,7 +571,7 @@
571
571
  "DescribeMigrationDatabases": [
572
572
  {
573
573
  "document": "",
574
- "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeMigrationDatabases\n&InstanceId=mssql-si2823jyl\n&UserName=sqlserver_admin\n&Password=123456\n&<公共请求参数>",
574
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeMigrationDatabases\n&InstanceId=mssql-si2823jyl\n&UserName=sqlserver_admin\n&Password=Qy2255778899\n&<公共请求参数>",
575
575
  "output": "{\n \"Response\": {\n \"RequestId\": \"4be5990d-a4b5-49dc-b2b4-e713b6aa7ba3\",\n \"Amount\": 3,\n \"MigrateDBSet\": [\n \"Biz-test1\",\n \"Biz-test2\",\n \"Biz-test3\"\n ]\n }\n}",
576
576
  "title": "查询迁移数据库列表"
577
577
  }
@@ -587,8 +587,8 @@
587
587
  "DescribeMigrations": [
588
588
  {
589
589
  "document": "",
590
- "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeMigrations\n&MigrateName=测试\n&Limit=10\n&Offset=0\n&OrderBy=name\n&OrderByType=desc\n&StatusSet.0=1\n&StatusSet.1=4\n&<公共请求参数>",
591
- "output": "{\n \"Response\": {\n \"RequestId\": \"728ba95f-0443-41ec-82c9-44bc8bfc0802\",\n \"TotalCount\": 2,\n \"MigrateTaskSet\": [\n {\n \"MigrateId\": 2734,\n \"MigrateName\": \"测试迁移\",\n \"AppId\": 1251006373,\n \"Region\": \"ap-guangzhou\",\n \"SourceType\": 5,\n \"CreateTime\": \"2018-08-09 11:46:15\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Status\": 1,\n \"Message\": \"\",\n \"CheckFlag\": 0,\n \"Progress\": 0,\n \"MigrateDetail\": {\n \"StepName\": \"\",\n \"Progress\": 0\n }\n },\n {\n \"MigrateId\": 2732,\n \"MigrateName\": \"测试接口\",\n \"AppId\": 1251006373,\n \"Region\": \"ap-guangzhou\",\n \"SourceType\": 5,\n \"CreateTime\": \"2018-08-08 21:03:09\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Status\": 1,\n \"Message\": \"\",\n \"CheckFlag\": 0,\n \"Progress\": 0,\n \"MigrateDetail\": {\n \"StepName\": \"\",\n \"Progress\": 0\n }\n }\n ]\n }\n}",
590
+ "input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeMigrations\n&MigrateName=andy_Migrate\n&Limit=10\n&Offset=0\n&OrderBy=name\n&OrderByType=desc\n&StatusSet.0=1\n&StatusSet.1=4\n&<公共请求参数>",
591
+ "output": "{\n \"Response\": {\n \"RequestId\": \"728ba95f-0443-41ec-82c9-44bc8bfc0802\",\n \"TotalCount\": 2,\n \"MigrateTaskSet\": [\n {\n \"MigrateId\": 2734,\n \"MigrateName\": \"andy_Migrate\",\n \"AppId\": 1251006373,\n \"Region\": \"ap-guangzhou\",\n \"SourceType\": 5,\n \"CreateTime\": \"2018-08-09 11:46:15\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Status\": 1,\n \"Message\": \"\",\n \"CheckFlag\": 0,\n \"Progress\": 0,\n \"MigrateDetail\": {\n \"StepName\": \"\",\n \"Progress\": 0\n }\n },\n {\n \"MigrateId\": 2732,\n \"MigrateName\": \"andy_Migrate2\",\n \"AppId\": 1251006373,\n \"Region\": \"ap-guangzhou\",\n \"SourceType\": 5,\n \"CreateTime\": \"2018-08-08 21:03:09\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Status\": 1,\n \"Message\": \"\",\n \"CheckFlag\": 0,\n \"Progress\": 0,\n \"MigrateDetail\": {\n \"StepName\": \"\",\n \"Progress\": 0\n }\n }\n ]\n }\n}",
592
592
  "title": "查询迁移任务列表"
593
593
  }
594
594
  ],
@@ -684,7 +684,7 @@
684
684
  {
685
685
  "document": "查询回档任务列表",
686
686
  "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRestoreTask\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-aju981jo\",\n \"RestoreType\": 0,\n \"TargetRegion\": \"ap-shanghai\",\n \"TargetType\": 2,\n \"Status\": 1,\n \"StartTime\": \"2023-04-12: 00:00:00\",\n \"EndTime\": \"2023-04-12: 00:00:00\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"OrderBy\": \"startTime\",\n \"OrderByType\": \"desc\"\n}",
687
- "output": "{\n \"Response\": {\n \"RequestId\": \"88310080-925d-11ed-981b-c7bf72df626c\",\n \"Tasks\": [\n {\n \"TargetInstanceId\": \"mssql-892932uiu\",\n \"TargetInstanceName\": \"test\",\n \"TargetInstanceStatus\": 2,\n \"TargetRegion\": \"ap-guangzhou\",\n \"TargetType\": 0,\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"RestoreId\": 1012,\n \"RestoreTime\": \"2023-01-12 16:22:48\",\n \"RestoreType\": 0,\n \"StartTime\": \"2023-01-12 16:22:55\",\n \"Status\": 0,\n \"FlowId\": 100\n }\n ],\n \"TotalCount\": 1\n }\n}",
687
+ "output": "{\n \"Response\": {\n \"RequestId\": \"88310080-925d-11ed-981b-c7bf72df626c\",\n \"Tasks\": [\n {\n \"TargetInstanceId\": \"mssql-892932uiu\",\n \"TargetInstanceName\": \"andy\",\n \"TargetInstanceStatus\": 2,\n \"TargetRegion\": \"ap-guangzhou\",\n \"TargetType\": 0,\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"RestoreId\": 1012,\n \"RestoreTime\": \"2023-01-12 16:22:48\",\n \"RestoreType\": 0,\n \"StartTime\": \"2023-01-12 16:22:55\",\n \"Status\": 0,\n \"FlowId\": 100\n }\n ],\n \"TotalCount\": 1\n }\n}",
688
688
  "title": "查询回档任务列表"
689
689
  }
690
690
  ],
@@ -715,7 +715,7 @@
715
715
  "DescribeSpecSellStatus": [
716
716
  {
717
717
  "document": "查询规格的参考价格",
718
- "input": "{\n \"Currency\": \"CNY\",\n \"DBVersion\": \"2016SP1\",\n \"PayMode\": \"POST\",\n \"Pid\": 1003456,\n \"SpecIdSet\": [\n 62\n ],\n \"Zone\": \"ap-guangzhou-3\"\n}",
718
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSpecSellStatus\n<公共请求参数>\n\n{\n \"Currency\": \"CNY\",\n \"DBVersion\": \"2016SP1\",\n \"PayMode\": \"POST\",\n \"Pid\": 1003456,\n \"SpecIdSet\": [\n 62\n ],\n \"Zone\": \"ap-guangzhou-3\"\n}",
719
719
  "output": "{\n \"Response\": {\n \"DescribeSpecSellStatusSet\": [\n {\n \"Architecture\": \"SINGLE\",\n \"Id\": \"11000036233\",\n \"InstanceType\": \"SI\",\n \"MultiZonesStatus\": \"Invalid\",\n \"PayModeStatus\": \"ALL\",\n \"Price\": {\n \"PostpaidPrice\": 47,\n \"PostpaidPriceUnit\": \"H\",\n \"PrepaidPrice\": 26000,\n \"PrepaidPriceUnit\": \"M\"\n },\n \"SpecId\": 62,\n \"Status\": 1,\n \"Style\": \"EXCLUSIVE\",\n \"Version\": \"2016SP1\",\n \"ZoneStatusSet\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Region\": \"ap-guangzhou\",\n \"Status\": 3,\n \"Zone\": \"ap-guangzhou-4\"\n },\n {\n \"Region\": \"ap-guangzhou\",\n \"Status\": 1,\n \"Zone\": \"ap-guangzhou-6\"\n },\n {\n \"Region\": \"ap-singapore\",\n \"Status\": 1,\n \"Zone\": \"ap-singapore-2\"\n },\n {\n \"Region\": \"ap-singapore\",\n \"Status\": 1,\n \"Zone\": \"ap-singapore-1\"\n },\n {\n \"Region\": \"ap-hongkong\",\n \"Status\": 1,\n \"Zone\": \"ap-hongkong-2\"\n },\n {\n \"Region\": \"ap-shanghai\",\n \"Status\": 1,\n \"Zone\": \"ap-shanghai-2\"\n },\n {\n \"Region\": \"ap-shanghai\",\n \"Status\": 1,\n \"Zone\": \"ap-shanghai-3\"\n },\n {\n \"Region\": \"ap-shanghai\",\n \"Status\": 1,\n \"Zone\": \"ap-shanghai-4\"\n },\n {\n \"Region\": \"ap-shanghai\",\n \"Status\": 1,\n \"Zone\": \"ap-shanghai-5\"\n },\n {\n \"Region\": \"ap-beijing\",\n \"Status\": 1,\n \"Zone\": \"ap-beijing-2\"\n },\n {\n \"Region\": \"ap-beijing\",\n \"Status\": 1,\n \"Zone\": \"ap-beijing-3\"\n },\n {\n \"Region\": \"ap-beijing\",\n \"Status\": 1,\n \"Zone\": \"ap-beijing-5\"\n },\n {\n \"Region\": \"ap-beijing\",\n \"Status\": 1,\n \"Zone\": \"ap-beijing-6\"\n },\n {\n \"Region\": \"ap-beijing\",\n \"Status\": 1,\n \"Zone\": \"ap-beijing-7\"\n },\n {\n \"Region\": \"ap-nanjing\",\n \"Status\": 1,\n \"Zone\": \"ap-nanjing-1\"\n },\n {\n \"Region\": \"ap-nanjing\",\n \"Status\": 1,\n \"Zone\": \"ap-nanjing-2\"\n }\n ]\n }\n ],\n \"RequestId\": \"df9508b2-db7c-43ac-91dc-3ba19433ae09\"\n }\n}",
720
720
  "title": "查询规格的参考价格"
721
721
  }
@@ -922,7 +922,7 @@
922
922
  {
923
923
  "document": "",
924
924
  "input": "https://sqlserver.tencentcloudapi.com/?Action=ModifyDBName\n&InstanceId=mssql-i1z41iwd\n&OldDBName=test_db\n&NewDBName=test_db_newname\n&<公共请求参数>",
925
- "output": "{\n \"Response\": {\n \"FlowId\": 123,\n \"RequestId\": \"4be5990d-a4b5-49dc-b2b4-e713b6aa7ba3\"\n }\n}",
925
+ "output": "{\n \"Response\": {\n \"FlowId\": 100281,\n \"RequestId\": \"4be5990d-a4b5-49dc-b2b4-e713b6aa7ba3\"\n }\n}",
926
926
  "title": "修改数据库名"
927
927
  }
928
928
  ],
@@ -1143,7 +1143,7 @@
1143
1143
  "RollbackInstance": [
1144
1144
  {
1145
1145
  "document": "本接口(RollbackInstance)用于按照时间点回档数据库",
1146
- "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollbackInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-aj89iq78\",\n \"Type\": 1,\n \"DBs\": [\n \"abc\"\n ],\n \"Time\": \"2020-09-22 00:00:00\",\n \"TargetInstanceId\": \"mssql-aj89iq79\",\n \"RenameRestore\": [\n {\n \"OldName\": \"abc\",\n \"NewName\": \"abc\"\n }\n ]\n}",
1146
+ "input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollbackInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-aj89iq78\",\n \"Type\": 1,\n \"DBs\": [\n \"db1\"\n ],\n \"Time\": \"2020-09-22 00:00:00\",\n \"TargetInstanceId\": \"mssql-aj89iq79\",\n \"RenameRestore\": [\n {\n \"OldName\": \"db1\",\n \"NewName\": \"db2\"\n }\n ]\n}",
1147
1147
  "output": "{\n \"Response\": {\n \"FlowId\": 100023,\n \"RequestId\": \"cd7a35be-2fbf-f3a6-210a-ea9afe158817\"\n }\n}",
1148
1148
  "title": "按照时间点回档数据库"
1149
1149
  }
@@ -352,50 +352,50 @@
352
352
  {
353
353
  "disabled": false,
354
354
  "document": "区块编号",
355
- "example": "",
355
+ "example": "1",
356
356
  "member": "uint64",
357
357
  "name": "BlockNum",
358
- "required": true,
358
+ "output_required": true,
359
359
  "type": "int",
360
360
  "value_allowed_null": false
361
361
  },
362
362
  {
363
363
  "disabled": false,
364
364
  "document": "区块数据Hash数值",
365
- "example": "",
365
+ "example": "6a3f18885016cafea3380732d8d867cdb655799135c466f1cd4a0456291fed13 ",
366
366
  "member": "string",
367
367
  "name": "DataHash",
368
- "required": true,
368
+ "output_required": true,
369
369
  "type": "string",
370
370
  "value_allowed_null": false
371
371
  },
372
372
  {
373
373
  "disabled": false,
374
374
  "document": "区块ID,与区块编号一致",
375
- "example": "",
375
+ "example": "1",
376
376
  "member": "uint64",
377
377
  "name": "BlockId",
378
- "required": true,
378
+ "output_required": true,
379
379
  "type": "int",
380
380
  "value_allowed_null": false
381
381
  },
382
382
  {
383
383
  "disabled": false,
384
384
  "document": "前一个区块Hash",
385
- "example": "",
385
+ "example": "1d40d9c1fc8929c0b5ba4048f6a756543695664976cec7c8ac76e587587dfa01 ",
386
386
  "member": "string",
387
387
  "name": "PreHash",
388
- "required": true,
388
+ "output_required": true,
389
389
  "type": "string",
390
390
  "value_allowed_null": false
391
391
  },
392
392
  {
393
393
  "disabled": false,
394
394
  "document": "区块内的交易数量",
395
- "example": "",
395
+ "example": "1",
396
396
  "member": "uint64",
397
397
  "name": "TxCount",
398
- "required": true,
398
+ "output_required": true,
399
399
  "type": "int",
400
400
  "value_allowed_null": false
401
401
  }
@@ -524,7 +524,7 @@
524
524
  {
525
525
  "disabled": false,
526
526
  "document": "合约执行结果\n注意:此字段可能返回 null,表示取不到有效值。",
527
- "example": "{}",
527
+ "example": "[{\\\"contract_name\\\":\\\"ChainMakerDemo\\\",\\\"contract_version\\\":\\\"v1\\\"}]",
528
528
  "member": "string",
529
529
  "name": "ContractEvent",
530
530
  "output_required": true,
@@ -778,7 +778,7 @@
778
778
  {
779
779
  "disabled": false,
780
780
  "document": "交易所属合约",
781
- "example": "abc",
781
+ "example": "fact",
782
782
  "member": "string",
783
783
  "name": "ChaincodeName",
784
784
  "output_required": false,
@@ -788,7 +788,7 @@
788
788
  {
789
789
  "disabled": false,
790
790
  "document": "交易数据,base64编码,解码后为json化的字符串",
791
- "example": "eyJjaGFpbmNvZGVfc3BlYyI6eyJjaGFpbmNvZGVfaWQiOnsibmFtZSI6Il9saWZlY3ljbGUiLCJwYXRoIjoiIiwidmVyc2lvbiI6IiJ9LCJpbnB1dCI6eyJhcmdzIjpbIkNvbW1pdENoYWluY29kZURlZmluaXRpb24iLCJcdTAwMDhcdTAwMDFcdTAwMTJcdTAwMDNteWNcdTAwMWFcdTAwMDR2MS4wXCJcdTAwMDRlc2NjKlx1MDAwNHZzY2MyMVxuL1x1MDAxMlx1MDAwOFx1MDAxMlx1MDAwNlx1MDAwOFx1MDAwMVx1MDAxMlx1MDAwMlx1MDAwOFx1MDAwMFx1MDAxYSNcdTAwMTIhXG5cdTAwMWZvcmctMjUxMDA1NzQ2LmZhYnJpYy02NXo0MnFpMTUwOlx1MDAwMCJdLCJkZWNvcmF0aW9ucyI6e30sImlzX2luaXQiOmZhbHNlfSwidGltZW91dCI6MCwidHlwZSI6IlVOREVGSU5FRCJ9fQ==",
791
+ "example": "eyJjaGFpbmNvZGVfc3BlYyI6eyJ0aW1lb3V0IjowLCJ0eXBlIjoiVU5ERUZJTkVEIn19",
792
792
  "member": "string",
793
793
  "name": "TransactionData",
794
794
  "output_required": false,
@@ -912,20 +912,20 @@
912
912
  {
913
913
  "disabled": false,
914
914
  "document": "背书组织名称",
915
- "example": "",
915
+ "example": "org1",
916
916
  "member": "string",
917
917
  "name": "EndorserGroupName",
918
- "required": true,
918
+ "output_required": true,
919
919
  "type": "string",
920
920
  "value_allowed_null": false
921
921
  },
922
922
  {
923
923
  "disabled": false,
924
924
  "document": "背书节点列表",
925
- "example": "",
925
+ "example": "[\"peer-org1\",\"peer-org2\"]",
926
926
  "member": "string",
927
927
  "name": "EndorserPeerList",
928
- "required": true,
928
+ "output_required": true,
929
929
  "type": "list",
930
930
  "value_allowed_null": false
931
931
  }
@@ -2030,7 +2030,7 @@
2030
2030
  {
2031
2031
  "disabled": false,
2032
2032
  "document": "合约名称,可在合约管理中获取",
2033
- "example": "test",
2033
+ "example": "fact",
2034
2034
  "member": "string",
2035
2035
  "name": "ContractName",
2036
2036
  "required": true,
@@ -2075,6 +2075,7 @@
2075
2075
  "example": "无",
2076
2076
  "member": "ChainMakerContractResult",
2077
2077
  "name": "Result",
2078
+ "output_required": true,
2078
2079
  "type": "object",
2079
2080
  "value_allowed_null": true
2080
2081
  },
@@ -2111,7 +2112,7 @@
2111
2112
  {
2112
2113
  "disabled": false,
2113
2114
  "document": "合约名称,可在合约列表或合约详情获取",
2114
- "example": "test",
2115
+ "example": "fact",
2115
2116
  "member": "string",
2116
2117
  "name": "ChaincodeName",
2117
2118
  "required": true,
@@ -2333,22 +2334,20 @@
2333
2334
  {
2334
2335
  "disabled": false,
2335
2336
  "document": "节点名称",
2336
- "example": "",
2337
+ "example": "peer1-org1.fabric-xdfsdss",
2337
2338
  "member": "string",
2338
2339
  "name": "PeerName",
2339
2340
  "required": true,
2340
- "type": "string",
2341
- "value_allowed_null": false
2341
+ "type": "string"
2342
2342
  },
2343
2343
  {
2344
2344
  "disabled": false,
2345
2345
  "document": "组织名称",
2346
- "example": "",
2346
+ "example": "org1.fabric-xdfsdss",
2347
2347
  "member": "string",
2348
2348
  "name": "OrgName",
2349
2349
  "required": true,
2350
- "type": "string",
2351
- "value_allowed_null": false
2350
+ "type": "string"
2352
2351
  }
2353
2352
  ],
2354
2353
  "usage": "in"
@@ -2611,7 +2610,7 @@
2611
2610
  {
2612
2611
  "disabled": false,
2613
2612
  "document": "合约名称,可在合约管理中获取",
2614
- "example": "test",
2613
+ "example": "fact",
2615
2614
  "member": "string",
2616
2615
  "name": "ContractName",
2617
2616
  "required": true,
@@ -2647,6 +2646,7 @@
2647
2646
  "example": "无",
2648
2647
  "member": "ChainMakerContractResult",
2649
2648
  "name": "Result",
2649
+ "output_required": true,
2650
2650
  "type": "object",
2651
2651
  "value_allowed_null": true
2652
2652
  },
@@ -2791,7 +2791,7 @@
2791
2791
  {
2792
2792
  "disabled": false,
2793
2793
  "document": "合约名称,可在合约列表或合约详情获取",
2794
- "example": "test",
2794
+ "example": "fact",
2795
2795
  "member": "string",
2796
2796
  "name": "ChaincodeName",
2797
2797
  "required": true,
@@ -2979,18 +2979,16 @@
2979
2979
  "member": "string",
2980
2980
  "name": "CertMark",
2981
2981
  "required": true,
2982
- "type": "string",
2983
- "value_allowed_null": false
2982
+ "type": "string"
2984
2983
  },
2985
2984
  {
2986
2985
  "disabled": false,
2987
2986
  "document": "用户申请签名证书所需要的证书请求文件的base64编码",
2988
- "example": "test",
2987
+ "example": "-----BEGINCERTIFICATEREQUEST-----",
2989
2988
  "member": "string",
2990
2989
  "name": "SignCsrContent",
2991
2990
  "required": true,
2992
- "type": "string",
2993
- "value_allowed_null": false
2991
+ "type": "string"
2994
2992
  }
2995
2993
  ],
2996
2994
  "usage": "in"
@@ -3073,7 +3071,7 @@
3073
3071
  {
3074
3072
  "disabled": false,
3075
3073
  "document": "交易ID\n注意:此字段可能返回 null,表示取不到有效值。",
3076
- "example": "abc",
3074
+ "example": "af5b8ec2e660461f9a32ec3c9ec151688a1c83e6ebb94815a21e84fbc29cf7c2",
3077
3075
  "member": "string",
3078
3076
  "name": "TxId",
3079
3077
  "output_required": false,
@@ -3139,80 +3137,80 @@
3139
3137
  {
3140
3138
  "disabled": false,
3141
3139
  "document": "交易ID",
3142
- "example": "",
3140
+ "example": "0af5b0ae129b0435aa4ec8547c7500f428673dee363331f2f5f8d61d49e43e68",
3143
3141
  "member": "string",
3144
3142
  "name": "TransactionId",
3145
- "required": true,
3143
+ "output_required": true,
3146
3144
  "type": "string",
3147
3145
  "value_allowed_null": false
3148
3146
  },
3149
3147
  {
3150
3148
  "disabled": false,
3151
3149
  "document": "交易hash",
3152
- "example": "",
3150
+ "example": "b5e398182b07bbde523e63804ee24690323bd5e190db99da079a00af2d71b652",
3153
3151
  "member": "string",
3154
3152
  "name": "TransactionHash",
3155
- "required": true,
3153
+ "output_required": true,
3156
3154
  "type": "string",
3157
3155
  "value_allowed_null": false
3158
3156
  },
3159
3157
  {
3160
3158
  "disabled": false,
3161
3159
  "document": "创建交易的组织名",
3162
- "example": "",
3160
+ "example": "org1",
3163
3161
  "member": "string",
3164
3162
  "name": "CreateOrgName",
3165
- "required": true,
3163
+ "output_required": true,
3166
3164
  "type": "string",
3167
3165
  "value_allowed_null": false
3168
3166
  },
3169
3167
  {
3170
3168
  "disabled": false,
3171
3169
  "document": "交易所在区块号",
3172
- "example": "",
3170
+ "example": "3",
3173
3171
  "member": "uint64",
3174
3172
  "name": "BlockId",
3175
- "required": true,
3173
+ "output_required": true,
3176
3174
  "type": "int",
3177
3175
  "value_allowed_null": false
3178
3176
  },
3179
3177
  {
3180
3178
  "disabled": false,
3181
3179
  "document": "交易类型(普通交易和配置交易)",
3182
- "example": "",
3180
+ "example": "ENDORSER_TRANSACTION",
3183
3181
  "member": "string",
3184
3182
  "name": "TransactionType",
3185
- "required": true,
3183
+ "output_required": true,
3186
3184
  "type": "string",
3187
3185
  "value_allowed_null": false
3188
3186
  },
3189
3187
  {
3190
3188
  "disabled": false,
3191
3189
  "document": "交易创建时间",
3192
- "example": "",
3190
+ "example": "2020-01-06 22:18:15",
3193
3191
  "member": "string",
3194
3192
  "name": "CreateTime",
3195
- "required": true,
3193
+ "output_required": true,
3196
3194
  "type": "string",
3197
3195
  "value_allowed_null": false
3198
3196
  },
3199
3197
  {
3200
3198
  "disabled": false,
3201
3199
  "document": "交易所在区块高度",
3202
- "example": "",
3200
+ "example": "3",
3203
3201
  "member": "uint64",
3204
3202
  "name": "BlockHeight",
3205
- "required": true,
3203
+ "output_required": true,
3206
3204
  "type": "int",
3207
3205
  "value_allowed_null": false
3208
3206
  },
3209
3207
  {
3210
3208
  "disabled": false,
3211
3209
  "document": "交易状态",
3212
- "example": "",
3210
+ "example": "VALID",
3213
3211
  "member": "string",
3214
3212
  "name": "TransactionStatus",
3215
- "required": true,
3213
+ "output_required": true,
3216
3214
  "type": "string",
3217
3215
  "value_allowed_null": false
3218
3216
  }
@@ -121,7 +121,7 @@
121
121
  "InvokeChainMakerDemoContract": [
122
122
  {
123
123
  "document": "调用长安链体验网络合约执行交易",
124
- "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeChainMakerDemoContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_test\",\n \"FuncParam\": \"{\\\"time\\\":\\\"2021-07-26\\\",\\\"file_hash\\\":\\\"123456\\\",\\\"file_name\\\":\\\"test.jpg\\\"}\",\n \"ClusterId\": \"chainmaker-demo\",\n \"FuncName\": \"save\",\n \"AsyncFlag\": \"0\",\n \"ContractName\": \"test\"\n}",
124
+ "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeChainMakerDemoContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_test\",\n \"FuncParam\": \"{\\\"time\\\":\\\"2021-07-26\\\",\\\"file_hash\\\":\\\"123456\\\",\\\"file_name\\\":\\\"test.jpg\\\"}\",\n \"ClusterId\": \"chainmaker-demo\",\n \"FuncName\": \"save\",\n \"AsyncFlag\": \"0\",\n \"ContractName\": \"fact\"\n}",
125
125
  "output": "{\n \"Response\": {\n \"RequestId\": \"2974e7ac-72e2-49c3-ae39-bc2bc6a7330b\",\n \"Result\": {\n \"Code\": 0,\n \"CodeMessage\": \"OK\",\n \"Message\": \"\",\n \"TxId\": \"963b8210f10e45e6ab6fe5cd37ba7f6719db5948a38c494ca9137fa2b8c9033d\",\n \"GasUsed\": 9573483,\n \"Result\": \"b2s=\"\n }\n }\n}",
126
126
  "title": "调用长安链体验网络合约执行交易"
127
127
  }
@@ -129,7 +129,7 @@
129
129
  "InvokeFabricChaincode": [
130
130
  {
131
131
  "document": "InvokeFabricChaincode",
132
- "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeFabricChaincode\n<公共请求参数>\n\n{\n \"ClusterId\": \"fabric-65z42qi150\",\n \"ChannelId\": \"channel-9xej4d\",\n \"ChaincodeName\": \"mytest\",\n \"FuncName\": \"Set\",\n \"FuncParam\": [\n \"D\",\n \"40\"\n ],\n \"WithAsyncResult\": false\n}",
132
+ "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvokeFabricChaincode\n<公共请求参数>\n\n{\n \"ClusterId\": \"fabric-65z42qi150\",\n \"ChannelId\": \"channel-9xej4d\",\n \"ChaincodeName\": \"fact\",\n \"FuncName\": \"Set\",\n \"FuncParam\": [\n \"D\",\n \"40\"\n ],\n \"WithAsyncResult\": false\n}",
133
133
  "output": "{\n \"Response\": {\n \"RequestId\": \"bab100f3-be40-415c-b29b-3a44c77b25fe\",\n \"TxId\": \"0595a33e308170b035e0d97c1a79274ac55badf048c0c8fc569719e14a2990c5\",\n \"TxResult\": \"\",\n \"TxStatus\": \"VALID\"\n }\n}",
134
134
  "title": "InvokeFabricChaincode"
135
135
  }
@@ -169,7 +169,7 @@
169
169
  "QueryChainMakerDemoContract": [
170
170
  {
171
171
  "document": "调用长安链体验网络合约查询",
172
- "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryChainMakerDemoContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_test\",\n \"ClusterId\": \"chainmaker-demo\",\n \"ContractName\": \"test\",\n \"FuncParam\": \"{\\\"file_hash\\\":\\\"1234567\\\"}\",\n \"FuncName\": \"find_by_file_hash\"\n}",
172
+ "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryChainMakerDemoContract\n<公共请求参数>\n\n{\n \"ChainId\": \"chain_test\",\n \"ClusterId\": \"chainmaker-demo\",\n \"ContractName\": \"fact\",\n \"FuncParam\": \"{\\\"file_hash\\\":\\\"1234567\\\"}\",\n \"FuncName\": \"find_by_file_hash\"\n}",
173
173
  "output": "{\n \"Response\": {\n \"RequestId\": \"fac6ef5a-7637-4a75-a2d3-0f7d87b5b8b5\",\n \"Result\": {\n \"Code\": 0,\n \"CodeMessage\": \"OK\",\n \"Message\": \"\",\n \"TxId\": \"3ae794a658af4a219f849f5891d7a390eae524de4d614339ace2411059aaa19c\",\n \"GasUsed\": 6100540,\n \"Result\": \"b2s=\"\n }\n }\n}",
174
174
  "title": "调用长安链体验网络合约查询"
175
175
  }
@@ -193,7 +193,7 @@
193
193
  "QueryFabricChaincode": [
194
194
  {
195
195
  "document": "QueryFabricChaincode",
196
- "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryFabricChaincode\n<公共请求参数>\n\n{\n \"ClusterId\": \"fabric-65z42qi150\",\n \"ChannelId\": \"channel-9xej4d\",\n \"ChaincodeName\": \"mytest\",\n \"FuncName\": \"Get\",\n \"FuncParam\": [\n \"A\"\n ]\n}",
196
+ "input": "POST / HTTP/1.1\nHost: tbaas.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryFabricChaincode\n<公共请求参数>\n\n{\n \"ClusterId\": \"fabric-65z42qi150\",\n \"ChannelId\": \"channel-9xej4d\",\n \"ChaincodeName\": \"fact\",\n \"FuncName\": \"Get\",\n \"FuncParam\": [\n \"A\"\n ]\n}",
197
197
  "output": "{\n \"Response\": {\n \"RequestId\": \"e431d04c-2a5c-43b4-a480-f127b3f46eb6\",\n \"TxId\": \"030acb112f9f2aa2ce537fea9d94d2f3c9ec6cf8e05aa62f5d3746167825dbe8\",\n \"TxResult\": \"10\",\n \"TxStatus\": \"VALID\"\n }\n}",
198
198
  "title": "QueryFabricChaincode"
199
199
  }
@@ -4073,6 +4073,58 @@ def doDeleteRocketMQTopic(args, parsed_globals):
4073
4073
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4074
4074
 
4075
4075
 
4076
+ def doRetryRocketMQDlqMessage(args, parsed_globals):
4077
+ g_param = parse_global_arg(parsed_globals)
4078
+
4079
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4080
+ cred = credential.CVMRoleCredential()
4081
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4082
+ cred = credential.STSAssumeRoleCredential(
4083
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4084
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4085
+ )
4086
+ 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):
4087
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4088
+ else:
4089
+ cred = credential.Credential(
4090
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4091
+ )
4092
+ http_profile = HttpProfile(
4093
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4094
+ reqMethod="POST",
4095
+ endpoint=g_param[OptionsDefine.Endpoint],
4096
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4097
+ )
4098
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4099
+ if g_param[OptionsDefine.Language]:
4100
+ profile.language = g_param[OptionsDefine.Language]
4101
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4102
+ client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
4103
+ client._sdkVersion += ("_CLI_" + __version__)
4104
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4105
+ model = models.RetryRocketMQDlqMessageRequest()
4106
+ model.from_json_string(json.dumps(args))
4107
+ start_time = time.time()
4108
+ while True:
4109
+ rsp = client.RetryRocketMQDlqMessage(model)
4110
+ result = rsp.to_json_string()
4111
+ try:
4112
+ json_obj = json.loads(result)
4113
+ except TypeError as e:
4114
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4115
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4116
+ break
4117
+ cur_time = time.time()
4118
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4119
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4120
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4121
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4122
+ else:
4123
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4124
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4125
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4126
+
4127
+
4076
4128
  def doDescribeRocketMQSmoothMigrationTaskList(args, parsed_globals):
4077
4129
  g_param = parse_global_arg(parsed_globals)
4078
4130
 
@@ -7646,6 +7698,7 @@ ACTION_MAP = {
7646
7698
  "DescribeRabbitMQNodeList": doDescribeRabbitMQNodeList,
7647
7699
  "DescribeBindVpcs": doDescribeBindVpcs,
7648
7700
  "DeleteRocketMQTopic": doDeleteRocketMQTopic,
7701
+ "RetryRocketMQDlqMessage": doRetryRocketMQDlqMessage,
7649
7702
  "DescribeRocketMQSmoothMigrationTaskList": doDescribeRocketMQSmoothMigrationTaskList,
7650
7703
  "ExportRocketMQMessageDetail": doExportRocketMQMessageDetail,
7651
7704
  "DescribeRabbitMQQueues": doDescribeRabbitMQQueues,