Highlighted
Contributor
Contributor

Python SDK 6.0 / pyvmomi 6.0 - How to monitor custom attributes / tags?

According to the Release Notes for the 6.0 version of the Python SDK, there are new API capabilities for manipulating Tags.  There's scant information on what these capabilities are or how to leverage them.

We've been able to use a PropertyCollector / WaitForUpdatesEx() to monitor common attributes (e.g. summary.config.name, summary.config.annotation), but the use case of interest is to categorize VMs by applying custom attributes / tags, and be able to monitor these attributes/tags.  Is there any information and/or examples available for how to do this?

0 Kudos
1 Reply
Highlighted
Community Manager
Community Manager

The vSphere Tagging APIs are part of the new vCloud Suite SDK which includes a Python binding, it is not the same as pyvmomi which is based on the existing vSphere API (Web Services based) where as the vCloud Suite SDK are using the new REST API. You can download the Python bindings on Developer Center SDKs: vSphere SDK, vCenter SDK, vCloud SDK - VMware Developer Center and there should be examples on accessing the new Tagging APIs and Content Library APIs which is the other API that is included with this SDK.

0 Kudos