Update¶
- class oci.database.models.Update(**kwargs)¶
Bases:
objectUpdate model.
Attributes:
A constant which can be used with the available_actions property of a Update.
A constant which can be used with the available_actions property of a Update.
A constant which can be used with the available_actions property of a Update.
A constant which can be used with the available_actions property of a Update.
A constant which can be used with the available_update_modes property of a Update.
A constant which can be used with the available_update_modes property of a Update.
A constant which can be used with the available_update_modes property of a Update.
A constant which can be used with the available_update_modes property of a Update.
A constant which can be used with the available_update_modes property of a Update.
A constant which can be used with the last_action property of a Update.
A constant which can be used with the last_action property of a Update.
A constant which can be used with the last_action property of a Update.
A constant which can be used with the last_action property of a Update.
A constant which can be used with the last_update_mode property of a Update.
A constant which can be used with the last_update_mode property of a Update.
A constant which can be used with the last_update_mode property of a Update.
A constant which can be used with the last_update_mode property of a Update.
A constant which can be used with the last_update_mode property of a Update.
A constant which can be used with the lifecycle_state property of a Update.
A constant which can be used with the lifecycle_state property of a Update.
A constant which can be used with the lifecycle_state property of a Update.
A constant which can be used with the lifecycle_state property of a Update.
A constant which can be used with the update_type property of a Update.
A constant which can be used with the update_type property of a Update.
A constant which can be used with the update_type property of a Update.
Gets the available_actions of this Update.
Gets the available_update_modes of this Update.
[Required] Gets the description of this Update.
[Required] Gets the id of this Update.
Gets the is_older_version_acknowledgment_required of this Update.
Gets the last_action of this Update.
Gets the last_update_mode of this Update.
Gets the lifecycle_details of this Update.
Gets the lifecycle_state of this Update.
Gets the oracle_linux_version of this Update.
[Required] Gets the time_released of this Update.
[Required] Gets the update_type of this Update.
[Required] Gets the version of this Update.
Methods:
__init__(**kwargs)Initializes a new Update object with values from keyword arguments.
- AVAILABLE_ACTIONS_NON_ROLLING_APPLY = 'NON_ROLLING_APPLY'¶
A constant which can be used with the available_actions property of a Update. This constant has a value of “NON_ROLLING_APPLY”
- AVAILABLE_ACTIONS_PRECHECK = 'PRECHECK'¶
A constant which can be used with the available_actions property of a Update. This constant has a value of “PRECHECK”
- AVAILABLE_ACTIONS_ROLLBACK = 'ROLLBACK'¶
A constant which can be used with the available_actions property of a Update. This constant has a value of “ROLLBACK”
- AVAILABLE_ACTIONS_ROLLING_APPLY = 'ROLLING_APPLY'¶
A constant which can be used with the available_actions property of a Update. This constant has a value of “ROLLING_APPLY”
- AVAILABLE_UPDATE_MODES_FULL_UPDATE = 'FULL_UPDATE'¶
A constant which can be used with the available_update_modes property of a Update. This constant has a value of “FULL_UPDATE”
- AVAILABLE_UPDATE_MODES_ONLINE_ALLCVSS = 'ONLINE_ALLCVSS'¶
A constant which can be used with the available_update_modes property of a Update. This constant has a value of “ONLINE_ALLCVSS”
- AVAILABLE_UPDATE_MODES_ONLINE_ALL_UPDATES = 'ONLINE_ALL_UPDATES'¶
A constant which can be used with the available_update_modes property of a Update. This constant has a value of “ONLINE_ALL_UPDATES”
- AVAILABLE_UPDATE_MODES_ONLINE_HIGHCVSS = 'ONLINE_HIGHCVSS'¶
A constant which can be used with the available_update_modes property of a Update. This constant has a value of “ONLINE_HIGHCVSS”
- AVAILABLE_UPDATE_MODES_PENDING_UPDATES = 'PENDING_UPDATES'¶
A constant which can be used with the available_update_modes property of a Update. This constant has a value of “PENDING_UPDATES”
- LAST_ACTION_NON_ROLLING_APPLY = 'NON_ROLLING_APPLY'¶
A constant which can be used with the last_action property of a Update. This constant has a value of “NON_ROLLING_APPLY”
- LAST_ACTION_PRECHECK = 'PRECHECK'¶
A constant which can be used with the last_action property of a Update. This constant has a value of “PRECHECK”
- LAST_ACTION_ROLLBACK = 'ROLLBACK'¶
A constant which can be used with the last_action property of a Update. This constant has a value of “ROLLBACK”
- LAST_ACTION_ROLLING_APPLY = 'ROLLING_APPLY'¶
A constant which can be used with the last_action property of a Update. This constant has a value of “ROLLING_APPLY”
- LAST_UPDATE_MODE_FULL_UPDATE = 'FULL_UPDATE'¶
A constant which can be used with the last_update_mode property of a Update. This constant has a value of “FULL_UPDATE”
- LAST_UPDATE_MODE_ONLINE_ALLCVSS = 'ONLINE_ALLCVSS'¶
A constant which can be used with the last_update_mode property of a Update. This constant has a value of “ONLINE_ALLCVSS”
- LAST_UPDATE_MODE_ONLINE_ALL_UPDATES = 'ONLINE_ALL_UPDATES'¶
A constant which can be used with the last_update_mode property of a Update. This constant has a value of “ONLINE_ALL_UPDATES”
- LAST_UPDATE_MODE_ONLINE_HIGHCVSS = 'ONLINE_HIGHCVSS'¶
A constant which can be used with the last_update_mode property of a Update. This constant has a value of “ONLINE_HIGHCVSS”
- LAST_UPDATE_MODE_PENDING_UPDATES = 'PENDING_UPDATES'¶
A constant which can be used with the last_update_mode property of a Update. This constant has a value of “PENDING_UPDATES”
- LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'¶
A constant which can be used with the lifecycle_state property of a Update. This constant has a value of “AVAILABLE”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a Update. 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 Update. This constant has a value of “IN_PROGRESS”
- LIFECYCLE_STATE_SUCCESS = 'SUCCESS'¶
A constant which can be used with the lifecycle_state property of a Update. This constant has a value of “SUCCESS”
- UPDATE_TYPE_GI_PATCH = 'GI_PATCH'¶
A constant which can be used with the update_type property of a Update. 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 Update. This constant has a value of “GI_UPGRADE”
- UPDATE_TYPE_OS_UPDATE = 'OS_UPDATE'¶
A constant which can be used with the update_type property of a Update. This constant has a value of “OS_UPDATE”
- __init__(**kwargs)¶
Initializes a new Update 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 Update.
description (str) – The value to assign to the description property of this Update.
last_action (str) – The value to assign to the last_action property of this Update. Allowed values for this property are: “ROLLING_APPLY”, “NON_ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
available_actions (list[str]) – The value to assign to the available_actions property of this Update. Allowed values for items in this list are: “ROLLING_APPLY”, “NON_ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
last_update_mode (str) – The value to assign to the last_update_mode property of this Update. Allowed values for this property are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES”, “FULL_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
available_update_modes (list[str]) – The value to assign to the available_update_modes property of this Update. Allowed values for items in this list are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES”, “FULL_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
oracle_linux_version (str) – The value to assign to the oracle_linux_version property of this Update.
update_type (str) – The value to assign to the update_type property of this Update. Allowed values for this property are: “GI_UPGRADE”, “GI_PATCH”, “OS_UPDATE”, ‘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 Update.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this Update. Allowed values for this property are: “AVAILABLE”, “SUCCESS”, “IN_PROGRESS”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_released (datetime) – The value to assign to the time_released property of this Update.
version (str) – The value to assign to the version property of this Update.
is_older_version_acknowledgment_required (bool) – The value to assign to the is_older_version_acknowledgment_required property of this Update.
- property available_actions¶
Gets the available_actions of this Update. The possible actions performed by the update operation on the infrastructure components.
Allowed values for items in this list are: “ROLLING_APPLY”, “NON_ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The available_actions of this Update.
- Return type
list[str]
- property available_update_modes¶
Gets the available_update_modes of this Update. The possible update options available (only valid for OS Update).
Allowed values for items in this list are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES”, “FULL_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The available_update_modes of this Update.
- Return type
list[str]
- property description¶
[Required] Gets the description of this Update. Details of the maintenance update package.
- Returns
The description of this Update.
- Return type
str
- property id¶
[Required] Gets the id of this Update. The OCID of the maintenance update.
- Returns
The id of this Update.
- Return type
str
- property is_older_version_acknowledgment_required¶
Gets the is_older_version_acknowledgment_required of this Update. True when selecting or applying this DB, Grid Infrastructure, or operating system software version requires older-version acknowledgment.
- Returns
The is_older_version_acknowledgment_required of this Update.
- Return type
bool
- property last_action¶
Gets the last_action of this Update. The previous update action performed.
Allowed values for this property are: “ROLLING_APPLY”, “NON_ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The last_action of this Update.
- Return type
str
- property last_update_mode¶
Gets the last_update_mode of this Update. The previous update mode performed (only valid for OS Updates).
Allowed values for this property are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES”, “FULL_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The last_update_mode of this Update.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this Update. Descriptive text providing additional details about the lifecycle state.
- Returns
The lifecycle_details of this Update.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this Update. The current state of the maintenance update. Dependent on value of lastAction.
Allowed values for this property are: “AVAILABLE”, “SUCCESS”, “IN_PROGRESS”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this Update.
- Return type
str
- property oracle_linux_version¶
Gets the oracle_linux_version of this Update. Oracle Linux version for the respective Exadata Image.
- Returns
The oracle_linux_version of this Update.
- Return type
str
- property time_released¶
[Required] Gets the time_released of this Update. The date and time the maintenance update was released.
- Returns
The time_released of this Update.
- Return type
datetime
- property update_type¶
[Required] Gets the update_type of this Update. The type of cloud VM cluster maintenance update.
Allowed values for this property are: “GI_UPGRADE”, “GI_PATCH”, “OS_UPDATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The update_type of this Update.
- Return type
str
- property version¶
[Required] Gets the version of this Update. The version of the maintenance update package.
- Returns
The version of this Update.
- Return type
str