阅读993 返回首页    go 阿里云 go 技术社区[云栖]


查询所有权限__账号管理类 API_Open API 参考_企业级分布式应用服务 EDAS-阿里云

查询当前主账号开通的 EDAS 版本所有的权限,您可以将这个权限授予不同的子账号以达到权限控制的目的。

请求 URI

  1. /account/authority_list

参数列表

响应数据

  1. {
  2. "code":200,
  3. "data":[
  4. {
  5. "groupId":1,
  6. "name":"应用管理",
  7. "actions":[
  8. {
  9. "appIdUnrelated":true,
  10. "code":1,
  11. "groupId":1,
  12. "name":"创建应用",
  13. "desc":"创建应用"
  14. },
  15. {
  16. "appIdUnrelated":false,
  17. "code":14,
  18. "groupId":1,
  19. "name":"查看app信息",
  20. "desc":"查看app信息"
  21. }
  22. ],
  23. "desc":"对应用的所有操作"
  24. },
  25. {
  26. "groupId":2,
  27. "name":"日志",
  28. "actions":[
  29. {
  30. "appIdUnrelated":false,
  31. "code":1,
  32. "groupId":2,
  33. "name":"查看日志",
  34. "desc":"查看日志"
  35. },
  36. {
  37. "appIdUnrelated":false,
  38. "code":2,
  39. "groupId":2,
  40. "name":"设置日志路径",
  41. "desc":"设置日志路径"
  42. }
  43. ],
  44. "desc":"对运行日志的查看以及相关设置的编辑"
  45. },
  46. {
  47. "groupId":3,
  48. "name":"监控",
  49. "actions":[
  50. {
  51. "appIdUnrelated":false,
  52. "code":1,
  53. "groupId":3,
  54. "name":"查看基础监控",
  55. "desc":"查看基础监控"
  56. },
  57. {
  58. "appIdUnrelated":false,
  59. "code":3,
  60. "groupId":3,
  61. "name":"查看监控大盘",
  62. "desc":"查看监控大盘"
  63. }
  64. ],
  65. "desc":"监控信息查看以及相关设置"
  66. },
  67. {
  68. "groupId":4,
  69. "name":"通知报警",
  70. "actions":[
  71. {
  72. "appIdUnrelated":false,
  73. "code":1,
  74. "groupId":4,
  75. "name":"查看",
  76. "desc":"查看"
  77. },
  78. {
  79. "appIdUnrelated":false,
  80. "code":2,
  81. "groupId":4,
  82. "name":"增删改",
  83. "desc":"增删改"
  84. }
  85. ],
  86. "desc":"通知报警相关查看设置"
  87. },
  88. {
  89. "groupId":5,
  90. "name":"服务列表",
  91. "actions":[
  92. {
  93. "appIdUnrelated":false,
  94. "code":1,
  95. "groupId":5,
  96. "name":"查看",
  97. "desc":"查看"
  98. },
  99. {
  100. "appIdUnrelated":false,
  101. "code":2,
  102. "groupId":5,
  103. "name":"编辑",
  104. "desc":"编辑"
  105. }
  106. ],
  107. "desc":"服务列表查看以及动态归组的变更"
  108. },
  109. {
  110. "groupId":6,
  111. "name":"限流降级",
  112. "actions":[
  113. {
  114. "appIdUnrelated":false,
  115. "code":1,
  116. "groupId":6,
  117. "name":"查看",
  118. "desc":"查看"
  119. },
  120. {
  121. "appIdUnrelated":false,
  122. "code":2,
  123. "groupId":6,
  124. "name":"编辑",
  125. "desc":"编辑"
  126. }
  127. ],
  128. "desc":"限流降级以及相关设置"
  129. },
  130. {
  131. "groupId":7,
  132. "name":"容器诊断",
  133. "actions":[
  134. {
  135. "appIdUnrelated":false,
  136. "code":1,
  137. "groupId":7,
  138. "name":"查看",
  139. "desc":"查看"
  140. }
  141. ],
  142. "desc":"容器诊断"
  143. },
  144. {
  145. "groupId":9,
  146. "name":"软件版本",
  147. "actions":[
  148. {
  149. "appIdUnrelated":false,
  150. "code":1,
  151. "groupId":9,
  152. "name":"查看",
  153. "desc":"查看"
  154. },
  155. {
  156. "appIdUnrelated":false,
  157. "code":2,
  158. "groupId":9,
  159. "name":"版本升级",
  160. "desc":"版本升级"
  161. }
  162. ],
  163. "desc":"软件版本"
  164. },
  165. {
  166. "groupId":10,
  167. "name":"操作记录",
  168. "actions":[
  169. {
  170. "appIdUnrelated":false,
  171. "code":1,
  172. "groupId":10,
  173. "name":"查看",
  174. "desc":"查看"
  175. }
  176. ],
  177. "desc":"操作记录"
  178. },
  179. {
  180. "groupId":11,
  181. "name":"非应用操作",
  182. "actions":[
  183. {
  184. "appIdUnrelated":true,
  185. "code":2,
  186. "groupId":11,
  187. "name":"安装Agent",
  188. "desc":"安装Agent"
  189. },
  190. {
  191. "appIdUnrelated":true,
  192. "code":16,
  193. "groupId":11,
  194. "name":"审批服务",
  195. "desc":"审批服务"
  196. }
  197. ],
  198. "desc":"不是针对于应用的操作"
  199. },
  200. {
  201. "groupId":12,
  202. "name":"容量规划",
  203. "actions":[
  204. {
  205. "appIdUnrelated":false,
  206. "code":1,
  207. "groupId":12,
  208. "name":"容量规划",
  209. "desc":"容量规划"
  210. }
  211. ],
  212. "desc":"容量规划"
  213. },
  214. {
  215. "groupId":13,
  216. "name":"弹性伸缩",
  217. "actions":[
  218. {
  219. "appIdUnrelated":false,
  220. "code":1,
  221. "groupId":13,
  222. "name":"查看",
  223. "desc":"查看"
  224. },
  225. {
  226. "appIdUnrelated":false,
  227. "code":2,
  228. "groupId":13,
  229. "name":"编辑",
  230. "desc":"编辑"
  231. }
  232. ],
  233. "desc":"弹性伸缩"
  234. },
  235. {
  236. "groupId":14,
  237. "name":"链路分析",
  238. "actions":[
  239. {
  240. "appIdUnrelated":true,
  241. "code":1,
  242. "groupId":14,
  243. "name":"查看",
  244. "desc":"查看"
  245. }
  246. ],
  247. "desc":"链路分析"
  248. },
  249. {
  250. "groupId":15,
  251. "name":"概览",
  252. "actions":[
  253. {
  254. "appIdUnrelated":true,
  255. "code":1,
  256. "groupId":15,
  257. "name":"查看概览",
  258. "desc":"查看概览"
  259. },
  260. {
  261. "appIdUnrelated":true,
  262. "code":2,
  263. "groupId":15,
  264. "name":"查看监控图",
  265. "desc":"查看监控图"
  266. }
  267. ],
  268. "desc":"概览"
  269. },
  270. {
  271. "groupId":16,
  272. "name":"资源管理",
  273. "actions":[
  274. {
  275. "appIdUnrelated":true,
  276. "code":11,
  277. "groupId":16,
  278. "name":"查看ECS",
  279. "desc":"查看ECS"
  280. },
  281. {
  282. "appIdUnrelated":true,
  283. "code":44,
  284. "groupId":16,
  285. "name":"绑定SLB",
  286. "desc":"绑定SLB"
  287. }
  288. ],
  289. "desc":"资源管理"
  290. },
  291. {
  292. "groupId":17,
  293. "name":"配置管理",
  294. "actions":[
  295. {
  296. "appIdUnrelated":true,
  297. "code":11,
  298. "groupId":17,
  299. "name":"查询配置",
  300. "desc":"查询配置"
  301. },
  302. {
  303. "appIdUnrelated":true,
  304. "code":14,
  305. "groupId":17,
  306. "name":"增加配置",
  307. "desc":"增加配置"
  308. }
  309. ],
  310. "desc":"配置管理"
  311. }
  312. ]
  313. }

示例

  1. String resp = edasApiClient.callApi(EdasApiAction.Account.authority_list.path(), null);
  2. System.out.println(resp);

最后更新:2016-11-23 16:04:18

  上一篇:go 编辑账号信息__账号管理类 API_Open API 参考_企业级分布式应用服务 EDAS-阿里云
  下一篇:go 授权资源组__账号管理类 API_Open API 参考_企业级分布式应用服务 EDAS-阿里云