CreateDistributedDatabaseCatalogDatabaseDetails¶
-
class
oci.distributed_database.models.CreateDistributedDatabaseCatalogDatabaseDetails(**kwargs)¶ Bases:
objectDetails for creating a distributed database catalog.
Attributes
SOURCE_EXISTING_DB_HOMEA constant which can be used with the source property of a CreateDistributedDatabaseCatalogDatabaseDetails. SOURCE_XD_EXISTING_CLUSTERA constant which can be used with the source property of a CreateDistributedDatabaseCatalogDatabaseDetails. SOURCE_XS_EXISTING_CLUSTERA constant which can be used with the source property of a CreateDistributedDatabaseCatalogDatabaseDetails. SOURCE_XS_NEW_CLUSTERA constant which can be used with the source property of a CreateDistributedDatabaseCatalogDatabaseDetails. SOURCE_XS_NEW_VAULT_AND_CLUSTERA constant which can be used with the source property of a CreateDistributedDatabaseCatalogDatabaseDetails. source[Required] Gets the source of this CreateDistributedDatabaseCatalogDatabaseDetails. tde_wallet_passwordGets the tde_wallet_password of this CreateDistributedDatabaseCatalogDatabaseDetails. tde_wallet_password_secret_idGets the tde_wallet_password_secret_id of this CreateDistributedDatabaseCatalogDatabaseDetails. tde_wallet_password_secret_version_numberGets the tde_wallet_password_secret_version_number of this CreateDistributedDatabaseCatalogDatabaseDetails. Methods
__init__(**kwargs)Initializes a new CreateDistributedDatabaseCatalogDatabaseDetails 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 CreateDistributedDatabaseCatalogDatabaseDetails. 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 CreateDistributedDatabaseCatalogDatabaseDetails. 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 CreateDistributedDatabaseCatalogDatabaseDetails. 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 CreateDistributedDatabaseCatalogDatabaseDetails. 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 CreateDistributedDatabaseCatalogDatabaseDetails. This constant has a value of “XS_NEW_VAULT_AND_CLUSTER”
-
__init__(**kwargs)¶ Initializes a new CreateDistributedDatabaseCatalogDatabaseDetails 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:
CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetailsCreateDistributedDatabaseCatalogDatabaseWithDbHomeDetailsCreateDistributedDatabaseCatalogDatabaseWithExadbXsDetailsCreateDistributedDatabaseCatalogDatabaseWithExadbXdDetailsCreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails
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 CreateDistributedDatabaseCatalogDatabaseDetails. Allowed values for this property are: “XS_EXISTING_CLUSTER”, “XS_NEW_CLUSTER”, “XS_NEW_VAULT_AND_CLUSTER”, “XD_EXISTING_CLUSTER”, “EXISTING_DB_HOME”
- tde_wallet_password (str) – The value to assign to the tde_wallet_password property of this CreateDistributedDatabaseCatalogDatabaseDetails.
- tde_wallet_password_secret_id (str) – The value to assign to the tde_wallet_password_secret_id property of this CreateDistributedDatabaseCatalogDatabaseDetails.
- tde_wallet_password_secret_version_number (int) – The value to assign to the tde_wallet_password_secret_version_number property of this CreateDistributedDatabaseCatalogDatabaseDetails.
-
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 CreateDistributedDatabaseCatalogDatabaseDetails. 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”
Returns: The source of this CreateDistributedDatabaseCatalogDatabaseDetails. Return type: str
-
tde_wallet_password¶ Gets the tde_wallet_password of this CreateDistributedDatabaseCatalogDatabaseDetails. The password to open the TDE wallet. The password must be 9 to 255 characters and contain at least two uppercase letters, two lowercase letters, two numeric characters, and two special characters. The allowed special characters are _, #, and -.
Returns: The tde_wallet_password of this CreateDistributedDatabaseCatalogDatabaseDetails. Return type: str
-
tde_wallet_password_secret_id¶ Gets the tde_wallet_password_secret_id of this CreateDistributedDatabaseCatalogDatabaseDetails. The OCID of the OCI vault secret. This cannot be used in conjunction with tdeWalletPassword.
Returns: The tde_wallet_password_secret_id of this CreateDistributedDatabaseCatalogDatabaseDetails. Return type: str
-
tde_wallet_password_secret_version_number¶ Gets the tde_wallet_password_secret_version_number of this CreateDistributedDatabaseCatalogDatabaseDetails. The version of the vault secret. If no version is specified, the latest version will be used.
Returns: The tde_wallet_password_secret_version_number of this CreateDistributedDatabaseCatalogDatabaseDetails. Return type: int
-