ruạṛ
a N��f�A � @ 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 dd � Z ed d� �Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Zd$d%� Zd&d'� Zd(d)� Zd*S )+�!CreateDataGuardAssociationDetailsz� The configuration details for creating a Data Guard association between databases. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. �MAXIMUM_AVAILABILITY�MAXIMUM_PERFORMANCE�MAXIMUM_PROTECTION�SYNC�ASYNC�FASTSYNCc K sd ddddddddd�| _ dddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS ) a> Initializes a new CreateDataGuardAssociationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.database.models.CreateDataGuardAssociationWithNewDbSystemDetails` * :class:`~oci.database.models.CreateDataGuardAssociationToExistingVmClusterDetails` * :class:`~oci.database.models.CreateDataGuardAssociationToExistingDbSystemDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param database_software_image_id: The value to assign to the database_software_image_id property of this CreateDataGuardAssociationDetails. :type database_software_image_id: str :param database_admin_password: The value to assign to the database_admin_password property of this CreateDataGuardAssociationDetails. :type database_admin_password: str :param protection_mode: The value to assign to the protection_mode property of this CreateDataGuardAssociationDetails. Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION" :type protection_mode: str :param transport_type: The value to assign to the transport_type property of this CreateDataGuardAssociationDetails. Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC" :type transport_type: str :param creation_type: The value to assign to the creation_type property of this CreateDataGuardAssociationDetails. :type creation_type: str :param is_active_data_guard_enabled: The value to assign to the is_active_data_guard_enabled property of this CreateDataGuardAssociationDetails. :type is_active_data_guard_enabled: bool :param peer_db_unique_name: The value to assign to the peer_db_unique_name property of this CreateDataGuardAssociationDetails. :type peer_db_unique_name: str :param peer_sid_prefix: The value to assign to the peer_sid_prefix property of this CreateDataGuardAssociationDetails. :type peer_sid_prefix: str �str�bool)�database_software_image_id�database_admin_password�protection_mode�transport_type� creation_type�is_active_data_guard_enabled�peer_db_unique_name�peer_sid_prefix�databaseSoftwareImageId�databaseAdminPassword�protectionMode� transportType�creationType�isActiveDataGuardEnabled�peerDbUniqueName� peerSidPrefixN) � swagger_types� attribute_map�_database_software_image_id�_database_admin_password�_protection_mode�_transport_type�_creation_type�_is_active_data_guard_enabled�_peer_db_unique_name�_peer_sid_prefix)�self�kwargs� r+ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/create_data_guard_association_details.py�__init__* s4 /��z*CreateDataGuardAssociationDetails.__init__c C s4 | d }|dkrdS |dkr dS |dkr,dS dS d S ) z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r �NewDbSystem�0CreateDataGuardAssociationWithNewDbSystemDetails�ExistingVmCluster�4CreateDataGuardAssociationToExistingVmClusterDetails�ExistingDbSystem�3CreateDataGuardAssociationToExistingDbSystemDetailsr Nr+ )�object_dictionary�typer+ r+ r, �get_subtypew s z-CreateDataGuardAssociationDetails.get_subtypec C s | j S )aQ Gets the database_software_image_id of this CreateDataGuardAssociationDetails. The database software image `OCID`__ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The database_software_image_id of this CreateDataGuardAssociationDetails. :rtype: str �r! �r) r+ r+ r, r � s z<CreateDataGuardAssociationDetails.database_software_image_idc C s || _ dS )aj Sets the database_software_image_id of this CreateDataGuardAssociationDetails. The database software image `OCID`__ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param database_software_image_id: The database_software_image_id of this CreateDataGuardAssociationDetails. :type: str Nr7 )r) r r+ r+ r, r � s c C s | j S )a� **[Required]** Gets the database_admin_password of this CreateDataGuardAssociationDetails. A strong password for the `SYS`, `SYSTEM`, and `PDB Admin` users to apply during standby creation. The password must contain no fewer than nine characters and include: * At least two uppercase characters. * At least two lowercase characters. * At least two numeric characters. * At least two special characters. Valid special characters include "_", "#", and "-" only. **The password MUST be the same as the primary admin password.** :return: The database_admin_password of this CreateDataGuardAssociationDetails. :rtype: str �r"