tccli 3.0.1300.3__py2.py3-none-any.whl → 3.0.1301.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 (169) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +2 -1
  3. tccli/services/asr/v20190614/api.json +18 -18
  4. tccli/services/batch/v20170312/api.json +14 -14
  5. tccli/services/bh/bh_client.py +623 -93
  6. tccli/services/bh/v20230418/api.json +1054 -32
  7. tccli/services/bh/v20230418/examples.json +93 -1
  8. tccli/services/billing/billing_client.py +4 -57
  9. tccli/services/billing/v20180709/api.json +3 -305
  10. tccli/services/billing/v20180709/examples.json +2 -10
  11. tccli/services/bpaas/v20181217/api.json +56 -56
  12. tccli/services/cat/cat_client.py +61 -8
  13. tccli/services/cat/v20180409/api.json +115 -0
  14. tccli/services/cat/v20180409/examples.json +20 -0
  15. tccli/services/cbs/v20170312/api.json +9 -7
  16. tccli/services/cbs/v20170312/examples.json +2 -2
  17. tccli/services/ccc/ccc_client.py +216 -4
  18. tccli/services/ccc/v20200210/api.json +364 -6
  19. tccli/services/ccc/v20200210/examples.json +32 -0
  20. tccli/services/cdb/v20170320/api.json +23 -14
  21. tccli/services/cdb/v20170320/examples.json +3 -3
  22. tccli/services/cdn/v20180606/api.json +354 -279
  23. tccli/services/cdwch/v20200915/api.json +21 -21
  24. tccli/services/cdwdoris/v20211228/api.json +21 -1
  25. tccli/services/cdwdoris/v20211228/examples.json +4 -4
  26. tccli/services/cdwpg/v20201230/api.json +374 -359
  27. tccli/services/cfw/cfw_client.py +53 -0
  28. tccli/services/cfw/v20190904/api.json +201 -5
  29. tccli/services/cfw/v20190904/examples.json +8 -0
  30. tccli/services/chc/chc_client.py +57 -4
  31. tccli/services/chc/v20230418/api.json +108 -1
  32. tccli/services/chc/v20230418/examples.json +8 -0
  33. tccli/services/ckafka/ckafka_client.py +408 -302
  34. tccli/services/ckafka/v20190819/api.json +197 -2
  35. tccli/services/ckafka/v20190819/examples.json +16 -0
  36. tccli/services/clb/v20180317/api.json +437 -377
  37. tccli/services/clb/v20180317/examples.json +7 -7
  38. tccli/services/cls/cls_client.py +53 -0
  39. tccli/services/cls/v20201016/api.json +86 -3
  40. tccli/services/cls/v20201016/examples.json +11 -3
  41. tccli/services/cvm/v20170312/api.json +147 -147
  42. tccli/services/cvm/v20170312/examples.json +6 -6
  43. tccli/services/cwp/v20180228/api.json +93 -14
  44. tccli/services/cwp/v20180228/examples.json +7 -7
  45. tccli/services/cynosdb/cynosdb_client.py +171 -12
  46. tccli/services/cynosdb/v20190107/api.json +252 -3
  47. tccli/services/cynosdb/v20190107/examples.json +24 -0
  48. tccli/services/dc/v20180410/api.json +1 -1
  49. tccli/services/dlc/v20210125/api.json +746 -656
  50. tccli/services/dlc/v20210125/examples.json +65 -59
  51. tccli/services/dsgc/v20190723/api.json +18 -0
  52. tccli/services/dts/v20211206/api.json +4 -4
  53. tccli/services/dts/v20211206/examples.json +6 -0
  54. tccli/services/emr/emr_client.py +53 -0
  55. tccli/services/emr/v20190103/api.json +127 -0
  56. tccli/services/emr/v20190103/examples.json +8 -0
  57. tccli/services/es/es_client.py +686 -151
  58. tccli/services/es/v20180416/api.json +506 -433
  59. tccli/services/es/v20180416/examples.json +41 -47
  60. tccli/services/es/v20250101/api.json +1391 -0
  61. tccli/services/es/v20250101/examples.json +85 -0
  62. tccli/services/ess/ess_client.py +53 -0
  63. tccli/services/ess/v20201111/api.json +142 -21
  64. tccli/services/ess/v20201111/examples.json +14 -0
  65. tccli/services/essbasic/essbasic_client.py +53 -0
  66. tccli/services/essbasic/v20210526/api.json +112 -9
  67. tccli/services/essbasic/v20210526/examples.json +8 -0
  68. tccli/services/gaap/v20180529/api.json +321 -312
  69. tccli/services/gaap/v20180529/examples.json +2 -2
  70. tccli/services/gs/gs_client.py +538 -8
  71. tccli/services/gs/v20191118/api.json +947 -44
  72. tccli/services/gs/v20191118/examples.json +87 -1
  73. tccli/services/gwlb/v20240906/api.json +56 -37
  74. tccli/services/gwlb/v20240906/examples.json +11 -5
  75. tccli/services/hunyuan/hunyuan_client.py +175 -69
  76. tccli/services/hunyuan/v20230901/api.json +191 -1
  77. tccli/services/hunyuan/v20230901/examples.json +17 -1
  78. tccli/services/ioa/ioa_client.py +227 -15
  79. tccli/services/ioa/v20220601/api.json +479 -0
  80. tccli/services/ioa/v20220601/examples.json +44 -0
  81. tccli/services/iotexplorer/iotexplorer_client.py +322 -4
  82. tccli/services/iotexplorer/v20190423/api.json +865 -52
  83. tccli/services/iotexplorer/v20190423/examples.json +64 -16
  84. tccli/services/iotvideo/iotvideo_client.py +57 -4
  85. tccli/services/iotvideo/v20211125/api.json +146 -0
  86. tccli/services/iotvideo/v20211125/examples.json +8 -0
  87. tccli/services/iotvideoindustry/v20201201/api.json +1 -1
  88. tccli/services/kms/v20190118/api.json +38 -2
  89. tccli/services/lcic/v20220817/api.json +66 -1
  90. tccli/services/lcic/v20220817/examples.json +1 -1
  91. tccli/services/lighthouse/lighthouse_client.py +0 -106
  92. tccli/services/lighthouse/v20200324/api.json +11 -98
  93. tccli/services/lighthouse/v20200324/examples.json +0 -16
  94. tccli/services/live/v20180801/api.json +1 -1
  95. tccli/services/lke/v20231130/api.json +208 -10
  96. tccli/services/lke/v20231130/examples.json +10 -10
  97. tccli/services/lkeap/lkeap_client.py +53 -0
  98. tccli/services/lkeap/v20240522/api.json +48 -4
  99. tccli/services/lkeap/v20240522/examples.json +8 -0
  100. tccli/services/mna/mna_client.py +4 -163
  101. tccli/services/mna/v20210119/api.json +0 -524
  102. tccli/services/mna/v20210119/examples.json +0 -24
  103. tccli/services/monitor/monitor_client.py +114 -8
  104. tccli/services/monitor/v20180724/api.json +124 -13
  105. tccli/services/monitor/v20180724/examples.json +16 -0
  106. tccli/services/mps/v20190612/api.json +1129 -1002
  107. tccli/services/nlp/v20190408/examples.json +1 -1
  108. tccli/services/oceanus/v20190422/api.json +12 -12
  109. tccli/services/oceanus/v20190422/examples.json +15 -3
  110. tccli/services/ocr/v20181119/api.json +13 -3
  111. tccli/services/privatedns/v20201028/api.json +30 -11
  112. tccli/services/privatedns/v20201028/examples.json +10 -10
  113. tccli/services/rce/v20201103/api.json +3 -3
  114. tccli/services/ses/v20201002/api.json +10 -1
  115. tccli/services/smop/v20201203/api.json +2 -2
  116. tccli/services/sqlserver/v20180328/api.json +1 -1
  117. tccli/services/sts/sts_client.py +53 -0
  118. tccli/services/sts/v20180813/api.json +101 -1
  119. tccli/services/sts/v20180813/examples.json +8 -0
  120. tccli/services/taf/taf_client.py +0 -53
  121. tccli/services/taf/v20200210/api.json +0 -138
  122. tccli/services/taf/v20200210/examples.json +0 -8
  123. tccli/services/tan/v20220420/api.json +2 -2
  124. tccli/services/tat/v20201028/api.json +2 -2
  125. tccli/services/tcb/v20180608/api.json +29 -1
  126. tccli/services/tcbr/v20220217/api.json +32 -0
  127. tccli/services/tcr/v20190924/api.json +5 -5
  128. tccli/services/tcr/v20190924/examples.json +2 -2
  129. tccli/services/tcss/v20201101/api.json +84 -34
  130. tccli/services/tcss/v20201101/examples.json +2809 -0
  131. tccli/services/tdmq/v20200217/api.json +40 -0
  132. tccli/services/tdmq/v20200217/examples.json +1 -1
  133. tccli/services/teo/v20220901/api.json +234 -206
  134. tccli/services/teo/v20220901/examples.json +13 -13
  135. tccli/services/tione/tione_client.py +53 -0
  136. tccli/services/tione/v20211111/api.json +256 -0
  137. tccli/services/tione/v20211111/examples.json +8 -0
  138. tccli/services/tke/v20180525/api.json +1 -1
  139. tccli/services/trocket/trocket_client.py +489 -12
  140. tccli/services/trocket/v20230308/api.json +925 -146
  141. tccli/services/trocket/v20230308/examples.json +72 -0
  142. tccli/services/trtc/v20190722/api.json +13 -19
  143. tccli/services/trtc/v20190722/examples.json +8 -8
  144. tccli/services/tse/v20201207/api.json +1016 -995
  145. tccli/services/tse/v20201207/examples.json +2 -2
  146. tccli/services/tsf/v20180326/api.json +510 -465
  147. tccli/services/tsf/v20180326/examples.json +4 -4
  148. tccli/services/tts/v20190823/api.json +10 -10
  149. tccli/services/vclm/v20240523/api.json +2 -2
  150. tccli/services/vcube/v20220410/api.json +10 -0
  151. tccli/services/vdb/v20230616/api.json +10 -0
  152. tccli/services/vdb/v20230616/examples.json +1 -1
  153. tccli/services/vpc/v20170312/api.json +824 -254
  154. tccli/services/vpc/v20170312/examples.json +66 -10
  155. tccli/services/vpc/vpc_client.py +383 -12
  156. tccli/services/vrs/v20200824/api.json +9 -0
  157. tccli/services/waf/v20180125/api.json +8022 -5839
  158. tccli/services/waf/v20180125/examples.json +90 -0
  159. tccli/services/waf/waf_client.py +559 -82
  160. tccli/services/wedata/v20210820/api.json +1379 -24
  161. tccli/services/wedata/v20210820/examples.json +25 -1
  162. tccli/services/wedata/wedata_client.py +171 -12
  163. tccli/services/weilingwith/v20230427/api.json +1 -1
  164. tccli/services/weilingwith/v20230427/examples.json +3 -3
  165. {tccli-3.0.1300.3.dist-info → tccli-3.0.1301.1.dist-info}/METADATA +2 -2
  166. {tccli-3.0.1300.3.dist-info → tccli-3.0.1301.1.dist-info}/RECORD +169 -166
  167. {tccli-3.0.1300.3.dist-info → tccli-3.0.1301.1.dist-info}/WHEEL +0 -0
  168. {tccli-3.0.1300.3.dist-info → tccli-3.0.1301.1.dist-info}/entry_points.txt +0 -0
  169. {tccli-3.0.1300.3.dist-info → tccli-3.0.1301.1.dist-info}/license_files/LICENSE +0 -0
@@ -9862,6 +9862,24 @@
9862
9862
  "name": "Name",
9863
9863
  "required": false,
9864
9864
  "type": "string"
9865
+ },
9866
+ {
9867
+ "disabled": false,
9868
+ "document": "每页返回的记录数",
9869
+ "example": "10",
9870
+ "member": "int64",
9871
+ "name": "Limit",
9872
+ "required": false,
9873
+ "type": "int"
9874
+ },
9875
+ {
9876
+ "disabled": false,
9877
+ "document": "从第几条记录开始返回",
9878
+ "example": "0",
9879
+ "member": "int64",
9880
+ "name": "Offset",
9881
+ "required": false,
9882
+ "type": "int"
9865
9883
  }
9866
9884
  ],
9867
9885
  "type": "object"
@@ -2343,7 +2343,7 @@
2343
2343
  },
2344
2344
  {
2345
2345
  "disabled": false,
2346
- "document": "节点类型,为空或者simple表示普通节点、cluster表示集群节点;对于mongo业务,取值为replicaset(mongodb副本集)、standalone(mongodb单节点)、cluster(mongodb集群);对于redis实例,为空或simple(单节点)、cluster(集群)、cluster-cache(cache集群)、cluster-proxy(代理集群)",
2346
+ "document": "节点类型,simple表示普通节点、cluster表示集群节点;\n对于mongo业务,取值为replicaset(mongodb副本集)、standalone(mongodb单节点)、cluster(mongodb集群);\n对于redis实例,simple(单节点)、cluster-cache(直连集群)、cluster-proxy(代理集群)",
2347
2347
  "example": "simple",
2348
2348
  "member": "string",
2349
2349
  "name": "NodeType",
@@ -2354,7 +2354,7 @@
2354
2354
  },
2355
2355
  {
2356
2356
  "disabled": false,
2357
- "document": "数据库信息",
2357
+ "document": "实例具体的连接信息,如ip、port、接入方式等",
2358
2358
  "example": "无",
2359
2359
  "member": "DBInfo",
2360
2360
  "name": "Info",
@@ -2398,7 +2398,7 @@
2398
2398
  },
2399
2399
  {
2400
2400
  "disabled": false,
2401
- "document": "tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。",
2401
+ "document": "tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。对于mongodb链路,srv表示SRV连接串,为空或不传表示普通连接串,srv仅限于FetchMethod为change_stream的拉取模式",
2402
2402
  "example": "proxy",
2403
2403
  "member": "string",
2404
2404
  "name": "ConnectType",
@@ -6719,7 +6719,7 @@
6719
6719
  "usage": "out"
6720
6720
  },
6721
6721
  "KafkaOption": {
6722
- "document": "目标端为kakfa时添加的同步选项字段",
6722
+ "document": "目标端为kafka时添加的同步选项字段",
6723
6723
  "members": [
6724
6724
  {
6725
6725
  "disabled": false,
@@ -372,6 +372,12 @@
372
372
  "input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMigrationJob\n<公共请求参数>\n\n{\n \"JobId\": \"dts-efyc7e7l\",\n \"JobName\": \"dts-efyc7e7l\",\n \"RunMode\": \"immediate\",\n \"ExpectRunTime\": \"2024-12-20 19:01:07\",\n \"MigrateOption\": {\n \"MigrateType\": \"fullAndIncrement\",\n \"Consistency\": {\n \"Mode\": \"full\"\n },\n \"DatabaseTable\": {\n \"ObjectMode\": \"partial\",\n \"Databases\": [\n {\n \"DbName\": \"db_1\",\n \"NewDbName\": \"\",\n \"SchemaName\": \"\",\n \"NewSchemaName\": \"\",\n \"DBMode\": \"partial\",\n \"SchemaMode\": \"\",\n \"TableMode\": \"partial\",\n \"Tables\": [\n {\n \"TableName\": \"tb_1\",\n \"NewTableName\": \"\",\n \"TmpTables\": [],\n \"TableEditMode\": \"\"\n }\n ],\n \"ViewMode\": \"partial\",\n \"Views\": [\n {\n \"ViewName\": \"view_tb_1\",\n \"NewViewName\": \"\"\n }\n ],\n \"RoleMode\": \"\",\n \"Roles\": [],\n \"FunctionMode\": \"\",\n \"TriggerMode\": \"\",\n \"EventMode\": \"\",\n \"ProcedureMode\": \"\",\n \"Functions\": [],\n \"Procedures\": [],\n \"Events\": [],\n \"Triggers\": []\n }\n ],\n \"AdvancedObjects\": []\n },\n \"IsMigrateAccount\": true,\n \"IsOverrideRoot\": true,\n \"IsDstReadOnly\": true,\n \"ExtraAttr\": []\n },\n \"SrcInfo\": {\n \"Supplier\": \"\",\n \"Region\": \"ap-qingyuan\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"NodeType\": \"\",\n \"Info\": [\n {\n \"Role\": \"\",\n \"DbKernel\": \"\",\n \"Host\": \"\",\n \"Port\": 0,\n \"User\": \"tencent\",\n \"Password\": \"tencent***\",\n \"CvmInstanceId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"UniqDcgId\": \"\",\n \"InstanceId\": \"cdb-4gp2nzqy\",\n \"CcnGwId\": \"\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\",\n \"EngineVersion\": \"8.0\",\n \"Account\": \"\",\n \"AccountRole\": \"\",\n \"AccountMode\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"EncryptConn\": \"Encrypted\"\n }\n ],\n \"ExtraAttr\": [],\n \"DatabaseNetEnv\": \"\"\n },\n \"DstInfo\": {\n \"Supplier\": \"\",\n \"Region\": \"ap-qingyuan\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"NodeType\": \"\",\n \"Info\": [\n {\n \"Role\": \"\",\n \"DbKernel\": \"\",\n \"Host\": \"\",\n \"Port\": 0,\n \"User\": \"tencent\",\n \"Password\": \"tencent***\",\n \"CvmInstanceId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"UniqDcgId\": \"\",\n \"InstanceId\": \"cdb-4gp2nzqy\",\n \"CcnGwId\": \"\",\n \"VpcId\": \"\",\n \"SubnetId\": \"\",\n \"EngineVersion\": \"8.0\",\n \"Account\": \"\",\n \"AccountRole\": \"\",\n \"AccountMode\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"EncryptConn\": \"Encrypted\"\n }\n ],\n \"ExtraAttr\": [],\n \"DatabaseNetEnv\": \"\"\n },\n \"Tags\": [],\n \"AutoRetryTimeRangeMinutes\": 0\n}",
373
373
  "output": "{\n \"Response\": {\n \"RequestId\": \"a3365b29-2042-4565-9206-8df9e2af1a17\"\n }\n}",
374
374
  "title": "配置迁移任务"
375
+ },
376
+ {
377
+ "document": "1.源端为腾讯云redis实例,目标端为AWS实例并以公网的方式连接目标节点信息填写所有分片上的IP/域名、端口、密码等连接信息;注意一定是所有分片节点连接信息都写。\n2.目标端以覆盖写的方式执行,如果要配置其他目标端写入模式,可以参考入参MigrateOption.ExtraAttr中的字段描述。",
378
+ "input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMigrationJob\n<公共请求参数>\n\n{\n \"JobId\": \"dts-n6uzsuxz\",\n \"RunMode\": \"immediate\",\n \"MigrateOption\": {\n \"DatabaseTable\": {\n \"ObjectMode\": \"all\"\n },\n \"MigrateType\": \"fullAndIncrement\",\n \"ExtraAttr\": [\n {\n \"Key\": \"DstWriteMode\",\n \"Value\": \"overwrite\"\n }\n ]\n },\n \"SrcInfo\": {\n \"Region\": \"ap-chengdu\",\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"redis\",\n \"NodeType\": \"simple\",\n \"Info\": [\n {\n \"Password\": \"admin12345\",\n \"InstanceId\": \"crs-lktt4ls3\"\n }\n ]\n },\n \"DstInfo\": {\n \"Region\": \"ap-chengdu\",\n \"AccessType\": \"extranet\",\n \"DatabaseType\": \"redis\",\n \"NodeType\": \"cluster-cache\",\n \"Info\": [\n {\n \"Host\": \"44.223.107.125\",\n \"Port\": 6383\n },\n {\n \"Host\": \"44.223.107.125\",\n \"Port\": 6384\n },\n {\n \"Host\": \"44.223.107.125\",\n \"Port\": 6385\n }\n ]\n }\n}",
379
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4d21a953-4a23-47f1-91a9-84df62f016f3\"\n }\n}",
380
+ "title": "配置一个直连下云的redis迁移任务"
375
381
  }
376
382
  ],
377
383
  "ModifySubscribeAutoRenewFlag": [
@@ -3969,6 +3969,58 @@ def doModifyInspectionSettings(args, parsed_globals):
3969
3969
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3970
3970
 
3971
3971
 
3972
+ def doDescribeInspectionTaskResult(args, parsed_globals):
3973
+ g_param = parse_global_arg(parsed_globals)
3974
+
3975
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3976
+ cred = credential.CVMRoleCredential()
3977
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3978
+ cred = credential.STSAssumeRoleCredential(
3979
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3980
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3981
+ )
3982
+ 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):
3983
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3984
+ else:
3985
+ cred = credential.Credential(
3986
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3987
+ )
3988
+ http_profile = HttpProfile(
3989
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3990
+ reqMethod="POST",
3991
+ endpoint=g_param[OptionsDefine.Endpoint],
3992
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3993
+ )
3994
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3995
+ if g_param[OptionsDefine.Language]:
3996
+ profile.language = g_param[OptionsDefine.Language]
3997
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3998
+ client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile)
3999
+ client._sdkVersion += ("_CLI_" + __version__)
4000
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4001
+ model = models.DescribeInspectionTaskResultRequest()
4002
+ model.from_json_string(json.dumps(args))
4003
+ start_time = time.time()
4004
+ while True:
4005
+ rsp = client.DescribeInspectionTaskResult(model)
4006
+ result = rsp.to_json_string()
4007
+ try:
4008
+ json_obj = json.loads(result)
4009
+ except TypeError as e:
4010
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4011
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4012
+ break
4013
+ cur_time = time.time()
4014
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4015
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4016
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4017
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4018
+ else:
4019
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4020
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4021
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4022
+
4023
+
3972
4024
  def doModifyPodNum(args, parsed_globals):
3973
4025
  g_param = parse_global_arg(parsed_globals)
3974
4026
 
@@ -4212,6 +4264,7 @@ ACTION_MAP = {
4212
4264
  "DescribeEmrOverviewMetrics": doDescribeEmrOverviewMetrics,
4213
4265
  "ModifyInstanceBasic": doModifyInstanceBasic,
4214
4266
  "ModifyInspectionSettings": doModifyInspectionSettings,
4267
+ "DescribeInspectionTaskResult": doDescribeInspectionTaskResult,
4215
4268
  "ModifyPodNum": doModifyPodNum,
4216
4269
  "ScaleOutCluster": doScaleOutCluster,
4217
4270
  "RunJobFlow": doRunJobFlow,
@@ -189,6 +189,13 @@
189
189
  "output": "DescribeInsightListResponse",
190
190
  "status": "online"
191
191
  },
192
+ "DescribeInspectionTaskResult": {
193
+ "document": "获取巡检任务结果列表",
194
+ "input": "DescribeInspectionTaskResultRequest",
195
+ "name": "获取巡检任务结果列表",
196
+ "output": "DescribeInspectionTaskResultResponse",
197
+ "status": "online"
198
+ },
192
199
  "DescribeInstanceRenewNodes": {
193
200
  "document": "查询待续费节点信息",
194
201
  "input": "DescribeInstanceRenewNodesRequest",
@@ -3693,6 +3700,15 @@
3693
3700
  "name": "PrePaySetting",
3694
3701
  "required": false,
3695
3702
  "type": "object"
3703
+ },
3704
+ {
3705
+ "disabled": false,
3706
+ "document": "唯一随机标识,时效性为5分钟,需要调用者指定 防止客户端重复创建资源,例如 a9a90aa6-****-****-****-fae360632808\t",
3707
+ "example": "sdcdwxxxws",
3708
+ "member": "string",
3709
+ "name": "ClientToken",
3710
+ "required": false,
3711
+ "type": "string"
3696
3712
  }
3697
3713
  ],
3698
3714
  "type": "object"
@@ -5594,6 +5610,108 @@
5594
5610
  ],
5595
5611
  "type": "object"
5596
5612
  },
5613
+ "DescribeInspectionTaskResultRequest": {
5614
+ "document": "DescribeInspectionTaskResult请求参数结构体",
5615
+ "members": [
5616
+ {
5617
+ "disabled": false,
5618
+ "document": "实例ID",
5619
+ "example": "emr-mwyixwxp",
5620
+ "member": "string",
5621
+ "name": "InstanceId",
5622
+ "required": true,
5623
+ "type": "string"
5624
+ },
5625
+ {
5626
+ "disabled": false,
5627
+ "document": "类型",
5628
+ "example": "RealTime",
5629
+ "member": "string",
5630
+ "name": "Type",
5631
+ "required": false,
5632
+ "type": "string"
5633
+ },
5634
+ {
5635
+ "disabled": false,
5636
+ "document": "开始时间",
5637
+ "example": "1742110677",
5638
+ "member": "int64",
5639
+ "name": "StartTime",
5640
+ "required": false,
5641
+ "type": "int"
5642
+ },
5643
+ {
5644
+ "disabled": false,
5645
+ "document": "结束时间",
5646
+ "example": "1744702682",
5647
+ "member": "int64",
5648
+ "name": "EndTime",
5649
+ "required": false,
5650
+ "type": "int"
5651
+ },
5652
+ {
5653
+ "disabled": false,
5654
+ "document": "分页大小",
5655
+ "example": "10",
5656
+ "member": "int64",
5657
+ "name": "Limit",
5658
+ "required": false,
5659
+ "type": "int"
5660
+ },
5661
+ {
5662
+ "disabled": false,
5663
+ "document": "分页偏移量",
5664
+ "example": "0",
5665
+ "member": "int64",
5666
+ "name": "Offset",
5667
+ "required": false,
5668
+ "type": "int"
5669
+ }
5670
+ ],
5671
+ "type": "object"
5672
+ },
5673
+ "DescribeInspectionTaskResultResponse": {
5674
+ "document": "DescribeInspectionTaskResult返回参数结构体",
5675
+ "members": [
5676
+ {
5677
+ "disabled": false,
5678
+ "document": "巡检任务记录,base64编码",
5679
+ "example": "W3siSWQiOiI5MDciLCJUaW1lIjoiMjAyNS0wNC0xNSAx",
5680
+ "member": "string",
5681
+ "name": "InspectionResultInfo",
5682
+ "output_required": true,
5683
+ "type": "string",
5684
+ "value_allowed_null": false
5685
+ },
5686
+ {
5687
+ "disabled": false,
5688
+ "document": "记录总数",
5689
+ "example": "1",
5690
+ "member": "int64",
5691
+ "name": "Total",
5692
+ "output_required": true,
5693
+ "type": "int",
5694
+ "value_allowed_null": false
5695
+ },
5696
+ {
5697
+ "disabled": false,
5698
+ "document": "类别信息,base64编码,{\"FixedTime\": \"定时\", \"RealTime\": \"及时\"}",
5699
+ "example": "eyJGaXhlZFRpbWUiOiLlrprml7YiLCJSZWFsVGltZSI6IuWNs+aXtiJ9",
5700
+ "member": "string",
5701
+ "name": "TypeInfo",
5702
+ "output_required": true,
5703
+ "type": "string",
5704
+ "value_allowed_null": false
5705
+ },
5706
+ {
5707
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5708
+ "member": "string",
5709
+ "name": "RequestId",
5710
+ "type": "string"
5711
+ }
5712
+ ],
5713
+ "type": "object"
5714
+ },
5597
5715
  "DescribeInstanceRenewNodesRequest": {
5598
5716
  "document": "DescribeInstanceRenewNodes请求参数结构体",
5599
5717
  "members": [
@@ -12062,6 +12180,15 @@
12062
12180
  "name": "NodeNum",
12063
12181
  "required": true,
12064
12182
  "type": "int"
12183
+ },
12184
+ {
12185
+ "disabled": false,
12186
+ "document": "唯一随机标识,时效性为5分钟,需要调用者指定 防止客户端重复创建资源,例如 a9a90aa6-****-****-****-fae360632808\t",
12187
+ "example": "sdcdwxxxws",
12188
+ "member": "string",
12189
+ "name": "ClientToken",
12190
+ "required": false,
12191
+ "type": "string"
12065
12192
  }
12066
12193
  ],
12067
12194
  "type": "object"
@@ -216,6 +216,14 @@
216
216
  "title": "获取洞察信息"
217
217
  }
218
218
  ],
219
+ "DescribeInspectionTaskResult": [
220
+ {
221
+ "document": "",
222
+ "input": "https://emr.tencentcloudapi.com/?Action=DescribeInspectionTaskResult\r\n&InstanceId=emr-nwb7sg2o\r\n&StartTime=1589900474\r\n&EndTime=1589910630\r\n&<公共请求参数>",
223
+ "output": "{\n \"Response\": {\n \"InspectionResultInfo\": \"W3siSWQiOiI5MDciLCJUaW1lIjoiMjAyNS0wNC0xNSAxNTozNzo1NyIsIk5hbWUiOiJlbXItbXd5aXh3eHBfMjAyNTA0MTVfMTUzNzU3LnBkZiIsIlR5cGUiOiLljbPml7YiLCJTdGF0dXMiOiLmiqXlkYrnlJ/miJDkuK0iLCJMaW5rIjoiLSIsIk9uTGluZVN0YXR1cyI6MX0seyJJZCI6IjkwNiIsIlRpbWUiOiIyMDI1LTA0LTE1IDE1OjAzOjU0IiwiTmFtZSI6ImVtci1td3lpeHd4cF8yMDI1MDQxNV8xNTAzNTQucGRmIiwiVHlwZSI6IuWNs+aXtiIsIlN0YXR1cyI6IuW3sueUn+aIkCIsIkxpbmsiOiJodHRwczovL2Vtcy1pbnNwZWN0aW9uLXJlcG9ydC1jcS0xMjU5MzUzMzQzLmNvcy5hcC1jaG9uZ3FpbmcubXlxY2xvdWQuY29tL2NxL2Vtci1td3lpeHd4cC9lbXItbXd5aXh3eHBfMjAyNTA0MTVfMTUwMzU0LnBkZj9xLXNpZ24tYWxnb3JpdGhtPXNoYTFcdTAwMjZxLWFrPUFLSUR5bEliamJDWGJPdFk5Wm9mSmwxM3JVd0FOQ3FIWGxuWlx1MDAyNnEtc2lnbi10aW1lPTE3NDQ3MDA3MDMlM0IxNzYwNzcxMTAzXHUwMDI2cS1rZXktdGltZT0xNzQ0NzAwNzAzJTNCMTc2MDc3MTEwM1x1MDAyNnEtaGVhZGVyLWxpc3Q9aG9zdFx1MDAyNnEtdXJsLXBhcmFtLWxpc3Q9XHUwMDI2cS1zaWduYXR1cmU9NDcwZGQyNzlmYjg1OTE3MzliYTdkYmYzNDhjOTZlNWZlOWRmMzM0NSIsIk9uTGluZVN0YXR1cyI6Mn1d\",\n \"RequestId\": \"fd0ea005-5d84-4d21-ac87-8e02f7910795\",\n \"Total\": 2,\n \"TypeInfo\": \"eyJGaXhlZFRpbWUiOiLlrprml7YiLCJSZWFsVGltZSI6IuWNs+aXtiJ9\"\n }\n}",
224
+ "title": "【监控】获取巡检任务结果列表"
225
+ }
226
+ ],
219
227
  "DescribeInstanceRenewNodes": [
220
228
  {
221
229
  "document": "预付费集群隔离后续费资源查询",