Interface IResourcesService
Represents a collection of functions to interact with the API endpoints
Namespace: InfluxDB.Client.Api.Service
Assembly: InfluxDB.Client.dll
Syntax
public interface IResourcesService : IApiAccessor
Methods
GetResources(String)
List all known resources
Declaration
List<string> GetResources(string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
List<System. |
List<string> |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetResourcesAsync(String, CancellationToken)
List all known resources
Declaration
System.Threading.Tasks.Task<List<string>> GetResourcesAsync(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 List<string> |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetResourcesAsyncWithHttpInfo(String, CancellationToken)
List all known resources
Declaration
System.Threading.Tasks.Task<ApiResponse<List<string>>> GetResourcesAsyncWithHttpInfo(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 (List<string>) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetResourcesWithHttpInfo(String)
List all known resources
Declaration
ApiResponse<List<string>> GetResourcesWithHttpInfo(string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of List<string> |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |