Resize Machine
Second day resize operation for machine
Request
URI
POST
https://{api_host}/iaas/api/machines/{id}/operations/resize
COPY
Path Parameters
string
id
Required
The id of the Machine.
Query Parameters
string
name
Optional
The desired flavor to resize the Machine.
string
cpuCount
Optional
The desired number of CPUs to resize the Machine
string
memoryInMB
Optional
The desired memory in MBs to resize the Machine
string
apiVersion
Optional
The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about
Responses
202
successful operation
Returns
RequestTracker
of type(s)
application/json
{
"progress": 90,
"message": "In Progress",
"status": "FINISHED",
"resources": [
"string"
],
"name": "Power-off",
"id": "we655aew4e8e",
"selfLink": "/.../request-tracker/we655aew4e8e"
}
integer As int32
As int32
progress
Required
Progress of the request as percentage.
string
message
Optional
Status message of the request.
string
status
Required
Status of the request.
Possible values are :
FINISHED,
INPROGRESS,
FAILED,
array of
string
resources
Optional
Collection of resources.
string
name
Optional
Name of the operation.
string
id
Required
ID of this request.
string
selfLink
Required
Self link of this request.
403
Forbidden
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' https://{api_host}/iaas/api/machines/{id}/operations/resize
Compute Operations
GET
Get Machines
POST
Create Machine
GET
Get Machine
DELETE
Delete Machine
PATCH
Update Machine
POST
Power Off Machine
POST
Power On Machine
POST
Reboot Machine
POST
Reset Machine
POST
Resize Machine
POST
Restart Machine
POST
Revert Machine Snapshot
POST
Shutdown Machine
POST
Create Machine Snapshot
POST
Suspend Machine
GET
Get Machine Snapshots
DELETE
Delete Machine Snapshot