RecycleDetails¶
- class oci.core.models.RecycleDetails(**kwargs)¶
Bases:
objectShows details about the last recycle performed on this host.
Attributes:
A constant which can be used with the recycle_level property of a RecycleDetails.
A constant which can be used with the recycle_level property of a RecycleDetails.
Gets the compute_host_group_id of this RecycleDetails.
Gets the recycle_level of this RecycleDetails.
Methods:
__init__(**kwargs)Initializes a new RecycleDetails object with values from keyword arguments.
- RECYCLE_LEVEL_FULL_RECYCLE = 'FULL_RECYCLE'¶
A constant which can be used with the recycle_level property of a RecycleDetails. This constant has a value of “FULL_RECYCLE”
- RECYCLE_LEVEL_SKIP_RECYCLE = 'SKIP_RECYCLE'¶
A constant which can be used with the recycle_level property of a RecycleDetails. This constant has a value of “SKIP_RECYCLE”
- __init__(**kwargs)¶
Initializes a new RecycleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
recycle_level (str) – The value to assign to the recycle_level property of this RecycleDetails. Allowed values for this property are: “SKIP_RECYCLE”, “FULL_RECYCLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
compute_host_group_id (str) – The value to assign to the compute_host_group_id property of this RecycleDetails.
- property compute_host_group_id¶
Gets the compute_host_group_id of this RecycleDetails. The OCID of the compute host group this host was attached to at the time of recycle.
- Returns
The compute_host_group_id of this RecycleDetails.
- Return type
str
- property recycle_level¶
Gets the recycle_level of this RecycleDetails. Preferred recycle level for hosts associated with the reservation config. * SKIP_RECYCLE - Skips host wipe. * FULL_RECYCLE - Does not skip host wipe. This is the default behavior.
Allowed values for this property are: “SKIP_RECYCLE”, “FULL_RECYCLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The recycle_level of this RecycleDetails.
- Return type
str