/
lib
/
python3.9
/
site-packages
/
oci
/
globally_distributed_database
/
models
/
__pycache__
/
Upload File
HOME
a ���f�u � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ShardedDatabase� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sj 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!dIdJ� Z"dKdL� Z#dMdN� Z$dOS )P�DedicatedShardedDatabasez2 Details of ATP-D based sharded database. �RAFT�DG�OLTP�DW�USER�SYSTEMc ! K sZ dddddddddddddddddddddddddddddddd 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+| _d+| _d+| _d+| _d+| _d+| _d+| _d+| _d+| _d+| _d+| _d+| _ d+| _!d,| _d+S )-a Initializes a new DedicatedShardedDatabase object with values from keyword arguments. The default value of the :py:attr:`~oci.globally_distributed_database.models.DedicatedShardedDatabase.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 id: The value to assign to the id property of this DedicatedShardedDatabase. :type id: str :param compartment_id: The value to assign to the compartment_id property of this DedicatedShardedDatabase. :type compartment_id: str :param db_deployment_type: The value to assign to the db_deployment_type property of this DedicatedShardedDatabase. Allowed values for this property are: "DEDICATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type db_deployment_type: str :param display_name: The value to assign to the display_name property of this DedicatedShardedDatabase. :type display_name: str :param time_created: The value to assign to the time_created property of this DedicatedShardedDatabase. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DedicatedShardedDatabase. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DedicatedShardedDatabase. Allowed values for this property are: "ACTIVE", "FAILED", "NEEDS_ATTENTION", "INACTIVE", "DELETING", "DELETED", "UPDATING", "CREATING", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_state_details: The value to assign to the lifecycle_state_details property of this DedicatedShardedDatabase. :type lifecycle_state_details: str :param freeform_tags: The value to assign to the freeform_tags property of this DedicatedShardedDatabase. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DedicatedShardedDatabase. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DedicatedShardedDatabase. :type system_tags: dict(str, dict(str, object)) :param replication_method: The value to assign to the replication_method property of this DedicatedShardedDatabase. Allowed values for this property are: "RAFT", "DG", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type replication_method: str :param replication_factor: The value to assign to the replication_factor property of this DedicatedShardedDatabase. :type replication_factor: int :param replication_unit: The value to assign to the replication_unit property of this DedicatedShardedDatabase. :type replication_unit: int :param cluster_certificate_common_name: The value to assign to the cluster_certificate_common_name property of this DedicatedShardedDatabase. :type cluster_certificate_common_name: str :param character_set: The value to assign to the character_set property of this DedicatedShardedDatabase. :type character_set: str :param ncharacter_set: The value to assign to the ncharacter_set property of this DedicatedShardedDatabase. :type ncharacter_set: str :param chunks: The value to assign to the chunks property of this DedicatedShardedDatabase. :type chunks: int :param db_workload: The value to assign to the db_workload property of this DedicatedShardedDatabase. Allowed values for this property are: "OLTP", "DW", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type db_workload: str :param sharding_method: The value to assign to the sharding_method property of this DedicatedShardedDatabase. Allowed values for this property are: "USER", "SYSTEM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type sharding_method: str :param db_version: The value to assign to the db_version property of this DedicatedShardedDatabase. :type db_version: str :param listener_port: The value to assign to the listener_port property of this DedicatedShardedDatabase. :type listener_port: int :param listener_port_tls: The value to assign to the listener_port_tls property of this DedicatedShardedDatabase. :type listener_port_tls: int :param ons_port_local: The value to assign to the ons_port_local property of this DedicatedShardedDatabase. :type ons_port_local: int :param ons_port_remote: The value to assign to the ons_port_remote property of this DedicatedShardedDatabase. :type ons_port_remote: int :param prefix: The value to assign to the prefix property of this DedicatedShardedDatabase. :type prefix: str :param private_endpoint: The value to assign to the private_endpoint property of this DedicatedShardedDatabase. :type private_endpoint: str :param connection_strings: The value to assign to the connection_strings property of this DedicatedShardedDatabase. :type connection_strings: oci.globally_distributed_database.models.ConnectionString :param time_zone: The value to assign to the time_zone property of this DedicatedShardedDatabase. :type time_zone: str :param gsms: The value to assign to the gsms property of this DedicatedShardedDatabase. :type gsms: list[oci.globally_distributed_database.models.GsmDetails] :param shard_details: The value to assign to the shard_details property of this DedicatedShardedDatabase. :type shard_details: list[oci.globally_distributed_database.models.DedicatedShardDetails] :param catalog_details: The value to assign to the catalog_details property of this DedicatedShardedDatabase. :type catalog_details: list[oci.globally_distributed_database.models.DedicatedCatalogDetails] �strZdatetimezdict(str, str)zdict(str, dict(str, object))�intZConnectionStringzlist[GsmDetails]zlist[DedicatedShardDetails]zlist[DedicatedCatalogDetails]) �idZcompartment_idZdb_deployment_typeZdisplay_nameZtime_createdZtime_updatedZlifecycle_stateZlifecycle_state_detailsZ freeform_tagsZdefined_tagsZsystem_tags�replication_method�replication_factor�replication_unit�cluster_certificate_common_name� character_set�ncharacter_set�chunks�db_workload�sharding_method� db_version� listener_port�listener_port_tls�ons_port_local�ons_port_remote�prefix�private_endpoint�connection_strings� time_zone�gsms� shard_details�catalog_detailsr Z compartmentIdZdbDeploymentTypeZdisplayNameZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleStateDetailsZfreeformTagsZdefinedTagsZ systemTagsZreplicationMethodZreplicationFactorZreplicationUnitZclusterCertificateCommonNameZcharacterSetZ ncharacterSetr Z dbWorkloadZshardingMethodZ dbVersionZlistenerPortZlistenerPortTlsZonsPortLocalZ onsPortRemoter ZprivateEndpointZconnectionStringsZtimeZoner$ ZshardDetailsZcatalogDetailsNZ DEDICATED)"Z swagger_typesZ attribute_mapZ_idZ_compartment_idZ_db_deployment_typeZ _display_nameZ _time_createdZ _time_updatedZ_lifecycle_stateZ_lifecycle_state_detailsZ_freeform_tagsZ _defined_tagsZ_system_tags�_replication_method�_replication_factor�_replication_unit� _cluster_certificate_common_name�_character_set�_ncharacter_set�_chunks�_db_workload�_sharding_method�_db_version�_listener_port�_listener_port_tls�_ons_port_local�_ons_port_remote�_prefix�_private_endpoint�_connection_strings� _time_zone�_gsms�_shard_details�_catalog_details)�self�kwargs� r>