Class VmAffinityRuleUpdateRequest

java.lang.Object
com.iland.core.web.rest.request.vm.VmAffinityRuleUpdateRequest
All Implemented Interfaces:
Serializable

public class VmAffinityRuleUpdateRequest extends Object implements Serializable
Vm Affinity Rule Update Request.
Author:
Nick Kasprzak
See Also:
  • Constructor Details

  • Method Details

    • getUuid

      public String getUuid()
      The vm affinity rule's uuid.
      Returns:
      String rule uuid
    • getName

      public String getName()
      The vm affinity rule's name
      Returns:
      String name
    • isEnabled

      public Boolean isEnabled()
      Whether the vm affinity rule is enabled.
      Returns:
      is enabled
    • getVmUuids

      public Set<String> getVmUuids()
      Get the set of vm uuids.
      Returns:
      Set of String vm uuids
    • isMandatory

      public Boolean isMandatory()
      Whether the rule is mandatory.

      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.

      Returns:
      Boolean is mandatory