CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails

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

Bases: oci.distributed_database_v26.models.create_distributed_database_shard_database_details.CreateDistributedDatabaseShardDatabaseDetails

Configuration for creating a distributed database shard on a new ExaDB-XS VM cluster and storage vault.

Attributes

PROTECTION_MODE_MAXIMUM_AVAILABILITY A constant which can be used with the protection_mode property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
PROTECTION_MODE_MAXIMUM_PERFORMANCE A constant which can be used with the protection_mode property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
PROTECTION_MODE_MAXIMUM_PROTECTION A constant which can be used with the protection_mode property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
SOURCE_EXISTING_DB_HOME str(object=’’) -> str
SOURCE_XD_EXISTING_CLUSTER str(object=’’) -> str
SOURCE_XS_EXISTING_CLUSTER str(object=’’) -> str
SOURCE_XS_NEW_CLUSTER str(object=’’) -> str
SOURCE_XS_NEW_VAULT_AND_CLUSTER str(object=’’) -> str
TRANSPORT_TYPE_ASYNC A constant which can be used with the transport_type property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
TRANSPORT_TYPE_FASTSYNC A constant which can be used with the transport_type property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
TRANSPORT_TYPE_SYNC A constant which can be used with the transport_type property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
admin_password [Required] Gets the admin_password of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
availability_domain [Required] Gets the availability_domain of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
db_storage_vault_details [Required] Gets the db_storage_vault_details of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
kms_key_id Gets the kms_key_id of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
kms_key_version_id Gets the kms_key_version_id of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
protection_mode Gets the protection_mode of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
source [Required] Gets the source of this CreateDistributedDatabaseShardDatabaseDetails.
transport_type Gets the transport_type of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
vault_id Gets the vault_id of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
vm_cluster_details [Required] Gets the vm_cluster_details of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.

Methods

__init__(**kwargs) Initializes a new CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails 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.
PROTECTION_MODE_MAXIMUM_AVAILABILITY = 'MAXIMUM_AVAILABILITY'

A constant which can be used with the protection_mode property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. This constant has a value of “MAXIMUM_AVAILABILITY”

PROTECTION_MODE_MAXIMUM_PERFORMANCE = 'MAXIMUM_PERFORMANCE'

A constant which can be used with the protection_mode property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. This constant has a value of “MAXIMUM_PERFORMANCE”

PROTECTION_MODE_MAXIMUM_PROTECTION = 'MAXIMUM_PROTECTION'

A constant which can be used with the protection_mode property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. This constant has a value of “MAXIMUM_PROTECTION”

SOURCE_EXISTING_DB_HOME = 'EXISTING_DB_HOME'
SOURCE_XD_EXISTING_CLUSTER = 'XD_EXISTING_CLUSTER'
SOURCE_XS_EXISTING_CLUSTER = 'XS_EXISTING_CLUSTER'
SOURCE_XS_NEW_CLUSTER = 'XS_NEW_CLUSTER'
SOURCE_XS_NEW_VAULT_AND_CLUSTER = 'XS_NEW_VAULT_AND_CLUSTER'
TRANSPORT_TYPE_ASYNC = 'ASYNC'

A constant which can be used with the transport_type property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. This constant has a value of “ASYNC”

TRANSPORT_TYPE_FASTSYNC = 'FASTSYNC'

A constant which can be used with the transport_type property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. This constant has a value of “FASTSYNC”

TRANSPORT_TYPE_SYNC = 'SYNC'

A constant which can be used with the transport_type property of a CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. This constant has a value of “SYNC”

__init__(**kwargs)

Initializes a new CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails object with values from keyword arguments. The default value of the source attribute of this class is XS_NEW_VAULT_AND_CLUSTER and it should not be changed. 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 CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. Allowed values for this property are: “XS_EXISTING_CLUSTER”, “XS_NEW_CLUSTER”, “XS_NEW_VAULT_AND_CLUSTER”, “XD_EXISTING_CLUSTER”, “EXISTING_DB_HOME”
  • admin_password (str) – The value to assign to the admin_password property of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
  • vault_id (str) – The value to assign to the vault_id property of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
  • kms_key_id (str) – The value to assign to the kms_key_id property of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
  • kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
  • availability_domain (str) – The value to assign to the availability_domain property of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
  • db_storage_vault_details (oci.distributed_database_v26.models.DbStorageVaultDetails) – The value to assign to the db_storage_vault_details property of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
  • vm_cluster_details (oci.distributed_database_v26.models.VmClusterDetails) – The value to assign to the vm_cluster_details property of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
  • protection_mode (str) – The value to assign to the protection_mode property of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, “MAXIMUM_PROTECTION”
  • transport_type (str) – The value to assign to the transport_type property of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”
admin_password

[Required] Gets the admin_password of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. The admin password for the shard associated with Globally distributed database.

Returns:The admin_password of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
Return type:str
availability_domain

[Required] Gets the availability_domain of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. The name of the availability domain that the distributed database shard will be located in.

Returns:The availability_domain of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
Return type:str
db_storage_vault_details

[Required] Gets the db_storage_vault_details of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.

Returns:The db_storage_vault_details of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
Return type:oci.distributed_database_v26.models.DbStorageVaultDetails
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.

kms_key_id

Gets the kms_key_id of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

Returns:The kms_key_id of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
Return type:str
kms_key_version_id

Gets the kms_key_version_id of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.

Returns:The kms_key_version_id of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
Return type:str
protection_mode

Gets the protection_mode of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. The protection mode used for the Data Guard association.

Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, “MAXIMUM_PROTECTION”

Returns:The protection_mode of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
Return type:str
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
transport_type

Gets the transport_type of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. The transport type used for the Data Guard association.

Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”

Returns:The transport_type of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
Return type:str
vault_id

Gets the vault_id of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails. The OCID of the Oracle Cloud Infrastructure vault. This parameter and kmsKeyId are required for Customer Managed Keys.

Returns:The vault_id of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
Return type:str
vm_cluster_details

[Required] Gets the vm_cluster_details of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.

Returns:The vm_cluster_details of this CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.
Return type:oci.distributed_database_v26.models.VmClusterDetails