PeerTargetDatabaseSummary¶
- class oci.data_safe.models.PeerTargetDatabaseSummary(**kwargs)¶
Bases:
objectThe details of the peer target database in Data Safe.
Attributes:
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
Gets the database_unique_name of this PeerTargetDatabaseSummary.
[Required] Gets the dataguard_association_id of this PeerTargetDatabaseSummary.
Gets the description of this PeerTargetDatabaseSummary.
[Required] Gets the display_name of this PeerTargetDatabaseSummary.
[Required] Gets the key of this PeerTargetDatabaseSummary.
Gets the lifecycle_details of this PeerTargetDatabaseSummary.
[Required] Gets the lifecycle_state of this PeerTargetDatabaseSummary.
Gets the role of this PeerTargetDatabaseSummary.
[Required] Gets the time_created of this PeerTargetDatabaseSummary.
Methods:
__init__(**kwargs)Initializes a new PeerTargetDatabaseSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'¶
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary. This constant has a value of “NEEDS_ATTENTION”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new PeerTargetDatabaseSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this PeerTargetDatabaseSummary.
description (str) – The value to assign to the description property of this PeerTargetDatabaseSummary.
key (int) – The value to assign to the key property of this PeerTargetDatabaseSummary.
role (str) – The value to assign to the role property of this PeerTargetDatabaseSummary.
database_unique_name (str) – The value to assign to the database_unique_name property of this PeerTargetDatabaseSummary.
dataguard_association_id (str) – The value to assign to the dataguard_association_id property of this PeerTargetDatabaseSummary.
time_created (datetime) – The value to assign to the time_created property of this PeerTargetDatabaseSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this PeerTargetDatabaseSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this PeerTargetDatabaseSummary.
- property database_unique_name¶
Gets the database_unique_name of this PeerTargetDatabaseSummary. Unique name of the database associated to the peer target database.
- Returns
The database_unique_name of this PeerTargetDatabaseSummary.
- Return type
str
- property dataguard_association_id¶
[Required] Gets the dataguard_association_id of this PeerTargetDatabaseSummary. The OCID of the Data Guard Association resource in which the database associated to the peer target database is considered as peer database to the primary database.
- Returns
The dataguard_association_id of this PeerTargetDatabaseSummary.
- Return type
str
- property description¶
Gets the description of this PeerTargetDatabaseSummary. The description of the peer target database in Data Safe.
- Returns
The description of this PeerTargetDatabaseSummary.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this PeerTargetDatabaseSummary. The display name of the peer target database in Data Safe.
- Returns
The display_name of this PeerTargetDatabaseSummary.
- Return type
str
- property key¶
[Required] Gets the key of this PeerTargetDatabaseSummary. The secondary id assigned for the peer target database in Data Safe.
- Returns
The key of this PeerTargetDatabaseSummary.
- Return type
int
- property lifecycle_details¶
Gets the lifecycle_details of this PeerTargetDatabaseSummary. Details about the current state of the peer target database in Data Safe.
- Returns
The lifecycle_details of this PeerTargetDatabaseSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this PeerTargetDatabaseSummary. The current state of the peer target database in Data Safe.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this PeerTargetDatabaseSummary.
- Return type
str
- property role¶
Gets the role of this PeerTargetDatabaseSummary. Role of the database associated to the peer target database.
- Returns
The role of this PeerTargetDatabaseSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this PeerTargetDatabaseSummary. The date and time of the peer target database registration in Data Safe.
- Returns
The time_created of this PeerTargetDatabaseSummary.
- Return type
datetime