RefreshInstancePoolDetails

class oci.core.models.RefreshInstancePoolDetails(**kwargs)

Bases: object

The data to start an instance refresh for an instance pool.

Methods:

__init__(**kwargs)

Initializes a new RefreshInstancePoolDetails object with values from keyword arguments.

Attributes:

is_full_refresh

[Required] Gets the is_full_refresh of this RefreshInstancePoolDetails.

max_healthy_percent

[Required] Gets the max_healthy_percent of this RefreshInstancePoolDetails.

warmup_seconds

[Required] Gets the warmup_seconds of this RefreshInstancePoolDetails.

__init__(**kwargs)

Initializes a new RefreshInstancePoolDetails 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 RefreshInstancePoolDetails.

  • warmup_seconds (int) – The value to assign to the warmup_seconds property of this RefreshInstancePoolDetails.

  • is_full_refresh (bool) – The value to assign to the is_full_refresh property of this RefreshInstancePoolDetails.

property is_full_refresh

[Required] Gets the is_full_refresh of this RefreshInstancePoolDetails. Whether to refresh all eligible instances that existed when the refresh started, even if they were launched from the target instance configuration.

Returns

The is_full_refresh of this RefreshInstancePoolDetails.

Return type

bool

property max_healthy_percent

[Required] Gets the max_healthy_percent of this RefreshInstancePoolDetails. The maximum percentage of healthy instances that can be in the pool during the refresh. The service uses this value to calculate launch-before-terminate surge capacity.

Returns

The max_healthy_percent of this RefreshInstancePoolDetails.

Return type

int

property warmup_seconds

[Required] Gets the warmup_seconds of this RefreshInstancePoolDetails. The number of seconds to wait after replacement instances are running and startup lifecycle actions are complete before terminating old instances in the batch.

Returns

The warmup_seconds of this RefreshInstancePoolDetails.

Return type

int