Child pages
  • Get List of Data Stores
Skip to end of metadata
Go to start of metadata
GET /settings/data_stores.xml
GET /settings/data_stores.json

XML Output example

<?xml version="1.0" encoding="UTF-8"?>
<data-stores type="array">
<data_store>
<label>SAN1</label>
<created_at type="datetime">2010-04-27T15:55:08Z</created_at>
<updated_at type="datetime">2010-08-04T09:02:15Z</updated_at>
<data_store_group_id type="integer">81</data_store_group_id>
<id type="integer">1</id>
<local_hypervisor_id type="integer" nil="true"></local_hypervisor_id>
<data_store_size type="integer">890</data_store_size>
<data_store_type>lvm</data_store_type>
<enabled type="boolean">true</enabled>
<hypervisor_group_id nil="true"/>
<identifier>radar-san1</identifier>
<usage type="integer">57</usage>
<label>DS1 doesn't work</label>
<local_hypervisor_id nil="true"/>
<zombie_disks_size type="integer">15</zombie_disks_size>
</data_store>
</data_stores>


Where:

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

data_store_size - the size of your data store shown in GB

data_store_type - data store type. Can be either lvm or vmware.

id - the data store ID

label - the data store label

local_hypervisor_id  - the ID of the compute resource using this Data Store

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

data_store_group_id - the ID of a data store zone to which a particular data store is attached

zombie_disk_size - the size of zombie disks attached to this data store in GB.

enabled - True if a data store is enabled and you can attach disks to it. Otherwise, false.

usage - the total disk usage on the data store in GB.

 

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