ruạṛ
a O��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 Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zed=d>� �Z e jd?d>� �Z ed@dA� �Z!e!jdBdA� �Z!edCdD� �Z"e"jdEdD� �Z"edFdG� �Z#e#jdHdG� �Z#edIdJ� �Z$e$jdKdJ� �Z$edLdM� �Z%e%jdNdM� �Z%edOdP� �Z&e&jdQdP� �Z&edRdS� �Z'e'jdTdS� �Z'edUdV� �Z(e(jdWdV� �Z(edXdY� �Z)e)jdZdY� �Z)ed[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� �Z0e0jdodn� �Z0edpdq� �Z1e1jdrdq� �Z1edsdt� �Z2e2jdudt� �Z2dvdw� Z3dxdy� Z4dzd{� Z5d|S )}�DbSystemzI A DB System is the core logical unit of MySQL Database Service. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILED�ENABLED�DISABLEDc $ K sr dddddddddddddddddddddddd d ddddd d ddddd�#| _ ddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d�#| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _ d5| _ d5| _d5| _d5| _ d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _d5| _ d5| _!d5| _"d5| _#d5| _$d5S )6a 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 id: The value to assign to the id property of this DbSystem. :type id: str :param display_name: The value to assign to the display_name property of this DbSystem. :type display_name: str :param description: The value to assign to the description property of this DbSystem. :type description: str :param compartment_id: The value to assign to the compartment_id property of this DbSystem. :type compartment_id: str :param subnet_id: The value to assign to the subnet_id property of this DbSystem. :type subnet_id: str :param is_highly_available: The value to assign to the is_highly_available property of this DbSystem. :type is_highly_available: bool :param current_placement: The value to assign to the current_placement property of this DbSystem. :type current_placement: oci.mysql.models.DbSystemPlacement :param is_analytics_cluster_attached: The value to assign to the is_analytics_cluster_attached property of this DbSystem. :type is_analytics_cluster_attached: bool :param analytics_cluster: The value to assign to the analytics_cluster property of this DbSystem. :type analytics_cluster: oci.mysql.models.AnalyticsClusterSummary :param is_heat_wave_cluster_attached: The value to assign to the is_heat_wave_cluster_attached property of this DbSystem. :type is_heat_wave_cluster_attached: bool :param heat_wave_cluster: The value to assign to the heat_wave_cluster property of this DbSystem. :type heat_wave_cluster: oci.mysql.models.HeatWaveClusterSummary :param availability_domain: The value to assign to the availability_domain property of this DbSystem. :type availability_domain: str :param fault_domain: The value to assign to the fault_domain property of this DbSystem. :type fault_domain: str :param shape_name: The value to assign to the shape_name property of this DbSystem. :type shape_name: str :param mysql_version: The value to assign to the mysql_version property of this DbSystem. :type mysql_version: str :param backup_policy: The value to assign to the backup_policy property of this DbSystem. :type backup_policy: oci.mysql.models.BackupPolicy :param source: The value to assign to the source property of this DbSystem. :type source: oci.mysql.models.DbSystemSource :param configuration_id: The value to assign to the configuration_id property of this DbSystem. :type configuration_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 hostname_label: The value to assign to the hostname_label property of this DbSystem. :type hostname_label: str :param ip_address: The value to assign to the ip_address property of this DbSystem. :type ip_address: str :param port: The value to assign to the port property of this DbSystem. :type port: int :param port_x: The value to assign to the port_x property of this DbSystem. :type port_x: int :param endpoints: The value to assign to the endpoints property of this DbSystem. :type endpoints: list[oci.mysql.models.DbSystemEndpoint] :param channels: The value to assign to the channels property of this DbSystem. :type channels: list[oci.mysql.models.ChannelSummary] :param lifecycle_state: The value to assign to the lifecycle_state property of this DbSystem. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DbSystem. :type lifecycle_details: str :param maintenance: The value to assign to the maintenance property of this DbSystem. :type maintenance: oci.mysql.models.MaintenanceDetails :param deletion_policy: The value to assign to the deletion_policy property of this DbSystem. :type deletion_policy: oci.mysql.models.DeletionPolicyDetails :param time_created: The value to assign to the time_created property of this DbSystem. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DbSystem. :type time_updated: datetime :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 crash_recovery: The value to assign to the crash_recovery property of this DbSystem. Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type crash_recovery: str :param point_in_time_recovery_details: The value to assign to the point_in_time_recovery_details property of this DbSystem. :type point_in_time_recovery_details: oci.mysql.models.PointInTimeRecoveryDetails �str�bool�DbSystemPlacement�AnalyticsClusterSummary�HeatWaveClusterSummary�BackupPolicy�DbSystemSource�intzlist[DbSystemEndpoint]zlist[ChannelSummary]�MaintenanceDetails�DeletionPolicyDetails�datetimezdict(str, str)zdict(str, dict(str, object))�PointInTimeRecoveryDetails)#�id�display_name�description�compartment_id� subnet_id�is_highly_available�current_placement�is_analytics_cluster_attached�analytics_cluster�is_heat_wave_cluster_attached�heat_wave_cluster�availability_domain�fault_domain� shape_name� mysql_version� backup_policy�source�configuration_id�data_storage_size_in_gbs�hostname_label� ip_address�port�port_x� endpoints�channels�lifecycle_state�lifecycle_details�maintenance�deletion_policy�time_created�time_updated� freeform_tags�defined_tags�crash_recovery�point_in_time_recovery_detailsr �displayNamer � compartmentId�subnetId�isHighlyAvailable�currentPlacement�isAnalyticsClusterAttached�analyticsCluster�isHeatWaveClusterAttached�heatWaveCluster�availabilityDomain�faultDomain� shapeName�mysqlVersion�backupPolicyr, �configurationId�dataStorageSizeInGBs� hostnameLabel� ipAddressr1 �portXr3 r4 �lifecycleState�lifecycleDetailsr7 �deletionPolicy�timeCreated�timeUpdated�freeformTags�definedTags� crashRecovery�pointInTimeRecoveryDetailsN)%� swagger_types� attribute_map�_id� _display_name�_description�_compartment_id� _subnet_id�_is_highly_available�_current_placement�_is_analytics_cluster_attached�_analytics_cluster�_is_heat_wave_cluster_attached�_heat_wave_cluster�_availability_domain� _fault_domain�_shape_name�_mysql_version�_backup_policy�_source�_configuration_id�_data_storage_size_in_gbs�_hostname_label�_ip_address�_port�_port_x� _endpoints� _channels�_lifecycle_state�_lifecycle_details�_maintenance�_deletion_policy� _time_created� _time_updated�_freeform_tags� _defined_tags�_crash_recovery�_point_in_time_recovery_details)�self�kwargs� r� �~/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/mysql/models/db_system.py�__init__4 s� �'�&zDbSystem.__init__c C s | j S )z� **[Required]** Gets the id of this DbSystem. The OCID of the DB System. :return: The id of this DbSystem. :rtype: str �r] �r� r� r� r� r : s zDbSystem.idc C s || _ dS )z� Sets the id of this DbSystem. The OCID of the DB System. :param id: The id of this DbSystem. :type: str Nr� )r� r r� r� r� r F s c C s | j S )z� **[Required]** Gets the display_name of this DbSystem. The user-friendly name for the DB System. It does not have to be unique. :return: The display_name of this DbSystem. :rtype: str �r^ r� 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. It 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� Gets the description of this DbSystem. User-provided data about the DB System. :return: The description of this DbSystem. :rtype: str �r_ r� r� r� r� r j s zDbSystem.descriptionc C s || _ dS )z� Sets the description of this DbSystem. User-provided data about the DB System. :param description: The description of this DbSystem. :type: str Nr� )r� r r� r� r� r v s c C s | j S )z� **[Required]** Gets the compartment_id of this DbSystem. The OCID of the compartment the DB System belongs in. :return: The compartment_id of this DbSystem. :rtype: str �r` r� r� r� r� r � s zDbSystem.compartment_idc C s || _ dS )z� Sets the compartment_id of this DbSystem. The OCID of the compartment the DB System belongs in. :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 subnet_id of this DbSystem. The OCID of the subnet the DB System is associated with. :return: The subnet_id of this DbSystem. :rtype: str �ra r� r� r� r� r � s zDbSystem.subnet_idc C s || _ dS )z� Sets the subnet_id of this DbSystem. The OCID of the subnet the DB System is associated with. :param subnet_id: The subnet_id of this DbSystem. :type: str Nr� )r� r r� r� r� r � s c C s | j S )z� Gets the is_highly_available of this DbSystem. Specifies if the DB System is highly available. :return: The is_highly_available of this DbSystem. :rtype: bool �rb r� r� r� r� r! � s zDbSystem.is_highly_availablec C s || _ dS )z� Sets the is_highly_available of this DbSystem. Specifies if the DB System is highly available. :param is_highly_available: The is_highly_available of this DbSystem. :type: bool Nr� )r� r! r� r� r� r! � s c C s | j S )z� Gets the current_placement of this DbSystem. :return: The current_placement of this DbSystem. :rtype: oci.mysql.models.DbSystemPlacement �rc r� r� r� r� r"