Optionalbackups_enabled?: booleanIf this field is set to true, the created Linode will automatically be enrolled in the Linode Backup service. This will incur an additional charge. Pricing is included in the response from List types.
Optionalconfigs?: number[]An array of configuration profile IDs.
configs parameter is not provided, then all configuration profiles and their associated disks will be cloned from the source Linode. Any disks specified by the disks parameter will also be cloned.configs parameter, then no configuration profiles (nor their associated disks) will be cloned from the source Linode. Any disks specified by the disks parameter will still be cloned.configs parameter, then the configuration profiles specified in the array (and their associated disks) will be cloned from the source Linode. Any disks specified by the disks parameter will also be cloned.Optionaldisks?: number[]An array of disk IDs.
disks parameter is not provided, then no extra disks will be cloned from the source Linode. All disks associated with the configuration profiles specified by the configs parameter will still be cloned.disks parameter, then no extra disks will be cloned from the source Linode. All disks associated with the configuration profiles specified by the configs parameter will still be cloned.disks parameter, then the disks specified in the array will be cloned from the source Linode, in addition to any disks associated with the configuration profiles specified by the configs parameter.Optionalgroup?: stringA label used to group Linodes for display. Linodes are not required to have a group.
Optionallabel?: stringThe label to assign this Linode when cloning to a new Linode.
linode.Optionallinode_id?: numberIf an existing Linode is the target for the clone, the ID of that Linode. The existing Linode must have enough resources to accept the clone.
Optionalmaintenance_policy?: "linode/migrate" | "linode/power_off_on"Beta Defines the maintenance policy for the new Linode. If you don't provide it, the new Linode inherits the maintenance policy from the original Linode. Review maintenance policy documentation for more details.
Optionalmetadata?: { user_data?: string }Write-only An object containing user-defined data relevant to the creation of Linodes.
Optionaluser_data?: stringBase64-encoded cloud-config data.
Cannot be modified after provisioning. To update, use either the Clone a Linode or Rebuild a Linode operations.
Must not be included when cloning to an existing Linode.
Unencoded data must not exceed 65535 bytes, or about 16kb encoded.
Optionalplacement_group?: { id: number }Include this to assign this Linode to an existing placement group. Consider these points when cloning:
If the Linode you're cloning exists in a placement group, the API won't automatically add the cloned instance to the same placement group. You need to specify a placement group to add the clone to.
The target placement group needs to be in the same region set for this Linode.
The placement group needs to have capacity. Run the Get a region operation and note either the maximum_linodes_per_pg (strict) or maximum_linodes_per_flexible_pg (flexible), based on your selected placement_group_policy. These represent the Linode limit per placement group, for each placement_group_policy type. You can then run the Get a placement group operation to review the Linodes in that group.
The placement group's ID. You need to provide it for all operations that affect it.
Optionalprivate_ip?: booleanIf true, the created Linode will have private networking enabled and assigned a private IPv4 address.
Optionalregion?: stringThis is the Region where the Linode will be deployed. To view all available Regions you can deploy to, run List regions.
Optionaltype?: stringA Linode's Type determines what resources are available to it, including disk space, memory, and virtual cpus. The amounts available to a specific Linode are returned as specs on the Linode object.
To view all available Linode Types you can deploy with, run List types.
ID of the Linode to clone.
Optionalquery
The requested state your Linode will be cloned into.