o
    ɶd                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   sz  e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdd Zedd Zejdd Zedd Zejdd Zedd Zejd d Zed!d" Zejd#d" Zed$d% Zejd&d% Zed'd( Z e jd)d( Z ed*d+ Z!e!jd,d+ Z!ed-d. Z"e"jd/d. Z"ed0d1 Z#e#jd2d1 Z#ed3d4 Z$e$jd5d4 Z$ed6d7 Z%e%jd8d7 Z%ed9d: Z&e&jd;d: Z&ed<d= Z'e'jd>d= Z'ed?d@ Z(e(jdAd@ Z(edBdC Z)e)jdDdC Z)edEdF Z*e*jdGdF Z*edHdI Z+e+jdJdI Z+edKdL Z,e,jdMdL Z,edNdO Z-e-jdPdO Z-edQdR Z.e.jdSdR Z.edTdU Z/e/jdVdU Z/edWdX Z0e0jdYdX Z0edZd[ Z1e1jd\d[ Z1ed]d^ Z2e2jd_d^ Z2ed`da Z3e3jdbda Z3edcdd Z4e4jdedd Z4edfdg Z5e5jdhdg Z5edidj Z6e6jdkdj Z6edldm Z7e7jdndm Z7edodp Z8e8jdqdp Z8edrds Z9e9jdtds Z9edudv Z:e:jdwdv Z:edxdy Z;e;jdzdy Z;ed{d| Z<e<jd}d| Z<ed~d Z=e=jdd Z=edd Z>e>jdd Z>edd Z?e?jdd Z?edd Z@e@jdd Z@edd ZAeAjdd ZAedd ZBeBjdd ZBedd ZCeCjdd ZCedd ZDeDjdd ZDedd ZEeEjdd ZEedd ZFeFjdd ZFedd ZGeGjdd ZGedd ZHeHjdd ZHedd ZIeIjdd ZIedd ZJeJjdd ZJedd ZKeKjdd ZKdd ZLdd ZMdd ZNdS )DbSystemz
    DbSystem model.
    BALANCEDHIGH_PERFORMANCESTANDARD_EDITIONENTERPRISE_EDITION#ENTERPRISE_EDITION_HIGH_PERFORMANCE&ENTERPRISE_EDITION_EXTREME_PERFORMANCEPROVISIONING	AVAILABLEUPDATINGTERMINATING
TERMINATEDFAILEDMIGRATEDMAINTENANCE_IN_PROGRESSNEEDS_ATTENTION	UPGRADINGHIGHNORMALLICENSE_INCLUDEDBRING_YOUR_OWN_LICENSEc                 K   s  i 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i 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*ddd+d,dd#d-d.| _ i dd/dddd0dd1dd2dd3d
d4dd5dd6dd7dd8dd9dddd:dd;dd<ddi dddd=dddd>dd?dd@ddAddBddCd dDd!dEd"dFd$dGd%dHd&dId(dJd)dKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd.| _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[| _+d[| _,d[| _-d[| _.d[| _/d[| _0d[| _1d[| _2d[S )\a3#  
        Initializes a new DbSystem object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param iorm_config_cache:
            The value to assign to the iorm_config_cache property of this DbSystem.
        :type iorm_config_cache: oci.database.models.ExadataIormConfig

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

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

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

        :param availability_domain:
            The value to assign to the availability_domain property of this DbSystem.
        :type availability_domain: str

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

        :param subnet_id:
            The value to assign to the subnet_id property of this DbSystem.
        :type subnet_id: str

        :param backup_subnet_id:
            The value to assign to the backup_subnet_id property of this DbSystem.
        :type backup_subnet_id: str

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

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

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

        :param storage_volume_performance_mode:
            The value to assign to the storage_volume_performance_mode property of this DbSystem.
            Allowed values for this property are: "BALANCED", "HIGH_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type storage_volume_performance_mode: str

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

        :param db_system_options:
            The value to assign to the db_system_options property of this DbSystem.
        :type db_system_options: oci.database.models.DbSystemOptions

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

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

        :param hostname:
            The value to assign to the hostname property of this DbSystem.
        :type hostname: str

        :param domain:
            The value to assign to the domain property of this DbSystem.
        :type domain: str

        :param kms_key_id:
            The value to assign to the kms_key_id property of this DbSystem.
        :type kms_key_id: str

        :param version:
            The value to assign to the version property of this DbSystem.
        :type version: str

        :param os_version:
            The value to assign to the os_version property of this DbSystem.
        :type os_version: str

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

        :param cluster_name:
            The value to assign to the cluster_name property of this DbSystem.
        :type cluster_name: str

        :param data_storage_percentage:
            The value to assign to the data_storage_percentage property of this DbSystem.
        :type data_storage_percentage: int

        :param database_edition:
            The value to assign to the database_edition property of this DbSystem.
            Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type database_edition: str

        :param last_patch_history_entry_id:
            The value to assign to the last_patch_history_entry_id property of this DbSystem.
        :type last_patch_history_entry_id: str

        :param listener_port:
            The value to assign to the listener_port property of this DbSystem.
        :type listener_port: int

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this DbSystem.
            Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MIGRATED", "MAINTENANCE_IN_PROGRESS", "NEEDS_ATTENTION", "UPGRADING", '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 DbSystem.
        :type time_created: datetime

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

        :param disk_redundancy:
            The value to assign to the disk_redundancy property of this DbSystem.
            Allowed values for this property are: "HIGH", "NORMAL", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type disk_redundancy: str

        :param sparse_diskgroup:
            The value to assign to the sparse_diskgroup property of this DbSystem.
        :type sparse_diskgroup: bool

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

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

        :param scan_dns_record_id:
            The value to assign to the scan_dns_record_id property of this DbSystem.
        :type scan_dns_record_id: str

        :param scan_dns_name:
            The value to assign to the scan_dns_name property of this DbSystem.
        :type scan_dns_name: str

        :param zone_id:
            The value to assign to the zone_id property of this DbSystem.
        :type zone_id: str

        :param data_storage_size_in_gbs:
            The value to assign to the data_storage_size_in_gbs property of this DbSystem.
        :type data_storage_size_in_gbs: int

        :param reco_storage_size_in_gb:
            The value to assign to the reco_storage_size_in_gb property of this DbSystem.
        :type reco_storage_size_in_gb: int

        :param node_count:
            The value to assign to the node_count property of this DbSystem.
        :type node_count: int

        :param license_model:
            The value to assign to the license_model property of this DbSystem.
            Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type license_model: str

        :param maintenance_window:
            The value to assign to the maintenance_window property of this DbSystem.
        :type maintenance_window: oci.database.models.MaintenanceWindow

        :param last_maintenance_run_id:
            The value to assign to the last_maintenance_run_id property of this DbSystem.
        :type last_maintenance_run_id: str

        :param next_maintenance_run_id:
            The value to assign to the next_maintenance_run_id property of this DbSystem.
        :type next_maintenance_run_id: str

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

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

        :param source_db_system_id:
            The value to assign to the source_db_system_id property of this DbSystem.
        :type source_db_system_id: str

        :param point_in_time_data_disk_clone_timestamp:
            The value to assign to the point_in_time_data_disk_clone_timestamp property of this DbSystem.
        :type point_in_time_data_disk_clone_timestamp: datetime

        :param data_collection_options:
            The value to assign to the data_collection_options property of this DbSystem.
        :type data_collection_options: oci.database.models.DataCollectionOptions

        iorm_config_cacheZExadataIormConfigidstrcompartment_iddisplay_nameavailability_domainfault_domainsz	list[str]	subnet_idbackup_subnet_idnsg_idsbackup_network_nsg_idsmemory_size_in_gbsintstorage_volume_performance_modeshapedb_system_optionsZDbSystemOptionsssh_public_keys	time_zonehostnamedomain
kms_key_idversion
os_versioncpu_core_countcluster_namedata_storage_percentagedatabase_editionlast_patch_history_entry_idlistener_portlifecycle_statetime_createddatetimelifecycle_detailsdisk_redundancysparse_diskgroupboolscan_ip_idsvip_idsZMaintenanceWindowzdict(str, str)zdict(str, dict(str, object))ZDataCollectionOptions)scan_dns_record_idscan_dns_namezone_iddata_storage_size_in_gbsreco_storage_size_in_gb
node_countlicense_modelmaintenance_windowlast_maintenance_run_idnext_maintenance_run_idfreeform_tagsdefined_tagssource_db_system_id'point_in_time_data_disk_clone_timestampdata_collection_optionsZiormConfigCacheZcompartmentIdZdisplayNameZavailabilityDomainZfaultDomainsZsubnetIdZbackupSubnetIdZnsgIdsZbackupNetworkNsgIdsZmemorySizeInGBsZstorageVolumePerformanceModeZdbSystemOptionsZsshPublicKeysZtimeZoneZkmsKeyIdZ	osVersionZcpuCoreCountZclusterNameZdataStoragePercentageZdatabaseEditionZlastPatchHistoryEntryIdZlistenerPortZlifecycleStateZtimeCreatedZlifecycleDetailsZdiskRedundancyZsparseDiskgroupZ	scanIpIdsZvipIdsZscanDnsRecordIdZscanDnsNameZzoneIdZdataStorageSizeInGBsZrecoStorageSizeInGBZ	nodeCountZlicenseModelZmaintenanceWindowZlastMaintenanceRunIdZnextMaintenanceRunIdZfreeformTagsZdefinedTagsZsourceDbSystemIdZ!pointInTimeDataDiskCloneTimestampZdataCollectionOptionsN)3Zswagger_typesZattribute_map_iorm_config_cache_id_compartment_id_display_name_availability_domain_fault_domains
_subnet_id_backup_subnet_id_nsg_ids_backup_network_nsg_ids_memory_size_in_gbs _storage_volume_performance_mode_shape_db_system_options_ssh_public_keys
_time_zone	_hostname_domain_kms_key_id_version_os_version_cpu_core_count_cluster_name_data_storage_percentage_database_edition_last_patch_history_entry_id_listener_port_lifecycle_state_time_created_lifecycle_details_disk_redundancy_sparse_diskgroup_scan_ip_ids_vip_ids_scan_dns_record_id_scan_dns_name_zone_id_data_storage_size_in_gbs_reco_storage_size_in_gb_node_count_license_model_maintenance_window_last_maintenance_run_id_next_maintenance_run_id_freeform_tags_defined_tags_source_db_system_id(_point_in_time_data_disk_clone_timestamp_data_collection_options)selfkwargs r   Ausr/lib/python3.10/site-packages/oci/database/models/db_system.py__init__b   s   U	
 !"#
4	
 !"#
4
zDbSystem.__init__c                 C      | j S )z
        Gets the iorm_config_cache of this DbSystem.

        :return: The iorm_config_cache of this DbSystem.
        :rtype: oci.database.models.ExadataIormConfig
        rP   r   r   r   r   r        zDbSystem.iorm_config_cachec                 C   
   || _ dS )z
        Sets the iorm_config_cache of this DbSystem.

        :param iorm_config_cache: The iorm_config_cache of this DbSystem.
        :type: oci.database.models.ExadataIormConfig
        Nr   )r   r   r   r   r   r        
c                 C   r   )z
        **[Required]** Gets the id of this DbSystem.
        The `OCID`__ of the DB system.

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


        :return: The id of this DbSystem.
        :rtype: str
        rQ   r   r   r   r   r        zDbSystem.idc                 C   r   )z
        Sets the id of this DbSystem.
        The `OCID`__ of the DB system.

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


        :param id: The id of this DbSystem.
        :type: str
        Nr   )r   r   r   r   r   r        
c                 C   r   )a  
        **[Required]** Gets the compartment_id of this DbSystem.
        The `OCID`__ of the compartment.

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


        :return: The compartment_id of this DbSystem.
        :rtype: str
        rR   r   r   r   r   r      r   zDbSystem.compartment_idc                 C   r   )a  
        Sets the compartment_id of this DbSystem.
        The `OCID`__ of the compartment.

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


        :param compartment_id: The compartment_id of this DbSystem.
        :type: str
        Nr   )r   r   r   r   r   r     r   c                 C   r   )z
        **[Required]** Gets the display_name of this DbSystem.
        The user-friendly name for the DB system. The name does not have to be unique.


        :return: The display_name of this DbSystem.
        :rtype: str
        rS   r   r   r   r   r        
zDbSystem.display_namec                 C   r   )z
        Sets the display_name of this DbSystem.
        The user-friendly name for the DB system. The name does not have to be unique.


        :param display_name: The display_name of this DbSystem.
        :type: str
        Nr   )r   r   r   r   r   r   (     

c                 C   r   )z
        **[Required]** Gets the availability_domain of this DbSystem.
        The name of the availability domain that the DB system is located in.


        :return: The availability_domain of this DbSystem.
        :rtype: str
        rT   r   r   r   r   r    4  r   zDbSystem.availability_domainc                 C   r   )z
        Sets the availability_domain of this DbSystem.
        The name of the availability domain that the DB system is located in.


        :param availability_domain: The availability_domain of this DbSystem.
        :type: str
        Nr   )r   r    r   r   r   r    @  r   c                 C   r   )z
        Gets the fault_domains of this DbSystem.
        List of the Fault Domains in which this DB system is provisioned.


        :return: The fault_domains of this DbSystem.
        :rtype: list[str]
        rU   r   r   r   r   r!   L  r   zDbSystem.fault_domainsc                 C   r   )z
        Sets the fault_domains of this DbSystem.
        List of the Fault Domains in which this DB system is provisioned.


        :param fault_domains: The fault_domains of this DbSystem.
        :type: list[str]
        Nr   )r   r!   r   r   r   r!   X  r   c                 C   r   )aa  
        **[Required]** Gets the subnet_id of this DbSystem.
        The `OCID`__ of the subnet the DB system is associated with.

        **Subnet Restrictions:**
        - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
        - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.

        These subnets are used by the Oracle Clusterware private interconnect on the database instance.
        Specifying an overlapping subnet will cause the private interconnect to malfunction.
        This restriction applies to both the client subnet and backup subnet.

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


        :return: The subnet_id of this DbSystem.
        :rtype: str
        rV   r   r   r   r   r"   d  s   zDbSystem.subnet_idc                 C   r   )aZ  
        Sets the subnet_id of this DbSystem.
        The `OCID`__ of the subnet the DB system is associated with.

        **Subnet Restrictions:**
        - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28.
        - For Exadata and virtual machine 2-node RAC DB systems, do not use a subnet that overlaps with 192.168.128.0/20.

        These subnets are used by the Oracle Clusterware private interconnect on the database instance.
        Specifying an overlapping subnet will cause the private interconnect to malfunction.
        This restriction applies to both the client subnet and backup subnet.

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


        :param subnet_id: The subnet_id of this DbSystem.
        :type: str
        Nr   )r   r"   r   r   r   r"   z  s   
c                 C   r   )a  
        Gets the backup_subnet_id of this DbSystem.
        The `OCID`__ of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.

        **Subnet Restriction:** See the subnet restrictions information for **subnetId**.

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


        :return: The backup_subnet_id of this DbSystem.
        :rtype: str
        rW   r   r   r   r   r#     s   zDbSystem.backup_subnet_idc                 C   r   )a  
        Sets the backup_subnet_id of this DbSystem.
        The `OCID`__ of the backup network subnet the DB system is associated with. Applicable only to Exadata DB systems.

        **Subnet Restriction:** See the subnet restrictions information for **subnetId**.

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


        :param backup_subnet_id: The backup_subnet_id of this DbSystem.
        :type: str
        Nr   )r   r#   r   r   r   r#     s   
c                 C   r   )a  
        Gets the nsg_ids of this DbSystem.
        The list of `OCIDs`__ for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see `Security Rules`__.
        **NsgIds restrictions:**
        - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.

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


        :return: The nsg_ids of this DbSystem.
        :rtype: list[str]
        rX   r   r   r   r   r$        zDbSystem.nsg_idsc                 C   r   )a  
        Sets the nsg_ids of this DbSystem.
        The list of `OCIDs`__ for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see `Security Rules`__.
        **NsgIds restrictions:**
        - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.

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


        :param nsg_ids: The nsg_ids of this DbSystem.
        :type: list[str]
        Nr   )r   r$   r   r   r   r$        
c                 C   r   )az  
        Gets the backup_network_nsg_ids of this DbSystem.
        A list of the `OCIDs`__ of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see `Security Rules`__. Applicable only to Exadata systems.

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


        :return: The backup_network_nsg_ids of this DbSystem.
        :rtype: list[str]
        rY   r   r   r   r   r%        zDbSystem.backup_network_nsg_idsc                 C   r   )a  
        Sets the backup_network_nsg_ids of this DbSystem.
        A list of the `OCIDs`__ of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see `Security Rules`__. Applicable only to Exadata systems.

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


        :param backup_network_nsg_ids: The backup_network_nsg_ids of this DbSystem.
        :type: list[str]
        Nr   )r   r%   r   r   r   r%        
c                 C   r   )z
        Gets the memory_size_in_gbs of this DbSystem.
        Memory allocated to the DB system, in gigabytes.


        :return: The memory_size_in_gbs of this DbSystem.
        :rtype: int
        rZ   r   r   r   r   r&     r   zDbSystem.memory_size_in_gbsc                 C   r   )z
        Sets the memory_size_in_gbs of this DbSystem.
        Memory allocated to the DB system, in gigabytes.


        :param memory_size_in_gbs: The memory_size_in_gbs of this DbSystem.
        :type: int
        Nr   )r   r&   r   r   r   r&     r   c                 C   r   )ag  
        Gets the storage_volume_performance_mode of this DbSystem.
        The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See `Block Volume Performance`__ for more information.

        __ https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumeperformance.htm

        Allowed values for this property are: "BALANCED", "HIGH_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The storage_volume_performance_mode of this DbSystem.
        :rtype: str
        )r[   r   r   r   r   r(     r   z(DbSystem.storage_volume_performance_modec                 C       ddg}t ||sd}|| _dS )a  
        Sets the storage_volume_performance_mode of this DbSystem.
        The block storage volume performance level. Valid values are `BALANCED` and `HIGH_PERFORMANCE`. See `Block Volume Performance`__ for more information.

        __ https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumeperformance.htm


        :param storage_volume_performance_mode: The storage_volume_performance_mode of this DbSystem.
        :type: str
        r   r   UNKNOWN_ENUM_VALUEN)r   r[   )r   r(   allowed_valuesr   r   r   r(        

c                 C   r   )a  
        **[Required]** Gets the shape of this DbSystem.
        The shape of the DB system. The shape determines resources to allocate to the DB system.
        - For virtual machine shapes, the number of CPU cores and memory
        - For bare metal and Exadata shapes, the number of CPU cores, storage, and memory


        :return: The shape of this DbSystem.
        :rtype: str
        r\   r   r   r   r   r)   *  r   zDbSystem.shapec                 C   r   )a}  
        Sets the shape of this DbSystem.
        The shape of the DB system. The shape determines resources to allocate to the DB system.
        - For virtual machine shapes, the number of CPU cores and memory
        - For bare metal and Exadata shapes, the number of CPU cores, storage, and memory


        :param shape: The shape of this DbSystem.
        :type: str
        Nr   )r   r)   r   r   r   r)   8  r   c                 C   r   )z
        Gets the db_system_options of this DbSystem.

        :return: The db_system_options of this DbSystem.
        :rtype: oci.database.models.DbSystemOptions
        r]   r   r   r   r   r*   F  r   zDbSystem.db_system_optionsc                 C   r   )z
        Sets the db_system_options of this DbSystem.

        :param db_system_options: The db_system_options of this DbSystem.
        :type: oci.database.models.DbSystemOptions
        Nr   )r   r*   r   r   r   r*   P  r   c                 C   r   )z
        **[Required]** Gets the ssh_public_keys of this DbSystem.
        The public key portion of one or more key pairs used for SSH access to the DB system.


        :return: The ssh_public_keys of this DbSystem.
        :rtype: list[str]
        r^   r   r   r   r   r+   Z  r   zDbSystem.ssh_public_keysc                 C   r   )z
        Sets the ssh_public_keys of this DbSystem.
        The public key portion of one or more key pairs used for SSH access to the DB system.


        :param ssh_public_keys: The ssh_public_keys of this DbSystem.
        :type: list[str]
        Nr   )r   r+   r   r   r   r+   f  r   c                 C   r   )a$  
        Gets the time_zone of this DbSystem.
        The time zone of the DB system. For details, see `DB System Time Zones`__.

        __ https://docs.cloud.oracle.com/Content/Database/References/timezones.htm


        :return: The time_zone of this DbSystem.
        :rtype: str
        r_   r   r   r   r   r,   r  r   zDbSystem.time_zonec                 C   r   )a,  
        Sets the time_zone of this DbSystem.
        The time zone of the DB system. For details, see `DB System Time Zones`__.

        __ https://docs.cloud.oracle.com/Content/Database/References/timezones.htm


        :param time_zone: The time_zone of this DbSystem.
        :type: str
        Nr   )r   r,   r   r   r   r,     r   c                 C   r   )z
        **[Required]** Gets the hostname of this DbSystem.
        The hostname for the DB system.


        :return: The hostname of this DbSystem.
        :rtype: str
        r`   r   r   r   r   r-     r   zDbSystem.hostnamec                 C   r   )z
        Sets the hostname of this DbSystem.
        The hostname for the DB system.


        :param hostname: The hostname of this DbSystem.
        :type: str
        Nr   )r   r-   r   r   r   r-     r   c                 C   r   )z
        **[Required]** Gets the domain of this DbSystem.
        The domain name for the DB system.


        :return: The domain of this DbSystem.
        :rtype: str
        ra   r   r   r   r   r.     r   zDbSystem.domainc                 C   r   )z
        Sets the domain of this DbSystem.
        The domain name for the DB system.


        :param domain: The domain of this DbSystem.
        :type: str
        Nr   )r   r.   r   r   r   r.     r   c                 C   r   )a	  
        Gets the kms_key_id of this DbSystem.
        The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.


        :return: The kms_key_id of this DbSystem.
        :rtype: str
        rb   r   r   r   r   r/     r   zDbSystem.kms_key_idc                 C   r   )a  
        Sets the kms_key_id of this DbSystem.
        The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.


        :param kms_key_id: The kms_key_id of this DbSystem.
        :type: str
        Nr   )r   r/   r   r   r   r/     r   c                 C   r   )z
        Gets the version of this DbSystem.
        The Oracle Database version of the DB system.


        :return: The version of this DbSystem.
        :rtype: str
        rc   r   r   r   r   r0     r   zDbSystem.versionc                 C   r   )z
        Sets the version of this DbSystem.
        The Oracle Database version of the DB system.


        :param version: The version of this DbSystem.
        :type: str
        Nr   )r   r0   r   r   r   r0     r   c                 C   r   )z
        Gets the os_version of this DbSystem.
        The most recent OS Patch Version applied on the DB system.


        :return: The os_version of this DbSystem.
        :rtype: str
        rd   r   r   r   r   r1     r   zDbSystem.os_versionc                 C   r   )z
        Sets the os_version of this DbSystem.
        The most recent OS Patch Version applied on the DB system.


        :param os_version: The os_version of this DbSystem.
        :type: str
        Nr   )r   r1   r   r   r   r1     r   c                 C   r   )z
        **[Required]** Gets the cpu_core_count of this DbSystem.
        The number of CPU cores enabled on the DB system.


        :return: The cpu_core_count of this DbSystem.
        :rtype: int
        re   r   r   r   r   r2     r   zDbSystem.cpu_core_countc                 C   r   )z
        Sets the cpu_core_count of this DbSystem.
        The number of CPU cores enabled on the DB system.


        :param cpu_core_count: The cpu_core_count of this DbSystem.
        :type: int
        Nr   )r   r2   r   r   r   r2     r   c                 C   r   )a  
        Gets the cluster_name of this DbSystem.
        The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.


        :return: The cluster_name of this DbSystem.
        :rtype: str
        rf   r   r   r   r   r3     r   zDbSystem.cluster_namec                 C   r   )a  
        Sets the cluster_name of this DbSystem.
        The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.


        :param cluster_name: The cluster_name of this DbSystem.
        :type: str
        Nr   )r   r3   r   r   r   r3   *  r   c                 C   r   )a  
        Gets the data_storage_percentage of this DbSystem.
        The percentage assigned to DATA storage (user data and database files).
        The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 40 and 80. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.


        :return: The data_storage_percentage of this DbSystem.
        :rtype: int
        rg   r   r   r   r   r4   6  s   z DbSystem.data_storage_percentagec                 C   r   )a   
        Sets the data_storage_percentage of this DbSystem.
        The percentage assigned to DATA storage (user data and database files).
        The remaining percentage is assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). Accepted values are 40 and 80. The default is 80 percent assigned to DATA storage. Not applicable for virtual machine DB systems.


        :param data_storage_percentage: The data_storage_percentage of this DbSystem.
        :type: int
        Nr   )r   r4   r   r   r   r4   C  s   
c                 C   r   )a  
        **[Required]** Gets the database_edition of this DbSystem.
        The Oracle Database edition that applies to all the databases on the DB system.

        Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The database_edition of this DbSystem.
        :rtype: str
        )rh   r   r   r   r   r5   P  r   zDbSystem.database_editionc                 C       g d}t ||sd}|| _dS )z
        Sets the database_edition of this DbSystem.
        The Oracle Database edition that applies to all the databases on the DB system.


        :param database_edition: The database_edition of this DbSystem.
        :type: str
        )r	   r
   r   r   r   N)r   rh   )r   r5   r   r   r   r   r5   _     


c                 C   r   )a_  
        Gets the last_patch_history_entry_id of this DbSystem.
        The `OCID`__ of the last patch history. This value is updated as soon as a patch operation starts.

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


        :return: The last_patch_history_entry_id of this DbSystem.
        :rtype: str
        ri   r   r   r   r   r6   n  r   z$DbSystem.last_patch_history_entry_idc                 C   r   )ay  
        Sets the last_patch_history_entry_id of this DbSystem.
        The `OCID`__ of the last patch history. This value is updated as soon as a patch operation starts.

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


        :param last_patch_history_entry_id: The last_patch_history_entry_id of this DbSystem.
        :type: str
        Nr   )r   r6   r   r   r   r6   |  r   c                 C   r   )z
        Gets the listener_port of this DbSystem.
        The port number configured for the listener on the DB system.


        :return: The listener_port of this DbSystem.
        :rtype: int
        rj   r   r   r   r   r7     r   zDbSystem.listener_portc                 C   r   )z
        Sets the listener_port of this DbSystem.
        The port number configured for the listener on the DB system.


        :param listener_port: The listener_port of this DbSystem.
        :type: int
        Nr   )r   r7   r   r   r   r7     r   c                 C   r   )a  
        **[Required]** Gets the lifecycle_state of this DbSystem.
        The current state of the DB system.

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


        :return: The lifecycle_state of this DbSystem.
        :rtype: str
        )rk   r   r   r   r   r8     r   zDbSystem.lifecycle_statec                 C   r   )z
        Sets the lifecycle_state of this DbSystem.
        The current state of the DB system.


        :param lifecycle_state: The lifecycle_state of this DbSystem.
        :type: str
        )
r   r   r   r   r   r   r   r   r   r   r   N)r   rk   )r   r8   r   r   r   r   r8     r   c                 C   r   )z
        Gets the time_created of this DbSystem.
        The date and time the DB system was created.


        :return: The time_created of this DbSystem.
        :rtype: datetime
        rl   r   r   r   r   r9     r   zDbSystem.time_createdc                 C   r   )z
        Sets the time_created of this DbSystem.
        The date and time the DB system was created.


        :param time_created: The time_created of this DbSystem.
        :type: datetime
        Nr   )r   r9   r   r   r   r9     r   c                 C   r   )z
        Gets the lifecycle_details of this DbSystem.
        Additional information about the current lifecycle state.


        :return: The lifecycle_details of this DbSystem.
        :rtype: str
        rm   r   r   r   r   r;     r   zDbSystem.lifecycle_detailsc                 C   r   )z
        Sets the lifecycle_details of this DbSystem.
        Additional information about the current lifecycle state.


        :param lifecycle_details: The lifecycle_details of this DbSystem.
        :type: str
        Nr   )r   r;   r   r   r   r;     r   c                 C   r   )a  
        Gets the disk_redundancy of this DbSystem.
        The type of redundancy configured for the DB system.
        NORMAL is 2-way redundancy.
        HIGH is 3-way redundancy.

        Allowed values for this property are: "HIGH", "NORMAL", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The disk_redundancy of this DbSystem.
        :rtype: str
        )rn   r   r   r   r   r<     r   zDbSystem.disk_redundancyc                 C   r   )a  
        Sets the disk_redundancy of this DbSystem.
        The type of redundancy configured for the DB system.
        NORMAL is 2-way redundancy.
        HIGH is 3-way redundancy.


        :param disk_redundancy: The disk_redundancy of this DbSystem.
        :type: str
        r   r   r   N)r   rn   )r   r<   r   r   r   r   r<     r   c                 C   r   )a  
        Gets the sparse_diskgroup of this DbSystem.
        True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup was not configured.


        :return: The sparse_diskgroup of this DbSystem.
        :rtype: bool
        ro   r   r   r   r   r=     r   zDbSystem.sparse_diskgroupc                 C   r   )a  
        Sets the sparse_diskgroup of this DbSystem.
        True, if Sparse Diskgroup is configured for Exadata dbsystem, False, if Sparse diskgroup was not configured.


        :param sparse_diskgroup: The sparse_diskgroup of this DbSystem.
        :type: bool
        Nr   )r   r=   r   r   r   r=     r   c                 C   r   )aG  
        Gets the scan_ip_ids of this DbSystem.
        The `OCID`__ of the Single Client Access Name (SCAN) IP addresses associated with the DB system.
        SCAN IP addresses are typically used for load balancing and are not assigned to any interface.
        Oracle Clusterware directs the requests to the appropriate nodes in the cluster.

        **Note:** For a single-node DB system, this list is empty.

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


        :return: The scan_ip_ids of this DbSystem.
        :rtype: list[str]
        rp   r   r   r   r   r?   *     zDbSystem.scan_ip_idsc                 C   r   )aQ  
        Sets the scan_ip_ids of this DbSystem.
        The `OCID`__ of the Single Client Access Name (SCAN) IP addresses associated with the DB system.
        SCAN IP addresses are typically used for load balancing and are not assigned to any interface.
        Oracle Clusterware directs the requests to the appropriate nodes in the cluster.

        **Note:** For a single-node DB system, this list is empty.

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


        :param scan_ip_ids: The scan_ip_ids of this DbSystem.
        :type: list[str]
        Nr   )r   r?   r   r   r   r?   <     
c                 C   r   )aF  
        Gets the vip_ids of this DbSystem.
        The `OCID`__ of the virtual IP (VIP) addresses associated with the DB system.
        The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to
        enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.

        **Note:** For a single-node DB system, this list is empty.

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


        :return: The vip_ids of this DbSystem.
        :rtype: list[str]
        rq   r   r   r   r   r@   N  r   zDbSystem.vip_idsc                 C   r   )aL  
        Sets the vip_ids of this DbSystem.
        The `OCID`__ of the virtual IP (VIP) addresses associated with the DB system.
        The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to
        enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.

        **Note:** For a single-node DB system, this list is empty.

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


        :param vip_ids: The vip_ids of this DbSystem.
        :type: list[str]
        Nr   )r   r@   r   r   r   r@   `  r   c                 C   r   )aK  
        Gets the scan_dns_record_id of this DbSystem.
        The `OCID`__ of the DNS record for the SCAN IP addresses that are associated with the DB system.

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


        :return: The scan_dns_record_id of this DbSystem.
        :rtype: str
        rr   r   r   r   r   rA   r  r   zDbSystem.scan_dns_record_idc                 C   r   )a\  
        Sets the scan_dns_record_id of this DbSystem.
        The `OCID`__ of the DNS record for the SCAN IP addresses that are associated with the DB system.

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


        :param scan_dns_record_id: The scan_dns_record_id of this DbSystem.
        :type: str
        Nr   )r   rA   r   r   r   rA     r   c                 C   r   )z
        Gets the scan_dns_name of this DbSystem.
        The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system.


        :return: The scan_dns_name of this DbSystem.
        :rtype: str
        rs   r   r   r   r   rB     r   zDbSystem.scan_dns_namec                 C   r   )z
        Sets the scan_dns_name of this DbSystem.
        The FQDN of the DNS record for the SCAN IP addresses that are associated with the DB system.


        :param scan_dns_name: The scan_dns_name of this DbSystem.
        :type: str
        Nr   )r   rB   r   r   r   rB     r   c                 C   r   )z
        Gets the zone_id of this DbSystem.
        The OCID of the zone the DB system is associated with.


        :return: The zone_id of this DbSystem.
        :rtype: str
        rt   r   r   r   r   rC     r   zDbSystem.zone_idc                 C   r   )z
        Sets the zone_id of this DbSystem.
        The OCID of the zone the DB system is associated with.


        :param zone_id: The zone_id of this DbSystem.
        :type: str
        Nr   )r   rC   r   r   r   rC     r   c                 C   r   )a#  
        Gets the data_storage_size_in_gbs of this DbSystem.
        The data storage size, in gigabytes, that is currently available to the DB system. Applies only for virtual machine DB systems.


        :return: The data_storage_size_in_gbs of this DbSystem.
        :rtype: int
        ru   r   r   r   r   rD     r   z!DbSystem.data_storage_size_in_gbsc                 C   r   )a:  
        Sets the data_storage_size_in_gbs of this DbSystem.
        The data storage size, in gigabytes, that is currently available to the DB system. Applies only for virtual machine DB systems.


        :param data_storage_size_in_gbs: The data_storage_size_in_gbs of this DbSystem.
        :type: int
        Nr   )r   rD   r   r   r   rD     r   c                 C   r   )a&  
        Gets the reco_storage_size_in_gb of this DbSystem.
        The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.


        :return: The reco_storage_size_in_gb of this DbSystem.
        :rtype: int
        rv   r   r   r   r   rE     r   z DbSystem.reco_storage_size_in_gbc                 C   r   )a<  
        Sets the reco_storage_size_in_gb of this DbSystem.
        The RECO/REDO storage size, in gigabytes, that is currently allocated to the DB system. Applies only for virtual machine DB systems.


        :param reco_storage_size_in_gb: The reco_storage_size_in_gb of this DbSystem.
        :type: int
        Nr   )r   rE   r   r   r   rE     r   c                 C   r   )z
        Gets the node_count of this DbSystem.
        The number of nodes in the DB system. For RAC DB systems, the value is greater than 1.


        :return: The node_count of this DbSystem.
        :rtype: int
        rw   r   r   r   r   rF     r   zDbSystem.node_countc                 C   r   )z
        Sets the node_count of this DbSystem.
        The number of nodes in the DB system. For RAC DB systems, the value is greater than 1.


        :param node_count: The node_count of this DbSystem.
        :type: int
        Nr   )r   rF   r   r   r   rF     r   c                 C   r   )a  
        Gets the license_model of this DbSystem.
        The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.

        Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The license_model of this DbSystem.
        :rtype: str
        )rx   r   r   r   r   rG     r   zDbSystem.license_modelc                 C   r   )a  
        Sets the license_model of this DbSystem.
        The Oracle license model that applies to all the databases on the DB system. The default is LICENSE_INCLUDED.


        :param license_model: The license_model of this DbSystem.
        :type: str
        r   r   r   N)r   rx   )r   rG   r   r   r   r   rG     r   c                 C   r   )z
        Gets the maintenance_window of this DbSystem.

        :return: The maintenance_window of this DbSystem.
        :rtype: oci.database.models.MaintenanceWindow
        ry   r   r   r   r   rH   $  r   zDbSystem.maintenance_windowc                 C   r   )z
        Sets the maintenance_window of this DbSystem.

        :param maintenance_window: The maintenance_window of this DbSystem.
        :type: oci.database.models.MaintenanceWindow
        Nr   )r   rH   r   r   r   rH   .  r   c                 C   r   )a  
        Gets the last_maintenance_run_id of this DbSystem.
        The `OCID`__ of the last maintenance run.

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


        :return: The last_maintenance_run_id of this DbSystem.
        :rtype: str
        rz   r   r   r   r   rI   8  r   z DbSystem.last_maintenance_run_idc                 C   r   )a4  
        Sets the last_maintenance_run_id of this DbSystem.
        The `OCID`__ of the last maintenance run.

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


        :param last_maintenance_run_id: The last_maintenance_run_id of this DbSystem.
        :type: str
        Nr   )r   rI   r   r   r   rI   F  r   c                 C   r   )a  
        Gets the next_maintenance_run_id of this DbSystem.
        The `OCID`__ of the next maintenance run.

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


        :return: The next_maintenance_run_id of this DbSystem.
        :rtype: str
        r{   r   r   r   r   rJ   T  r   z DbSystem.next_maintenance_run_idc                 C   r   )a4  
        Sets the next_maintenance_run_id of this DbSystem.
        The `OCID`__ of the next maintenance run.

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


        :param next_maintenance_run_id: The next_maintenance_run_id of this DbSystem.
        :type: str
        Nr   )r   rJ   r   r   r   rJ   b  r   c                 C   r   )a  
        Gets the freeform_tags of this DbSystem.
        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 DbSystem.
        :rtype: dict(str, str)
        r|   r   r   r   r   rK   p  r   zDbSystem.freeform_tagsc                 C   r   )a  
        Sets the freeform_tags of this DbSystem.
        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 DbSystem.
        :type: dict(str, str)
        Nr   )r   rK   r   r   r   rK     r   c                 C   r   )a  
        Gets the defined_tags of this DbSystem.
        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 DbSystem.
        :rtype: dict(str, dict(str, object))
        r}   r   r   r   r   rL     r   zDbSystem.defined_tagsc                 C   r   )a  
        Sets the defined_tags of this DbSystem.
        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 DbSystem.
        :type: dict(str, dict(str, object))
        Nr   )r   rL   r   r   r   rL     r   c                 C   r   )a  
        Gets the source_db_system_id of this DbSystem.
        The `OCID`__ of the DB system.

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


        :return: The source_db_system_id of this DbSystem.
        :rtype: str
        r~   r   r   r   r   rM     r   zDbSystem.source_db_system_idc                 C   r   )a  
        Sets the source_db_system_id of this DbSystem.
        The `OCID`__ of the DB system.

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


        :param source_db_system_id: The source_db_system_id of this DbSystem.
        :type: str
        Nr   )r   rM   r   r   r   rM     r   c                 C   r   )a  
        Gets the point_in_time_data_disk_clone_timestamp of this DbSystem.
        The point in time for a cloned database system when the data disks were cloned from the source database system, as described in `RFC 3339`__.

        __ https://tools.ietf.org/rfc/rfc3339


        :return: The point_in_time_data_disk_clone_timestamp of this DbSystem.
        :rtype: datetime
        r   r   r   r   r   rN     r   z0DbSystem.point_in_time_data_disk_clone_timestampc                 C   r   )a  
        Sets the point_in_time_data_disk_clone_timestamp of this DbSystem.
        The point in time for a cloned database system when the data disks were cloned from the source database system, as described in `RFC 3339`__.

        __ https://tools.ietf.org/rfc/rfc3339


        :param point_in_time_data_disk_clone_timestamp: The point_in_time_data_disk_clone_timestamp of this DbSystem.
        :type: datetime
        Nr   )r   rN   r   r   r   rN     r   c                 C   r   )z
        Gets the data_collection_options of this DbSystem.

        :return: The data_collection_options of this DbSystem.
        :rtype: oci.database.models.DataCollectionOptions
        r   r   r   r   r   rO     r   z DbSystem.data_collection_optionsc                 C   r   )z
        Sets the data_collection_options of this DbSystem.

        :param data_collection_options: The data_collection_options of this DbSystem.
        :type: oci.database.models.DataCollectionOptions
        Nr   )r   rO   r   r   r   rO     r   c                 C   s   t | S N)r   r   r   r   r   __repr__  s   zDbSystem.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__  s   zDbSystem.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__  s   
zDbSystem.__ne__N)O__name__
__module____qualname____doc__Z(STORAGE_VOLUME_PERFORMANCE_MODE_BALANCEDZ0STORAGE_VOLUME_PERFORMANCE_MODE_HIGH_PERFORMANCEZ!DATABASE_EDITION_STANDARD_EDITIONZ#DATABASE_EDITION_ENTERPRISE_EDITIONZ4DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCEZ7DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCEZLIFECYCLE_STATE_PROVISIONINGZLIFECYCLE_STATE_AVAILABLEZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_TERMINATINGZLIFECYCLE_STATE_TERMINATEDZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_MIGRATEDZ'LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESSZLIFECYCLE_STATE_NEEDS_ATTENTIONZLIFECYCLE_STATE_UPGRADINGZDISK_REDUNDANCY_HIGHZDISK_REDUNDANCY_NORMALZLICENSE_MODEL_LICENSE_INCLUDEDZ$LICENSE_MODEL_BRING_YOUR_OWN_LICENSEr   propertyr   setterr   r   r   r    r!   r"   r#   r$   r%   r&   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r;   r<   r=   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   r   r   r   r   r   r   r   r      s     p
	
	
























	
	






















































	
	












	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   