Interface IPingService
Represents a collection of functions to interact with the API endpoints
Namespace: InfluxDB.Client.Api.Service
Assembly: InfluxDB.Client.dll
Syntax
public interface IPingService : IApiAccessor
Methods
GetPing()
Checks the status of InfluxDB instance and version of InfluxDB.
Declaration
void GetPing()
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetPingAsync(CancellationToken)
Checks the status of InfluxDB instance and version of InfluxDB.
Declaration
System.Threading.Tasks.Task GetPingAsync(CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of void |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetPingAsyncWithHttpInfo(CancellationToken)
Checks the status of InfluxDB instance and version of InfluxDB.
Declaration
System.Threading.Tasks.Task<ApiResponse<object>> GetPingAsyncWithHttpInfo(CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetPingWithHttpInfo()
Checks the status of InfluxDB instance and version of InfluxDB.
Declaration
ApiResponse<object> GetPingWithHttpInfo()
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
HeadPing()
Checks the status of InfluxDB instance and version of InfluxDB.
Declaration
void HeadPing()
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
HeadPingAsync(CancellationToken)
Checks the status of InfluxDB instance and version of InfluxDB.
Declaration
System.Threading.Tasks.Task HeadPingAsync(CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of void |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
HeadPingAsyncWithHttpInfo(CancellationToken)
Checks the status of InfluxDB instance and version of InfluxDB.
Declaration
System.Threading.Tasks.Task<ApiResponse<object>> HeadPingAsyncWithHttpInfo(CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
HeadPingWithHttpInfo()
Checks the status of InfluxDB instance and version of InfluxDB.
Declaration
ApiResponse<object> HeadPingWithHttpInfo()
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |