DistributedDatabaseSummary¶
- class oci.distributed_database.models.DistributedDatabaseSummary(**kwargs)¶
Bases:
objectGlobally distributed database.
Attributes:
A constant which can be used with the db_deployment_type property of a DistributedDatabaseSummary.
A constant which can be used with the replication_method property of a DistributedDatabaseSummary.
A constant which can be used with the replication_method property of a DistributedDatabaseSummary.
A constant which can be used with the sharding_method property of a DistributedDatabaseSummary.
A constant which can be used with the sharding_method property of a DistributedDatabaseSummary.
A constant which can be used with the sharding_method property of a DistributedDatabaseSummary.
Gets the auto_resource_management_config of this DistributedDatabaseSummary.
[Required] Gets the character_set of this DistributedDatabaseSummary.
[Required] Gets the compartment_id of this DistributedDatabaseSummary.
[Required] Gets the database_version of this DistributedDatabaseSummary.
[Required] Gets the db_deployment_type of this DistributedDatabaseSummary.
Gets the defined_tags of this DistributedDatabaseSummary.
[Required] Gets the display_name of this DistributedDatabaseSummary.
Gets the freeform_tags of this DistributedDatabaseSummary.
[Required] Gets the id of this DistributedDatabaseSummary.
[Required] Gets the lifecycle_details of this DistributedDatabaseSummary.
[Required] Gets the lifecycle_state of this DistributedDatabaseSummary.
[Required] Gets the listener_port of this DistributedDatabaseSummary.
Gets the listener_port_tls of this DistributedDatabaseSummary.
Gets the metadata of this DistributedDatabaseSummary.
[Required] Gets the ncharacter_set of this DistributedDatabaseSummary.
Gets the notification_topic_ids of this DistributedDatabaseSummary.
[Required] Gets the ons_port_local of this DistributedDatabaseSummary.
[Required] Gets the ons_port_remote of this DistributedDatabaseSummary.
[Required] Gets the prefix of this DistributedDatabaseSummary.
[Required] Gets the private_endpoint_ids of this DistributedDatabaseSummary.
Gets the replication_method of this DistributedDatabaseSummary.
[Required] Gets the sharding_method of this DistributedDatabaseSummary.
Gets the system_chunk_count of this DistributedDatabaseSummary.
Gets the system_raft_replication_unit_count of this DistributedDatabaseSummary.
Gets the system_tags of this DistributedDatabaseSummary.
[Required] Gets the time_created of this DistributedDatabaseSummary.
[Required] Gets the time_updated of this DistributedDatabaseSummary.
Methods:
__init__(**kwargs)Initializes a new DistributedDatabaseSummary object with values from keyword arguments.
- DB_DEPLOYMENT_TYPE_EXADB = 'EXADB'¶
A constant which can be used with the db_deployment_type property of a DistributedDatabaseSummary. This constant has a value of “EXADB”
- REPLICATION_METHOD_DG = 'DG'¶
A constant which can be used with the replication_method property of a DistributedDatabaseSummary. This constant has a value of “DG”
- REPLICATION_METHOD_RAFT = 'RAFT'¶
A constant which can be used with the replication_method property of a DistributedDatabaseSummary. This constant has a value of “RAFT”
- SHARDING_METHOD_COMPOSITE = 'COMPOSITE'¶
A constant which can be used with the sharding_method property of a DistributedDatabaseSummary. This constant has a value of “COMPOSITE”
- SHARDING_METHOD_SYSTEM = 'SYSTEM'¶
A constant which can be used with the sharding_method property of a DistributedDatabaseSummary. This constant has a value of “SYSTEM”
- SHARDING_METHOD_USER = 'USER'¶
A constant which can be used with the sharding_method property of a DistributedDatabaseSummary. This constant has a value of “USER”
- __init__(**kwargs)¶
Initializes a new DistributedDatabaseSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this DistributedDatabaseSummary.
compartment_id (str) – The value to assign to the compartment_id property of this DistributedDatabaseSummary.
display_name (str) – The value to assign to the display_name property of this DistributedDatabaseSummary.
time_created (datetime) – The value to assign to the time_created property of this DistributedDatabaseSummary.
time_updated (datetime) – The value to assign to the time_updated property of this DistributedDatabaseSummary.
database_version (str) – The value to assign to the database_version property of this DistributedDatabaseSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DistributedDatabaseSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this DistributedDatabaseSummary.
prefix (str) – The value to assign to the prefix property of this DistributedDatabaseSummary.
private_endpoint_ids (list[str]) – The value to assign to the private_endpoint_ids property of this DistributedDatabaseSummary.
notification_topic_ids (list[str]) – The value to assign to the notification_topic_ids property of this DistributedDatabaseSummary.
character_set (str) – The value to assign to the character_set property of this DistributedDatabaseSummary.
ncharacter_set (str) – The value to assign to the ncharacter_set property of this DistributedDatabaseSummary.
listener_port (int) – The value to assign to the listener_port property of this DistributedDatabaseSummary.
listener_port_tls (int) – The value to assign to the listener_port_tls property of this DistributedDatabaseSummary.
ons_port_local (int) – The value to assign to the ons_port_local property of this DistributedDatabaseSummary.
ons_port_remote (int) – The value to assign to the ons_port_remote property of this DistributedDatabaseSummary.
system_chunk_count (int) – The value to assign to the system_chunk_count property of this DistributedDatabaseSummary.
auto_resource_management_config (oci.distributed_database.models.AutoResourceManagementConfigurationDetails) – The value to assign to the auto_resource_management_config property of this DistributedDatabaseSummary.
system_raft_replication_unit_count (int) – The value to assign to the system_raft_replication_unit_count property of this DistributedDatabaseSummary.
metadata (oci.distributed_database.models.DistributedDbMetadata) – The value to assign to the metadata property of this DistributedDatabaseSummary.
sharding_method (str) – The value to assign to the sharding_method property of this DistributedDatabaseSummary. Allowed values for this property are: “USER”, “SYSTEM”, “COMPOSITE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
replication_method (str) – The value to assign to the replication_method property of this DistributedDatabaseSummary. 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’.
db_deployment_type (str) – The value to assign to the db_deployment_type property of this DistributedDatabaseSummary. Allowed values for this property are: “EXADB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DistributedDatabaseSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DistributedDatabaseSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DistributedDatabaseSummary.
- property auto_resource_management_config¶
Gets the auto_resource_management_config of this DistributedDatabaseSummary.
- Returns
The auto_resource_management_config of this DistributedDatabaseSummary.
- Return type
oci.distributed_database.models.AutoResourceManagementConfigurationDetails
- property character_set¶
[Required] Gets the character_set of this DistributedDatabaseSummary. The character set for the database.
- Returns
The character_set of this DistributedDatabaseSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this DistributedDatabaseSummary. The OCID of the Globally distributed database compartment.
- Returns
The compartment_id of this DistributedDatabaseSummary.
- Return type
str
- property database_version¶
[Required] Gets the database_version of this DistributedDatabaseSummary. Oracle Database version for the shards and catalog used in Globally distributed database.
- Returns
The database_version of this DistributedDatabaseSummary.
- Return type
str
- property db_deployment_type¶
[Required] Gets the db_deployment_type of this DistributedDatabaseSummary. The distributed database deployment type.
Allowed values for this property are: “EXADB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The db_deployment_type of this DistributedDatabaseSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this DistributedDatabaseSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this DistributedDatabaseSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this DistributedDatabaseSummary. The display name of the Globally distributed database.
- Returns
The display_name of this DistributedDatabaseSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this DistributedDatabaseSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this DistributedDatabaseSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this DistributedDatabaseSummary. The OCID of the Globally distributed database.
- Returns
The id of this DistributedDatabaseSummary.
- Return type
str
- property lifecycle_details¶
[Required] Gets the lifecycle_details of this DistributedDatabaseSummary. The lifecycleDetails for the Globally distributed database.
- Returns
The lifecycle_details of this DistributedDatabaseSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DistributedDatabaseSummary. Lifecycle state of sharded database.
- Returns
The lifecycle_state of this DistributedDatabaseSummary.
- Return type
str
- property listener_port¶
[Required] Gets the listener_port of this DistributedDatabaseSummary. The listener port number for the Globally distributed database.
- Returns
The listener_port of this DistributedDatabaseSummary.
- Return type
int
- property listener_port_tls¶
Gets the listener_port_tls of this DistributedDatabaseSummary. The TLS listener port number for the Globally distributed database.
- Returns
The listener_port_tls of this DistributedDatabaseSummary.
- Return type
int
- property metadata¶
Gets the metadata of this DistributedDatabaseSummary.
- Returns
The metadata of this DistributedDatabaseSummary.
- Return type
- property ncharacter_set¶
[Required] Gets the ncharacter_set of this DistributedDatabaseSummary. The national character set for the database.
- Returns
The ncharacter_set of this DistributedDatabaseSummary.
- Return type
str
- property notification_topic_ids¶
Gets the notification_topic_ids of this DistributedDatabaseSummary. The collection of OCID for the notification topics associated with the globally distributed database.
- Returns
The notification_topic_ids of this DistributedDatabaseSummary.
- Return type
list[str]
- property ons_port_local¶
[Required] Gets the ons_port_local of this DistributedDatabaseSummary. Ons local port number for the Globally distributed database.
- Returns
The ons_port_local of this DistributedDatabaseSummary.
- Return type
int
- property ons_port_remote¶
[Required] Gets the ons_port_remote of this DistributedDatabaseSummary. Ons remote port number for the Globally distributed database.
- Returns
The ons_port_remote of this DistributedDatabaseSummary.
- Return type
int
- property prefix¶
[Required] Gets the prefix of this DistributedDatabaseSummary. Unique name prefix for the Globally distributed databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
- Returns
The prefix of this DistributedDatabaseSummary.
- Return type
str
- property private_endpoint_ids¶
[Required] Gets the private_endpoint_ids of this DistributedDatabaseSummary. The collection of OCID of the private endpoint associated with Globally distributed autonomous database.
- Returns
The private_endpoint_ids of this DistributedDatabaseSummary.
- Return type
list[str]
- property replication_method¶
Gets the replication_method of this DistributedDatabaseSummary. The Replication method for Globally distributed database. Use RAFT for Raft based replication. With RAFT replication, shards cannot have peers details set on them. In case shards need to have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or without peers), please set replicationMethod as DG or do not set any value for replicationMethod.
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’.
- Returns
The replication_method of this DistributedDatabaseSummary.
- Return type
str
- property sharding_method¶
[Required] Gets the sharding_method of this DistributedDatabaseSummary. Sharding methods for the Globally distributed database.
Allowed values for this property are: “USER”, “SYSTEM”, “COMPOSITE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The sharding_method of this DistributedDatabaseSummary.
- Return type
str
- property system_chunk_count¶
Gets the system_chunk_count of this DistributedDatabaseSummary. Count of chunks associated with system raft clusters or system data guard databases.
- Returns
The system_chunk_count of this DistributedDatabaseSummary.
- Return type
int
- property system_raft_replication_unit_count¶
Gets the system_raft_replication_unit_count of this DistributedDatabaseSummary. Number of replication units associated with system raft clusters.
- Returns
The system_raft_replication_unit_count of this DistributedDatabaseSummary.
- Return type
int
- property system_tags¶
Gets the system_tags of this DistributedDatabaseSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this DistributedDatabaseSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this DistributedDatabaseSummary. The time the Globally distributed database was created. An RFC3339 formatted datetime string
- Returns
The time_created of this DistributedDatabaseSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this DistributedDatabaseSummary. The time the Globally distributed database was last updated. An RFC3339 formatted datetime string
- Returns
The time_updated of this DistributedDatabaseSummary.
- Return type
datetime