CreateDistributedDatabaseShardDatabaseWithExadbXdDetails

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

Bases: oci.distributed_database_v26.models.create_distributed_database_shard_database_details.CreateDistributedDatabaseShardDatabaseDetails

Configuration for creating a distributed database shard using an existing ExaDB-D VM cluster.

Attributes

PROTECTION_MODE_MAXIMUM_AVAILABILITY A constant which can be used with the protection_mode property of a CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
PROTECTION_MODE_MAXIMUM_PERFORMANCE A constant which can be used with the protection_mode property of a CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
PROTECTION_MODE_MAXIMUM_PROTECTION A constant which can be used with the protection_mode property of a CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
TRANSPORT_TYPE_FASTSYNC A constant which can be used with the transport_type property of a CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
TRANSPORT_TYPE_SYNC A constant which can be used with the transport_type property of a CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
admin_password [Required] Gets the admin_password of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
kms_key_id Gets the kms_key_id of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
kms_key_version_id Gets the kms_key_version_id of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
protection_mode Gets the protection_mode of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
source [Required] Gets the source of this CreateDistributedDatabaseShardDatabaseDetails.
transport_type Gets the transport_type of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
vault_id Gets the vault_id of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
vm_cluster_id [Required] Gets the vm_cluster_id of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.

Methods

__init__(**kwargs) Initializes a new CreateDistributedDatabaseShardDatabaseWithExadbXdDetails 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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. 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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. 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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. 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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. This constant has a value of “ASYNC”

TRANSPORT_TYPE_FASTSYNC = 'FASTSYNC'

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

TRANSPORT_TYPE_SYNC = 'SYNC'

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

__init__(**kwargs)

Initializes a new CreateDistributedDatabaseShardDatabaseWithExadbXdDetails object with values from keyword arguments. The default value of the source attribute of this class is XD_EXISTING_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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. Allowed values for this property are: “XS_EXISTING_CLUSTER”, “XS_NEW_CLUSTER”, “XS_NEW_VAULT_AND_CLUSTER”, “XD_EXISTING_CLUSTER”, “EXISTING_DB_HOME”
  • vm_cluster_id (str) – The value to assign to the vm_cluster_id property of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
  • admin_password (str) – The value to assign to the admin_password property of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
  • vault_id (str) – The value to assign to the vault_id property of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
  • kms_key_id (str) – The value to assign to the kms_key_id property of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
  • kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
  • protection_mode (str) – The value to assign to the protection_mode property of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. 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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”
admin_password

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

Returns:The admin_password of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
Return type:str
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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. 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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
Return type:str
kms_key_version_id

Gets the kms_key_version_id of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. 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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
Return type:str
protection_mode

Gets the protection_mode of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. 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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
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 CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. The transport type used for the Data Guard association.

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

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

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

Returns:The vault_id of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
Return type:str
vm_cluster_id

[Required] Gets the vm_cluster_id of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails. The OCID of the Cloud VM Cluster.

Returns:The vm_cluster_id of this CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.
Return type:str