403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /usr/libexec/oracle-cloud-agent/plugins/osms/oci/database/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/libexec/oracle-cloud-agent/plugins/osms/oci/database/models/external_database_base.pyc
a

N��f�e�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sReZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdd�Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zed d!��Zejd"d!��Zed#d$��Zejd%d$��Zed&d'��Zejd(d'��Zed)d*��Zejd+d*��Zed,d-��Zejd.d-��Zed/d0��Zejd1d0��Zed2d3��Zejd4d3��Zed5d6��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$edDdE��Z%e%jdFdE��Z%edGdH��Z&e&jdIdH��Z&dJdK�Z'dLdM�Z(dNdO�Z)dPS)Q�ExternalDatabaseBasez�
    A resource that allows you to manage an Oracle Database located outside of Oracle Cloud using Oracle Cloud Infrastructure's Console and APIs.
    �PROVISIONING�
NOT_CONNECTED�	AVAILABLE�UPDATING�TERMINATING�
TERMINATED�FAILED�STANDARD_EDITION�ENTERPRISE_EDITION�#ENTERPRISE_EDITION_HIGH_PERFORMANCE�&ENTERPRISE_EDITION_EXTREME_PERFORMANCE�RAC�SINGLE_INSTANCEcKs�dddddddddddddddddddd�|_dd	d
ddd
dddddddddddddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_d|_d|_dS)a�
        Initializes a new ExternalDatabaseBase object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param compartment_id:
            The value to assign to the compartment_id property of this ExternalDatabaseBase.
        :type compartment_id: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this ExternalDatabaseBase.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this ExternalDatabaseBase.
        :type defined_tags: dict(str, dict(str, object))

        :param display_name:
            The value to assign to the display_name property of this ExternalDatabaseBase.
        :type display_name: str

        :param id:
            The value to assign to the id property of this ExternalDatabaseBase.
        :type id: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this ExternalDatabaseBase.
        :type lifecycle_details: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this ExternalDatabaseBase.
            Allowed values for this property are: "PROVISIONING", "NOT_CONNECTED", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED"
        :type lifecycle_state: str

        :param time_created:
            The value to assign to the time_created property of this ExternalDatabaseBase.
        :type time_created: datetime

        :param db_unique_name:
            The value to assign to the db_unique_name property of this ExternalDatabaseBase.
        :type db_unique_name: str

        :param db_id:
            The value to assign to the db_id property of this ExternalDatabaseBase.
        :type db_id: str

        :param database_version:
            The value to assign to the database_version property of this ExternalDatabaseBase.
        :type database_version: str

        :param database_edition:
            The value to assign to the database_edition property of this ExternalDatabaseBase.
            Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
        :type database_edition: str

        :param time_zone:
            The value to assign to the time_zone property of this ExternalDatabaseBase.
        :type time_zone: str

        :param character_set:
            The value to assign to the character_set property of this ExternalDatabaseBase.
        :type character_set: str

        :param ncharacter_set:
            The value to assign to the ncharacter_set property of this ExternalDatabaseBase.
        :type ncharacter_set: str

        :param db_packs:
            The value to assign to the db_packs property of this ExternalDatabaseBase.
        :type db_packs: str

        :param database_configuration:
            The value to assign to the database_configuration property of this ExternalDatabaseBase.
            Allowed values for this property are: "RAC", "SINGLE_INSTANCE"
        :type database_configuration: str

        :param database_management_config:
            The value to assign to the database_management_config property of this ExternalDatabaseBase.
        :type database_management_config: oci.database.models.DatabaseManagementConfig

        :param stack_monitoring_config:
            The value to assign to the stack_monitoring_config property of this ExternalDatabaseBase.
        :type stack_monitoring_config: oci.database.models.StackMonitoringConfig

        �strzdict(str, str)zdict(str, dict(str, object))�datetime�DatabaseManagementConfig�StackMonitoringConfig)�compartment_id�
freeform_tags�defined_tags�display_name�id�lifecycle_details�lifecycle_state�time_created�db_unique_name�db_id�database_version�database_edition�	time_zone�
character_set�ncharacter_set�db_packs�database_configuration�database_management_config�stack_monitoring_config�
compartmentId�freeformTags�definedTags�displayNamer�lifecycleDetails�lifecycleState�timeCreated�dbUniqueName�dbId�databaseVersion�databaseEdition�timeZone�characterSet�
ncharacterSet�dbPacks�databaseConfiguration�databaseManagementConfig�stackMonitoringConfigN)�
swagger_types�
attribute_map�_compartment_id�_freeform_tags�
_defined_tags�
_display_name�_id�_lifecycle_details�_lifecycle_state�
_time_created�_db_unique_name�_db_id�_database_version�_database_edition�
_time_zone�_character_set�_ncharacter_set�	_db_packs�_database_configuration�_database_management_config�_stack_monitoring_config)�self�kwargs�rT��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/external_database_base.py�__init__DsvV��zExternalDatabaseBase.__init__cCs|jS)a*
        **[Required]** Gets the compartment_id of this ExternalDatabaseBase.
        The `OCID`__ of the compartment.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this ExternalDatabaseBase.
        :rtype: str
        �r?�rRrTrTrUr�sz#ExternalDatabaseBase.compartment_idcCs
||_dS)a(
        Sets the compartment_id of this ExternalDatabaseBase.
        The `OCID`__ of the compartment.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this ExternalDatabaseBase.
        :type: str
        NrW)rRrrTrTrUr�scCs|jS)a�
        Gets the freeform_tags of this ExternalDatabaseBase.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this ExternalDatabaseBase.
        :rtype: dict(str, str)
        �r@rXrTrTrUr�sz"ExternalDatabaseBase.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this ExternalDatabaseBase.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this ExternalDatabaseBase.
        :type: dict(str, str)
        NrY)rRrrTrTrUrscCs|jS)a�
        Gets the defined_tags of this ExternalDatabaseBase.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this ExternalDatabaseBase.
        :rtype: dict(str, dict(str, object))
        �rArXrTrTrUrs
z!ExternalDatabaseBase.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this ExternalDatabaseBase.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this ExternalDatabaseBase.
        :type: dict(str, dict(str, object))
        NrZ)rRrrTrTrUr&s
cCs|jS)a	
        **[Required]** Gets the display_name of this ExternalDatabaseBase.
        The user-friendly name for the external database. The name does not have to be unique.


        :return: The display_name of this ExternalDatabaseBase.
        :rtype: str
        �rBrXrTrTrUr5s
z!ExternalDatabaseBase.display_namecCs
||_dS)a
        Sets the display_name of this ExternalDatabaseBase.
        The user-friendly name for the external database. The name does not have to be unique.


        :param display_name: The display_name of this ExternalDatabaseBase.
        :type: str
        Nr[)rRrrTrTrUrAs
cCs|jS)a=
        **[Required]** Gets the id of this ExternalDatabaseBase.
        The `OCID`__ of the Oracle Cloud Infrastructure external database resource.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The id of this ExternalDatabaseBase.
        :rtype: str
        �rCrXrTrTrUrMszExternalDatabaseBase.idcCs
||_dS)a/
        Sets the id of this ExternalDatabaseBase.
        The `OCID`__ of the Oracle Cloud Infrastructure external database resource.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param id: The id of this ExternalDatabaseBase.
        :type: str
        Nr\)rRrrTrTrUr[scCs|jS)z�
        Gets the lifecycle_details of this ExternalDatabaseBase.
        Additional information about the current lifecycle state.


        :return: The lifecycle_details of this ExternalDatabaseBase.
        :rtype: str
        �rDrXrTrTrUris
z&ExternalDatabaseBase.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this ExternalDatabaseBase.
        Additional information about the current lifecycle state.


        :param lifecycle_details: The lifecycle_details of this ExternalDatabaseBase.
        :type: str
        Nr])rRrrTrTrUrus
cCs|jS)a�
        **[Required]** Gets the lifecycle_state of this ExternalDatabaseBase.
        The current state of the Oracle Cloud Infrastructure external database resource.

        Allowed values for this property are: "PROVISIONING", "NOT_CONNECTED", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED"


        :return: The lifecycle_state of this ExternalDatabaseBase.
        :rtype: str
        )rErXrTrTrUr�sz$ExternalDatabaseBase.lifecycle_statecCs*gd�}t||�s td�|���||_dS)a
        Sets the lifecycle_state of this ExternalDatabaseBase.
        The current state of the Oracle Cloud Infrastructure external database resource.


        :param lifecycle_state: The lifecycle_state of this ExternalDatabaseBase.
        :type: str
        )rrr	r
rrr
z?Invalid value for `lifecycle_state`, must be None or one of {0}N)r�
ValueError�formatrE)rRr�allowed_valuesrTrTrUr�s

��cCs|jS)z�
        **[Required]** Gets the time_created of this ExternalDatabaseBase.
        The date and time the database was created.


        :return: The time_created of this ExternalDatabaseBase.
        :rtype: datetime
        �rFrXrTrTrUr�s
z!ExternalDatabaseBase.time_createdcCs
||_dS)z�
        Sets the time_created of this ExternalDatabaseBase.
        The date and time the database was created.


        :param time_created: The time_created of this ExternalDatabaseBase.
        :type: datetime
        Nra)rRrrTrTrUr�s
cCs|jS)z�
        Gets the db_unique_name of this ExternalDatabaseBase.
        The `DB_UNIQUE_NAME` of the external database.


        :return: The db_unique_name of this ExternalDatabaseBase.
        :rtype: str
        �rGrXrTrTrUr �s
z#ExternalDatabaseBase.db_unique_namecCs
||_dS)z�
        Sets the db_unique_name of this ExternalDatabaseBase.
        The `DB_UNIQUE_NAME` of the external database.


        :param db_unique_name: The db_unique_name of this ExternalDatabaseBase.
        :type: str
        Nrb)rRr rTrTrUr �s
cCs|jS)z�
        Gets the db_id of this ExternalDatabaseBase.
        The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.


        :return: The db_id of this ExternalDatabaseBase.
        :rtype: str
        �rHrXrTrTrUr!�s
zExternalDatabaseBase.db_idcCs
||_dS)z�
        Sets the db_id of this ExternalDatabaseBase.
        The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.


        :param db_id: The db_id of this ExternalDatabaseBase.
        :type: str
        Nrc)rRr!rTrTrUr!�s
cCs|jS)z�
        Gets the database_version of this ExternalDatabaseBase.
        The Oracle Database version.


        :return: The database_version of this ExternalDatabaseBase.
        :rtype: str
        �rIrXrTrTrUr"�s
z%ExternalDatabaseBase.database_versioncCs
||_dS)z�
        Sets the database_version of this ExternalDatabaseBase.
        The Oracle Database version.


        :param database_version: The database_version of this ExternalDatabaseBase.
        :type: str
        Nrd)rRr"rTrTrUr"�s
cCs|jS)aq
        Gets the database_edition of this ExternalDatabaseBase.
        The Oracle Database edition.

        Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"


        :return: The database_edition of this ExternalDatabaseBase.
        :rtype: str
        )rJrXrTrTrUr#sz%ExternalDatabaseBase.database_editioncCs*gd�}t||�s td�|���||_dS)z�
        Sets the database_edition of this ExternalDatabaseBase.
        The Oracle Database edition.


        :param database_edition: The database_edition of this ExternalDatabaseBase.
        :type: str
        )rrrrz@Invalid value for `database_edition`, must be None or one of {0}N)rr^r_rJ)rRr#r`rTrTrUr#s

��cCs|jS)a�
        Gets the time_zone of this ExternalDatabaseBase.
        The time zone of the external database.
        It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name,
        depending on how the time zone value was specified when the database was created / last altered.


        :return: The time_zone of this ExternalDatabaseBase.
        :rtype: str
        �rKrXrTrTrUr$!szExternalDatabaseBase.time_zonecCs
||_dS)a�
        Sets the time_zone of this ExternalDatabaseBase.
        The time zone of the external database.
        It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name,
        depending on how the time zone value was specified when the database was created / last altered.


        :param time_zone: The time_zone of this ExternalDatabaseBase.
        :type: str
        Nre)rRr$rTrTrUr$/scCs|jS)z�
        Gets the character_set of this ExternalDatabaseBase.
        The character set of the external database.


        :return: The character_set of this ExternalDatabaseBase.
        :rtype: str
        �rLrXrTrTrUr%=s
z"ExternalDatabaseBase.character_setcCs
||_dS)z�
        Sets the character_set of this ExternalDatabaseBase.
        The character set of the external database.


        :param character_set: The character_set of this ExternalDatabaseBase.
        :type: str
        Nrf)rRr%rTrTrUr%Is
cCs|jS)z�
        Gets the ncharacter_set of this ExternalDatabaseBase.
        The national character of the external database.


        :return: The ncharacter_set of this ExternalDatabaseBase.
        :rtype: str
        �rMrXrTrTrUr&Us
z#ExternalDatabaseBase.ncharacter_setcCs
||_dS)z�
        Sets the ncharacter_set of this ExternalDatabaseBase.
        The national character of the external database.


        :param ncharacter_set: The ncharacter_set of this ExternalDatabaseBase.
        :type: str
        Nrg)rRr&rTrTrUr&as
cCs|jS)z�
        Gets the db_packs of this ExternalDatabaseBase.
        The database packs licensed for the external Oracle Database.


        :return: The db_packs of this ExternalDatabaseBase.
        :rtype: str
        �rNrXrTrTrUr'ms
zExternalDatabaseBase.db_packscCs
||_dS)z�
        Sets the db_packs of this ExternalDatabaseBase.
        The database packs licensed for the external Oracle Database.


        :param db_packs: The db_packs of this ExternalDatabaseBase.
        :type: str
        Nrh)rRr'rTrTrUr'ys
cCs|jS)a!
        Gets the database_configuration of this ExternalDatabaseBase.
        The Oracle Database configuration

        Allowed values for this property are: "RAC", "SINGLE_INSTANCE"


        :return: The database_configuration of this ExternalDatabaseBase.
        :rtype: str
        )rOrXrTrTrUr(�sz+ExternalDatabaseBase.database_configurationcCs*ddg}t||�s td�|���||_dS)z�
        Sets the database_configuration of this ExternalDatabaseBase.
        The Oracle Database configuration


        :param database_configuration: The database_configuration of this ExternalDatabaseBase.
        :type: str
        rrzFInvalid value for `database_configuration`, must be None or one of {0}N)rr^r_rO)rRr(r`rTrTrUr(�s

��cCs|jS)z�
        Gets the database_management_config of this ExternalDatabaseBase.

        :return: The database_management_config of this ExternalDatabaseBase.
        :rtype: oci.database.models.DatabaseManagementConfig
        �rPrXrTrTrUr)�sz/ExternalDatabaseBase.database_management_configcCs
||_dS)z�
        Sets the database_management_config of this ExternalDatabaseBase.

        :param database_management_config: The database_management_config of this ExternalDatabaseBase.
        :type: oci.database.models.DatabaseManagementConfig
        Nri)rRr)rTrTrUr)�scCs|jS)z�
        Gets the stack_monitoring_config of this ExternalDatabaseBase.

        :return: The stack_monitoring_config of this ExternalDatabaseBase.
        :rtype: oci.database.models.StackMonitoringConfig
        �rQrXrTrTrUr*�sz,ExternalDatabaseBase.stack_monitoring_configcCs
||_dS)z�
        Sets the stack_monitoring_config of this ExternalDatabaseBase.

        :param stack_monitoring_config: The stack_monitoring_config of this ExternalDatabaseBase.
        :type: oci.database.models.StackMonitoringConfig
        Nrj)rRr*rTrTrUr*�scCst|�S�N)rrXrTrTrU�__repr__�szExternalDatabaseBase.__repr__cCs|durdS|j|jkS)NF)�__dict__�rR�otherrTrTrU�__eq__�szExternalDatabaseBase.__eq__cCs
||kSrkrTrnrTrTrU�__ne__�szExternalDatabaseBase.__ne__N)*�__name__�
__module__�__qualname__�__doc__�LIFECYCLE_STATE_PROVISIONING�LIFECYCLE_STATE_NOT_CONNECTED�LIFECYCLE_STATE_AVAILABLE�LIFECYCLE_STATE_UPDATING�LIFECYCLE_STATE_TERMINATING�LIFECYCLE_STATE_TERMINATED�LIFECYCLE_STATE_FAILED�!DATABASE_EDITION_STANDARD_EDITION�#DATABASE_EDITION_ENTERPRISE_EDITION�4DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCE�7DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCE�DATABASE_CONFIGURATION_RAC�&DATABASE_CONFIGURATION_SINGLE_INSTANCErV�propertyr�setterrrrrrrrr r!r"r#r$r%r&r'r(r)r*rlrprqrTrTrTrUr
s�











































	
	
	
	rN)�oci.utilrrr�oci.decoratorsr�objectrrTrTrTrU�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit