HomeGuidesAPI Reference
CommunityWebsiteDocumentationExchangeSupportDeveloper
API Reference

Resize an Instance

It is possible to resize containers within an instance by increasing their memory plan or storage limit. This is done by assigning a new service plan to the container. This endpoint also allows for NIC reconfiguration by passing a new array of networkInterfaces

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Morpheus ID of the Object being referenced

Query Params
boolean
Defaults to false

Proceed with the resize, overriding the snapshot deletion restriction

Body Params
instance
object

The map containing the id of the service plan you wish to apply to the containers in this instance.

servicePlanOptions
object

Map of custom options depending on selected service plan.

volumes
array of objects

Can be used to grow just the logical volume of the instance instead of choosing a plan

volumes
storageControllers
array of objects

Optional array of storage controller configurations representing the full desired controller state
of the instance after resize. Include every existing controller (by id) that should be preserved,
plus any new controllers to add. Existing controllers omitted from the array are treated as deletes;
controllers with volumes attached cannot be deleted and will fail the resize.

Must be sent alongside the volumes array in the same request — controller changes are only
processed when volumes is present in the payload. Supported on VMware and MVM.

storageControllers
boolean
Defaults to false

Delete the original volumes after resizing. (Amazon only)

networkInterfaces
array of objects

Key for network configuration. Include id to update an existing interface. The existing interfaces and their id can be retrieved with the hosts API.

networkInterfaces
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json