models.restored_object_network_config_proto module¶
-
class
models.restored_object_network_config_proto.
RestoredObjectNetworkConfigProto
(detach_network=None, disable_network=None, mappings=None, network_entity=None, preserve_mac_address_on_new_network=None, vcd_network=None, vnic_entity=None)[source]¶ Bases:
object
Implementation of the ‘RestoredObjectNetworkConfigProto’ model.
TODO: type model description here.
- Attributes:
- detach_network (bool): If this is set to true, then the network will
be detached from the recovered or cloned VMs. NOTE: If this is set to true, then all the following fields will be ignored.
- disable_network (bool): This can be set to true to indicate that the
attached network should be left in disabled state.
- mappings (list of NetworkMappingProto): The network mappings to be
applied to the target object.
- network_entity (EntityProto): Specifies the attributes and the latest
statistics about an entity.
- preserve_mac_address_on_new_network (bool): If this is true and we are
attaching to a new network entity, then the VM’s MAC address will be preserved on the new network.
- vcd_network (OrgVDCNetwork): This will be populated for
kVirtualDatacenter.
- vnic_entity (EntityProto): Specifies the attributes and the latest
statistics about an entity.
-
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.