Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

find_entity_views filter

$
0
0

Hi,

 

I am trying to get a list of all virtual machine which have "reserve all guest memory" switched off.

I didn't manage to find a reference to this field in the documentation.

any idea what is the filter that need to be applied in find_entity_view for virtual machine ?

 

 

 

Vim::find_entity_views(view_type => 'VirtualMachine',
                                      begin_entity => $datacenter_view,
                                      filter => { 'config.guestFullName' => qr/Windows/,
                                                  'runtime.powerState' => 'poweredOn',
                                                   });
Regards,
      Eyal

Viewing all articles
Browse latest Browse all 1860

Trending Articles