📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
golden_gate
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/golden_gate/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_postgresql_connection_details.pyc
a N��f�M � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateConnectionDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zd.d/� Zd0d1� Zd2d3� Zd4S )5�!CreatePostgresqlConnectionDetailsz< The information about a new PostgreSQL Connection. c K s ddddddddddddddddddddddddd�| _ dd d 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 S )"a� Initializes a new CreatePostgresqlConnectionDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.golden_gate.models.CreatePostgresqlConnectionDetails.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 CreatePostgresqlConnectionDetails. Allowed values for this property are: "GOLDENGATE", "KAFKA", "KAFKA_SCHEMA_REGISTRY", "MYSQL", "OCI_OBJECT_STORAGE", "ORACLE", "AZURE_DATA_LAKE_STORAGE", "POSTGRESQL", "AZURE_SYNAPSE_ANALYTICS" :type connection_type: str :param display_name: The value to assign to the display_name property of this CreatePostgresqlConnectionDetails. :type display_name: str :param description: The value to assign to the description property of this CreatePostgresqlConnectionDetails. :type description: str :param compartment_id: The value to assign to the compartment_id property of this CreatePostgresqlConnectionDetails. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this CreatePostgresqlConnectionDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreatePostgresqlConnectionDetails. :type defined_tags: dict(str, dict(str, object)) :param vault_id: The value to assign to the vault_id property of this CreatePostgresqlConnectionDetails. :type vault_id: str :param key_id: The value to assign to the key_id property of this CreatePostgresqlConnectionDetails. :type key_id: str :param subnet_id: The value to assign to the subnet_id property of this CreatePostgresqlConnectionDetails. :type subnet_id: str :param nsg_ids: The value to assign to the nsg_ids property of this CreatePostgresqlConnectionDetails. :type nsg_ids: list[str] :param technology_type: The value to assign to the technology_type property of this CreatePostgresqlConnectionDetails. :type technology_type: str :param database_name: The value to assign to the database_name property of this CreatePostgresqlConnectionDetails. :type database_name: str :param host: The value to assign to the host property of this CreatePostgresqlConnectionDetails. :type host: str :param port: The value to assign to the port property of this CreatePostgresqlConnectionDetails. :type port: int :param username: The value to assign to the username property of this CreatePostgresqlConnectionDetails. :type username: str :param password: The value to assign to the password property of this CreatePostgresqlConnectionDetails. :type password: str :param additional_attributes: The value to assign to the additional_attributes property of this CreatePostgresqlConnectionDetails. :type additional_attributes: list[oci.golden_gate.models.NameValuePair] :param security_protocol: The value to assign to the security_protocol property of this CreatePostgresqlConnectionDetails. :type security_protocol: str :param ssl_mode: The value to assign to the ssl_mode property of this CreatePostgresqlConnectionDetails. :type ssl_mode: str :param ssl_ca: The value to assign to the ssl_ca property of this CreatePostgresqlConnectionDetails. :type ssl_ca: str :param ssl_crl: The value to assign to the ssl_crl property of this CreatePostgresqlConnectionDetails. :type ssl_crl: str :param ssl_cert: The value to assign to the ssl_cert property of this CreatePostgresqlConnectionDetails. :type ssl_cert: str :param ssl_key: The value to assign to the ssl_key property of this CreatePostgresqlConnectionDetails. :type ssl_key: str :param private_ip: The value to assign to the private_ip property of this CreatePostgresqlConnectionDetails. :type private_ip: str �strzdict(str, str)zdict(str, dict(str, object))z list[str]�intzlist[NameValuePair])�connection_type�display_name�description�compartment_id� freeform_tags�defined_tags�vault_id�key_id� subnet_id�nsg_ids�technology_type� database_name�host�port�username�password�additional_attributes�security_protocol�ssl_mode�ssl_ca�ssl_crl�ssl_cert�ssl_key� private_ip�connectionType�displayNamer � compartmentId�freeformTags�definedTags�vaultId�keyId�subnetId�nsgIds�technologyType�databaseNamer r r r �additionalAttributes�securityProtocol�sslMode�sslCa�sslCrl�sslCert�sslKey� privateIpN� POSTGRESQL)� swagger_types� attribute_map�_connection_type� _display_name�_description�_compartment_id�_freeform_tags� _defined_tags� _vault_id�_key_id� _subnet_id�_nsg_ids�_technology_type�_database_name�_host�_port� _username� _password�_additional_attributes�_security_protocol� _ssl_mode�_ssl_ca�_ssl_crl� _ssl_cert�_ssl_key�_private_ip)�self�kwargs� rS ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/golden_gate/models/create_postgresql_connection_details.py�__init__ s� i��z*CreatePostgresqlConnectionDetails.__init__c C s | j S )z� **[Required]** Gets the technology_type of this CreatePostgresqlConnectionDetails. The PostgreSQL technology type. :return: The technology_type of this CreatePostgresqlConnectionDetails. :rtype: str �rC �rQ rS rS rT r � s z1CreatePostgresqlConnectionDetails.technology_typec C s || _ dS )z� Sets the technology_type of this CreatePostgresqlConnectionDetails. The PostgreSQL technology type. :param technology_type: The technology_type of this CreatePostgresqlConnectionDetails. :type: str NrV )rQ r rS rS rT r � s c C s | j S )z� **[Required]** Gets the database_name of this CreatePostgresqlConnectionDetails. The name of the database. :return: The database_name of this CreatePostgresqlConnectionDetails. :rtype: str �rD rW rS rS rT r � s z/CreatePostgresqlConnectionDetails.database_namec C s || _ dS )z� Sets the database_name of this CreatePostgresqlConnectionDetails. The name of the database. :param database_name: The database_name of this CreatePostgresqlConnectionDetails. :type: str NrX )rQ r rS rS rT r � s c C s | j S )z� **[Required]** Gets the host of this CreatePostgresqlConnectionDetails. The name or address of a host. :return: The host of this CreatePostgresqlConnectionDetails. :rtype: str �rE rW rS rS rT r � s z&CreatePostgresqlConnectionDetails.hostc C s || _ dS )z� Sets the host of this CreatePostgresqlConnectionDetails. The name or address of a host. :param host: The host of this CreatePostgresqlConnectionDetails. :type: str NrY )rQ r rS rS rT r s c C s | j S )z� **[Required]** Gets the port of this CreatePostgresqlConnectionDetails. The port of an endpoint usually specified for a connection. :return: The port of this CreatePostgresqlConnectionDetails. :rtype: int �rF rW rS rS rT r s z&CreatePostgresqlConnectionDetails.portc C s || _ dS )z� Sets the port of this CreatePostgresqlConnectionDetails. The port of an endpoint usually specified for a connection. :param port: The port of this CreatePostgresqlConnectionDetails. :type: int NrZ )rQ r rS rS rT r s c C s | j S )a� **[Required]** Gets the username of this CreatePostgresqlConnectionDetails. The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on. :return: The username of this CreatePostgresqlConnectionDetails. :rtype: str �rG rW rS rS rT r ( s z*CreatePostgresqlConnectionDetails.usernamec C s || _ dS )a� Sets the username of this CreatePostgresqlConnectionDetails. The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on. :param username: The username of this CreatePostgresqlConnectionDetails. :type: str Nr[ )rQ r rS rS rT r 6 s c C s | j S )a� **[Required]** Gets the password of this CreatePostgresqlConnectionDetails. The password Oracle GoldenGate uses to connect the associated RDBMS. It must conform to the specific security requirements implemented by the database including length, case sensitivity, and so on. :return: The password of this CreatePostgresqlConnectionDetails. :rtype: str �rH rW rS rS rT r D s z*CreatePostgresqlConnectionDetails.passwordc C s || _ dS )a� Sets the password of this CreatePostgresqlConnectionDetails. The password Oracle GoldenGate uses to connect the associated RDBMS. It must conform to the specific security requirements implemented by the database including length, case sensitivity, and so on. :param password: The password of this CreatePostgresqlConnectionDetails. :type: str Nr\ )rQ r rS rS rT r R s c C s | j S )aa Gets the additional_attributes of this CreatePostgresqlConnectionDetails. An array of name-value pair attribute entries. Used as additional parameters in connection string. :return: The additional_attributes of this CreatePostgresqlConnectionDetails. :rtype: list[oci.golden_gate.models.NameValuePair] �rI rW rS rS rT r ` s z7CreatePostgresqlConnectionDetails.additional_attributesc C s || _ dS )au Sets the additional_attributes of this CreatePostgresqlConnectionDetails. An array of name-value pair attribute entries. Used as additional parameters in connection string. :param additional_attributes: The additional_attributes of this CreatePostgresqlConnectionDetails. :type: list[oci.golden_gate.models.NameValuePair] Nr] )rQ r rS rS rT r m s c C s | j S )z� **[Required]** Gets the security_protocol of this CreatePostgresqlConnectionDetails. Security protocol for PostgreSQL. :return: The security_protocol of this CreatePostgresqlConnectionDetails. :rtype: str �rJ rW rS rS rT r z s z3CreatePostgresqlConnectionDetails.security_protocolc C s || _ dS )z� Sets the security_protocol of this CreatePostgresqlConnectionDetails. Security protocol for PostgreSQL. :param security_protocol: The security_protocol of this CreatePostgresqlConnectionDetails. :type: str Nr^ )rQ r rS rS rT r � s c C s | j S )z� Gets the ssl_mode of this CreatePostgresqlConnectionDetails. SSL modes for PostgreSQL. :return: The ssl_mode of this CreatePostgresqlConnectionDetails. :rtype: str �rK rW rS rS rT r � s z*CreatePostgresqlConnectionDetails.ssl_modec C s || _ dS )z� Sets the ssl_mode of this CreatePostgresqlConnectionDetails. SSL modes for PostgreSQL. :param ssl_mode: The ssl_mode of this CreatePostgresqlConnectionDetails. :type: str Nr_ )rQ r rS rS rT r � s c C s | j S )a Gets the ssl_ca of this CreatePostgresqlConnectionDetails. The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. :return: The ssl_ca of this CreatePostgresqlConnectionDetails. :rtype: str �rL rW rS rS rT r � s z(CreatePostgresqlConnectionDetails.ssl_cac C s || _ dS )a Sets the ssl_ca of this CreatePostgresqlConnectionDetails. The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. :param ssl_ca: The ssl_ca of this CreatePostgresqlConnectionDetails. :type: str Nr` )rQ r rS rS rT r � s c C s | j S )a' Gets the ssl_crl of this CreatePostgresqlConnectionDetails. The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA) for PostgreSQL. :return: The ssl_crl of this CreatePostgresqlConnectionDetails. :rtype: str �rM rW rS rS rT r � s z)CreatePostgresqlConnectionDetails.ssl_crlc C s || _ dS )a- Sets the ssl_crl of this CreatePostgresqlConnectionDetails. The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA) for PostgreSQL. :param ssl_crl: The ssl_crl of this CreatePostgresqlConnectionDetails. :type: str Nra )rQ r rS rS rT r � s c C s | j S )z� Gets the ssl_cert of this CreatePostgresqlConnectionDetails. The base64 encoded certificate of the PostgreSQL server. :return: The ssl_cert of this CreatePostgresqlConnectionDetails. :rtype: str �rN rW rS rS rT r � s z*CreatePostgresqlConnectionDetails.ssl_certc C s || _ dS )z� Sets the ssl_cert of this CreatePostgresqlConnectionDetails. The base64 encoded certificate of the PostgreSQL server. :param ssl_cert: The ssl_cert of this CreatePostgresqlConnectionDetails. :type: str Nrb )rQ r rS rS rT r � s c C s | j S )z� Gets the ssl_key of this CreatePostgresqlConnectionDetails. The base64 encoded private key of the PostgreSQL server. :return: The ssl_key of this CreatePostgresqlConnectionDetails. :rtype: str �rO rW rS rS rT r! � s z)CreatePostgresqlConnectionDetails.ssl_keyc C s || _ dS )z� Sets the ssl_key of this CreatePostgresqlConnectionDetails. The base64 encoded private key of the PostgreSQL server. :param ssl_key: The ssl_key of this CreatePostgresqlConnectionDetails. :type: str Nrc )rQ r! rS rS rT r! � s c C s | j S )a� Gets the private_ip of this CreatePostgresqlConnectionDetails. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. :return: The private_ip of this CreatePostgresqlConnectionDetails. :rtype: str �rP rW rS rS rT r"