| 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 : |
a
���f%� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdZdZdZdZdZdZ dZ
d Zd
ZdZ
dd
� 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� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;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$edJdK� �Z%e%jdLdK� �Z%edMdN� �Z&e&jdOdN� �Z&edPdQ� �Z'e'jdRdQ� �Z'edSdT� �Z(e(jdUdT� �Z(edVdW� �Z)e)jdXdW� �Z)edYdZ� �Z*e*jd[dZ� �Z*ed\d]� �Z+e+jd^d]� �Z+ed_d`� �Z,e,jdad`� �Z,edbdc� �Z-e-jdddc� �Z-ededf� �Z.e.jdgdf� �Z.edhdi� �Z/e/jdjdi� �Z/dkdl� Z0dmdn� Z1dodp� Z2dqS )r�DatabaseSummarya�
An Oracle Database on a bare metal or virtual machine DB system. For more information, see `Bare Metal and Virtual Machine DB Systems`__.
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're 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/Database/Concepts/overview.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
�PROVISIONING� AVAILABLE�UPDATING�BACKUP_IN_PROGRESS� UPGRADING�
CONVERTING�TERMINATING�
TERMINATED�RESTORE_FAILED�FAILEDc K sJ dddddddddddddddddddddddddddd dddd
�| _ 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*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _d*| _ d*S )+a�
Initializes a new DatabaseSummary 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 DatabaseSummary.
:type id: str
:param compartment_id:
The value to assign to the compartment_id property of this DatabaseSummary.
:type compartment_id: str
:param character_set:
The value to assign to the character_set property of this DatabaseSummary.
:type character_set: str
:param ncharacter_set:
The value to assign to the ncharacter_set property of this DatabaseSummary.
:type ncharacter_set: str
:param db_home_id:
The value to assign to the db_home_id property of this DatabaseSummary.
:type db_home_id: str
:param db_system_id:
The value to assign to the db_system_id property of this DatabaseSummary.
:type db_system_id: str
:param vm_cluster_id:
The value to assign to the vm_cluster_id property of this DatabaseSummary.
:type vm_cluster_id: str
:param db_name:
The value to assign to the db_name property of this DatabaseSummary.
:type db_name: str
:param pdb_name:
The value to assign to the pdb_name property of this DatabaseSummary.
:type pdb_name: str
:param db_workload:
The value to assign to the db_workload property of this DatabaseSummary.
:type db_workload: str
:param db_unique_name:
The value to assign to the db_unique_name property of this DatabaseSummary.
:type db_unique_name: str
:param lifecycle_details:
The value to assign to the lifecycle_details property of this DatabaseSummary.
:type lifecycle_details: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this DatabaseSummary.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
:param time_created:
The value to assign to the time_created property of this DatabaseSummary.
:type time_created: datetime
:param last_backup_timestamp:
The value to assign to the last_backup_timestamp property of this DatabaseSummary.
:type last_backup_timestamp: datetime
:param last_backup_duration_in_seconds:
The value to assign to the last_backup_duration_in_seconds property of this DatabaseSummary.
:type last_backup_duration_in_seconds: int
:param last_failed_backup_timestamp:
The value to assign to the last_failed_backup_timestamp property of this DatabaseSummary.
:type last_failed_backup_timestamp: datetime
:param db_backup_config:
The value to assign to the db_backup_config property of this DatabaseSummary.
:type db_backup_config: oci.database.models.DbBackupConfig
:param freeform_tags:
The value to assign to the freeform_tags property of this DatabaseSummary.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this DatabaseSummary.
:type defined_tags: dict(str, dict(str, object))
:param connection_strings:
The value to assign to the connection_strings property of this DatabaseSummary.
:type connection_strings: oci.database.models.DatabaseConnectionStrings
:param kms_key_id:
The value to assign to the kms_key_id property of this DatabaseSummary.
:type kms_key_id: str
:param kms_key_version_id:
The value to assign to the kms_key_version_id property of this DatabaseSummary.
:type kms_key_version_id: str
:param vault_id:
The value to assign to the vault_id property of this DatabaseSummary.
:type vault_id: str
:param source_database_point_in_time_recovery_timestamp:
The value to assign to the source_database_point_in_time_recovery_timestamp property of this DatabaseSummary.
:type source_database_point_in_time_recovery_timestamp: datetime
:param database_software_image_id:
The value to assign to the database_software_image_id property of this DatabaseSummary.
:type database_software_image_id: str
:param is_cdb:
The value to assign to the is_cdb property of this DatabaseSummary.
:type is_cdb: bool
:param database_management_config:
The value to assign to the database_management_config property of this DatabaseSummary.
:type database_management_config: oci.database.models.CloudDatabaseManagementConfig
:param sid_prefix:
The value to assign to the sid_prefix property of this DatabaseSummary.
:type sid_prefix: str
:param key_store_id:
The value to assign to the key_store_id property of this DatabaseSummary.
:type key_store_id: str
:param key_store_wallet_name:
The value to assign to the key_store_wallet_name property of this DatabaseSummary.
:type key_store_wallet_name: str
�strZdatetime�intZDbBackupConfigzdict(str, str)zdict(str, dict(str, object))ZDatabaseConnectionStrings�boolZCloudDatabaseManagementConfig)�id�compartment_id�
character_set�ncharacter_set�
db_home_id�db_system_id�
vm_cluster_id�db_name�pdb_name�db_workload�db_unique_name�lifecycle_details�lifecycle_state�time_created�last_backup_timestamp�last_backup_duration_in_seconds�last_failed_backup_timestamp�db_backup_config�
freeform_tags�defined_tags�connection_strings�
kms_key_id�kms_key_version_id�vault_id�0source_database_point_in_time_recovery_timestamp�database_software_image_id�is_cdb�database_management_config�
sid_prefix�key_store_id�key_store_wallet_namer Z
compartmentIdZcharacterSetZ
ncharacterSetZdbHomeIdZ
dbSystemIdZvmClusterIdZdbNameZpdbNameZ
dbWorkloadZdbUniqueNameZlifecycleDetailsZlifecycleStateZtimeCreatedZlastBackupTimestampZlastBackupDurationInSecondsZlastFailedBackupTimestampZdbBackupConfigZfreeformTagsZdefinedTagsZconnectionStringsZkmsKeyIdZkmsKeyVersionIdZvaultIdZ*sourceDatabasePointInTimeRecoveryTimestampZdatabaseSoftwareImageIdZisCdbZdatabaseManagementConfigZ sidPrefixZ
keyStoreIdZkeyStoreWalletNameN)!Z
swagger_typesZ
attribute_map�_id�_compartment_id�_character_set�_ncharacter_set�_db_home_id�
_db_system_id�_vm_cluster_id�_db_name� _pdb_name�_db_workload�_db_unique_name�_lifecycle_details�_lifecycle_state�
_time_created�_last_backup_timestamp� _last_backup_duration_in_seconds�_last_failed_backup_timestamp�_db_backup_config�_freeform_tags�
_defined_tags�_connection_strings�_kms_key_id�_kms_key_version_id� _vault_id�1_source_database_point_in_time_recovery_timestamp�_database_software_image_id�_is_cdb�_database_management_config�_sid_prefix�
_key_store_id�_key_store_wallet_name)�self�kwargs� rT �H/usr/lib/python3.9/site-packages/oci/database/models/database_summary.py�__init__A s� �#�"zDatabaseSummary.__init__c C s | j S )a
**[Required]** Gets the id of this DatabaseSummary.
The `OCID`__ of the database.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:return: The id of this DatabaseSummary.
:rtype: str
�r3 �rR rT rT rU r ) s zDatabaseSummary.idc C s
|| _ dS )z�
Sets the id of this DatabaseSummary.
The `OCID`__ of the database.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param id: The id of this DatabaseSummary.
:type: str
NrW )rR r rT rT rU r 7 s c C s | j S )a
**[Required]** Gets the compartment_id of this DatabaseSummary.
The `OCID`__ of the compartment.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:return: The compartment_id of this DatabaseSummary.
:rtype: str
�r4 rX rT rT rU r E s zDatabaseSummary.compartment_idc C s
|| _ dS )a
Sets the compartment_id of this DatabaseSummary.
The `OCID`__ of the compartment.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param compartment_id: The compartment_id of this DatabaseSummary.
:type: str
NrY )rR r rT rT rU r S s c C s | j S )z�
Gets the character_set of this DatabaseSummary.
The character set for the database.
:return: The character_set of this DatabaseSummary.
:rtype: str
�r5 rX rT rT rU r a s
zDatabaseSummary.character_setc C s
|| _ dS )z�
Sets the character_set of this DatabaseSummary.
The character set for the database.
:param character_set: The character_set of this DatabaseSummary.
:type: str
NrZ )rR r rT rT rU r m s
c C s | j S )z�
Gets the ncharacter_set of this DatabaseSummary.
The national character set for the database.
:return: The ncharacter_set of this DatabaseSummary.
:rtype: str
�r6 rX rT rT rU r y s
zDatabaseSummary.ncharacter_setc C s
|| _ dS )z�
Sets the ncharacter_set of this DatabaseSummary.
The national character set for the database.
:param ncharacter_set: The ncharacter_set of this DatabaseSummary.
:type: str
Nr[ )rR r rT rT rU r � s
c C s | j S )a
Gets the db_home_id of this DatabaseSummary.
The `OCID`__ of the Database Home.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:return: The db_home_id of this DatabaseSummary.
:rtype: str
�r7 rX rT rT rU r � s zDatabaseSummary.db_home_idc C s
|| _ dS )a
Sets the db_home_id of this DatabaseSummary.
The `OCID`__ of the Database Home.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param db_home_id: The db_home_id of this DatabaseSummary.
:type: str
Nr\ )rR r rT rT rU r � s c C s | j S )a
Gets the db_system_id of this DatabaseSummary.
The `OCID`__ of the DB system.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:return: The db_system_id of this DatabaseSummary.
:rtype: str
�r8 rX rT rT rU r � s zDatabaseSummary.db_system_idc C s
|| _ dS )a
Sets the db_system_id of this DatabaseSummary.
The `OCID`__ of the DB system.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param db_system_id: The db_system_id of this DatabaseSummary.
:type: str
Nr] )rR r rT rT rU r � s c C s | j S )a
Gets the vm_cluster_id of this DatabaseSummary.
The `OCID`__ of the VM cluster.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:return: The vm_cluster_id of this DatabaseSummary.
:rtype: str
�r9 rX rT rT rU r � s zDatabaseSummary.vm_cluster_idc C s
|| _ dS )a
Sets the vm_cluster_id of this DatabaseSummary.
The `OCID`__ of the VM cluster.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param vm_cluster_id: The vm_cluster_id of this DatabaseSummary.
:type: str
Nr^ )rR r rT rT rU r � s c C s | j S )z�
**[Required]** Gets the db_name of this DatabaseSummary.
The database name.
:return: The db_name of this DatabaseSummary.
:rtype: str
�r: rX rT rT rU r � s
zDatabaseSummary.db_namec C s
|| _ dS )z�
Sets the db_name of this DatabaseSummary.
The database name.
:param db_name: The db_name of this DatabaseSummary.
:type: str
Nr_ )rR r rT rT rU r � s
c C s | j S )a�
Gets the pdb_name of this DatabaseSummary.
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
:return: The pdb_name of this DatabaseSummary.
:rtype: str
�r; rX rT rT rU r � s
zDatabaseSummary.pdb_namec C s
|| _ dS )a�
Sets the pdb_name of this DatabaseSummary.
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
:param pdb_name: The pdb_name of this DatabaseSummary.
:type: str
Nr` )rR r rT rT rU r s
c C s | j S )a_
Gets the db_workload of this DatabaseSummary.
**Deprecated.** The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service.
Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
The database workload type.
:return: The db_workload of this DatabaseSummary.
:rtype: str
�r<