UpdateDetails

class oci.database.models.UpdateDetails(**kwargs)

Bases: object

Details 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_APPLY A constant which can be used with the update_action property of a UpdateDetails.
UPDATE_ACTION_PRECHECK A constant which can be used with the update_action property of a UpdateDetails.
UPDATE_ACTION_ROLLBACK A constant which can be used with the update_action property of a UpdateDetails.
UPDATE_ACTION_ROLLING_APPLY A constant which can be used with the update_action property of a UpdateDetails.
update_action Gets the update_action of this UpdateDetails.
update_id Gets the update_id 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”

__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_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