vcenter_lcm_depot¶
vCenter Lifecycle Manager (LCM) software depots.
Depots are the sources vCenter uses to compose cluster images (vSphere
Lifecycle Manager). Terraform’s vsphere_offline_software_depot manages
offline (zip-bundle) depots; this client covers both offline and online
forms uniformly under /api/esx/settings/depots.
Operations:
List / get / create / delete a depot config (where the depot lives).
Trigger / poll a depot sync.
List the bundle content currently downloaded from a depot.
- saltext.vcf.clients.vcenter_lcm_depot.create_offline(opts, file_locator, profile=None, **spec)[source]¶
Create an offline depot from an uploaded zip.
file_locator points at a content-library item or a vCenter-hosted file path (
/storage/updatemgr/...).
- saltext.vcf.clients.vcenter_lcm_depot.create_online(opts, location, profile=None, **spec)[source]¶
Create an online depot pointing at a URL.
- saltext.vcf.clients.vcenter_lcm_depot.sync(opts, profile=None)[source]¶
Trigger a sync across all online/UMDS depots. Returns a task identifier.
- saltext.vcf.clients.vcenter_lcm_depot.get_content(opts, profile=None)[source]¶
Return the union of base-images + add-ons + components currently in the depot. vCenter splits depot content across three sibling endpoints under
/api/esx/settings/depot-content; this helper aggregates them into a single dict keyed by content type.