[Templates] getImage

getImage

Summary of the Process by the Function

Returns detailed information about the specified template

Request Parameters

Specify the following parameter(s) when executing this function.

ParameterDescriptionRequired
template_id

Template ID

Specifies ID allocated to the template
The template ID can be obtained through 11.1. listImages function
It is the id in the response object, 11.1. listImages function

Response Objects

It responds in the same format as 11.1. listImages function.
Refer to response object in 11.1. listImages function for details.

Request Sample

https://api.gmocloud.com/Cloud-Zone-ID/?Action=getImage&AccessKeyId=AccessKeyId&Version=1.0&template_id=ID_of_Template&Signature=Signature

Response Sample

{
"short_label": "Template-Short-Label-example",
"arch": "64",
"type": "centos",
"template_set_ids": [],
"label": "Template-Label-example",
"parent_template_id": ID_of_Template,
"created_at": "2012-08-28T20:51:01+09:00",
"operating_system_arch": "x64",
"operating_system_distro": "rhel",
"min_memory_size": 128,
"operating_system": "linux",
"operating_system_tail": NULL,
"allowed_swap": true,
"operating_system_edition": NULL,
"updated_at": "2012-08-28T20:51:09+09:00",
"allow_resize_without_reboot": true,
"disk_target_device": "---\nxen: sda\nkvm: hd\n",
"file_name": "File-Name",
"id": ID_of_Template,
"virtualization": "xen",
"allowed_hot_migrate": true,
"template_size": 210596,
"version": "1.0",
"min_disk_size": 5,
"state": "active"
}

Note: GMO CLOUD AMERICA INC. does not make any guarantee with regard to the content of this manual and will not be held responsible for any damages resulting from customers or third parties.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk