Skip to content

Add upgrade field to POST linode/instances/{linodeId}/migrate #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5028,6 +5028,23 @@ paths:

A cross data center migration will initiate a `linode_migrate_datacenter_create` event.
example: us-east
upgrade:
type: boolean
description: >
When initiating a cross DC migration, setting this value to
true will also ensure that the Linode is upgraded to the latest
generation of hardware that corresponds to your Linode's Type, if
any free upgrades are available for it.

If no free upgrades are available, and this value is set to true,
then the endpoint will return a 400 error code and the migration
will not be performed.

If the data center set in the `region` field does not allow upgrades,
then the endpoint will return a 400 error code and the migration
will not be performed.
example: false
default: false
responses:
'200':
description: Scheduled migration started
Expand Down