DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster¶
-
class
oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster(**kwargs)¶ Bases:
oci.distributed_database_v26.models.distributed_database_shard_database.DistributedDatabaseShardDatabaseDetails of a distributed database shard on ExaDB-XS with a new cluster and storage vault.
Attributes
PROTECTION_MODE_MAXIMUM_AVAILABILITYA constant which can be used with the protection_mode property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. PROTECTION_MODE_MAXIMUM_PERFORMANCEA constant which can be used with the protection_mode property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. PROTECTION_MODE_MAXIMUM_PROTECTIONA constant which can be used with the protection_mode property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. SOURCE_EXISTING_DB_HOMEstr(object=’’) -> str SOURCE_XD_EXISTING_CLUSTERstr(object=’’) -> str SOURCE_XS_EXISTING_CLUSTERstr(object=’’) -> str SOURCE_XS_NEW_CLUSTERstr(object=’’) -> str SOURCE_XS_NEW_VAULT_AND_CLUSTERstr(object=’’) -> str STATUS_CONFIGUREDA constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. STATUS_CREATEDA constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. STATUS_CREATINGA constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. STATUS_DELETEDA constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. STATUS_DELETINGA constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. STATUS_FAILEDA constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. STATUS_NEEDS_ATTENTIONA constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. STATUS_READY_FOR_CONFIGURATIONA constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. STATUS_UPDATINGA constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. TRANSPORT_TYPE_ASYNCA constant which can be used with the transport_type property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. TRANSPORT_TYPE_FASTSYNCA constant which can be used with the transport_type property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. TRANSPORT_TYPE_SYNCA constant which can be used with the transport_type property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. availability_domainGets the availability_domain of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. container_database_idGets the container_database_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. db_home_idGets the db_home_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. db_storage_vault_detailsGets the db_storage_vault_details of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. kms_key_idGets the kms_key_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. kms_key_version_idGets the kms_key_version_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. metadataGets the metadata of this DistributedDatabaseShardDatabase. name[Required] Gets the name of this DistributedDatabaseShardDatabase. protection_modeGets the protection_mode of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. source[Required] Gets the source of this DistributedDatabaseShardDatabase. status[Required] Gets the status of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. supporting_resource_idGets the supporting_resource_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. time_created[Required] Gets the time_created of this DistributedDatabaseShardDatabase. time_updated[Required] Gets the time_updated of this DistributedDatabaseShardDatabase. transport_typeGets the transport_type of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. vault_idGets the vault_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. vm_cluster_detailsGets the vm_cluster_details of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Methods
__init__(**kwargs)Initializes a new DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster 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 DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. 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 DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. 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 DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. 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'¶
-
STATUS_CONFIGURED= 'CONFIGURED'¶ A constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “CONFIGURED”
-
STATUS_CREATED= 'CREATED'¶ A constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “CREATED”
-
STATUS_CREATING= 'CREATING'¶ A constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “CREATING”
-
STATUS_DELETED= 'DELETED'¶ A constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “DELETED”
-
STATUS_DELETING= 'DELETING'¶ A constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “DELETING”
-
STATUS_FAILED= 'FAILED'¶ A constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “FAILED”
-
STATUS_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶ A constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “NEEDS_ATTENTION”
-
STATUS_READY_FOR_CONFIGURATION= 'READY_FOR_CONFIGURATION'¶ A constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “READY_FOR_CONFIGURATION”
-
STATUS_UPDATING= 'UPDATING'¶ A constant which can be used with the status property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “UPDATING”
-
TRANSPORT_TYPE_ASYNC= 'ASYNC'¶ A constant which can be used with the transport_type property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “ASYNC”
-
TRANSPORT_TYPE_FASTSYNC= 'FASTSYNC'¶ A constant which can be used with the transport_type property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “FASTSYNC”
-
TRANSPORT_TYPE_SYNC= 'SYNC'¶ A constant which can be used with the transport_type property of a DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. This constant has a value of “SYNC”
-
__init__(**kwargs)¶ Initializes a new DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster object with values from keyword arguments. The default value of the
sourceattribute of this class isXS_NEW_VAULT_AND_CLUSTERand 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 DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Allowed values for this property are: “XS_EXISTING_CLUSTER”, “XS_NEW_CLUSTER”, “XS_NEW_VAULT_AND_CLUSTER”, “XD_EXISTING_CLUSTER”, “EXISTING_DB_HOME”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- name (str) – The value to assign to the name property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- time_created (datetime) – The value to assign to the time_created property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- time_updated (datetime) – The value to assign to the time_updated property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- metadata (oci.distributed_database_v26.models.DistributedDbMetadata) – The value to assign to the metadata property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- db_home_id (str) – The value to assign to the db_home_id property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- vault_id (str) – The value to assign to the vault_id property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- kms_key_id (str) – The value to assign to the kms_key_id property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- status (str) – The value to assign to the status property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Allowed values for this property are: “FAILED”, “DELETING”, “DELETED”, “UPDATING”, “CREATING”, “CREATED”, “READY_FOR_CONFIGURATION”, “CONFIGURED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- supporting_resource_id (str) – The value to assign to the supporting_resource_id property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- container_database_id (str) – The value to assign to the container_database_id property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- availability_domain (str) – The value to assign to the availability_domain property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- db_storage_vault_details (oci.distributed_database_v26.models.DistributedDbStorageVault) – The value to assign to the db_storage_vault_details property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- vm_cluster_details (oci.distributed_database_v26.models.DistributedDbVmCluster) – The value to assign to the vm_cluster_details property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
- protection_mode (str) – The value to assign to the protection_mode property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, “MAXIMUM_PROTECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- transport_type (str) – The value to assign to the transport_type property of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
availability_domain¶ Gets the availability_domain of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. The name of the availability domain that the distributed database shard will be located in.
Returns: The availability_domain of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
container_database_id¶ Gets the container_database_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. the identifier of the container database for underlying supporting resource.
Returns: The container_database_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
db_home_id¶ Gets the db_home_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. The OCID of the Database Home.
Returns: The db_home_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
db_storage_vault_details¶ Gets the db_storage_vault_details of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
Returns: The db_storage_vault_details of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: oci.distributed_database_v26.models.DistributedDbStorageVault
-
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 DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. 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 DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
kms_key_version_id¶ Gets the kms_key_version_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. 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 DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
metadata¶ Gets the metadata of this DistributedDatabaseShardDatabase.
Returns: The metadata of this DistributedDatabaseShardDatabase. Return type: oci.distributed_database_v26.models.DistributedDbMetadata
-
name¶ [Required] Gets the name of this DistributedDatabaseShardDatabase. Name of the shard.
Returns: The name of this DistributedDatabaseShardDatabase. Return type: str
-
protection_mode¶ Gets the protection_mode of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. The protection mode used for the Data Guard association.
Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, “MAXIMUM_PROTECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The protection_mode of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
source¶ [Required] Gets the source of this DistributedDatabaseShardDatabase. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The source of this DistributedDatabaseShardDatabase. Return type: str
-
status¶ [Required] Gets the status of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Status of distributed database shard.
Allowed values for this property are: “FAILED”, “DELETING”, “DELETED”, “UPDATING”, “CREATING”, “CREATED”, “READY_FOR_CONFIGURATION”, “CONFIGURED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
supporting_resource_id¶ Gets the supporting_resource_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. the identifier of the underlying supporting resource.
Returns: The supporting_resource_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
time_created¶ [Required] Gets the time_created of this DistributedDatabaseShardDatabase. The time the shard was created. An RFC3339 formatted datetime string.
Returns: The time_created of this DistributedDatabaseShardDatabase. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this DistributedDatabaseShardDatabase. The time the shard was last updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this DistributedDatabaseShardDatabase. Return type: datetime
-
transport_type¶ Gets the transport_type of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. The transport type used for the Data Guard association.
Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The transport_type of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
vault_id¶ Gets the vault_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. The OCID of the Oracle Cloud Infrastructure vault. This parameter and kmsKeyId are required for Customer Managed Keys.
Returns: The vault_id of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: str
-
vm_cluster_details¶ Gets the vm_cluster_details of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.
Returns: The vm_cluster_details of this DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster. Return type: oci.distributed_database_v26.models.DistributedDbVmCluster
-