Scale a Compute instance to a new Instance Type
This operation changes the Compute instance's type. Note: the new Instance Type must be within the same family (e.g. a standard instance cannot be scaled to gpu2 or storage).
Body Required
-
Instance Type
Additional properties are allowed.
PUT /instance/{id}:scale
curl \
-X PUT https://api-ch-gva-2.exoscale.com/v2/instance/{id}:scale \
-H "Content-Type: application/json" \
-d '{"instance-type":{}}'
Request examples
{
"instance-type": {}
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}