ruạṛ
a ���f�Y � @ 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 @ sP e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zd)d*� Zd+d,� Zd-d.� Zd/S )0�MicrosoftSqlserverConnectionzG Represents the metadata of a Microsoft SQL Server Connection. �AMAZON_RDS_SQLSERVER� AZURE_SQLSERVER_MANAGED_INSTANCE�$AZURE_SQLSERVER_NON_MANAGED_INSTANCE�GOOGLE_CLOUD_SQL_SQLSERVER�MICROSOFT_SQLSERVER�PLAIN�TLSc K s< ddddddddddddddddddddddddd ddd dd�| _ dd 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*| _d)S )+a� Initializes a new MicrosoftSqlserverConnection object with values from keyword arguments. The default value of the :py:attr:`~oci.golden_gate.models.MicrosoftSqlserverConnection.connection_type` attribute of this class is ``MICROSOFT_SQLSERVER`` 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 MicrosoftSqlserverConnection. 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 MicrosoftSqlserverConnection. :type id: str :param display_name: The value to assign to the display_name property of this MicrosoftSqlserverConnection. :type display_name: str :param description: The value to assign to the description property of this MicrosoftSqlserverConnection. :type description: str :param compartment_id: The value to assign to the compartment_id property of this MicrosoftSqlserverConnection. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this MicrosoftSqlserverConnection. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MicrosoftSqlserverConnection. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this MicrosoftSqlserverConnection. :type system_tags: dict(str, dict(str, object)) :param lifecycle_state: The value to assign to the lifecycle_state property of this MicrosoftSqlserverConnection. 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 MicrosoftSqlserverConnection. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this MicrosoftSqlserverConnection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MicrosoftSqlserverConnection. :type time_updated: datetime :param locks: The value to assign to the locks property of this MicrosoftSqlserverConnection. :type locks: list[oci.golden_gate.models.ResourceLock] :param vault_id: The value to assign to the vault_id property of this MicrosoftSqlserverConnection. :type vault_id: str :param key_id: The value to assign to the key_id property of this MicrosoftSqlserverConnection. :type key_id: str :param ingress_ips: The value to assign to the ingress_ips property of this MicrosoftSqlserverConnection. :type ingress_ips: list[oci.golden_gate.models.IngressIpDetails] :param nsg_ids: The value to assign to the nsg_ids property of this MicrosoftSqlserverConnection. :type nsg_ids: list[str] :param subnet_id: The value to assign to the subnet_id property of this MicrosoftSqlserverConnection. :type subnet_id: str :param routing_method: The value to assign to the routing_method property of this MicrosoftSqlserverConnection. 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 MicrosoftSqlserverConnection. Allowed values for this property are: "AMAZON_RDS_SQLSERVER", "AZURE_SQLSERVER_MANAGED_INSTANCE", "AZURE_SQLSERVER_NON_MANAGED_INSTANCE", "GOOGLE_CLOUD_SQL_SQLSERVER", "MICROSOFT_SQLSERVER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type technology_type: str :param username: The value to assign to the username property of this MicrosoftSqlserverConnection. :type username: str :param host: The value to assign to the host property of this MicrosoftSqlserverConnection. :type host: str :param port: The value to assign to the port property of this MicrosoftSqlserverConnection. :type port: int :param database_name: The value to assign to the database_name property of this MicrosoftSqlserverConnection. :type database_name: str :param additional_attributes: The value to assign to the additional_attributes property of this MicrosoftSqlserverConnection. :type additional_attributes: list[oci.golden_gate.models.NameValuePair] :param security_protocol: The value to assign to the security_protocol property of this MicrosoftSqlserverConnection. Allowed values for this property are: "PLAIN", "TLS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type security_protocol: str :param ssl_ca: The value to assign to the ssl_ca property of this MicrosoftSqlserverConnection. :type ssl_ca: str :param should_validate_server_certificate: The value to assign to the should_validate_server_certificate property of this MicrosoftSqlserverConnection. :type should_validate_server_certificate: bool :param private_ip: The value to assign to the private_ip property of this MicrosoftSqlserverConnection. :type private_ip: str �strzdict(str, str)zdict(str, dict(str, object))Zdatetimezlist[ResourceLock]zlist[IngressIpDetails]z list[str]�intzlist[NameValuePair]�bool)Zconnection_type�idZdisplay_name�descriptionZcompartment_idZ freeform_tagsZdefined_tagsZsystem_tagsZlifecycle_stateZlifecycle_detailsZtime_createdZtime_updated�locksZvault_idZkey_idZingress_ipsZnsg_idsZ subnet_idZrouting_method�technology_type�username�host�port� database_name�additional_attributes�security_protocol�ssl_ca�"should_validate_server_certificate� private_ipZconnectionTyper ZdisplayNamer Z compartmentIdZfreeformTagsZdefinedTagsZ systemTagsZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedr ZvaultIdZkeyIdZ ingressIpsZnsgIdsZsubnetIdZ routingMethodZtechnologyTyper r r ZdatabaseNameZadditionalAttributesZsecurityProtocolZsslCaZshouldValidateServerCertificateZ privateIpNr )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� _username�_host�_port�_database_name�_additional_attributes�_security_protocol�_ssl_ca�#_should_validate_server_certificate�_private_ip)�self�kwargs� r, �Y/usr/lib/python3.9/site-packages/oci/golden_gate/models/microsoft_sqlserver_connection.py�__init__. s� �!� z%MicrosoftSqlserverConnection.__init__c C s | j S )a. **[Required]** Gets the technology_type of this MicrosoftSqlserverConnection. The Microsoft SQL Server technology type. Allowed values for this property are: "AMAZON_RDS_SQLSERVER", "AZURE_SQLSERVER_MANAGED_INSTANCE", "AZURE_SQLSERVER_NON_MANAGED_INSTANCE", "GOOGLE_CLOUD_SQL_SQLSERVER", "MICROSOFT_SQLSERVER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The technology_type of this MicrosoftSqlserverConnection. :rtype: str )r �r* r, r, r- r s z,MicrosoftSqlserverConnection.technology_typec C s g d�}t ||�sd}|| _dS )z� Sets the technology_type of this MicrosoftSqlserverConnection. The Microsoft SQL Server technology type. :param technology_type: The technology_type of this MicrosoftSqlserverConnection. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r )r* r �allowed_valuesr, r, r- r ! s c C s | j S )ap **[Required]** Gets the username of this MicrosoftSqlserverConnection. The username Oracle GoldenGate uses to connect to the Microsoft SQL Server. This username must already exist and be available by the Microsoft SQL Server to be connected to. :return: The username of this MicrosoftSqlserverConnection. :rtype: str �r! r/ r, r, r- r 0 s z%MicrosoftSqlserverConnection.usernamec C s || _ dS )ah Sets the username of this MicrosoftSqlserverConnection. The username Oracle GoldenGate uses to connect to the Microsoft SQL Server. This username must already exist and be available by the Microsoft SQL Server to be connected to. :param username: The username of this MicrosoftSqlserverConnection. :type: str Nr2 )r* r r, r, r- r = s c C s | j S )z� **[Required]** Gets the host of this MicrosoftSqlserverConnection. The name or address of a host. :return: The host of this MicrosoftSqlserverConnection. :rtype: str �r"