vcf_vccluster_resource_pool

State module for named child resource pools under a vCenter cluster.

saltext.vcf.states.vcf_vccluster_resource_pool.present(name, cluster, cpu=None, memory=None, profile=None)[source]

Ensure resource pool name exists under cluster, with the given CPU/memory allocation.

Creates the pool first if it doesn’t exist yet (with vSphere’s normal defaults), then reconciles cpu/memory — each a dict with any of reservation, expandable_reservation, limit, shares_level, shares_value.

saltext.vcf.states.vcf_vccluster_resource_pool.absent(name, cluster, profile=None)[source]

Ensure no resource pool named name exists under cluster.