code: def db_list(user=None, password=None, host=None, port=None):
      '''
      List all InfluxDB databases
  
      user
          The user to connect as
  
      password
          The password of the user
  
      host
          The host to connect to
  
      port
          The port to connect to
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb08.db_list
          salt '*' influxdb08.db_list <user> <password> <host> <port>
  
      '''
      client = _client(user=user, password=password, host=host, port=port)
      return client.get_list_database(f db_list(user=None, password=None, host=None, port=None):
      '''
      List all InfluxDB databases
  
      user
          The user to connect as
  
      password
          The password of the user
  
      host
          The host to connect to
  
      port
          The port to connect to
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb08.db_list
          salt '*' influxdb08.db_list <user> <password> <host> <port>
  
      '''
      client = _client(user=user, password=password, host=host, port=port)
      return client.get_list_database()
docs: List all InfluxDB databases
  
      user
          The user to connect as
  
      password
          The password of the user
  
      host
          The host to connect to
  
      port
          The port to connect to
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb08.db_list
          salt '*' influxdb08.db_list <user> <password> <host> <port>