CreateDistributedDatabaseCatalogDetails¶
-
class
oci.distributed_database.models.CreateDistributedDatabaseCatalogDetails(**kwargs)¶ Bases:
objectDetails of the Globally distributed database catalog.
Attributes
SOURCE_EXADB_XSA constant which can be used with the source property of a CreateDistributedDatabaseCatalogDetails. SOURCE_EXISTING_CLUSTERA constant which can be used with the source property of a CreateDistributedDatabaseCatalogDetails. SOURCE_NEW_VAULT_AND_CLUSTERA constant which can be used with the source property of a CreateDistributedDatabaseCatalogDetails. source[Required] Gets the source of this CreateDistributedDatabaseCatalogDetails. Methods
__init__(**kwargs)Initializes a new CreateDistributedDatabaseCatalogDetails 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 CreateDistributedDatabaseCatalogDetails. 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 CreateDistributedDatabaseCatalogDetails. 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 CreateDistributedDatabaseCatalogDetails. This constant has a value of “NEW_VAULT_AND_CLUSTER”
-
__init__(**kwargs)¶ Initializes a new CreateDistributedDatabaseCatalogDetails 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:
CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetailsCreateDistributedDatabaseCatalogWithExadbXsDetails
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 CreateDistributedDatabaseCatalogDetails. Allowed values for this property are: “EXADB_XS”, “NEW_VAULT_AND_CLUSTER”, “EXISTING_CLUSTER”
-
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.
-
source¶ [Required] Gets the source of this CreateDistributedDatabaseCatalogDetails. 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”
Returns: The source of this CreateDistributedDatabaseCatalogDetails. Return type: str
-