NodePoolCyclingDetails¶
- class oci.container_engine.models.NodePoolCyclingDetails(**kwargs)¶
Bases:
objectNode Pool Cycling Details
Methods:
__init__(**kwargs)Initializes a new NodePoolCyclingDetails object with values from keyword arguments.
Attributes:
Gets the cycle_modes of this NodePoolCyclingDetails.
Gets the is_node_cycling_enabled of this NodePoolCyclingDetails.
Gets the maximum_surge of this NodePoolCyclingDetails.
Gets the maximum_unavailable of this NodePoolCyclingDetails.
- __init__(**kwargs)¶
Initializes a new NodePoolCyclingDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
maximum_unavailable (str) – The value to assign to the maximum_unavailable property of this NodePoolCyclingDetails.
maximum_surge (str) – The value to assign to the maximum_surge property of this NodePoolCyclingDetails.
is_node_cycling_enabled (bool) – The value to assign to the is_node_cycling_enabled property of this NodePoolCyclingDetails.
cycle_modes (list[oci.container_engine.models.CycleMode]) – The value to assign to the cycle_modes property of this NodePoolCyclingDetails.
- property cycle_modes¶
Gets the cycle_modes of this NodePoolCyclingDetails. An ordered list of cycle modes that should be performed on the OKE nodes.
- Returns
The cycle_modes of this NodePoolCyclingDetails.
- Return type
list[oci.container_engine.models.CycleMode]
- property is_node_cycling_enabled¶
Gets the is_node_cycling_enabled of this NodePoolCyclingDetails. If cycling operation should be performed on the nodes in the node pool.
- Returns
The is_node_cycling_enabled of this NodePoolCyclingDetails.
- Return type
bool
- property maximum_surge¶
Gets the maximum_surge of this NodePoolCyclingDetails. Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
- Returns
The maximum_surge of this NodePoolCyclingDetails.
- Return type
str
Gets the maximum_unavailable of this NodePoolCyclingDetails. Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
- Returns
The maximum_unavailable of this NodePoolCyclingDetails.
- Return type
str