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.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
| Type | Description |
|---|---|
| List<System.String> | List<string> |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | 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.String | zapTraceSpan | OpenTracing span context (optional) |
| CancellationToken | cancellationToken | Cancellation token |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<List<System.String>> | Task of List<string> |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | 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.String | zapTraceSpan | OpenTracing span context (optional) |
| CancellationToken | cancellationToken | Cancellation token |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<List<System.String>>> | Task of ApiResponse (List<string>) |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | 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.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
| Type | Description |
|---|---|
| InfluxDB.Client.Api.Client.ApiResponse<List<System.String>> | ApiResponse of List<string> |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |