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_MODE_FULL_UPDATE

A constant which can be used with the update_mode property of a UpdateDetails.

UPDATE_MODE_ONLINE_ALLCVSS

A constant which can be used with the update_mode property of a UpdateDetails.

UPDATE_MODE_ONLINE_ALL_UPDATES

A constant which can be used with the update_mode property of a UpdateDetails.

UPDATE_MODE_ONLINE_HIGHCVSS

A constant which can be used with the update_mode property of a UpdateDetails.

UPDATE_MODE_PENDING_UPDATES

A constant which can be used with the update_mode property of a UpdateDetails.

gi_home_id

Gets the gi_home_id of this UpdateDetails.

gi_software_image_id

Gets the gi_software_image_id of this UpdateDetails.

is_older_version_acknowledged

Gets the is_older_version_acknowledged of this UpdateDetails.

update_action

Gets the update_action of this UpdateDetails.

update_id

Gets the update_id of this UpdateDetails.

update_mode

Gets 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.

  • gi_home_id (str) – The value to assign to the gi_home_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.

  • is_older_version_acknowledged (bool) – The value to assign to the is_older_version_acknowledged property of this UpdateDetails.

property gi_home_id

Gets the gi_home_id of this UpdateDetails. The OCID of the Grid Infrastructure Home. Specify this field for out of place Grid Infrastructure Home patching and upgrade of the Cloud VM Cluster. This is mutually exclusive option to updateId and giSoftwareImageId which are used for in place patching and upgrade using Oracle supplied and custom images respectively.

Returns

The gi_home_id of this UpdateDetails.

Return type

str

property 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

property is_older_version_acknowledged

Gets the is_older_version_acknowledged of this UpdateDetails. If true, the caller acknowledges selecting or applying an older DB, Grid Infrastructure, or operating system software version that is outside the latest default version window.

Returns

The is_older_version_acknowledged of this UpdateDetails.

Return type

bool

property 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

property 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

property 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