CreateDistributedDatabaseShardDatabaseDetails

class oci.distributed_database.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.
tde_wallet_password Gets the tde_wallet_password of this CreateDistributedDatabaseShardDatabaseDetails.
tde_wallet_password_secret_id Gets the tde_wallet_password_secret_id of this CreateDistributedDatabaseShardDatabaseDetails.
tde_wallet_password_secret_version_number Gets the tde_wallet_password_secret_version_number 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”
  • tde_wallet_password (str) – The value to assign to the tde_wallet_password property of this CreateDistributedDatabaseShardDatabaseDetails.
  • tde_wallet_password_secret_id (str) – The value to assign to the tde_wallet_password_secret_id property of this CreateDistributedDatabaseShardDatabaseDetails.
  • tde_wallet_password_secret_version_number (int) – The value to assign to the tde_wallet_password_secret_version_number property of this CreateDistributedDatabaseShardDatabaseDetails.
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
tde_wallet_password

Gets the tde_wallet_password of this CreateDistributedDatabaseShardDatabaseDetails. The password to open the TDE wallet. The password must be 9 to 255 characters and contain at least two uppercase letters, two lowercase letters, two numeric characters, and two special characters. The allowed special characters are _, #, and -.

Returns:The tde_wallet_password of this CreateDistributedDatabaseShardDatabaseDetails.
Return type:str
tde_wallet_password_secret_id

Gets the tde_wallet_password_secret_id of this CreateDistributedDatabaseShardDatabaseDetails. The OCID of the OCI vault secret. This cannot be used in conjunction with tdeWalletPassword.

Returns:The tde_wallet_password_secret_id of this CreateDistributedDatabaseShardDatabaseDetails.
Return type:str
tde_wallet_password_secret_version_number

Gets the tde_wallet_password_secret_version_number of this CreateDistributedDatabaseShardDatabaseDetails. The version of the vault secret. If no version is specified, the latest version will be used.

Returns:The tde_wallet_password_secret_version_number of this CreateDistributedDatabaseShardDatabaseDetails.
Return type:int