Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Format

MethodPOST
URL

/tasks/create

Request contentGuestCopy Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

GuestCopy Object

Schema

typeStringTask type identifier. In this case, "guest_copy"
src_guest_idStringIdentifier of the Guest to be copied
dest_guest_idStringIdentifier of the new Guest
descriptionStringDescription of the new Guest
dst_pool_idStringPool where the new Guest will get its resources
dst_volume_idStringVolume where the disk images of the new guest will be stored

JSON example

{
    "type": "guest_copy",
    "src_guest_id": "myOldGuest",
    "dst_guest_id": "myOldGuest",
    "dst_pool_id": "mainPool",
    "dst_volume_id": "userGuests"
}

  • No labels