Get List of Backup Resource Zones

To get the list of backup resource zones, use the following request:

GET /settings/backups/resource_zones.xml
GET /settings/backups/resource_zones.json

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/settings/backups/resource_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/backups/resource_zones.json

XML Output Example

<resource_zones type="array">
  <resource_zone>
	<created_at type="dateTime">2018-03-27T18:12:40+03:00</created_at>
	<id type="integer">1</id>
	<label>backup_resource_zone</label>
	<location_group_id>2</location_group_id>
	<updated_at type="dateTime">2018-03-28T14:58:33+03:00</updated_at>
  </resource_zone>
  <resource_zone>...</resource_zone>
</resource_zones>

Where: 

resource_zone - the array of parameters for the backup resource zone

created_at - the date when the backup resource zone was created in the [YYYY][MM][DD]T[hh][mm][ss] format

id - the ID of the backup resource zone

label - the label of the backup resource zone

location_group_id - the ID of the location group to which the backup resource zone is added

updated_at - the date when the backup resource zone was updated in the [YYYY][MM][DD]T[hh][mm][ss] format