models_v2.common_oracle_app_source_config module

class models_v2.common_oracle_app_source_config.CommonOracleAppSourceConfig(restore_time_usecs=None, db_channels=None, recovery_mode=None, shell_evironment_vars=None, granular_restore_info=None)[source]

Bases: object

Implementation of the ‘Common Oracle App Source Config.’ model.

Specifies a common parameters used when restoring back to original or new source.

Attributes:
restore_time_usecs (long|int): Specifies the time in the past to which

the Oracle db needs to be restored. This allows for granular recovery of Oracle databases. If this is not set, the Oracle db will be restored from the full/incremental snapshot.

db_channels (list of OracleProtectionGroupDatabaseNodeChannel):

Specifies the Oracle database node channels info. If not specified, the default values assigned by the server are applied to all the databases.

recovery_mode (bool): Specifies if database should be left in recovery

mode.

shell_evironment_vars (list of ShellKeyValuePair): Specifies key value

pairs of shell variables which defines the restore shell environment.

granular_restore_info (RecoverOracleGranularRestoreInformation):

Specifies information about list of objects (PDBs) to restore.

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.

class models_v2.common_oracle_app_source_config.RecoverOracleAppNewDatabaseTargetConfig(database_name=None, oracle_base_folder=None, oracle_home_folder=None, db_files_destination=None, db_config_file_path=None, enable_archive_log_mode=None, pfile_parameter_map=None, bct_file_path=None, num_tempfiles=None, redo_log_config=None, is_multi_stage_restore=None, oracle_update_restore_options=None, restore_time_usecs=None, db_channels=None, recovery_mode=None, shell_evironment_vars=None, granular_restore_info=None)[source]

Bases: models_v2.common_oracle_app_source_config.CommonOracleAppSourceConfig

Implementation of the ‘Recover Oracle App New Database Target Config.’ model.

Specifies recovery parameters when recovering to a database. NOTE: This class inherits from ‘CommonOracleAppSourceConfig’.

Attributes:
database_name (string): Specifies a new name for the restored

database. If this field is not specified, then the original database will be overwritten after recovery.

oracle_base_folder (string): Specifies the oracle base folder at

selected host.

oracle_home_folder (string): Specifies the oracle home folder at

selected host.

db_files_destination (string): Specifies the location to restore

database files.

db_config_file_path (string): Specifies the config file path on

selected host which configures the restored database.

enable_archive_log_mode (bool): Specifies archive log mode for oracle

restore.

pfile_parameter_map (list of KeyValuePair): Specifies a key value pair

for pfile parameters.

bct_file_path (string): Specifies BCT file path. num_tempfiles (int): Specifies no. of tempfiles to be used for the

recovered database.

redo_log_config (RedoLogConfig): Specifies redo log config. is_multi_stage_restore (bool): Specifies whether this task is a

multistage restore task. If set, we migrate the DB after clone completes.

oracle_update_restore_options (OracleUpdateRestoreOptions): Specifies

the parameters that are needed for updating oracle restore options.

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.

class models_v2.common_oracle_app_source_config.RecoverOracleAppNewViewTargetConfig(view_mount_path=None, restore_time_usecs=None, db_channels=None, recovery_mode=None, shell_evironment_vars=None, granular_restore_info=None)[source]

Bases: models_v2.common_oracle_app_source_config.CommonOracleAppSourceConfig

Implementation of the ‘Recover Oracle App New View Target Config.’ model.

Specifies recovery parameters when recovering to a view. NOTE: This class inherits from ‘CommonOracleAppSourceConfig’.

Attributes:
view_mount_path (string): Specifies the directory where cohesity view

for app recovery will be mounted.

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.