Interface ITelegrafsService
Represents a collection of functions to interact with the API endpoints
Namespace: InfluxDB.Client.Api.Service
Assembly: InfluxDB.Client.dll
Syntax
public interface ITelegrafsService : IApiAccessor
Methods
DeleteTelegrafsID(String, String)
Delete a Telegraf configuration
Declaration
void DeleteTelegrafsID(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDAsync(String, String, CancellationToken)
Delete a Telegraf configuration
Declaration
System.Threading.Tasks.Task DeleteTelegrafsIDAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of void |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDAsyncWithHttpInfo(String, String, CancellationToken)
Delete a Telegraf configuration
Declaration
System.Threading.Tasks.Task<ApiResponse<object>> DeleteTelegrafsIDAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDLabelsID(String, String, String)
Delete a label from a Telegraf config
Declaration
void DeleteTelegrafsIDLabelsID(string telegrafID, string labelID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
labelID | The label ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDLabelsIDAsync(String, String, String, CancellationToken)
Delete a label from a Telegraf config
Declaration
System.Threading.Tasks.Task DeleteTelegrafsIDLabelsIDAsync(string telegrafID, string labelID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
labelID | The label ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of void |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDLabelsIDAsyncWithHttpInfo(String, String, String, CancellationToken)
Delete a label from a Telegraf config
Declaration
System.Threading.Tasks.Task<ApiResponse<object>> DeleteTelegrafsIDLabelsIDAsyncWithHttpInfo(string telegrafID, string labelID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
labelID | The label ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDLabelsIDWithHttpInfo(String, String, String)
Delete a label from a Telegraf config
Declaration
ApiResponse<object> DeleteTelegrafsIDLabelsIDWithHttpInfo(string telegrafID, string labelID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
labelID | The label ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDMembersID(String, String, String)
Remove a member from a Telegraf config
Declaration
void DeleteTelegrafsIDMembersID(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
userID | The ID of the member to remove. |
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDMembersIDAsync(String, String, String, CancellationToken)
Remove a member from a Telegraf config
Declaration
System.Threading.Tasks.Task DeleteTelegrafsIDMembersIDAsync(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
userID | The ID of the member to remove. |
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of void |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDMembersIDAsyncWithHttpInfo(String, String, String, CancellationToken)
Remove a member from a Telegraf config
Declaration
System.Threading.Tasks.Task<ApiResponse<object>> DeleteTelegrafsIDMembersIDAsyncWithHttpInfo(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
userID | The ID of the member to remove. |
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDMembersIDWithHttpInfo(String, String, String)
Remove a member from a Telegraf config
Declaration
ApiResponse<object> DeleteTelegrafsIDMembersIDWithHttpInfo(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
userID | The ID of the member to remove. |
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDOwnersID(String, String, String)
Remove an owner from a Telegraf config
Declaration
void DeleteTelegrafsIDOwnersID(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
userID | The ID of the owner to remove. |
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDOwnersIDAsync(String, String, String, CancellationToken)
Remove an owner from a Telegraf config
Declaration
System.Threading.Tasks.Task DeleteTelegrafsIDOwnersIDAsync(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
userID | The ID of the owner to remove. |
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of void |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDOwnersIDAsyncWithHttpInfo(String, String, String, CancellationToken)
Remove an owner from a Telegraf config
Declaration
System.Threading.Tasks.Task<ApiResponse<object>> DeleteTelegrafsIDOwnersIDAsyncWithHttpInfo(string userID, string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
userID | The ID of the owner to remove. |
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDOwnersIDWithHttpInfo(String, String, String)
Remove an owner from a Telegraf config
Declaration
ApiResponse<object> DeleteTelegrafsIDOwnersIDWithHttpInfo(string userID, string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
userID | The ID of the owner to remove. |
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
DeleteTelegrafsIDWithHttpInfo(String, String)
Delete a Telegraf configuration
Declaration
ApiResponse<object> DeleteTelegrafsIDWithHttpInfo(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Object(void) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafs(String, String)
List all Telegraf configurations
Declaration
Telegrafs GetTelegrafs(string zapTraceSpan = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
orgID | The organization ID the Telegraf config belongs to. (optional) |
Returns
Type | Description |
---|---|
Telegrafs | Telegrafs |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsAsync(String, String, CancellationToken)
List all Telegraf configurations
Declaration
System.Threading.Tasks.Task<Telegrafs> GetTelegrafsAsync(string zapTraceSpan = null, string orgID = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
orgID | The organization ID the Telegraf config belongs to. (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of Telegrafs |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsAsyncWithHttpInfo(String, String, CancellationToken)
List all Telegraf configurations
Declaration
System.Threading.Tasks.Task<ApiResponse<Telegrafs>> GetTelegrafsAsyncWithHttpInfo(string zapTraceSpan = null, string orgID = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
orgID | The organization ID the Telegraf config belongs to. (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (Telegrafs) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsID(String, String, String)
Retrieve a Telegraf configuration
Declaration
string GetTelegrafsID(string telegrafID, string zapTraceSpan = null, string accept = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
accept | (optional, default to application/toml) |
Returns
Type | Description |
---|---|
System. |
string |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDAsync(String, String, String, CancellationToken)
Retrieve a Telegraf configuration
Declaration
System.Threading.Tasks.Task<string> GetTelegrafsIDAsync(string telegrafID, string zapTraceSpan = null, string accept = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
accept | (optional, default to application/toml) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of string |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDAsyncWithHttpInfo(String, String, String, CancellationToken)
Retrieve a Telegraf configuration
Declaration
System.Threading.Tasks.Task<ApiResponse<string>> GetTelegrafsIDAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, string accept = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
accept | (optional, default to application/toml) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (string) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDLabels(String, String)
List all labels for a Telegraf config
Declaration
LabelsResponse GetTelegrafsIDLabels(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Labels |
LabelsResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDLabelsAsync(String, String, CancellationToken)
List all labels for a Telegraf config
Declaration
System.Threading.Tasks.Task<LabelsResponse> GetTelegrafsIDLabelsAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of LabelsResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDLabelsAsyncWithHttpInfo(String, String, CancellationToken)
List all labels for a Telegraf config
Declaration
System.Threading.Tasks.Task<ApiResponse<LabelsResponse>> GetTelegrafsIDLabelsAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (LabelsResponse) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDLabelsWithHttpInfo(String, String)
List all labels for a Telegraf config
Declaration
ApiResponse<LabelsResponse> GetTelegrafsIDLabelsWithHttpInfo(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of LabelsResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDMembers(String, String)
List all users with member privileges for a Telegraf config
Declaration
ResourceMembers GetTelegrafsIDMembers(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Resource |
ResourceMembers |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDMembersAsync(String, String, CancellationToken)
List all users with member privileges for a Telegraf config
Declaration
System.Threading.Tasks.Task<ResourceMembers> GetTelegrafsIDMembersAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ResourceMembers |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDMembersAsyncWithHttpInfo(String, String, CancellationToken)
List all users with member privileges for a Telegraf config
Declaration
System.Threading.Tasks.Task<ApiResponse<ResourceMembers>> GetTelegrafsIDMembersAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (ResourceMembers) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDMembersWithHttpInfo(String, String)
List all users with member privileges for a Telegraf config
Declaration
ApiResponse<ResourceMembers> GetTelegrafsIDMembersWithHttpInfo(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of ResourceMembers |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDOwners(String, String)
List all owners of a Telegraf configuration
Declaration
ResourceOwners GetTelegrafsIDOwners(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Resource |
ResourceOwners |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDOwnersAsync(String, String, CancellationToken)
List all owners of a Telegraf configuration
Declaration
System.Threading.Tasks.Task<ResourceOwners> GetTelegrafsIDOwnersAsync(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ResourceOwners |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDOwnersAsyncWithHttpInfo(String, String, CancellationToken)
List all owners of a Telegraf configuration
Declaration
System.Threading.Tasks.Task<ApiResponse<ResourceOwners>> GetTelegrafsIDOwnersAsyncWithHttpInfo(string telegrafID, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (ResourceOwners) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDOwnersWithHttpInfo(String, String)
List all owners of a Telegraf configuration
Declaration
ApiResponse<ResourceOwners> GetTelegrafsIDOwnersWithHttpInfo(string telegrafID, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of ResourceOwners |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsIDWithHttpInfo(String, String, String)
Retrieve a Telegraf configuration
Declaration
ApiResponse<string> GetTelegrafsIDWithHttpInfo(string telegrafID, string zapTraceSpan = null, string accept = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
accept | (optional, default to application/toml) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of string |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
GetTelegrafsWithHttpInfo(String, String)
List all Telegraf configurations
Declaration
ApiResponse<Telegrafs> GetTelegrafsWithHttpInfo(string zapTraceSpan = null, string orgID = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
zapTraceSpan | OpenTracing span context (optional) |
System. |
orgID | The organization ID the Telegraf config belongs to. (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Telegrafs |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafs(TelegrafPluginRequest, String)
Create a Telegraf configuration
Declaration
Telegraf PostTelegrafs(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
Telegraf |
telegrafPluginRequest | Telegraf configuration to create |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Telegraf | Telegraf |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsAsync(TelegrafPluginRequest, String, CancellationToken)
Create a Telegraf configuration
Declaration
System.Threading.Tasks.Task<Telegraf> PostTelegrafsAsync(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Telegraf |
telegrafPluginRequest | Telegraf configuration to create |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of Telegraf |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsAsyncWithHttpInfo(TelegrafPluginRequest, String, CancellationToken)
Create a Telegraf configuration
Declaration
System.Threading.Tasks.Task<ApiResponse<Telegraf>> PostTelegrafsAsyncWithHttpInfo(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Telegraf |
telegrafPluginRequest | Telegraf configuration to create |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (Telegraf) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDLabels(String, LabelMapping, String)
Add a label to a Telegraf config
Declaration
LabelResponse PostTelegrafsIDLabels(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Label |
labelMapping | Label to add |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Label |
LabelResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDLabelsAsync(String, LabelMapping, String, CancellationToken)
Add a label to a Telegraf config
Declaration
System.Threading.Tasks.Task<LabelResponse> PostTelegrafsIDLabelsAsync(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Label |
labelMapping | Label to add |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of LabelResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDLabelsAsyncWithHttpInfo(String, LabelMapping, String, CancellationToken)
Add a label to a Telegraf config
Declaration
System.Threading.Tasks.Task<ApiResponse<LabelResponse>> PostTelegrafsIDLabelsAsyncWithHttpInfo(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Label |
labelMapping | Label to add |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (LabelResponse) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDLabelsWithHttpInfo(String, LabelMapping, String)
Add a label to a Telegraf config
Declaration
ApiResponse<LabelResponse> PostTelegrafsIDLabelsWithHttpInfo(string telegrafID, LabelMapping labelMapping, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Label |
labelMapping | Label to add |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of LabelResponse |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDMembers(String, AddResourceMemberRequestBody, String)
Add a member to a Telegraf config
Declaration
ResourceMember PostTelegrafsIDMembers(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Add |
addResourceMemberRequestBody | User to add as member |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Resource |
ResourceMember |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDMembersAsync(String, AddResourceMemberRequestBody, String, CancellationToken)
Add a member to a Telegraf config
Declaration
System.Threading.Tasks.Task<ResourceMember> PostTelegrafsIDMembersAsync(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Add |
addResourceMemberRequestBody | User to add as member |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ResourceMember |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDMembersAsyncWithHttpInfo(String, AddResourceMemberRequestBody, String, CancellationToken)
Add a member to a Telegraf config
Declaration
System.Threading.Tasks.Task<ApiResponse<ResourceMember>> PostTelegrafsIDMembersAsyncWithHttpInfo(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Add |
addResourceMemberRequestBody | User to add as member |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (ResourceMember) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDMembersWithHttpInfo(String, AddResourceMemberRequestBody, String)
Add a member to a Telegraf config
Declaration
ApiResponse<ResourceMember> PostTelegrafsIDMembersWithHttpInfo(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Add |
addResourceMemberRequestBody | User to add as member |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of ResourceMember |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDOwners(String, AddResourceMemberRequestBody, String)
Add an owner to a Telegraf configuration
Declaration
ResourceOwner PostTelegrafsIDOwners(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
Add |
addResourceMemberRequestBody | User to add as owner |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Resource |
ResourceOwner |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDOwnersAsync(String, AddResourceMemberRequestBody, String, CancellationToken)
Add an owner to a Telegraf configuration
Declaration
System.Threading.Tasks.Task<ResourceOwner> PostTelegrafsIDOwnersAsync(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
Add |
addResourceMemberRequestBody | User to add as owner |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ResourceOwner |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDOwnersAsyncWithHttpInfo(String, AddResourceMemberRequestBody, String, CancellationToken)
Add an owner to a Telegraf configuration
Declaration
System.Threading.Tasks.Task<ApiResponse<ResourceOwner>> PostTelegrafsIDOwnersAsyncWithHttpInfo(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
Add |
addResourceMemberRequestBody | User to add as owner |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (ResourceOwner) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsIDOwnersWithHttpInfo(String, AddResourceMemberRequestBody, String)
Add an owner to a Telegraf configuration
Declaration
ApiResponse<ResourceOwner> PostTelegrafsIDOwnersWithHttpInfo(string telegrafID, AddResourceMemberRequestBody addResourceMemberRequestBody, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf configuration ID. |
Add |
addResourceMemberRequestBody | User to add as owner |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of ResourceOwner |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PostTelegrafsWithHttpInfo(TelegrafPluginRequest, String)
Create a Telegraf configuration
Declaration
ApiResponse<Telegraf> PostTelegrafsWithHttpInfo(TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
Telegraf |
telegrafPluginRequest | Telegraf configuration to create |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Telegraf |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PutTelegrafsID(String, TelegrafPluginRequest, String)
Update a Telegraf configuration
Declaration
Telegraf PutTelegrafsID(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Telegraf |
telegrafPluginRequest | Telegraf configuration update to apply |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Telegraf | Telegraf |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PutTelegrafsIDAsync(String, TelegrafPluginRequest, String, CancellationToken)
Update a Telegraf configuration
Declaration
System.Threading.Tasks.Task<Telegraf> PutTelegrafsIDAsync(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Telegraf |
telegrafPluginRequest | Telegraf configuration update to apply |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of Telegraf |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PutTelegrafsIDAsyncWithHttpInfo(String, TelegrafPluginRequest, String, CancellationToken)
Update a Telegraf configuration
Declaration
System.Threading.Tasks.Task<ApiResponse<Telegraf>> PutTelegrafsIDAsyncWithHttpInfo(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Telegraf |
telegrafPluginRequest | Telegraf configuration update to apply |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Cancellation |
cancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System. |
Task of ApiResponse (Telegraf) |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |
PutTelegrafsIDWithHttpInfo(String, TelegrafPluginRequest, String)
Update a Telegraf configuration
Declaration
ApiResponse<Telegraf> PutTelegrafsIDWithHttpInfo(string telegrafID, TelegrafPluginRequest telegrafPluginRequest, string zapTraceSpan = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
telegrafID | The Telegraf config ID. |
Telegraf |
telegrafPluginRequest | Telegraf configuration update to apply |
System. |
zapTraceSpan | OpenTracing span context (optional) |
Returns
Type | Description |
---|---|
Influx |
ApiResponse of Telegraf |
Exceptions
Type | Condition |
---|---|
Influx |
Thrown when fails to make API call |