CreateDistributedDatabaseShardDatabaseDetails

class oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseDetails(**kwargs)

Bases: object

Details for creating a distributed database shard.

Attributes

SOURCE_EXISTING_DB_HOME A constant which can be used with the source property of a CreateDistributedDatabaseShardDatabaseDetails.
SOURCE_XD_EXISTING_CLUSTER A constant which can be used with the source property of a CreateDistributedDatabaseShardDatabaseDetails.
SOURCE_XS_EXISTING_CLUSTER A constant which can be used with the source property of a CreateDistributedDatabaseShardDatabaseDetails.
SOURCE_XS_NEW_CLUSTER A constant which can be used with the source property of a CreateDistributedDatabaseShardDatabaseDetails.
SOURCE_XS_NEW_VAULT_AND_CLUSTER A constant which can be used with the source property of a CreateDistributedDatabaseShardDatabaseDetails.
source [Required] Gets the source of this CreateDistributedDatabaseShardDatabaseDetails.

Methods

__init__(**kwargs) Initializes a new CreateDistributedDatabaseShardDatabaseDetails 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_EXISTING_DB_HOME = 'EXISTING_DB_HOME'

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

SOURCE_XD_EXISTING_CLUSTER = 'XD_EXISTING_CLUSTER'

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

SOURCE_XS_EXISTING_CLUSTER = 'XS_EXISTING_CLUSTER'

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

SOURCE_XS_NEW_CLUSTER = 'XS_NEW_CLUSTER'

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

SOURCE_XS_NEW_VAULT_AND_CLUSTER = 'XS_NEW_VAULT_AND_CLUSTER'

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

__init__(**kwargs)

Initializes a new CreateDistributedDatabaseShardDatabaseDetails 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 CreateDistributedDatabaseShardDatabaseDetails. Allowed values for this property are: “XS_EXISTING_CLUSTER”, “XS_NEW_CLUSTER”, “XS_NEW_VAULT_AND_CLUSTER”, “XD_EXISTING_CLUSTER”, “EXISTING_DB_HOME”
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 CreateDistributedDatabaseShardDatabaseDetails. The source of the Globally distributed database type. Use XS_EXISTING_CLUSTER for a database on Exascale Infrastructure that uses a pre-existing cluster. Use XS_NEW_CLUSTER for a database on Exascale Infrastructure that requires a new cluster created from scratch. Use XS_NEW_VAULT_AND_CLUSTER for a database on Exascale Infrastructure that requires a new vault and cluster created from scratch. Use XD_EXISTING_CLUSTER for a database on Dedicated Infrastructure that uses a pre-existing cluster. Use EXISTING_DB_HOME for a database on a pre-existing database home.

Allowed values for this property are: “XS_EXISTING_CLUSTER”, “XS_NEW_CLUSTER”, “XS_NEW_VAULT_AND_CLUSTER”, “XD_EXISTING_CLUSTER”, “EXISTING_DB_HOME”

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