Software Development Kit (SDK) and API Discussions

ZAPI query for bigger, smaller, lower, higher than a value

Grzegorz
1,317 Views

Hello,

 

I have a question about ZAPI queries. Using command line and SSH, we can look for all the volumes bigger than some defined value, for example:

 

vol show -size >500g

 

Is something like this possible using ZAPI?

1 ACCEPTED SOLUTION

gaurav_verma
1,305 Views

In my knowledge there is no such filter which can apply here but programatically you have to get the complete list of all volume and then filter out volume bigger than any size. 

View solution in original post

1 REPLY 1

gaurav_verma
1,306 Views

In my knowledge there is no such filter which can apply here but programatically you have to get the complete list of all volume and then filter out volume bigger than any size. 

Public