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 RemoteConnectionsService class using Configuration object
Declaration
public RemoteConnectionsService(Configuration configuration = null)
Parameters
Type | Name | Description |
---|---|---|
InfluxDB.Client.Api.Client.Configuration | configuration | An instance of Configuration |
RemoteConnectionsService(String)
Initializes a new instance of the RemoteConnectionsService class.
Declaration
public RemoteConnectionsService(string basePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | basePath |
Properties
Configuration
Gets or sets the configuration object
Declaration
public Configuration Configuration { get; set; }
Property Value
Type | Description |
---|---|
InfluxDB.Client.Api.Client.Configuration | 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 |
---|---|
InfluxDB.Client.Api.Client.ExceptionFactory |
Methods
AddDefaultHeader(String, String)
Add default header.
Declaration
public void AddDefaultHeader(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Header field name. |
System.String | value | Header field value. |
DefaultHeader()
Gets the default header.
Declaration
public IDictionary<string, string> DefaultHeader()
Returns
Type | Description |
---|---|
IDictionary<System.String, System.String> | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Task of void |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<System.Object>> | Task of ApiResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<System.Object> | ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetBasePath()
Gets the base path of the API client.
Declaration
public string GetBasePath()
Returns
Type | Description |
---|---|
System.String | The base path |
GetRemoteConnectionByID(String, String)
Retrieve a remote connection
Declaration
public RemoteConnection GetRemoteConnectionByID(string remoteID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RemoteConnection | RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RemoteConnection> | Task of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<RemoteConnection>> | Task of ApiResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<RemoteConnection> | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | orgID | The organization ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | name | (optional) |
System.String | remoteURL | (optional) |
Returns
Type | Description |
---|---|
RemoteConnections | RemoteConnections |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | orgID | The organization ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | name | (optional) |
System.String | remoteURL | (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RemoteConnections> | Task of RemoteConnections |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | orgID | The organization ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | name | (optional) |
System.String | remoteURL | (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<RemoteConnections>> | Task of ApiResponse (RemoteConnections) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | orgID | The organization ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | name | (optional) |
System.String | remoteURL | (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (RemoteConnections) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | orgID | The organization ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | name | (optional) |
System.String | remoteURL | (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<RemoteConnections> | ApiResponse of RemoteConnections |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | orgID | The organization ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | name | (optional) |
System.String | remoteURL | (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of RemoteConnections |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | orgID | The organization ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | name | (optional) |
System.String | remoteURL | (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of RemoteConnections |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | orgID | The organization ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | name | (optional) |
System.String | remoteURL | (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of RemoteConnections |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
RemoteConnectionUpdateRequest | remoteConnectionUpdateRequest | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RemoteConnection | RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
RemoteConnectionUpdateRequest | remoteConnectionUpdateRequest | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RemoteConnection> | Task of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
RemoteConnectionUpdateRequest | remoteConnectionUpdateRequest | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<RemoteConnection>> | Task of ApiResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
RemoteConnectionUpdateRequest | remoteConnectionUpdateRequest | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
RemoteConnectionUpdateRequest | remoteConnectionUpdateRequest | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<RemoteConnection> | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
RemoteConnectionUpdateRequest | remoteConnectionUpdateRequest | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
RemoteConnectionUpdateRequest | remoteConnectionUpdateRequest | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | remoteID | |
RemoteConnectionUpdateRequest | remoteConnectionUpdateRequest | |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostRemoteConnection(RemoteConnectionCreationRequest)
Register a new remote connection
Declaration
public RemoteConnection PostRemoteConnection(RemoteConnectionCreationRequest remoteConnectionCreationRequest)
Parameters
Type | Name | Description |
---|---|---|
RemoteConnectionCreationRequest | remoteConnectionCreationRequest |
Returns
Type | Description |
---|---|
RemoteConnection | RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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 |
---|---|---|
RemoteConnectionCreationRequest | remoteConnectionCreationRequest | |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RemoteConnection> | Task of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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 |
---|---|---|
RemoteConnectionCreationRequest | remoteConnectionCreationRequest | |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<RemoteConnection>> | Task of ApiResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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 |
---|---|---|
RemoteConnectionCreationRequest | remoteConnectionCreationRequest | |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (RemoteConnection) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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 |
---|---|---|
RemoteConnectionCreationRequest | remoteConnectionCreationRequest |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<RemoteConnection> | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostRemoteConnectionWithIRestResponse(RemoteConnectionCreationRequest)
Register a new remote connection
Declaration
public RestResponse PostRemoteConnectionWithIRestResponse(RemoteConnectionCreationRequest remoteConnectionCreationRequest)
Parameters
Type | Name | Description |
---|---|---|
RemoteConnectionCreationRequest | remoteConnectionCreationRequest |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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 |
---|---|---|
RemoteConnectionCreationRequest | remoteConnectionCreationRequest | |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostRemoteConnectionWithRestRequest(RemoteConnectionCreationRequest)
Register a new remote connection
Declaration
public RestRequest PostRemoteConnectionWithRestRequest(RemoteConnectionCreationRequest remoteConnectionCreationRequest)
Parameters
Type | Name | Description |
---|---|---|
RemoteConnectionCreationRequest | remoteConnectionCreationRequest |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of RemoteConnection |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | 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.String | basePath |