models_v2.recovery_target_config_5 module

class models_v2.recovery_target_config_5.RecoveryTargetConfig5(recover_to_new_source=None, new_source_config=None, original_source_config=None)[source]

Bases: object

Implementation of the ‘RecoveryTargetConfig5’ 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 (NewSourceConfig6): Specifies the new destination

Source configuration parameters where the VMs will be recovered. This is mandatory if recoverToNewSource is set to true.

original_source_config (OriginalSourceConfig3): Specifies the Source

configuration if VM’s 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.