models.oracle_protection_source module

class models.oracle_protection_source.OracleProtectionSource(archive_log_enabled=None, bct_enabled=None, container_database_info=None, data_guard_info=None, database_unique_name=None, db_type=None, domain=None, fra_size=None, hosts=None, name=None, owner_id=None, sga_target_size=None, shared_pool_size=None, size=None, tde_encrypted_ts_count=None, temp_files_count=None, mtype=None, uuid=None, version=None)[source]

Bases: object

Implementation of the ‘OracleProtectionSource’ model.

Specifies an Object representing one Oracle database.

Attributes:
archive_log_enabled (bool): Specifies whether the database is running

in ARCHIVELOG mode. It enables the redo of log files into archived redo log files.

bct_enabled (bool): Specifies whether the Block Change Tracking is

enabled. BCT improves the performance of incremental backups by recording changed blocks into the block change tracking file. RMAN then uses this file to identify changed blocks to be backed up.

container_database_info (OracleContainerDatabaseInfo): Specifies the

Container Database Information including the Pluggable databases within the container.

data_guard_info (OracleDataGuardInfo): Specifies the Data Gurad

configuration information for the current DB entity.

database_unique_name (string): Specifies the unique name of the Oracle

entity.

db_type (DbTypeEnum): Specifies the type of the database in Oracle

Protection Source. ‘kRACDatabase’ indicates the database is a RAC DB. ‘kSingleInstance’ indicates that the databse is single instance.

domain (string): Specifies the Oracle DB Domain. fra_size (long|int): Specifies Flash/Fast Recovery area size for the

current DB entity.

hosts (list of OracleHost): Specifies the list of hosts for the

current DB entity.

name (string): Specifies the instance name of the Oracle entity. owner_id (long|int): Specifies the entity id of the owner entity (such

as a VM). This is only set if type is kDatabase.

sga_target_size (string): Specifies System Global Area size for the

current DB entity. A system global area (SGA) is a group of shared memory structures that contain data and control information for one Oracle database.

shared_pool_size (string): Specifies Shared Pool Size for the current

DB entity.

size (long|int): Specifies database size. tde_encrypted_ts_count (int|long): Specifies the number of TDE

encrypted tablespaces found in the database.

temp_files_count (long|int): Specifies number of temporary files for

the current DB entity.

mtype (TypeOracleProtectionSourceEnum): Specifies the type of the

managed Object in Oracle Protection Source. ‘kRACRootContainer’ indicates the entity is a root container to an Oracle Real Application clusters(Oracle RAC). ‘kRootContainer’ indicates the entity is a root container to an Oracle standalone server. ‘kHost’ indicates the entity is an Oracle host. ‘kDatabase’ indicates the entity is an Oracle Database. ‘kTableSpace’ indicates the entity is an Oracle table space. ‘kTable’ indicates the entity is an Oracle table.

uuid (string): Specifies the UUID for the Oracle entity. version (string): Specifies the Oracle database instance version.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.