Get OVA Disks

To view the details of a particular OVA disk, use the following request:

GET /template_ovas/:id/disks.xml
GET /template_ovas/:id/disks.json

XML Request Example

curl -i -X GET -u user:userpass --url http://onapp.test/template_ovas/2/disks.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -i -X GET -u user:userpass --url http://onapp.test/template_ovas/2/disks.json -H 'Accept: application/json' -H 'Content-type: application/json'

XML Output Example

<image_template_disks type="array">
    <id type="integer">2</id>
    <template_id type="integer">2</template_id>
    <disk_size type="integer">10</disk_size>
    <disk_type type="integer">0</disk_type>
    <mount_point nil="true"/>
    <mounted type="boolean">false</mounted>
    <created_at type="dateTime">2018-12-21T11:24:56+00:00</created_at>
    <updated_at type="dateTime">2018-12-21T11:24:56+00:00</updated_at>


image_template_disks - the array of OVA disks

image_template_disk - the array of the disk parameters

id - the ID of the disk

identifier - the identifier of the disk

template_id - the ID of the OVA template

disk_size - the size of the disk in GB

mount_point - the physical location in the partition used as a root filesystem

label - the label of the disk

file_system - the file system of the disk. For Linux-based virtual servers, the ext3ext4, and xfs filesystems are available. For Windows-based virtual servers, only ntfs is available. 

mounted - true if the disk inside OS is mounted automatically, otherwise, false

created_at - the date when the disk was created in the [YYYY][MM][DD]T[hh][mm][ss]Z format

updated_at - the date when the disk was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format