code: def get_linode_id_from_name(name):
      '''
      Returns the Linode ID for a VM from the provided name.
  
      name
          The name of the Linode from which to get the Linode ID. Required.
      '''
      nodes = _query('linode', 'list')['DATA']
  
      linode_id = ''
      for node in nodes:
          if name == node['LABEL']:
              linode_id = node['LINODEID']
              return linode_id
  
      if not linode_id:
          raise SaltCloudNotFound(
              'The specified name, {0}, could not be found.'.format(name)
          f get_linode_id_from_name(name):
      '''
      Returns the Linode ID for a VM from the provided name.
  
      name
          The name of the Linode from which to get the Linode ID. Required.
      '''
      nodes = _query('linode', 'list')['DATA']
  
      linode_id = ''
      for node in nodes:
          if name == node['LABEL']:
              linode_id = node['LINODEID']
              return linode_id
  
      if not linode_id:
          raise SaltCloudNotFound(
              'The specified name, {0}, could not be found.'.format(name)
          )
docs: Returns the Linode ID for a VM from the provided name.
  
      name
          The name of the Linode from which to get the Linode ID. Required.