Ocean Automatic Rightsizing
Attach Ocean Rightsizing Rule
post/ocean/{oceanId}/rightSizing/rule/{ruleName}/attachment
Request
- Base URLhttps://api.spotinst.io
- URLhttps://api.spotinst.io/ocean/{oceanId}/rightSizing/rule/{ruleName}/attachment
- AuthHTTP bearer
Parameters
#/paths/~1ocean~1%7BoceanId%7D~1rightSizing~1rule/get/parameters/0 (unresolved $ref)
#/paths/~1ocean~1%7BoceanId%7D~1rightSizing~1rule~1%7BruleName%7D/get/parameters/1 (unresolved $ref)
#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)
Request body
Example request
{
"namespaces": [
{
"namespaceName": "kube-system",
"workloads": [
{
"name": "kube-proxy",
"workloadType": "DaemonSet"
},
{
"regexName": "spotinst*",
"workloadType": "Deployment"
}
]
}
]
}Changes
No recorded changes to this operation across all 12 revisions of this API.