Assuming I'm reading and understanding the API docs correctly at http://cloudstack.apache.org/docs/api/apidocs-4.1/root_admin/listVolumes.html
list volumes tags=remote_backup should list everything with the tag remote_backup On 15 February 2015 at 23:50, Mike Tutkowski <mike.tutkow...@solidfire.com> wrote: > I believe you'd need to write a script to invoke CloudMonkey to execute the > list command and then parse the results of the command (keeping only what > you're interested in). > > On Sunday, February 15, 2015, Andrei Mikhailovsky <and...@arhont.com> wrote: > >> Hello guys, >> >> I have a silly question; can't really find an answer by googling. How do I >> use tags when I want to query something. For instance, if I want to query >> volumes using "list volumes" command. If i would like to get only the >> results containing a certain tag, like a tag with key remote_backup and >> value of yes; how would the list volumes command should look like? >> >> Thanks >> >> Andrei >> > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the cloud > <http://solidfire.com/solution/overview/?video=play>*™*