Skip to content

Powershell get-view in pyvmomi #746

@RalfAlbers

Description

@RalfAlbers

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?

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions