tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.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 (282) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/configure.py +46 -1
  5. tccli/credentials.py +25 -0
  6. tccli/main.py +6 -2
  7. tccli/plugins/sso/__init__.py +61 -0
  8. tccli/plugins/sso/configs.py +4 -0
  9. tccli/plugins/sso/configure.py +45 -0
  10. tccli/plugins/sso/login.py +144 -0
  11. tccli/plugins/sso/logout.py +21 -0
  12. tccli/plugins/sso/terminal.py +161 -0
  13. tccli/plugins/sso/texts.py +40 -0
  14. tccli/services/__init__.py +6 -3
  15. tccli/services/acp/v20220105/api.json +7 -7
  16. tccli/services/acp/v20220105/examples.json +2 -2
  17. tccli/services/aiart/v20221229/api.json +29 -29
  18. tccli/services/aiart/v20221229/examples.json +8 -8
  19. tccli/services/apigateway/v20180808/api.json +18 -17
  20. tccli/services/apigateway/v20180808/examples.json +12 -12
  21. tccli/services/apm/v20210622/api.json +118 -4
  22. tccli/services/asr/v20190614/api.json +21 -20
  23. tccli/services/asr/v20190614/examples.json +13 -13
  24. tccli/services/autoscaling/v20180419/api.json +371 -309
  25. tccli/services/autoscaling/v20180419/examples.json +17 -17
  26. tccli/services/batch/v20170312/api.json +7 -7
  27. tccli/services/bda/v20200324/api.json +39 -31
  28. tccli/services/bda/v20200324/examples.json +9 -9
  29. tccli/services/bh/__init__.py +4 -0
  30. tccli/services/bh/bh_client.py +3428 -0
  31. tccli/services/bh/v20230418/api.json +8180 -0
  32. tccli/services/bh/v20230418/examples.json +519 -0
  33. tccli/services/bi/v20220105/api.json +80 -4
  34. tccli/services/bi/v20220105/examples.json +1 -1
  35. tccli/services/billing/billing_client.py +53 -0
  36. tccli/services/billing/v20180709/api.json +330 -24
  37. tccli/services/billing/v20180709/examples.json +8 -0
  38. tccli/services/bsca/v20210811/api.json +223 -18
  39. tccli/services/bsca/v20210811/examples.json +4 -4
  40. tccli/services/btoe/v20210514/api.json +4 -4
  41. tccli/services/btoe/v20210514/examples.json +2 -2
  42. tccli/services/ca/v20230228/api.json +60 -0
  43. tccli/services/cam/v20190116/api.json +11 -11
  44. tccli/services/cat/v20180409/api.json +9 -0
  45. tccli/services/cbs/v20170312/api.json +200 -188
  46. tccli/services/cbs/v20170312/examples.json +4 -4
  47. tccli/services/ccc/ccc_client.py +53 -0
  48. tccli/services/ccc/v20200210/api.json +541 -325
  49. tccli/services/ccc/v20200210/examples.json +26 -18
  50. tccli/services/cdb/cdb_client.py +13 -13
  51. tccli/services/cdb/v20170320/api.json +308 -274
  52. tccli/services/cdb/v20170320/examples.json +38 -38
  53. tccli/services/cdc/v20201214/api.json +283 -270
  54. tccli/services/cdc/v20201214/examples.json +26 -26
  55. tccli/services/cdn/v20180606/api.json +5 -3
  56. tccli/services/cds/v20180420/api.json +82 -76
  57. tccli/services/cds/v20180420/examples.json +1 -1
  58. tccli/services/cdwch/v20200915/api.json +1 -1
  59. tccli/services/cdwdoris/v20211228/api.json +54 -4
  60. tccli/services/cdz/v20221123/api.json +41 -5
  61. tccli/services/cfg/v20210820/api.json +31 -0
  62. tccli/services/cfs/v20190719/api.json +89 -1
  63. tccli/services/cfs/v20190719/examples.json +1 -1
  64. tccli/services/cfw/cfw_client.py +0 -53
  65. tccli/services/cfw/v20190904/api.json +1895 -2011
  66. tccli/services/cfw/v20190904/examples.json +175 -171
  67. tccli/services/ciam/v20220331/api.json +316 -315
  68. tccli/services/ciam/v20220331/examples.json +49 -49
  69. tccli/services/ckafka/v20190819/api.json +104 -75
  70. tccli/services/clb/v20180317/api.json +48 -26
  71. tccli/services/clb/v20180317/examples.json +1 -1
  72. tccli/services/cloudapp/v20220530/api.json +5 -1
  73. tccli/services/cloudaudit/cloudaudit_client.py +30 -30
  74. tccli/services/cloudaudit/v20190319/api.json +254 -211
  75. tccli/services/cloudaudit/v20190319/examples.json +19 -19
  76. tccli/services/cloudstudio/v20230508/api.json +38 -37
  77. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  78. tccli/services/cls/cls_client.py +216 -4
  79. tccli/services/cls/v20201016/api.json +935 -147
  80. tccli/services/cls/v20201016/examples.json +43 -5
  81. tccli/services/csip/v20221121/api.json +2566 -2386
  82. tccli/services/csip/v20221121/examples.json +108 -108
  83. tccli/services/cvm/v20170312/api.json +191 -112
  84. tccli/services/cvm/v20170312/examples.json +2 -2
  85. tccli/services/cwp/cwp_client.py +4 -110
  86. tccli/services/cwp/v20180228/api.json +6498 -6252
  87. tccli/services/cwp/v20180228/examples.json +372 -412
  88. tccli/services/cynosdb/v20190107/api.json +170 -110
  89. tccli/services/cynosdb/v20190107/examples.json +91 -91
  90. tccli/services/dasb/v20191018/api.json +859 -637
  91. tccli/services/dasb/v20191018/examples.json +101 -101
  92. tccli/services/dcdb/dcdb_client.py +114 -61
  93. tccli/services/dcdb/v20180411/api.json +141 -7
  94. tccli/services/dcdb/v20180411/examples.json +32 -0
  95. tccli/services/dlc/v20210125/api.json +21 -11
  96. tccli/services/dnspod/dnspod_client.py +417 -46
  97. tccli/services/dnspod/v20210323/api.json +751 -30
  98. tccli/services/dnspod/v20210323/examples.json +62 -0
  99. tccli/services/domain/v20180808/api.json +3 -3
  100. tccli/services/domain/v20180808/examples.json +3 -3
  101. tccli/services/dts/v20211206/api.json +4 -4
  102. tccli/services/eb/v20210416/api.json +15 -15
  103. tccli/services/eb/v20210416/examples.json +1 -1
  104. tccli/services/ecm/v20190719/api.json +2 -2
  105. tccli/services/emr/v20190103/api.json +339 -114
  106. tccli/services/emr/v20190103/examples.json +64 -82
  107. tccli/services/es/es_client.py +249 -37
  108. tccli/services/es/v20180416/api.json +550 -0
  109. tccli/services/es/v20180416/examples.json +33 -1
  110. tccli/services/ess/ess_client.py +53 -0
  111. tccli/services/ess/v20201111/api.json +192 -38
  112. tccli/services/ess/v20201111/examples.json +35 -9
  113. tccli/services/essbasic/essbasic_client.py +106 -0
  114. tccli/services/essbasic/v20210526/api.json +287 -60
  115. tccli/services/essbasic/v20210526/examples.json +58 -18
  116. tccli/services/facefusion/v20181201/api.json +47 -45
  117. tccli/services/facefusion/v20181201/examples.json +2 -2
  118. tccli/services/facefusion/v20220927/api.json +54 -48
  119. tccli/services/facefusion/v20220927/examples.json +5 -5
  120. tccli/services/faceid/v20180301/api.json +497 -496
  121. tccli/services/faceid/v20180301/examples.json +219 -101
  122. tccli/services/fmu/v20191213/api.json +59 -67
  123. tccli/services/fmu/v20191213/examples.json +22 -22
  124. tccli/services/ft/v20200304/api.json +53 -57
  125. tccli/services/ft/v20200304/examples.json +14 -14
  126. tccli/services/gaap/v20180529/api.json +44 -26
  127. tccli/services/gaap/v20180529/examples.json +24 -30
  128. tccli/services/gme/v20180711/api.json +21 -11
  129. tccli/services/gme/v20180711/examples.json +1 -1
  130. tccli/services/hai/v20230812/api.json +116 -9
  131. tccli/services/hai/v20230812/examples.json +4 -4
  132. tccli/services/hunyuan/hunyuan_client.py +436 -12
  133. tccli/services/hunyuan/v20230901/api.json +1482 -118
  134. tccli/services/hunyuan/v20230901/examples.json +82 -18
  135. tccli/services/iai/v20180301/api.json +23 -19
  136. tccli/services/iai/v20180301/examples.json +2 -2
  137. tccli/services/iai/v20200303/api.json +530 -511
  138. tccli/services/iai/v20200303/examples.json +116 -86
  139. tccli/services/ig/__init__.py +4 -0
  140. tccli/services/ig/ig_client.py +195 -0
  141. tccli/services/ig/v20210518/api.json +83 -0
  142. tccli/services/ig/v20210518/examples.json +13 -0
  143. tccli/services/ioa/ioa_client.py +53 -0
  144. tccli/services/ioa/v20220601/api.json +662 -413
  145. tccli/services/ioa/v20220601/examples.json +24 -10
  146. tccli/services/iotexplorer/v20190423/api.json +73 -13
  147. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  148. tccli/services/iotvideo/iotvideo_client.py +106 -0
  149. tccli/services/iotvideo/v20191126/api.json +256 -24
  150. tccli/services/iotvideo/v20191126/examples.json +19 -3
  151. tccli/services/iotvideo/v20201215/api.json +1 -1
  152. tccli/services/iotvideo/v20201215/examples.json +1 -1
  153. tccli/services/iotvideo/v20211125/api.json +1 -1
  154. tccli/services/iotvideo/v20211125/examples.json +2 -2
  155. tccli/services/iss/iss_client.py +69 -122
  156. tccli/services/iss/v20230517/api.json +10 -54
  157. tccli/services/iss/v20230517/examples.json +0 -14
  158. tccli/services/kms/v20190118/api.json +301 -268
  159. tccli/services/kms/v20190118/examples.json +45 -51
  160. tccli/services/lcic/lcic_client.py +159 -0
  161. tccli/services/lcic/v20220817/api.json +273 -1
  162. tccli/services/lcic/v20220817/examples.json +24 -0
  163. tccli/services/lighthouse/v20200324/api.json +56 -0
  164. tccli/services/live/live_client.py +159 -0
  165. tccli/services/live/v20180801/api.json +279 -9
  166. tccli/services/live/v20180801/examples.json +24 -0
  167. tccli/services/lke/v20231130/api.json +17 -17
  168. tccli/services/lke/v20231130/examples.json +19 -25
  169. tccli/services/mariadb/v20170312/api.json +7 -7
  170. tccli/services/market/v20191010/api.json +3 -3
  171. tccli/services/market/v20191010/examples.json +2 -2
  172. tccli/services/mmps/v20200710/api.json +47 -47
  173. tccli/services/mmps/v20200710/examples.json +3 -3
  174. tccli/services/mongodb/v20190725/api.json +10 -12
  175. tccli/services/monitor/v20180724/api.json +46 -19
  176. tccli/services/mps/v20190612/api.json +282 -5
  177. tccli/services/mps/v20190612/examples.json +25 -1
  178. tccli/services/mqtt/v20240516/api.json +2 -2
  179. tccli/services/mrs/v20200910/api.json +72 -34
  180. tccli/services/mrs/v20200910/examples.json +2 -2
  181. tccli/services/ms/v20180408/api.json +535 -506
  182. tccli/services/ms/v20180408/examples.json +25 -25
  183. tccli/services/oceanus/v20190422/api.json +130 -0
  184. tccli/services/ocr/ocr_client.py +232 -20
  185. tccli/services/ocr/v20181119/api.json +2263 -758
  186. tccli/services/ocr/v20181119/examples.json +200 -180
  187. tccli/services/omics/v20221128/api.json +614 -553
  188. tccli/services/omics/v20221128/examples.json +9 -9
  189. tccli/services/organization/organization_client.py +352 -34
  190. tccli/services/organization/v20210331/api.json +464 -4
  191. tccli/services/organization/v20210331/examples.json +49 -1
  192. tccli/services/partners/v20180321/api.json +244 -234
  193. tccli/services/partners/v20180321/examples.json +19 -19
  194. tccli/services/privatedns/privatedns_client.py +428 -4
  195. tccli/services/privatedns/v20201028/api.json +815 -11
  196. tccli/services/privatedns/v20201028/examples.json +64 -0
  197. tccli/services/pts/v20210728/api.json +18 -0
  198. tccli/services/pts/v20210728/examples.json +1 -1
  199. tccli/services/rce/rce_client.py +53 -0
  200. tccli/services/rce/v20201103/api.json +146 -0
  201. tccli/services/rce/v20201103/examples.json +8 -0
  202. tccli/services/redis/v20180412/api.json +42 -42
  203. tccli/services/redis/v20180412/examples.json +19 -19
  204. tccli/services/region/v20220627/api.json +1 -1
  205. tccli/services/rum/v20210622/api.json +9 -0
  206. tccli/services/scf/scf_client.py +269 -4
  207. tccli/services/scf/v20180416/api.json +569 -15
  208. tccli/services/scf/v20180416/examples.json +47 -1
  209. tccli/services/smop/v20201203/api.json +46 -42
  210. tccli/services/smop/v20201203/examples.json +2 -2
  211. tccli/services/soe/v20180724/api.json +10 -10
  212. tccli/services/sqlserver/v20180328/api.json +21 -8
  213. tccli/services/sqlserver/v20180328/examples.json +5 -5
  214. tccli/services/ssl/v20191205/api.json +98 -5
  215. tccli/services/ssm/v20190923/api.json +292 -231
  216. tccli/services/ssm/v20190923/examples.json +42 -42
  217. tccli/services/tat/v20201028/api.json +124 -122
  218. tccli/services/tat/v20201028/examples.json +24 -30
  219. tccli/services/tchd/v20230306/api.json +5 -5
  220. tccli/services/tchd/v20230306/examples.json +3 -3
  221. tccli/services/tcr/v20190924/api.json +1 -1
  222. tccli/services/tcr/v20190924/examples.json +1 -1
  223. tccli/services/tcss/v20201101/api.json +1984 -1437
  224. tccli/services/tcss/v20201101/examples.json +350 -368
  225. tccli/services/tdmq/v20200217/api.json +603 -464
  226. tccli/services/tdmq/v20200217/examples.json +105 -105
  227. tccli/services/tds/v20220801/api.json +4 -4
  228. tccli/services/tem/v20210701/api.json +429 -372
  229. tccli/services/tem/v20210701/examples.json +85 -85
  230. tccli/services/teo/teo_client.py +277 -12
  231. tccli/services/teo/v20220901/api.json +1029 -124
  232. tccli/services/teo/v20220901/examples.json +84 -8
  233. tccli/services/thpc/v20230321/api.json +5 -5
  234. tccli/services/tke/tke_client.py +270 -58
  235. tccli/services/tke/v20180525/api.json +79 -27
  236. tccli/services/tke/v20180525/examples.json +9 -1
  237. tccli/services/tke/v20220501/api.json +176 -0
  238. tccli/services/tke/v20220501/examples.json +24 -0
  239. tccli/services/tms/tms_client.py +4 -57
  240. tccli/services/tms/v20201229/api.json +0 -354
  241. tccli/services/tms/v20201229/examples.json +0 -8
  242. tccli/services/tmt/v20180321/api.json +38 -8
  243. tccli/services/trp/v20210515/api.json +86 -74
  244. tccli/services/trp/v20210515/examples.json +65 -65
  245. tccli/services/trro/v20220325/api.json +72 -71
  246. tccli/services/trro/v20220325/examples.json +8 -8
  247. tccli/services/trtc/trtc_client.py +8 -61
  248. tccli/services/trtc/v20190722/api.json +293 -52
  249. tccli/services/trtc/v20190722/examples.json +3 -11
  250. tccli/services/tse/tse_client.py +110 -4
  251. tccli/services/tse/v20201207/api.json +122 -7
  252. tccli/services/tse/v20201207/examples.json +25 -9
  253. tccli/services/vclm/v20240523/api.json +225 -82
  254. tccli/services/vclm/v20240523/examples.json +13 -19
  255. tccli/services/vod/v20180717/api.json +431 -4
  256. tccli/services/vod/v20180717/examples.json +25 -5
  257. tccli/services/vod/v20240718/api.json +11 -11
  258. tccli/services/vod/v20240718/examples.json +4 -4
  259. tccli/services/vod/vod_client.py +53 -0
  260. tccli/services/vpc/v20170312/api.json +1195 -892
  261. tccli/services/vpc/v20170312/examples.json +84 -68
  262. tccli/services/vpc/vpc_client.py +168 -62
  263. tccli/services/waf/v20180125/api.json +2611 -2187
  264. tccli/services/waf/v20180125/examples.json +224 -284
  265. tccli/services/waf/waf_client.py +225 -119
  266. tccli/services/wav/v20210129/api.json +48 -48
  267. tccli/services/wav/v20210129/examples.json +4 -4
  268. tccli/services/wedata/v20210820/api.json +1595 -25
  269. tccli/services/wedata/v20210820/examples.json +44 -4
  270. tccli/services/wedata/wedata_client.py +265 -0
  271. tccli/services/weilingwith/v20230427/api.json +6 -6
  272. tccli/services/weilingwith/v20230427/examples.json +3 -3
  273. tccli/sso.py +229 -0
  274. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
  275. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
  276. tccli/services/cr/__init__.py +0 -4
  277. tccli/services/cr/cr_client.py +0 -1626
  278. tccli/services/cr/v20180321/api.json +0 -2829
  279. tccli/services/cr/v20180321/examples.json +0 -235
  280. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  281. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  282. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,35 +1,49 @@
1
1
  {
2
2
  "actions": {
3
+ "CreateDeviceVirtualGroup": [
4
+ {
5
+ "document": "创建自定义分组接口",
6
+ "input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDeviceVirtualGroup\n<公共请求参数>\n\n{\n \"OsType\": 0,\n \"Description\": \"obsolete\",\n \"DeviceVirtualGroupName\": \"auottest1666336897100\"\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc372a3-885d-4c26-815b-799afb0ada55\",\n \"Data\": {\n \"Id\": 356\n }\n }\n}",
8
+ "title": "示例1"
9
+ },
10
+ {
11
+ "document": "创建终端自定义分组",
12
+ "input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDeviceVirtualGroup\n<公共请求参数>\n\n{\n \"DeviceVirtualGroupName\": \"auto7\",\n \"Description\": \"自动分组测试\",\n \"OsType\": 0,\n \"TimeType\": 3,\n \"AutoMinute\": 10,\n \"AutoRules\": {\n \"SimpleRules\": [\n {\n \"Expressions\": [\n {\n \"Items\": [\n {\n \"Key\": \"mid\",\n \"Operate\": \"等于\",\n \"Value\": \"111111111\"\n }\n ]\n }\n ]\n }\n ]\n }\n}",
13
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Id\": 9\n },\n \"RequestId\": \"088bd8af-4ff1-448c-8e48-6d4e860df5cc\"\n }\n}",
14
+ "title": "示例2"
15
+ }
16
+ ],
3
17
  "DescribeAccountGroups": [
4
18
  {
5
19
  "document": "",
6
- "input": "Path : /capi/Assets/DescribeAccountGroups\n\n<body>\n\n{\n \"Condition\":{\n \"PageNum\":0,\n \"PageSize\":10,\n \"Sort\":{\n \"Field\":\"Itime\",\n \"Order\":\"desc\"\n }\n },\n \"ParentId\":1\n}",
7
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [\n {\n \"Source\": 0,\n \"IdPath\": \"1.30\",\n \"ImportType\": \"zijian\",\n \"Id\": 30,\n \"UserTotal\": 0,\n \"IsLeaf\": false,\n \"ReadOnly\": false,\n \"ParentId\": 1,\n \"ExtraInfo\": \"\",\n \"OrgId\": \"30\",\n \"NamePath\": \"分组路径\",\n \"Description\": \"\",\n \"IdPathArr\": [\n 1,\n 30\n ],\n \"Utime\": \"2022-07-21 10:24:11\",\n \"Name\": \"用户名\",\n \"Itime\": \"2022-07-21 10:24:11\",\n \"ParentOrgId\": \"0\",\n \"MiniIamId\": \"\"\n }\n ],\n \"Page\": {\n \"PageSize\": 10,\n \"PageNum\": 0,\n \"Total\": 4,\n \"PageCount\": 1\n }\n },\n \"RequestId\": \"1658388211.551832\"\n }\n}",
8
- "title": "查询账号列表"
20
+ "input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccountGroups\n<公共请求参数>\n\n{\n \"Deepin\": 1,\n \"Condition\": {\n \"Filters\": [\n {\n \"Field\": \"Name\",\n \"Operator\": \"like\",\n \"Values\": [\n \"研发\"\n ]\n }\n ]\n },\n \"ParentId\": 82119\n}",
21
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [\n {\n \"Description\": \"这是一个研发部门\",\n \"ExtraInfo\": \"{\\\"salt\\\": \\\"5b52ea107e85a7b46d2c1b15a5faf722\\\"}\",\n \"Id\": 510945,\n \"IdPath\": \"14632.82119.510943.510945\",\n \"IdPathArr\": [\n 14632,\n 82119,\n 510943,\n 510945\n ],\n \"ImportType\": \"zijian\",\n \"IsLeaf\": false,\n \"Itime\": \"2024-10-21 14:34:01\",\n \"LatestSyncResult\": \"Success\",\n \"LatestSyncTime\": \"2024-10-20 09:00:01\",\n \"MiniIamId\": \"13178683927JH5h7jtvXdCqPLKnC46gC\",\n \"Name\": \"研发部\",\n \"NamePath\": \"全网账户.pf自建.集团.研发部\",\n \"OrgId\": \"510945\",\n \"ParentId\": 510943,\n \"ParentOrgId\": \"510943\",\n \"ReadOnly\": false,\n \"Source\": 0,\n \"UserTotal\": 1,\n \"Utime\": \"2024-10-21 14:34:16\"\n },\n {\n \"Description\": \"这是一个研发组\",\n \"ExtraInfo\": \"{\\\"salt\\\": \\\"5b52ea107e85a7b46d2c1b15a5faf722\\\"}\",\n \"Id\": 510947,\n \"IdPath\": \"14632.82119.510943.510945.510947\",\n \"IdPathArr\": [\n 14632,\n 82119,\n 510943,\n 510945,\n 510947\n ],\n \"ImportType\": \"zijian\",\n \"IsLeaf\": true,\n \"Itime\": \"2024-10-21 14:34:37\",\n \"LatestSyncResult\": \"Success\",\n \"LatestSyncTime\": \"2024-10-20 09:00:01\",\n \"MiniIamId\": \"13178683927JH5h7jtvXdCqPLKnC46gC\",\n \"Name\": \"研发一组\",\n \"NamePath\": \"全网账户.pf自建.集团.研发部.研发一组\",\n \"OrgId\": \"510947\",\n \"ParentId\": 510945,\n \"ParentOrgId\": \"510945\",\n \"ReadOnly\": false,\n \"Source\": 0,\n \"UserTotal\": 0,\n \"Utime\": \"2024-10-21 14:34:37\"\n },\n {\n \"Description\": \"这是另一个研发组\",\n \"ExtraInfo\": \"{\\\"salt\\\": \\\"5b52ea107e85a7b46d2c1b15a5faf722\\\"}\",\n \"Id\": 510948,\n \"IdPath\": \"14632.82119.510943.510945.510948\",\n \"IdPathArr\": [\n 14632,\n 82119,\n 510943,\n 510945,\n 510948\n ],\n \"ImportType\": \"zijian\",\n \"IsLeaf\": true,\n \"Itime\": \"2024-10-21 14:34:52\",\n \"LatestSyncResult\": \"Success\",\n \"LatestSyncTime\": \"2024-10-20 09:00:01\",\n \"MiniIamId\": \"13178683927JH5h7jtvXdCqPLKnC46gC\",\n \"Name\": \"研发二组\",\n \"NamePath\": \"全网账户.pf自建.集团.研发部.研发二组\",\n \"OrgId\": \"510948\",\n \"ParentId\": 510945,\n \"ParentOrgId\": \"510945\",\n \"ReadOnly\": false,\n \"Source\": 0,\n \"UserTotal\": 1,\n \"Utime\": \"2024-10-21 14:34:52\"\n }\n ],\n \"Page\": {\n \"PageCount\": 1,\n \"PageNum\": 0,\n \"PageSize\": 10,\n \"Total\": 3\n }\n },\n \"RequestId\": \"365d01ca-41d2-45b8-97d5-b8e5ce2c5148\"\n }\n}",
22
+ "title": "查询账号分组列表"
9
23
  }
10
24
  ],
11
25
  "DescribeDevices": [
12
26
  {
13
27
  "document": "获取租户满足条件:最近登录账号包含\\'cc\\'(不区分大小写)的设备列表详情",
14
28
  "input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDevices\n<公共请求参数>\n\n{\n \"Condition\": {\n \"FilterGroups\": [\n {\n \"Filters\": [\n {\n \"Field\": \"IOAUserName\",\n \"Operator\": \"ilike\",\n \"Values\": [\n \"cc\"\n ]\n }\n ]\n }\n ],\n \"PageSize\": 10,\n \"PageNum\": 1\n },\n \"GroupId\": 93,\n \"OsType\": 0\n}",
15
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [\n {\n \"AccountGroupId\": 0,\n \"AccountGroupName\": \"test\",\n \"AccountName\": \"cc\",\n \"AccountUsers\": \"\",\n \"BaseBoardSn\": \"\",\n \"ComputerName\": \"DESKTOP-AL8RU6H\",\n \"ConnActiveTime\": \"2023-12-01T12:11:47.076416+08:00\",\n \"CriticalVulListCount\": 0,\n \"DeviceNewStrategyVer\": \"2023-12-01 12:11:00\",\n \"DeviceStrategyVer\": \"2023-12-01 11:10:00\",\n \"DomainName\": \"\",\n \"FirewallStatus\": 1,\n \"GroupId\": 93,\n \"GroupName\": \"未分组终端\",\n \"GroupNamePath\": \"全网终端.未分组终端\",\n \"HostId\": 0,\n \"HostName\": \"\",\n \"IOAUserName\": \"cc\",\n \"Id\": 54,\n \"IdentityNewStrategyVer\": \"\",\n \"IdentityStrategyVer\": \"\",\n \"Ip\": \"113.108.77.51\",\n \"Itime\": \"2023-12-01T09:37:38.505458+08:00\",\n \"LocalIpList\": \"192.168.0.128\",\n \"Locked\": 0,\n \"MacAddr\": \"00:0C:29:10:00:5C\",\n \"Mid\": \"75129D715480905B6A9C4569893C7634656938E2\",\n \"NGNNewStrategyVer\": \"2023-11-20 15:54:00\",\n \"NGNStrategyVer\": \"2023-11-20 15:54:00\",\n \"Name\": \"DESKTOP-AL8RU6H\",\n \"OnlineStatus\": 1,\n \"OsType\": 0,\n \"RiskCount\": 0,\n \"SerialNum\": \"VMware-56 4d 76 2d d7 24 e1 ab-43 f3 af 25 e3 10 00 5c\",\n \"StrVersion\": \"209.12.18590.201\",\n \"SysRepVersion\": \"2023.11.30.19.52.38\",\n \"Tags\": \"\",\n \"UserName\": \"cc\",\n \"Version\": \"58828322890449097\",\n \"VirusVer\": \"2.0.13712.288\",\n \"VulCount\": 0,\n \"VulCriticalList\": [],\n \"VulVersion\": \"2023.11.21.16.28.52\"\n },\n {\n \"AccountGroupId\": 0,\n \"AccountGroupName\": \"test\",\n \"AccountName\": \"cc\",\n \"AccountUsers\": \"\",\n \"BaseBoardSn\": \"\",\n \"ComputerName\": \"DESKTOP-AL8RU6H\",\n \"ConnActiveTime\": \"2023-11-29T17:53:33.715333+08:00\",\n \"CriticalVulListCount\": 0,\n \"DeviceNewStrategyVer\": \"2023-12-01 12:11:00\",\n \"DeviceStrategyVer\": \"2023-11-29 17:42:00\",\n \"DomainName\": \"\",\n \"FirewallStatus\": 1,\n \"GroupId\": 93,\n \"GroupName\": \"未分组终端\",\n \"GroupNamePath\": \"全网终端.未分组终端\",\n \"HostId\": 0,\n \"HostName\": \"\",\n \"IOAUserName\": \"cc\",\n \"Id\": 51,\n \"IdentityNewStrategyVer\": \"\",\n \"IdentityStrategyVer\": \"\",\n \"Ip\": \"113.108.77.60\",\n \"Itime\": \"2023-11-29T17:26:42.200203+08:00\",\n \"LocalIpList\": \"192.168.0.128\",\n \"Locked\": 0,\n \"MacAddr\": \"00:0C:29:10:00:5C\",\n \"Mid\": \"75129D715480905B6A9C4569893C7634656703D2\",\n \"NGNNewStrategyVer\": \"2023-11-20 15:54:00\",\n \"NGNStrategyVer\": \"2023-11-20 15:54:00\",\n \"Name\": \"DESKTOP-AL8RU6H\",\n \"OnlineStatus\": 1,\n \"OsType\": 0,\n \"RiskCount\": 0,\n \"SerialNum\": \"VMware-56 4d 76 2d d7 24 e1 ab-43 f3 af 25 e3 10 00 5c\",\n \"StrVersion\": \"107.1.18559.201\",\n \"SysRepVersion\": \"2023.11.29.12.55.06\",\n \"Tags\": \"\",\n \"UserName\": \"cc\",\n \"Version\": \"30117828019290313\",\n \"VirusVer\": \"2.0.13712.60\",\n \"VulCount\": 0,\n \"VulCriticalList\": [],\n \"VulVersion\": \"2023.11.21.16.28.52\"\n }\n ],\n \"Paging\": {\n \"PageCount\": 1,\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"Total\": 2\n }\n },\n \"RequestId\": \"807938c5-9308-4c87-918d-e84a05f226a1\"\n }\n}",
29
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [\n {\n \"AccountGroupId\": 298,\n \"AccountGroupName\": \"cc\",\n \"AccountName\": \"cc\",\n \"AccountUsers\": \"cc\",\n \"BaseBoardSn\": \"N0CV1740MB0020008\",\n \"ComputerName\": \"DESKTOP-AL8RU6H\",\n \"ConnActiveTime\": \"2023-12-01T12:11:47.076416+08:00\",\n \"CriticalVulListCount\": 0,\n \"DeviceNewStrategyVer\": \"2023-12-01 12:11:00\",\n \"DeviceStrategyVer\": \"2023-12-01 11:10:00\",\n \"DomainName\": \"obsolete\",\n \"FirewallStatus\": 1,\n \"GroupId\": 93,\n \"GroupName\": \"未分组终端\",\n \"GroupNamePath\": \"全网终端.未分组终端\",\n \"HostId\": 0,\n \"HostName\": \"obsolete\",\n \"IOAUserName\": \"cc\",\n \"Id\": 54,\n \"IdentityNewStrategyVer\": \"2024-11-06 02:44:00\",\n \"IdentityStrategyVer\": \"2024-10-24 22:33:00\",\n \"Ip\": \"113.108.77.51\",\n \"Itime\": \"2023-12-01T09:37:38.505458+08:00\",\n \"LocalIpList\": \"192.168.0.128\",\n \"Locked\": 0,\n \"MacAddr\": \"00:0C:29:10:00:5C\",\n \"Mid\": \"75129D715480905B6A9C4569893C7634656938E2\",\n \"NGNNewStrategyVer\": \"2023-11-20 15:54:00\",\n \"NGNStrategyVer\": \"2023-11-20 15:54:00\",\n \"Name\": \"DESKTOP-AL8RU6H\",\n \"OnlineStatus\": 1,\n \"OsType\": 0,\n \"RiskCount\": 0,\n \"SerialNum\": \"VMware-56 4d 76 2d d7 24 e1 ab-43 f3 af 25 e3 10 00 5c\",\n \"StrVersion\": \"209.12.18590.201\",\n \"SysRepVersion\": \"2023.11.30.19.52.38\",\n \"Tags\": \"commpany assert\",\n \"UserName\": \"cc\",\n \"Version\": \"58828322890449097\",\n \"VirusVer\": \"2.0.13712.288\",\n \"VulCount\": 0,\n \"VulCriticalList\": [\n \"5043051\",\n \"4132216\"\n ],\n \"VulVersion\": \"2023.11.21.16.28.52\"\n }\n ],\n \"Paging\": {\n \"PageCount\": 1,\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"Total\": 1\n }\n },\n \"RequestId\": \"807938c5-9308-4c87-918d-e84a05f226a1\"\n }\n}",
16
30
  "title": "获取设备列表详情"
17
31
  }
18
32
  ],
19
33
  "DescribeLocalAccounts": [
20
34
  {
21
- "document": "",
22
- "input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLocalAccounts\n<公共请求参数>\n\n{\n \"Condition\": {\n \"Filters\": [\n {\n \"Field\": \"abc\",\n \"Operator\": \"abc\",\n \"Values\": [\n \"abc\"\n ]\n }\n ],\n \"FilterGroups\": [\n {\n \"Filters\": [\n {\n \"Field\": \"abc\",\n \"Operator\": \"abc\",\n \"Values\": [\n \"abc\"\n ]\n }\n ]\n }\n ],\n \"Sort\": {\n \"Field\": \"abc\",\n \"Order\": \"abc\"\n },\n \"PageSize\": 0,\n \"PageNum\": 0\n },\n \"AccountGroupId\": 0,\n \"ShowFlag\": 0\n}",
23
- "output": "{\n \"Response\": {\n \"Data\": {\n \"Page\": {\n \"PageSize\": 1,\n \"PageNum\": 1,\n \"PageCount\": 1,\n \"Total\": 1\n },\n \"Items\": [\n {\n \"Id\": 0,\n \"UserId\": \"abc\",\n \"UserName\": \"abc\",\n \"AccountId\": 0,\n \"GroupId\": 0,\n \"GroupName\": \"abc\",\n \"NamePath\": \"abc\",\n \"Source\": 0,\n \"Status\": 0,\n \"Itime\": \"abc\",\n \"Utime\": \"abc\",\n \"ExtraInfo\": \"abc\",\n \"RiskLevel\": \"abc\",\n \"AccountGroups\": [\n {\n \"AccountGroupId\": 0\n }\n ],\n \"MobileBindNum\": 0,\n \"PcBindNum\": 0,\n \"OnlineStatus\": 0,\n \"ActiveStatus\": 0,\n \"LoginTime\": \"abc\",\n \"LogoutTime\": \"abc\"\n }\n ]\n },\n \"RequestId\": \"abc\"\n }\n}",
24
- "title": "normal"
35
+ "document": "查询指定分组下,账号名包含“san47”的账号信息",
36
+ "input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLocalAccounts\n<公共请求参数>\n\n{\n \"Condition\": {\n \"Filters\": [\n {\n \"Field\": \"UserId\",\n \"Operator\": \"like\",\n \"Values\": [\n \"san47\"\n ]\n }\n ]\n },\n \"AccountGroupId\": 8205,\n \"ShowFlag\": 1\n}",
37
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Items\": [\n {\n \"AccountGroups\": [],\n \"AccountId\": 845,\n \"ActiveStatus\": 0,\n \"ExtraInfo\": \"{\\\"salt\\\": \\\"5b52ea107e85a7b46d2c1b15a5faf722\\\", \\\"seat\\\": \\\"\\\", \\\"email\\\": \\\"\\\", \\\"phone\\\": \\\"\\\", \\\"is_new\\\": 0, \\\"id_card\\\": \\\"\\\", \\\"user_id\\\": \\\"zhangsan471\\\", \\\"password\\\": \\\"82a4c5b9e0e8bc57208e27ca08d090739ca02725b3bc9a282a8a95925e484cd6\\\", \\\"position\\\": \\\"测试248\\\", \\\"user_name\\\": \\\"zhangsan\\\", \\\"online_num\\\": 0, \\\"valid_time\\\": \\\"2030-10-10 00:00:00\\\", \\\"gesture_pwd\\\": \\\"\\\", \\\"is_modified\\\": 0, \\\"miniIAM_guid\\\": \\\"\\\", \\\"is_online_num\\\": 0, \\\"is_valid_time\\\": 1, \\\"valid_time_int\\\": 1917792000, \\\"iam_disable_account\\\": 0, \\\"ioa_disable_account\\\": 0}\",\n \"GroupId\": 8205,\n \"GroupName\": \"研发部\",\n \"Id\": 845,\n \"Itime\": \"2024-08-02 14:46:11\",\n \"LoginTime\": \"2024-08-03 15:06:09\",\n \"LogoutTime\": \"2024-08-03 18:01:09\",\n \"MobileBindNum\": 0,\n \"NamePath\": \"全网账户.自建目录.研发部\",\n \"OnlineStatus\": 0,\n \"PcBindNum\": 0,\n \"RiskLevel\": \"low\",\n \"Source\": 0,\n \"Status\": 1,\n \"UserId\": \"zhangsan471\",\n \"UserName\": \"zhangsan\",\n \"Utime\": \"2024-08-03 15:08:21\"\n },\n {\n \"AccountGroups\": [],\n \"AccountId\": 844,\n \"ActiveStatus\": 0,\n \"ExtraInfo\": \"{\\\"salt\\\": \\\"2d6cfa9479b615ce807305f727f55757\\\", \\\"seat\\\": \\\"\\\", \\\"email\\\": \\\"\\\", \\\"phone\\\": \\\"\\\", \\\"is_new\\\": 0, \\\"id_card\\\": \\\"\\\", \\\"user_id\\\": \\\"zhangsan470\\\", \\\"password\\\": \\\"608f9eac835f474f8e8eb43d3e4f9fbe675f467f25765655aa42926258a7c963\\\", \\\"position\\\": \\\"测试247\\\", \\\"user_name\\\": \\\"zhangsan\\\", \\\"online_num\\\": 0, \\\"valid_time\\\": \\\"2030-10-10\\\", \\\"gesture_pwd\\\": \\\"\\\", \\\"is_modified\\\": 0, \\\"miniIAM_guid\\\": \\\"\\\", \\\"is_online_num\\\": 0, \\\"is_valid_time\\\": 1, \\\"valid_time_int\\\": 1917792000, \\\"iam_disable_account\\\": 0, \\\"ioa_disable_account\\\": 0}\",\n \"GroupId\": 8205,\n \"GroupName\": \"研发部\",\n \"Id\": 844,\n \"Itime\": \"2024-08-02 14:46:11\",\n \"LoginTime\": \"2024-09-03 06:56:09\",\n \"LogoutTime\": \"2024-09-03 15:06:07\",\n \"MobileBindNum\": 0,\n \"NamePath\": \"全网账户.自建目录.研发部\",\n \"OnlineStatus\": 0,\n \"PcBindNum\": 0,\n \"RiskLevel\": \"low\",\n \"Source\": 0,\n \"Status\": 1,\n \"UserId\": \"zhangsan470\",\n \"UserName\": \"zhangsan\",\n \"Utime\": \"2024-08-02 14:46:11\"\n }\n ],\n \"Page\": {\n \"PageCount\": 1,\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"Total\": 2\n }\n },\n \"RequestId\": \"ed2c6d00-8880-4a2a-8d6d-e89587dc5a21\"\n }\n}",
38
+ "title": "根据账号模糊查询"
25
39
  }
26
40
  ],
27
41
  "DescribeRootAccountGroup": [
28
42
  {
29
43
  "document": "",
30
44
  "input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRootAccountGroup\n<公共请求参数>\n\n{}",
31
- "output": "{\n \"Response\": {\n \"Data\": {\n \"NamePath\": \"全网账户\",\n \"IdPathArr\": [\n 2222\n ],\n \"ExtraInfo\": \"{}\",\n \"Utime\": \"2022-10-09 14:37:05\",\n \"ParentId\": 0,\n \"OrgId\": \"0\",\n \"Source\": 0,\n \"IdPath\": \"2222\",\n \"Itime\": \"2022-10-09 14:37:05\",\n \"ParentOrgId\": \"0\",\n \"Name\": \"全网账户\",\n \"ImportEnable\": false,\n \"ImportType\": \"\",\n \"MiniIamId\": \"\",\n \"Id\": 2222,\n \"Import\": \"\",\n \"Description\": \"\"\n },\n \"RequestId\": \"e6f9be7b-af66-4a22-b867-94510cf04492\"\n }\n}",
32
- "title": "https://ioa.test.tencentcloudapi.com/?Action=DescribeRootAccountGroup"
45
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"Description\": \"这里是该分组的描述\",\n \"ExtraInfo\": \"{\\\"salt\\\": \\\"xf681fafy\\\"}\",\n \"Id\": 14632,\n \"IdPath\": \"14632\",\n \"IdPathArr\": [\n 14632\n ],\n \"Import\": \"0\",\n \"ImportEnable\": false,\n \"ImportType\": \"zijian\",\n \"Itime\": \"2023-04-18 23:01:11\",\n \"MiniIamId\": \"1256733004o8vX5K5hVcGCeQKddLZNmf\",\n \"Name\": \"全网账户\",\n \"NamePath\": \"全网账户\",\n \"OrgId\": \"0\",\n \"ParentId\": 0,\n \"ParentOrgId\": \"0\",\n \"Source\": 0,\n \"Utime\": \"2023-04-18 23:01:11\"\n },\n \"RequestId\": \"91b9b2f8-25cb-461c-9f48-2c5495c57f00\"\n }\n}",
46
+ "title": "查询全网根账号组信息"
33
47
  }
34
48
  ]
35
49
  },
@@ -1028,7 +1028,7 @@
1028
1028
  "members": [
1029
1029
  {
1030
1030
  "disabled": false,
1031
- "document": "TWecall类型: 0-测试激活码; 1-家庭安防场景; 2-穿戴类场景; 3-生活娱乐场景; 4-对讲及其它场景",
1031
+ "document": "TWecall类型:1-家庭安防场景; 2-穿戴类场景; 3-生活娱乐场景; 4-对讲及其它场景",
1032
1032
  "example": "1",
1033
1033
  "member": "int64",
1034
1034
  "name": "PkgType",
@@ -2758,6 +2758,26 @@
2758
2758
  "CreateIotVideoCloudStorageResponse": {
2759
2759
  "document": "CreateIotVideoCloudStorage返回参数结构体",
2760
2760
  "members": [
2761
+ {
2762
+ "disabled": false,
2763
+ "document": "订单金额,单位为分\n注意:此字段可能返回 null,表示取不到有效值。",
2764
+ "example": "100",
2765
+ "member": "uint64",
2766
+ "name": "Price",
2767
+ "output_required": false,
2768
+ "type": "int",
2769
+ "value_allowed_null": true
2770
+ },
2771
+ {
2772
+ "disabled": false,
2773
+ "document": "支付金额,单位为分\n注意:此字段可能返回 null,表示取不到有效值。",
2774
+ "example": "100",
2775
+ "member": "uint64",
2776
+ "name": "Amount",
2777
+ "output_required": false,
2778
+ "type": "int",
2779
+ "value_allowed_null": true
2780
+ },
2761
2781
  {
2762
2782
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2763
2783
  "member": "string",
@@ -3899,7 +3919,7 @@
3899
3919
  "example": "3",
3900
3920
  "member": "int64",
3901
3921
  "name": "BatchCnt",
3902
- "required": true,
3922
+ "output_required": true,
3903
3923
  "type": "int",
3904
3924
  "value_allowed_null": false
3905
3925
  },
@@ -3909,7 +3929,7 @@
3909
3929
  "example": "0",
3910
3930
  "member": "int64",
3911
3931
  "name": "BurnMethod",
3912
- "required": true,
3932
+ "output_required": true,
3913
3933
  "type": "int",
3914
3934
  "value_allowed_null": false
3915
3935
  },
@@ -3919,17 +3939,17 @@
3919
3939
  "example": "1572233486",
3920
3940
  "member": "int64",
3921
3941
  "name": "CreateTime",
3922
- "required": true,
3942
+ "output_required": true,
3923
3943
  "type": "int",
3924
3944
  "value_allowed_null": false
3925
3945
  },
3926
3946
  {
3927
3947
  "disabled": false,
3928
3948
  "document": "下载URL。",
3929
- "example": "https://batch-productions-test-1256872341.cos.ap-guangzhou.myqcloud.com/100000546882%2FR32ONVL0EU_LC-6mgj9akp.csv?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDMUM9hdmn35rHZe72Y6UfliNo1PYQFZln%26q-sign-time%3D1572233867%3B1572234767%26q-key-time%3D1572233867%3B1572234767%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Da31f6ed1e25d3dc753516b74ee33559d37cbc7f2",
3949
+ "example": "https://batch-productions-*************",
3930
3950
  "member": "string",
3931
3951
  "name": "DownloadUrl",
3932
- "required": true,
3952
+ "output_required": true,
3933
3953
  "type": "string",
3934
3954
  "value_allowed_null": false
3935
3955
  },
@@ -3939,7 +3959,7 @@
3939
3959
  "example": "0",
3940
3960
  "member": "int64",
3941
3961
  "name": "GenerationMethod",
3942
- "required": true,
3962
+ "output_required": true,
3943
3963
  "type": "int",
3944
3964
  "value_allowed_null": false
3945
3965
  },
@@ -3949,10 +3969,30 @@
3949
3969
  "example": "无",
3950
3970
  "member": "string",
3951
3971
  "name": "UploadUrl",
3952
- "required": true,
3972
+ "output_required": true,
3953
3973
  "type": "string",
3954
3974
  "value_allowed_null": false
3955
3975
  },
3976
+ {
3977
+ "disabled": false,
3978
+ "document": "成功数\n注意:此字段可能返回 null,表示取不到有效值。",
3979
+ "example": "100",
3980
+ "member": "int64",
3981
+ "name": "SuccessCount",
3982
+ "output_required": false,
3983
+ "type": "int",
3984
+ "value_allowed_null": true
3985
+ },
3986
+ {
3987
+ "disabled": false,
3988
+ "document": "量产最后失败原因\n注意:此字段可能返回 null,表示取不到有效值。",
3989
+ "example": "无",
3990
+ "member": "string",
3991
+ "name": "LastFailedReason",
3992
+ "output_required": false,
3993
+ "type": "string",
3994
+ "value_allowed_null": true
3995
+ },
3956
3996
  {
3957
3997
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3958
3998
  "member": "string",
@@ -4691,6 +4731,26 @@
4691
4731
  "type": "int",
4692
4732
  "value_allowed_null": false
4693
4733
  },
4734
+ {
4735
+ "disabled": false,
4736
+ "document": "订单金额,单位为分\n注意:此字段可能返回 null,表示取不到有效值。",
4737
+ "example": "100",
4738
+ "member": "uint64",
4739
+ "name": "Price",
4740
+ "output_required": false,
4741
+ "type": "int",
4742
+ "value_allowed_null": true
4743
+ },
4744
+ {
4745
+ "disabled": false,
4746
+ "document": "支付金额,单位为分\n注意:此字段可能返回 null,表示取不到有效值。",
4747
+ "example": "100",
4748
+ "member": "uint64",
4749
+ "name": "Amount",
4750
+ "output_required": false,
4751
+ "type": "int",
4752
+ "value_allowed_null": true
4753
+ },
4694
4754
  {
4695
4755
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4696
4756
  "member": "string",
@@ -7290,7 +7350,7 @@
7290
7350
  "members": [
7291
7351
  {
7292
7352
  "disabled": false,
7293
- "document": "模版ID\n注意:此字段可能返回 null,表示取不到有效值。",
7353
+ "document": "模板ID\n注意:此字段可能返回 null,表示取不到有效值。",
7294
7354
  "example": "12374tg",
7295
7355
  "member": "string",
7296
7356
  "name": "ModelId",
@@ -12002,7 +12062,7 @@
12002
12062
  },
12003
12063
  {
12004
12064
  "disabled": false,
12005
- "document": "加密类型。1表示证书认证,2表示秘钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式",
12065
+ "document": "加密类型。1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式",
12006
12066
  "example": "0",
12007
12067
  "member": "string",
12008
12068
  "name": "EncryptionType",
@@ -13241,7 +13301,7 @@
13241
13301
  {
13242
13302
  "disabled": false,
13243
13303
  "document": "Sn信息\n注意:此字段可能返回 null,表示取不到有效值。",
13244
- "example": "",
13304
+ "example": "p_d",
13245
13305
  "member": "string",
13246
13306
  "name": "Sn",
13247
13307
  "output_required": false,
@@ -13251,7 +13311,7 @@
13251
13311
  {
13252
13312
  "disabled": false,
13253
13313
  "document": "过期时间\n注意:此字段可能返回 null,表示取不到有效值。",
13254
- "example": "",
13314
+ "example": "1920000000",
13255
13315
  "member": "int64",
13256
13316
  "name": "ExpireTime",
13257
13317
  "output_required": false,
@@ -14094,7 +14154,7 @@
14094
14154
  },
14095
14155
  {
14096
14156
  "disabled": false,
14097
- "document": "模版ID\n注意:此字段可能返回 null,表示取不到有效值。",
14157
+ "document": "模板ID\n注意:此字段可能返回 null,表示取不到有效值。",
14098
14158
  "example": "3rfv",
14099
14159
  "member": "string",
14100
14160
  "name": "ModelId",
@@ -372,7 +372,7 @@
372
372
  {
373
373
  "document": "",
374
374
  "input": "https://iotexplorer.tencentcloudapi.com/?Action=DescribeBatchProduction\n&ProductId=R32ONVL0EU\n&BatchProductionId=LC-ya6zinv9\n&<公共请求参数>",
375
- "output": "{\n \"Response\": {\n \"BatchCnt\": 3,\n \"BurnMethod\": 0,\n \"CreateTime\": 1572233486,\n \"DownloadUrl\": \"https://batch-productions-test-1256872341.cos.ap-guangzhou.myqcloud.com/100000546882%2FR32ONVL0EU_LC-6mgj9akp.csv?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDMUM9hdmn35rHZe72Y6UfliNo1PYQFZln%26q-sign-time%3D1572233867%3B1572234767%26q-key-time%3D1572233867%3B1572234767%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Da31f6ed1e25d3dc753516b74ee33559d37cbc7f2\",\n \"GenerationMethod\": 0,\n \"RequestId\": \"rest-clieet20111026\",\n \"UploadUrl\": \"\"\n }\n}",
375
+ "output": "{\n \"Response\": {\n \"BatchCnt\": 3,\n \"BurnMethod\": 0,\n \"CreateTime\": 1572233486,\n \"DownloadUrl\": \"https://batch-productions-*************d37cbc7f2\",\n \"GenerationMethod\": 0,\n \"RequestId\": \"rest-clieet20111026\",\n \"UploadUrl\": \"\"\n }\n}",
376
376
  "title": "获取量产详情"
377
377
  }
378
378
  ],
@@ -484,7 +484,7 @@
484
484
  {
485
485
  "document": "",
486
486
  "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageThumbnail\n<公共请求参数>\n\n{\n \"ProductId\": \"AQTV2839QJ\",\n \"DeviceName\": \"sp01_32820237_5\",\n \"Thumbnail\": \"/100008401725/AQTV2839QJ/sp01_32820237_7/events/1615200613.jpg\"\n}",
487
- "output": "{\n \"Response\": {\n \"RequestId\": \"c299d2c9-805f-41a5-853d-db32ba1a16b5\",\n \"ThumbnailURL\": \"https://video-cv-1258344699.cos.ap-guangzhou.myqcloud.com/%2F100008401725%2FAQTV2839QJ%2Fsp01_32820237_5%2Fevents%2F1614908216.jpg?q-sign-algorithm=sha1&q-ak=AKIDAbqpXyZb6KJ6dtvwkRwAqLbfNvIZlYJp&q-sign-time=1614909378%3B1614912978&q-key-time=1614909378%3B1614912978&q-header-list=host&q-url-param-list=&q-signature=59cfa8d69bb77980ba757cb111de62fc6c4880f5\",\n \"ExpireTime\": 1\n }\n}",
487
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c299d2c9-805f-41a5-853d-db32ba1a16b5\",\n \"ThumbnailURL\": \"*******\",\n \"ExpireTime\": 1\n }\n}",
488
488
  "title": "拉取云存事件缩略图"
489
489
  }
490
490
  ],
@@ -676,7 +676,7 @@
676
676
  {
677
677
  "document": "",
678
678
  "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePackageConsumeTask\n<公共请求参数>\n\n{\n \"TaskId\": 45\n}",
679
- "output": "{\n \"Response\": {\n \"RequestId\": \"a9545416-7eac-4e2e-a4a0-9735b0ee7682\",\n \"URL\": \"https://video-cv-test-1256872341.cos.ap-guangzhou.myqcloud.com/41411451%2FPackageConsume%2F2022-02-11_2022-02-17_1.csv?q-sign-algorithm=sha1&q-ak=AKIDCOZny6BBD4mLnKMPm7HFGHD2iIl6dONI&q-sign-time=1645168502%3B1645172102&q-key-time=1645168502%3B1645172102&q-header-list=host&q-url-param-list=&q-signature=b9d9c7298da29677b7dc45b8c4c0385495290a09\"\n }\n}",
679
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a9545416-7eac-4e2e-a4a0-9735b0ee7682\",\n \"URL\": \"************\"\n }\n}",
680
680
  "title": "查询套餐消耗记录详情"
681
681
  }
682
682
  ],
@@ -1269,6 +1269,58 @@ def doDescribeStream(args, parsed_globals):
1269
1269
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1270
1270
 
1271
1271
 
1272
+ def doRenewUploadTest(args, parsed_globals):
1273
+ g_param = parse_global_arg(parsed_globals)
1274
+
1275
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1276
+ cred = credential.CVMRoleCredential()
1277
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1278
+ cred = credential.STSAssumeRoleCredential(
1279
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1280
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1281
+ )
1282
+ 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):
1283
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1284
+ else:
1285
+ cred = credential.Credential(
1286
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1287
+ )
1288
+ http_profile = HttpProfile(
1289
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1290
+ reqMethod="POST",
1291
+ endpoint=g_param[OptionsDefine.Endpoint],
1292
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1293
+ )
1294
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1295
+ if g_param[OptionsDefine.Language]:
1296
+ profile.language = g_param[OptionsDefine.Language]
1297
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1298
+ client = mod.IotvideoClient(cred, g_param[OptionsDefine.Region], profile)
1299
+ client._sdkVersion += ("_CLI_" + __version__)
1300
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1301
+ model = models.RenewUploadTestRequest()
1302
+ model.from_json_string(json.dumps(args))
1303
+ start_time = time.time()
1304
+ while True:
1305
+ rsp = client.RenewUploadTest(model)
1306
+ result = rsp.to_json_string()
1307
+ try:
1308
+ json_obj = json.loads(result)
1309
+ except TypeError as e:
1310
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1311
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1312
+ break
1313
+ cur_time = time.time()
1314
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1315
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1316
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1317
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1318
+ else:
1319
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1320
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1321
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1322
+
1323
+
1272
1324
  def doDescribeCloudStorageThumbnailList(args, parsed_globals):
1273
1325
  g_param = parse_global_arg(parsed_globals)
1274
1326
 
@@ -5689,6 +5741,58 @@ def doDescribeTraceStatus(args, parsed_globals):
5689
5741
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5690
5742
 
5691
5743
 
5744
+ def doCreateUploadTest(args, parsed_globals):
5745
+ g_param = parse_global_arg(parsed_globals)
5746
+
5747
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5748
+ cred = credential.CVMRoleCredential()
5749
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5750
+ cred = credential.STSAssumeRoleCredential(
5751
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5752
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5753
+ )
5754
+ 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):
5755
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5756
+ else:
5757
+ cred = credential.Credential(
5758
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5759
+ )
5760
+ http_profile = HttpProfile(
5761
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5762
+ reqMethod="POST",
5763
+ endpoint=g_param[OptionsDefine.Endpoint],
5764
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5765
+ )
5766
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5767
+ if g_param[OptionsDefine.Language]:
5768
+ profile.language = g_param[OptionsDefine.Language]
5769
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5770
+ client = mod.IotvideoClient(cred, g_param[OptionsDefine.Region], profile)
5771
+ client._sdkVersion += ("_CLI_" + __version__)
5772
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5773
+ model = models.CreateUploadTestRequest()
5774
+ model.from_json_string(json.dumps(args))
5775
+ start_time = time.time()
5776
+ while True:
5777
+ rsp = client.CreateUploadTest(model)
5778
+ result = rsp.to_json_string()
5779
+ try:
5780
+ json_obj = json.loads(result)
5781
+ except TypeError as e:
5782
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5783
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5784
+ break
5785
+ cur_time = time.time()
5786
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5787
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5788
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5789
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5790
+ else:
5791
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5792
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5793
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5794
+
5795
+
5692
5796
  def doDescribeDeviceDataStats(args, parsed_globals):
5693
5797
  g_param = parse_global_arg(parsed_globals)
5694
5798
 
@@ -8328,6 +8432,7 @@ ACTION_MAP = {
8328
8432
  "DescribeBindUsr": doDescribeBindUsr,
8329
8433
  "ImportModelDefinition": doImportModelDefinition,
8330
8434
  "DescribeStream": doDescribeStream,
8435
+ "RenewUploadTest": doRenewUploadTest,
8331
8436
  "DescribeCloudStorageThumbnailList": doDescribeCloudStorageThumbnailList,
8332
8437
  "CancelDeviceFirmwareTask": doCancelDeviceFirmwareTask,
8333
8438
  "ReportAliveDevice": doReportAliveDevice,
@@ -8413,6 +8518,7 @@ ACTION_MAP = {
8413
8518
  "DescribeProductDynamicRegister": doDescribeProductDynamicRegister,
8414
8519
  "DeliverStorageService": doDeliverStorageService,
8415
8520
  "DescribeTraceStatus": doDescribeTraceStatus,
8521
+ "CreateUploadTest": doCreateUploadTest,
8416
8522
  "DescribeDeviceDataStats": doDescribeDeviceDataStats,
8417
8523
  "WakeUpDevice": doWakeUpDevice,
8418
8524
  "DescribeDeviceStatusLog": doDescribeDeviceStatusLog,