Class TelegrafsService
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 TelegrafsService : object, ITelegrafsService, IApiAccessor
Constructors
TelegrafsService(Configuration)
Initializes a new instance of the TelegrafsService class using Configuration object
Declaration
public TelegrafsService(Configuration configuration = null)
Parameters
Type | Name | Description |
---|---|---|
InfluxDB.Client.Api.Client.Configuration | configuration | An instance of Configuration |
TelegrafsService(String)
Initializes a new instance of the TelegrafsService class.
Declaration
public TelegrafsService(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 |
DeleteTelegrafsID(String, String)
Delete a Telegraf configuration
Declaration
public void DeleteTelegrafsID(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
DeleteTelegrafsIDAsync(String, String, CancellationToken)
Delete a Telegraf configuration
Declaration
public System.Threading.Tasks.Task DeleteTelegrafsIDAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
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 |
DeleteTelegrafsIDAsyncWithHttpInfo(String, String, CancellationToken)
Delete a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<ApiResponse<object>> DeleteTelegrafsIDAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
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 |
DeleteTelegrafsIDAsyncWithIRestResponse(String, String, CancellationToken)
Delete a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteTelegrafsIDAsyncWithIRestResponse(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
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 |
DeleteTelegrafsIDLabelsID(String, String, String)
Delete a label from a Telegraf config
Declaration
public void DeleteTelegrafsIDLabelsID(string telegrafID, string labelID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | labelID | The label ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
DeleteTelegrafsIDLabelsIDAsync(String, String, String, CancellationToken)
Delete a label from a Telegraf config
Declaration
public System.Threading.Tasks.Task DeleteTelegrafsIDLabelsIDAsync(string telegrafID, string labelID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | labelID | The label ID. |
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 |
DeleteTelegrafsIDLabelsIDAsyncWithHttpInfo(String, String, String, CancellationToken)
Delete a label from a Telegraf config
Declaration
public async System.Threading.Tasks.Task<ApiResponse<object>> DeleteTelegrafsIDLabelsIDAsyncWithHttpInfo(string telegrafID, string labelID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | labelID | The label ID. |
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 |
DeleteTelegrafsIDLabelsIDAsyncWithIRestResponse(String, String, String, CancellationToken)
Delete a label from a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteTelegrafsIDLabelsIDAsyncWithIRestResponse(string telegrafID, string labelID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | labelID | The label ID. |
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 |
DeleteTelegrafsIDLabelsIDWithHttpInfo(String, String, String)
Delete a label from a Telegraf config
Declaration
public ApiResponse<object> DeleteTelegrafsIDLabelsIDWithHttpInfo(string telegrafID, string labelID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | labelID | The label ID. |
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 |
DeleteTelegrafsIDLabelsIDWithIRestResponse(String, String, String)
Delete a label from a Telegraf config
Declaration
public RestResponse DeleteTelegrafsIDLabelsIDWithIRestResponse(string telegrafID, string labelID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | labelID | The label ID. |
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 |
DeleteTelegrafsIDLabelsIDWithIRestResponseAsync(String, String, String, CancellationToken)
Delete a label from a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteTelegrafsIDLabelsIDWithIRestResponseAsync(string telegrafID, string labelID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | labelID | The label ID. |
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 |
DeleteTelegrafsIDLabelsIDWithRestRequest(String, String, String)
Delete a label from a Telegraf config
Declaration
public RestRequest DeleteTelegrafsIDLabelsIDWithRestRequest(string telegrafID, string labelID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | labelID | The label ID. |
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 |
DeleteTelegrafsIDMembersID(String, String, String)
Remove a member from a Telegraf config
Declaration
public void DeleteTelegrafsIDMembersID(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the member to remove. |
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
DeleteTelegrafsIDMembersIDAsync(String, String, String, CancellationToken)
Remove a member from a Telegraf config
Declaration
public System.Threading.Tasks.Task DeleteTelegrafsIDMembersIDAsync(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the member to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDMembersIDAsyncWithHttpInfo(String, String, String, CancellationToken)
Remove a member from a Telegraf config
Declaration
public async System.Threading.Tasks.Task<ApiResponse<object>> DeleteTelegrafsIDMembersIDAsyncWithHttpInfo(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the member to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDMembersIDAsyncWithIRestResponse(String, String, String, CancellationToken)
Remove a member from a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteTelegrafsIDMembersIDAsyncWithIRestResponse(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the member to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDMembersIDWithHttpInfo(String, String, String)
Remove a member from a Telegraf config
Declaration
public ApiResponse<object> DeleteTelegrafsIDMembersIDWithHttpInfo(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the member to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDMembersIDWithIRestResponse(String, String, String)
Remove a member from a Telegraf config
Declaration
public RestResponse DeleteTelegrafsIDMembersIDWithIRestResponse(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the member to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDMembersIDWithIRestResponseAsync(String, String, String, CancellationToken)
Remove a member from a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteTelegrafsIDMembersIDWithIRestResponseAsync(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the member to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDMembersIDWithRestRequest(String, String, String)
Remove a member from a Telegraf config
Declaration
public RestRequest DeleteTelegrafsIDMembersIDWithRestRequest(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the member to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDOwnersID(String, String, String)
Remove an owner from a Telegraf config
Declaration
public void DeleteTelegrafsIDOwnersID(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the owner to remove. |
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
DeleteTelegrafsIDOwnersIDAsync(String, String, String, CancellationToken)
Remove an owner from a Telegraf config
Declaration
public System.Threading.Tasks.Task DeleteTelegrafsIDOwnersIDAsync(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the owner to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDOwnersIDAsyncWithHttpInfo(String, String, String, CancellationToken)
Remove an owner from a Telegraf config
Declaration
public async System.Threading.Tasks.Task<ApiResponse<object>> DeleteTelegrafsIDOwnersIDAsyncWithHttpInfo(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the owner to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDOwnersIDAsyncWithIRestResponse(String, String, String, CancellationToken)
Remove an owner from a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteTelegrafsIDOwnersIDAsyncWithIRestResponse(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the owner to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDOwnersIDWithHttpInfo(String, String, String)
Remove an owner from a Telegraf config
Declaration
public ApiResponse<object> DeleteTelegrafsIDOwnersIDWithHttpInfo(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the owner to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDOwnersIDWithIRestResponse(String, String, String)
Remove an owner from a Telegraf config
Declaration
public RestResponse DeleteTelegrafsIDOwnersIDWithIRestResponse(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the owner to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDOwnersIDWithIRestResponseAsync(String, String, String, CancellationToken)
Remove an owner from a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteTelegrafsIDOwnersIDWithIRestResponseAsync(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the owner to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDOwnersIDWithRestRequest(String, String, String)
Remove an owner from a Telegraf config
Declaration
public RestRequest DeleteTelegrafsIDOwnersIDWithRestRequest(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userID | The ID of the owner to remove. |
System.String | telegrafID | The Telegraf config ID. |
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 |
DeleteTelegrafsIDWithHttpInfo(String, String)
Delete a Telegraf configuration
Declaration
public ApiResponse<object> DeleteTelegrafsIDWithHttpInfo(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
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 |
DeleteTelegrafsIDWithIRestResponse(String, String)
Delete a Telegraf configuration
Declaration
public RestResponse DeleteTelegrafsIDWithIRestResponse(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
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 |
DeleteTelegrafsIDWithIRestResponseAsync(String, String, CancellationToken)
Delete a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> DeleteTelegrafsIDWithIRestResponseAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
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 |
DeleteTelegrafsIDWithRestRequest(String, String)
Delete a Telegraf configuration
Declaration
public RestRequest DeleteTelegrafsIDWithRestRequest(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
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 |
GetTelegrafs(String, String)
List all Telegraf configurations
Declaration
public Telegrafs GetTelegrafs(string zapTraceSpan = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | orgID | The organization ID the Telegraf config belongs to. (optional) |
Returns
Type | Description |
---|---|
Telegrafs | Telegrafs |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsAsync(String, String, CancellationToken)
List all Telegraf configurations
Declaration
public async System.Threading.Tasks.Task<Telegrafs> GetTelegrafsAsync(string zapTraceSpan = null, string orgID = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | orgID | The organization ID the Telegraf config belongs to. (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Telegrafs> | Task of Telegrafs |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsAsyncWithHttpInfo(String, String, CancellationToken)
List all Telegraf configurations
Declaration
public async System.Threading.Tasks.Task<ApiResponse<Telegrafs>> GetTelegrafsAsyncWithHttpInfo(string zapTraceSpan = null, string orgID = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | orgID | The organization ID the Telegraf config belongs to. (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<Telegrafs>> | Task of ApiResponse (Telegrafs) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsAsyncWithIRestResponse(String, String, CancellationToken)
List all Telegraf configurations
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsAsyncWithIRestResponse(string zapTraceSpan = null, string orgID = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | orgID | The organization ID the Telegraf config belongs to. (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (Telegrafs) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsID(String, String, String)
Retrieve a Telegraf configuration
Declaration
public string GetTelegrafsID(string telegrafID, string zapTraceSpan = null, string accept = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | accept | (optional, default to application/toml) |
Returns
Type | Description |
---|---|
System.String | string |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDAsync(String, String, String, CancellationToken)
Retrieve a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<string> GetTelegrafsIDAsync(string telegrafID, string zapTraceSpan = null, string accept = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | accept | (optional, default to application/toml) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> | Task of string |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDAsyncWithHttpInfo(String, String, String, CancellationToken)
Retrieve a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<ApiResponse<string>> GetTelegrafsIDAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, string accept = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | accept | (optional, default to application/toml) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<System.String>> | Task of ApiResponse (string) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDAsyncWithIRestResponse(String, String, String, CancellationToken)
Retrieve a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsIDAsyncWithIRestResponse(string telegrafID, string zapTraceSpan = null, string accept = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | accept | (optional, default to application/toml) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (string) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDLabels(String, String)
List all labels for a Telegraf config
Declaration
public LabelsResponse GetTelegrafsIDLabels(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
LabelsResponse | LabelsResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDLabelsAsync(String, String, CancellationToken)
List all labels for a Telegraf config
Declaration
public async System.Threading.Tasks.Task<LabelsResponse> GetTelegrafsIDLabelsAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<LabelsResponse> | Task of LabelsResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDLabelsAsyncWithHttpInfo(String, String, CancellationToken)
List all labels for a Telegraf config
Declaration
public async System.Threading.Tasks.Task<ApiResponse<LabelsResponse>> GetTelegrafsIDLabelsAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<LabelsResponse>> | Task of ApiResponse (LabelsResponse) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDLabelsAsyncWithIRestResponse(String, String, CancellationToken)
List all labels for a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsIDLabelsAsyncWithIRestResponse(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (LabelsResponse) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDLabelsWithHttpInfo(String, String)
List all labels for a Telegraf config
Declaration
public ApiResponse<LabelsResponse> GetTelegrafsIDLabelsWithHttpInfo(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<LabelsResponse> | ApiResponse of LabelsResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDLabelsWithIRestResponse(String, String)
List all labels for a Telegraf config
Declaration
public RestResponse GetTelegrafsIDLabelsWithIRestResponse(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of LabelsResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDLabelsWithIRestResponseAsync(String, String, CancellationToken)
List all labels for a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsIDLabelsWithIRestResponseAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of LabelsResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDLabelsWithRestRequest(String, String)
List all labels for a Telegraf config
Declaration
public RestRequest GetTelegrafsIDLabelsWithRestRequest(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of LabelsResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDMembers(String, String)
List all users with member privileges for a Telegraf config
Declaration
public ResourceMembers GetTelegrafsIDMembers(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
ResourceMembers | ResourceMembers |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDMembersAsync(String, String, CancellationToken)
List all users with member privileges for a Telegraf config
Declaration
public async System.Threading.Tasks.Task<ResourceMembers> GetTelegrafsIDMembersAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResourceMembers> | Task of ResourceMembers |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDMembersAsyncWithHttpInfo(String, String, CancellationToken)
List all users with member privileges for a Telegraf config
Declaration
public async System.Threading.Tasks.Task<ApiResponse<ResourceMembers>> GetTelegrafsIDMembersAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<ResourceMembers>> | Task of ApiResponse (ResourceMembers) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDMembersAsyncWithIRestResponse(String, String, CancellationToken)
List all users with member privileges for a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsIDMembersAsyncWithIRestResponse(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (ResourceMembers) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDMembersWithHttpInfo(String, String)
List all users with member privileges for a Telegraf config
Declaration
public ApiResponse<ResourceMembers> GetTelegrafsIDMembersWithHttpInfo(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<ResourceMembers> | ApiResponse of ResourceMembers |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDMembersWithIRestResponse(String, String)
List all users with member privileges for a Telegraf config
Declaration
public RestResponse GetTelegrafsIDMembersWithIRestResponse(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of ResourceMembers |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDMembersWithIRestResponseAsync(String, String, CancellationToken)
List all users with member privileges for a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsIDMembersWithIRestResponseAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of ResourceMembers |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDMembersWithRestRequest(String, String)
List all users with member privileges for a Telegraf config
Declaration
public RestRequest GetTelegrafsIDMembersWithRestRequest(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of ResourceMembers |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDOwners(String, String)
List all owners of a Telegraf configuration
Declaration
public ResourceOwners GetTelegrafsIDOwners(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
ResourceOwners | ResourceOwners |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDOwnersAsync(String, String, CancellationToken)
List all owners of a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<ResourceOwners> GetTelegrafsIDOwnersAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResourceOwners> | Task of ResourceOwners |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDOwnersAsyncWithHttpInfo(String, String, CancellationToken)
List all owners of a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<ApiResponse<ResourceOwners>> GetTelegrafsIDOwnersAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<ResourceOwners>> | Task of ApiResponse (ResourceOwners) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDOwnersAsyncWithIRestResponse(String, String, CancellationToken)
List all owners of a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsIDOwnersAsyncWithIRestResponse(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (ResourceOwners) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDOwnersWithHttpInfo(String, String)
List all owners of a Telegraf configuration
Declaration
public ApiResponse<ResourceOwners> GetTelegrafsIDOwnersWithHttpInfo(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<ResourceOwners> | ApiResponse of ResourceOwners |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDOwnersWithIRestResponse(String, String)
List all owners of a Telegraf configuration
Declaration
public RestResponse GetTelegrafsIDOwnersWithIRestResponse(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of ResourceOwners |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDOwnersWithIRestResponseAsync(String, String, CancellationToken)
List all owners of a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsIDOwnersWithIRestResponseAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of ResourceOwners |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDOwnersWithRestRequest(String, String)
List all owners of a Telegraf configuration
Declaration
public RestRequest GetTelegrafsIDOwnersWithRestRequest(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of ResourceOwners |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDWithHttpInfo(String, String, String)
Retrieve a Telegraf configuration
Declaration
public ApiResponse<string> GetTelegrafsIDWithHttpInfo(string telegrafID, string zapTraceSpan = null, string accept = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | accept | (optional, default to application/toml) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<System.String> | ApiResponse of string |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDWithIRestResponse(String, String, String)
Retrieve a Telegraf configuration
Declaration
public RestResponse GetTelegrafsIDWithIRestResponse(string telegrafID, string zapTraceSpan = null, string accept = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | accept | (optional, default to application/toml) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of string |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDWithIRestResponseAsync(String, String, String, CancellationToken)
Retrieve a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsIDWithIRestResponseAsync(string telegrafID, string zapTraceSpan = null, string accept = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | accept | (optional, default to application/toml) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of string |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsIDWithRestRequest(String, String, String)
Retrieve a Telegraf configuration
Declaration
public RestRequest GetTelegrafsIDWithRestRequest(string telegrafID, string zapTraceSpan = null, string accept = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | accept | (optional, default to application/toml) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of string |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsWithHttpInfo(String, String)
List all Telegraf configurations
Declaration
public ApiResponse<Telegrafs> GetTelegrafsWithHttpInfo(string zapTraceSpan = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | orgID | The organization ID the Telegraf config belongs to. (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<Telegrafs> | ApiResponse of Telegrafs |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsWithIRestResponse(String, String)
List all Telegraf configurations
Declaration
public RestResponse GetTelegrafsWithIRestResponse(string zapTraceSpan = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | orgID | The organization ID the Telegraf config belongs to. (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of Telegrafs |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsWithIRestResponseAsync(String, String, CancellationToken)
List all Telegraf configurations
Declaration
public async System.Threading.Tasks.Task<RestResponse> GetTelegrafsWithIRestResponseAsync(string zapTraceSpan = null, string orgID = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | orgID | The organization ID the Telegraf config belongs to. (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of Telegrafs |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
GetTelegrafsWithRestRequest(String, String)
List all Telegraf configurations
Declaration
public RestRequest GetTelegrafsWithRestRequest(string zapTraceSpan = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | zapTraceSpan | OpenTracing span context (optional) |
System.String | orgID | The organization ID the Telegraf config belongs to. (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of Telegrafs |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafs(TelegrafPluginRequest, String)
Create a Telegraf configuration
Declaration
public Telegraf PostTelegrafs(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration to create |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Telegraf | Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsAsync(TelegrafPluginRequest, String, CancellationToken)
Create a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<Telegraf> PostTelegrafsAsync(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration to create |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Telegraf> | Task of Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsAsyncWithHttpInfo(TelegrafPluginRequest, String, CancellationToken)
Create a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<ApiResponse<Telegraf>> PostTelegrafsAsyncWithHttpInfo(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration to create |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<Telegraf>> | Task of ApiResponse (Telegraf) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsAsyncWithIRestResponse(TelegrafPluginRequest, String, CancellationToken)
Create a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostTelegrafsAsyncWithIRestResponse(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration to create |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (Telegraf) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDLabels(String, LabelMapping, String)
Add a label to a Telegraf config
Declaration
public LabelResponse PostTelegrafsIDLabels(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
LabelMapping | labelMapping | Label to add |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
LabelResponse | LabelResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDLabelsAsync(String, LabelMapping, String, CancellationToken)
Add a label to a Telegraf config
Declaration
public async System.Threading.Tasks.Task<LabelResponse> PostTelegrafsIDLabelsAsync(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
LabelMapping | labelMapping | Label to add |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<LabelResponse> | Task of LabelResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDLabelsAsyncWithHttpInfo(String, LabelMapping, String, CancellationToken)
Add a label to a Telegraf config
Declaration
public async System.Threading.Tasks.Task<ApiResponse<LabelResponse>> PostTelegrafsIDLabelsAsyncWithHttpInfo(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
LabelMapping | labelMapping | Label to add |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<LabelResponse>> | Task of ApiResponse (LabelResponse) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDLabelsAsyncWithIRestResponse(String, LabelMapping, String, CancellationToken)
Add a label to a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostTelegrafsIDLabelsAsyncWithIRestResponse(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
LabelMapping | labelMapping | Label to add |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (LabelResponse) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDLabelsWithHttpInfo(String, LabelMapping, String)
Add a label to a Telegraf config
Declaration
public ApiResponse<LabelResponse> PostTelegrafsIDLabelsWithHttpInfo(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
LabelMapping | labelMapping | Label to add |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<LabelResponse> | ApiResponse of LabelResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDLabelsWithIRestResponse(String, LabelMapping, String)
Add a label to a Telegraf config
Declaration
public RestResponse PostTelegrafsIDLabelsWithIRestResponse(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
LabelMapping | labelMapping | Label to add |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of LabelResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDLabelsWithIRestResponseAsync(String, LabelMapping, String, CancellationToken)
Add a label to a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostTelegrafsIDLabelsWithIRestResponseAsync(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
LabelMapping | labelMapping | Label to add |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of LabelResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDLabelsWithRestRequest(String, LabelMapping, String)
Add a label to a Telegraf config
Declaration
public RestRequest PostTelegrafsIDLabelsWithRestRequest(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
LabelMapping | labelMapping | Label to add |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of LabelResponse |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDMembers(String, AddResourceMemberRequestBody, String)
Add a member to a Telegraf config
Declaration
public ResourceMember PostTelegrafsIDMembers(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as member |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
ResourceMember | ResourceMember |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDMembersAsync(String, AddResourceMemberRequestBody, String, CancellationToken)
Add a member to a Telegraf config
Declaration
public async System.Threading.Tasks.Task<ResourceMember> PostTelegrafsIDMembersAsync(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as member |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResourceMember> | Task of ResourceMember |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDMembersAsyncWithHttpInfo(String, AddResourceMemberRequestBody, String, CancellationToken)
Add a member to a Telegraf config
Declaration
public async System.Threading.Tasks.Task<ApiResponse<ResourceMember>> PostTelegrafsIDMembersAsyncWithHttpInfo(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as member |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<ResourceMember>> | Task of ApiResponse (ResourceMember) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDMembersAsyncWithIRestResponse(String, AddResourceMemberRequestBody, String, CancellationToken)
Add a member to a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostTelegrafsIDMembersAsyncWithIRestResponse(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as member |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (ResourceMember) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDMembersWithHttpInfo(String, AddResourceMemberRequestBody, String)
Add a member to a Telegraf config
Declaration
public ApiResponse<ResourceMember> PostTelegrafsIDMembersWithHttpInfo(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as member |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<ResourceMember> | ApiResponse of ResourceMember |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDMembersWithIRestResponse(String, AddResourceMemberRequestBody, String)
Add a member to a Telegraf config
Declaration
public RestResponse PostTelegrafsIDMembersWithIRestResponse(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as member |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of ResourceMember |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDMembersWithIRestResponseAsync(String, AddResourceMemberRequestBody, String, CancellationToken)
Add a member to a Telegraf config
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostTelegrafsIDMembersWithIRestResponseAsync(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as member |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of ResourceMember |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDMembersWithRestRequest(String, AddResourceMemberRequestBody, String)
Add a member to a Telegraf config
Declaration
public RestRequest PostTelegrafsIDMembersWithRestRequest(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as member |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of ResourceMember |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDOwners(String, AddResourceMemberRequestBody, String)
Add an owner to a Telegraf configuration
Declaration
public ResourceOwner PostTelegrafsIDOwners(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as owner |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
ResourceOwner | ResourceOwner |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDOwnersAsync(String, AddResourceMemberRequestBody, String, CancellationToken)
Add an owner to a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<ResourceOwner> PostTelegrafsIDOwnersAsync(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as owner |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResourceOwner> | Task of ResourceOwner |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDOwnersAsyncWithHttpInfo(String, AddResourceMemberRequestBody, String, CancellationToken)
Add an owner to a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<ApiResponse<ResourceOwner>> PostTelegrafsIDOwnersAsyncWithHttpInfo(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as owner |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<ResourceOwner>> | Task of ApiResponse (ResourceOwner) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDOwnersAsyncWithIRestResponse(String, AddResourceMemberRequestBody, String, CancellationToken)
Add an owner to a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostTelegrafsIDOwnersAsyncWithIRestResponse(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as owner |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (ResourceOwner) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDOwnersWithHttpInfo(String, AddResourceMemberRequestBody, String)
Add an owner to a Telegraf configuration
Declaration
public ApiResponse<ResourceOwner> PostTelegrafsIDOwnersWithHttpInfo(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as owner |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<ResourceOwner> | ApiResponse of ResourceOwner |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDOwnersWithIRestResponse(String, AddResourceMemberRequestBody, String)
Add an owner to a Telegraf configuration
Declaration
public RestResponse PostTelegrafsIDOwnersWithIRestResponse(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as owner |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of ResourceOwner |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDOwnersWithIRestResponseAsync(String, AddResourceMemberRequestBody, String, CancellationToken)
Add an owner to a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostTelegrafsIDOwnersWithIRestResponseAsync(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as owner |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of ResourceOwner |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsIDOwnersWithRestRequest(String, AddResourceMemberRequestBody, String)
Add an owner to a Telegraf configuration
Declaration
public RestRequest PostTelegrafsIDOwnersWithRestRequest(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf configuration ID. |
AddResourceMemberRequestBody | addResourceMemberRequestBody | User to add as owner |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of ResourceOwner |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsWithHttpInfo(TelegrafPluginRequest, String)
Create a Telegraf configuration
Declaration
public ApiResponse<Telegraf> PostTelegrafsWithHttpInfo(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration to create |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<Telegraf> | ApiResponse of Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsWithIRestResponse(TelegrafPluginRequest, String)
Create a Telegraf configuration
Declaration
public RestResponse PostTelegrafsWithIRestResponse(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration to create |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsWithIRestResponseAsync(TelegrafPluginRequest, String, CancellationToken)
Create a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> PostTelegrafsWithIRestResponseAsync(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration to create |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PostTelegrafsWithRestRequest(TelegrafPluginRequest, String)
Create a Telegraf configuration
Declaration
public RestRequest PostTelegrafsWithRestRequest(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration to create |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PutTelegrafsID(String, TelegrafPluginRequest, String)
Update a Telegraf configuration
Declaration
public Telegraf PutTelegrafsID(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration update to apply |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Telegraf | Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PutTelegrafsIDAsync(String, TelegrafPluginRequest, String, CancellationToken)
Update a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<Telegraf> PutTelegrafsIDAsync(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration update to apply |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Telegraf> | Task of Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PutTelegrafsIDAsyncWithHttpInfo(String, TelegrafPluginRequest, String, CancellationToken)
Update a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<ApiResponse<Telegraf>> PutTelegrafsIDAsyncWithHttpInfo(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration update to apply |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<InfluxDB.Client.Api.Client.ApiResponse<Telegraf>> | Task of ApiResponse (Telegraf) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PutTelegrafsIDAsyncWithIRestResponse(String, TelegrafPluginRequest, String, CancellationToken)
Update a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> PutTelegrafsIDAsyncWithIRestResponse(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration update to apply |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | Task of RestResponse (Telegraf) |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PutTelegrafsIDWithHttpInfo(String, TelegrafPluginRequest, String)
Update a Telegraf configuration
Declaration
public ApiResponse<Telegraf> PutTelegrafsIDWithHttpInfo(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration update to apply |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
InfluxDB.Client.Api.Client.ApiResponse<Telegraf> | ApiResponse of Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PutTelegrafsIDWithIRestResponse(String, TelegrafPluginRequest, String)
Update a Telegraf configuration
Declaration
public RestResponse PutTelegrafsIDWithIRestResponse(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration update to apply |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestResponse | ApiResponse of Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PutTelegrafsIDWithIRestResponseAsync(String, TelegrafPluginRequest, String, CancellationToken)
Update a Telegraf configuration
Declaration
public async System.Threading.Tasks.Task<RestResponse> PutTelegrafsIDWithIRestResponseAsync(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration update to apply |
System.String | zapTraceSpan | OpenTracing span context (optional) |
CancellationToken | cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RestResponse> | ApiResponse of Telegraf |
Exceptions
Type | Condition |
---|---|
InfluxDB.Client.Api.Client.ApiException | Thrown when fails to make API call |
PutTelegrafsIDWithRestRequest(String, TelegrafPluginRequest, String)
Update a Telegraf configuration
Declaration
public RestRequest PutTelegrafsIDWithRestRequest(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | telegrafID | The Telegraf config ID. |
TelegrafPluginRequest | telegrafPluginRequest | Telegraf configuration update to apply |
System.String | zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
RestRequest | ApiResponse of Telegraf |
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 |