vcenter_custom_attribute¶
Client for vCenter custom attribute (custom field) definitions via SOAP/pyVmomi.
Custom attributes are metadata key definitions managed globally by the
CustomFieldsManager on the connected vCenter Server, optionally scoped
to a managed object type (e.g. VirtualMachine, HostSystem). Setting
a custom attribute’s value on a specific entity is out of scope here.
- saltext.vcf.clients.vcenter_custom_attribute.list_(opts, profile=None)[source]¶
Return all custom attribute definitions.
- saltext.vcf.clients.vcenter_custom_attribute.get(opts, name, profile=None)[source]¶
Return the custom attribute definition named name.
Raises
LookupErrorif not found.