ruạṛ
a N��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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zed=d>� �Zej d?d>� �Zed@dA� �Zej dBdA� �ZedCdD� �Z e j dEdD� �Z edFdG� �Z!e!j dHdG� �Z!edIdJ� �Z"e"j dKdJ� �Z"edLdM� �Z#e#j dNdM� �Z#edOdP� �Z$e$j dQdP� �Z$edRdS� �Z%e%j dTdS� �Z%edUdV� �Z&e&j dWdV� �Z&dXdY� Z'dZd[� Z(d\d]� Z)d^S )_�(CreateAutonomousContainerDatabaseDetailsza Describes the required parameters for the creation of an Autonomous Container Database. �STANDARD�AUTONOMOUS_DATAGUARD�MAXIMUM_AVAILABILITY�MAXIMUM_PERFORMANCE�RELEASE_UPDATES�RELEASE_UPDATE_REVISIONSc K s ddddddddddddddddddddddddddd �| _ d ddd ddddddddddddddddddd 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$S )%a� Initializes a new CreateAutonomousContainerDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateAutonomousContainerDatabaseDetails. :type display_name: str :param db_unique_name: The value to assign to the db_unique_name property of this CreateAutonomousContainerDatabaseDetails. :type db_unique_name: str :param service_level_agreement_type: The value to assign to the service_level_agreement_type property of this CreateAutonomousContainerDatabaseDetails. Allowed values for this property are: "STANDARD", "AUTONOMOUS_DATAGUARD" :type service_level_agreement_type: str :param autonomous_exadata_infrastructure_id: The value to assign to the autonomous_exadata_infrastructure_id property of this CreateAutonomousContainerDatabaseDetails. :type autonomous_exadata_infrastructure_id: str :param peer_autonomous_exadata_infrastructure_id: The value to assign to the peer_autonomous_exadata_infrastructure_id property of this CreateAutonomousContainerDatabaseDetails. :type peer_autonomous_exadata_infrastructure_id: str :param peer_autonomous_container_database_display_name: The value to assign to the peer_autonomous_container_database_display_name property of this CreateAutonomousContainerDatabaseDetails. :type peer_autonomous_container_database_display_name: str :param protection_mode: The value to assign to the protection_mode property of this CreateAutonomousContainerDatabaseDetails. Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE" :type protection_mode: str :param is_automatic_failover_enabled: The value to assign to the is_automatic_failover_enabled property of this CreateAutonomousContainerDatabaseDetails. :type is_automatic_failover_enabled: bool :param peer_cloud_autonomous_vm_cluster_id: The value to assign to the peer_cloud_autonomous_vm_cluster_id property of this CreateAutonomousContainerDatabaseDetails. :type peer_cloud_autonomous_vm_cluster_id: str :param peer_autonomous_vm_cluster_id: The value to assign to the peer_autonomous_vm_cluster_id property of this CreateAutonomousContainerDatabaseDetails. :type peer_autonomous_vm_cluster_id: str :param peer_autonomous_container_database_compartment_id: The value to assign to the peer_autonomous_container_database_compartment_id property of this CreateAutonomousContainerDatabaseDetails. :type peer_autonomous_container_database_compartment_id: str :param peer_autonomous_container_database_backup_config: The value to assign to the peer_autonomous_container_database_backup_config property of this CreateAutonomousContainerDatabaseDetails. :type peer_autonomous_container_database_backup_config: oci.database.models.PeerAutonomousContainerDatabaseBackupConfig :param peer_db_unique_name: The value to assign to the peer_db_unique_name property of this CreateAutonomousContainerDatabaseDetails. :type peer_db_unique_name: str :param autonomous_vm_cluster_id: The value to assign to the autonomous_vm_cluster_id property of this CreateAutonomousContainerDatabaseDetails. :type autonomous_vm_cluster_id: str :param cloud_autonomous_vm_cluster_id: The value to assign to the cloud_autonomous_vm_cluster_id property of this CreateAutonomousContainerDatabaseDetails. :type cloud_autonomous_vm_cluster_id: str :param compartment_id: The value to assign to the compartment_id property of this CreateAutonomousContainerDatabaseDetails. :type compartment_id: str :param patch_model: The value to assign to the patch_model property of this CreateAutonomousContainerDatabaseDetails. Allowed values for this property are: "RELEASE_UPDATES", "RELEASE_UPDATE_REVISIONS" :type patch_model: str :param maintenance_window_details: The value to assign to the maintenance_window_details property of this CreateAutonomousContainerDatabaseDetails. :type maintenance_window_details: oci.database.models.MaintenanceWindow :param standby_maintenance_buffer_in_days: The value to assign to the standby_maintenance_buffer_in_days property of this CreateAutonomousContainerDatabaseDetails. :type standby_maintenance_buffer_in_days: int :param freeform_tags: The value to assign to the freeform_tags property of this CreateAutonomousContainerDatabaseDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateAutonomousContainerDatabaseDetails. :type defined_tags: dict(str, dict(str, object)) :param backup_config: The value to assign to the backup_config property of this CreateAutonomousContainerDatabaseDetails. :type backup_config: oci.database.models.AutonomousContainerDatabaseBackupConfig :param kms_key_id: The value to assign to the kms_key_id property of this CreateAutonomousContainerDatabaseDetails. :type kms_key_id: str :param kms_key_version_id: The value to assign to the kms_key_version_id property of this CreateAutonomousContainerDatabaseDetails. :type kms_key_version_id: str :param vault_id: The value to assign to the vault_id property of this CreateAutonomousContainerDatabaseDetails. :type vault_id: str :param key_store_id: The value to assign to the key_store_id property of this CreateAutonomousContainerDatabaseDetails. :type key_store_id: str �str�bool�+PeerAutonomousContainerDatabaseBackupConfig�MaintenanceWindow�intzdict(str, str)zdict(str, dict(str, object))�'AutonomousContainerDatabaseBackupConfig)�display_name�db_unique_name�service_level_agreement_type�$autonomous_exadata_infrastructure_id�)peer_autonomous_exadata_infrastructure_id�/peer_autonomous_container_database_display_name�protection_mode�is_automatic_failover_enabled�#peer_cloud_autonomous_vm_cluster_id�peer_autonomous_vm_cluster_id�1peer_autonomous_container_database_compartment_id�0peer_autonomous_container_database_backup_config�peer_db_unique_name�autonomous_vm_cluster_id�cloud_autonomous_vm_cluster_id�compartment_id�patch_model�maintenance_window_details�"standby_maintenance_buffer_in_days� freeform_tags�defined_tags� backup_config� kms_key_id�kms_key_version_id�vault_id�key_store_id�displayName�dbUniqueName�serviceLevelAgreementType�!autonomousExadataInfrastructureId�%peerAutonomousExadataInfrastructureId�*peerAutonomousContainerDatabaseDisplayName�protectionMode�isAutomaticFailoverEnabled�peerCloudAutonomousVmClusterId�peerAutonomousVmClusterId�,peerAutonomousContainerDatabaseCompartmentId�+peerAutonomousContainerDatabaseBackupConfig�peerDbUniqueName�autonomousVmClusterId�cloudAutonomousVmClusterId� compartmentId� patchModel�maintenanceWindowDetails�standbyMaintenanceBufferInDays�freeformTags�definedTags�backupConfig�kmsKeyId�kmsKeyVersionId�vaultId� keyStoreIdN)� swagger_types� attribute_map� _display_name�_db_unique_name�_service_level_agreement_type�%_autonomous_exadata_infrastructure_id�*_peer_autonomous_exadata_infrastructure_id�0_peer_autonomous_container_database_display_name�_protection_mode�_is_automatic_failover_enabled�$_peer_cloud_autonomous_vm_cluster_id�_peer_autonomous_vm_cluster_id�2_peer_autonomous_container_database_compartment_id�1_peer_autonomous_container_database_backup_config�_peer_db_unique_name�_autonomous_vm_cluster_id�_cloud_autonomous_vm_cluster_id�_compartment_id�_patch_model�_maintenance_window_details�#_standby_maintenance_buffer_in_days�_freeform_tags� _defined_tags�_backup_config�_kms_key_id�_kms_key_version_id� _vault_id� _key_store_id)�self�kwargs� re ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/create_autonomous_container_database_details.py�__init__( s� r��z1CreateAutonomousContainerDatabaseDetails.__init__c C s | j S )a **[Required]** Gets the display_name of this CreateAutonomousContainerDatabaseDetails. The display name for the Autonomous Container Database. :return: The display_name of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rI �rc re re rf r � s z5CreateAutonomousContainerDatabaseDetails.display_namec C s || _ dS )a Sets the display_name of this CreateAutonomousContainerDatabaseDetails. The display name for the Autonomous Container Database. :param display_name: The display_name of this CreateAutonomousContainerDatabaseDetails. :type: str Nrh )rc r re re rf r � s c C s | j S )a� Gets the db_unique_name of this CreateAutonomousContainerDatabaseDetails. **Deprecated.** The `DB_UNIQUE_NAME` value is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail. :return: The db_unique_name of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rJ ri re re rf r s z7CreateAutonomousContainerDatabaseDetails.db_unique_namec C s || _ dS )a� Sets the db_unique_name of this CreateAutonomousContainerDatabaseDetails. **Deprecated.** The `DB_UNIQUE_NAME` value is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail. :param db_unique_name: The db_unique_name of this CreateAutonomousContainerDatabaseDetails. :type: str Nrj )rc r re re rf r s c C s | j S )aL Gets the service_level_agreement_type of this CreateAutonomousContainerDatabaseDetails. The service level agreement type of the Autonomous Container Database. The default is STANDARD. For an autonomous dataguard Autonomous Container Database, the specified Autonomous Exadata Infrastructure must be associated with a remote Autonomous Exadata Infrastructure. Allowed values for this property are: "STANDARD", "AUTONOMOUS_DATAGUARD" :return: The service_level_agreement_type of this CreateAutonomousContainerDatabaseDetails. :rtype: str )rK ri re re rf r s zECreateAutonomousContainerDatabaseDetails.service_level_agreement_typec C s* ddg}t ||�s td�|���|| _dS )a Sets the service_level_agreement_type of this CreateAutonomousContainerDatabaseDetails. The service level agreement type of the Autonomous Container Database. The default is STANDARD. For an autonomous dataguard Autonomous Container Database, the specified Autonomous Exadata Infrastructure must be associated with a remote Autonomous Exadata Infrastructure. :param service_level_agreement_type: The service_level_agreement_type of this CreateAutonomousContainerDatabaseDetails. :type: str r r zLInvalid value for `service_level_agreement_type`, must be None or one of {0}N)r � ValueError�formatrK )rc r �allowed_valuesre re rf r , s ��c C s | j S )a� Gets the autonomous_exadata_infrastructure_id of this CreateAutonomousContainerDatabaseDetails. **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. :return: The autonomous_exadata_infrastructure_id of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rL ri re re rf r > s zMCreateAutonomousContainerDatabaseDetails.autonomous_exadata_infrastructure_idc C s || _ dS )a� Sets the autonomous_exadata_infrastructure_id of this CreateAutonomousContainerDatabaseDetails. **No longer used.** This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `cloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. :param autonomous_exadata_infrastructure_id: The autonomous_exadata_infrastructure_id of this CreateAutonomousContainerDatabaseDetails. :type: str Nrn )rc r re re rf r J s c C s | j S )a� Gets the peer_autonomous_exadata_infrastructure_id of this CreateAutonomousContainerDatabaseDetails. *No longer used.* This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `peerCloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. :return: The peer_autonomous_exadata_infrastructure_id of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rM ri re re rf r V s zRCreateAutonomousContainerDatabaseDetails.peer_autonomous_exadata_infrastructure_idc C s || _ dS )a Sets the peer_autonomous_exadata_infrastructure_id of this CreateAutonomousContainerDatabaseDetails. *No longer used.* This parameter is no longer used for Autonomous Database on dedicated Exadata infrasture. Specify a `peerCloudAutonomousVmClusterId` instead. Using this parameter will cause the operation to fail. :param peer_autonomous_exadata_infrastructure_id: The peer_autonomous_exadata_infrastructure_id of this CreateAutonomousContainerDatabaseDetails. :type: str Nro )rc r re re rf r b s c C s | j S )aN Gets the peer_autonomous_container_database_display_name of this CreateAutonomousContainerDatabaseDetails. The display name for the peer Autonomous Container Database. :return: The peer_autonomous_container_database_display_name of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rN ri re re rf r n s zXCreateAutonomousContainerDatabaseDetails.peer_autonomous_container_database_display_namec C s || _ dS )a| Sets the peer_autonomous_container_database_display_name of this CreateAutonomousContainerDatabaseDetails. The display name for the peer Autonomous Container Database. :param peer_autonomous_container_database_display_name: The peer_autonomous_container_database_display_name of this CreateAutonomousContainerDatabaseDetails. :type: str Nrp )rc r re re rf r z s c C s | j S )aN Gets the protection_mode of this CreateAutonomousContainerDatabaseDetails. The protection mode of this Autonomous Data Guard association. For more information, see `Oracle Data Guard Protection Modes`__ in the Oracle Data Guard documentation. __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000 Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE" :return: The protection_mode of this CreateAutonomousContainerDatabaseDetails. :rtype: str )rO ri re re rf r � s z8CreateAutonomousContainerDatabaseDetails.protection_modec C s* ddg}t ||�s td�|���|| _dS )a� Sets the protection_mode of this CreateAutonomousContainerDatabaseDetails. The protection mode of this Autonomous Data Guard association. For more information, see `Oracle Data Guard Protection Modes`__ in the Oracle Data Guard documentation. __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000 :param protection_mode: The protection_mode of this CreateAutonomousContainerDatabaseDetails. :type: str r r z?Invalid value for `protection_mode`, must be None or one of {0}N)r rk rl rO )rc r rm re re rf r � s ��c C s | j S )aV Gets the is_automatic_failover_enabled of this CreateAutonomousContainerDatabaseDetails. Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association :return: The is_automatic_failover_enabled of this CreateAutonomousContainerDatabaseDetails. :rtype: bool �rP ri re re rf r � s zFCreateAutonomousContainerDatabaseDetails.is_automatic_failover_enabledc C s || _ dS )ar Sets the is_automatic_failover_enabled of this CreateAutonomousContainerDatabaseDetails. Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association :param is_automatic_failover_enabled: The is_automatic_failover_enabled of this CreateAutonomousContainerDatabaseDetails. :type: bool Nrq )rc r re re rf r � s c C s | j S )a� Gets the peer_cloud_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. The `OCID`__ of the peer cloud Autonomous Exadata VM Cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The peer_cloud_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rQ ri re re rf r � s zLCreateAutonomousContainerDatabaseDetails.peer_cloud_autonomous_vm_cluster_idc C s || _ dS )a� Sets the peer_cloud_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. The `OCID`__ of the peer cloud Autonomous Exadata VM Cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param peer_cloud_autonomous_vm_cluster_id: The peer_cloud_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. :type: str Nrr )rc r re re rf r � s c C s | j S )a� Gets the peer_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. The `OCID`__ of the peer Autonomous VM cluster for Autonomous Data Guard. Required to enable Data Guard. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The peer_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rR ri re re rf r � s zFCreateAutonomousContainerDatabaseDetails.peer_autonomous_vm_cluster_idc C s || _ dS )a� Sets the peer_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. The `OCID`__ of the peer Autonomous VM cluster for Autonomous Data Guard. Required to enable Data Guard. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param peer_autonomous_vm_cluster_id: The peer_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. :type: str Nrs )rc r re re rf r � s c C s | j S )a� Gets the peer_autonomous_container_database_compartment_id of this CreateAutonomousContainerDatabaseDetails. The `OCID`__ of the compartment where the standby Autonomous Container Database will be created. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The peer_autonomous_container_database_compartment_id of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rS ri re re rf r � s zZCreateAutonomousContainerDatabaseDetails.peer_autonomous_container_database_compartment_idc C s || _ dS )a Sets the peer_autonomous_container_database_compartment_id of this CreateAutonomousContainerDatabaseDetails. The `OCID`__ of the compartment where the standby Autonomous Container Database will be created. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param peer_autonomous_container_database_compartment_id: The peer_autonomous_container_database_compartment_id of this CreateAutonomousContainerDatabaseDetails. :type: str Nrt )rc r re re rf r s c C s | j S )aF Gets the peer_autonomous_container_database_backup_config of this CreateAutonomousContainerDatabaseDetails. :return: The peer_autonomous_container_database_backup_config of this CreateAutonomousContainerDatabaseDetails. :rtype: oci.database.models.PeerAutonomousContainerDatabaseBackupConfig �rT ri re re rf r s zYCreateAutonomousContainerDatabaseDetails.peer_autonomous_container_database_backup_configc C s || _ dS )au Sets the peer_autonomous_container_database_backup_config of this CreateAutonomousContainerDatabaseDetails. :param peer_autonomous_container_database_backup_config: The peer_autonomous_container_database_backup_config of this CreateAutonomousContainerDatabaseDetails. :type: oci.database.models.PeerAutonomousContainerDatabaseBackupConfig Nru )rc r re re rf r & s c C s | j S )a� Gets the peer_db_unique_name of this CreateAutonomousContainerDatabaseDetails. **Deprecated.** The `DB_UNIQUE_NAME` of the peer Autonomous Container Database in a Data Guard association is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail. :return: The peer_db_unique_name of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rU ri re re rf r 0 s z<CreateAutonomousContainerDatabaseDetails.peer_db_unique_namec C s || _ dS )a� Sets the peer_db_unique_name of this CreateAutonomousContainerDatabaseDetails. **Deprecated.** The `DB_UNIQUE_NAME` of the peer Autonomous Container Database in a Data Guard association is set by Oracle Cloud Infrastructure. Do not specify a value for this parameter. Specifying a value for this field will cause Terraform operations to fail. :param peer_db_unique_name: The peer_db_unique_name of this CreateAutonomousContainerDatabaseDetails. :type: str Nrv )rc r re re rf r < s c C s | j S )a Gets the autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. The OCID of the Autonomous VM Cluster. :return: The autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rV ri re re rf r H s zACreateAutonomousContainerDatabaseDetails.autonomous_vm_cluster_idc C s || _ dS )a! Sets the autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. The OCID of the Autonomous VM Cluster. :param autonomous_vm_cluster_id: The autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. :type: str Nrw )rc r re re rf r T s c C s | j S )a{ Gets the cloud_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. The `OCID`__ of the cloud Autonomous Exadata VM Cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The cloud_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rW ri re re rf r! ` s zGCreateAutonomousContainerDatabaseDetails.cloud_autonomous_vm_cluster_idc C s || _ dS )a� Sets the cloud_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. The `OCID`__ of the cloud Autonomous Exadata VM Cluster. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param cloud_autonomous_vm_cluster_id: The cloud_autonomous_vm_cluster_id of this CreateAutonomousContainerDatabaseDetails. :type: str Nrx )rc r! re re rf r! n s c C s | j S )ap Gets the compartment_id of this CreateAutonomousContainerDatabaseDetails. The `OCID`__ of the compartment containing the Autonomous Container Database. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this CreateAutonomousContainerDatabaseDetails. :rtype: str �rX ri re re rf r"