CreateDistributedDatabaseShardDetails

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

Bases: object

Globally distributed database shard.

Attributes

SOURCE_EXADB_XS A constant which can be used with the source property of a CreateDistributedDatabaseShardDetails.
SOURCE_EXISTING_CLUSTER A constant which can be used with the source property of a CreateDistributedDatabaseShardDetails.
SOURCE_NEW_VAULT_AND_CLUSTER A constant which can be used with the source property of a CreateDistributedDatabaseShardDetails.
source [Required] Gets the source of this CreateDistributedDatabaseShardDetails.

Methods

__init__(**kwargs) Initializes a new CreateDistributedDatabaseShardDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
SOURCE_EXADB_XS = 'EXADB_XS'

A constant which can be used with the source property of a CreateDistributedDatabaseShardDetails. This constant has a value of “EXADB_XS”

SOURCE_EXISTING_CLUSTER = 'EXISTING_CLUSTER'

A constant which can be used with the source property of a CreateDistributedDatabaseShardDetails. This constant has a value of “EXISTING_CLUSTER”

SOURCE_NEW_VAULT_AND_CLUSTER = 'NEW_VAULT_AND_CLUSTER'

A constant which can be used with the source property of a CreateDistributedDatabaseShardDetails. This constant has a value of “NEW_VAULT_AND_CLUSTER”

__init__(**kwargs)

Initializes a new CreateDistributedDatabaseShardDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:source (str) – The value to assign to the source property of this CreateDistributedDatabaseShardDetails. Allowed values for this property are: “EXADB_XS”, “NEW_VAULT_AND_CLUSTER”, “EXISTING_CLUSTER”
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

source

[Required] Gets the source of this CreateDistributedDatabaseShardDetails. Type of Globally distributed database Shard or Catalog. Use NEW_VAULT_AND_CLUSTER for a Globally distributed database on Exascale with new vaults and clusters created from scratch. Use EXISTING_CLUSTER for a Globally distributed database on Exascale based on pre-existing clusters. EXADB_XS is currently the same as EXISTING_CLUSTER and will be deprecated after the deprecation cycle.

Allowed values for this property are: “EXADB_XS”, “NEW_VAULT_AND_CLUSTER”, “EXISTING_CLUSTER”

Returns:The source of this CreateDistributedDatabaseShardDetails.
Return type:str