Interface ITelegrafPluginsService
Represents a collection of functions to interact with the API endpoints
Namespace: InfluxDB.Client.Api.Service
Assembly: InfluxDB.Client.dll
Syntax
public interface ITelegrafPluginsService : IApiAccessor
Methods
GetTelegrafPlugins(String, String)
List all Telegraf plugins
Declaration
TelegrafPlugins GetTelegrafPlugins(string zapTraceSpan = null, string type = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
type | The type of plugin desired. (optional) |
Returns
Type | Description |
---|---|
Telegraf |
TelegrafPlugins |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafPluginsAsync(String, String, CancellationToken)
List all Telegraf plugins
Declaration
System.Threading.Tasks.Task<TelegrafPlugins> GetTelegrafPluginsAsync(string zapTraceSpan = null, string type = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
type | The type of plugin desired. (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of TelegrafPlugins |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafPluginsAsyncWithHttpInfo(String, String, CancellationToken)
List all Telegraf plugins
Declaration
System.Threading.Tasks.Task<ApiResponse<TelegrafPlugins>> GetTelegrafPluginsAsyncWithHttpInfo(string zapTraceSpan = null, string type = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
type | The type of plugin desired. (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (TelegrafPlugins) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafPluginsWithHttpInfo(String, String)
List all Telegraf plugins
Declaration
ApiResponse<TelegrafPlugins> GetTelegrafPluginsWithHttpInfo(string zapTraceSpan = null, string type = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
type | The type of plugin desired. (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of TelegrafPlugins |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |