vSphere Web Services API


Enum - VmPlacementPolicyVmPlacementPolicyTopology(vim.vm.VmPlacementPolicy.VmPlacementPolicyTopology)

Since
vSphere API Release 9.1.0.0


Enum Description

Defines the infrastructure topology for which a VM placement policy should be enforced.

For example, for any policy that defines affinity or anti-affinity between VMs, the topology defines the granularity of the infrastructure at which the affinity or anti-affinity needs to be enforced. If 2 VMs are anti-affined, then: - Topology of host means those 2 VMs should be placed on 2 different hosts. - Topology of zone means those 2 VMs should be placed in 2 different zones.

Note: - This field may not apply to all types of placement policies derived from VmPlacementPolicy.

Enum Constants

NameDescription
ClusterComputeResource Any VM placement policy with this VmPlacementPolicyTopology will be enforced at the granularity of a vCenter compute cluster.

For example, a VM-VM affinity policy with this VmPlacementPolicyTopology would imply that the associated VMs need to be placed in the same vCenter compute cluster.

Host Any VM placement policy with this VmPlacementPolicyTopology will be enforced at the granularity of ESXi host.

For example, a VM-VM affinity policy with this VmPlacementPolicyTopology would imply that the associated VMs need to be placed on the same ESXi host.

VSphereZone Any VM placement policy with this VmPlacementPolicyTopology will be enforced at the granularity of vSphere Zone.

For example, a VM-VM affinity policy with this VmPlacementPolicyTopology would imply that the associated VMs need to be placed in the same vSphere Zone.


Show WSDL type definition