models_v2.vm_target_configuration_for_acropolis_recovery module

class models_v2.vm_target_configuration_for_acropolis_recovery.VmTargetConfigurationForAcropolisRecovery(recover_to_new_source=None, new_source_config=None, original_source_config=None)[source]

Bases: object

Implementation of the ‘Vm Target Configuration for Acropolis Recovery’ model.

Specifies the target configuration source parameters.

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