Ocean Automatic Rightsizing

Get Ocean Rightsizing Recommendations

Get right-sizing recommendations for an Ocean cluster.

post/ocean/{oceanId}/rightSizing/recommendations

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/ocean/{oceanId}/rightSizing/recommendations
  • Auth
    HTTP bearer

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"
    ]
  }
}

Changes

No recorded changes to this operation across all 12 revisions of this API.