UpgradeDbSystemDetails¶
-
class
oci.database.models.UpgradeDbSystemDetails(**kwargs)¶ Bases:
objectDetails for upgrading the operating system and Oracle Grid Infrastructure (GI) of a DB system.
Attributes
ACTION_PRECHECKA constant which can be used with the action property of a UpgradeDbSystemDetails. ACTION_ROLLBACKA constant which can be used with the action property of a UpgradeDbSystemDetails. ACTION_UPDATE_SNAPSHOT_RETENTION_DAYSA constant which can be used with the action property of a UpgradeDbSystemDetails. ACTION_UPGRADEA constant which can be used with the action property of a UpgradeDbSystemDetails. action[Required] Gets the action of this UpgradeDbSystemDetails. is_older_version_acknowledgedGets the is_older_version_acknowledged of this UpgradeDbSystemDetails. is_snapshot_retention_days_force_updatedGets the is_snapshot_retention_days_force_updated of this UpgradeDbSystemDetails. new_gi_versionGets the new_gi_version of this UpgradeDbSystemDetails. new_os_versionGets the new_os_version of this UpgradeDbSystemDetails. snapshot_retention_period_in_daysGets the snapshot_retention_period_in_days of this UpgradeDbSystemDetails. Methods
__init__(**kwargs)Initializes a new UpgradeDbSystemDetails object with values from keyword arguments. -
ACTION_PRECHECK= 'PRECHECK'¶ A constant which can be used with the action property of a UpgradeDbSystemDetails. This constant has a value of “PRECHECK”
-
ACTION_ROLLBACK= 'ROLLBACK'¶ A constant which can be used with the action property of a UpgradeDbSystemDetails. This constant has a value of “ROLLBACK”
-
ACTION_UPDATE_SNAPSHOT_RETENTION_DAYS= 'UPDATE_SNAPSHOT_RETENTION_DAYS'¶ A constant which can be used with the action property of a UpgradeDbSystemDetails. This constant has a value of “UPDATE_SNAPSHOT_RETENTION_DAYS”
-
ACTION_UPGRADE= 'UPGRADE'¶ A constant which can be used with the action property of a UpgradeDbSystemDetails. This constant has a value of “UPGRADE”
-
__init__(**kwargs)¶ Initializes a new UpgradeDbSystemDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - action (str) – The value to assign to the action property of this UpgradeDbSystemDetails. Allowed values for this property are: “PRECHECK”, “ROLLBACK”, “UPDATE_SNAPSHOT_RETENTION_DAYS”, “UPGRADE”
- snapshot_retention_period_in_days (int) – The value to assign to the snapshot_retention_period_in_days property of this UpgradeDbSystemDetails.
- new_gi_version (str) – The value to assign to the new_gi_version property of this UpgradeDbSystemDetails.
- new_os_version (str) – The value to assign to the new_os_version property of this UpgradeDbSystemDetails.
- is_older_version_acknowledged (bool) – The value to assign to the is_older_version_acknowledged property of this UpgradeDbSystemDetails.
- is_snapshot_retention_days_force_updated (bool) – The value to assign to the is_snapshot_retention_days_force_updated property of this UpgradeDbSystemDetails.
-
action¶ [Required] Gets the action of this UpgradeDbSystemDetails. The operating system upgrade action.
Allowed values for this property are: “PRECHECK”, “ROLLBACK”, “UPDATE_SNAPSHOT_RETENTION_DAYS”, “UPGRADE”
Returns: The action of this UpgradeDbSystemDetails. Return type: str
-
is_older_version_acknowledged¶ Gets the is_older_version_acknowledged of this UpgradeDbSystemDetails. 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 UpgradeDbSystemDetails. Return type: bool
-
is_snapshot_retention_days_force_updated¶ Gets the is_snapshot_retention_days_force_updated of this UpgradeDbSystemDetails. If true, rollback time is updated even if operating system upgrade history contains errors.
Returns: The is_snapshot_retention_days_force_updated of this UpgradeDbSystemDetails. Return type: bool
-
new_gi_version¶ Gets the new_gi_version of this UpgradeDbSystemDetails. A valid Oracle Grid Infrastructure (GI) software version.
Returns: The new_gi_version of this UpgradeDbSystemDetails. Return type: str
-
new_os_version¶ Gets the new_os_version of this UpgradeDbSystemDetails. A valid Oracle Software (OS) version eg. Oracle Linux Server release 8
Returns: The new_os_version of this UpgradeDbSystemDetails. Return type: str
-
snapshot_retention_period_in_days¶ Gets the snapshot_retention_period_in_days of this UpgradeDbSystemDetails. The retention period, in days, for the snapshot that allows you to perform a rollback of the upgrade operation. After this number of days passes, you cannot roll back the upgrade.
Returns: The snapshot_retention_period_in_days of this UpgradeDbSystemDetails. Return type: int
-