ruạṛ
a ���f�] � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� Connection� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sl e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Zejd/d.� �Zd0d1� Zd2d3� Z d4d5� Z!d6S )7�PostgresqlConnectionzF Represents the metadata of a PostgreSQL Database Connection. �OCI_POSTGRESQL�POSTGRESQL_SERVER�AMAZON_AURORA_POSTGRESQL�AMAZON_RDS_POSTGRESQL�AZURE_POSTGRESQL�AZURE_COSMOS_DB_FOR_POSTGRESQL�GOOGLE_CLOUD_SQL_POSTGRESQL�PLAIN�TLS�MTLS�PREFER�REQUIRE� VERIFY_CA�VERIFY_FULLc K s< ddddddddddddddddddddddddd ddddd �| _ ddd ddddddddddddddddddd d!d"d#d$d%d&d'd �| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _ d(| _ d(| _d(| _d(| _ d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d(| _d)| _d(S )*aM Initializes a new PostgresqlConnection object with values from keyword arguments. The default value of the :py:attr:`~oci.golden_gate.models.PostgresqlConnection.connection_type` attribute of this class is ``POSTGRESQL`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param connection_type: The value to assign to the connection_type property of this PostgresqlConnection. Allowed values for this property are: "GOLDENGATE", "KAFKA", "KAFKA_SCHEMA_REGISTRY", "MYSQL", "JAVA_MESSAGE_SERVICE", "MICROSOFT_SQLSERVER", "OCI_OBJECT_STORAGE", "ORACLE", "AZURE_DATA_LAKE_STORAGE", "POSTGRESQL", "AZURE_SYNAPSE_ANALYTICS", "SNOWFLAKE", "AMAZON_S3", "HDFS", "ORACLE_NOSQL", "MONGODB", "AMAZON_KINESIS", "AMAZON_REDSHIFT", "DB2", "REDIS", "ELASTICSEARCH", "GENERIC", "GOOGLE_CLOUD_STORAGE", "GOOGLE_BIGQUERY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type connection_type: str :param id: The value to assign to the id property of this PostgresqlConnection. :type id: str :param display_name: The value to assign to the display_name property of this PostgresqlConnection. :type display_name: str :param description: The value to assign to the description property of this PostgresqlConnection. :type description: str :param compartment_id: The value to assign to the compartment_id property of this PostgresqlConnection. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this PostgresqlConnection. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this PostgresqlConnection. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this PostgresqlConnection. :type system_tags: dict(str, dict(str, object)) :param lifecycle_state: The value to assign to the lifecycle_state property of this PostgresqlConnection. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", '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 PostgresqlConnection. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this PostgresqlConnection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this PostgresqlConnection. :type time_updated: datetime :param locks: The value to assign to the locks property of this PostgresqlConnection. :type locks: list[oci.golden_gate.models.ResourceLock] :param vault_id: The value to assign to the vault_id property of this PostgresqlConnection. :type vault_id: str :param key_id: The value to assign to the key_id property of this PostgresqlConnection. :type key_id: str :param ingress_ips: The value to assign to the ingress_ips property of this PostgresqlConnection. :type ingress_ips: list[oci.golden_gate.models.IngressIpDetails] :param nsg_ids: The value to assign to the nsg_ids property of this PostgresqlConnection. :type nsg_ids: list[str] :param subnet_id: The value to assign to the subnet_id property of this PostgresqlConnection. :type subnet_id: str :param routing_method: The value to assign to the routing_method property of this PostgresqlConnection. Allowed values for this property are: "SHARED_SERVICE_ENDPOINT", "SHARED_DEPLOYMENT_ENDPOINT", "DEDICATED_ENDPOINT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type routing_method: str :param technology_type: The value to assign to the technology_type property of this PostgresqlConnection. Allowed values for this property are: "OCI_POSTGRESQL", "POSTGRESQL_SERVER", "AMAZON_AURORA_POSTGRESQL", "AMAZON_RDS_POSTGRESQL", "AZURE_POSTGRESQL", "AZURE_COSMOS_DB_FOR_POSTGRESQL", "GOOGLE_CLOUD_SQL_POSTGRESQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type technology_type: str :param database_name: The value to assign to the database_name property of this PostgresqlConnection. :type database_name: str :param host: The value to assign to the host property of this PostgresqlConnection. :type host: str :param port: The value to assign to the port property of this PostgresqlConnection. :type port: int :param username: The value to assign to the username property of this PostgresqlConnection. :type username: str :param additional_attributes: The value to assign to the additional_attributes property of this PostgresqlConnection. :type additional_attributes: list[oci.golden_gate.models.NameValuePair] :param security_protocol: The value to assign to the security_protocol property of this PostgresqlConnection. Allowed values for this property are: "PLAIN", "TLS", "MTLS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type security_protocol: str :param ssl_mode: The value to assign to the ssl_mode property of this PostgresqlConnection. Allowed values for this property are: "PREFER", "REQUIRE", "VERIFY_CA", "VERIFY_FULL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type ssl_mode: str :param private_ip: The value to assign to the private_ip property of this PostgresqlConnection. :type private_ip: str :param db_system_id: The value to assign to the db_system_id property of this PostgresqlConnection. :type db_system_id: str �strzdict(str, str)zdict(str, dict(str, object))Zdatetimezlist[ResourceLock]zlist[IngressIpDetails]z list[str]�intzlist[NameValuePair])Zconnection_type�idZdisplay_name�descriptionZcompartment_idZ freeform_tagsZdefined_tagsZsystem_tagsZlifecycle_stateZlifecycle_detailsZtime_createdZtime_updated�locksZvault_idZkey_idZingress_ipsZnsg_idsZ subnet_idZrouting_method�technology_type� database_name�host�port�username�additional_attributes�security_protocol�ssl_mode� private_ip�db_system_idZconnectionTyper ZdisplayNamer Z compartmentIdZfreeformTagsZdefinedTagsZ systemTagsZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedr ZvaultIdZkeyIdZ ingressIpsZnsgIdsZsubnetIdZ routingMethodZtechnologyTypeZdatabaseNamer r r ZadditionalAttributesZsecurityProtocolZsslModeZ privateIpZ dbSystemIdNZ POSTGRESQL)Z swagger_typesZ attribute_mapZ_connection_typeZ_idZ _display_nameZ_descriptionZ_compartment_idZ_freeform_tagsZ _defined_tagsZ_system_tagsZ_lifecycle_stateZ_lifecycle_detailsZ _time_createdZ _time_updatedZ_locksZ _vault_idZ_key_idZ_ingress_ipsZ_nsg_idsZ _subnet_idZ_routing_method�_technology_type�_database_name�_host�_port� _username�_additional_attributes�_security_protocol� _ssl_mode�_private_ip� _db_system_id)�self�kwargs� r2 �P/usr/lib/python3.9/site-packages/oci/golden_gate/models/postgresql_connection.py�__init__J s� �!� zPostgresqlConnection.__init__c C s | j S )a, **[Required]** Gets the technology_type of this PostgresqlConnection. The PostgreSQL technology type. Allowed values for this property are: "OCI_POSTGRESQL", "POSTGRESQL_SERVER", "AMAZON_AURORA_POSTGRESQL", "AMAZON_RDS_POSTGRESQL", "AZURE_POSTGRESQL", "AZURE_COSMOS_DB_FOR_POSTGRESQL", "GOOGLE_CLOUD_SQL_POSTGRESQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The technology_type of this PostgresqlConnection. :rtype: str )r&