RecycleDetails

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

Bases: object

Shows details about the last recycle performed on this host.

Attributes

RECYCLE_LEVEL_FULL_RECYCLE A constant which can be used with the recycle_level property of a RecycleDetails.
RECYCLE_LEVEL_SKIP_RECYCLE A constant which can be used with the recycle_level property of a RecycleDetails.
compute_host_group_id Gets the compute_host_group_id of this RecycleDetails.
recycle_level 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.
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
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