RestoreDbSystemDetails¶
- class oci.psql.models.RestoreDbSystemDetails(**kwargs)¶
Bases:
objectBackup details to restore the database system.
Methods:
__init__(**kwargs)Initializes a new RestoreDbSystemDetails object with values from keyword arguments.
Attributes:
Gets the ad of this RestoreDbSystemDetails.
Gets the backup_id of this RestoreDbSystemDetails.
Gets the time_to_restore of this RestoreDbSystemDetails.
- __init__(**kwargs)¶
Initializes a new RestoreDbSystemDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
backup_id (str) – The value to assign to the backup_id property of this RestoreDbSystemDetails.
ad (str) – The value to assign to the ad property of this RestoreDbSystemDetails.
time_to_restore (datetime) – The value to assign to the time_to_restore property of this RestoreDbSystemDetails.
- property ad¶
Gets the ad of this RestoreDbSystemDetails. The desired AD for regions with three ADs. This parameter is optional. If not set, the AD is chosen based on the database system’s current AD.
- Returns
The ad of this RestoreDbSystemDetails.
- Return type
str
- property backup_id¶
Gets the backup_id of this RestoreDbSystemDetails. The OCID of the database system backup.
- Returns
The backup_id of this RestoreDbSystemDetails.
- Return type
str
- property time_to_restore¶
Gets the time_to_restore of this RestoreDbSystemDetails. The target point-in-time that the database system restore can get started from, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
- Returns
The time_to_restore of this RestoreDbSystemDetails.
- Return type
datetime