I need to find out the image name used for a particular SoftLayer VM.
I've looked around on the Soflayer UI but I cannot find it.
I need to find out the image name used for a particular SoftLayer VM.
I've looked around on the Soflayer UI but I cannot find it.
If you wish to retrieve the image template that was used to provision or reload a guest. You can use a rest API call to the getObject method of virtual guest service, as below:
Method: GET
https://username:apikey@api.softlayer.com/rest/v3/SoftLayer_Virtual_Guest/123456/getObject?objectMask=mask[id,blockDeviceTemplateGroup[name]]
You will get a response like below example:
{
"id": 123456,
"blockDeviceTemplateGroup": {
"name": "image-template-name"
}
}