service-2.yaml 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ---
  2. version: '2.0'
  3. metadata:
  4. apiVersion: '2021-09-02'
  5. endpointPrefix: kmr
  6. jsonVersion: '1.1'
  7. serviceFullName: KMR Service
  8. signatureVersion: v4
  9. targetPrefix: kmr
  10. protocol: query-json
  11. operations:
  12. # 创建集群
  13. LaunchCluster:
  14. name: LaunchCluster
  15. protocol: json
  16. http:
  17. method: POST
  18. # 查看所有集群列表
  19. ListClusters:
  20. name: ListClusters
  21. protocol: json
  22. http:
  23. method: POST
  24. # 查看指定集群详情信息
  25. DescribeCluster:
  26. name: DescribeCluster
  27. protocol: json
  28. http:
  29. method: POST
  30. # 集群扩容
  31. ScaleOutInstanceGroups:
  32. name: ScaleOutInstanceGroups
  33. protocol: json
  34. http:
  35. method: POST
  36. # 集群缩容
  37. ScaleInInstanceGroups:
  38. name: ScaleInInstanceGroups
  39. protocol: json
  40. http:
  41. method: POST
  42. # 集群升配
  43. UpgradeInstanceGroups:
  44. name: UpgradeInstanceGroups
  45. protocol: json
  46. http:
  47. method: POST