DistributedDatabaseCatalogDatabaseWithDbHome

class oci.distributed_database.models.DistributedDatabaseCatalogDatabaseWithDbHome(**kwargs)

Bases: DistributedDatabaseCatalogDatabase

Details of a distributed database catalog using a pre-existing Database Home.

Attributes:

PROTECTION_MODE_MAXIMUM_AVAILABILITY

A constant which can be used with the protection_mode property of a DistributedDatabaseCatalogDatabaseWithDbHome.

PROTECTION_MODE_MAXIMUM_PERFORMANCE

A constant which can be used with the protection_mode property of a DistributedDatabaseCatalogDatabaseWithDbHome.

PROTECTION_MODE_MAXIMUM_PROTECTION

A constant which can be used with the protection_mode property of a DistributedDatabaseCatalogDatabaseWithDbHome.

SOURCE_EXISTING_DB_HOME

A constant which can be used with the source property of a DistributedDatabaseCatalogDatabase.

SOURCE_XD_EXISTING_CLUSTER

A constant which can be used with the source property of a DistributedDatabaseCatalogDatabase.

SOURCE_XS_EXISTING_CLUSTER

A constant which can be used with the source property of a DistributedDatabaseCatalogDatabase.

SOURCE_XS_NEW_CLUSTER

A constant which can be used with the source property of a DistributedDatabaseCatalogDatabase.

SOURCE_XS_NEW_VAULT_AND_CLUSTER

A constant which can be used with the source property of a DistributedDatabaseCatalogDatabase.

STATUS_CONFIGURED

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome.

STATUS_CREATED

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome.

STATUS_CREATING

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome.

STATUS_DELETED

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome.

STATUS_DELETING

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome.

STATUS_FAILED

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome.

STATUS_NEEDS_ATTENTION

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome.

STATUS_READY_FOR_CONFIGURATION

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome.

STATUS_UPDATING

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome.

TRANSPORT_TYPE_ASYNC

A constant which can be used with the transport_type property of a DistributedDatabaseCatalogDatabaseWithDbHome.

TRANSPORT_TYPE_FASTSYNC

A constant which can be used with the transport_type property of a DistributedDatabaseCatalogDatabaseWithDbHome.

TRANSPORT_TYPE_SYNC

A constant which can be used with the transport_type property of a DistributedDatabaseCatalogDatabaseWithDbHome.

container_database_id

Gets the container_database_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

db_home_id

[Required] Gets the db_home_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

kms_key_id

Gets the kms_key_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

kms_key_version_id

Gets the kms_key_version_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

metadata

Gets the metadata of this DistributedDatabaseCatalogDatabase.

name

[Required] Gets the name of this DistributedDatabaseCatalogDatabase.

protection_mode

Gets the protection_mode of this DistributedDatabaseCatalogDatabaseWithDbHome.

source

[Required] Gets the source of this DistributedDatabaseCatalogDatabase.

status

[Required] Gets the status of this DistributedDatabaseCatalogDatabaseWithDbHome.

supporting_resource_id

Gets the supporting_resource_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

time_created

[Required] Gets the time_created of this DistributedDatabaseCatalogDatabase.

time_updated

[Required] Gets the time_updated of this DistributedDatabaseCatalogDatabase.

transport_type

Gets the transport_type of this DistributedDatabaseCatalogDatabaseWithDbHome.

vault_id

Gets the vault_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

vm_cluster_id

Gets the vm_cluster_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

Methods:

__init__(**kwargs)

Initializes a new DistributedDatabaseCatalogDatabaseWithDbHome 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 DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome. This constant has a value of “MAXIMUM_PROTECTION”

SOURCE_EXISTING_DB_HOME = 'EXISTING_DB_HOME'

A constant which can be used with the source property of a DistributedDatabaseCatalogDatabase. 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 DistributedDatabaseCatalogDatabase. 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 DistributedDatabaseCatalogDatabase. 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 DistributedDatabaseCatalogDatabase. 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 DistributedDatabaseCatalogDatabase. This constant has a value of “XS_NEW_VAULT_AND_CLUSTER”

STATUS_CONFIGURED = 'CONFIGURED'

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome. This constant has a value of “CONFIGURED”

STATUS_CREATED = 'CREATED'

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome. This constant has a value of “CREATED”

STATUS_CREATING = 'CREATING'

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome. This constant has a value of “CREATING”

STATUS_DELETED = 'DELETED'

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome. This constant has a value of “DELETED”

STATUS_DELETING = 'DELETING'

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome. This constant has a value of “DELETING”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome. This constant has a value of “FAILED”

STATUS_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome. This constant has a value of “READY_FOR_CONFIGURATION”

STATUS_UPDATING = 'UPDATING'

A constant which can be used with the status property of a DistributedDatabaseCatalogDatabaseWithDbHome. This constant has a value of “UPDATING”

TRANSPORT_TYPE_ASYNC = 'ASYNC'

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

TRANSPORT_TYPE_FASTSYNC = 'FASTSYNC'

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

TRANSPORT_TYPE_SYNC = 'SYNC'

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

__init__(**kwargs)

Initializes a new DistributedDatabaseCatalogDatabaseWithDbHome object with values from keyword arguments. The default value of the source attribute of this class is EXISTING_DB_HOME 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 DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome.

  • time_created (datetime) – The value to assign to the time_created property of this DistributedDatabaseCatalogDatabaseWithDbHome.

  • time_updated (datetime) – The value to assign to the time_updated property of this DistributedDatabaseCatalogDatabaseWithDbHome.

  • metadata (oci.distributed_database.models.DistributedDbMetadata) – The value to assign to the metadata property of this DistributedDatabaseCatalogDatabaseWithDbHome.

  • db_home_id (str) – The value to assign to the db_home_id property of this DistributedDatabaseCatalogDatabaseWithDbHome.

  • vm_cluster_id (str) – The value to assign to the vm_cluster_id property of this DistributedDatabaseCatalogDatabaseWithDbHome.

  • status (str) – The value to assign to the status property of this DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome.

  • container_database_id (str) – The value to assign to the container_database_id property of this DistributedDatabaseCatalogDatabaseWithDbHome.

  • vault_id (str) – The value to assign to the vault_id property of this DistributedDatabaseCatalogDatabaseWithDbHome.

  • kms_key_id (str) – The value to assign to the kms_key_id property of this DistributedDatabaseCatalogDatabaseWithDbHome.

  • kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this DistributedDatabaseCatalogDatabaseWithDbHome.

  • protection_mode (str) – The value to assign to the protection_mode property of this DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome. 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’.

property container_database_id

Gets the container_database_id of this DistributedDatabaseCatalogDatabaseWithDbHome. the identifier of the container database for underlying supporting resource.

Returns

The container_database_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

Return type

str

property db_home_id

[Required] Gets the db_home_id of this DistributedDatabaseCatalogDatabaseWithDbHome. The OCID of the Database Home.

Returns

The db_home_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

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.

property kms_key_id

Gets the kms_key_id of this DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome.

Return type

str

property kms_key_version_id

Gets the kms_key_version_id of this DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome.

Return type

str

property metadata

Gets the metadata of this DistributedDatabaseCatalogDatabase.

Returns

The metadata of this DistributedDatabaseCatalogDatabase.

Return type

oci.distributed_database.models.DistributedDbMetadata

property name

[Required] Gets the name of this DistributedDatabaseCatalogDatabase. The name of the catalog.

Returns

The name of this DistributedDatabaseCatalogDatabase.

Return type

str

property protection_mode

Gets the protection_mode of this DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome.

Return type

str

property source

[Required] Gets the source of this DistributedDatabaseCatalogDatabase. 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 DistributedDatabaseCatalogDatabase.

Return type

str

property status

[Required] Gets the status of this DistributedDatabaseCatalogDatabaseWithDbHome. Status of the distributed database catalog.

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 DistributedDatabaseCatalogDatabaseWithDbHome.

Return type

str

property supporting_resource_id

Gets the supporting_resource_id of this DistributedDatabaseCatalogDatabaseWithDbHome. the identifier of the underlying supporting resource.

Returns

The supporting_resource_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

Return type

str

property time_created

[Required] Gets the time_created of this DistributedDatabaseCatalogDatabase. The time the catalog was created. An RFC3339 formatted datetime string.

Returns

The time_created of this DistributedDatabaseCatalogDatabase.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this DistributedDatabaseCatalogDatabase. The time the catalog was last updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this DistributedDatabaseCatalogDatabase.

Return type

datetime

property transport_type

Gets the transport_type of this DistributedDatabaseCatalogDatabaseWithDbHome. 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 DistributedDatabaseCatalogDatabaseWithDbHome.

Return type

str

property vault_id

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

Returns

The vault_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

Return type

str

property vm_cluster_id

Gets the vm_cluster_id of this DistributedDatabaseCatalogDatabaseWithDbHome. The OCID of the VmCluster.

Returns

The vm_cluster_id of this DistributedDatabaseCatalogDatabaseWithDbHome.

Return type

str