Child pages
  • Get Instance Type Details
Skip to end of metadata
Go to start of metadata

To view the details of an instance type, use the following request:

GET /instance_types/:instance_type_id.xml
GET /instance_types/:instance_type_id.json

XML Request example

curl -i -X GET http://onapp.test/instance_types/:instance_type_id.xml -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request example

curl -i -X GET http://onapp.test/instance_types/:instance_type_id.json -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'

XML Output example

<?xml version="1.0" encoding="UTF-8"?>
  <id type="integer">1</id>
  <cpus type="integer">2</cpus>
  <disk_size type="integer">1</disk_size>
  <memory type="integer">128</memory>
  <bandwidth type="integer">1</bandwidth>
  <created_at type="datetime">2015-06-17T15:29:26+00:00</created_at>
  <updated_at type="datetime">2015-06-17T15:29:26+00:00</updated_at>
  <billing_plan_ids type="array">
    <fixnum type="integer">1</fixnum>
    <fixnum type="integer">5</fixnum>
    <fixnum type="integer">140</fixnum>


id - ID of the instance type

label - the name of the instance type

cpus - the number of CPU cores available in this instance type

disk_size -  the disk size available in this instance type

memory - the RAM size (GB) available in the instance type

bandwidth - the bandwidth available in this instance type

created_at - time when the instance type was created, in [YYYY][MM][DD]T[hh][mm][ss]Z

updated_at - time when the instance type was updated, in [YYYY][MM][DD]T[hh][mm][ss]Z

billing_plan_ids - the array of billing plans to which this instance type was added

fixnum - the ID of the billing plan in which the instance type was used

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels