captureImage


SoftLayer_Virtual_Guest::captureImage

Captures a Flex Image of the hard disk on the virtual machine.

Description

Captures a Flex Image of the hard disk on the virtual machine, based on the capture template parameter. Returns the image template group containing the disk image.

Parameters

Name Type Description
captureTemplate SoftLayer_Container_Disk_Image_Capture_Template

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Container_Disk_Image_Capture_Template]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Virtual_Guest/{SoftLayer_Virtual_GuestID}/captureImage'