govmomiLast Updated December 16, 2024
govmomi is a Go language library for interacting with the VMware Web Services API for
ESXi and vCenter Server.
The code in the govmomi package is a wrapper for the code that is generated from the
vSphere API description. It primarily provides convenience functions for working with
the vSphere API:
- Generated types, managed objects, and methods for the complete VIM API
- Client structure that abstracts a session and its immutable state
- Session Manager abstraction that allows a user to login and logout
- Wrappers for a selection of managed objects
- Generated coverage for some other SOAP-based APIs, such as SMS, SPBM, and vSAN
- Partial coverage for the vSphere Automation API
For more information about using govmomi, see
the following documentation: