vSphere Web Services API
|
| Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Data Object - VmVmAffinity(vim.vm.VmVmAffinity)
- Extends
- VmPlacementPolicy
- See also
- TagId
- Since
- vSphere API Release 9.1.0.0
Data Object Description
Specification of a VM placement policy that affines a group of VMs among themselves.Properties
| Name | Type | Description |
|---|---|---|
| affinedVmsTag | TagId |
Name of the vSphere tag identifying the VMs that need to be affined
with each other.
When this type of placement policy is specified for a VM (via vmPlacementPolicies or vmPlacementPolicies), then that VM is affined with all the other VMs that have affinedVmsTag a vSphere tag. This means that DRS will attempt to place all the VMs with affinedVmsTag on the same target host/cluster/vSphereZone (where the topology of the target is specified by policyTopology).
Example: VmVmAffinity placement policy with affinedVmsTag
equal to "test-workloads" would mean that all the VMs that have a
vSphere tag with the name "test-workloads" should be placed on the
same target host/cluster/vSphereZone (as indicated by
policyTopology).
|
| policyStrictness* | xsd:string |
Specifies the strictness of this VmVmAffinity placement
policy while placing a VM for which this policy is specified.
For details, see
VmPlacementPolicyVmPlacementPolicyStrictness
If this field is left unset, then the default value of
VmPlacementPolicy.VmPlacementPolicyStrictness#PreferredDuringPlacementPreferredDuringExecution
will be assumed.
|
| policyTopology* | xsd:string |
Specifies the topology for enforcing this VmVmAffinity placement
policy while placing a VM for which this policy is specified.
For possible values, see
VmPlacementPolicyVmPlacementPolicyTopology.
For example: - If this is set to VmPlacementPolicy.VmPlacementPolicyTopology#VSphereZone, the VMs that have affinedVmsTag tag attached to them should be placed in the same vSphere Zone. - If this is set to VmPlacementPolicy.VmPlacementPolicyTopology#Host, the VMs that have affinedVmsTag tag attached to them should be placed on the same ESXi host.
If this field is left unset, then the default value of
VmPlacementPolicy.VmPlacementPolicyTopology#Host will be assumed.
|
| Properties inherited from VmPlacementPolicy | ||
| None | ||
| Properties inherited from DynamicData | ||
| None | ||
Show WSDL type definition
| Top of page | Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |