PatchHistorySummary

class oci.bds.models.PatchHistorySummary(**kwargs)

Bases: object

Patch history of this cluster.

Attributes

LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a PatchHistorySummary.
LIFECYCLE_STATE_INSTALLED A constant which can be used with the lifecycle_state property of a PatchHistorySummary.
LIFECYCLE_STATE_INSTALLING A constant which can be used with the lifecycle_state property of a PatchHistorySummary.
PATCH_TYPE_ODH A constant which can be used with the patch_type property of a PatchHistorySummary.
PATCH_TYPE_OS A constant which can be used with the patch_type property of a PatchHistorySummary.
lifecycle_state [Required] Gets the lifecycle_state of this PatchHistorySummary.
patch_type [Required] Gets the patch_type of this PatchHistorySummary.
time_updated [Required] Gets the time_updated of this PatchHistorySummary.
version [Required] Gets the version of this PatchHistorySummary.

Methods

__init__(**kwargs) Initializes a new PatchHistorySummary object with values from keyword arguments.
LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a PatchHistorySummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_INSTALLED = 'INSTALLED'

A constant which can be used with the lifecycle_state property of a PatchHistorySummary. This constant has a value of “INSTALLED”

LIFECYCLE_STATE_INSTALLING = 'INSTALLING'

A constant which can be used with the lifecycle_state property of a PatchHistorySummary. This constant has a value of “INSTALLING”

PATCH_TYPE_ODH = 'ODH'

A constant which can be used with the patch_type property of a PatchHistorySummary. This constant has a value of “ODH”

PATCH_TYPE_OS = 'OS'

A constant which can be used with the patch_type property of a PatchHistorySummary. This constant has a value of “OS”

__init__(**kwargs)

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

Parameters:
  • version (str) – The value to assign to the version property of this PatchHistorySummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this PatchHistorySummary. Allowed values for this property are: “INSTALLING”, “INSTALLED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_updated (datetime) – The value to assign to the time_updated property of this PatchHistorySummary.
  • patch_type (str) – The value to assign to the patch_type property of this PatchHistorySummary. Allowed values for this property are: “ODH”, “OS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
lifecycle_state

[Required] Gets the lifecycle_state of this PatchHistorySummary. The status of this patch.

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

Returns:The lifecycle_state of this PatchHistorySummary.
Return type:str
patch_type

[Required] Gets the patch_type of this PatchHistorySummary. The type of current patch history. DP - Data Plane patch(This history type is internal available only) ODH - Oracle Distribution of Hadoop patch OS - Operating System patch

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

Returns:The patch_type of this PatchHistorySummary.
Return type:str
time_updated

[Required] Gets the time_updated of this PatchHistorySummary. The time when the patch history was last updated.

Returns:The time_updated of this PatchHistorySummary.
Return type:datetime
version

[Required] Gets the version of this PatchHistorySummary. The version of the patch.

Returns:The version of this PatchHistorySummary.
Return type:str