PatchHistorySummary¶
-
class
oci.bds.models.PatchHistorySummary(**kwargs)¶ Bases:
objectPatch history of this cluster.
Attributes
LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a PatchHistorySummary. LIFECYCLE_STATE_INSTALLEDA constant which can be used with the lifecycle_state property of a PatchHistorySummary. LIFECYCLE_STATE_INSTALLINGA constant which can be used with the lifecycle_state property of a PatchHistorySummary. PATCH_TYPE_BDSA constant which can be used with the patch_type property of a PatchHistorySummary. PATCH_TYPE_ODHA constant which can be used with the patch_type property of a PatchHistorySummary. PATCH_TYPE_OSA 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_BDS= 'BDS'¶ A constant which can be used with the patch_type property of a PatchHistorySummary. This constant has a value of “BDS”
-
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”, “BDS”, ‘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 update OS - Operating System update BDS - Big Data Service update
Allowed values for this property are: “ODH”, “OS”, “BDS”, ‘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
-