tccli 3.0.1391.1__py2.py3-none-any.whl → 3.0.1414.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.

Potentially problematic release.


This version of tccli might be problematic. Click here for more details.

Files changed (226) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +2 -1
  3. tccli/services/ai3d/v20250513/api.json +22 -4
  4. tccli/services/aiart/aiart_client.py +173 -67
  5. tccli/services/aiart/v20221229/api.json +193 -0
  6. tccli/services/aiart/v20221229/examples.json +16 -0
  7. tccli/services/apm/apm_client.py +53 -0
  8. tccli/services/apm/v20210622/api.json +354 -0
  9. tccli/services/apm/v20210622/examples.json +8 -0
  10. tccli/services/asr/v20190614/api.json +3 -3
  11. tccli/services/autoscaling/v20180419/api.json +24 -2
  12. tccli/services/batch/v20170312/api.json +1 -1
  13. tccli/services/bda/bda_client.py +15 -704
  14. tccli/services/bda/v20200324/api.json +107 -1819
  15. tccli/services/bda/v20200324/examples.json +0 -176
  16. tccli/services/billing/billing_client.py +326 -8
  17. tccli/services/billing/v20180709/api.json +2200 -255
  18. tccli/services/billing/v20180709/examples.json +48 -0
  19. tccli/services/cam/v20190116/api.json +4 -4
  20. tccli/services/captcha/v20190722/api.json +3 -3
  21. tccli/services/cat/v20180409/api.json +7 -7
  22. tccli/services/ccc/ccc_client.py +235 -76
  23. tccli/services/ccc/v20200210/api.json +502 -18
  24. tccli/services/ccc/v20200210/examples.json +24 -0
  25. tccli/services/cdb/cdb_client.py +106 -0
  26. tccli/services/cdb/v20170320/api.json +257 -44
  27. tccli/services/cdb/v20170320/examples.json +22 -6
  28. tccli/services/cdn/cdn_client.py +4 -163
  29. tccli/services/cdn/v20180606/api.json +61 -310
  30. tccli/services/cdn/v20180606/examples.json +1 -25
  31. tccli/services/cdwdoris/v20211228/api.json +51 -12
  32. tccli/services/cdwpg/v20201230/api.json +11 -1
  33. tccli/services/cdwpg/v20201230/examples.json +1 -1
  34. tccli/services/cfg/v20210820/api.json +11 -1
  35. tccli/services/cfs/cfs_client.py +41 -94
  36. tccli/services/cfs/v20190719/api.json +171 -55
  37. tccli/services/cfs/v20190719/examples.json +1 -9
  38. tccli/services/cfw/v20190904/api.json +122 -10
  39. tccli/services/ckafka/ckafka_client.py +188 -29
  40. tccli/services/ckafka/v20190819/api.json +277 -4
  41. tccli/services/ckafka/v20190819/examples.json +25 -1
  42. tccli/services/clb/clb_client.py +0 -265
  43. tccli/services/clb/v20180317/api.json +130 -296
  44. tccli/services/clb/v20180317/examples.json +12 -40
  45. tccli/services/cloudapp/v20220530/api.json +55 -0
  46. tccli/services/cloudaudit/v20190319/api.json +11 -0
  47. tccli/services/cloudhsm/v20191112/api.json +10 -10
  48. tccli/services/cls/v20201016/api.json +63 -45
  49. tccli/services/cls/v20201016/examples.json +10 -4
  50. tccli/services/csip/v20221121/api.json +53 -3
  51. tccli/services/ctem/v20231128/api.json +320 -0
  52. tccli/services/ctem/v20231128/examples.json +3 -3
  53. tccli/services/cvm/cvm_client.py +0 -212
  54. tccli/services/cvm/v20170312/api.json +91 -843
  55. tccli/services/cvm/v20170312/examples.json +32 -58
  56. tccli/services/cynosdb/cynosdb_client.py +167 -8
  57. tccli/services/cynosdb/v20190107/api.json +1126 -148
  58. tccli/services/cynosdb/v20190107/examples.json +31 -7
  59. tccli/services/dbbrain/dbbrain_client.py +246 -87
  60. tccli/services/dbbrain/v20191016/api.json +74 -62
  61. tccli/services/dbbrain/v20191016/examples.json +1 -1
  62. tccli/services/dbbrain/v20210527/api.json +601 -177
  63. tccli/services/dbbrain/v20210527/examples.json +28 -4
  64. tccli/services/dc/v20180410/api.json +101 -3
  65. tccli/services/dcdb/v20180411/api.json +1 -1
  66. tccli/services/dlc/dlc_client.py +53 -0
  67. tccli/services/dlc/v20210125/api.json +237 -24
  68. tccli/services/dlc/v20210125/examples.json +12 -4
  69. tccli/services/dnspod/dnspod_client.py +106 -0
  70. tccli/services/dnspod/v20210323/api.json +126 -20
  71. tccli/services/dnspod/v20210323/examples.json +17 -7
  72. tccli/services/dsgc/v20190723/api.json +73 -15
  73. tccli/services/dts/v20180330/api.json +4 -4
  74. tccli/services/dts/v20211206/api.json +408 -127
  75. tccli/services/dts/v20211206/examples.json +15 -9
  76. tccli/services/eb/v20210416/api.json +41 -1
  77. tccli/services/eb/v20210416/examples.json +1 -1
  78. tccli/services/emr/v20190103/api.json +56 -9
  79. tccli/services/emr/v20190103/examples.json +5 -5
  80. tccli/services/es/es_client.py +273 -8
  81. tccli/services/es/v20180416/api.json +845 -33
  82. tccli/services/es/v20180416/examples.json +33 -1
  83. tccli/services/es/v20250101/api.json +135 -2
  84. tccli/services/es/v20250101/examples.json +8 -0
  85. tccli/services/ess/ess_client.py +509 -32
  86. tccli/services/ess/v20201111/api.json +1366 -113
  87. tccli/services/ess/v20201111/examples.json +94 -10
  88. tccli/services/essbasic/v20210526/api.json +265 -27
  89. tccli/services/essbasic/v20210526/examples.json +12 -12
  90. tccli/services/facefusion/v20220927/api.json +1 -1
  91. tccli/services/gaap/v20180529/api.json +18 -8
  92. tccli/services/gme/gme_client.py +53 -0
  93. tccli/services/gme/v20180711/api.json +241 -1
  94. tccli/services/gme/v20180711/examples.json +8 -0
  95. tccli/services/gs/gs_client.py +216 -4
  96. tccli/services/gs/v20191118/api.json +202 -1
  97. tccli/services/gs/v20191118/examples.json +32 -0
  98. tccli/services/gwlb/gwlb_client.py +53 -0
  99. tccli/services/gwlb/v20240906/api.json +150 -0
  100. tccli/services/gwlb/v20240906/examples.json +8 -0
  101. tccli/services/hai/v20230812/api.json +5 -5
  102. tccli/services/hunyuan/v20230901/api.json +3 -3
  103. tccli/services/hunyuan/v20230901/examples.json +1 -1
  104. tccli/services/iai/v20180301/api.json +227 -207
  105. tccli/services/iai/v20180301/examples.json +26 -26
  106. tccli/services/iai/v20200303/api.json +4 -4
  107. tccli/services/iai/v20200303/examples.json +1 -1
  108. tccli/services/ioa/ioa_client.py +265 -0
  109. tccli/services/ioa/v20220601/api.json +781 -85
  110. tccli/services/ioa/v20220601/examples.json +46 -0
  111. tccli/services/iotexplorer/iotexplorer_client.py +387 -16
  112. tccli/services/iotexplorer/v20190423/api.json +1183 -63
  113. tccli/services/iotexplorer/v20190423/examples.json +92 -0
  114. tccli/services/keewidb/v20220308/api.json +69 -17
  115. tccli/services/keewidb/v20220308/examples.json +5 -5
  116. tccli/services/lcic/v20220817/api.json +61 -15
  117. tccli/services/lighthouse/v20200324/api.json +193 -24
  118. tccli/services/lighthouse/v20200324/examples.json +9 -3
  119. tccli/services/live/v20180801/api.json +6 -6
  120. tccli/services/live/v20180801/examples.json +7 -1
  121. tccli/services/lke/lke_client.py +40 -93
  122. tccli/services/lke/v20231130/api.json +943 -390
  123. tccli/services/lke/v20231130/examples.json +38 -46
  124. tccli/services/lkeap/v20240522/api.json +39 -12
  125. tccli/services/lkeap/v20240522/examples.json +12 -0
  126. tccli/services/mariadb/v20170312/api.json +1 -1
  127. tccli/services/mna/v20210119/api.json +11 -2
  128. tccli/services/mna/v20210119/examples.json +1 -1
  129. tccli/services/mongodb/mongodb_client.py +334 -16
  130. tccli/services/mongodb/v20190725/api.json +1092 -383
  131. tccli/services/mongodb/v20190725/examples.json +69 -21
  132. tccli/services/monitor/monitor_client.py +106 -0
  133. tccli/services/monitor/v20180724/api.json +383 -12
  134. tccli/services/monitor/v20180724/examples.json +24 -2
  135. tccli/services/mps/mps_client.py +220 -8
  136. tccli/services/mps/v20190612/api.json +1999 -179
  137. tccli/services/mps/v20190612/examples.json +56 -6
  138. tccli/services/mqtt/v20240516/api.json +10 -0
  139. tccli/services/mqtt/v20240516/examples.json +3 -9
  140. tccli/services/nlp/v20190408/api.json +6 -6
  141. tccli/services/oceanus/oceanus_client.py +318 -0
  142. tccli/services/oceanus/v20190422/api.json +461 -26
  143. tccli/services/oceanus/v20190422/examples.json +50 -2
  144. tccli/services/ocr/ocr_client.py +41 -253
  145. tccli/services/ocr/v20181119/api.json +153 -659
  146. tccli/services/ocr/v20181119/examples.json +8 -40
  147. tccli/services/omics/v20221128/api.json +90 -7
  148. tccli/services/organization/v20210331/api.json +46 -7
  149. tccli/services/postgres/v20170312/api.json +333 -77
  150. tccli/services/postgres/v20170312/examples.json +37 -31
  151. tccli/services/privatedns/privatedns_client.py +641 -58
  152. tccli/services/privatedns/v20201028/api.json +930 -19
  153. tccli/services/privatedns/v20201028/examples.json +91 -3
  154. tccli/services/pts/v20210728/api.json +2 -2
  155. tccli/services/redis/v20180412/api.json +303 -109
  156. tccli/services/redis/v20180412/examples.json +12 -12
  157. tccli/services/region/v20220627/api.json +1 -1
  158. tccli/services/rum/v20210622/api.json +22 -4
  159. tccli/services/rum/v20210622/examples.json +2 -2
  160. tccli/services/sms/v20190711/api.json +12 -12
  161. tccli/services/sms/v20190711/examples.json +9 -3
  162. tccli/services/sms/v20210111/api.json +13 -13
  163. tccli/services/sms/v20210111/examples.json +8 -2
  164. tccli/services/sqlserver/v20180328/api.json +46 -7
  165. tccli/services/sqlserver/v20180328/examples.json +2 -2
  166. tccli/services/ssl/v20191205/api.json +28 -0
  167. tccli/services/svp/v20240125/api.json +14 -4
  168. tccli/services/tag/v20180813/api.json +3 -3
  169. tccli/services/tat/v20201028/api.json +22 -3
  170. tccli/services/tcb/v20180608/api.json +1 -1
  171. tccli/services/tcss/tcss_client.py +228 -69
  172. tccli/services/tcss/v20201101/api.json +273 -25
  173. tccli/services/tcss/v20201101/examples.json +26 -2
  174. tccli/services/teo/teo_client.py +317 -52
  175. tccli/services/teo/v20220901/api.json +1824 -242
  176. tccli/services/teo/v20220901/examples.json +109 -21
  177. tccli/services/thpc/thpc_client.py +57 -4
  178. tccli/services/thpc/v20230321/api.json +163 -21
  179. tccli/services/thpc/v20230321/examples.json +13 -5
  180. tccli/services/tione/tione_client.py +163 -4
  181. tccli/services/tione/v20211111/api.json +285 -21
  182. tccli/services/tione/v20211111/examples.json +27 -3
  183. tccli/services/tke/tke_client.py +8 -8
  184. tccli/services/tke/v20180525/api.json +168 -130
  185. tccli/services/tke/v20180525/examples.json +20 -20
  186. tccli/services/tke/v20220501/api.json +215 -3
  187. tccli/services/tke/v20220501/examples.json +8 -0
  188. tccli/services/tms/tms_client.py +106 -0
  189. tccli/services/tms/v20201229/api.json +249 -3
  190. tccli/services/tms/v20201229/examples.json +16 -0
  191. tccli/services/tmt/v20180321/api.json +78 -1
  192. tccli/services/trabbit/v20230418/api.json +271 -4
  193. tccli/services/trabbit/v20230418/examples.json +9 -3
  194. tccli/services/trocket/v20230308/api.json +4 -4
  195. tccli/services/trro/trro_client.py +106 -0
  196. tccli/services/trro/v20220325/api.json +456 -0
  197. tccli/services/trro/v20220325/examples.json +16 -0
  198. tccli/services/trtc/v20190722/api.json +197 -49
  199. tccli/services/trtc/v20190722/examples.json +4 -4
  200. tccli/services/tse/v20201207/api.json +69 -2
  201. tccli/services/tse/v20201207/examples.json +3 -3
  202. tccli/services/tsf/v20180326/api.json +70 -7
  203. tccli/services/tsf/v20180326/examples.json +2 -2
  204. tccli/services/vclm/v20240523/api.json +145 -0
  205. tccli/services/vclm/v20240523/examples.json +16 -0
  206. tccli/services/vclm/vclm_client.py +106 -0
  207. tccli/services/vcube/v20220410/api.json +1 -1
  208. tccli/services/vod/v20180717/api.json +7 -7
  209. tccli/services/vpc/v20170312/api.json +1216 -70
  210. tccli/services/vpc/v20170312/examples.json +139 -3
  211. tccli/services/vpc/vpc_client.py +1023 -122
  212. tccli/services/vrs/v20200824/api.json +11 -11
  213. tccli/services/vrs/v20200824/examples.json +1 -1
  214. tccli/services/vtc/v20240223/api.json +14 -14
  215. tccli/services/waf/v20180125/api.json +812 -143
  216. tccli/services/waf/v20180125/examples.json +2 -2
  217. tccli/services/wedata/v20210820/api.json +1281 -601
  218. tccli/services/wedata/v20210820/examples.json +127 -157
  219. tccli/services/wedata/v20250806/api.json +19335 -0
  220. tccli/services/wedata/v20250806/examples.json +999 -0
  221. tccli/services/wedata/wedata_client.py +7072 -1131
  222. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/METADATA +9 -7
  223. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/RECORD +226 -224
  224. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/WHEEL +1 -1
  225. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/entry_points.txt +0 -0
  226. {tccli-3.0.1391.1.dist-info/license_files → tccli-3.0.1414.1.dist-info/licenses}/LICENSE +0 -0
@@ -1280,6 +1280,51 @@
1280
1280
  "name": "VirtualHost",
1281
1281
  "required": true,
1282
1282
  "type": "string"
1283
+ },
1284
+ {
1285
+ "disabled": false,
1286
+ "document": "按哪个字段排序,支持:channel(channel数),incoming_bytes(入流量大小),outgoing_bytes(出流量大小)",
1287
+ "example": "channel",
1288
+ "member": "string",
1289
+ "name": "SortElement",
1290
+ "required": false,
1291
+ "type": "string"
1292
+ },
1293
+ {
1294
+ "disabled": false,
1295
+ "document": "排序方式:ASC,DESC",
1296
+ "example": "ASC",
1297
+ "member": "string",
1298
+ "name": "SortType",
1299
+ "required": false,
1300
+ "type": "string"
1301
+ },
1302
+ {
1303
+ "disabled": false,
1304
+ "document": "分页参数,从第几条数据开始",
1305
+ "example": "10",
1306
+ "member": "int64",
1307
+ "name": "Offset",
1308
+ "required": false,
1309
+ "type": "int"
1310
+ },
1311
+ {
1312
+ "disabled": false,
1313
+ "document": "一页大小",
1314
+ "example": "20",
1315
+ "member": "int64",
1316
+ "name": "Limit",
1317
+ "required": false,
1318
+ "type": "int"
1319
+ },
1320
+ {
1321
+ "disabled": false,
1322
+ "document": "连接名模糊搜索",
1323
+ "example": "156.23.76.13",
1324
+ "member": "string",
1325
+ "name": "Name",
1326
+ "required": false,
1327
+ "type": "string"
1283
1328
  }
1284
1329
  ],
1285
1330
  "type": "object"
@@ -1334,7 +1379,7 @@
1334
1379
  "example": "testVhost",
1335
1380
  "member": "string",
1336
1381
  "name": "VirtualHost",
1337
- "required": true,
1382
+ "required": false,
1338
1383
  "type": "string"
1339
1384
  },
1340
1385
  {
@@ -1343,7 +1388,7 @@
1343
1388
  "example": "testQueueName",
1344
1389
  "member": "string",
1345
1390
  "name": "QueueName",
1346
- "required": true,
1391
+ "required": false,
1347
1392
  "type": "string"
1348
1393
  },
1349
1394
  {
@@ -1372,6 +1417,15 @@
1372
1417
  "name": "SearchWord",
1373
1418
  "required": false,
1374
1419
  "type": "string"
1420
+ },
1421
+ {
1422
+ "disabled": false,
1423
+ "document": "channelId",
1424
+ "example": "156.141.4.7",
1425
+ "member": "string",
1426
+ "name": "Channel",
1427
+ "required": false,
1428
+ "type": "string"
1375
1429
  }
1376
1430
  ],
1377
1431
  "type": "object"
@@ -2745,6 +2799,24 @@
2745
2799
  "name": "SendReceiveRatio",
2746
2800
  "required": false,
2747
2801
  "type": "float"
2802
+ },
2803
+ {
2804
+ "disabled": false,
2805
+ "document": "是否删除所有标签,默认为false",
2806
+ "example": "false",
2807
+ "member": "bool",
2808
+ "name": "DeleteAllTags",
2809
+ "required": false,
2810
+ "type": "bool"
2811
+ },
2812
+ {
2813
+ "disabled": false,
2814
+ "document": "修改的实例标签列表",
2815
+ "example": "无",
2816
+ "member": "RabbitMQServerlessTag",
2817
+ "name": "InstanceTags",
2818
+ "required": false,
2819
+ "type": "list"
2748
2820
  }
2749
2821
  ],
2750
2822
  "type": "object"
@@ -2881,6 +2953,33 @@
2881
2953
  "name": "Remark",
2882
2954
  "required": false,
2883
2955
  "type": "string"
2956
+ },
2957
+ {
2958
+ "disabled": false,
2959
+ "document": "MessageTTL参数单位ms,classic类型专用\t",
2960
+ "example": "1000",
2961
+ "member": "int64",
2962
+ "name": "MessageTTL",
2963
+ "required": false,
2964
+ "type": "int"
2965
+ },
2966
+ {
2967
+ "disabled": false,
2968
+ "document": "DeadLetterExchange参数。可将过期或被拒绝的消息投往指定的死信 exchange。",
2969
+ "example": "testDeadLetterExchange",
2970
+ "member": "string",
2971
+ "name": "DeadLetterExchange",
2972
+ "required": false,
2973
+ "type": "string"
2974
+ },
2975
+ {
2976
+ "disabled": false,
2977
+ "document": "DeadLetterRoutingKey参数。只能包含字母、数字、\".\"、\"-\",\"@\",\"_\"",
2978
+ "example": "testDeadLetterRoutingKey",
2979
+ "member": "string",
2980
+ "name": "DeadLetterRoutingKey",
2981
+ "required": false,
2982
+ "type": "string"
2884
2983
  }
2885
2984
  ],
2886
2985
  "type": "object"
@@ -3436,6 +3535,16 @@
3436
3535
  "output_required": false,
3437
3536
  "type": "int",
3438
3537
  "value_allowed_null": false
3538
+ },
3539
+ {
3540
+ "disabled": false,
3541
+ "document": "实例标签列表",
3542
+ "example": "无",
3543
+ "member": "RabbitMQServerlessTag",
3544
+ "name": "Tags",
3545
+ "output_required": false,
3546
+ "type": "list",
3547
+ "value_allowed_null": false
3439
3548
  }
3440
3549
  ],
3441
3550
  "usage": "out"
@@ -3552,7 +3661,7 @@
3552
3661
  {
3553
3662
  "disabled": false,
3554
3663
  "document": "连接名称",
3555
- "example": "1.1.1.1:2340 -> 10.1.1.1:5672",
3664
+ "example": "167.4.51.5",
3556
3665
  "member": "string",
3557
3666
  "name": "ConnectionName",
3558
3667
  "output_required": true,
@@ -3618,6 +3727,56 @@
3618
3727
  "output_required": true,
3619
3728
  "type": "int",
3620
3729
  "value_allowed_null": false
3730
+ },
3731
+ {
3732
+ "disabled": false,
3733
+ "document": "入流量大小,单位 bytes",
3734
+ "example": "50.4",
3735
+ "member": "float",
3736
+ "name": "IncomingBytes",
3737
+ "output_required": false,
3738
+ "type": "float",
3739
+ "value_allowed_null": false
3740
+ },
3741
+ {
3742
+ "disabled": false,
3743
+ "document": "出流量大小,单位bytes",
3744
+ "example": "189.0",
3745
+ "member": "float",
3746
+ "name": "OutgoingBytes",
3747
+ "output_required": false,
3748
+ "type": "float",
3749
+ "value_allowed_null": false
3750
+ },
3751
+ {
3752
+ "disabled": false,
3753
+ "document": "心跳间隔时间,默认60s",
3754
+ "example": "60",
3755
+ "member": "uint64",
3756
+ "name": "Heartbeat",
3757
+ "output_required": false,
3758
+ "type": "int",
3759
+ "value_allowed_null": false
3760
+ },
3761
+ {
3762
+ "disabled": false,
3763
+ "document": "一个链接最大的channel数,默认1024",
3764
+ "example": "1024",
3765
+ "member": "uint64",
3766
+ "name": "MaxChannel",
3767
+ "output_required": false,
3768
+ "type": "int",
3769
+ "value_allowed_null": false
3770
+ },
3771
+ {
3772
+ "disabled": false,
3773
+ "document": "空闲时间点",
3774
+ "example": "2025-05-01 12:10:40",
3775
+ "member": "string",
3776
+ "name": "IdleSince",
3777
+ "output_required": false,
3778
+ "type": "string",
3779
+ "value_allowed_null": false
3621
3780
  }
3622
3781
  ],
3623
3782
  "usage": "out"
@@ -3644,6 +3803,76 @@
3644
3803
  "output_required": true,
3645
3804
  "type": "string",
3646
3805
  "value_allowed_null": false
3806
+ },
3807
+ {
3808
+ "disabled": false,
3809
+ "document": "消费目标队列",
3810
+ "example": "test-queue",
3811
+ "member": "string",
3812
+ "name": "QueueName",
3813
+ "output_required": false,
3814
+ "type": "string",
3815
+ "value_allowed_null": false
3816
+ },
3817
+ {
3818
+ "disabled": false,
3819
+ "document": "是否需要消费者手动 ack",
3820
+ "example": "true",
3821
+ "member": "bool",
3822
+ "name": "AckRequired",
3823
+ "output_required": false,
3824
+ "type": "bool",
3825
+ "value_allowed_null": false
3826
+ },
3827
+ {
3828
+ "disabled": false,
3829
+ "document": "消费者 qos 值",
3830
+ "example": "500",
3831
+ "member": "uint64",
3832
+ "name": "PrefetchCount",
3833
+ "output_required": false,
3834
+ "type": "int",
3835
+ "value_allowed_null": false
3836
+ },
3837
+ {
3838
+ "disabled": false,
3839
+ "document": "消费者状态",
3840
+ "example": "up",
3841
+ "member": "string",
3842
+ "name": "Active",
3843
+ "output_required": false,
3844
+ "type": "string",
3845
+ "value_allowed_null": false
3846
+ },
3847
+ {
3848
+ "disabled": false,
3849
+ "document": "最后一次投递消息时间",
3850
+ "example": "2025-09-12 13:10:09",
3851
+ "member": "string",
3852
+ "name": "LastDeliveredTime",
3853
+ "output_required": false,
3854
+ "type": "string",
3855
+ "value_allowed_null": false
3856
+ },
3857
+ {
3858
+ "disabled": false,
3859
+ "document": "消费者未确认消息数",
3860
+ "example": "100",
3861
+ "member": "int64",
3862
+ "name": "UnAckMsgCount",
3863
+ "output_required": false,
3864
+ "type": "int",
3865
+ "value_allowed_null": false
3866
+ },
3867
+ {
3868
+ "disabled": false,
3869
+ "document": "consumer 所属的 channel ",
3870
+ "example": "11.151.193.8:4316 -> 21.63.172.169:5672 (1)",
3871
+ "member": "string",
3872
+ "name": "ChannelName",
3873
+ "output_required": false,
3874
+ "type": "string",
3875
+ "value_allowed_null": false
3647
3876
  }
3648
3877
  ],
3649
3878
  "usage": "out"
@@ -4240,7 +4469,7 @@
4240
4469
  {
4241
4470
  "disabled": false,
4242
4471
  "document": "实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败",
4243
- "example": "集群状态",
4472
+ "example": "0",
4244
4473
  "member": "int64",
4245
4474
  "name": "Status",
4246
4475
  "output_required": true,
@@ -4416,10 +4645,48 @@
4416
4645
  "output_required": false,
4417
4646
  "type": "string",
4418
4647
  "value_allowed_null": false
4648
+ },
4649
+ {
4650
+ "disabled": false,
4651
+ "document": "实例标签列表",
4652
+ "example": "无",
4653
+ "member": "RabbitMQServerlessTag",
4654
+ "name": "Tags",
4655
+ "output_required": false,
4656
+ "type": "list",
4657
+ "value_allowed_null": false
4419
4658
  }
4420
4659
  ],
4421
4660
  "usage": "out"
4422
4661
  },
4662
+ "RabbitMQServerlessTag": {
4663
+ "document": "标签",
4664
+ "members": [
4665
+ {
4666
+ "disabled": false,
4667
+ "document": "标签键",
4668
+ "example": "无",
4669
+ "member": "string",
4670
+ "name": "TagKey",
4671
+ "output_required": false,
4672
+ "required": false,
4673
+ "type": "string",
4674
+ "value_allowed_null": false
4675
+ },
4676
+ {
4677
+ "disabled": false,
4678
+ "document": "标签值",
4679
+ "example": "无",
4680
+ "member": "string",
4681
+ "name": "TagValue",
4682
+ "output_required": false,
4683
+ "required": false,
4684
+ "type": "string",
4685
+ "value_allowed_null": false
4686
+ }
4687
+ ],
4688
+ "usage": "both"
4689
+ },
4423
4690
  "RabbitMQServerlessWhiteListInfo": {
4424
4691
  "document": "公网白名单信息",
4425
4692
  "members": [
@@ -99,9 +99,9 @@
99
99
  "DescribeRabbitMQServerlessConnection": [
100
100
  {
101
101
  "document": "",
102
- "input": "POST / HTTP/1.1\nHost: trabbit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQServerlessConnection\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-44w9928j\",\n \"VirtualHost\": \"testVhost\"\n}",
103
- "output": "{\n \"Response\": {\n \"RequestId\": \"dsfsdfs\",\n \"Connections\": [],\n \"TotalCount\": 0\n }\n}",
104
- "title": "查询RabbitMQ连接列表"
102
+ "input": "POST / HTTP/1.1\nHost: trabbit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQServerlessConnection\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-slbswcjhay\",\n \"VirtualHost\": \"/\"\n}",
103
+ "output": "{\n \"Response\": {\n \"Connections\": [\n {\n \"Channels\": 10,\n \"ConnectionName\": \"11.141.232.162:2594 -> 21.63.172.58:5672\",\n \"Heartbeat\": 60,\n \"IncomingBytes\": 5,\n \"MaxChannel\": 1024,\n \"OutgoingBytes\": 766.65,\n \"PeerHost\": \"11.141.232.162\",\n \"Protocol\": \"AMQP 0-9-1\",\n \"SSL\": false,\n \"State\": \"running\",\n \"User\": \"ledou\"\n },\n {\n \"Channels\": 1,\n \"ConnectionName\": \"11.151.193.8:35695 -> 21.63.172.58:5672\",\n \"Heartbeat\": 60,\n \"IncomingBytes\": 9.92,\n \"MaxChannel\": 1024,\n \"OutgoingBytes\": 763.8,\n \"PeerHost\": \"11.151.193.8\",\n \"Protocol\": \"AMQP 0-9-1\",\n \"SSL\": false,\n \"State\": \"running\",\n \"User\": \"ledou\"\n }\n ],\n \"RequestId\": \"8ea767cf-5895-4eda-985b-cf739d9074b5\",\n \"TotalCount\": 2\n }\n}",
104
+ "title": "正常获取connection列表"
105
105
  }
106
106
  ],
107
107
  "DescribeRabbitMQServerlessConsumers": [
@@ -110,6 +110,12 @@
110
110
  "input": "POST / HTTP/1.1\nHost: trabbit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQServerlessConsumers\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-jero744g\",\n \"VirtualHost\": \"testVhost\",\n \"QueueName\": \"testQueue\",\n \"Limit\": 0,\n \"Offset\": 0,\n \"SearchWord\": \"testSearchWord\"\n}",
111
111
  "output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"ConsumerInfoList\": [\n {\n \"ClientIp\": \"119.147.10.198\",\n \"ConsumerTag\": \"ctag1.6473a72d0293494197684c6c3261318b\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
112
112
  "title": "查询RabbitMQ队列消费者列表"
113
+ },
114
+ {
115
+ "document": "",
116
+ "input": "POST / HTTP/1.1\nHost: trabbit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQServerlessConsumers\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-slbswcjhay\",\n \"VirtualHost\": \"/\",\n \"QueueName\": \"normal-queue\",\n \"SearchWord\": \"amq.ctag-0b29cd9c\"\n}",
117
+ "output": "{\n \"Response\": {\n \"ConsumerInfoList\": [\n {\n \"AckRequired\": true,\n \"Active\": \"up\",\n \"ClientIp\": \"11.151.193.8\",\n \"ConsumerTag\": \"amq.ctag-0b29cd9c\",\n \"PrefetchCount\": 500,\n \"QueueName\": \"normal-queue\"\n }\n ],\n \"RequestId\": \"271eecb0-9c34-43d0-b06d-4a539abda5f8\",\n \"TotalCount\": 1\n }\n}",
118
+ "title": "正常获取消费者列表"
113
119
  }
114
120
  ],
115
121
  "DescribeRabbitMQServerlessExchangeDetail": [
@@ -6972,7 +6972,7 @@
6972
6972
  {
6973
6973
  "disabled": false,
6974
6974
  "document": "任务ID",
6975
- "example": "xxx",
6975
+ "example": "88cce1ff-b043-404f-8dc5-2cfea60bfd31",
6976
6976
  "member": "string",
6977
6977
  "name": "TaskId",
6978
6978
  "output_required": true,
@@ -6982,7 +6982,7 @@
6982
6982
  {
6983
6983
  "disabled": false,
6984
6984
  "document": "实例ID",
6985
- "example": "rmq-xxxx",
6985
+ "example": "rmq-1rgrxm9a8",
6986
6986
  "member": "string",
6987
6987
  "name": "InstanceId",
6988
6988
  "output_required": true,
@@ -7022,7 +7022,7 @@
7022
7022
  {
7023
7023
  "disabled": false,
7024
7024
  "document": "任务状态: 0,迁移中 1,迁移成功 2,迁移完成,只有部分数据完成迁移",
7025
- "example": "",
7025
+ "example": "1",
7026
7026
  "member": "int64",
7027
7027
  "name": "Status",
7028
7028
  "output_required": true,
@@ -7032,7 +7032,7 @@
7032
7032
  {
7033
7033
  "disabled": false,
7034
7034
  "document": "创建时间",
7035
- "example": "",
7035
+ "example": "1758510006847",
7036
7036
  "member": "int64",
7037
7037
  "name": "CreateTime",
7038
7038
  "output_required": true,
@@ -17,6 +17,58 @@ from tencentcloud.trro.v20220325 import models as models_v20220325
17
17
  from jmespath import search
18
18
  import time
19
19
 
20
+ def doGetTotalDuration(args, parsed_globals):
21
+ g_param = parse_global_arg(parsed_globals)
22
+
23
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
24
+ cred = credential.CVMRoleCredential()
25
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
26
+ cred = credential.STSAssumeRoleCredential(
27
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
28
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
29
+ )
30
+ 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):
31
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
32
+ else:
33
+ cred = credential.Credential(
34
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
35
+ )
36
+ http_profile = HttpProfile(
37
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
38
+ reqMethod="POST",
39
+ endpoint=g_param[OptionsDefine.Endpoint],
40
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
41
+ )
42
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
43
+ if g_param[OptionsDefine.Language]:
44
+ profile.language = g_param[OptionsDefine.Language]
45
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
46
+ client = mod.TrroClient(cred, g_param[OptionsDefine.Region], profile)
47
+ client._sdkVersion += ("_CLI_" + __version__)
48
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
49
+ model = models.GetTotalDurationRequest()
50
+ model.from_json_string(json.dumps(args))
51
+ start_time = time.time()
52
+ while True:
53
+ rsp = client.GetTotalDuration(model)
54
+ result = rsp.to_json_string()
55
+ try:
56
+ json_obj = json.loads(result)
57
+ except TypeError as e:
58
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
59
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
60
+ break
61
+ cur_time = time.time()
62
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
63
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
64
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
65
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
66
+ else:
67
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
68
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
69
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
+
71
+
20
72
  def doModifyCallbackUrl(args, parsed_globals):
21
73
  g_param = parse_global_arg(parsed_globals)
22
74
 
@@ -849,6 +901,58 @@ def doModifyPolicy(args, parsed_globals):
849
901
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
850
902
 
851
903
 
904
+ def doGetDurationDetails(args, parsed_globals):
905
+ g_param = parse_global_arg(parsed_globals)
906
+
907
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
908
+ cred = credential.CVMRoleCredential()
909
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
910
+ cred = credential.STSAssumeRoleCredential(
911
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
912
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
913
+ )
914
+ 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):
915
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
916
+ else:
917
+ cred = credential.Credential(
918
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
919
+ )
920
+ http_profile = HttpProfile(
921
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
922
+ reqMethod="POST",
923
+ endpoint=g_param[OptionsDefine.Endpoint],
924
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
925
+ )
926
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
927
+ if g_param[OptionsDefine.Language]:
928
+ profile.language = g_param[OptionsDefine.Language]
929
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
930
+ client = mod.TrroClient(cred, g_param[OptionsDefine.Region], profile)
931
+ client._sdkVersion += ("_CLI_" + __version__)
932
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
933
+ model = models.GetDurationDetailsRequest()
934
+ model.from_json_string(json.dumps(args))
935
+ start_time = time.time()
936
+ while True:
937
+ rsp = client.GetDurationDetails(model)
938
+ result = rsp.to_json_string()
939
+ try:
940
+ json_obj = json.loads(result)
941
+ except TypeError as e:
942
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
943
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
944
+ break
945
+ cur_time = time.time()
946
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
947
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
948
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
949
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
950
+ else:
951
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
952
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
953
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
954
+
955
+
852
956
  def doCreateDevice(args, parsed_globals):
853
957
  g_param = parse_global_arg(parsed_globals)
854
958
 
@@ -1536,6 +1640,7 @@ MODELS_MAP = {
1536
1640
  }
1537
1641
 
1538
1642
  ACTION_MAP = {
1643
+ "GetTotalDuration": doGetTotalDuration,
1539
1644
  "ModifyCallbackUrl": doModifyCallbackUrl,
1540
1645
  "DescribeProjectInfo": doDescribeProjectInfo,
1541
1646
  "GetDevices": doGetDevices,
@@ -1552,6 +1657,7 @@ ACTION_MAP = {
1552
1657
  "ModifyProject": doModifyProject,
1553
1658
  "DescribePolicy": doDescribePolicy,
1554
1659
  "ModifyPolicy": doModifyPolicy,
1660
+ "GetDurationDetails": doGetDurationDetails,
1555
1661
  "CreateDevice": doCreateDevice,
1556
1662
  "CreateCloudRecording": doCreateCloudRecording,
1557
1663
  "DescribeSessionStatistics": doDescribeSessionStatistics,