models_v2.new_source_config_8 module

class models_v2.new_source_config_8.NewSourceConfig8(source=None, project=None, region=None, availability_zone=None, network_config=None)[source]

Bases: object

Implementation of the ‘NewSourceConfig8’ 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.

project (Project): Specifies the GCP project in which to deploy the

VM.

region (Region2): Specifies the GCP region in which to deploy the VM. availability_zone (AvailabilityZone1): Specifies the GCP zone in which

to deploy the VM.

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