Creates TelegrafAPI
an instance that knows how to communicate with InfluxDB server
List all Telegraf plugins. See https://docs.influxdata.com/influxdb/v2.4/api/#operation/GetTelegrafPlugins
Optionalrequest: GetTelegrafPluginsRequestrequest parameters and body (if supported)
OptionalrequestOptions: RequestOptionsoptional transport options
promise of response
Telegraf API