UpdateDetails¶
-
class
oci.database.models.UpdateDetails(**kwargs)¶ Bases:
objectDetails specifying which maintenance update to apply to the cloud VM cluster and which actions are to be performed by the maintenance update. Applies to Exadata Cloud Service instances only.
Attributes
UPDATE_ACTION_NON_ROLLING_APPLYA constant which can be used with the update_action property of a UpdateDetails. UPDATE_ACTION_PRECHECKA constant which can be used with the update_action property of a UpdateDetails. UPDATE_ACTION_ROLLBACKA constant which can be used with the update_action property of a UpdateDetails. UPDATE_ACTION_ROLLING_APPLYA constant which can be used with the update_action property of a UpdateDetails. UPDATE_MODE_FULL_UPDATEA constant which can be used with the update_mode property of a UpdateDetails. UPDATE_MODE_ONLINE_ALLCVSSA constant which can be used with the update_mode property of a UpdateDetails. UPDATE_MODE_ONLINE_ALL_UPDATESA constant which can be used with the update_mode property of a UpdateDetails. UPDATE_MODE_ONLINE_HIGHCVSSA constant which can be used with the update_mode property of a UpdateDetails. UPDATE_MODE_PENDING_UPDATESA constant which can be used with the update_mode property of a UpdateDetails. gi_software_image_idGets the gi_software_image_id of this UpdateDetails. update_actionGets the update_action of this UpdateDetails. update_idGets the update_id of this UpdateDetails. update_modeGets the update_mode of this UpdateDetails. Methods
__init__(**kwargs)Initializes a new UpdateDetails object with values from keyword arguments. -
UPDATE_ACTION_NON_ROLLING_APPLY= 'NON_ROLLING_APPLY'¶ A constant which can be used with the update_action property of a UpdateDetails. This constant has a value of “NON_ROLLING_APPLY”
-
UPDATE_ACTION_PRECHECK= 'PRECHECK'¶ A constant which can be used with the update_action property of a UpdateDetails. This constant has a value of “PRECHECK”
-
UPDATE_ACTION_ROLLBACK= 'ROLLBACK'¶ A constant which can be used with the update_action property of a UpdateDetails. 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 UpdateDetails. This constant has a value of “ROLLING_APPLY”
-
UPDATE_MODE_FULL_UPDATE= 'FULL_UPDATE'¶ A constant which can be used with the update_mode property of a UpdateDetails. This constant has a value of “FULL_UPDATE”
-
UPDATE_MODE_ONLINE_ALLCVSS= 'ONLINE_ALLCVSS'¶ A constant which can be used with the update_mode property of a UpdateDetails. This constant has a value of “ONLINE_ALLCVSS”
-
UPDATE_MODE_ONLINE_ALL_UPDATES= 'ONLINE_ALL_UPDATES'¶ A constant which can be used with the update_mode property of a UpdateDetails. This constant has a value of “ONLINE_ALL_UPDATES”
-
UPDATE_MODE_ONLINE_HIGHCVSS= 'ONLINE_HIGHCVSS'¶ A constant which can be used with the update_mode property of a UpdateDetails. This constant has a value of “ONLINE_HIGHCVSS”
-
UPDATE_MODE_PENDING_UPDATES= 'PENDING_UPDATES'¶ A constant which can be used with the update_mode property of a UpdateDetails. This constant has a value of “PENDING_UPDATES”
-
__init__(**kwargs)¶ Initializes a new UpdateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - update_id (str) – The value to assign to the update_id property of this UpdateDetails.
- update_action (str) – The value to assign to the update_action property of this UpdateDetails. Allowed values for this property are: “ROLLING_APPLY”, “NON_ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”
- update_mode (str) – The value to assign to the update_mode property of this UpdateDetails. Allowed values for this property are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES”, “FULL_UPDATE”
- gi_software_image_id (str) – The value to assign to the gi_software_image_id property of this UpdateDetails.
-
gi_software_image_id¶ Gets the gi_software_image_id of this UpdateDetails. The OCID of a grid infrastructure software image. This is a database software image of the type GRID_IMAGE.
Returns: The gi_software_image_id of this UpdateDetails. Return type: str
-
update_action¶ Gets the update_action of this UpdateDetails. The update action.
Allowed values for this property are: “ROLLING_APPLY”, “NON_ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”
Returns: The update_action of this UpdateDetails. Return type: str
-
update_id¶ Gets the update_id of this UpdateDetails. The OCID of the maintenance update.
Returns: The update_id of this UpdateDetails. Return type: str
-
update_mode¶ Gets the update_mode of this UpdateDetails. The update mode to perform for OS Update.
Allowed values for this property are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES”, “FULL_UPDATE”
Returns: The update_mode of this UpdateDetails. Return type: str
-