Interface IRoutesService
Represents a collection of functions to interact with the API endpoints
Namespace: InfluxDB.Client.Api.Service
Assembly: InfluxDB.Client.dll
Syntax
public interface IRoutesService : IApiAccessor
Methods
GetRoutes(String)
List all top level routes
Declaration
Routes GetRoutes(string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Routes | Routes |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRoutesAsync(String, CancellationToken)
List all top level routes
Declaration
System.Threading.Tasks.Task<Routes> GetRoutesAsync(string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of Routes |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRoutesAsyncWithHttpInfo(String, CancellationToken)
List all top level routes
Declaration
System.Threading.Tasks.Task<ApiResponse<Routes>> GetRoutesAsyncWithHttpInfo(string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (Routes) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRoutesWithHttpInfo(String)
List all top level routes
Declaration
ApiResponse<Routes> GetRoutesWithHttpInfo(string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Routes |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |