Software Development Kit (SDK) and API Discussions

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

Grzegorz
2,048 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
2,036 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
2,037 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