/
lib
/
python3.9
/
site-packages
/
oci
/
globally_distributed_database
/
models
/
__pycache__
/
Upload File
HOME
a ���f\b � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateShardedDatabaseDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze d d!� �Zejd"d!� �Ze d#d$� �Zejd%d$� �Ze d&d'� �Zejd(d'� �Ze d)d*� �Zejd+d*� �Ze d,d-� �Zejd.d-� �Ze d/d0� �Zejd1d0� �Ze d2d3� �Zejd4d3� �Ze d5d6� �Zejd7d6� �Ze d8d9� �Zejd:d9� �Zd;d<� Zd=d>� Zd?d@� ZdAS )B�CreateDedicatedShardedDatabasezO Request details for creation of ATP-Dedicated based sharded database. �OLTP�DW�USER�SYSTEMc K s� ddddddddddddddddddddddd�| _ dd d ddd ddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new CreateDedicatedShardedDatabase object with values from keyword arguments. The default value of the :py:attr:`~oci.globally_distributed_database.models.CreateDedicatedShardedDatabase.db_deployment_type` attribute of this class is ``DEDICATED`` 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 CreateDedicatedShardedDatabase. :type compartment_id: str :param db_deployment_type: The value to assign to the db_deployment_type property of this CreateDedicatedShardedDatabase. Allowed values for this property are: "DEDICATED" :type db_deployment_type: str :param display_name: The value to assign to the display_name property of this CreateDedicatedShardedDatabase. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateDedicatedShardedDatabase. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateDedicatedShardedDatabase. :type defined_tags: dict(str, dict(str, object)) :param replication_method: The value to assign to the replication_method property of this CreateDedicatedShardedDatabase. :type replication_method: str :param replication_factor: The value to assign to the replication_factor property of this CreateDedicatedShardedDatabase. :type replication_factor: int :param replication_unit: The value to assign to the replication_unit property of this CreateDedicatedShardedDatabase. :type replication_unit: int :param cluster_certificate_common_name: The value to assign to the cluster_certificate_common_name property of this CreateDedicatedShardedDatabase. :type cluster_certificate_common_name: str :param chunks: The value to assign to the chunks property of this CreateDedicatedShardedDatabase. :type chunks: int :param db_workload: The value to assign to the db_workload property of this CreateDedicatedShardedDatabase. Allowed values for this property are: "OLTP", "DW" :type db_workload: str :param sharding_method: The value to assign to the sharding_method property of this CreateDedicatedShardedDatabase. Allowed values for this property are: "USER", "SYSTEM" :type sharding_method: str :param db_version: The value to assign to the db_version property of this CreateDedicatedShardedDatabase. :type db_version: str :param character_set: The value to assign to the character_set property of this CreateDedicatedShardedDatabase. :type character_set: str :param ncharacter_set: The value to assign to the ncharacter_set property of this CreateDedicatedShardedDatabase. :type ncharacter_set: str :param listener_port: The value to assign to the listener_port property of this CreateDedicatedShardedDatabase. :type listener_port: int :param listener_port_tls: The value to assign to the listener_port_tls property of this CreateDedicatedShardedDatabase. :type listener_port_tls: int :param ons_port_local: The value to assign to the ons_port_local property of this CreateDedicatedShardedDatabase. :type ons_port_local: int :param ons_port_remote: The value to assign to the ons_port_remote property of this CreateDedicatedShardedDatabase. :type ons_port_remote: int :param prefix: The value to assign to the prefix property of this CreateDedicatedShardedDatabase. :type prefix: str :param shard_details: The value to assign to the shard_details property of this CreateDedicatedShardedDatabase. :type shard_details: list[oci.globally_distributed_database.models.CreateDedicatedShardDetail] :param catalog_details: The value to assign to the catalog_details property of this CreateDedicatedShardedDatabase. :type catalog_details: list[oci.globally_distributed_database.models.CreateDedicatedCatalogDetail] �strzdict(str, str)zdict(str, dict(str, object))�intz list[CreateDedicatedShardDetail]z"list[CreateDedicatedCatalogDetail])Zcompartment_idZdb_deployment_typeZdisplay_nameZ freeform_tagsZdefined_tags�replication_method�replication_factor�replication_unit�cluster_certificate_common_name�chunks�db_workload�sharding_method� db_version� character_set�ncharacter_set� listener_port�listener_port_tls�ons_port_local�ons_port_remote�prefix� shard_details�catalog_detailsZ compartmentIdZdbDeploymentTypeZdisplayNameZfreeformTagsZdefinedTagsZreplicationMethodZreplicationFactorZreplicationUnitZclusterCertificateCommonNamer Z dbWorkloadZshardingMethodZ dbVersionZcharacterSetZ ncharacterSetZlistenerPortZlistenerPortTlsZonsPortLocalZ onsPortRemoter ZshardDetailsZcatalogDetailsNZ DEDICATED)Z swagger_typesZ attribute_mapZ_compartment_idZ_db_deployment_typeZ _display_nameZ_freeform_tagsZ _defined_tags�_replication_method�_replication_factor�_replication_unit� _cluster_certificate_common_name�_chunks�_db_workload�_sharding_method�_db_version�_character_set�_ncharacter_set�_listener_port�_listener_port_tls�_ons_port_local�_ons_port_remote�_prefix�_shard_details�_catalog_details)�self�kwargs� r3 �n/usr/lib/python3.9/site-packages/oci/globally_distributed_database/models/create_dedicated_sharded_database.py�__init__"