Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Format


MethodPOST
URL

/tasks/create

Request contentGuestCopy Object
Successful answerTaskResult Object
Unexpected errorHTTP 500


GuestCopy Object

Schema


repeatStringReservedretriesStringNumber of times this task will be retried, in case of an error
typeStringTask type identifier. In this case, "guest_clone"
guest_idStringIdentifier of the Guest template to be cloned
clone_idStringIdentifier of the new Clone
descriptionStringDescription of the new Clone
pool_idStringPool where the new Clone will get its resources
dst_volume_idStringVolume where the disk images of the new guest will be stored


JSON example


{


    "repeat""0",    
    "retries""0",


    "type""guest_clone",
    "guest_id""myTemplate",
    "clone_id""myNewClone",
    "pool_id""mainPool",
    "description""My new clone"
}