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/pluggable_database_summary.pyc
a

N��f�P�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dd
�Zedd��Zejdd��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��Zd5d6�Zd7d8�Zd9d:�Z d;S)<�PluggableDatabaseSummarya�
    A pluggable database (PDB) is portable collection of schemas, schema objects, and non-schema objects that appears to an Oracle client as a non-container database. To use a PDB, it needs to be plugged into a CDB.
    To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to a tenancy administrator. If you are an administrator who needs to write policies to give users access, see `Getting Started with Policies`__.

    **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

    __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
    �PROVISIONING�	AVAILABLE�TERMINATING�
TERMINATED�UPDATING�FAILED�	READ_ONLY�
READ_WRITE�MOUNTED�MIGRATEcKs�dddddddddddddd�
|_d	d
ddd
ddddddddd�
|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_dS)a�
        Initializes a new PluggableDatabaseSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

        :param container_database_id:
            The value to assign to the container_database_id property of this PluggableDatabaseSummary.
        :type container_database_id: str

        :param pdb_name:
            The value to assign to the pdb_name property of this PluggableDatabaseSummary.
        :type pdb_name: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this PluggableDatabaseSummary.
            Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING", "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 PluggableDatabaseSummary.
        :type lifecycle_details: str

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

        :param connection_strings:
            The value to assign to the connection_strings property of this PluggableDatabaseSummary.
        :type connection_strings: oci.database.models.PluggableDatabaseConnectionStrings

        :param open_mode:
            The value to assign to the open_mode property of this PluggableDatabaseSummary.
            Allowed values for this property are: "READ_ONLY", "READ_WRITE", "MOUNTED", "MIGRATE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type open_mode: str

        :param is_restricted:
            The value to assign to the is_restricted property of this PluggableDatabaseSummary.
        :type is_restricted: bool

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

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

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

        :param pluggable_database_management_config:
            The value to assign to the pluggable_database_management_config property of this PluggableDatabaseSummary.
        :type pluggable_database_management_config: oci.database.models.PluggableDatabaseManagementConfig

        �str�datetime�"PluggableDatabaseConnectionStrings�boolzdict(str, str)zdict(str, dict(str, object))�!PluggableDatabaseManagementConfig)
�id�container_database_id�pdb_name�lifecycle_state�lifecycle_details�time_created�connection_strings�	open_mode�
is_restricted�compartment_id�
freeform_tags�defined_tags�$pluggable_database_management_configr�containerDatabaseId�pdbName�lifecycleState�lifecycleDetails�timeCreated�connectionStrings�openMode�isRestricted�
compartmentId�freeformTags�definedTags�!pluggableDatabaseManagementConfigN)�
swagger_types�
attribute_map�_id�_container_database_id�	_pdb_name�_lifecycle_state�_lifecycle_details�
_time_created�_connection_strings�
_open_mode�_is_restricted�_compartment_id�_freeform_tags�
_defined_tags�%_pluggable_database_management_config)�self�kwargs�r@��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/pluggable_database_summary.py�__init__=sR?��z!PluggableDatabaseSummary.__init__cCs|jS)a!
        **[Required]** Gets the id of this PluggableDatabaseSummary.
        The `OCID`__ of the pluggable database.

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


        :return: The id of this PluggableDatabaseSummary.
        :rtype: str
        �r1�r>r@r@rAr�szPluggableDatabaseSummary.idcCs
||_dS)a
        Sets the id of this PluggableDatabaseSummary.
        The `OCID`__ of the pluggable database.

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


        :param id: The id of this PluggableDatabaseSummary.
        :type: str
        NrC)r>rr@r@rAr�scCs|jS)a8
        **[Required]** Gets the container_database_id of this PluggableDatabaseSummary.
        The `OCID`__ of the CDB.

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


        :return: The container_database_id of this PluggableDatabaseSummary.
        :rtype: str
        �r2rDr@r@rAr�sz.PluggableDatabaseSummary.container_database_idcCs
||_dS)a=
        Sets the container_database_id of this PluggableDatabaseSummary.
        The `OCID`__ of the CDB.

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


        :param container_database_id: The container_database_id of this PluggableDatabaseSummary.
        :type: str
        NrE)r>rr@r@rAr�scCs|jS)a�
        **[Required]** Gets the pdb_name of this PluggableDatabaseSummary.
        The name for the pluggable database (PDB). The name is unique in the context of a :class:`Database`. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.


        :return: The pdb_name of this PluggableDatabaseSummary.
        :rtype: str
        �r3rDr@r@rAr�s
z!PluggableDatabaseSummary.pdb_namecCs
||_dS)a�
        Sets the pdb_name of this PluggableDatabaseSummary.
        The name for the pluggable database (PDB). The name is unique in the context of a :class:`Database`. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. The pluggable database name should not be same as the container database name.


        :param pdb_name: The pdb_name of this PluggableDatabaseSummary.
        :type: str
        NrF)r>rr@r@rAr�s
cCs|jS)a�
        **[Required]** Gets the lifecycle_state of this PluggableDatabaseSummary.
        The current state of the pluggable database.

        Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this PluggableDatabaseSummary.
        :rtype: str
        )r4rDr@r@rAr�s
z(PluggableDatabaseSummary.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this PluggableDatabaseSummary.
        The current state of the pluggable database.


        :param lifecycle_state: The lifecycle_state of this PluggableDatabaseSummary.
        :type: str
        )rrr	r
rr�UNKNOWN_ENUM_VALUEN)rr4)r>r�allowed_valuesr@r@rArs

cCs|jS)z�
        Gets the lifecycle_details of this PluggableDatabaseSummary.
        Detailed message for the lifecycle state.


        :return: The lifecycle_details of this PluggableDatabaseSummary.
        :rtype: str
        �r5rDr@r@rArs
z*PluggableDatabaseSummary.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this PluggableDatabaseSummary.
        Detailed message for the lifecycle state.


        :param lifecycle_details: The lifecycle_details of this PluggableDatabaseSummary.
        :type: str
        NrI)r>rr@r@rAr#s
cCs|jS)z�
        **[Required]** Gets the time_created of this PluggableDatabaseSummary.
        The date and time the pluggable database was created.


        :return: The time_created of this PluggableDatabaseSummary.
        :rtype: datetime
        �r6rDr@r@rAr/s
z%PluggableDatabaseSummary.time_createdcCs
||_dS)z�
        Sets the time_created of this PluggableDatabaseSummary.
        The date and time the pluggable database was created.


        :param time_created: The time_created of this PluggableDatabaseSummary.
        :type: datetime
        NrJ)r>rr@r@rAr;s
cCs|jS)z�
        Gets the connection_strings of this PluggableDatabaseSummary.

        :return: The connection_strings of this PluggableDatabaseSummary.
        :rtype: oci.database.models.PluggableDatabaseConnectionStrings
        �r7rDr@r@rArGsz+PluggableDatabaseSummary.connection_stringscCs
||_dS)z�
        Sets the connection_strings of this PluggableDatabaseSummary.

        :param connection_strings: The connection_strings of this PluggableDatabaseSummary.
        :type: oci.database.models.PluggableDatabaseConnectionStrings
        NrK)r>rr@r@rArQscCs|jS)a'
        **[Required]** Gets the open_mode of this PluggableDatabaseSummary.
        The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

        Allowed values for this property are: "READ_ONLY", "READ_WRITE", "MOUNTED", "MIGRATE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The open_mode of this PluggableDatabaseSummary.
        :rtype: str
        )r8rDr@r@rAr[s
z"PluggableDatabaseSummary.open_modecCs gd�}t||�sd}||_dS)aL
        Sets the open_mode of this PluggableDatabaseSummary.
        The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).


        :param open_mode: The open_mode of this PluggableDatabaseSummary.
        :type: str
        )r
rrrrGN)rr8)r>rrHr@r@rArjs

cCs|jS)ay
        Gets the is_restricted of this PluggableDatabaseSummary.
        The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode,
        the user needs both create a session and have restricted session privileges to connect to it.


        :return: The is_restricted of this PluggableDatabaseSummary.
        :rtype: bool
        �r9rDr@r@rArysz&PluggableDatabaseSummary.is_restrictedcCs
||_dS)a�
        Sets the is_restricted of this PluggableDatabaseSummary.
        The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode,
        the user needs both create a session and have restricted session privileges to connect to it.


        :param is_restricted: The is_restricted of this PluggableDatabaseSummary.
        :type: bool
        NrL)r>rr@r@rAr�scCs|jS)a2
        **[Required]** Gets the compartment_id of this PluggableDatabaseSummary.
        The `OCID`__ of the compartment.

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


        :return: The compartment_id of this PluggableDatabaseSummary.
        :rtype: str
        �r:rDr@r@rAr�sz'PluggableDatabaseSummary.compartment_idcCs
||_dS)a0
        Sets the compartment_id of this PluggableDatabaseSummary.
        The `OCID`__ of the compartment.

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


        :param compartment_id: The compartment_id of this PluggableDatabaseSummary.
        :type: str
        NrM)r>rr@r@rAr�scCs|jS)a�
        Gets the freeform_tags of this PluggableDatabaseSummary.
        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 PluggableDatabaseSummary.
        :rtype: dict(str, str)
        �r;rDr@r@rAr �sz&PluggableDatabaseSummary.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this PluggableDatabaseSummary.
        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 PluggableDatabaseSummary.
        :type: dict(str, str)
        NrN)r>r r@r@rAr �scCs|jS)a�
        Gets the defined_tags of this PluggableDatabaseSummary.
        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 PluggableDatabaseSummary.
        :rtype: dict(str, dict(str, object))
        �r<rDr@r@rAr!�s
z%PluggableDatabaseSummary.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this PluggableDatabaseSummary.
        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 PluggableDatabaseSummary.
        :type: dict(str, dict(str, object))
        NrO)r>r!r@r@rAr!�s
cCs|jS)a
        Gets the pluggable_database_management_config of this PluggableDatabaseSummary.

        :return: The pluggable_database_management_config of this PluggableDatabaseSummary.
        :rtype: oci.database.models.PluggableDatabaseManagementConfig
        �r=rDr@r@rAr"�sz=PluggableDatabaseSummary.pluggable_database_management_configcCs
||_dS)a'
        Sets the pluggable_database_management_config of this PluggableDatabaseSummary.

        :param pluggable_database_management_config: The pluggable_database_management_config of this PluggableDatabaseSummary.
        :type: oci.database.models.PluggableDatabaseManagementConfig
        NrP)r>r"r@r@rAr"�scCst|�S�N)rrDr@r@rA�__repr__sz!PluggableDatabaseSummary.__repr__cCs|durdS|j|jkS)NF)�__dict__�r>�otherr@r@rA�__eq__szPluggableDatabaseSummary.__eq__cCs
||kSrQr@rTr@r@rA�__ne__szPluggableDatabaseSummary.__ne__N)!�__name__�
__module__�__qualname__�__doc__�LIFECYCLE_STATE_PROVISIONING�LIFECYCLE_STATE_AVAILABLE�LIFECYCLE_STATE_TERMINATING�LIFECYCLE_STATE_TERMINATED�LIFECYCLE_STATE_UPDATING�LIFECYCLE_STATE_FAILED�OPEN_MODE_READ_ONLY�OPEN_MODE_READ_WRITE�OPEN_MODE_MOUNTED�OPEN_MODE_MIGRATErB�propertyr�setterrrrrrrrrrr r!r"rRrVrWr@r@r@rAr
s�l
















	
	












	
	rN)�oci.utilrrr�oci.decoratorsr�objectrr@r@r@rA�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit