models_v2.kvmv_ms_recovery_target_config module

class models_v2.kvmv_ms_recovery_target_config.KVMVMsRecoveryTargetConfig(recover_to_new_source=None, new_source_config=None, original_source_config=None)[source]

Bases: object

Implementation of the ‘KVM VMs Recovery Target Config.’ model.

Specifies the target object parameters to recover KVM vms.

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 (NewSourceConfig9): 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 (OriginalSourceConfig): 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.