CreateDistributedAutonomousDatabaseDetails

class oci.distributed_database.models.CreateDistributedAutonomousDatabaseDetails(**kwargs)

Bases: object

Details required for creation of the Globally distributed autonomous database.

Attributes:

DB_WORKLOAD_TYPE_DW

A constant which can be used with the db_workload_type property of a CreateDistributedAutonomousDatabaseDetails.

DB_WORKLOAD_TYPE_OLTP

A constant which can be used with the db_workload_type property of a CreateDistributedAutonomousDatabaseDetails.

catalog_details

[Required] Gets the catalog_details of this CreateDistributedAutonomousDatabaseDetails.

character_set

[Required] Gets the character_set of this CreateDistributedAutonomousDatabaseDetails.

compartment_id

[Required] Gets the compartment_id of this CreateDistributedAutonomousDatabaseDetails.

composite_data_guard_shard_spaces

Gets the composite_data_guard_shard_spaces of this CreateDistributedAutonomousDatabaseDetails.

composite_raft_shard_spaces

Gets the composite_raft_shard_spaces of this CreateDistributedAutonomousDatabaseDetails.

database_version

[Required] Gets the database_version of this CreateDistributedAutonomousDatabaseDetails.

db_backup_config

Gets the db_backup_config of this CreateDistributedAutonomousDatabaseDetails.

db_workload_type

[Required] Gets the db_workload_type of this CreateDistributedAutonomousDatabaseDetails.

defined_tags

Gets the defined_tags of this CreateDistributedAutonomousDatabaseDetails.

display_name

[Required] Gets the display_name of this CreateDistributedAutonomousDatabaseDetails.

freeform_tags

Gets the freeform_tags of this CreateDistributedAutonomousDatabaseDetails.

listener_port

[Required] Gets the listener_port of this CreateDistributedAutonomousDatabaseDetails.

listener_port_tls

Gets the listener_port_tls of this CreateDistributedAutonomousDatabaseDetails.

ncharacter_set

[Required] Gets the ncharacter_set of this CreateDistributedAutonomousDatabaseDetails.

notification_topic_ids

Gets the notification_topic_ids of this CreateDistributedAutonomousDatabaseDetails.

ons_port_local

[Required] Gets the ons_port_local of this CreateDistributedAutonomousDatabaseDetails.

ons_port_remote

[Required] Gets the ons_port_remote of this CreateDistributedAutonomousDatabaseDetails.

prefix

[Required] Gets the prefix of this CreateDistributedAutonomousDatabaseDetails.

private_endpoint_ids

[Required] Gets the private_endpoint_ids of this CreateDistributedAutonomousDatabaseDetails.

system_chunk_count

Gets the system_chunk_count of this CreateDistributedAutonomousDatabaseDetails.

system_data_guard_databases

Gets the system_data_guard_databases of this CreateDistributedAutonomousDatabaseDetails.

system_raft_clusters

Gets the system_raft_clusters of this CreateDistributedAutonomousDatabaseDetails.

system_raft_replication_unit_count

Gets the system_raft_replication_unit_count of this CreateDistributedAutonomousDatabaseDetails.

user_shard_spaces

Gets the user_shard_spaces of this CreateDistributedAutonomousDatabaseDetails.

vcn_nsg_ids

Gets the vcn_nsg_ids of this CreateDistributedAutonomousDatabaseDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateDistributedAutonomousDatabaseDetails object with values from keyword arguments.

DB_WORKLOAD_TYPE_DW = 'DW'

A constant which can be used with the db_workload_type property of a CreateDistributedAutonomousDatabaseDetails. This constant has a value of “DW”

DB_WORKLOAD_TYPE_OLTP = 'OLTP'

A constant which can be used with the db_workload_type property of a CreateDistributedAutonomousDatabaseDetails. This constant has a value of “OLTP”

__init__(**kwargs)

Initializes a new CreateDistributedAutonomousDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateDistributedAutonomousDatabaseDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateDistributedAutonomousDatabaseDetails.

  • database_version (str) – The value to assign to the database_version property of this CreateDistributedAutonomousDatabaseDetails.

  • prefix (str) – The value to assign to the prefix property of this CreateDistributedAutonomousDatabaseDetails.

  • private_endpoint_ids (list[str]) – The value to assign to the private_endpoint_ids property of this CreateDistributedAutonomousDatabaseDetails.

  • notification_topic_ids (list[str]) – The value to assign to the notification_topic_ids property of this CreateDistributedAutonomousDatabaseDetails.

  • db_workload_type (str) – The value to assign to the db_workload_type property of this CreateDistributedAutonomousDatabaseDetails. Allowed values for this property are: “OLTP”, “DW”

  • character_set (str) – The value to assign to the character_set property of this CreateDistributedAutonomousDatabaseDetails.

  • ncharacter_set (str) – The value to assign to the ncharacter_set property of this CreateDistributedAutonomousDatabaseDetails.

  • listener_port (int) – The value to assign to the listener_port property of this CreateDistributedAutonomousDatabaseDetails.

  • listener_port_tls (int) – The value to assign to the listener_port_tls property of this CreateDistributedAutonomousDatabaseDetails.

  • ons_port_local (int) – The value to assign to the ons_port_local property of this CreateDistributedAutonomousDatabaseDetails.

  • ons_port_remote (int) – The value to assign to the ons_port_remote property of this CreateDistributedAutonomousDatabaseDetails.

  • system_chunk_count (int) – The value to assign to the system_chunk_count property of this CreateDistributedAutonomousDatabaseDetails.

  • system_raft_replication_unit_count (int) – The value to assign to the system_raft_replication_unit_count property of this CreateDistributedAutonomousDatabaseDetails.

  • composite_raft_shard_spaces (list[oci.distributed_database.models.CreateAutonomousCompositeRaftShardSpaceDetails]) – The value to assign to the composite_raft_shard_spaces property of this CreateDistributedAutonomousDatabaseDetails.

  • composite_data_guard_shard_spaces (list[oci.distributed_database.models.CreateAutonomousCompositeDataGuardShardSpaceDetails]) – The value to assign to the composite_data_guard_shard_spaces property of this CreateDistributedAutonomousDatabaseDetails.

  • system_raft_clusters (list[oci.distributed_database.models.CreateAutonomousSystemRaftClusterDetails]) – The value to assign to the system_raft_clusters property of this CreateDistributedAutonomousDatabaseDetails.

  • system_data_guard_databases (oci.distributed_database.models.CreateAutonomousSystemDataGuardDatabaseDetails) – The value to assign to the system_data_guard_databases property of this CreateDistributedAutonomousDatabaseDetails.

  • user_shard_spaces (list[oci.distributed_database.models.CreateAutonomousUserShardSpaceDetails]) – The value to assign to the user_shard_spaces property of this CreateDistributedAutonomousDatabaseDetails.

  • catalog_details (list[oci.distributed_database.models.CreateAutonomousCatalogDetails]) – The value to assign to the catalog_details property of this CreateDistributedAutonomousDatabaseDetails.

  • db_backup_config (oci.distributed_database.models.DistributedAutonomousDbBackupConfig) – The value to assign to the db_backup_config property of this CreateDistributedAutonomousDatabaseDetails.

  • vcn_nsg_ids (list[oci.distributed_database.models.VcnNsgIdsDetails]) – The value to assign to the vcn_nsg_ids property of this CreateDistributedAutonomousDatabaseDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDistributedAutonomousDatabaseDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDistributedAutonomousDatabaseDetails.

property catalog_details

[Required] Gets the catalog_details of this CreateDistributedAutonomousDatabaseDetails. Collection of catalog for the Globally distributed autonomous database.

Returns

The catalog_details of this CreateDistributedAutonomousDatabaseDetails.

Return type

list[oci.distributed_database.models.CreateAutonomousCatalogDetails]

property character_set

[Required] Gets the character_set of this CreateDistributedAutonomousDatabaseDetails. The character set for the database.

Returns

The character_set of this CreateDistributedAutonomousDatabaseDetails.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this CreateDistributedAutonomousDatabaseDetails. The OCID of the Globally distributed autonomous database compartment.

Returns

The compartment_id of this CreateDistributedAutonomousDatabaseDetails.

Return type

str

property composite_data_guard_shard_spaces

Gets the composite_data_guard_shard_spaces of this CreateDistributedAutonomousDatabaseDetails. Collection of composite data guard shard spaces.

Returns

The composite_data_guard_shard_spaces of this CreateDistributedAutonomousDatabaseDetails.

Return type

list[oci.distributed_database.models.CreateAutonomousCompositeDataGuardShardSpaceDetails]

property composite_raft_shard_spaces

Gets the composite_raft_shard_spaces of this CreateDistributedAutonomousDatabaseDetails. Collection of composite raft shards.

Returns

The composite_raft_shard_spaces of this CreateDistributedAutonomousDatabaseDetails.

Return type

list[oci.distributed_database.models.CreateAutonomousCompositeRaftShardSpaceDetails]

property database_version

[Required] Gets the database_version of this CreateDistributedAutonomousDatabaseDetails. Oracle Database version for the shards and catalog used in Globally distributed autonomous database.

Returns

The database_version of this CreateDistributedAutonomousDatabaseDetails.

Return type

str

property db_backup_config

Gets the db_backup_config of this CreateDistributedAutonomousDatabaseDetails.

Returns

The db_backup_config of this CreateDistributedAutonomousDatabaseDetails.

Return type

oci.distributed_database.models.DistributedAutonomousDbBackupConfig

property db_workload_type

[Required] Gets the db_workload_type of this CreateDistributedAutonomousDatabaseDetails. Possible workload types. Currently only OLTP workload type is supported.

Allowed values for this property are: “OLTP”, “DW”

Returns

The db_workload_type of this CreateDistributedAutonomousDatabaseDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateDistributedAutonomousDatabaseDetails. 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 CreateDistributedAutonomousDatabaseDetails.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this CreateDistributedAutonomousDatabaseDetails. The display name of the Globally distributed autonomous database.

Returns

The display_name of this CreateDistributedAutonomousDatabaseDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateDistributedAutonomousDatabaseDetails. 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 CreateDistributedAutonomousDatabaseDetails.

Return type

dict(str, str)

property listener_port

[Required] Gets the listener_port of this CreateDistributedAutonomousDatabaseDetails. The listener port number for the Globally distributed autonomous database. The listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database.

Returns

The listener_port of this CreateDistributedAutonomousDatabaseDetails.

Return type

int

property listener_port_tls

Gets the listener_port_tls of this CreateDistributedAutonomousDatabaseDetails. The TLS listener port number for Globally distributed autonomous database. The TLS listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. The listenerPortTls is mandatory for dedicated infrastructure based distributed autonomous databases.

Returns

The listener_port_tls of this CreateDistributedAutonomousDatabaseDetails.

Return type

int

property ncharacter_set

[Required] Gets the ncharacter_set of this CreateDistributedAutonomousDatabaseDetails. The national character set for the database.

Returns

The ncharacter_set of this CreateDistributedAutonomousDatabaseDetails.

Return type

str

property notification_topic_ids

Gets the notification_topic_ids of this CreateDistributedAutonomousDatabaseDetails. The collection of OCID for the notification topics associated with the globally distributed autonomous database.

Returns

The notification_topic_ids of this CreateDistributedAutonomousDatabaseDetails.

Return type

list[str]

property ons_port_local

[Required] Gets the ons_port_local of this CreateDistributedAutonomousDatabaseDetails. Ons local port number for Globally distributed autonomous database. The onsPortLocal has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database.

Returns

The ons_port_local of this CreateDistributedAutonomousDatabaseDetails.

Return type

int

property ons_port_remote

[Required] Gets the ons_port_remote of this CreateDistributedAutonomousDatabaseDetails. Ons remote port number for Globally distributed autonomous database. The onsPortRemote has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database.

Returns

The ons_port_remote of this CreateDistributedAutonomousDatabaseDetails.

Return type

int

property prefix

[Required] Gets the prefix of this CreateDistributedAutonomousDatabaseDetails. Unique name prefix for the Globally distributed autonomous 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 CreateDistributedAutonomousDatabaseDetails.

Return type

str

property private_endpoint_ids

[Required] Gets the private_endpoint_ids of this CreateDistributedAutonomousDatabaseDetails. The collection of OCID of the private endpoint associated with Globally distributed autonomous database.

Returns

The private_endpoint_ids of this CreateDistributedAutonomousDatabaseDetails.

Return type

list[str]

property system_chunk_count

Gets the system_chunk_count of this CreateDistributedAutonomousDatabaseDetails. Count of chunks associated with system raft clusters or system data guard databases.

Returns

The system_chunk_count of this CreateDistributedAutonomousDatabaseDetails.

Return type

int

property system_data_guard_databases

Gets the system_data_guard_databases of this CreateDistributedAutonomousDatabaseDetails.

Returns

The system_data_guard_databases of this CreateDistributedAutonomousDatabaseDetails.

Return type

oci.distributed_database.models.CreateAutonomousSystemDataGuardDatabaseDetails

property system_raft_clusters

Gets the system_raft_clusters of this CreateDistributedAutonomousDatabaseDetails. Collection of system raft clusters.

Returns

The system_raft_clusters of this CreateDistributedAutonomousDatabaseDetails.

Return type

list[oci.distributed_database.models.CreateAutonomousSystemRaftClusterDetails]

property system_raft_replication_unit_count

Gets the system_raft_replication_unit_count of this CreateDistributedAutonomousDatabaseDetails. Number of replication units associated with system raft clusters.

Returns

The system_raft_replication_unit_count of this CreateDistributedAutonomousDatabaseDetails.

Return type

int

property user_shard_spaces

Gets the user_shard_spaces of this CreateDistributedAutonomousDatabaseDetails. Collection of user defined shard spaces.

Returns

The user_shard_spaces of this CreateDistributedAutonomousDatabaseDetails.

Return type

list[oci.distributed_database.models.CreateAutonomousUserShardSpaceDetails]

property vcn_nsg_ids

Gets the vcn_nsg_ids of this CreateDistributedAutonomousDatabaseDetails. The list of network security group (NSG) details to be associated with the distributed autonomous database.

Returns

The vcn_nsg_ids of this CreateDistributedAutonomousDatabaseDetails.

Return type

list[oci.distributed_database.models.VcnNsgIdsDetails]