models_v2.recover_view_params module¶
-
class
models_v2.recover_view_params.
RecoverViewParams
(view_mount_path=None, restore_time_usecs=None, db_channels=None, recovery_mode=None, shell_evironment_vars=None, granular_restore_info=None)[source]¶ Bases:
object
Implementation of the ‘RecoverViewParams’ model.
Specifies recovery parameters when recovering to a view.
- Attributes:
- view_mount_path (string): Specifies the directory where cohesity view
for app recovery will be mounted.
- 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.