latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Ocean Automatic Rightsizing

Get Ocean Rightsizing Recommendations

Get right-sizing recommendations for an Ocean cluster.

post/ocean/{oceanId}/rightSizing/recommendations

Parameters

#/paths/~1ocean~1%7BoceanId%7D~1rightSizing~1rule/get/parameters/0 — unresolved $ref
#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref

Request body

Example request

{
  "clusterResources": {
    "namespaceName1": {
      "workloadName1": [
        "workloadContainer1",
        "workloadContainer2"
      ],
      "workloadName2": [
        "workloadContainer2",
        "workloadContainer3"
      ]
    },
    "namespaceName2": {
      "workloadName1": [
        "workloadContainer1",
        "workloadContainer2"
      ]
    }
  },
  "clusterLabels": {
    "namespaceName1": [
      "workloadLabel1",
      "workloadLabel2",
      "workloadLabel3"
    ],
    "namespaceName2": [
      "workloadLabel1",
      "workloadLabel2"
    ]
  }
}