docs: def get_network_adapter_object_type(adapter_object):
      '''
      Returns the network adapter type.
  
      adapter_object
          The adapter object from which to obtain the network adapter type.
      '''
      if isinstance(adapter_object, vim.vm.device.VirtualVmxnet2):
          return 'vmxnet2'
      if isinstance(adapter_object, vim.vm.device.VirtualVmxnet3):
          return 'vmxnet3'
      if isinstance(adapter_object, vim.vm.device.VirtualVmxnet):
          return 'vmxnet'
      if isinstance(adapter_object, vim.vm.device.VirtualE1000e):
          return 'e1000e'
      if isinstance(adapter_object, vim.vm.device.VirtualE1000):
          return 'e1000'
  
      raise ValueError('An unknown network adapter object type.')