Interface IViewsService
Represents a collection of functions to interact with the API endpoints
Namespace: InfluxDB.Client.Api.Service
Assembly: InfluxDB.Client.dll
Syntax
public interface IViewsService : IApiAccessor
Methods
GetDashboardsIDCellsIDView(String, String, String)
Retrieve the view for a cell
Declaration
View GetDashboardsIDCellsIDView(string dashboardID, string cellID, string zapTraceSpan = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dashboardID | The dashboard ID. |
| System.String | cellID | The cell ID. |
| System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
| Type | Description |
|---|---|
| View | View |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetDashboardsIDCellsIDViewAsync(String, String, String, CancellationToken)
Retrieve the view for a cell
Declaration
System.Threading.Tasks.Task<View> GetDashboardsIDCellsIDViewAsync(string dashboardID, string cellID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dashboardID | The dashboard ID. |
| System.String | cellID | The cell ID. |
| System.String | zapTraceSpan | OpenTracing span context (optional) |
| CancellationToken | cancellationToken | Cancellation token |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<View> | Task of View |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetDashboardsIDCellsIDViewAsyncWithHttpInfo(String, String, String, CancellationToken)
Retrieve the view for a cell
Declaration
System.Threading.Tasks.Task<ApiResponse<View>> GetDashboardsIDCellsIDViewAsyncWithHttpInfo(string dashboardID, string cellID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dashboardID | The dashboard ID. |
| System.String | cellID | The cell ID. |
| System.String | zapTraceSpan | OpenTracing span context (optional) |
| CancellationToken | cancellationToken | Cancellation token |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<View>> | Task of ApiResponse (View) |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetDashboardsIDCellsIDViewWithHttpInfo(String, String, String)
Retrieve the view for a cell
Declaration
ApiResponse<View> GetDashboardsIDCellsIDViewWithHttpInfo(string dashboardID, string cellID, string zapTraceSpan = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dashboardID | The dashboard ID. |
| System.String | cellID | The cell ID. |
| System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
| Type | Description |
|---|---|
| InfluxDB.Client.Api.Client.ApiResponse<View> | ApiResponse of View |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PatchDashboardsIDCellsIDView(String, String, View, String)
Update the view for a cell
Declaration
View PatchDashboardsIDCellsIDView(string dashboardID, string cellID, View view, string zapTraceSpan = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dashboardID | The ID of the dashboard to update. |
| System.String | cellID | The ID of the cell to update. |
| View | view | |
| System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
| Type | Description |
|---|---|
| View | View |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PatchDashboardsIDCellsIDViewAsync(String, String, View, String, CancellationToken)
Update the view for a cell
Declaration
System.Threading.Tasks.Task<View> PatchDashboardsIDCellsIDViewAsync(string dashboardID, string cellID, View view, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dashboardID | The ID of the dashboard to update. |
| System.String | cellID | The ID of the cell to update. |
| View | view | |
| System.String | zapTraceSpan | OpenTracing span context (optional) |
| CancellationToken | cancellationToken | Cancellation token |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<View> | Task of View |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PatchDashboardsIDCellsIDViewAsyncWithHttpInfo(String, String, View, String, CancellationToken)
Update the view for a cell
Declaration
System.Threading.Tasks.Task<ApiResponse<View>> PatchDashboardsIDCellsIDViewAsyncWithHttpInfo(string dashboardID, string cellID, View view, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dashboardID | The ID of the dashboard to update. |
| System.String | cellID | The ID of the cell to update. |
| View | view | |
| System.String | zapTraceSpan | OpenTracing span context (optional) |
| CancellationToken | cancellationToken | Cancellation token |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<View>> | Task of ApiResponse (View) |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PatchDashboardsIDCellsIDViewWithHttpInfo(String, String, View, String)
Update the view for a cell
Declaration
ApiResponse<View> PatchDashboardsIDCellsIDViewWithHttpInfo(string dashboardID, string cellID, View view, string zapTraceSpan = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dashboardID | The ID of the dashboard to update. |
| System.String | cellID | The ID of the cell to update. |
| View | view | |
| System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
| Type | Description |
|---|---|
| InfluxDB.Client.Api.Client.ApiResponse<View> | ApiResponse of View |
Exceptions
| Type | Condition |
|---|---|
| InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |