Get List of Data Store Zones

To get the list of available data store zones, use the following request:

GET /settings/data_store_zones.xml
GET /settings/data_store_zones.json

You will get an array of data store zones set up within your cloud.

XML Request Example

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

JSON Request Example

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

XML Output Example

<data_store_groups type="array">
<data_store_group>
<label>DSZ_1</label>
<location_group_id type="integer">1</location_group_id>
<preconfigured_only type="boolean">false</preconfigured_only>
<provider_vdc_id type="integer">55</provider_vdc_id>
<created_at type="datetime">2011-01-11T11:11:15Z</created_at>
<updated_at type="datetime">2011-01-17T12:56:41Z</updated_at>
<id type="integer">5</id>
</data_store_group>

Where:

label - the data store zone title

location_group_id  - ID of a location group the data store zone is assigned to

preconfigured_only - whether the zone can be used for creating Instance Package VSs only.When this option is enabled, the zone cannot be used during custom virtual server (VSs built by setting resources manually) creation.

provider_vdc_id - the provider resource pool ID

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

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

id - the data store zone ID


Page History

v. 5.6 

  • added the provider_vdc_id parameter

v. 4.2

  • added the preconfigured_only parameter

v. 3.1

  • added the location_group_id parameter