Enum CycleMode

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<CycleMode>

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 20180222")
    public enum CycleMode
    extends Enum<CycleMode>
    implements BmcEnum
    BOOT_VOLUME_REPLACE cycling swaps the boot volume on the same node, while INSTANCE_REPLACE cycling deletes and recreates a new node with the changes applied.

    Only a subset of fields (kubernetesVersion, imageId, bootVolumeSizeInGBs, nodeMetadata, sshPublicKey) can be changed with BOOT_VOLUME_REPLACE cycling. The cycling operation will attempt to bring all nodes in the NodePool in sync with the NodePool specification. If BOOT_VOLUME_REPLACE cycling mode is chosen, and the node needs changes to fields that can not be updated via a BOOT_VOLUME_REPLACE cycle, the cycle attempt for that node will fail. The operation has to be retried with cycle mode changed to INSTANCE_REPLACE in this case.

    • Enum Constant Detail

      • BootVolumeReplace

        public static final CycleMode BootVolumeReplace
      • InstanceReplace

        public static final CycleMode InstanceReplace
      • UnknownEnumValue

        public static final CycleMode UnknownEnumValue
        This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
    • Method Detail

      • values

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

        public static CycleMode 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