DistributedDatabaseCatalogDatabase¶
-
class
oci.distributed_database.models.DistributedDatabaseCatalogDatabase(**kwargs)¶ Bases:
objectDetails of a distributed database catalog.
Attributes
SOURCE_EXISTING_DB_HOMEA constant which can be used with the source property of a DistributedDatabaseCatalogDatabase. SOURCE_XD_EXISTING_CLUSTERA constant which can be used with the source property of a DistributedDatabaseCatalogDatabase. SOURCE_XS_EXISTING_CLUSTERA constant which can be used with the source property of a DistributedDatabaseCatalogDatabase. SOURCE_XS_NEW_CLUSTERA constant which can be used with the source property of a DistributedDatabaseCatalogDatabase. SOURCE_XS_NEW_VAULT_AND_CLUSTERA constant which can be used with the source property of a DistributedDatabaseCatalogDatabase. metadataGets the metadata of this DistributedDatabaseCatalogDatabase. name[Required] Gets the name of this DistributedDatabaseCatalogDatabase. source[Required] Gets the source of this DistributedDatabaseCatalogDatabase. time_created[Required] Gets the time_created of this DistributedDatabaseCatalogDatabase. time_updated[Required] Gets the time_updated of this DistributedDatabaseCatalogDatabase. Methods
__init__(**kwargs)Initializes a new DistributedDatabaseCatalogDatabase 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 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”
-
__init__(**kwargs)¶ Initializes a new DistributedDatabaseCatalogDatabase 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:
DistributedDatabaseCatalogDatabaseWithExadbXsNewClusterDistributedDatabaseCatalogDatabaseWithExadbXdDistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndClusterDistributedDatabaseCatalogDatabaseWithDbHomeDistributedDatabaseCatalogDatabaseWithExadbXs
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 DistributedDatabaseCatalogDatabase. 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 DistributedDatabaseCatalogDatabase.
- time_created (datetime) – The value to assign to the time_created property of this DistributedDatabaseCatalogDatabase.
- time_updated (datetime) – The value to assign to the time_updated property of this DistributedDatabaseCatalogDatabase.
- metadata (oci.distributed_database.models.DistributedDbMetadata) – The value to assign to the metadata property of this DistributedDatabaseCatalogDatabase.
-
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.
-
metadata¶ Gets the metadata of this DistributedDatabaseCatalogDatabase.
Returns: The metadata of this DistributedDatabaseCatalogDatabase. Return type: oci.distributed_database.models.DistributedDbMetadata
-
name¶ [Required] Gets the name of this DistributedDatabaseCatalogDatabase. The name of the catalog.
Returns: The name of this DistributedDatabaseCatalogDatabase. Return type: str
-
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
-
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
-
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
-