vim_vapp

vSphere vApp container management via vim.VirtualApp.

A vApp is a special kind of resource pool that wraps a group of VMs with startup/shutdown ordering and metadata. Created via ResourcePool.CreateVApp or Folder.CreateVApp.

saltext.vcf.clients.vim_vapp.create(opts, name, parent_resource_pool, *, annotation=None, profile=None)[source]

Create a vApp under parent_resource_pool (resource-pool moId or name).

Synchronous; returns the new vApp dict.

saltext.vcf.clients.vim_vapp.power_on(opts, name_or_id, profile=None)[source]

Power on all VMs in the vApp. Returns the vim.Task moId.

saltext.vcf.clients.vim_vapp.update(opts, name_or_id, *, annotation=None, profile=None)[source]

Update vApp metadata fields. Returns the updated vApp dict.