ruạṛ
a N��f�E � @ 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 )�$CreateAutonomousDatabaseCloneDetailsze Details to create an Oracle Autonomous Database by cloning an existing Autonomous Database. �FULL�METADATAc * 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 CreateAutonomousDatabaseCloneDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.CreateAutonomousDatabaseCloneDetails.source` attribute of this class is ``DATABASE`` 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 CreateAutonomousDatabaseCloneDetails. :type compartment_id: str :param character_set: The value to assign to the character_set property of this CreateAutonomousDatabaseCloneDetails. :type character_set: str :param ncharacter_set: The value to assign to the ncharacter_set property of this CreateAutonomousDatabaseCloneDetails. :type ncharacter_set: str :param db_name: The value to assign to the db_name property of this CreateAutonomousDatabaseCloneDetails. :type db_name: str :param cpu_core_count: The value to assign to the cpu_core_count property of this CreateAutonomousDatabaseCloneDetails. :type cpu_core_count: int :param ocpu_count: The value to assign to the ocpu_count property of this CreateAutonomousDatabaseCloneDetails. :type ocpu_count: float :param db_workload: The value to assign to the db_workload property of this CreateAutonomousDatabaseCloneDetails. 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 CreateAutonomousDatabaseCloneDetails. :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 CreateAutonomousDatabaseCloneDetails. :type data_storage_size_in_gbs: int :param is_free_tier: The value to assign to the is_free_tier property of this CreateAutonomousDatabaseCloneDetails. :type is_free_tier: bool :param kms_key_id: The value to assign to the kms_key_id property of this CreateAutonomousDatabaseCloneDetails. :type kms_key_id: str :param vault_id: The value to assign to the vault_id property of this CreateAutonomousDatabaseCloneDetails. :type vault_id: str :param admin_password: The value to assign to the admin_password property of this CreateAutonomousDatabaseCloneDetails. :type admin_password: str :param display_name: The value to assign to the display_name property of this CreateAutonomousDatabaseCloneDetails. :type display_name: str :param license_model: The value to assign to the license_model property of this CreateAutonomousDatabaseCloneDetails. 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 CreateAutonomousDatabaseCloneDetails. :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 CreateAutonomousDatabaseCloneDetails. :type is_auto_scaling_enabled: bool :param is_dedicated: The value to assign to the is_dedicated property of this CreateAutonomousDatabaseCloneDetails. :type is_dedicated: bool :param autonomous_container_database_id: The value to assign to the autonomous_container_database_id property of this CreateAutonomousDatabaseCloneDetails. :type autonomous_container_database_id: str :param is_access_control_enabled: The value to assign to the is_access_control_enabled property of this CreateAutonomousDatabaseCloneDetails. :type is_access_control_enabled: bool :param whitelisted_ips: The value to assign to the whitelisted_ips property of this CreateAutonomousDatabaseCloneDetails. :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 CreateAutonomousDatabaseCloneDetails. :type are_primary_whitelisted_ips_used: bool :param standby_whitelisted_ips: The value to assign to the standby_whitelisted_ips property of this CreateAutonomousDatabaseCloneDetails. :type standby_whitelisted_ips: list[str] :param is_data_guard_enabled: The value to assign to the is_data_guard_enabled property of this CreateAutonomousDatabaseCloneDetails. :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 CreateAutonomousDatabaseCloneDetails. :type is_local_data_guard_enabled: bool :param subnet_id: The value to assign to the subnet_id property of this CreateAutonomousDatabaseCloneDetails. :type subnet_id: str :param nsg_ids: The value to assign to the nsg_ids property of this CreateAutonomousDatabaseCloneDetails. :type nsg_ids: list[str] :param private_endpoint_label: The value to assign to the private_endpoint_label property of this CreateAutonomousDatabaseCloneDetails. :type private_endpoint_label: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateAutonomousDatabaseCloneDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateAutonomousDatabaseCloneDetails. :type defined_tags: dict(str, dict(str, object)) :param db_version: The value to assign to the db_version property of this CreateAutonomousDatabaseCloneDetails. :type db_version: str :param source: The value to assign to the source property of this CreateAutonomousDatabaseCloneDetails. 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 CreateAutonomousDatabaseCloneDetails. :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 CreateAutonomousDatabaseCloneDetails. :type is_mtls_connection_required: bool :param autonomous_maintenance_schedule_type: The value to assign to the autonomous_maintenance_schedule_type property of this CreateAutonomousDatabaseCloneDetails. 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 CreateAutonomousDatabaseCloneDetails. :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 CreateAutonomousDatabaseCloneDetails. :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 CreateAutonomousDatabaseCloneDetails. :type max_cpu_core_count: int :param database_edition: The value to assign to the database_edition property of this CreateAutonomousDatabaseCloneDetails. :type database_edition: str :param source_id: The value to assign to the source_id property of this CreateAutonomousDatabaseCloneDetails. :type source_id: str :param clone_type: The value to assign to the clone_type property of this CreateAutonomousDatabaseCloneDetails. Allowed values for this property are: "FULL", "METADATA" :type clone_type: 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� clone_type� 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� cloneTypeN�DATABASE)+� 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�_clone_type)�self�kwargs� r� ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/create_autonomous_database_clone_details.py�__init__ s� 2�-�,z-CreateAutonomousDatabaseCloneDetails.__init__c C s | j S )a� **[Required]** Gets the source_id of this CreateAutonomousDatabaseCloneDetails. 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 CreateAutonomousDatabaseCloneDetails. :rtype: str �r� �r� r� r� r� r6 K s z.CreateAutonomousDatabaseCloneDetails.source_idc C s || _ dS )a� Sets the source_id of this CreateAutonomousDatabaseCloneDetails. 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 CreateAutonomousDatabaseCloneDetails. :type: str Nr� )r� r6 r� r� r� r6 Y s c C s | j S )a4 **[Required]** Gets the clone_type of this CreateAutonomousDatabaseCloneDetails. The Autonomous Database clone type. Allowed values for this property are: "FULL", "METADATA" :return: The clone_type of this CreateAutonomousDatabaseCloneDetails. :rtype: str )r� r� r� r� r� r7 g s z/CreateAutonomousDatabaseCloneDetails.clone_typec C s* ddg}t ||�s td�|���|| _dS )z� Sets the clone_type of this CreateAutonomousDatabaseCloneDetails. The Autonomous Database clone type. :param clone_type: The clone_type of this CreateAutonomousDatabaseCloneDetails. :type: str r r z:Invalid value for `clone_type`, 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 z-CreateAutonomousDatabaseCloneDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r� �otherr� r� r� �__eq__� s z+CreateAutonomousDatabaseCloneDetails.__eq__c C s | |k S r� r� r� r� r� r� �__ne__� s z+CreateAutonomousDatabaseCloneDetails.__ne__N)�__name__� __module__�__qualname__�__doc__�CLONE_TYPE_FULL�CLONE_TYPE_METADATAr� �propertyr6 �setterr7 r� r� r� r� r� r� r� r s"