BaseccVmClusterUpdateHistoryEntry¶
-
class
oci.database.models.BaseccVmClusterUpdateHistoryEntry(**kwargs)¶ Bases:
objectThe record of a maintenance update action on a specified BaseDB-C@C VM cluster.
Attributes
LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntry. LIFECYCLE_STATE_IN_PROGRESSA constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntry. LIFECYCLE_STATE_SUCCEEDEDA constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntry. UPDATE_ACTION_PRECHECKA constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntry. UPDATE_ACTION_ROLLBACKA constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntry. UPDATE_ACTION_ROLLING_APPLYA constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntry. UPDATE_TYPE_GI_PATCHA constant which can be used with the update_type property of a BaseccVmClusterUpdateHistoryEntry. UPDATE_TYPE_GI_UPGRADEA constant which can be used with the update_type property of a BaseccVmClusterUpdateHistoryEntry. id[Required] Gets the id of this BaseccVmClusterUpdateHistoryEntry. lifecycle_detailsGets the lifecycle_details of this BaseccVmClusterUpdateHistoryEntry. lifecycle_state[Required] Gets the lifecycle_state of this BaseccVmClusterUpdateHistoryEntry. time_completedGets the time_completed of this BaseccVmClusterUpdateHistoryEntry. time_started[Required] Gets the time_started of this BaseccVmClusterUpdateHistoryEntry. update_actionGets the update_action of this BaseccVmClusterUpdateHistoryEntry. update_id[Required] Gets the update_id of this BaseccVmClusterUpdateHistoryEntry. update_type[Required] Gets the update_type of this BaseccVmClusterUpdateHistoryEntry. versionGets the version of this BaseccVmClusterUpdateHistoryEntry. Methods
__init__(**kwargs)Initializes a new BaseccVmClusterUpdateHistoryEntry object with values from keyword arguments. -
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntry. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_IN_PROGRESS= 'IN_PROGRESS'¶ A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntry. This constant has a value of “IN_PROGRESS”
-
LIFECYCLE_STATE_SUCCEEDED= 'SUCCEEDED'¶ A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntry. This constant has a value of “SUCCEEDED”
-
UPDATE_ACTION_PRECHECK= 'PRECHECK'¶ A constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntry. This constant has a value of “PRECHECK”
-
UPDATE_ACTION_ROLLBACK= 'ROLLBACK'¶ A constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntry. This constant has a value of “ROLLBACK”
-
UPDATE_ACTION_ROLLING_APPLY= 'ROLLING_APPLY'¶ A constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntry. This constant has a value of “ROLLING_APPLY”
-
UPDATE_TYPE_GI_PATCH= 'GI_PATCH'¶ A constant which can be used with the update_type property of a BaseccVmClusterUpdateHistoryEntry. This constant has a value of “GI_PATCH”
-
UPDATE_TYPE_GI_UPGRADE= 'GI_UPGRADE'¶ A constant which can be used with the update_type property of a BaseccVmClusterUpdateHistoryEntry. This constant has a value of “GI_UPGRADE”
-
__init__(**kwargs)¶ Initializes a new BaseccVmClusterUpdateHistoryEntry object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this BaseccVmClusterUpdateHistoryEntry.
- update_id (str) – The value to assign to the update_id property of this BaseccVmClusterUpdateHistoryEntry.
- update_action (str) – The value to assign to the update_action property of this BaseccVmClusterUpdateHistoryEntry. Allowed values for this property are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- update_type (str) – The value to assign to the update_type property of this BaseccVmClusterUpdateHistoryEntry. Allowed values for this property are: “GI_UPGRADE”, “GI_PATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this BaseccVmClusterUpdateHistoryEntry. Allowed values for this property are: “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this BaseccVmClusterUpdateHistoryEntry.
- time_started (datetime) – The value to assign to the time_started property of this BaseccVmClusterUpdateHistoryEntry.
- time_completed (datetime) – The value to assign to the time_completed property of this BaseccVmClusterUpdateHistoryEntry.
- version (str) – The value to assign to the version property of this BaseccVmClusterUpdateHistoryEntry.
-
id¶ [Required] Gets the id of this BaseccVmClusterUpdateHistoryEntry. The OCID of the maintenance update history entry.
Returns: The id of this BaseccVmClusterUpdateHistoryEntry. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this BaseccVmClusterUpdateHistoryEntry. Descriptive text providing additional details about the lifecycle state.
Returns: The lifecycle_details of this BaseccVmClusterUpdateHistoryEntry. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this BaseccVmClusterUpdateHistoryEntry. The current lifecycle state of the maintenance update operation.
Allowed values for this property are: “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this BaseccVmClusterUpdateHistoryEntry. Return type: str
-
time_completed¶ Gets the time_completed of this BaseccVmClusterUpdateHistoryEntry. The date and time when the maintenance update action completed.
Returns: The time_completed of this BaseccVmClusterUpdateHistoryEntry. Return type: datetime
-
time_started¶ [Required] Gets the time_started of this BaseccVmClusterUpdateHistoryEntry. The date and time when the maintenance update action started.
Returns: The time_started of this BaseccVmClusterUpdateHistoryEntry. Return type: datetime
-
update_action¶ Gets the update_action of this BaseccVmClusterUpdateHistoryEntry. The update action.
Allowed values for this property are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The update_action of this BaseccVmClusterUpdateHistoryEntry. Return type: str
-
update_id¶ [Required] Gets the update_id of this BaseccVmClusterUpdateHistoryEntry. The OCID of the maintenance update.
Returns: The update_id of this BaseccVmClusterUpdateHistoryEntry. Return type: str
-
update_type¶ [Required] Gets the update_type of this BaseccVmClusterUpdateHistoryEntry. The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
Allowed values for this property are: “GI_UPGRADE”, “GI_PATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The update_type of this BaseccVmClusterUpdateHistoryEntry. Return type: str
-
version¶ Gets the version of this BaseccVmClusterUpdateHistoryEntry. The version of the maintenance update package.
Returns: The version of this BaseccVmClusterUpdateHistoryEntry. Return type: str
-