NodeGroupMaintenancePolicy

enum NodeGroupMaintenancePolicy : Enum<NodeGroupMaintenancePolicy> , ConvertibleToJava<NodeGroupMaintenancePolicy>

Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.

Entries

Link copied to clipboard

Allow the node and corresponding instances to retain default maintenance behavior.

Link copied to clipboard

When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true.

Link copied to clipboard

Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): NodeGroupMaintenancePolicy
Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: NodeGroupMaintenancePolicy
Link copied to clipboard
Link copied to clipboard