DistributedDatabaseCatalog¶
-
class
oci.distributed_database.models.DistributedDatabaseCatalog(**kwargs)¶ Bases:
objectGlobally distributed database catalog.
Attributes
SOURCE_EXADB_XSA constant which can be used with the source property of a DistributedDatabaseCatalog. SOURCE_EXISTING_CLUSTERA constant which can be used with the source property of a DistributedDatabaseCatalog. SOURCE_NEW_VAULT_AND_CLUSTERA constant which can be used with the source property of a DistributedDatabaseCatalog. name[Required] Gets the name of this DistributedDatabaseCatalog. source[Required] Gets the source of this DistributedDatabaseCatalog. time_created[Required] Gets the time_created of this DistributedDatabaseCatalog. time_updated[Required] Gets the time_updated of this DistributedDatabaseCatalog. Methods
__init__(**kwargs)Initializes a new DistributedDatabaseCatalog 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_EXADB_XS= 'EXADB_XS'¶ A constant which can be used with the source property of a DistributedDatabaseCatalog. This constant has a value of “EXADB_XS”
-
SOURCE_EXISTING_CLUSTER= 'EXISTING_CLUSTER'¶ A constant which can be used with the source property of a DistributedDatabaseCatalog. This constant has a value of “EXISTING_CLUSTER”
-
SOURCE_NEW_VAULT_AND_CLUSTER= 'NEW_VAULT_AND_CLUSTER'¶ A constant which can be used with the source property of a DistributedDatabaseCatalog. This constant has a value of “NEW_VAULT_AND_CLUSTER”
-
__init__(**kwargs)¶ Initializes a new DistributedDatabaseCatalog 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:
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 DistributedDatabaseCatalog. Allowed values for this property are: “EXADB_XS”, “NEW_VAULT_AND_CLUSTER”, “EXISTING_CLUSTER”, ‘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 DistributedDatabaseCatalog.
- time_created (datetime) – The value to assign to the time_created property of this DistributedDatabaseCatalog.
- time_updated (datetime) – The value to assign to the time_updated property of this DistributedDatabaseCatalog.
-
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.
-
name¶ [Required] Gets the name of this DistributedDatabaseCatalog. The name of catalog.
Returns: The name of this DistributedDatabaseCatalog. Return type: str
-
source¶ [Required] Gets the source of this DistributedDatabaseCatalog. Type of Globally distributed database Shard or Catalog. Use NEW_VAULT_AND_CLUSTER for a Globally distributed database on Exascale with new vaults and clusters created from scratch. Use EXISTING_CLUSTER for a Globally distributed database on Exascale based on pre-existing clusters. EXADB_XS is currently the same as EXISTING_CLUSTER and will be deprecated after the deprecation cycle.
Allowed values for this property are: “EXADB_XS”, “NEW_VAULT_AND_CLUSTER”, “EXISTING_CLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The source of this DistributedDatabaseCatalog. Return type: str
-
time_created¶ [Required] Gets the time_created of this DistributedDatabaseCatalog. The time the catalog was created. An RFC3339 formatted datetime string
Returns: The time_created of this DistributedDatabaseCatalog. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this DistributedDatabaseCatalog. The time the catalog was last updated. An RFC3339 formatted datetime string
Returns: The time_updated of this DistributedDatabaseCatalog. Return type: datetime
-