Enum VgpuPlacement

  • All Implemented Interfaces:
    Serializable, Comparable<VgpuPlacement>

    public enum VgpuPlacement
    extends Enum<VgpuPlacement>
    The vGPU placement strategy. It can either put vGPUs on the first available physical cards, or spread them over multiple physical cards.
    • Enum Constant Detail

      • CONSOLIDATED

        public static final VgpuPlacement CONSOLIDATED
        Use consolidated placement. Each vGPU is placed on the first physical card with available space. This is the default placement, utilizing all available space on the physical cards.
      • SEPARATED

        public static final VgpuPlacement SEPARATED
        Use separated placement. Each vGPU is placed on a separate physical card, if possible. This can be useful for improving vGPU performance.
    • Method Detail

      • values

        public static VgpuPlacement[] 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 (VgpuPlacement c : VgpuPlacement.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VgpuPlacement 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()