service-2.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ---
  2. version: '1.0'
  3. metadata:
  4. apiVersion: '2020-12-15'
  5. endpointPrefix: kes
  6. jsonVersion: '1.1'
  7. serviceFullName: KES Service
  8. signatureVersion: v4
  9. targetPrefix: kes
  10. # protocol: kes
  11. protocol: query-json
  12. operations:
  13. # 创建集群
  14. LaunchCluster:
  15. name: LaunchCluster
  16. protocol: json
  17. http:
  18. method: POST
  19. requestUri: /2020-12-15/LaunchCluster
  20. # 查看所有集群的信息
  21. ListClusters:
  22. name: ListClusters
  23. protocol: json
  24. http:
  25. method: POST
  26. requestUri: /2020-12-15/ListClusters
  27. # 查看指定集群详情信息
  28. DescribeCluster:
  29. name: DescribeCluster
  30. protocol: json
  31. http:
  32. method: POST
  33. requestUri: /2020-12-15/DescribeCluster
  34. # 重启指定的金山云KES集群
  35. RestartCluster:
  36. name: RestartCluster
  37. protocol: json
  38. http:
  39. method: POST
  40. requestUri: /2020-12-15/RestartCluster
  41. # 完成现有集群扩容操作
  42. ScaleOutInstanceGroups:
  43. name: ScaleOutInstanceGroups
  44. protocol: json
  45. http:
  46. method: POST
  47. requestUri: /2020-12-15/ScaleOutInstanceGroups