InstancePoolPreTerminationActionHandleTimeoutDetails

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

Bases: object

Options to handle timeout for pre-termination action.

Attributes

PRESERVE_BLOCK_VOLUME_MODE_DELETE_ALWAYS A constant which can be used with the preserve_block_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
PRESERVE_BLOCK_VOLUME_MODE_PRESERVE_ALWAYS A constant which can be used with the preserve_block_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
PRESERVE_BLOCK_VOLUME_MODE_PRESERVE_ON_TIMEOUT A constant which can be used with the preserve_block_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
PRESERVE_BOOT_VOLUME_MODE_DELETE_ALWAYS A constant which can be used with the preserve_boot_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
PRESERVE_BOOT_VOLUME_MODE_PRESERVE_ALWAYS A constant which can be used with the preserve_boot_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
PRESERVE_BOOT_VOLUME_MODE_PRESERVE_ON_TIMEOUT A constant which can be used with the preserve_boot_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
preserve_block_volume_mode [Required] Gets the preserve_block_volume_mode of this InstancePoolPreTerminationActionHandleTimeoutDetails.
preserve_boot_volume_mode [Required] Gets the preserve_boot_volume_mode of this InstancePoolPreTerminationActionHandleTimeoutDetails.

Methods

__init__(**kwargs) Initializes a new InstancePoolPreTerminationActionHandleTimeoutDetails object with values from keyword arguments.
PRESERVE_BLOCK_VOLUME_MODE_DELETE_ALWAYS = 'DELETE_ALWAYS'

A constant which can be used with the preserve_block_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails. This constant has a value of “DELETE_ALWAYS”

PRESERVE_BLOCK_VOLUME_MODE_PRESERVE_ALWAYS = 'PRESERVE_ALWAYS'

A constant which can be used with the preserve_block_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails. This constant has a value of “PRESERVE_ALWAYS”

PRESERVE_BLOCK_VOLUME_MODE_PRESERVE_ON_TIMEOUT = 'PRESERVE_ON_TIMEOUT'

A constant which can be used with the preserve_block_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails. This constant has a value of “PRESERVE_ON_TIMEOUT”

PRESERVE_BOOT_VOLUME_MODE_DELETE_ALWAYS = 'DELETE_ALWAYS'

A constant which can be used with the preserve_boot_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails. This constant has a value of “DELETE_ALWAYS”

PRESERVE_BOOT_VOLUME_MODE_PRESERVE_ALWAYS = 'PRESERVE_ALWAYS'

A constant which can be used with the preserve_boot_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails. This constant has a value of “PRESERVE_ALWAYS”

PRESERVE_BOOT_VOLUME_MODE_PRESERVE_ON_TIMEOUT = 'PRESERVE_ON_TIMEOUT'

A constant which can be used with the preserve_boot_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails. This constant has a value of “PRESERVE_ON_TIMEOUT”

__init__(**kwargs)

Initializes a new InstancePoolPreTerminationActionHandleTimeoutDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • preserve_block_volume_mode (str) – The value to assign to the preserve_block_volume_mode property of this InstancePoolPreTerminationActionHandleTimeoutDetails. Allowed values for this property are: “PRESERVE_ALWAYS”, “PRESERVE_ON_TIMEOUT”, “DELETE_ALWAYS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • preserve_boot_volume_mode (str) – The value to assign to the preserve_boot_volume_mode property of this InstancePoolPreTerminationActionHandleTimeoutDetails. Allowed values for this property are: “PRESERVE_ALWAYS”, “PRESERVE_ON_TIMEOUT”, “DELETE_ALWAYS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
preserve_block_volume_mode

[Required] Gets the preserve_block_volume_mode of this InstancePoolPreTerminationActionHandleTimeoutDetails. Whether the block volume should be preserved after termination.

Allowed values for this property are: “PRESERVE_ALWAYS”, “PRESERVE_ON_TIMEOUT”, “DELETE_ALWAYS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The preserve_block_volume_mode of this InstancePoolPreTerminationActionHandleTimeoutDetails.
Return type:str
preserve_boot_volume_mode

[Required] Gets the preserve_boot_volume_mode of this InstancePoolPreTerminationActionHandleTimeoutDetails. Whether the boot volume should be preserved after termination.

Allowed values for this property are: “PRESERVE_ALWAYS”, “PRESERVE_ON_TIMEOUT”, “DELETE_ALWAYS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The preserve_boot_volume_mode of this InstancePoolPreTerminationActionHandleTimeoutDetails.
Return type:str