pyvmomi-community-samples
pyvmomi-community-samples copied to clipboard
Powershell get-view in pyvmomi
Is your feature request related to a problem? Please describe.
In VMware PowerCLI I can retrieve very quick with get-view with -filter and -property data from our large vCenter. With using -filter and -property, the data is filtered on vCenter side, not on client side. This reduces a lot of network traffic with each API Call. This is an example: Get-View -ViewType VirtualMachine -Filter @{'Runtime.PowerState'='poweredOn';'Guest.ToolsState'='ToolsOk'} -property Name
Describe the solution you'd like
How can In get this done with pyvmomi?