models_v2.recovery_target_config_2 module¶
-
class
models_v2.recovery_target_config_2.
RecoveryTargetConfig2
(recover_to_new_source=None, new_source_config=None)[source]¶ Bases:
object
Implementation of the ‘RecoveryTargetConfig2’ model.
Specifies the recovery target configuration if recovery has to be done to a different location which is different from original source or to original Source with different configuration. If not specified, then the recovery of the vms will be performed to original location with all configuration parameters retained.
- Attributes:
- recover_to_new_source (bool): Specifies the parameter whether the
recovery should be performed to a new or an existing Source Target.
- new_source_config (NewSourceConfig2): Specifies the new destination
Source configuration parameters where the VMs will be recovered. This is mandatory if recoverToNewSource is set to true.
-
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.