models_v2.recover_sql_app_snapshot_params module¶
-
class
models_v2.recover_sql_app_snapshot_params.
RecoverSqlAppSnapshotParams
(recover_to_new_source=None, new_source_config=None, original_source_config=None)[source]¶ Bases:
object
Implementation of the ‘Recover Sql App Snapshot Params.’ model.
Specifies the snapshot parameters to recover Sql databases.
- Attributes:
- recover_to_new_source (bool): Specifies the parameter whether the
recovery should be performed to a new sources or an original Source Target.
- new_source_config (NewSourceConfig4): Specifies the destination Source
configuration parameters where the databases will be recovered. This is mandatory if recoverToNewSource is set to true.
- original_source_config (OriginalSourceConfig1): Specifies the Source
configuration if databases are being recovered to Original Source. If not specified, all the configuration parameters will be retained.
-
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.