OptionalbodyOptionalplacement_group?: { id: number }The placement group's ID. You need to provide it for all operations that affect it.
Optionalregion?: stringThe region to which the Linode will be migrated. Must be a valid region slug. A list of regions can be viewed by running the List regions operation. A cross data center migration will cancel a pending migration that has not yet been initiated. A cross data center migration will initiate a linode_migrate_datacenter_create event.
Optionaltype?: "warm" | "cold"Type of migration used in moving to a new host or Linode type.
warm: the Linode will not power down until the migration is complete.
Warm migrations are not available for DC migrations.
cold: the Linode will be powered down and migrated. When the migration
is complete, the Linode will be powered on.
Optionalupgrade?: booleanWhen 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.
ID of the Linode to migrate.
Optionalquery
Include this to assign this Linode to an existing placement group in the data center you're migrating to. These constraints apply:
regionyou're migrating to.maximum_linodes_per_pg(strict) ormaximum_linodes_per_flexible_pg(flexible), based on your selectedplacement_group_policy. These represent the Linode limit per placement group, for eachplacement_group_policytype. You can then run the Get a placement group operation to review the Linodes in that group.