tccli 3.0.1216.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 (252) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/credentials.py +25 -0
  5. tccli/main.py +6 -2
  6. tccli/plugins/sso/__init__.py +61 -0
  7. tccli/plugins/sso/configs.py +4 -0
  8. tccli/plugins/sso/configure.py +45 -0
  9. tccli/plugins/sso/login.py +144 -0
  10. tccli/plugins/sso/logout.py +21 -0
  11. tccli/plugins/sso/terminal.py +161 -0
  12. tccli/plugins/sso/texts.py +40 -0
  13. tccli/services/__init__.py +6 -0
  14. tccli/services/acp/v20220105/api.json +7 -7
  15. tccli/services/acp/v20220105/examples.json +2 -2
  16. tccli/services/aiart/v20221229/api.json +29 -29
  17. tccli/services/aiart/v20221229/examples.json +8 -8
  18. tccli/services/apigateway/v20180808/api.json +18 -17
  19. tccli/services/apigateway/v20180808/examples.json +12 -12
  20. tccli/services/apm/v20210622/api.json +98 -4
  21. tccli/services/asr/v20190614/api.json +18 -17
  22. tccli/services/asr/v20190614/examples.json +13 -13
  23. tccli/services/autoscaling/v20180419/api.json +371 -309
  24. tccli/services/autoscaling/v20180419/examples.json +17 -17
  25. tccli/services/batch/v20170312/api.json +7 -7
  26. tccli/services/bda/v20200324/api.json +39 -31
  27. tccli/services/bda/v20200324/examples.json +9 -9
  28. tccli/services/bh/__init__.py +4 -0
  29. tccli/services/bh/bh_client.py +3428 -0
  30. tccli/services/bh/v20230418/api.json +8180 -0
  31. tccli/services/bh/v20230418/examples.json +519 -0
  32. tccli/services/bi/v20220105/api.json +48 -0
  33. tccli/services/billing/v20180709/api.json +26 -24
  34. tccli/services/bsca/v20210811/api.json +1 -1
  35. tccli/services/btoe/v20210514/api.json +4 -4
  36. tccli/services/btoe/v20210514/examples.json +2 -2
  37. tccli/services/ca/v20230228/api.json +60 -0
  38. tccli/services/cam/v20190116/api.json +11 -11
  39. tccli/services/cat/v20180409/api.json +9 -0
  40. tccli/services/cbs/v20170312/api.json +200 -188
  41. tccli/services/cbs/v20170312/examples.json +4 -4
  42. tccli/services/ccc/v20200210/api.json +390 -323
  43. tccli/services/ccc/v20200210/examples.json +15 -15
  44. tccli/services/cdb/cdb_client.py +13 -13
  45. tccli/services/cdb/v20170320/api.json +295 -270
  46. tccli/services/cdb/v20170320/examples.json +38 -38
  47. tccli/services/cdc/v20201214/api.json +283 -270
  48. tccli/services/cdc/v20201214/examples.json +26 -26
  49. tccli/services/cds/v20180420/api.json +82 -76
  50. tccli/services/cds/v20180420/examples.json +1 -1
  51. tccli/services/cdwch/v20200915/api.json +1 -1
  52. tccli/services/cdwdoris/v20211228/api.json +42 -2
  53. tccli/services/cdz/v20221123/api.json +41 -5
  54. tccli/services/cfg/v20210820/api.json +31 -0
  55. tccli/services/cfs/v20190719/api.json +89 -1
  56. tccli/services/cfs/v20190719/examples.json +1 -1
  57. tccli/services/cfw/cfw_client.py +0 -53
  58. tccli/services/cfw/v20190904/api.json +1849 -1999
  59. tccli/services/cfw/v20190904/examples.json +157 -159
  60. tccli/services/ckafka/v20190819/api.json +104 -75
  61. tccli/services/clb/v20180317/api.json +48 -26
  62. tccli/services/clb/v20180317/examples.json +1 -1
  63. tccli/services/cloudapp/v20220530/api.json +5 -1
  64. tccli/services/cloudaudit/v20190319/api.json +58 -44
  65. tccli/services/cloudaudit/v20190319/examples.json +6 -6
  66. tccli/services/cloudstudio/v20230508/api.json +38 -37
  67. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  68. tccli/services/cls/cls_client.py +216 -4
  69. tccli/services/cls/v20201016/api.json +536 -47
  70. tccli/services/cls/v20201016/examples.json +34 -2
  71. tccli/services/csip/v20221121/api.json +2562 -2382
  72. tccli/services/csip/v20221121/examples.json +108 -108
  73. tccli/services/cvm/v20170312/api.json +149 -112
  74. tccli/services/cvm/v20170312/examples.json +2 -2
  75. tccli/services/cwp/cwp_client.py +4 -110
  76. tccli/services/cwp/v20180228/api.json +6338 -6146
  77. tccli/services/cwp/v20180228/examples.json +342 -370
  78. tccli/services/cynosdb/v20190107/api.json +93 -81
  79. tccli/services/cynosdb/v20190107/examples.json +70 -70
  80. tccli/services/dasb/v20191018/api.json +796 -651
  81. tccli/services/dasb/v20191018/examples.json +101 -101
  82. tccli/services/dcdb/dcdb_client.py +114 -61
  83. tccli/services/dcdb/v20180411/api.json +141 -7
  84. tccli/services/dcdb/v20180411/examples.json +32 -0
  85. tccli/services/dlc/v20210125/api.json +21 -11
  86. tccli/services/dnspod/dnspod_client.py +417 -46
  87. tccli/services/dnspod/v20210323/api.json +751 -30
  88. tccli/services/dnspod/v20210323/examples.json +62 -0
  89. tccli/services/dts/v20211206/api.json +4 -4
  90. tccli/services/ecm/v20190719/api.json +2 -2
  91. tccli/services/emr/v20190103/api.json +339 -114
  92. tccli/services/emr/v20190103/examples.json +64 -82
  93. tccli/services/es/v20180416/api.json +29 -0
  94. tccli/services/es/v20180416/examples.json +1 -1
  95. tccli/services/ess/v20201111/api.json +49 -31
  96. tccli/services/ess/v20201111/examples.json +20 -8
  97. tccli/services/essbasic/v20210526/api.json +54 -49
  98. tccli/services/essbasic/v20210526/examples.json +36 -18
  99. tccli/services/facefusion/v20181201/api.json +47 -45
  100. tccli/services/facefusion/v20181201/examples.json +2 -2
  101. tccli/services/facefusion/v20220927/api.json +54 -48
  102. tccli/services/facefusion/v20220927/examples.json +5 -5
  103. tccli/services/faceid/v20180301/api.json +497 -496
  104. tccli/services/faceid/v20180301/examples.json +219 -101
  105. tccli/services/fmu/v20191213/api.json +59 -67
  106. tccli/services/fmu/v20191213/examples.json +22 -22
  107. tccli/services/ft/v20200304/api.json +53 -57
  108. tccli/services/ft/v20200304/examples.json +14 -14
  109. tccli/services/gme/v20180711/api.json +21 -11
  110. tccli/services/gme/v20180711/examples.json +1 -1
  111. tccli/services/hai/v20230812/api.json +116 -9
  112. tccli/services/hai/v20230812/examples.json +4 -4
  113. tccli/services/hunyuan/hunyuan_client.py +436 -12
  114. tccli/services/hunyuan/v20230901/api.json +1482 -118
  115. tccli/services/hunyuan/v20230901/examples.json +82 -18
  116. tccli/services/iai/v20180301/api.json +23 -19
  117. tccli/services/iai/v20180301/examples.json +2 -2
  118. tccli/services/iai/v20200303/api.json +530 -511
  119. tccli/services/iai/v20200303/examples.json +116 -86
  120. tccli/services/ig/__init__.py +4 -0
  121. tccli/services/ig/ig_client.py +195 -0
  122. tccli/services/ig/v20210518/api.json +83 -0
  123. tccli/services/ig/v20210518/examples.json +13 -0
  124. tccli/services/ioa/ioa_client.py +53 -0
  125. tccli/services/ioa/v20220601/api.json +662 -413
  126. tccli/services/ioa/v20220601/examples.json +24 -10
  127. tccli/services/iotexplorer/v20190423/api.json +33 -13
  128. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  129. tccli/services/iotvideo/iotvideo_client.py +106 -0
  130. tccli/services/iotvideo/v20191126/api.json +256 -24
  131. tccli/services/iotvideo/v20191126/examples.json +19 -3
  132. tccli/services/iotvideo/v20201215/api.json +1 -1
  133. tccli/services/iotvideo/v20201215/examples.json +1 -1
  134. tccli/services/iotvideo/v20211125/api.json +1 -1
  135. tccli/services/iotvideo/v20211125/examples.json +2 -2
  136. tccli/services/iss/iss_client.py +69 -122
  137. tccli/services/iss/v20230517/api.json +10 -54
  138. tccli/services/iss/v20230517/examples.json +0 -14
  139. tccli/services/kms/v20190118/api.json +301 -268
  140. tccli/services/kms/v20190118/examples.json +45 -51
  141. tccli/services/lcic/lcic_client.py +159 -0
  142. tccli/services/lcic/v20220817/api.json +273 -1
  143. tccli/services/lcic/v20220817/examples.json +24 -0
  144. tccli/services/lighthouse/v20200324/api.json +56 -0
  145. tccli/services/live/live_client.py +159 -0
  146. tccli/services/live/v20180801/api.json +244 -0
  147. tccli/services/live/v20180801/examples.json +24 -0
  148. tccli/services/lke/v20231130/api.json +17 -17
  149. tccli/services/lke/v20231130/examples.json +19 -25
  150. tccli/services/mariadb/v20170312/api.json +7 -7
  151. tccli/services/market/v20191010/api.json +3 -3
  152. tccli/services/market/v20191010/examples.json +2 -2
  153. tccli/services/mmps/v20200710/api.json +47 -47
  154. tccli/services/mmps/v20200710/examples.json +3 -3
  155. tccli/services/mongodb/v20190725/api.json +4 -4
  156. tccli/services/monitor/v20180724/api.json +46 -19
  157. tccli/services/mps/v20190612/api.json +282 -5
  158. tccli/services/mps/v20190612/examples.json +25 -1
  159. tccli/services/mqtt/v20240516/api.json +2 -2
  160. tccli/services/mrs/v20200910/api.json +72 -34
  161. tccli/services/mrs/v20200910/examples.json +2 -2
  162. tccli/services/ms/v20180408/api.json +535 -506
  163. tccli/services/ms/v20180408/examples.json +25 -25
  164. tccli/services/oceanus/v20190422/api.json +130 -0
  165. tccli/services/ocr/ocr_client.py +232 -20
  166. tccli/services/ocr/v20181119/api.json +2265 -760
  167. tccli/services/ocr/v20181119/examples.json +200 -180
  168. tccli/services/omics/v20221128/api.json +614 -553
  169. tccli/services/omics/v20221128/examples.json +9 -9
  170. tccli/services/organization/v20210331/api.json +13 -4
  171. tccli/services/organization/v20210331/examples.json +2 -2
  172. tccli/services/partners/v20180321/api.json +244 -234
  173. tccli/services/partners/v20180321/examples.json +19 -19
  174. tccli/services/privatedns/privatedns_client.py +428 -4
  175. tccli/services/privatedns/v20201028/api.json +815 -11
  176. tccli/services/privatedns/v20201028/examples.json +64 -0
  177. tccli/services/pts/v20210728/api.json +18 -0
  178. tccli/services/pts/v20210728/examples.json +1 -1
  179. tccli/services/rce/rce_client.py +53 -0
  180. tccli/services/rce/v20201103/api.json +146 -0
  181. tccli/services/rce/v20201103/examples.json +8 -0
  182. tccli/services/redis/v20180412/api.json +42 -42
  183. tccli/services/redis/v20180412/examples.json +19 -19
  184. tccli/services/rum/v20210622/api.json +9 -0
  185. tccli/services/scf/v20180416/api.json +15 -15
  186. tccli/services/scf/v20180416/examples.json +1 -1
  187. tccli/services/smop/v20201203/api.json +46 -42
  188. tccli/services/smop/v20201203/examples.json +2 -2
  189. tccli/services/soe/v20180724/api.json +10 -10
  190. tccli/services/sqlserver/v20180328/api.json +21 -8
  191. tccli/services/sqlserver/v20180328/examples.json +5 -5
  192. tccli/services/ssl/v20191205/api.json +97 -4
  193. tccli/services/ssm/v20190923/api.json +292 -231
  194. tccli/services/ssm/v20190923/examples.json +42 -42
  195. tccli/services/tat/v20201028/api.json +97 -97
  196. tccli/services/tat/v20201028/examples.json +20 -26
  197. tccli/services/tchd/v20230306/api.json +5 -5
  198. tccli/services/tchd/v20230306/examples.json +3 -3
  199. tccli/services/tcr/v20190924/api.json +1 -1
  200. tccli/services/tcr/v20190924/examples.json +1 -1
  201. tccli/services/tcss/v20201101/api.json +1973 -1426
  202. tccli/services/tcss/v20201101/examples.json +346 -364
  203. tccli/services/tdmq/v20200217/api.json +539 -401
  204. tccli/services/tdmq/v20200217/examples.json +104 -104
  205. tccli/services/tds/v20220801/api.json +4 -4
  206. tccli/services/tem/v20210701/api.json +287 -271
  207. tccli/services/tem/v20210701/examples.json +59 -59
  208. tccli/services/teo/v20220901/api.json +37 -9
  209. tccli/services/teo/v20220901/examples.json +13 -7
  210. tccli/services/thpc/v20230321/api.json +5 -5
  211. tccli/services/tke/tke_client.py +217 -58
  212. tccli/services/tke/v20180525/api.json +36 -27
  213. tccli/services/tke/v20180525/examples.json +1 -1
  214. tccli/services/tke/v20220501/api.json +176 -0
  215. tccli/services/tke/v20220501/examples.json +24 -0
  216. tccli/services/tmt/v20180321/api.json +38 -8
  217. tccli/services/trp/v20210515/api.json +86 -74
  218. tccli/services/trp/v20210515/examples.json +65 -65
  219. tccli/services/trro/v20220325/api.json +72 -71
  220. tccli/services/trro/v20220325/examples.json +8 -8
  221. tccli/services/trtc/trtc_client.py +8 -61
  222. tccli/services/trtc/v20190722/api.json +72 -30
  223. tccli/services/trtc/v20190722/examples.json +3 -11
  224. tccli/services/tse/tse_client.py +110 -4
  225. tccli/services/tse/v20201207/api.json +122 -7
  226. tccli/services/tse/v20201207/examples.json +25 -9
  227. tccli/services/vclm/v20240523/api.json +225 -82
  228. tccli/services/vclm/v20240523/examples.json +13 -19
  229. tccli/services/vod/v20180717/api.json +431 -4
  230. tccli/services/vod/v20180717/examples.json +25 -5
  231. tccli/services/vod/v20240718/api.json +11 -11
  232. tccli/services/vod/v20240718/examples.json +4 -4
  233. tccli/services/vod/vod_client.py +53 -0
  234. tccli/services/vpc/v20170312/api.json +1090 -862
  235. tccli/services/vpc/v20170312/examples.json +74 -66
  236. tccli/services/vpc/vpc_client.py +61 -8
  237. tccli/services/waf/v20180125/api.json +2540 -2177
  238. tccli/services/waf/v20180125/examples.json +216 -284
  239. tccli/services/waf/waf_client.py +172 -119
  240. tccli/services/wav/v20210129/api.json +48 -48
  241. tccli/services/wav/v20210129/examples.json +4 -4
  242. tccli/services/wedata/v20210820/api.json +909 -25
  243. tccli/services/wedata/v20210820/examples.json +28 -4
  244. tccli/services/wedata/wedata_client.py +159 -0
  245. tccli/services/weilingwith/v20230427/api.json +6 -6
  246. tccli/services/weilingwith/v20230427/examples.json +3 -3
  247. tccli/sso.py +229 -0
  248. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
  249. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
  250. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  251. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  252. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -2,64 +2,64 @@
2
2
  "actions": {
3
3
  "CreateProductSecret": [
4
4
  {
5
- "document": "",
6
- "input": "https://ssm.tencentcloudapi.com/?Action=CreateProductSecret\n&SecretName=testName\n&UserNamePrefix=testPrefix\n&ProductName=Mysql\n&InstanceID=cdb-vosgis\n&Description=test\n&KmsKeyId=2609a8fd-4584-4f89-98be-8c7ae1b81ef4\n&RotationBeginTime=2006-01-02 15:04:05\n&EnableRotation=true\n&RotationFrequency=35\n&Domains.0=%\n&Tags.0.TagKey=tagKey\n&Tags.0.TagValue=tagVal\n&PrivilegesList.0.PrivilegeName=object\n&PrivilegesList.0.Privileges.0=read\n&PrivilegesList.0.Database=testdb\n&PrivilegesList.0.TableName=testtable\n&PrivilegesList.0.ColumnName=testColumn\n&<公共请求参数>",
7
- "output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"SecretName\": \"testName\",\n \"TagCode\": 0,\n \"TagMsg\": \"success\",\n \"FlowID\": 123\n }\n}",
5
+ "document": "CreateProductSecret创建云产品凭据请求示例",
6
+ "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProductSecret\n<公共请求参数>\n\n{\n \"SecretName\": \"test3-db-secret\",\n \"UserNamePrefix\": \"lzctest\",\n \"ProductName\": \"Mysql\",\n \"InstanceID\": \"cdb-n4j3y33j\",\n \"Domains\": [\n \"%\"\n ],\n \"PrivilegesList\": [\n {\n \"PrivilegeName\": \"GlobalPrivileges\",\n \"Privileges\": [\n \"SELECT\"\n ]\n }\n ],\n \"Description\": \"测试数据库凭据创建\",\n \"KmsKeyId\": \"6abd1fdb-86d4-11ef-b72d-52540089bc41\",\n \"Tags\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": \"dev\"\n }\n ],\n \"RotationBeginTime\": \"2024-10-31 11:11:00\",\n \"EnableRotation\": true,\n \"RotationFrequency\": 30\n}",
7
+ "output": "{\n \"Response\": {\n \"FlowID\": 43415,\n \"RequestId\": \"0f5fa585-7671-4d4a-bc28-41910b772936\",\n \"SecretName\": \"test3-db-secret\",\n \"TagCode\": 0,\n \"TagMsg\": \"ok\"\n }\n}",
8
8
  "title": "创建云产品凭据"
9
9
  }
10
10
  ],
11
11
  "CreateSSHKeyPairSecret": [
12
12
  {
13
13
  "document": "创建SSH密钥对凭据",
14
- "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSSHKeyPairSecret\n<公共请求参数>\n\n{\n \"ProjectId\": 0,\n \"Tags\": [\n {\n \"TagKey\": \"xx\",\n \"TagValue\": \"xx\"\n }\n ],\n \"KmsKeyId\": \"xx\",\n \"Description\": \"xx\",\n \"SecretName\": \"xx\",\n \"SSHKeyName\": \"xx\"\n}",
15
- "output": "{\n \"Response\": {\n \"SSHKeyID\": \"xx\",\n \"TagMsg\": \"xx\",\n \"TagCode\": 1,\n \"RequestId\": \"xx\",\n \"SecretName\": \"xx\",\n \"SSHKeyName\": \"xx\"\n }\n}",
14
+ "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSSHKeyPairSecret\n<公共请求参数>\n\n{\n \"SecretName\": \"test2-sshkey-secret\",\n \"ProjectId\": 0,\n \"Description\": \"描述信息\",\n \"KmsKeyId\": \"6abd1fdb-86d4-11ef-b72d-52540089bc41\",\n \"Tags\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": \"dev\"\n }\n ],\n \"SSHKeyName\": \"test2_key\"\n}",
15
+ "output": "{\n \"Response\": {\n \"RequestId\": \"591e2b21-20e9-4621-8e4a-2697b89e985a\",\n \"SSHKeyID\": \"skey-e0vbh2ts\",\n \"SSHKeyName\": \"test2_key\",\n \"SecretName\": \"test2-sshkey-secret\",\n \"TagCode\": 0,\n \"TagMsg\": \"ok\"\n }\n}",
16
16
  "title": "创建SSH密钥对凭据"
17
17
  }
18
18
  ],
19
19
  "CreateSecret": [
20
20
  {
21
21
  "document": "创建自定义凭据。",
22
- "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecret\n<公共请求参数>\n\n{\n \"VersionId\": \"v1.0\",\n \"SecretString\": \"test\",\n \"Description\": \"test create secret\",\n \"SecretName\": \"test_secret\"\n}",
23
- "output": "{\n \"Response\": {\n \"RequestId\": \"9debf284-eff9-465a-97b7-163a8b1cccaf\",\n \"SecretName\": \"test_secret\",\n \"VersionId\": \"v1.0\",\n \"TagCode\": 1,\n \"TagMsg\": \"success\"\n }\n}",
22
+ "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecret\n<公共请求参数>\n\n{\n \"SecretName\": \"test3_secret\",\n \"VersionId\": \"v2.0\",\n \"Description\": \"测试自定义凭据创建\",\n \"KmsKeyId\": \"6abd1fdb-86d4-11ef-b72d-52540089bc41\",\n \"SecretType\": 0,\n \"SecretString\": \"凭据value2\"\n}",
23
+ "output": "{\n \"Response\": {\n \"RequestId\": \"be7d863d-8d8d-4d28-97b7-3dad7236bb33\",\n \"SecretName\": \"test2_secret\",\n \"TagCode\": 0,\n \"TagMsg\": \"ok\",\n \"VersionId\": \"v2.0\"\n }\n}",
24
24
  "title": "创建新的凭据信息"
25
25
  }
26
26
  ],
27
27
  "DeleteSecret": [
28
28
  {
29
29
  "document": "",
30
- "input": "https://ssm.tencentcloudapi.com/?Action=DeleteSecret\n&SecretName=test\n&RecoveryWindowInDays=1\n&<公共请求参数>",
31
- "output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"SecretName\": \"test\",\n \"DeleteTime\": 1574247268\n }\n}",
30
+ "input": "https://ssm.tencentcloudapi.com/?Action=DeleteSecret\n&SecretName=lzctest\n&RecoveryWindowInDays=1\n&<公共请求参数>",
31
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"SecretName\": \"lzctest\",\n \"DeleteTime\": 1574247268\n }\n}",
32
32
  "title": "删除凭据信息"
33
33
  }
34
34
  ],
35
35
  "DeleteSecretVersion": [
36
36
  {
37
37
  "document": "",
38
- "input": "https://ssm.tencentcloudapi.com/?Action=DeleteSecretVersion\n&SecretName=test\n&VersionId=v1.0\n&<公共请求参数>",
39
- "output": "{\n \"Response\": {\n \"RequestId\": \"c701cf6d-4199-4822-8630-d48ee953f485\",\n \"SecretName\": \"test\",\n \"VersionId\": \"v1.0\"\n }\n}",
38
+ "input": "https://ssm.tencentcloudapi.com/?Action=DeleteSecretVersion\n&SecretName=lzctest\n&VersionId=v1.0\n&<公共请求参数>",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c701cf6d-4199-4822-8630-d48ee953f485\",\n \"SecretName\": \"lzctest\",\n \"VersionId\": \"v1.0\"\n }\n}",
40
40
  "title": "删除指定版本的凭据"
41
41
  }
42
42
  ],
43
43
  "DescribeAsyncRequestInfo": [
44
44
  {
45
45
  "document": "",
46
- "input": "https://ssm.tencentcloudapi.com/?Action=DescribeAsyncRequestInfo\n&FlowID=123\n&<公共请求参数>",
47
- "output": "{\n \"Response\": {\n \"Description\": \"task is processing\",\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"TaskStatus\": 0\n }\n}",
46
+ "input": "https://ssm.tencentcloudapi.com/?Action=DescribeAsyncRequestInfo\n&FlowID=43414\n&<公共请求参数>",
47
+ "output": "{\n \"Response\": {\n \"Description\": \"success\",\n \"RequestId\": \"a624794f-4fd3-4e92-b00e-ee46eeb51a0c\",\n \"TaskStatus\": 1\n }\n}",
48
48
  "title": "查询异步任务的执行结果"
49
49
  }
50
50
  ],
51
51
  "DescribeRotationDetail": [
52
52
  {
53
53
  "document": "",
54
- "input": "https://ssm.tencentcloudapi.com/?Action=DescribeRotationDetail\n&SecretName=test\n&<公共请求参数>",
55
- "output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"EnableRotation\": true,\n \"Frequency\": 35,\n \"LatestRotateTime\": \"2021-01-02 15:04:05\",\n \"NextRotateBeginTime\": \"2021-02-02 15:04:05\"\n }\n}",
54
+ "input": "https://ssm.tencentcloudapi.com/?Action=DescribeRotationDetail\n&SecretName=test3-db-secret\n&<公共请求参数>",
55
+ "output": "{\n \"Response\": {\n \"EnableRotation\": true,\n \"Frequency\": 30,\n \"LatestRotateTime\": \"2024-10-30 16:24:48\",\n \"NextRotateBeginTime\": \"2024-10-31 11:11:00\",\n \"RequestId\": \"d44e1c39-1e87-4ebe-ac8f-e06d0885971d\"\n }\n}",
56
56
  "title": "查询凭据轮转详情"
57
57
  }
58
58
  ],
59
59
  "DescribeRotationHistory": [
60
60
  {
61
61
  "document": "",
62
- "input": "https://ssm.tencentcloudapi.com/?Action=DescribeRotationHistory\n&SecretName=test\n&<公共请求参数>",
62
+ "input": "https://ssm.tencentcloudapi.com/?Action=DescribeRotationHistory\n&SecretName=testlzc\n&<公共请求参数>",
63
63
  "output": "{\n \"Response\": {\n \"VersionIDs\": [\n \"testId\"\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\"\n }\n}",
64
64
  "title": "查询凭据轮转历史版本"
65
65
  }
@@ -67,8 +67,8 @@
67
67
  "DescribeSecret": [
68
68
  {
69
69
  "document": "获取凭据详情信息",
70
- "input": "https://ssm.tencentcloudapi.com/?Action=DescribeSecret\n&SecretName=test\n&<公共请求参数>",
71
- "output": "{\n \"Response\": {\n \"Status\": \"Enabled\",\n \"Description\": \"hello\",\n \"CreateUin\": 1,\n \"ResourceID\": \"inst-1\",\n \"ProductName\": \"redis\",\n \"RotationStatus\": true,\n \"KmsKeyId\": \"abc-ddd\",\n \"RequestId\": \"abc-hhm\",\n \"SecretType\": 0,\n \"SecretName\": \"secret-a\",\n \"RotationFrequency\": 1,\n \"DeleteTime\": 1,\n \"CreateTime\": 1,\n \"ResourceName\": \"db-user1\",\n \"ProjectID\": 1,\n \"AssociatedInstanceIDs\": [\n \"inst-1\"\n ],\n \"TargetUin\": 12345,\n \"AdditionalConfig\": \"{}\"\n }\n}",
70
+ "input": "https://ssm.tencentcloudapi.com/?Action=DescribeSecret\n&SecretName=test3-db-secret\n&<公共请求参数>",
71
+ "output": "{\n \"Response\": {\n \"AdditionalConfig\": \"key1\",\n \"AssociatedInstanceIDs\": [\n \"cvm-test\"\n ],\n \"CreateTime\": 1730272571,\n \"CreateUin\": 700001224419,\n \"DeleteTime\": 0,\n \"Description\": \"测试数据库凭据创建\",\n \"KmsKeyId\": \"6abd1fdb-86d4-11ef-b72d-52540089bc41\",\n \"ProductName\": \"Mysql\",\n \"ProjectID\": 0,\n \"RequestId\": \"deb31013-2d0d-4b0c-a9dd-b62d8c3b2465\",\n \"ResourceID\": \"cdb-n4j3y33j\",\n \"ResourceName\": \"testresource\",\n \"RotationFrequency\": 30,\n \"RotationStatus\": true,\n \"SecretName\": \"test3-db-secret\",\n \"SecretType\": 1,\n \"Status\": \"Enabled\",\n \"TargetUin\": 0\n }\n}",
72
72
  "title": "获取凭据详情信息"
73
73
  }
74
74
  ],
@@ -83,16 +83,16 @@
83
83
  "DisableSecret": [
84
84
  {
85
85
  "document": "",
86
- "input": "https://ssm.tencentcloudapi.com/?Action=DisableSecret\n&SecretName=test\n&<公共请求参数>",
87
- "output": "{\n \"Response\": {\n \"SecretName\": \"test\",\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
86
+ "input": "https://ssm.tencentcloudapi.com/?Action=DisableSecret\n&SecretName=lzctest\n&<公共请求参数>",
87
+ "output": "{\n \"Response\": {\n \"SecretName\": \"lzctest\",\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
88
88
  "title": "停用指定凭据"
89
89
  }
90
90
  ],
91
91
  "EnableSecret": [
92
92
  {
93
93
  "document": "",
94
- "input": "https://ssm.tencentcloudapi.com/?Action=EnableSecret\n&SecretName=test\n&<公共请求参数>",
95
- "output": "{\n \"Response\": {\n \"SecretName\": \"test\",\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
94
+ "input": "https://ssm.tencentcloudapi.com/?Action=EnableSecret\n&SecretName=test3-secret\n&<公共请求参数>",
95
+ "output": "{\n \"Response\": {\n \"SecretName\": \"test3-secret\",\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
96
96
  "title": "启用凭据"
97
97
  }
98
98
  ],
@@ -107,16 +107,16 @@
107
107
  "GetSSHKeyPairValue": [
108
108
  {
109
109
  "document": "获取SSH密钥对凭据明文",
110
- "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetSSHKeyPairValue\n<公共请求参数>\n\n{\n \"SecretName\": \"xx\"\n}",
111
- "output": "{\n \"Response\": {\n \"SSHKeyID\": \"xx\",\n \"ProjectID\": 0,\n \"PrivateKey\": \"xx\",\n \"PublicKey\": \"xx\",\n \"RequestId\": \"xx\",\n \"SSHKeyName\": \"xx\",\n \"SSHKeyDescription\": \"xx\"\n }\n}",
110
+ "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetSSHKeyPairValue\n<公共请求参数>\n\n{\n \"SecretName\": \"test2-sshkey-secret\"\n}",
111
+ "output": "{\n \"Response\": {\n \"PrivateKey\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIIEowIBAAKC***********NEuTGXFT8sLJ\\n-----END RSA PRIVATE KEY-----\",\n \"ProjectID\": 0,\n \"PublicKey\": \"ssh-rsa AAAA********H5TD4ab skey-e0vbh2ts\",\n \"RequestId\": \"9f436a38-ced1-45f0-9b51-946958b90244\",\n \"SSHKeyDescription\": \"created by ssm\",\n \"SSHKeyID\": \"skey-e0vbh2ts\",\n \"SSHKeyName\": \"test2_key\"\n }\n}",
112
112
  "title": "获取SSH密钥对凭据明文"
113
113
  }
114
114
  ],
115
115
  "GetSecretValue": [
116
116
  {
117
117
  "document": "获取凭据明文信息",
118
- "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetSecretValue\n<公共请求参数>\n\n{\n \"VersionId\": \"v1.0\",\n \"SecretName\": \"test_secret\"\n}",
119
- "output": "{\n \"Response\": {\n \"RequestId\": \"b8e6b67f-3ca7-4341-b4fa-a372bdf4e11c\",\n \"SecretName\": \"test_secret\",\n \"VersionId\": \"v1.0\",\n \"SecretBinary\": \"\",\n \"SecretString\": \"test\"\n }\n}",
118
+ "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetSecretValue\n<公共请求参数>\n\n{\n \"SecretName\": \"test3-secret\",\n \"VersionId\": \"v3\"\n}",
119
+ "output": "{\n \"Response\": {\n \"RequestId\": \"91cec765-5604-4287-89b1-634357cfcd29\",\n \"SecretBinary\": \"5Yet5o2udmFsdWUyCg==\",\n \"SecretName\": \"test3-secret\",\n \"SecretString\": \"凭据value3\",\n \"VersionId\": \"v3\"\n }\n}",
120
120
  "title": "获取凭据明文信息"
121
121
  }
122
122
  ],
@@ -124,62 +124,62 @@
124
124
  {
125
125
  "document": "",
126
126
  "input": "https://ssm.tencentcloudapi.com/?Action=GetServiceStatus\n&<公共请求参数>",
127
- "output": "{\n \"Response\": {\n \"RequestId\": \"1a327ad8-5fef-41d5-b1a1-73d58af83d66\",\n \"ServiceEnabled\": true,\n \"InvalidType\": 1,\n \"AccessKeyEscrowEnabled\": true\n }\n}",
127
+ "output": "{\n \"Response\": {\n \"AccessKeyEscrowEnabled\": true,\n \"ExpireTime\": \"2024-09-10 10:19:21\",\n \"InvalidType\": 1,\n \"PayModel\": \"Postpaid_SSM\",\n \"QPSLimit\": 0,\n \"RenewFlag\": 0,\n \"RequestId\": \"b370f1c4-3e1c-4922-8ab2-6f717240f6ad\",\n \"ResourceId\": \"test-rsid\",\n \"SecretLimit\": 0,\n \"ServiceEnabled\": true,\n \"TotalCount\": 0\n }\n}",
128
128
  "title": "获取服务开启状态"
129
129
  }
130
130
  ],
131
131
  "ListSecretVersionIds": [
132
132
  {
133
133
  "document": "",
134
- "input": "https://ssm.tencentcloudapi.com/?Action=ListSecretVersionIds\n&SecretName=test\n&<公共请求参数>",
135
- "output": "{\n \"Response\": {\n \"RequestId\": \"56fe436b-16ca-402e-a9bb-83c14e9cc9e8\",\n \"SecretName\": \"test\",\n \"Versions\": [\n {\n \"VersionId\": \"v2.0\",\n \"CreateTime\": 1574161372\n },\n {\n \"VersionId\": \"v1.0\",\n \"CreateTime\": 1574161748\n }\n ]\n }\n}",
134
+ "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListSecretVersionIds\n<公共请求参数>\n\n{\n \"SecretName\": \"test3-secret\"\n}",
135
+ "output": "{\n \"Response\": {\n \"RequestId\": \"9877a5cc-208d-4ec0-b4bb-4e62990de2aa\",\n \"SecretName\": \"test3-secret\",\n \"Versions\": [\n {\n \"CreateTime\": 1730278717,\n \"VersionId\": \"v1\"\n },\n {\n \"CreateTime\": 1730278706,\n \"VersionId\": \"v2\"\n },\n {\n \"CreateTime\": 1730271414,\n \"VersionId\": \"v3\"\n }\n ]\n }\n}",
136
136
  "title": "获取指定凭据下的版本列表信息"
137
137
  }
138
138
  ],
139
139
  "ListSecrets": [
140
140
  {
141
141
  "document": "",
142
- "input": "https://ssm.tencentcloudapi.com/?Action=ListSecrets\n&Limit=2\n&SecretType=0\n&<公共请求参数>",
143
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"SecretMetadatas\": [\n {\n \"SecretName\": \"abc\",\n \"Description\": \"abc\",\n \"KmsKeyId\": \"abc\",\n \"CreateUin\": 1,\n \"Status\": \"abc\",\n \"DeleteTime\": 1,\n \"CreateTime\": 1,\n \"KmsKeyType\": \"abc\",\n \"RotationStatus\": 0,\n \"NextRotationTime\": 1,\n \"SecretType\": 0,\n \"ProductName\": \"abc\",\n \"ResourceName\": \"abc\",\n \"ProjectID\": 0,\n \"AssociatedInstanceIDs\": [\n \"abc\"\n ],\n \"TargetUin\": 1,\n \"RotationFrequency\": 0,\n \"ResourceID\": \"abc\",\n \"RotationBeginTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
142
+ "input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListSecrets\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 2,\n \"OrderType\": 1,\n \"State\": 1,\n \"SearchSecretName\": \"weijiali\",\n \"TagFilters\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": [\n \"dev\"\n ]\n }\n ],\n \"SecretType\": 1,\n \"ProductName\": \"Mysql\"\n}",
143
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c5ff5231-33e1-44cb-9b77-4d8972bd28ac\",\n \"SecretMetadatas\": [\n {\n \"AssociatedInstanceIDs\": [\n \"ins-abfa\"\n ],\n \"CreateTime\": 1724816350,\n \"CreateUin\": 700001028674,\n \"DeleteTime\": 0,\n \"Description\": \"Weijiali_test_80008\",\n \"KmsKeyId\": \"9e46705b-8a1f-11ec-b941-5254008ad78d\",\n \"KmsKeyType\": \"DEFAULT\",\n \"NextRotationTime\": 1732796420,\n \"ProductName\": \"Mysql\",\n \"ProjectID\": 0,\n \"ResourceID\": \"cdb-mrhoqymb\",\n \"ResourceName\": \"testname\",\n \"RotationBeginTime\": \"2024-08-30 20:20:20\",\n \"RotationFrequency\": 30,\n \"RotationStatus\": 1,\n \"SecretName\": \"weijiali_test_00009\",\n \"SecretType\": 1,\n \"Status\": \"Enabled\",\n \"TargetUin\": 0\n },\n {\n \"AssociatedInstanceIDs\": [\n \"ins-affe\"\n ],\n \"CreateTime\": 1728713584,\n \"CreateUin\": 700001028674,\n \"DeleteTime\": 0,\n \"Description\": \"yajiada_test_01\",\n \"KmsKeyId\": \"9e46705b-8a1f-11ec-b941-5254008ad78d\",\n \"KmsKeyType\": \"DEFAULT\",\n \"NextRotationTime\": 1731305122,\n \"ProductName\": \"Mysql\",\n \"ProjectID\": 0,\n \"ResourceID\": \"cdb-j6amb083\",\n \"ResourceName\": \"testName2\",\n \"RotationBeginTime\": \"2024-10-12 14:05:22\",\n \"RotationFrequency\": 30,\n \"RotationStatus\": 1,\n \"SecretName\": \"yajiada_test_01\",\n \"SecretType\": 1,\n \"Status\": \"Enabled\",\n \"TargetUin\": 0\n }\n ],\n \"TotalCount\": 4\n }\n}",
144
144
  "title": "获取凭据详细信息列表"
145
145
  }
146
146
  ],
147
147
  "PutSecretValue": [
148
148
  {
149
149
  "document": "",
150
- "input": "https://ssm.tencentcloudapi.com/?Action=PutSecretValue\n&SecretName=test\n&VersionId=v2.0\n&SecretString=test v2\n&<公共请求参数>",
151
- "output": "{\n \"Response\": {\n \"RequestId\": \"6764f1f5-8229-4033-a831-46180aee30cf\",\n \"SecretName\": \"test\",\n \"VersionId\": \"v2.0\"\n }\n}",
150
+ "input": "https://ssm.tencentcloudapi.com/?Action=PutSecretValue\n&SecretName=lzctest\n&VersionId=v2.0\n&SecretString=lzctestv2\n&<公共请求参数>",
151
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6764f1f5-8229-4033-a831-46180aee30cf\",\n \"SecretName\": \"lzctest\",\n \"VersionId\": \"v2.0\"\n }\n}",
152
152
  "title": "增加新版本凭据"
153
153
  }
154
154
  ],
155
155
  "RestoreSecret": [
156
156
  {
157
157
  "document": "",
158
- "input": "https://ssm.tencentcloudapi.com/?Action=RestoreSecret\n&SecretName=test\n&<公共请求参数>",
159
- "output": "{\n \"Response\": {\n \"RequestId\": \"bf199317-0d31-4dba-a5e7-217dc37df2d4\",\n \"SecretName\": \"test\"\n }\n}",
158
+ "input": "https://ssm.tencentcloudapi.com/?Action=RestoreSecret\n&SecretName=lzctestss\n&<公共请求参数>",
159
+ "output": "{\n \"Response\": {\n \"RequestId\": \"bf199317-0d31-4dba-a5e7-217dc37df2d4\",\n \"SecretName\": \"lzctestss\"\n }\n}",
160
160
  "title": "恢复计划删除中的凭据"
161
161
  }
162
162
  ],
163
163
  "RotateProductSecret": [
164
164
  {
165
165
  "document": "",
166
- "input": "https://ssm.tencentcloudapi.com/?Action=RotateProductSecret\n&SecretName=test\n&<公共请求参数>",
167
- "output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"FlowID\": 0\n }\n}",
166
+ "input": "https://ssm.tencentcloudapi.com/?Action=RotateProductSecret\n&SecretName=test3-db-secret\n&<公共请求参数>",
167
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"FlowID\": 43416\n }\n}",
168
168
  "title": "轮转云产品凭据"
169
169
  }
170
170
  ],
171
171
  "UpdateDescription": [
172
172
  {
173
173
  "document": "",
174
- "input": "https://ssm.tencentcloudapi.com/?Action=UpdateDescription\n&SecretName=test\n&Description=new desc\n&<公共请求参数>",
175
- "output": "{\n \"Response\": {\n \"RequestId\": \"dfa4908b-a586-4d44-8f76-3fad156c1be2\",\n \"SecretName\": \"test\"\n }\n}",
174
+ "input": "https://ssm.tencentcloudapi.com/?Action=UpdateDescription\n&SecretName=lzctests\n&Description=new desc\n&<公共请求参数>",
175
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dfa4908b-a586-4d44-8f76-3fad156c1be2\",\n \"SecretName\": \"lzctests\"\n }\n}",
176
176
  "title": "更新凭据描述信息"
177
177
  }
178
178
  ],
179
179
  "UpdateRotationStatus": [
180
180
  {
181
181
  "document": "",
182
- "input": "https://ssm.tencentcloudapi.com/?Action=UpdateRotationStatus\n&SecretName=test\n&EnableRotation=true\n&Frequency=35\n&RotationBeginTime=2006-01-02 15:04:05\n&<公共请求参数>",
182
+ "input": "https://ssm.tencentcloudapi.com/?Action=UpdateRotationStatus\n&SecretName=lzctests\n&EnableRotation=true\n&Frequency=35\n&RotationBeginTime=2006-01-02 15:04:05\n&<公共请求参数>",
183
183
  "output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\"\n }\n}",
184
184
  "title": "设置云产品凭据轮转策略"
185
185
  }
@@ -187,8 +187,8 @@
187
187
  "UpdateSecret": [
188
188
  {
189
189
  "document": "",
190
- "input": "https://ssm.tencentcloudapi.com/?Action=UpdateSecret\n&SecretName=test\n&VersionId=v1.0\n&SecretString=new value\n&<公共请求参数>",
191
- "output": "{\n \"Response\": {\n \"RequestId\": \"e6993612-6922-4f2d-bb36-37348f36eba5\",\n \"SecretName\": \"test\",\n \"VersionId\": \"v2.0\"\n }\n}",
190
+ "input": "https://ssm.tencentcloudapi.com/?Action=UpdateSecret\n&SecretName=lzctestss\n&VersionId=v1.0\n&SecretString=new value\n&<公共请求参数>",
191
+ "output": "{\n \"Response\": {\n \"RequestId\": \"e6993612-6922-4f2d-bb36-37348f36eba5\",\n \"SecretName\": \"lzctestss\",\n \"VersionId\": \"v2.0\"\n }\n}",
192
192
  "title": "更新凭据内容"
193
193
  }
194
194
  ]