models_v2.recover_kvmv_ms_new_network_configuration module

class models_v2.recover_kvmv_ms_new_network_configuration.RecoverKVMVMsNewNetworkConfiguration(network_port_group=None, vnic_profile=None)[source]

Bases: object

Implementation of the ‘Recover KVM VMs New Network configuration.’ model.

Specifies the network config parameters to be applied for KVM VMs if recovering to a new source with a new network.

Attributes:
network_port_group (NetworkPortGroup): Specifies the network port

group (i.e, either a standard switch port group or a distributed port group) that will attached to the recovered Object. This parameter is mandatory if detach network is specified as false.

vnic_profile (VnicProfile): Specifies VNic profile that will be

attached to the restored object.

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.