閱讀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-阿裏雲