Enum VmStorageErrorResumeBehaviour

    • Enum Constant Detail

      • AUTO_RESUME

        public static final VmStorageErrorResumeBehaviour AUTO_RESUME
        The virtual machine gets resumed automatically in the moment the storage is available again. This is the only behavior available before 4.2.
      • KILL

        public static final VmStorageErrorResumeBehaviour KILL
        The virtual machine will be killed after a timeout (configurable on the hypervisor). This is the only option supported for highly available virtual machines with leases. The reason is that the highly available virtual machine is restarted using the infrastructure and any kind of resume risks split brains.
      • LEAVE_PAUSED

        public static final VmStorageErrorResumeBehaviour LEAVE_PAUSED
        Do nothing with the virtual machine. Useful if there is a custom failover implemented and the user does not want the virtual machine to get resumed.
    • Method Detail

      • values

        public static VmStorageErrorResumeBehaviour[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VmStorageErrorResumeBehaviour c : VmStorageErrorResumeBehaviour.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VmStorageErrorResumeBehaviour valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()