This page shows how to get a list of the avaliable volumes in an avaliability zone
Note
This depends on a zone, to get a list of avaliable zone in a specific region, check –lst-zones
>>> ./volumes --lst-avaliable-volumes OPTIONS
All parameters should be in format parameter=valie
Options:
--region, -r region of interest EU1,USE1,USW1,Asia1
--zone,-z Avaliability Zone of interest
--format,-f output format [table|json],default table
AWS Credentials
--private-Key, -pk path of the private file
--certificate, -cert path of the cert file
--conf take credentials from preconfigured file
Example 1
Get Avaliable volume in zone a in region EU1
volumes --lst-avaliable-volumes -r=EU1 -z=eu-west-1a
Output
Example 2
Get Avaliable volume in zone a in region EU1 set output format as json
volumes --lst-avaliable-volumes -r=EU1 -z=eu-west-1a -f=json
Output
[{"status": "available", "name": "blast_nt_split_16_0", "zone": "eu-west-1a", "created_on": "2011-09-13T03:46:43+0000", "id": "vol-f0b3ec99", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_3", "zone": "eu-west-1a", "created_on": "2011-09-13T04:00:56+0000", "id": "vol-30b2ed59", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_2", "zone": "eu-west-1a", "created_on": "2011-09-13T04:12:48+0000", "id": "vol-34b1ee5d", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_4", "zone": "eu-west-1a", "created_on": "2011-09-13T04:20:07+0000", "id": "vol-88b1eee1", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_5", "zone": "eu-west-1a", "created_on": "2011-09-13T04:28:42+0000", "id": "vol-eeb0ef87", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_6", "zone": "eu-west-1a", "created_on": "2011-09-13T04:32:21+0000", "id": "vol-86b0efef", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_7", "zone": "eu-west-1a", "created_on": "2011-09-13T04:41:36+0000", "id": "vol-e4aff08d", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_8", "zone": "eu-west-1a", "created_on": "2011-09-13T04:45:16+0000", "id": "vol-bcaff0d5", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_9", "zone": "eu-west-1a", "created_on": "2011-09-13T04:45:41+0000", "id": "vol-88aff0e1", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_10", "zone": "eu-west-1a", "created_on": "2011-09-13T04:46:14+0000", "id": "vol-84aff0ed", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_12", "zone": "eu-west-1a", "created_on": "2011-09-13T04:47:25+0000", "id": "vol-6caef105", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_13", "zone": "eu-west-1a", "created_on": "2011-09-13T04:56:57+0000", "id": "vol-e6aef18f", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_14", "zone": "eu-west-1a", "created_on": "2011-09-13T04:57:28+0000", "id": "vol-feaef197", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_15", "zone": "eu-west-1a", "created_on": "2011-09-13T04:58:01+0000", "id": "vol-f6aef19f", "size": "1"}, {"status": "available", "name": "blast_nt_split_16_1", "zone": "eu-west-1a", "snapshot-id": "snap-bb2dd6d3", "created_on": "2011-09-14T17:03:06+0000", "id": "vol-a089d7c9", "size": "1"}, {"status": "available", "name": "HPCloud-refseq", "zone": "eu-west-1a", "created_on": "2011-12-20T10:44:31+0000", "id": "vol-21849748", "size": "6"}, {"status": "available", "name": "HPCloud-env_nt", "zone": "eu-west-1a", "created_on": "2011-12-20T10:55:29+0000", "id": "vol-ad8b98c4", "size": "6"}, {"status": "available", "name": "HPCloud-htgs", "zone": "eu-west-1a", "created_on": "2011-12-20T10:55:38+0000", "id": "vol-a38b98ca", "size": "7"}, {"status": "available", "created_on": "2012-02-14T01:12:53+0000", "id": "vol-0431c36c", "zone": "eu-west-1a", "size": "200"}, {"status": "available", "zone": "eu-west-1a", "snapshot-id": "snap-11ac4479", "created_on": "2012-03-16T18:45:33+0000", "id": "vol-f658979e", "size": "20"}, {"status": "available", "zone": "eu-west-1a", "snapshot-id": "snap-13ac447b", "created_on": "2012-03-16T18:45:33+0000", "id": "vol-c85897a0", "size": "25"}, {"status": "available", "zone": "eu-west-1a", "snapshot-id": "snap-15ac447d", "created_on": "2012-03-16T18:45:34+0000", "id": "vol-ca5897a2", "size": "10"}]