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
@@ -0,0 +1,519 @@
1
+ {
2
+ "actions": {
3
+ "AddDeviceGroupMembers": [
4
+ {
5
+ "document": "",
6
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddDeviceGroupMembers\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"MemberIdSet\": [\n 1,\n 2,\n 3\n ]\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
8
+ "title": "添加资产组成员"
9
+ }
10
+ ],
11
+ "AddUserGroupMembers": [
12
+ {
13
+ "document": "添加用户组成员",
14
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUserGroupMembers\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"MemberIdSet\": [\n 1,\n 2,\n 3\n ]\n}",
15
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
16
+ "title": "添加用户组成员"
17
+ }
18
+ ],
19
+ "BindDeviceAccountPassword": [
20
+ {
21
+ "document": "绑定主机账号密码",
22
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindDeviceAccountPassword\n<公共请求参数>\n\n{\n \"Password\": \"testvalue\",\n \"Id\": 1\n}",
23
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
24
+ "title": "绑定主机账号密码"
25
+ }
26
+ ],
27
+ "BindDeviceAccountPrivateKey": [
28
+ {
29
+ "document": "绑定主机账号私钥",
30
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindDeviceAccountPrivateKey\n<公共请求参数>\n\n{\n \"PrivateKey\": \"bh-test-key\",\n \"Id\": 1,\n \"PrivateKeyPassword\": \"bh-test-key-pwd\"\n}",
31
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
32
+ "title": "绑定主机账号私钥"
33
+ }
34
+ ],
35
+ "BindDeviceResource": [
36
+ {
37
+ "document": "修改资产绑定的堡垒机服务",
38
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BindDeviceResource\n<公共请求参数>\n\n{\n \"ResourceId\": \"bh-saas-jn2p3\",\n \"DeviceIdSet\": [\n 5186\n ],\n \"DomainId\": \"net-4sovwr11w7\"\n}",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"sdfsadf-sdfasd-sdfsad-sdf2222\"\n }\n}",
40
+ "title": "修改资产绑定的堡垒机服务"
41
+ }
42
+ ],
43
+ "CreateAcl": [
44
+ {
45
+ "document": "新建访问权限",
46
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAcl\n<公共请求参数>\n\n{\n \"CmdTemplateIdSet\": [\n 1\n ],\n \"Name\": \"test-name\",\n \"UserGroupIdSet\": [\n 1\n ],\n \"DeviceGroupIdSet\": [\n 1\n ],\n \"AllowDiskRedirect\": true,\n \"AccountSet\": [\n \"root\"\n ],\n \"AllowAnyAccount\": true,\n \"DeviceIdSet\": [\n 1\n ],\n \"UserIdSet\": [\n 1\n ]\n}",
47
+ "output": "{\n \"Response\": {\n \"Id\": 1,\n \"RequestId\": \"31jshapqhxmajh12knskal2\"\n }\n}",
48
+ "title": "新建访问权限"
49
+ }
50
+ ],
51
+ "CreateAssetSyncJob": [
52
+ {
53
+ "document": "创建主机资产同步任务",
54
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAssetSyncJob\n<公共请求参数>\n\n{\n \"Category\": 1\n}",
55
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
56
+ "title": "创建主机资产同步任务"
57
+ }
58
+ ],
59
+ "CreateChangePwdTask": [
60
+ {
61
+ "document": "创建改密任务成功",
62
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateChangePwdTask\n<公共请求参数>\n\n{\n \"TaskName\": \"ops-bhtest\",\n \"DeviceIdSet\": [\n 213\n ],\n \"AccountSet\": [\n \"root\"\n ],\n \"ChangeMethod\": 1,\n \"RunAccount\": \"root\",\n \"AuthGenerationStrategy\": 3,\n \"Password\": \"S***152\",\n \"PasswordLength\": 12,\n \"SmallLetter\": 1,\n \"BigLetter\": 1,\n \"Digit\": 1,\n \"Symbol\": \"JX4h=\",\n \"CompleteNotify\": 1,\n \"NotifyEmails\": [\n \"112@qq.com\",\n \"115@qq.com\"\n ],\n \"FilePassword\": \"12**36\",\n \"DepartmentId\": \"1\",\n \"Type\": 4,\n \"Period\": 14,\n \"FirstTime\": \"2020-12-20T19:51:23+08:00\"\n}",
63
+ "output": "{\n \"Response\": {\n \"OperationId\": \"ops-kheh264\",\n \"RequestId\": \"f0be45dd-8719-46b5-b7ff-6722db84c664\"\n }\n}",
64
+ "title": "创建改密任务"
65
+ }
66
+ ],
67
+ "CreateCmdTemplate": [
68
+ {
69
+ "document": "控制台页面新增高危命令模板",
70
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCmdTemplate\n<公共请求参数>\n\n{\n \"Name\": \"高危模板1\",\n \"CmdList\": \"rm -rf /*\"\n}",
71
+ "output": "{\n \"Response\": {\n \"Id\": 1,\n \"RequestId\": \"dfac9070-8b23-499e-83b2-a50e3ca059af\"\n }\n}",
72
+ "title": "新建高危命令模板"
73
+ }
74
+ ],
75
+ "CreateDeviceAccount": [
76
+ {
77
+ "document": "新建主机账号",
78
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDeviceAccount\n<公共请求参数>\n\n{\n \"Account\": \"ubuntu\",\n \"DeviceId\": 1\n}",
79
+ "output": "{\n \"Response\": {\n \"Id\": 1,\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
80
+ "title": "新建主机账号"
81
+ }
82
+ ],
83
+ "CreateDeviceGroup": [
84
+ {
85
+ "document": "新建资产组",
86
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDeviceGroup\n<公共请求参数>\n\n{\n \"Name\": \"我的资产组\"\n}",
87
+ "output": "{\n \"Response\": {\n \"Id\": 1,\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
88
+ "title": "新建资产组"
89
+ }
90
+ ],
91
+ "CreateResource": [
92
+ {
93
+ "document": "",
94
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateResource\n<公共请求参数>\n\n{\n \"DeployRegion\": \"ap-guanghzou\",\n \"DeployZone\": \"ap-guangzhou-1\",\n \"VpcId\": \"vpc-9jsadja\",\n \"SubnetId\": \"subnet-39jsaasd\",\n \"ResourceEdition\": \"free\",\n \"ResourceNode\": 2,\n \"TimeUnit\": \"m\",\n \"TimeSpan\": 1,\n \"PayMode\": 1,\n \"AutoRenewFlag\": 1\n}",
95
+ "output": "{\n \"Response\": {\n \"ResourceId\": \"bh-saas-sada9k\",\n \"RequestId\": \"ffb59145-70f9-45e6-99be-fc0a8db82f45\"\n }\n}",
96
+ "title": "创建堡垒机实例"
97
+ }
98
+ ],
99
+ "CreateUser": [
100
+ {
101
+ "document": "新建用户",
102
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUser\n<公共请求参数>\n\n{\n \"UserName\": \"zhangsan\",\n \"ValidateTo\": \"2020-09-22T00:00:00+00:00\",\n \"RealName\": \"张三\",\n \"GroupIdSet\": [\n 1,\n 1,\n 1\n ],\n \"Phone\": \"138*****\",\n \"ValidateFrom\": \"2020-09-22T00:00:00+00:00\",\n \"Email\": \"167****@qq.com\",\n \"AuthType\": 1\n}",
103
+ "output": "{\n \"Response\": {\n \"Id\": 1,\n \"RequestId\": \"dfac9070-8b23-499e-83b2-a50e3ca059af\"\n }\n}",
104
+ "title": "新建用户"
105
+ }
106
+ ],
107
+ "CreateUserGroup": [
108
+ {
109
+ "document": "新建用户组",
110
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserGroup\n<公共请求参数>\n\n{\n \"Name\": \"研发一部\"\n}",
111
+ "output": "{\n \"Response\": {\n \"Id\": 1,\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
112
+ "title": "新建用户组"
113
+ }
114
+ ],
115
+ "DeleteAcls": [
116
+ {
117
+ "document": "",
118
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAcls\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
119
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
120
+ "title": "删除访问权限"
121
+ }
122
+ ],
123
+ "DeleteChangePwdTask": [
124
+ {
125
+ "document": "删除改密任务",
126
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteChangePwdTask\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
127
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dfac9070-8b23-499e-83b2-a50e3ca059af\"\n }\n}",
128
+ "title": "删除改密任务"
129
+ }
130
+ ],
131
+ "DeleteCmdTemplates": [
132
+ {
133
+ "document": "",
134
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCmdTemplates\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
135
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
136
+ "title": "删除高危命令模板"
137
+ }
138
+ ],
139
+ "DeleteDeviceAccounts": [
140
+ {
141
+ "document": "",
142
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDeviceAccounts\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
143
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
144
+ "title": "删除主机账号"
145
+ }
146
+ ],
147
+ "DeleteDeviceGroupMembers": [
148
+ {
149
+ "document": "删除资产组成员",
150
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDeviceGroupMembers\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"MemberIdSet\": [\n 1,\n 2,\n 3\n ]\n}",
151
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
152
+ "title": "删除资产组成员"
153
+ }
154
+ ],
155
+ "DeleteDeviceGroups": [
156
+ {
157
+ "document": "",
158
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDeviceGroups\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
159
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
160
+ "title": "删除资产组"
161
+ }
162
+ ],
163
+ "DeleteDevices": [
164
+ {
165
+ "document": "",
166
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDevices\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
167
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
168
+ "title": "删除主机"
169
+ }
170
+ ],
171
+ "DeleteUserGroupMembers": [
172
+ {
173
+ "document": "删除用户组成员",
174
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUserGroupMembers\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"MemberIdSet\": [\n 1,\n 2,\n 3\n ]\n}",
175
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
176
+ "title": "删除用户组成员"
177
+ }
178
+ ],
179
+ "DeleteUserGroups": [
180
+ {
181
+ "document": "",
182
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUserGroups\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
183
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
184
+ "title": "删除用户组"
185
+ }
186
+ ],
187
+ "DeleteUsers": [
188
+ {
189
+ "document": "删除用户",
190
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUsers\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
191
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
192
+ "title": "删除用户"
193
+ }
194
+ ],
195
+ "DeployResource": [
196
+ {
197
+ "document": "开通服务,初始化资源,只针对新购资源",
198
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployResource\n<公共请求参数>\n\n{\n \"VpcId\": \"vpc-bhtest\",\n \"Zone\": \"ap-guangzhou-1\",\n \"ResourceId\": \"bh-saas-bhtest\",\n \"ApCode\": \"ap-guangzhou\",\n \"SubnetId\": \"subnet-bhtest\",\n \"CidrBlock\": \"10.10.10.0/32\",\n \"VpcName\": \"vpc1\",\n \"VpcCidrBlock\": \"10.10.0.0/16\",\n \"SubnetName\": \"subnet1\"\n}",
199
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ec7676f4-a498-4ef5-ad68-6678b16e45d7\"\n }\n}",
200
+ "title": "开通服务"
201
+ }
202
+ ],
203
+ "DescribeAcls": [
204
+ {
205
+ "document": "",
206
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAcls\n<公共请求参数>\n\n{}",
207
+ "output": "{\n \"Response\": {\n \"AclSet\": [\n {\n \"Id\": 224,\n \"Name\": \"云鼎部门权限\",\n \"AllowDiskRedirect\": true,\n \"AllowDiskFileUp\": true,\n \"AllowDiskFileDown\": true,\n \"AllowClipFileUp\": true,\n \"AllowClipFileDown\": true,\n \"AllowClipTextUp\": true,\n \"AllowClipTextDown\": true,\n \"AllowShellFileUp\": true,\n \"AllowShellFileDown\": true,\n \"AllowFileUp\": true,\n \"AllowFileDown\": true,\n \"AllowFileDel\": false,\n \"MaxFileUpSize\": 0,\n \"MaxFileDownSize\": 0,\n \"AllowAnyAccount\": false,\n \"ValidateFrom\": \"1970-01-01T08:00:01+08:00\",\n \"ValidateTo\": \"1970-01-01T08:00:01+08:00\",\n \"Status\": 1,\n \"UserSet\": [],\n \"UserGroupSet\": [],\n \"DeviceSet\": [],\n \"DeviceGroupSet\": [],\n \"AccountSet\": [],\n \"CmdTemplateSet\": [],\n \"Department\": {\n \"Id\": \"1.3.14\",\n \"Name\": \"云鼎实验室\",\n \"Managers\": null\n }\n }\n ],\n \"RequestId\": \"aba1efad-4aa2-4ce4-93ce-538e39b5f1f9\",\n \"TotalCount\": 1\n }\n}",
208
+ "title": "查询访问权限列表"
209
+ },
210
+ {
211
+ "document": "根据用户和主机查询对应的权限",
212
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAcls\n<公共请求参数>\n\n{\n \"AuthorizedUserIdSet\": [\n 1,\n 7,\n 8,\n 238\n ],\n \"AuthorizedDeviceIdSet\": [\n 63,\n 64,\n 82,\n 100\n ]\n}",
213
+ "output": "{\n \"Response\": {\n \"AclSet\": [\n {\n \"Id\": 224,\n \"Name\": \"云鼎部门权限\",\n \"AllowDiskRedirect\": true,\n \"AllowDiskFileUp\": true,\n \"AllowDiskFileDown\": true,\n \"AllowClipFileUp\": true,\n \"AllowClipFileDown\": true,\n \"AllowClipTextUp\": true,\n \"AllowClipTextDown\": true,\n \"AllowShellFileUp\": true,\n \"AllowShellFileDown\": true,\n \"AllowFileUp\": true,\n \"AllowFileDown\": true,\n \"AllowFileDel\": false,\n \"MaxFileUpSize\": 0,\n \"MaxFileDownSize\": 0,\n \"AllowAnyAccount\": false,\n \"ValidateFrom\": \"1970-01-01T08:00:01+08:00\",\n \"ValidateTo\": \"1970-01-01T08:00:01+08:00\",\n \"Status\": 1,\n \"UserSet\": [],\n \"UserGroupSet\": [],\n \"DeviceSet\": [],\n \"DeviceGroupSet\": [],\n \"AccountSet\": [],\n \"CmdTemplateSet\": [],\n \"Department\": {\n \"Id\": \"1.3.14\",\n \"Name\": \"云鼎实验室\",\n \"Managers\": null\n }\n }\n ],\n \"RequestId\": \"aba1efaa-4ac2-4ce3-93ce-538539b5f1f9\",\n \"TotalCount\": 1\n }\n}",
214
+ "title": "根据用户和主机查询对应的权限"
215
+ }
216
+ ],
217
+ "DescribeAssetSyncStatus": [
218
+ {
219
+ "document": "查询主机资产自动同步结果",
220
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAssetSyncStatus\n<公共请求参数>\n\n{\n \"Category\": 1\n}",
221
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dfac9070-8b23-499e-83b2-a50e3ca059af\",\n \"Status\": {\n \"LastStatus\": 1,\n \"LastTime\": \"2021-09-22T15:04:05Z07:00\",\n \"InProcess\": true\n }\n }\n}",
222
+ "title": "查询主机资产自动同步结果"
223
+ }
224
+ ],
225
+ "DescribeChangePwdTask": [
226
+ {
227
+ "document": "查询修改密码任务信息",
228
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeChangePwdTask\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"TaskName\",\n \"Values\": [\n \"task1\"\n ]\n }\n ],\n \"Limit\": 20,\n \"Offset\": 0\n}",
229
+ "output": "{\n \"Response\": {\n \"RequestId\": \"rid-test-1a2b3c\",\n \"Tasks\": [\n {\n \"Id\": 1,\n \"TaskName\": \"bhtest102901\",\n \"OperationId\": \"ops-ccahmv2z78868363\",\n \"ChangeMethod\": 1,\n \"RunAccount\": \"root\",\n \"AuthGenerationStrategy\": 1,\n \"PasswordLength\": 12,\n \"SmallLetter\": 1,\n \"BigLetter\": 1,\n \"Digit\": 1,\n \"Symbol\": \"-_#();%~!+=\",\n \"CompleteNotify\": 1,\n \"NotifyEmails\": [\n \"273****00@qq.com\"\n ],\n \"FilePassword\": \"bL69j2RbFoJyOD0UBIpygB3Gv22pM7nIsKlV9ff0LpM=\",\n \"Type\": 4,\n \"Period\": 0,\n \"FirstTime\": \"2020-12-20T19:51:23+08:00\",\n \"NextTime\": \"2020-12-20T19:51:23+08:00\",\n \"DeviceSet\": [\n {\n \"Id\": 10339,\n \"InstanceId\": \"ins-h8wdh7my\",\n \"Name\": \"Ldap主节点\",\n \"PublicIp\": \"119.29.191.59\",\n \"PrivateIp\": \"192.168.0.12\",\n \"ApCode\": \"ap-guangzhou\",\n \"OsName\": \"CentOS 7.7 64位\",\n \"Kind\": 1,\n \"Port\": 22,\n \"IpPortSet\": [\n \"127.0.0.1:80\"\n ],\n \"VpcId\": \"vpc-q1of50wz\",\n \"SubnetId\": \"subnet-bszyk5a4\",\n \"AccountCount\": 0,\n \"GroupSet\": [\n {\n \"Id\": 4982,\n \"Name\": \"11\",\n \"Department\": {\n \"Id\": \"\",\n \"Name\": \"\",\n \"Managers\": [],\n \"ManagerUsers\": []\n },\n \"Count\": 0\n }\n ],\n \"Resource\": {\n \"ResourceId\": \"bh-saas-ksdf1qbp\",\n \"ResourceName\": \"T-Sec-堡垒机(SaaS型)/专业版\",\n \"ApCode\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-6\",\n \"Pid\": 1011353,\n \"SvArgs\": \"sv_cds_dasb_saas_pro_50node\",\n \"PackageBandwidth\": 0,\n \"PackageNode\": 0,\n \"LogDeliveryArgs\": \"\",\n \"LogDelivery\": \"\",\n \"ProductCode\": \"p_cds_dasb\",\n \"SubProductCode\": \"sp_cds_dasb_bh_saas_pro\",\n \"VpcId\": \"vpc-q1of50wz\",\n \"VpcName\": \"gordan-test1\",\n \"VpcCidrBlock\": \"192.168.0.0/16\",\n \"SubnetId\": \"subnet-dp102ji4\",\n \"SubnetName\": \"zone6\",\n \"CidrBlock\": \"192.168.24.0/24\",\n \"Nodes\": 50,\n \"UsedNodes\": 48,\n \"PublicIpSet\": [\n \"101.33.193.25\"\n ],\n \"PrivateIpSet\": [\n \"192.168.24.132\",\n \"192.168.24.63\"\n ],\n \"RenewFlag\": 0,\n \"CreateTime\": \"2024-05-07T09:56:31+08:00\",\n \"ExpireTime\": \"2025-10-07T09:56:31+08:00\",\n \"Expired\": false,\n \"Deployed\": true,\n \"Status\": 1,\n \"ExtendPoints\": 0,\n \"DeployModel\": 0,\n \"CdcClusterId\": \"cluster-262n63e8\",\n \"DomainCount\": 3,\n \"ClbSet\": [\n {\n \"ClbIp\": \"101.33.193.25\"\n },\n {\n \"ClbIp\": \"192.168.24.53\"\n }\n ],\n \"Trial\": 0,\n \"ModuleSet\": [],\n \"UsedDomainCount\": 3\n },\n \"DomainId\": \"net-vpix19hu\",\n \"DomainName\": \"bh-saas-ksdf1qbp default network domain\",\n \"Department\": {\n \"Id\": \"1\",\n \"Name\": \"腾讯云\",\n \"Managers\": [],\n \"ManagerUsers\": []\n },\n \"EnableSSL\": 0,\n \"SSLCertName\": \"\"\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
230
+ "title": "查询修改密码任务信息"
231
+ }
232
+ ],
233
+ "DescribeChangePwdTaskDetail": [
234
+ {
235
+ "document": "查询改密计划详情",
236
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeChangePwdTaskDetail\n<公共请求参数>\n\n{\n \"OperationId\": \"ops-bhtest\",\n \"DepartmentId\": \"1\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
237
+ "output": "{\n \"Response\": {\n \"Details\": [\n {\n \"Device\": {\n \"Id\": 11292,\n \"InstanceId\": \"ins-gggllp1g\",\n \"Name\": \"redis8.5_OS 8.5\",\n \"PublicIp\": \"175.178.7.198\",\n \"PrivateIp\": \"192.168.0.11\",\n \"ApCode\": \"ap-guangzhou\",\n \"OsName\": \"CentOS 8.5 64位\",\n \"Kind\": 1,\n \"Port\": 22,\n \"IpPortSet\": [\n \"127.0.0.1:20\"\n ],\n \"VpcId\": \"vpc-q1of50wz\",\n \"SubnetId\": \"subnet-bszyk5a4\",\n \"AccountCount\": 0,\n \"GroupSet\": [],\n \"Resource\": {\n \"ResourceId\": \"bh-saas-tyxci8sl\",\n \"ResourceName\": \"T-Sec-堡垒机(SaaS型)/专业版\",\n \"ApCode\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"Pid\": 1011353,\n \"SvArgs\": \"sv_cds_dasb_saas_pro_50node\",\n \"PackageBandwidth\": 0,\n \"PackageNode\": 0,\n \"LogDeliveryArgs\": \"sv_cds_dasb_saas_exp_log_delivery\",\n \"LogDelivery\": \"sv_cds_dasb_saas_exp_log_delivery\",\n \"ProductCode\": \"p_cds_dasb\",\n \"SubProductCode\": \"sp_cds_dasb_bh_saas_pro\",\n \"VpcId\": \"vpc-q1of50wz\",\n \"VpcName\": \"gordan-test1\",\n \"VpcCidrBlock\": \"192.168.0.0/16\",\n \"SubnetId\": \"subnet-ebqdl3f4\",\n \"SubnetName\": \"test1\",\n \"CidrBlock\": \"192.168.1.0/24\",\n \"Nodes\": 50,\n \"UsedNodes\": 38,\n \"PublicIpSet\": [\n \"111.230.121.212\"\n ],\n \"PrivateIpSet\": [\n \"192.168.1.12\",\n \"192.168.1.49\"\n ],\n \"RenewFlag\": 0,\n \"CreateTime\": \"2024-02-27T10:47:58+08:00\",\n \"ExpireTime\": \"2030-09-28T10:47:58+08:00\",\n \"Expired\": false,\n \"Deployed\": true,\n \"Status\": 1,\n \"ExtendPoints\": 0,\n \"DeployModel\": 0,\n \"CdcClusterId\": \"\",\n \"DomainCount\": 10,\n \"ClbSet\": [\n {\n \"ClbIp\": \"111.230.121.212\"\n },\n {\n \"ClbIp\": \"192.168.1.19\"\n },\n {\n \"ClbIp\": \"10.240.60.9\"\n }\n ],\n \"Trial\": 0,\n \"ModuleSet\": [],\n \"UsedDomainCount\": 7\n },\n \"DomainId\": \"net-vpix19hu\",\n \"DomainName\": \"bh-saas-ksdf1qbp default network domain\",\n \"Department\": {\n \"Id\": \"1\",\n \"Name\": \"腾讯云\",\n \"Managers\": [],\n \"ManagerUsers\": []\n },\n \"EnableSSL\": 0,\n \"SSLCertName\": \"\"\n },\n \"Account\": \"test102901\",\n \"LastChangeStatus\": 1\n }\n ],\n \"RequestId\": \"10101c75-b3ae-44fc-919c-777bfe5b2d4b\",\n \"TotalCount\": 2\n }\n}",
238
+ "title": "查询改密计划详情"
239
+ }
240
+ ],
241
+ "DescribeCmdTemplates": [
242
+ {
243
+ "document": "",
244
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCmdTemplates\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
245
+ "output": "{\n \"Response\": {\n \"CmdTemplateSet\": [\n {\n \"CmdList\": \"testvalue\",\n \"Name\": \"testvalue\",\n \"Id\": 1\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
246
+ "title": "查询命令模板列表"
247
+ }
248
+ ],
249
+ "DescribeDeviceAccounts": [
250
+ {
251
+ "document": "查询主机账号列表",
252
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceAccounts\n<公共请求参数>\n\n{\n \"DeviceId\": 1,\n \"Account\": \"testvalue\"\n}",
253
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
254
+ "title": "查询主机账号列表"
255
+ }
256
+ ],
257
+ "DescribeDeviceGroupMembers": [
258
+ {
259
+ "document": "",
260
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceGroupMembers\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"研发主机\",\n \"Bound\": true\n}",
261
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DeviceSet\": [\n {\n \"Id\": 1,\n \"InstanceId\": \"instance123\",\n \"Name\": \"device456\",\n \"PublicIp\": \"192.0.2.123\",\n \"PrivateIp\": \"10.0.0.123\",\n \"ApCode\": \"ap789\",\n \"OsName\": \"os1011\",\n \"Kind\": 1,\n \"Port\": 1,\n \"GroupSet\": [\n {\n \"Id\": 1,\n \"Name\": \"group1213\",\n \"Department\": {\n \"Id\": \"dept1415\",\n \"Name\": \"deptName1617\",\n \"Managers\": [\n \"manager1819\"\n ],\n \"ManagerUsers\": [\n {\n \"ManagerId\": \"managerId2021\",\n \"ManagerName\": \"managerName2223\"\n }\n ]\n },\n \"Count\": 1\n }\n ],\n \"AccountCount\": 1,\n \"VpcId\": \"vpc2425\",\n \"SubnetId\": \"subnet2627\",\n \"Resource\": {\n \"ResourceId\": \"resource2829\",\n \"ApCode\": \"ap3031\",\n \"SvArgs\": \"sv3233\",\n \"VpcId\": \"vpc3435\",\n \"Nodes\": 1,\n \"RenewFlag\": 1,\n \"ExpireTime\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 1,\n \"ResourceName\": \"resource3637\",\n \"Pid\": 1,\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"ProductCode\": \"product3839\",\n \"SubProductCode\": \"subproduct4041\",\n \"Zone\": \"zone4243\",\n \"Expired\": true,\n \"Deployed\": true,\n \"VpcName\": \"vpc4445\",\n \"VpcCidrBlock\": \"10.0.0.0/16\",\n \"SubnetId\": \"subnet4647\",\n \"SubnetName\": \"subnetName4849\",\n \"CidrBlock\": \"10.0.1.0/24\",\n \"PublicIpSet\": [\n \"192.0.2.123\"\n ],\n \"PrivateIpSet\": [\n \"10.0.0.123\"\n ],\n \"ModuleSet\": [\n \"module5051\"\n ],\n \"UsedNodes\": 1,\n \"ExtendPoints\": 1,\n \"PackageBandwidth\": 1,\n \"PackageNode\": 1,\n \"LogDeliveryArgs\": \"log5253\",\n \"ClbSet\": [\n {\n \"ClbIp\": \"192.0.2.123\"\n }\n ],\n \"DomainCount\": 1,\n \"UsedDomainCount\": 1,\n \"Trial\": 1,\n \"LogDelivery\": \"log5455\",\n \"CdcClusterId\": \"cdc5657\",\n \"DeployModel\": 1\n },\n \"Department\": {\n \"Id\": \"dept6061\",\n \"Name\": \"deptName6263\",\n \"Managers\": [\n \"manager6465\"\n ],\n \"ManagerUsers\": [\n {\n \"ManagerId\": \"managerId6667\",\n \"ManagerName\": \"managerName6869\"\n }\n ]\n },\n \"IpPortSet\": [\n \"192.0.2.123:80\"\n ],\n \"DomainId\": \"domain7071\",\n \"DomainName\": \"默认网络域\",\n \"EnableSSL\": 0,\n \"SSLCertName\": \"bh-test-cert\"\n }\n ],\n \"RequestId\": \"request-id-test-1a2b\"\n }\n}",
262
+ "title": "查询资产组成员列表"
263
+ }
264
+ ],
265
+ "DescribeDeviceGroups": [
266
+ {
267
+ "document": "",
268
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceGroups\n<公共请求参数>\n\n{}",
269
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"GroupSet\": [\n {\n \"Department\": {\n \"Managers\": [\n \"152017428\"\n ],\n \"Id\": \"1.2.3.4\",\n \"Name\": \"研发部\"\n },\n \"Id\": 1,\n \"Name\": \"运维组\",\n \"Count\": 1\n }\n ],\n \"RequestId\": \"cf109eee-b651-4313-9b49-073a9f55732f\"\n }\n}",
270
+ "title": "查询资产组列表"
271
+ }
272
+ ],
273
+ "DescribeDevices": [
274
+ {
275
+ "document": "查询资产列表",
276
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDevices\n<公共请求参数>\n\n{}",
277
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DeviceSet\": [\n {\n \"Id\": 1,\n \"InstanceId\": \"ins-bhtest\",\n \"Name\": \"test-name\",\n \"PublicIp\": \"10.10.10.10\",\n \"PrivateIp\": \"127.0.0.1\",\n \"ApCode\": \"ap-guangzhou\",\n \"OsName\": \"Linux\",\n \"Kind\": 1,\n \"Port\": 1,\n \"GroupSet\": [\n {\n \"Id\": 1,\n \"Name\": \"test-group-name\",\n \"Department\": {\n \"Id\": \"1\",\n \"Name\": \"1\",\n \"Managers\": [\n \"1\"\n ],\n \"ManagerUsers\": [\n {\n \"ManagerId\": \"1\",\n \"ManagerName\": \"test-name\"\n }\n ]\n },\n \"Count\": 1\n }\n ],\n \"AccountCount\": 1,\n \"VpcId\": \"vpc-bhtest\",\n \"SubnetId\": \"subnet-bhtest\",\n \"Resource\": {\n \"ResourceId\": \"bh-saas-test\",\n \"ApCode\": \"ap-guangzhou\",\n \"SvArgs\": \"sv_cds_dasb_saas_standard_50node\",\n \"VpcId\": \"vpc-bhtest\",\n \"Nodes\": 1,\n \"RenewFlag\": 1,\n \"ExpireTime\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 1,\n \"ResourceName\": \"test-name\",\n \"Pid\": 1,\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"ProductCode\": \"code\",\n \"SubProductCode\": \"code\",\n \"Zone\": \"ap-guangzhou-1\",\n \"Expired\": true,\n \"Deployed\": true,\n \"VpcName\": \"vpc-name\",\n \"VpcCidrBlock\": \"192.168.11.0/24\",\n \"SubnetId\": \"subnet-bhtest\",\n \"SubnetName\": \"test-name\",\n \"CidrBlock\": \"192.168.11.0/24\",\n \"PublicIpSet\": [\n \"10.10.10.10\"\n ],\n \"PrivateIpSet\": [\n \"192.168.0.1\"\n ],\n \"ModuleSet\": [\n \"module1\"\n ],\n \"UsedNodes\": 1,\n \"ExtendPoints\": 1,\n \"PackageBandwidth\": 1,\n \"PackageNode\": 1,\n \"LogDeliveryArgs\": \"LogDeliveryArgsTest\",\n \"LogDelivery\": \"LogDeliveryTest\"\n },\n \"Department\": {\n \"Id\": \"1\",\n \"Name\": \"1\",\n \"Managers\": [\n \"1\"\n ],\n \"ManagerUsers\": [\n {\n \"ManagerId\": \"1\",\n \"ManagerName\": \"1\"\n }\n ]\n },\n \"IpPortSet\": [\n \"127.0.0.1:20\"\n ]\n }\n ],\n \"RequestId\": \"ec7676f4-a498-4ef5-ad68-6678b16e45d7\"\n }\n}",
278
+ "title": "查询资产列表"
279
+ },
280
+ {
281
+ "document": "根据用户查询有访问权限的资产",
282
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDevices\n<公共请求参数>\n\n{\n \"AuthorizedUserIdSet\": [\n 1,\n 7,\n 8\n ],\n \"Name\": \"bhtest\"\n}",
283
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DeviceSet\": [\n {\n \"Id\": 1,\n \"InstanceId\": \"ins-bhtest\",\n \"Name\": \"test-name\",\n \"PublicIp\": \"10.10.10.10\",\n \"PrivateIp\": \"127.0.0.1\",\n \"ApCode\": \"ap-guangzhou\",\n \"OsName\": \"Linux\",\n \"Kind\": 1,\n \"Port\": 1,\n \"GroupSet\": [\n {\n \"Id\": 1,\n \"Name\": \"test-group-name\",\n \"Department\": {\n \"Id\": \"1\",\n \"Name\": \"1\",\n \"Managers\": [\n \"1\"\n ],\n \"ManagerUsers\": [\n {\n \"ManagerId\": \"1\",\n \"ManagerName\": \"test-name\"\n }\n ]\n },\n \"Count\": 1\n }\n ],\n \"AccountCount\": 1,\n \"VpcId\": \"vpc-bhtest\",\n \"SubnetId\": \"subnet-bhtest\",\n \"Resource\": {\n \"ResourceId\": \"bh-saas-test\",\n \"ApCode\": \"ap-guangzhou\",\n \"SvArgs\": \"sv_cds_dasb_saas_standard_50node\",\n \"VpcId\": \"vpc-bhtest\",\n \"Nodes\": 1,\n \"RenewFlag\": 1,\n \"ExpireTime\": \"2020-09-22T00:00:00+00:00\",\n \"Status\": 1,\n \"ResourceName\": \"test-name\",\n \"Pid\": 1,\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"ProductCode\": \"code\",\n \"SubProductCode\": \"code\",\n \"Zone\": \"ap-guangzhou-1\",\n \"Expired\": true,\n \"Deployed\": true,\n \"VpcName\": \"vpc-name\",\n \"VpcCidrBlock\": \"192.168.11.0/24\",\n \"SubnetId\": \"subnet-bhtest\",\n \"SubnetName\": \"test-name\",\n \"CidrBlock\": \"192.168.11.0/24\",\n \"PublicIpSet\": [\n \"10.10.10.10\"\n ],\n \"PrivateIpSet\": [\n \"192.168.0.1\"\n ],\n \"ModuleSet\": [\n \"module1\"\n ],\n \"UsedNodes\": 1,\n \"ExtendPoints\": 1,\n \"PackageBandwidth\": 1,\n \"PackageNode\": 1,\n \"LogDeliveryArgs\": \"LogDeliveryArgsTest\",\n \"LogDelivery\": \"LogDeliveryTest\"\n },\n \"Department\": {\n \"Id\": \"1\",\n \"Name\": \"1\",\n \"Managers\": [\n \"1\"\n ],\n \"ManagerUsers\": [\n {\n \"ManagerId\": \"1\",\n \"ManagerName\": \"1\"\n }\n ]\n },\n \"IpPortSet\": [\n \"127.0.0.1:20\"\n ]\n }\n ],\n \"RequestId\": \"ec7676f4-a498-4ef5-ad68-6678b16e45d7\"\n }\n}",
284
+ "title": "根据用户查询有访问权限的资产"
285
+ }
286
+ ],
287
+ "DescribeDomains": [
288
+ {
289
+ "document": "查询网络域",
290
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDomains\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0\n}",
291
+ "output": "{\n \"Response\": {\n \"DomainSet\": [\n {\n \"Id\": 7,\n \"DomainId\": \"net-vvr396q5\",\n \"DomainName\": \"test-net-name\",\n \"Enabled\": 1,\n \"Status\": 0,\n \"ResourceId\": \"bh-saas-jtvukub4\",\n \"CreateTime\": \"2024-04-19T11:11:55+08:00\",\n \"Default\": 0,\n \"WhiteIpSet\": [\n \"127.0.0.1\",\n \"171.0.0.1\"\n ]\n }\n ],\n \"RequestId\": \"sdfsadf-sdfasd-sdfsad-sdf2222\",\n \"TotalCount\": 1\n }\n}",
292
+ "title": "查询网络域"
293
+ }
294
+ ],
295
+ "DescribeLoginEvent": [
296
+ {
297
+ "document": "",
298
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLoginEvent\n<公共请求参数>\n\n{\n \"UserName\": \"zhangsan\"\n}",
299
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoginEventSet\": [\n {\n \"UserName\": \"zhangsan\",\n \"RealName\": \"张三\",\n \"Result\": 1,\n \"Time\": \"2020-09-22T00:00:00+00:00\",\n \"Entry\": 1,\n \"SourceIp\": \"127.0.0.1\"\n }\n ],\n \"RequestId\": \"b8ebf0b3-ecf5-49bf-9f9d-86341c4072f1\"\n }\n}",
300
+ "title": "查询登录日志列表"
301
+ }
302
+ ],
303
+ "DescribeOperationEvent": [
304
+ {
305
+ "document": "",
306
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOperationEvent\n<公共请求参数>\n\n{\n \"UserName\": \"zhangsan\"\n}",
307
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"OperationEventSet\": [\n {\n \"UserName\": \"zhangsan\",\n \"Kind\": 1,\n \"RealName\": \"张三\",\n \"Result\": 1,\n \"Time\": \"2020-09-22T00:00:00+00:00\",\n \"Operation\": \"1\",\n \"SourceIp\": \"127.0.0.1\"\n }\n ],\n \"RequestId\": \"b8ebf0b3-ecf5-49bf-9f9d-86341c4072f1\"\n }\n}",
308
+ "title": "查询操作日志列表"
309
+ }
310
+ ],
311
+ "DescribeResources": [
312
+ {
313
+ "document": "查询用户购买的资源信息,包括资源ID,授权点数,vpc,过期时间等。",
314
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResources\n<公共请求参数>\n\n{}",
315
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\",\n \"ResourceSet\": [\n {\n \"RenewFlag\": 1,\n \"Zone\": \"us-west-2\",\n \"SubnetName\": \"subnet-01abc23d\",\n \"Nodes\": 3,\n \"Status\": 1,\n \"VpcId\": \"vpc-0abcd12ef\",\n \"SubProductCode\": \"ec2\",\n \"ResourceId\": \"i-0abcd1234efgh5678\",\n \"PackageBandwidth\": 100,\n \"VpcName\": \"my-vpc\",\n \"ApCode\": \"ap-1234\",\n \"SubnetId\": \"subnet-01abc23d\",\n \"ResourceName\": \"my-resource\",\n \"Expired\": false,\n \"Deployed\": true,\n \"ProductCode\": \"aws\",\n \"PublicIpSet\": [\n \"203.0.113.0\"\n ],\n \"ModuleSet\": [\n \"module-1\"\n ],\n \"ExtendPoints\": 2,\n \"UsedNodes\": 2,\n \"PrivateIpSet\": [\n \"10.0.0.1\"\n ],\n \"Pid\": 1234,\n \"VpcCidrBlock\": \"10.0.0.0/16\",\n \"PackageNode\": 1,\n \"ExpireTime\": \"2022-12-31T00:00:00+00:00\",\n \"SvArgs\": \"arg1,arg2,arg3\",\n \"CidrBlock\": \"10.0.1.0/24\",\n \"CreateTime\": \"2021-01-01T00:00:00+00:00\",\n \"LogDeliveryArgs\": \"LogDeliveryArgsTest\"\n }\n ]\n }\n}",
316
+ "title": "查询资源信息"
317
+ }
318
+ ],
319
+ "DescribeUserGroupMembers": [
320
+ {
321
+ "document": "",
322
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserGroupMembers\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"张三\",\n \"Bound\": true\n}",
323
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"UserSet\": [\n {\n \"UserName\": \"zhangsan\",\n \"AuthType\": 1,\n \"ValidateTo\": \"2022-12-31T00:00:00+00:00\",\n \"RealName\": \"Zhang San\",\n \"ValidateTime\": \"2021-01-01T00:00:00+00:00\",\n \"Email\": \"zhangsan@example.com\",\n \"Phone\": \"1982****\",\n \"GroupSet\": [\n {\n \"Department\": {\n \"Managers\": [\n \"Li Si\"\n ],\n \"Id\": \"dept01\",\n \"Name\": \"Sales\"\n },\n \"Id\": 1,\n \"Name\": \"Sales Team\",\n \"Count\": 1\n }\n ],\n \"DepartmentId\": \"dept01\",\n \"Department\": {\n \"Managers\": [\n \"zhangsan\"\n ],\n \"Id\": \"1.2\",\n \"Name\": \"Sales\"\n },\n \"ValidateFrom\": \"2021-01-01T00:00:00+00:00\",\n \"Id\": 1\n }\n ],\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
324
+ "title": "查询用户组成员列表"
325
+ }
326
+ ],
327
+ "DescribeUserGroups": [
328
+ {
329
+ "document": "查询用户组列表",
330
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserGroups\n<公共请求参数>\n\n{}",
331
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"GroupSet\": [\n {\n \"Department\": {\n \"Managers\": [\n \"121037332\"\n ],\n \"Id\": \"1.2.3\",\n \"Name\": \"研发部\"\n },\n \"Id\": 1,\n \"Name\": \"运维组\",\n \"Count\": 1\n }\n ],\n \"RequestId\": \"cf80aeee-b651-4f14-9ba9-073f9f55733f\"\n }\n}",
332
+ "title": "查询用户组列表"
333
+ }
334
+ ],
335
+ "DescribeUsers": [
336
+ {
337
+ "document": "查询用户列表",
338
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUsers\n<公共请求参数>\n\n{}",
339
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"UserSet\": [\n {\n \"UserName\": \"jassls\",\n \"AuthType\": 1,\n \"ValidateTo\": \"2020-09-22T00:00:00+00:00\",\n \"RealName\": \"张宏宇\",\n \"ValidateTime\": \"2020-09-23T00:00:00+00:00\",\n \"Email\": \"xxx@tencent.com\",\n \"Phone\": \"+86|13500000001\",\n \"GroupSet\": [\n {\n \"Department\": {\n \"Managers\": [\n \"152017423\"\n ],\n \"Id\": \"1.2\",\n \"Name\": \"研发部\"\n },\n \"Id\": 1,\n \"Name\": \"运维组\",\n \"Count\": 1\n }\n ],\n \"DepartmentId\": \"testvalue\",\n \"Department\": {\n \"Managers\": [\n \"152017423\"\n ],\n \"Id\": \"1.2\",\n \"Name\": \"研发部\"\n },\n \"ValidateFrom\": \"2020-09-22T00:00:00+00:00\",\n \"Id\": 1\n }\n ],\n \"RequestId\": \"cf839eee-b651-4ff3-9b49-173f9f55733f\"\n }\n}",
340
+ "title": "查询用户列表"
341
+ },
342
+ {
343
+ "document": "根据主机查询有访问权限的用户信息",
344
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUsers\n<公共请求参数>\n\n{\n \"AuthorizedDeviceIdSet\": [\n 63,\n 64,\n 82,\n 100\n ],\n \"Name\": \"zhanghongyu\"\n}",
345
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"UserSet\": [\n {\n \"UserName\": \"jassls\",\n \"AuthType\": 1,\n \"ValidateTo\": \"2020-09-22T00:00:00+00:00\",\n \"RealName\": \"张宏宇\",\n \"ValidateTime\": \"2020-09-23T00:00:00+00:00\",\n \"Email\": \"187***@qq.com\",\n \"Phone\": \"+86|135**019\",\n \"GroupSet\": [\n {\n \"Department\": {\n \"Managers\": [\n \"152017423\"\n ],\n \"Id\": \"1.2\",\n \"Name\": \"研发部\"\n },\n \"Id\": 1,\n \"Name\": \"运维组\",\n \"Count\": 1\n }\n ],\n \"DepartmentId\": \"1.2\",\n \"Department\": {\n \"Managers\": [\n \"152017423\"\n ],\n \"Id\": \"1.2\",\n \"Name\": \"研发部\"\n },\n \"ValidateFrom\": \"2020-09-22T00:00:00+00:00\",\n \"Id\": 1\n }\n ],\n \"RequestId\": \"cf839eee-b651-4ff3-9b49-173f9f55733f\"\n }\n}",
346
+ "title": "根据主机查询有访问权限的用户信息"
347
+ }
348
+ ],
349
+ "ImportExternalDevice": [
350
+ {
351
+ "document": "",
352
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportExternalDevice\n<公共请求参数>\n\n{\n \"DeviceSet\": [\n {\n \"Ip\": \"192.168.1.1\",\n \"Name\": \"linux设备\",\n \"OsName\": \"Linux\",\n \"Port\": 22\n }\n ]\n}",
353
+ "output": "{\n \"Response\": {\n \"DeviceIdSet\": [\n 1,\n 2,\n 3\n ],\n \"RequestId\": \"e4120a51-f130-4d11-a86c-fde256b347fb\"\n }\n}",
354
+ "title": "导入外部资产信息"
355
+ }
356
+ ],
357
+ "ModifyAcl": [
358
+ {
359
+ "document": "修改访问权限",
360
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAcl\n<公共请求参数>\n\n{\n \"AllowClipTextUp\": true,\n \"MaxFileDownSize\": 1,\n \"CmdTemplateIdSet\": [\n 1\n ],\n \"AllowFileDown\": true,\n \"Name\": \"test-name\",\n \"UserGroupIdSet\": [\n 1\n ],\n \"DeviceGroupIdSet\": [\n 1\n ],\n \"AllowDiskRedirect\": true,\n \"AllowClipFileUp\": true,\n \"AccountSet\": [\n \"root\"\n ],\n \"AllowAnyAccount\": true,\n \"AllowClipFileDown\": true,\n \"DeviceIdSet\": [\n 1\n ],\n \"AllowFileUp\": true,\n \"MaxFileUpSize\": 1,\n \"UserIdSet\": [\n 1\n ],\n \"Id\": 1,\n \"AllowClipTextDown\": true\n}",
361
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ec7676f4-a498-4ef5-ad68-6678b16e45d7\"\n }\n}",
362
+ "title": "修改访问权限"
363
+ }
364
+ ],
365
+ "ModifyChangePwdTask": [
366
+ {
367
+ "document": "修改改密任务",
368
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyChangePwdTask\n<公共请求参数>\n\n{\n \"OperationId\": \"ops-bzn6l68l34193115\",\n \"TaskName\": \"testchangePwd\",\n \"DeviceIdSet\": [\n 215,\n 213\n ],\n \"AccountSet\": [\n \"root\",\n \"ubuntu\"\n ],\n \"ModifyType\": 1,\n \"DepartmentId\": \"1.10\",\n \"ChangeMethod\": 2,\n \"RunAccount\": \"root\",\n \"AuthGenerationStrategy\": 1,\n \"Password\": \"pwd\",\n \"PasswordLength\": 12,\n \"SmallLetter\": 0,\n \"BigLetter\": 1,\n \"Digit\": 1,\n \"Symbol\": \"ISMkJQ==\",\n \"CompleteNotify\": 1,\n \"NotifyEmails\": [\n \"113***@qq.com\"\n ],\n \"FilePassword\": \"filepwd\",\n \"Type\": 5,\n \"Period\": 16,\n \"FirstTime\": \"2023-06-01T00:00:00Z\"\n}",
369
+ "output": "{\n \"Response\": {\n \"RequestId\": \"623237ba-6609-4828-91d0-7711f7397b0c\"\n }\n}",
370
+ "title": "修改改密任务"
371
+ }
372
+ ],
373
+ "ModifyCmdTemplate": [
374
+ {
375
+ "document": "修改高危命令模板",
376
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCmdTemplate\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"模板a\",\n \"CmdList\": \"cd /root\"\n}",
377
+ "output": "{\n \"Response\": {\n \"RequestId\": \"sada123\"\n }\n}",
378
+ "title": "修改高危命令模板"
379
+ }
380
+ ],
381
+ "ModifyDevice": [
382
+ {
383
+ "document": "修改资产信息",
384
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDevice\n<公共请求参数>\n\n{\n \"GroupIdSet\": [\n 1\n ],\n \"Id\": 1,\n \"Port\": 22\n}",
385
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2ba7270b-0596-4700-870a-2602aa0014f9\"\n }\n}",
386
+ "title": "修改资产信息"
387
+ }
388
+ ],
389
+ "ModifyDeviceGroup": [
390
+ {
391
+ "document": "",
392
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDeviceGroup\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"运维主机\"\n}",
393
+ "output": "{\n \"Response\": {\n \"RequestId\": \"b8ebf0b3-ecf5-49bf-9f9d-86341c4072f1\"\n }\n}",
394
+ "title": "修改资产组"
395
+ }
396
+ ],
397
+ "ModifyOAuthSetting": [
398
+ {
399
+ "document": "",
400
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyOAuthSetting\n<公共请求参数>\n\n{\n \"Enable\": true,\n \"AuthMethod\": \"okta\",\n \"ClientId\": \"client-id\",\n \"ClientSecret\": \"client-secret\",\n \"CodeUrl\": \"https://some-url/oauth2/v1/authorize\",\n \"TokenUrl\": \"https://some-url/oauth2/v1/token\",\n \"UserInfoUrl\": \"https://some-url/oauth2/v1/userinfo\"\n}",
401
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ec7676f4-a498-4ef5-ad68-6678b16e45d7\"\n }\n}",
402
+ "title": "设置Okta认证配置"
403
+ }
404
+ ],
405
+ "ModifyResource": [
406
+ {
407
+ "document": "已购买资源变配",
408
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResource\n<公共请求参数>\n\n{\n \"ResourceId\": \"bh-saas-olj8n2\"\n}",
409
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5692639a-8204-0110-ef4c-386acb43a8b0\"\n }\n}",
410
+ "title": "资源变配"
411
+ }
412
+ ],
413
+ "ModifyUser": [
414
+ {
415
+ "document": "修改用户信息",
416
+ "input": "POST / HTTP/1.1\nHost: dasb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUser\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"ValidateTo\": \"2020-09-22T00:00:00+00:00\",\n \"RealName\": \"zhangsan\",\n \"GroupIdSet\": [\n 1,\n 2,\n 3\n ],\n \"Phone\": \"12***891\",\n \"ValidateFrom\": \"2020-09-22T00:00:00+00:00\",\n \"Email\": \"198****@qq.com\"\n}",
417
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dfac9070-8b23-499e-83b2-a50e3ca059af\"\n }\n}",
418
+ "title": "修改用户信息"
419
+ }
420
+ ],
421
+ "ModifyUserGroup": [
422
+ {
423
+ "document": "新建主机成功",
424
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserGroup\n<公共请求参数>\n\n{\n \"Id\": 1,\n \"Name\": \"运维组\"\n}",
425
+ "output": "{\n \"Response\": {\n \"RequestId\": \"b8ebf0b3-ecf5-49bf-9f9d-86341c4072f1\"\n }\n}",
426
+ "title": "新建主机成功"
427
+ }
428
+ ],
429
+ "ResetDeviceAccountPassword": [
430
+ {
431
+ "document": "清除设备账号绑定密码",
432
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetDeviceAccountPassword\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
433
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
434
+ "title": "清除设备账号绑定密码"
435
+ }
436
+ ],
437
+ "ResetDeviceAccountPrivateKey": [
438
+ {
439
+ "document": "清除设备账号绑定的密钥",
440
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetDeviceAccountPrivateKey\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
441
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
442
+ "title": "清除设备账号绑定的密钥"
443
+ }
444
+ ],
445
+ "ResetUser": [
446
+ {
447
+ "document": "",
448
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetUser\n<公共请求参数>\n\n{\n \"IdSet\": [\n 1\n ]\n}",
449
+ "output": "{\n \"Response\": {\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
450
+ "title": "重置用户"
451
+ }
452
+ ],
453
+ "RunChangePwdTask": [
454
+ {
455
+ "document": "执行改密任务成功",
456
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunChangePwdTask\n<公共请求参数>\n\n{\n \"OperationId\": \"ops-bzn6115\",\n \"Details\": []\n}",
457
+ "output": "{\n \"Response\": {\n \"RequestId\": \"55744391-c70d-49b2-9f41-6583080023d1\"\n }\n}",
458
+ "title": "执行改密任务"
459
+ }
460
+ ],
461
+ "SearchAuditLog": [
462
+ {
463
+ "document": "搜索审计日志",
464
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchAuditLog\n<公共请求参数>\n\n{\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"EndTime\": \"2020-09-22T00:02:00+00:00\",\n \"Offset\": 1,\n \"Limit\": 1\n}",
465
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
466
+ "title": "搜索审计日志"
467
+ }
468
+ ],
469
+ "SearchCommand": [
470
+ {
471
+ "document": "命令执行检索",
472
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchCommand\n<公共请求参数>\n\n{\n \"UserName\": \"zhangsan\",\n \"DeviceName\": \"运维主机\",\n \"RealName\": \"张三\",\n \"InstanceId\": \"ins-1a2b\",\n \"Cmd\": \"pwd\",\n \"AuditAction\": [\n 1\n ],\n \"PrivateIp\": \"1.1.1.1\",\n \"PublicIp\": \"2.2.2.2\",\n \"Limit\": 1,\n \"StartTime\": \"2020-09-22T00:00:00+08:00\",\n \"Offset\": 1,\n \"EndTime\": \"2020-09-22T00:00:00+08:00\"\n}",
473
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Commands\": [\n {\n \"UserName\": \"zhangsan\",\n \"DeviceName\": \"运维开发机\",\n \"RealName\": \"张三\",\n \"UserDepartmentId\": \"1\",\n \"DeviceDepartmentId\": \"1\",\n \"UserDepartmentName\": \"总部\",\n \"DeviceDepartmentName\": \"总部\",\n \"InstanceId\": \"ins-1weqqere\",\n \"Cmd\": \"rm\",\n \"PrivateIp\": \"1.1.1.1\",\n \"PublicIp\": \"2.2.2.2\",\n \"TimeOffset\": 1,\n \"Account\": \"root\",\n \"FromIp\": \"192.168.0.1\",\n \"Sid\": \"qw23ewsd-asdfaw-123we\",\n \"SessTime\": \"2020-09-22T00:00:00+08:00\",\n \"ConfirmTime\": \"2020-09-22T00:00:00+08:00\",\n \"Time\": \"2020-09-22T00:00:00+08:00\",\n \"Action\": 1\n }\n ],\n \"RequestId\": \"aa23ab6a-b9ed-41b2-8fa3-7ab59d3e0b47\"\n }\n}",
474
+ "title": "命令执行检索"
475
+ }
476
+ ],
477
+ "SearchCommandBySid": [
478
+ {
479
+ "document": "根据会话Id搜索Command",
480
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchCommandBySid\n<公共请求参数>\n\n{\n \"Sid\": \"qee131were2\"\n}",
481
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"ec7676f4-a498-4ef5-ad68-6678b16e45d7\"\n }\n}",
482
+ "title": "根据会话Id搜索Command"
483
+ }
484
+ ],
485
+ "SearchFile": [
486
+ {
487
+ "document": "搜索session列表",
488
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchFile\n<公共请求参数>\n\n{\n \"UserName\": \"Matthew\",\n \"DeviceName\": \"测试机\",\n \"RealName\": \"Noah\",\n \"PrivateIp\": \"10.12.14.13\",\n \"InstanceId\": \"ins-ewadwe123\",\n \"AuditAction\": [\n 0\n ],\n \"FileName\": \"12.txt\",\n \"PublicIp\": \"192.41.15.78\",\n \"Limit\": 1,\n \"StartTime\": \"2020-09-22T00:00:00+00:00\",\n \"Offset\": 1,\n \"EndTime\": \"2020-09-22T00:00:00+00:00\",\n \"Method\": [\n 1\n ]\n}",
489
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Files\": [\n {\n \"Time\": \"2020-09-22T00:00:00+00:00\",\n \"UserName\": \"Leo\",\n \"RealName\": \"Hunter\",\n \"InstanceId\": \"ins-saew\",\n \"DeviceName\": \"测试机\",\n \"PublicIp\": \"192.17.13.45\",\n \"PrivateIp\": \"127.0.0.1\",\n \"Action\": 1,\n \"Method\": 1,\n \"FileCurr\": \"1.txt\",\n \"FileNew\": \"2.txt\"\n }\n ],\n \"RequestId\": \"27d70f6b-3732-4698-a00f-ee91d3a1fb31\"\n }\n}",
490
+ "title": "搜索session列表"
491
+ }
492
+ ],
493
+ "SearchFileBySid": [
494
+ {
495
+ "document": "搜索session列表",
496
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchFileBySid\n<公共请求参数>\n\n{\n \"FileName\": \"1.txt\",\n \"Offset\": 1,\n \"Sid\": \"bh-test-sid-1a2b3c\",\n \"Limit\": 5,\n \"AuditLog\": true\n}",
497
+ "output": "{\n \"Response\": {\n \"TotalCount\": 10,\n \"RequestId\": \"b8ebf0b3-ecf5-49bf-9f9d-86341c4072f1\",\n \"SearchFileBySidResult\": [\n {\n \"Time\": \"2020-01-02T01:01:01Z\",\n \"Method\": 1,\n \"Size\": 100,\n \"Action\": 1,\n \"Protocol\": \"SFTP\",\n \"FileCurr\": \"/home/1.txt\",\n \"FileNew\": \"/home/2.txt\"\n }\n ]\n }\n}",
498
+ "title": "搜索session列表"
499
+ }
500
+ ],
501
+ "SearchSession": [
502
+ {
503
+ "document": "搜索session列表",
504
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchSession\n<公共请求参数>\n\n{\n \"UserName\": \"user1\",\n \"Account\": \"admistrator\",\n \"PrivateIp\": \"127.0.0.1\",\n \"PublicIp\": \"192.168.12.12\",\n \"FromIp\": \"192.12.12.12\",\n \"StartTime\": \"2020-01-02T01:01:01Z\",\n \"EndTime\": \"2020-01-02T01:02:00Z\",\n \"Kind\": 1,\n \"Offset\": 0,\n \"Limit\": 5\n}",
505
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"c7c79e35-65b9-4c2a-beea-a038fdf8c082\"\n }\n}",
506
+ "title": "搜索session列表"
507
+ }
508
+ ],
509
+ "SearchSessionCommand": [
510
+ {
511
+ "document": "命令检索",
512
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchSessionCommand\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"Cmd\": \"pwd\",\n \"StartTime\": \"2020-01-01T01:01:01+08:00\",\n \"EndTime\": \"2020-01-01T01:01:01+08:00\"\n}",
513
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"27d70f6b-3732-4698-a00f-ee91d3a1fb31\"\n }\n}",
514
+ "title": "命令检索"
515
+ }
516
+ ]
517
+ },
518
+ "version": "1.0"
519
+ }