Filtering VM Information


Just a quick note.  I wrote a blog for our corporate site and finding non-clone VMs and synthetic VMs..  There are two types of filtering: server side and client side.  Both types are shown in the blog post.  The code uses the from the Tintri GitHub as a template.

For server side filtering, use the query filter.  For client side filtering, obtain the VMs and filter for what you’re looking for.  Client side filtering is useful for fields that cannot be filtered by the query parameters.

Server side includes fields like hypervisor type, cpuPercent, and space used.  Of course, too many search parameters will affect performance.  Check out VirtualMachineFilterSpec page in the API documentation for VM filters.


– Rick –


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s