ruạṛ
a ���f�e � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZdZdZdZd ZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Z e jd(d'� �Z ed)d*� �Z!e!jd+d*� �Z!ed,d-� �Z"e"jd.d-� �Z"ed/d0� �Z#e#jd1d0� �Z#ed2d3� �Z$e$jd4d3� �Z$ed5d6� �Z%e%jd7d6� �Z%ed8d9� �Z&e&jd:d9� �Z&ed;d<� �Z'e'jd=d<� �Z'ed>d?� �Z(e(jd@d?� �Z(edAdB� �Z)e)jdCdB� �Z)dDdE� Z*dFdG� Z+dHdI� Z,dJS )K�DataGuardAssociationz% DataGuardAssociation model. �PRIMARY�STANDBY�DISABLED_STANDBY�PROVISIONING� AVAILABLE�UPDATING�TERMINATING� TERMINATED�FAILED� UPGRADING�MAXIMUM_AVAILABILITY�MAXIMUM_PERFORMANCE�MAXIMUM_PROTECTION�SYNC�ASYNC�FASTSYNCc K s� ddddddddddddddddd�| _ ddddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a+ Initializes a new DataGuardAssociation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DataGuardAssociation. :type id: str :param database_id: The value to assign to the database_id property of this DataGuardAssociation. :type database_id: str :param role: The value to assign to the role property of this DataGuardAssociation. Allowed values for this property are: "PRIMARY", "STANDBY", "DISABLED_STANDBY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type role: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DataGuardAssociation. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "UPGRADING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DataGuardAssociation. :type lifecycle_details: str :param peer_db_system_id: The value to assign to the peer_db_system_id property of this DataGuardAssociation. :type peer_db_system_id: str :param peer_db_home_id: The value to assign to the peer_db_home_id property of this DataGuardAssociation. :type peer_db_home_id: str :param peer_database_id: The value to assign to the peer_database_id property of this DataGuardAssociation. :type peer_database_id: str :param peer_data_guard_association_id: The value to assign to the peer_data_guard_association_id property of this DataGuardAssociation. :type peer_data_guard_association_id: str :param peer_role: The value to assign to the peer_role property of this DataGuardAssociation. Allowed values for this property are: "PRIMARY", "STANDBY", "DISABLED_STANDBY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type peer_role: str :param apply_lag: The value to assign to the apply_lag property of this DataGuardAssociation. :type apply_lag: str :param apply_rate: The value to assign to the apply_rate property of this DataGuardAssociation. :type apply_rate: str :param protection_mode: The value to assign to the protection_mode property of this DataGuardAssociation. Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type protection_mode: str :param transport_type: The value to assign to the transport_type property of this DataGuardAssociation. Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type transport_type: str :param time_created: The value to assign to the time_created property of this DataGuardAssociation. :type time_created: datetime :param is_active_data_guard_enabled: The value to assign to the is_active_data_guard_enabled property of this DataGuardAssociation. :type is_active_data_guard_enabled: bool �strZdatetime�bool)�id�database_id�role�lifecycle_state�lifecycle_details�peer_db_system_id�peer_db_home_id�peer_database_id�peer_data_guard_association_id� peer_role� apply_lag� apply_rate�protection_mode�transport_type�time_created�is_active_data_guard_enabledr Z databaseIdr ZlifecycleStateZlifecycleDetailsZpeerDbSystemIdZpeerDbHomeIdZpeerDatabaseIdZpeerDataGuardAssociationIdZpeerRoleZapplyLagZ applyRateZprotectionModeZ transportTypeZtimeCreatedZisActiveDataGuardEnabledN)Z swagger_typesZ attribute_map�_id�_database_id�_role�_lifecycle_state�_lifecycle_details�_peer_db_system_id�_peer_db_home_id�_peer_database_id�_peer_data_guard_association_id� _peer_role� _apply_lag�_apply_rate�_protection_mode�_transport_type� _time_created�_is_active_data_guard_enabled)�self�kwargs� r; �N/usr/lib/python3.9/site-packages/oci/database/models/data_guard_association.py�__init__^ sd Q��zDataGuardAssociation.__init__c C s | j S )a **[Required]** Gets the id of this DataGuardAssociation. The `OCID`__ of the Data Guard association. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this DataGuardAssociation. :rtype: str �r) �r9 r; r; r<