DetachInstancePoolInstanceDetails¶
-
class
oci.core.models.
DetachInstancePoolInstanceDetails
(**kwargs)¶ Bases:
object
An instance that is to be detached from an instance pool.
Methods
__init__
(**kwargs)Initializes a new DetachInstancePoolInstanceDetails object with values from keyword arguments. Attributes
instance_id
[Required] Gets the instance_id of this DetachInstancePoolInstanceDetails. is_auto_terminate
Gets the is_auto_terminate of this DetachInstancePoolInstanceDetails. is_decrement_size
Gets the is_decrement_size of this DetachInstancePoolInstanceDetails. -
__init__
(**kwargs)¶ Initializes a new DetachInstancePoolInstanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - instance_id (str) – The value to assign to the instance_id property of this DetachInstancePoolInstanceDetails.
- is_decrement_size (bool) – The value to assign to the is_decrement_size property of this DetachInstancePoolInstanceDetails.
- is_auto_terminate (bool) – The value to assign to the is_auto_terminate property of this DetachInstancePoolInstanceDetails.
-
instance_id
¶ [Required] Gets the instance_id of this DetachInstancePoolInstanceDetails. The OCID of the instance.
Returns: The instance_id of this DetachInstancePoolInstanceDetails. Return type: str
-
is_auto_terminate
¶ Gets the is_auto_terminate of this DetachInstancePoolInstanceDetails. Whether to permanently terminate (delete) the instance and its attached boot volume when detaching it from the instance pool. Default is false.
Returns: The is_auto_terminate of this DetachInstancePoolInstanceDetails. Return type: bool
-
is_decrement_size
¶ Gets the is_decrement_size of this DetachInstancePoolInstanceDetails. Whether to decrease the size of the instance pool when the instance is detached. If true, the pool size is decreased. If false, the pool will provision a new, replacement instance using the pool’s instance configuration as a template. Default is true.
Returns: The is_decrement_size of this DetachInstancePoolInstanceDetails. Return type: bool
-