File: //lib/python3.9/site-packages/oci/database/models/__pycache__/db_system.cpython-39.pyc
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
dZd
ZdZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Z e jd)d(� �Z ed*d+� �Z!e!jd,d+� �Z!ed-d.� �Z"e"jd/d.� �Z"ed0d1� �Z#e#jd2d1� �Z#ed3d4� �Z$e$jd5d4� �Z$ed6d7� �Z%e%jd8d7� �Z%ed9d:� �Z&e&jd;d:� �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+edKdL� �Z,e,jdMdL� �Z,edNdO� �Z-e-jdPdO� �Z-edQdR� �Z.e.jdSdR� �Z.edTdU� �Z/e/jdVdU� �Z/edWdX� �Z0e0jdYdX� �Z0edZd[� �Z1e1jd\d[� �Z1ed]d^� �Z2e2jd_d^� �Z2ed`da� �Z3e3jdbda� �Z3edcdd� �Z4e4jdedd� �Z4edfdg� �Z5e5jdhdg� �Z5edidj� �Z6e6jdkdj� �Z6edldm� �Z7e7jdndm� �Z7edodp� �Z8e8jdqdp� �Z8edrds� �Z9e9jdtds� �Z9edudv� �Z:e:jdwdv� �Z:edxdy� �Z;e;jdzdy� �Z;ed{d|� �Z<e<jd}d|� �Z<ed~d� �Z=e=jd�d� �Z=ed�d�� �Z>e>jd�d�� �Z>ed�d�� �Z?e?jd�d�� �Z?ed�d�� �Z@e@jd�d�� �Z@ed�d�� �ZAeAjd�d�� �ZAed�d�� �ZBeBjd�d�� �ZBed�d�� �ZCeCjd�d�� �ZCed�d�� �ZDeDjd�d�� �ZDed�d�� �ZEeEjd�d�� �ZEed�d�� �ZFeFjd�d�� �ZFed�d�� �ZGeGjd�d�� �ZGed�d�� �ZHeHjd�d�� �ZHed�d�� �ZIeIjd�d�� �ZIed�d�� �ZJeJjd�d�� �ZJed�d�� �ZKeKjd�d�� �ZKed�d�� �ZLeLjd�d�� �ZLd�d�� ZMd�d�� ZNd�d�� ZOd�S )��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 3 K s dddddddddddddddddddddddddddddddddddddddddddddd d
dddd�2| _ d
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d�2| _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?| _3d?S )@a�#
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 gi_software_image_id:
The value to assign to the gi_software_image_id property of this DbSystem.
:type gi_software_image_id: 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
ZExadataIormConfig�strz list[str]�intZDbSystemOptionsZdatetime�boolZMaintenanceWindowzdict(str, str)zdict(str, dict(str, object))ZDataCollectionOptions)2�iorm_config_cache�id�compartment_id�display_name�availability_domain�
fault_domains� subnet_id�backup_subnet_id�nsg_ids�backup_network_nsg_ids�gi_software_image_id�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_optionsZiormConfigCacher Z
compartmentIdZdisplayNameZavailabilityDomainZfaultDomainsZsubnetIdZbackupSubnetIdZnsgIdsZbackupNetworkNsgIdsZgiSoftwareImageIdZmemorySizeInGBsZstorageVolumePerformanceModer+ ZdbSystemOptionsZ
sshPublicKeysZtimeZoner/ r0 ZkmsKeyIdr2 Z osVersionZcpuCoreCountZclusterNameZdataStoragePercentageZdatabaseEditionZlastPatchHistoryEntryIdZlistenerPortZlifecycleStateZtimeCreatedZlifecycleDetailsZdiskRedundancyZsparseDiskgroupZ scanIpIdsZvipIdsZscanDnsRecordIdZscanDnsNameZzoneIdZdataStorageSizeInGBsZrecoStorageSizeInGBZ nodeCountZlicenseModelZmaintenanceWindowZlastMaintenanceRunIdZnextMaintenanceRunIdZfreeformTagsZdefinedTagsZsourceDbSystemIdZ!pointInTimeDataDiskCloneTimestampZdataCollectionOptionsN)4Z
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�_gi_software_image_id�_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� �A/usr/lib/python3.9/site-packages/oci/database/models/db_system.py�__init__b s2 Z�6�5zDbSystem.__init__c C s | 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 � s zDbSystem.iorm_config_cachec C s
|| _ dS )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 � s c C s | j S )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 � s zDbSystem.idc C s
|| _ dS )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 � s c C s | j S )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 s zDbSystem.compartment_idc C s
|| _ dS )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 s c C s | j S )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! # s
zDbSystem.display_namec C s
|| _ dS )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! / s
c C s | j S )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"