VmClusterUpdateDetails

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

Bases: object

Details specifying which maintenance update to apply to the VM Cluster and which action is to be performed by the maintenance update. Applies to Exadata Cloud@Customer instances only.

Attributes:

UPDATE_ACTION_PRECHECK

A constant which can be used with the update_action property of a VmClusterUpdateDetails.

UPDATE_ACTION_ROLLBACK

A constant which can be used with the update_action property of a VmClusterUpdateDetails.

UPDATE_ACTION_ROLLING_APPLY

A constant which can be used with the update_action property of a VmClusterUpdateDetails.

UPDATE_MODE_FULL_UPDATE

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

UPDATE_MODE_ONLINE_ALLCVSS

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

UPDATE_MODE_ONLINE_ALL_UPDATES

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

UPDATE_MODE_ONLINE_HIGHCVSS

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

UPDATE_MODE_PENDING_UPDATES

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

gi_home_id

Gets the gi_home_id of this VmClusterUpdateDetails.

gi_software_image_id

Gets the gi_software_image_id of this VmClusterUpdateDetails.

is_older_version_acknowledged

Gets the is_older_version_acknowledged of this VmClusterUpdateDetails.

update_action

Gets the update_action of this VmClusterUpdateDetails.

update_id

Gets the update_id of this VmClusterUpdateDetails.

update_mode

Gets the update_mode of this VmClusterUpdateDetails.

Methods:

__init__(**kwargs)

Initializes a new VmClusterUpdateDetails object with values from keyword arguments.

UPDATE_ACTION_PRECHECK = 'PRECHECK'

A constant which can be used with the update_action property of a VmClusterUpdateDetails. This constant has a value of “PRECHECK”

UPDATE_ACTION_ROLLBACK = 'ROLLBACK'

A constant which can be used with the update_action property of a VmClusterUpdateDetails. 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 VmClusterUpdateDetails. 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 VmClusterUpdateDetails. 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 VmClusterUpdateDetails. 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 VmClusterUpdateDetails. 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 VmClusterUpdateDetails. 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 VmClusterUpdateDetails. This constant has a value of “PENDING_UPDATES”

__init__(**kwargs)

Initializes a new VmClusterUpdateDetails 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 VmClusterUpdateDetails.

  • gi_home_id (str) – The value to assign to the gi_home_id property of this VmClusterUpdateDetails.

  • update_mode (str) – The value to assign to the update_mode property of this VmClusterUpdateDetails. Allowed values for this property are: “ONLINE_HIGHCVSS”, “ONLINE_ALLCVSS”, “ONLINE_ALL_UPDATES”, “PENDING_UPDATES”, “FULL_UPDATE”

  • update_action (str) – The value to assign to the update_action property of this VmClusterUpdateDetails. Allowed values for this property are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”

  • gi_software_image_id (str) – The value to assign to the gi_software_image_id property of this VmClusterUpdateDetails.

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

property gi_home_id

Gets the gi_home_id of this VmClusterUpdateDetails. The OCID of the Grid Infrastructure Home. Specify this field for out of place Grid Infrastructure Home patching and upgrade of the 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 VmClusterUpdateDetails.

Return type

str

property gi_software_image_id

Gets the gi_software_image_id of this VmClusterUpdateDetails. 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 VmClusterUpdateDetails.

Return type

str

property is_older_version_acknowledged

Gets the is_older_version_acknowledged of this VmClusterUpdateDetails. 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 VmClusterUpdateDetails.

Return type

bool

property update_action

Gets the update_action of this VmClusterUpdateDetails. The update action to perform.

Allowed values for this property are: “ROLLING_APPLY”, “PRECHECK”, “ROLLBACK”

Returns

The update_action of this VmClusterUpdateDetails.

Return type

str

property update_id

Gets the update_id of this VmClusterUpdateDetails. The OCID of the maintenance update.

Returns

The update_id of this VmClusterUpdateDetails.

Return type

str

property update_mode

Gets the update_mode of this VmClusterUpdateDetails. 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 VmClusterUpdateDetails.

Return type

str