public class VmAffinityRuleUpdateRequest extends Object implements Serializable
Constructor and Description |
---|
VmAffinityRuleUpdateRequest(String uuid,
String name,
Boolean isEnabled,
Set<String> vmUuids,
Boolean isMandatory) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
The vm affinity rule's name
|
String |
getUuid()
The vm affinity rule's uuid.
|
Set<String> |
getVmUuids()
Get the set of vm uuids.
|
Boolean |
isEnabled()
Whether the vm affinity rule is enabled.
|
Boolean |
isMandatory()
Whether the rule is mandatory.
|
public Boolean isEnabled()
public Boolean isMandatory()
You can make an affinity rule mandatory to provide a hint to the system that the deployment should fail unless the specified placement objective can be achieved. When a virtual machine is the subject of a mandatory affinity rule, placement requirements dictated by the rule override any placement changes that might be initiated by vSphere services such as High Availability and Storage DRS.
Boolean
is mandatoryCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.