models_v2.new_source_config_2 module¶
-
class
models_v2.new_source_config_2.
NewSourceConfig2
(source=None, region=None, network_config=None, key_pair=None)[source]¶ Bases:
object
Implementation of the ‘NewSourceConfig2’ model.
Specifies the new destination Source configuration parameters where the VMs will be recovered. This is mandatory if recoverToNewSource is set to true.
- Attributes:
- source (Source): Specifies the id of the parent source to recover the
VMs.
region (Region1): Specifies the AWS region in which to deploy the VM. key_pair (KeyPair): Specifies the pair of public and private key used
to login into the VM
- network_config (NetworkConfig3): Specifies the networking
configuration to be applied to the recovered VMs.
-
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.