InstancePoolPreTerminationActionHandleTimeoutDetails¶
- class oci.core.models.InstancePoolPreTerminationActionHandleTimeoutDetails(**kwargs)¶
Bases:
objectOptions to handle timeout for pre-termination action.
Attributes:
A constant which can be used with the preserve_block_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
A constant which can be used with the preserve_block_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
A constant which can be used with the preserve_block_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
A constant which can be used with the preserve_boot_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
A constant which can be used with the preserve_boot_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
A constant which can be used with the preserve_boot_volume_mode property of a InstancePoolPreTerminationActionHandleTimeoutDetails.
[Required] Gets the preserve_block_volume_mode of this InstancePoolPreTerminationActionHandleTimeoutDetails.
[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’.
- property 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
- property 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