InstancePoolLaunchBeforeTerminatingDetails¶
- class oci.core.models.InstancePoolLaunchBeforeTerminatingDetails(**kwargs)¶
Bases:
objectDefault launch-before-termination settings for instance pool refreshes.
Methods:
__init__(**kwargs)Initializes a new InstancePoolLaunchBeforeTerminatingDetails object with values from keyword arguments.
Attributes:
[Required] Gets the is_full_refresh of this InstancePoolLaunchBeforeTerminatingDetails.
[Required] Gets the max_healthy_percent of this InstancePoolLaunchBeforeTerminatingDetails.
- __init__(**kwargs)¶
Initializes a new InstancePoolLaunchBeforeTerminatingDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
max_healthy_percent (int) – The value to assign to the max_healthy_percent property of this InstancePoolLaunchBeforeTerminatingDetails.
is_full_refresh (bool) – The value to assign to the is_full_refresh property of this InstancePoolLaunchBeforeTerminatingDetails.
- property is_full_refresh¶
[Required] Gets the is_full_refresh of this InstancePoolLaunchBeforeTerminatingDetails. Whether to refresh eligible instances that already use the target instance configuration.
- Returns
The is_full_refresh of this InstancePoolLaunchBeforeTerminatingDetails.
- Return type
bool
- property max_healthy_percent¶
[Required] Gets the max_healthy_percent of this InstancePoolLaunchBeforeTerminatingDetails. The maximum percentage of instances that can be in the pool during a refresh. The service uses this value to calculate launch-before-terminate surge capacity.
- Returns
The max_healthy_percent of this InstancePoolLaunchBeforeTerminatingDetails.
- Return type
int