Class RemoteConnectionsService
Represents a collection of functions to interact with the API endpoints
Inheritance
Implements
Namespace: InfluxDB.Client.Api.Service
Assembly: InfluxDB.Client.dll
Syntax
public class RemoteConnectionsService : object, IRemoteConnectionsService, IApiAccessor
Constructors
RemoteConnectionsService(Configuration)
Initializes a new instance of the Remote
Declaration
public RemoteConnectionsService(Configuration configuration = null)
Parameters
Type | Name | Description |
---|---|---|
Influx |
configuration | An instance of Configuration |
RemoteConnectionsService(String)
Initializes a new instance of the Remote
Declaration
public RemoteConnectionsService(string basePath)
Parameters
Type | Name | Description |
---|---|---|
System. |
basePath |
Properties
Configuration
Gets or sets the configuration object
Declaration
public Configuration Configuration { get; set; }
Property Value
Type | Description |
---|---|
Influx |
An instance of the Configuration |
ExceptionFactory
Provides a factory method hook for the creation of exceptions.
Declaration
public ExceptionFactory ExceptionFactory { get; set; }
Property Value
Type | Description |
---|---|
Influx |
Methods
AddDefaultHeader(String, String)
Add default header.
Declaration
public void AddDefaultHeader(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | Header field name. |
System. |
value | Header field value. |
DefaultHeader()
Gets the default header.
Declaration
public IDictionary<string, string> DefaultHeader()
Returns
Type | Description |
---|---|
IDictionary<System. |
Dictionary of HTTP header |
DeleteRemoteConnectionByID(String, String)
Delete a remote connection
Declaration
public void DeleteRemoteConnectionByID(string remoteID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteRemoteConnectionByIDAsync(String, String, CancellationToken)
Delete a remote connection
Declaration
public System.Threading.Tasks.Task DeleteRemoteConnectionByIDAsync(string remoteID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of void |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteRemoteConnectionByIDAsyncWithHttpInfo(String, String, CancellationToken)
Delete a remote connection
Declaration
public async System.Threading.Tasks.Task<ApiResponse<object>> DeleteRemoteConnectionByIDAsyncWithHttpInfo(string remoteID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteRemoteConnectionByIDAsyncWithIRestResponse(String, String, CancellationToken)
Delete a remote connection
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteRemoteConnectionByIDAsyncWithIRestResponse(string remoteID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of RestResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteRemoteConnectionByIDWithHttpInfo(String, String)
Delete a remote connection
Declaration
public ApiResponse<object> DeleteRemoteConnectionByIDWithHttpInfo(string remoteID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteRemoteConnectionByIDWithIRestResponse(String, String)
Delete a remote connection
Declaration
public RestResponse DeleteRemoteConnectionByIDWithIRestResponse(string remoteID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteRemoteConnectionByIDWithIRestResponseAsync(String, String, CancellationToken)
Delete a remote connection
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteRemoteConnectionByIDWithIRestResponseAsync(string remoteID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteRemoteConnectionByIDWithRestRequest(String, String)
Delete a remote connection
Declaration
public RestRequest DeleteRemoteConnectionByIDWithRestRequest(string remoteID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetBasePath()
Gets the base path of the API client.
Declaration
public string GetBasePath()
Returns
Type | Description |
---|---|
System. |
The base path |
GetRemoteConnectionByID(String, String)
Retrieve a remote connection
Declaration
public RemoteConnection GetRemoteConnectionByID(string remoteID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Remote |
RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionByIDAsync(String, String, CancellationToken)
Retrieve a remote connection
Declaration
public async System.Threading.Tasks.Task<RemoteConnection> GetRemoteConnectionByIDAsync(string remoteID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionByIDAsyncWithHttpInfo(String, String, CancellationToken)
Retrieve a remote connection
Declaration
public async System.Threading.Tasks.Task<ApiResponse<RemoteConnection>> GetRemoteConnectionByIDAsyncWithHttpInfo(string remoteID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionByIDAsyncWithIRestResponse(String, String, CancellationToken)
Retrieve a remote connection
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetRemoteConnectionByIDAsyncWithIRestResponse(string remoteID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of RestResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionByIDWithHttpInfo(String, String)
Retrieve a remote connection
Declaration
public ApiResponse<RemoteConnection> GetRemoteConnectionByIDWithHttpInfo(string remoteID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionByIDWithIRestResponse(String, String)
Retrieve a remote connection
Declaration
public RestResponse GetRemoteConnectionByIDWithIRestResponse(string remoteID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionByIDWithIRestResponseAsync(String, String, CancellationToken)
Retrieve a remote connection
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetRemoteConnectionByIDWithIRestResponseAsync(string remoteID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionByIDWithRestRequest(String, String)
Retrieve a remote connection
Declaration
public RestRequest GetRemoteConnectionByIDWithRestRequest(string remoteID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnections(String, String, String, String)
List all remote connections
Declaration
public RemoteConnections GetRemoteConnections(string orgID, string zapTraceSpan = null, string name = null, string remoteURL = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | The organization ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
name | (optional) |
System. |
remoteURL | (optional) |
Returns
Type | Description |
---|---|
Remote |
RemoteConnections |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionsAsync(String, String, String, String, CancellationToken)
List all remote connections
Declaration
public async System.Threading.Tasks.Task<RemoteConnections> GetRemoteConnectionsAsync(string orgID, string zapTraceSpan = null, string name = null, string remoteURL = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | The organization ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
name | (optional) |
System. |
remoteURL | (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of RemoteConnections |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionsAsyncWithHttpInfo(String, String, String, String, CancellationToken)
List all remote connections
Declaration
public async System.Threading.Tasks.Task<ApiResponse<RemoteConnections>> GetRemoteConnectionsAsyncWithHttpInfo(string orgID, string zapTraceSpan = null, string name = null, string remoteURL = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | The organization ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
name | (optional) |
System. |
remoteURL | (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (RemoteConnections) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionsAsyncWithIRestResponse(String, String, String, String, CancellationToken)
List all remote connections
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetRemoteConnectionsAsyncWithIRestResponse(string orgID, string zapTraceSpan = null, string name = null, string remoteURL = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | The organization ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
name | (optional) |
System. |
remoteURL | (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of RestResponse (RemoteConnections) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionsWithHttpInfo(String, String, String, String)
List all remote connections
Declaration
public ApiResponse<RemoteConnections> GetRemoteConnectionsWithHttpInfo(string orgID, string zapTraceSpan = null, string name = null, string remoteURL = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | The organization ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
name | (optional) |
System. |
remoteURL | (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of RemoteConnections |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionsWithIRestResponse(String, String, String, String)
List all remote connections
Declaration
public RestResponse GetRemoteConnectionsWithIRestResponse(string orgID, string zapTraceSpan = null, string name = null, string remoteURL = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | The organization ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
name | (optional) |
System. |
remoteURL | (optional) |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of RemoteConnections |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionsWithIRestResponseAsync(String, String, String, String, CancellationToken)
List all remote connections
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetRemoteConnectionsWithIRestResponseAsync(string orgID, string zapTraceSpan = null, string name = null, string remoteURL = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | The organization ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
name | (optional) |
System. |
remoteURL | (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
ApiResponse of RemoteConnections |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetRemoteConnectionsWithRestRequest(String, String, String, String)
List all remote connections
Declaration
public RestRequest GetRemoteConnectionsWithRestRequest(string orgID, string zapTraceSpan = null, string name = null, string remoteURL = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | The organization ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
name | (optional) |
System. |
remoteURL | (optional) |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of RemoteConnections |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PatchRemoteConnectionByID(String, RemoteConnectionUpdateRequest, String)
Update a remote connection
Declaration
public RemoteConnection PatchRemoteConnectionByID(string remoteID, RemoteConnectionUpdateRequest remoteConnectionUpdateRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
Remote |
remoteConnectionUpdateRequest | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Remote |
RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PatchRemoteConnectionByIDAsync(String, RemoteConnectionUpdateRequest, String, CancellationToken)
Update a remote connection
Declaration
public async System.Threading.Tasks.Task<RemoteConnection> PatchRemoteConnectionByIDAsync(string remoteID, RemoteConnectionUpdateRequest remoteConnectionUpdateRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
Remote |
remoteConnectionUpdateRequest | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PatchRemoteConnectionByIDAsyncWithHttpInfo(String, RemoteConnectionUpdateRequest, String, CancellationToken)
Update a remote connection
Declaration
public async System.Threading.Tasks.Task<ApiResponse<RemoteConnection>> PatchRemoteConnectionByIDAsyncWithHttpInfo(string remoteID, RemoteConnectionUpdateRequest remoteConnectionUpdateRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
Remote |
remoteConnectionUpdateRequest | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PatchRemoteConnectionByIDAsyncWithIRestResponse(String, RemoteConnectionUpdateRequest, String, CancellationToken)
Update a remote connection
Declaration
public async System.Threading.Tasks.Task<RestResponse> PatchRemoteConnectionByIDAsyncWithIRestResponse(string remoteID, RemoteConnectionUpdateRequest remoteConnectionUpdateRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
Remote |
remoteConnectionUpdateRequest | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of RestResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PatchRemoteConnectionByIDWithHttpInfo(String, RemoteConnectionUpdateRequest, String)
Update a remote connection
Declaration
public ApiResponse<RemoteConnection> PatchRemoteConnectionByIDWithHttpInfo(string remoteID, RemoteConnectionUpdateRequest remoteConnectionUpdateRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
Remote |
remoteConnectionUpdateRequest | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PatchRemoteConnectionByIDWithIRestResponse(String, RemoteConnectionUpdateRequest, String)
Update a remote connection
Declaration
public RestResponse PatchRemoteConnectionByIDWithIRestResponse(string remoteID, RemoteConnectionUpdateRequest remoteConnectionUpdateRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
Remote |
remoteConnectionUpdateRequest | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PatchRemoteConnectionByIDWithIRestResponseAsync(String, RemoteConnectionUpdateRequest, String, CancellationToken)
Update a remote connection
Declaration
public async System.Threading.Tasks.Task<RestResponse> PatchRemoteConnectionByIDWithIRestResponseAsync(string remoteID, RemoteConnectionUpdateRequest remoteConnectionUpdateRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
Remote |
remoteConnectionUpdateRequest | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PatchRemoteConnectionByIDWithRestRequest(String, RemoteConnectionUpdateRequest, String)
Update a remote connection
Declaration
public RestRequest PatchRemoteConnectionByIDWithRestRequest(string remoteID, RemoteConnectionUpdateRequest remoteConnectionUpdateRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
remoteID | |
Remote |
remoteConnectionUpdateRequest | |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostRemoteConnection(RemoteConnectionCreationRequest)
Register a new remote connection
Declaration
public RemoteConnection PostRemoteConnection(RemoteConnectionCreationRequest remoteConnectionCreationRequest)
Parameters
Type | Name | Description |
---|---|---|
Remote |
remoteConnectionCreationRequest |
Returns
Type | Description |
---|---|
Remote |
RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostRemoteConnectionAsync(RemoteConnectionCreationRequest, CancellationToken)
Register a new remote connection
Declaration
public async System.Threading.Tasks.Task<RemoteConnection> PostRemoteConnectionAsync(RemoteConnectionCreationRequest remoteConnectionCreationRequest, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Remote |
remoteConnectionCreationRequest | |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostRemoteConnectionAsyncWithHttpInfo(RemoteConnectionCreationRequest, CancellationToken)
Register a new remote connection
Declaration
public async System.Threading.Tasks.Task<ApiResponse<RemoteConnection>> PostRemoteConnectionAsyncWithHttpInfo(RemoteConnectionCreationRequest remoteConnectionCreationRequest, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Remote |
remoteConnectionCreationRequest | |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostRemoteConnectionAsyncWithIRestResponse(RemoteConnectionCreationRequest, CancellationToken)
Register a new remote connection
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostRemoteConnectionAsyncWithIRestResponse(RemoteConnectionCreationRequest remoteConnectionCreationRequest, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Remote |
remoteConnectionCreationRequest | |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of RestResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostRemoteConnectionWithHttpInfo(RemoteConnectionCreationRequest)
Register a new remote connection
Declaration
public ApiResponse<RemoteConnection> PostRemoteConnectionWithHttpInfo(RemoteConnectionCreationRequest remoteConnectionCreationRequest)
Parameters
Type | Name | Description |
---|---|---|
Remote |
remoteConnectionCreationRequest |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostRemoteConnectionWithIRestResponse(RemoteConnectionCreationRequest)
Register a new remote connection
Declaration
public RestResponse PostRemoteConnectionWithIRestResponse(RemoteConnectionCreationRequest remoteConnectionCreationRequest)
Parameters
Type | Name | Description |
---|---|---|
Remote |
remoteConnectionCreationRequest |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostRemoteConnectionWithIRestResponseAsync(RemoteConnectionCreationRequest, CancellationToken)
Register a new remote connection
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostRemoteConnectionWithIRestResponseAsync(RemoteConnectionCreationRequest remoteConnectionCreationRequest, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Remote |
remoteConnectionCreationRequest | |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostRemoteConnectionWithRestRequest(RemoteConnectionCreationRequest)
Register a new remote connection
Declaration
public RestRequest PostRemoteConnectionWithRestRequest(RemoteConnectionCreationRequest remoteConnectionCreationRequest)
Parameters
Type | Name | Description |
---|---|---|
Remote |
remoteConnectionCreationRequest |
Returns
Type | Description |
---|---|
Rest |
ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
SetBasePath(String)
Sets the base path of the API client.
Declaration
public void SetBasePath(string basePath)
Parameters
Type | Name | Description |
---|---|---|
System. |
basePath |