UpgradeDbSystemDetails¶
- class oci.database.models.UpgradeDbSystemDetails(**kwargs)¶
Bases:
objectDetails for upgrading the operating system and Oracle Grid Infrastructure (GI) of a DB system.
Attributes:
A constant which can be used with the action property of a UpgradeDbSystemDetails.
A constant which can be used with the action property of a UpgradeDbSystemDetails.
A constant which can be used with the action property of a UpgradeDbSystemDetails.
A constant which can be used with the action property of a UpgradeDbSystemDetails.
[Required] Gets the action of this UpgradeDbSystemDetails.
Gets the is_older_version_acknowledged of this UpgradeDbSystemDetails.
Gets the is_snapshot_retention_days_force_updated of this UpgradeDbSystemDetails.
Gets the new_gi_version of this UpgradeDbSystemDetails.
Gets the new_os_version of this UpgradeDbSystemDetails.
Gets 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.
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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