Child pages
  • Get the List of Data Stores Attached to Data Store Zone
Skip to end of metadata
Go to start of metadata
GET /settings/data_store_zones/:data_store_group_id/data_stores.xml
GET /settings/data_store_zones/:data_store_group_id/data_stores.json

On success, an array of data stores is returned.

XML Output example

<?xml version="1.0" encoding="UTF-8"?>
<data-stores type="array">
<data-store>
<label>ds1</label>
<created_at type="datetime">2011-01-06T10:54:30Z</created_at>
<updated_at type="datetime">2011-02-07T12:27:32Z</updated_at>
<data_store_group_id type="integer">5</data_store_group_id>
<enabled type="boolean">false</enabled>
<id type="integer">1</id>
<zombie_disks_size type="integer">110</zombie_disks_size>
<ip></ip>
<local_compute resource_id type="integer" nil="true"></local_compute resource_id>
<data_store_size type="integer">465</data_store_size>
<identifier>onapp-ojgg2jk75zfzmw</identifier>
</data-store> 

Explanation of the data returned:

label - the name of the data store attached to this data store zone 

created_at  - time when the DB record was created 

updated_at - time when the DB record was updated 

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

enabled - true if the data store is enabled and you can create virtual servers on it, otherwise false 

id - the data store ID 

zombie_disks_size - the disk space in GB allocated to zombie disks 

ip - the data store IP address 

local_compute resource_id - the ID of the compute resource to which this data store is assigned 

data_store_size - the data store disk capacity in GB 

identifier - the data store identifier in DB

 

 

  • No labels