ruạṛ
a N��fvI � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateAutonomousDatabaseBase� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sl e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z dd � Zdd� Zdd� Z dS )�/CreateRefreshableAutonomousDatabaseCloneDetailszL Details to create an Oracle Autonomous Database refreshable clone. � AUTOMATIC�MANUALc * K s� dddddddddddddddddddddddddddddddddddd dddddd �)| _ ddd ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d �)| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _ d4| _ d4| _d4| _d4| _ d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _d4| _ d4| _!d4| _"d4| _#d4| _$d4| _%d4| _&d4| _'d4| _(d4| _)d4| _*d5| _!d4S )6a�# Initializes a new CreateRefreshableAutonomousDatabaseCloneDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.CreateRefreshableAutonomousDatabaseCloneDetails.source` attribute of this class is ``CLONE_TO_REFRESHABLE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type compartment_id: str :param character_set: The value to assign to the character_set property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type character_set: str :param ncharacter_set: The value to assign to the ncharacter_set property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type ncharacter_set: str :param db_name: The value to assign to the db_name property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type db_name: str :param cpu_core_count: The value to assign to the cpu_core_count property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type cpu_core_count: int :param ocpu_count: The value to assign to the ocpu_count property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type ocpu_count: float :param db_workload: The value to assign to the db_workload property of this CreateRefreshableAutonomousDatabaseCloneDetails. Allowed values for this property are: "OLTP", "DW", "AJD", "APEX" :type db_workload: str :param data_storage_size_in_tbs: The value to assign to the data_storage_size_in_tbs property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type data_storage_size_in_tbs: int :param data_storage_size_in_gbs: The value to assign to the data_storage_size_in_gbs property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type data_storage_size_in_gbs: int :param is_free_tier: The value to assign to the is_free_tier property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type is_free_tier: bool :param kms_key_id: The value to assign to the kms_key_id property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type kms_key_id: str :param vault_id: The value to assign to the vault_id property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type vault_id: str :param admin_password: The value to assign to the admin_password property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type admin_password: str :param display_name: The value to assign to the display_name property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type display_name: str :param license_model: The value to assign to the license_model property of this CreateRefreshableAutonomousDatabaseCloneDetails. Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" :type license_model: str :param is_preview_version_with_service_terms_accepted: The value to assign to the is_preview_version_with_service_terms_accepted property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type is_preview_version_with_service_terms_accepted: bool :param is_auto_scaling_enabled: The value to assign to the is_auto_scaling_enabled property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type is_auto_scaling_enabled: bool :param is_dedicated: The value to assign to the is_dedicated property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type is_dedicated: bool :param autonomous_container_database_id: The value to assign to the autonomous_container_database_id property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type autonomous_container_database_id: str :param is_access_control_enabled: The value to assign to the is_access_control_enabled property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type is_access_control_enabled: bool :param whitelisted_ips: The value to assign to the whitelisted_ips property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type whitelisted_ips: list[str] :param are_primary_whitelisted_ips_used: The value to assign to the are_primary_whitelisted_ips_used property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type are_primary_whitelisted_ips_used: bool :param standby_whitelisted_ips: The value to assign to the standby_whitelisted_ips property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type standby_whitelisted_ips: list[str] :param is_data_guard_enabled: The value to assign to the is_data_guard_enabled property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type is_data_guard_enabled: bool :param is_local_data_guard_enabled: The value to assign to the is_local_data_guard_enabled property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type is_local_data_guard_enabled: bool :param subnet_id: The value to assign to the subnet_id property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type subnet_id: str :param nsg_ids: The value to assign to the nsg_ids property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type nsg_ids: list[str] :param private_endpoint_label: The value to assign to the private_endpoint_label property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type private_endpoint_label: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type defined_tags: dict(str, dict(str, object)) :param db_version: The value to assign to the db_version property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type db_version: str :param source: The value to assign to the source property of this CreateRefreshableAutonomousDatabaseCloneDetails. Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD" :type source: str :param customer_contacts: The value to assign to the customer_contacts property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type customer_contacts: list[oci.database.models.CustomerContact] :param is_mtls_connection_required: The value to assign to the is_mtls_connection_required property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type is_mtls_connection_required: bool :param autonomous_maintenance_schedule_type: The value to assign to the autonomous_maintenance_schedule_type property of this CreateRefreshableAutonomousDatabaseCloneDetails. Allowed values for this property are: "EARLY", "REGULAR" :type autonomous_maintenance_schedule_type: str :param scheduled_operations: The value to assign to the scheduled_operations property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type scheduled_operations: list[oci.database.models.ScheduledOperationDetails] :param is_auto_scaling_for_storage_enabled: The value to assign to the is_auto_scaling_for_storage_enabled property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type is_auto_scaling_for_storage_enabled: bool :param max_cpu_core_count: The value to assign to the max_cpu_core_count property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type max_cpu_core_count: int :param database_edition: The value to assign to the database_edition property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type database_edition: str :param source_id: The value to assign to the source_id property of this CreateRefreshableAutonomousDatabaseCloneDetails. :type source_id: str :param refreshable_mode: The value to assign to the refreshable_mode property of this CreateRefreshableAutonomousDatabaseCloneDetails. Allowed values for this property are: "AUTOMATIC", "MANUAL" :type refreshable_mode: str �str�int�float�boolz list[str]zdict(str, str)zdict(str, dict(str, object))zlist[CustomerContact]zlist[ScheduledOperationDetails]))�compartment_id� character_set�ncharacter_set�db_name�cpu_core_count� ocpu_count�db_workload�data_storage_size_in_tbs�data_storage_size_in_gbs�is_free_tier� kms_key_id�vault_id�admin_password�display_name� license_model�.is_preview_version_with_service_terms_accepted�is_auto_scaling_enabled�is_dedicated� autonomous_container_database_id�is_access_control_enabled�whitelisted_ips� are_primary_whitelisted_ips_used�standby_whitelisted_ips�is_data_guard_enabled�is_local_data_guard_enabled� subnet_id�nsg_ids�private_endpoint_label� freeform_tags�defined_tags� db_version�source�customer_contacts�is_mtls_connection_required�$autonomous_maintenance_schedule_type�scheduled_operations�#is_auto_scaling_for_storage_enabled�max_cpu_core_count�database_edition� source_id�refreshable_mode� compartmentId�characterSet� ncharacterSet�dbName�cpuCoreCount� ocpuCount� dbWorkload�dataStorageSizeInTBs�dataStorageSizeInGBs� isFreeTier�kmsKeyId�vaultId� adminPassword�displayName�licenseModel�(isPreviewVersionWithServiceTermsAccepted�isAutoScalingEnabled�isDedicated�autonomousContainerDatabaseId�isAccessControlEnabled�whitelistedIps�arePrimaryWhitelistedIpsUsed�standbyWhitelistedIps�isDataGuardEnabled�isLocalDataGuardEnabled�subnetId�nsgIds�privateEndpointLabel�freeformTags�definedTags� dbVersionr. �customerContacts�isMtlsConnectionRequired�!autonomousMaintenanceScheduleType�scheduledOperations�isAutoScalingForStorageEnabled�maxCpuCoreCount�databaseEdition�sourceId�refreshableModeN�CLONE_TO_REFRESHABLE)+� swagger_types� attribute_map�_compartment_id�_character_set�_ncharacter_set�_db_name�_cpu_core_count�_ocpu_count�_db_workload�_data_storage_size_in_tbs�_data_storage_size_in_gbs� _is_free_tier�_kms_key_id� _vault_id�_admin_password� _display_name�_license_model�/_is_preview_version_with_service_terms_accepted�_is_auto_scaling_enabled� _is_dedicated�!_autonomous_container_database_id�_is_access_control_enabled�_whitelisted_ips�!_are_primary_whitelisted_ips_used�_standby_whitelisted_ips�_is_data_guard_enabled�_is_local_data_guard_enabled� _subnet_id�_nsg_ids�_private_endpoint_label�_freeform_tags� _defined_tags�_db_version�_source�_customer_contacts�_is_mtls_connection_required�%_autonomous_maintenance_schedule_type�_scheduled_operations�$_is_auto_scaling_for_storage_enabled�_max_cpu_core_count�_database_edition� _source_id�_refreshable_mode)�self�kwargs� r� ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/create_refreshable_autonomous_database_clone_details.py�__init__ s� 2�-�,z8CreateRefreshableAutonomousDatabaseCloneDetails.__init__c C s | j S )a� **[Required]** Gets the source_id of this CreateRefreshableAutonomousDatabaseCloneDetails. The `OCID`__ of the source Autonomous Database that you will clone to create a new Autonomous Database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The source_id of this CreateRefreshableAutonomousDatabaseCloneDetails. :rtype: str �r� �r� r� r� r� r6 K s z9CreateRefreshableAutonomousDatabaseCloneDetails.source_idc C s || _ dS )a� Sets the source_id of this CreateRefreshableAutonomousDatabaseCloneDetails. The `OCID`__ of the source Autonomous Database that you will clone to create a new Autonomous Database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param source_id: The source_id of this CreateRefreshableAutonomousDatabaseCloneDetails. :type: str Nr� )r� r6 r� r� r� r6 Y s c C s | j S )a� Gets the refreshable_mode of this CreateRefreshableAutonomousDatabaseCloneDetails. The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database. Allowed values for this property are: "AUTOMATIC", "MANUAL" :return: The refreshable_mode of this CreateRefreshableAutonomousDatabaseCloneDetails. :rtype: str )r� r� r� r� r� r7 g s z@CreateRefreshableAutonomousDatabaseCloneDetails.refreshable_modec C s* ddg}t ||�s td�|���|| _dS )a� Sets the refreshable_mode of this CreateRefreshableAutonomousDatabaseCloneDetails. The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database. :param refreshable_mode: The refreshable_mode of this CreateRefreshableAutonomousDatabaseCloneDetails. :type: str r r z@Invalid value for `refreshable_mode`, must be None or one of {0}N)r � ValueError�formatr� )r� r7 �allowed_valuesr� r� r� r7 u s ��c C s t | �S �N)r r� r� r� r� �__repr__� s z8CreateRefreshableAutonomousDatabaseCloneDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r� �otherr� r� r� �__eq__� s z6CreateRefreshableAutonomousDatabaseCloneDetails.__eq__c C s | |k S r� r� r� r� r� r� �__ne__� s z6CreateRefreshableAutonomousDatabaseCloneDetails.__ne__N)�__name__� __module__�__qualname__�__doc__�REFRESHABLE_MODE_AUTOMATIC�REFRESHABLE_MODE_MANUALr� �propertyr6 �setterr7 r� r� r� r� r� r� r� r s"