PeerTargetDatabaseSummary

class oci.data_safe.models.PeerTargetDatabaseSummary(**kwargs)

Bases: object

The details of the peer target database in Data Safe.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a PeerTargetDatabaseSummary.
database_unique_name Gets the database_unique_name of this PeerTargetDatabaseSummary.
dataguard_association_id [Required] Gets the dataguard_association_id of this PeerTargetDatabaseSummary.
description Gets the description of this PeerTargetDatabaseSummary.
display_name [Required] Gets the display_name of this PeerTargetDatabaseSummary.
key [Required] Gets the key of this PeerTargetDatabaseSummary.
lifecycle_details Gets the lifecycle_details of this PeerTargetDatabaseSummary.
lifecycle_state [Required] Gets the lifecycle_state of this PeerTargetDatabaseSummary.
role Gets the role of this PeerTargetDatabaseSummary.
time_created [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.
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
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
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
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
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
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
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
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
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