InfluxDB PHP Client
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
InfluxDB2\Service\TelegrafsService Class Reference

Public Member Functions

 __construct (ClientInterface $client=null, Configuration $config=null, HeaderSelector $selector=null)
 
 getConfig ()
 
 deleteTelegrafsID ($telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDWithHttpInfo ($telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDAsync ($telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDAsyncWithHttpInfo ($telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDLabelsID ($telegraf_id, $label_id, $zap_trace_span=null)
 
 deleteTelegrafsIDLabelsIDWithHttpInfo ($telegraf_id, $label_id, $zap_trace_span=null)
 
 deleteTelegrafsIDLabelsIDAsync ($telegraf_id, $label_id, $zap_trace_span=null)
 
 deleteTelegrafsIDLabelsIDAsyncWithHttpInfo ($telegraf_id, $label_id, $zap_trace_span=null)
 
 deleteTelegrafsIDMembersID ($user_id, $telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDMembersIDWithHttpInfo ($user_id, $telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDMembersIDAsync ($user_id, $telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDMembersIDAsyncWithHttpInfo ($user_id, $telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDOwnersID ($user_id, $telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDOwnersIDWithHttpInfo ($user_id, $telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDOwnersIDAsync ($user_id, $telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDOwnersIDAsyncWithHttpInfo ($user_id, $telegraf_id, $zap_trace_span=null)
 
 getTelegrafs ($zap_trace_span=null, $org_id=null)
 
 getTelegrafsWithHttpInfo ($zap_trace_span=null, $org_id=null)
 
 getTelegrafsAsync ($zap_trace_span=null, $org_id=null)
 
 getTelegrafsAsyncWithHttpInfo ($zap_trace_span=null, $org_id=null)
 
 getTelegrafsID ($telegraf_id, $zap_trace_span=null, $accept='application/toml')
 
 getTelegrafsIDWithHttpInfo ($telegraf_id, $zap_trace_span=null, $accept='application/toml')
 
 getTelegrafsIDAsync ($telegraf_id, $zap_trace_span=null, $accept='application/toml')
 
 getTelegrafsIDAsyncWithHttpInfo ($telegraf_id, $zap_trace_span=null, $accept='application/toml')
 
 getTelegrafsIDLabels ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDLabelsWithHttpInfo ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDLabelsAsync ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDLabelsAsyncWithHttpInfo ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDMembers ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDMembersWithHttpInfo ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDMembersAsync ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDMembersAsyncWithHttpInfo ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDOwners ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDOwnersWithHttpInfo ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDOwnersAsync ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDOwnersAsyncWithHttpInfo ($telegraf_id, $zap_trace_span=null)
 
 postTelegrafs ($telegraf_request, $zap_trace_span=null)
 
 postTelegrafsWithHttpInfo ($telegraf_request, $zap_trace_span=null)
 
 postTelegrafsAsync ($telegraf_request, $zap_trace_span=null)
 
 postTelegrafsAsyncWithHttpInfo ($telegraf_request, $zap_trace_span=null)
 
 postTelegrafsIDLabels ($telegraf_id, $label_mapping, $zap_trace_span=null)
 
 postTelegrafsIDLabelsWithHttpInfo ($telegraf_id, $label_mapping, $zap_trace_span=null)
 
 postTelegrafsIDLabelsAsync ($telegraf_id, $label_mapping, $zap_trace_span=null)
 
 postTelegrafsIDLabelsAsyncWithHttpInfo ($telegraf_id, $label_mapping, $zap_trace_span=null)
 
 postTelegrafsIDMembers ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postTelegrafsIDMembersWithHttpInfo ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postTelegrafsIDMembersAsync ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postTelegrafsIDMembersAsyncWithHttpInfo ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postTelegrafsIDOwners ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postTelegrafsIDOwnersWithHttpInfo ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postTelegrafsIDOwnersAsync ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postTelegrafsIDOwnersAsyncWithHttpInfo ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 putTelegrafsID ($telegraf_id, $telegraf_request, $zap_trace_span=null)
 
 putTelegrafsIDWithHttpInfo ($telegraf_id, $telegraf_request, $zap_trace_span=null)
 
 putTelegrafsIDAsync ($telegraf_id, $telegraf_request, $zap_trace_span=null)
 
 putTelegrafsIDAsyncWithHttpInfo ($telegraf_id, $telegraf_request, $zap_trace_span=null)
 

Protected Member Functions

 deleteTelegrafsIDRequest ($telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDLabelsIDRequest ($telegraf_id, $label_id, $zap_trace_span=null)
 
 deleteTelegrafsIDMembersIDRequest ($user_id, $telegraf_id, $zap_trace_span=null)
 
 deleteTelegrafsIDOwnersIDRequest ($user_id, $telegraf_id, $zap_trace_span=null)
 
 getTelegrafsRequest ($zap_trace_span=null, $org_id=null)
 
 getTelegrafsIDRequest ($telegraf_id, $zap_trace_span=null, $accept='application/toml')
 
 getTelegrafsIDLabelsRequest ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDMembersRequest ($telegraf_id, $zap_trace_span=null)
 
 getTelegrafsIDOwnersRequest ($telegraf_id, $zap_trace_span=null)
 
 postTelegrafsRequest ($telegraf_request, $zap_trace_span=null)
 
 postTelegrafsIDLabelsRequest ($telegraf_id, $label_mapping, $zap_trace_span=null)
 
 postTelegrafsIDMembersRequest ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postTelegrafsIDOwnersRequest ($telegraf_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 putTelegrafsIDRequest ($telegraf_id, $telegraf_request, $zap_trace_span=null)
 
 createHttpClientOption ()
 

Protected Attributes

 $client
 
 $config
 
 $headerSelector
 

Constructor & Destructor Documentation

◆ __construct()

InfluxDB2\Service\TelegrafsService::__construct ( ClientInterface  $client = null,
Configuration  $config = null,
HeaderSelector  $selector = null 
)
Parameters
ClientInterface$client
Configuration$config
HeaderSelector$selector

Member Function Documentation

◆ createHttpClientOption()

InfluxDB2\Service\TelegrafsService::createHttpClientOption ( )
protected

Create http client option

Exceptions

RuntimeException on file opening failure

Returns
array of http client options

◆ deleteTelegrafsID()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsID (   $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsID

Delete a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
void

◆ deleteTelegrafsIDAsync()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDAsync (   $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDAsync

Delete a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteTelegrafsIDAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDAsyncWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDAsyncWithHttpInfo

Delete a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteTelegrafsIDLabelsID()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDLabelsID (   $telegraf_id,
  $label_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDLabelsID

Delete a label from a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$label_idThe label ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
void

◆ deleteTelegrafsIDLabelsIDAsync()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDLabelsIDAsync (   $telegraf_id,
  $label_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDLabelsIDAsync

Delete a label from a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$label_idThe label ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteTelegrafsIDLabelsIDAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDLabelsIDAsyncWithHttpInfo (   $telegraf_id,
  $label_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDLabelsIDAsyncWithHttpInfo

Delete a label from a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$label_idThe label ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteTelegrafsIDLabelsIDRequest()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDLabelsIDRequest (   $telegraf_id,
  $label_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'deleteTelegrafsIDLabelsID'

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$label_idThe label ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ deleteTelegrafsIDLabelsIDWithHttpInfo()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDLabelsIDWithHttpInfo (   $telegraf_id,
  $label_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDLabelsIDWithHttpInfo

Delete a label from a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$label_idThe label ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of null, HTTP status code, HTTP response headers (array of strings)

◆ deleteTelegrafsIDMembersID()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDMembersID (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDMembersID

Remove a member from a Telegraf config

Parameters
string$user_idThe ID of the member to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
void

◆ deleteTelegrafsIDMembersIDAsync()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDMembersIDAsync (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDMembersIDAsync

Remove a member from a Telegraf config

Parameters
string$user_idThe ID of the member to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteTelegrafsIDMembersIDAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDMembersIDAsyncWithHttpInfo (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDMembersIDAsyncWithHttpInfo

Remove a member from a Telegraf config

Parameters
string$user_idThe ID of the member to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteTelegrafsIDMembersIDRequest()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDMembersIDRequest (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'deleteTelegrafsIDMembersID'

Parameters
string$user_idThe ID of the member to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ deleteTelegrafsIDMembersIDWithHttpInfo()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDMembersIDWithHttpInfo (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDMembersIDWithHttpInfo

Remove a member from a Telegraf config

Parameters
string$user_idThe ID of the member to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of null, HTTP status code, HTTP response headers (array of strings)

◆ deleteTelegrafsIDOwnersID()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDOwnersID (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDOwnersID

Remove an owner from a Telegraf config

Parameters
string$user_idThe ID of the owner to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
void

◆ deleteTelegrafsIDOwnersIDAsync()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDOwnersIDAsync (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDOwnersIDAsync

Remove an owner from a Telegraf config

Parameters
string$user_idThe ID of the owner to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteTelegrafsIDOwnersIDAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDOwnersIDAsyncWithHttpInfo (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDOwnersIDAsyncWithHttpInfo

Remove an owner from a Telegraf config

Parameters
string$user_idThe ID of the owner to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteTelegrafsIDOwnersIDRequest()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDOwnersIDRequest (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'deleteTelegrafsIDOwnersID'

Parameters
string$user_idThe ID of the owner to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ deleteTelegrafsIDOwnersIDWithHttpInfo()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDOwnersIDWithHttpInfo (   $user_id,
  $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDOwnersIDWithHttpInfo

Remove an owner from a Telegraf config

Parameters
string$user_idThe ID of the owner to remove. (required)
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of null, HTTP status code, HTTP response headers (array of strings)

◆ deleteTelegrafsIDRequest()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDRequest (   $telegraf_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'deleteTelegrafsID'

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ deleteTelegrafsIDWithHttpInfo()

InfluxDB2\Service\TelegrafsService::deleteTelegrafsIDWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null 
)

Operation deleteTelegrafsIDWithHttpInfo

Delete a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of null, HTTP status code, HTTP response headers (array of strings)

◆ getConfig()

InfluxDB2\Service\TelegrafsService::getConfig ( )
Returns
Configuration

◆ getTelegrafs()

InfluxDB2\Service\TelegrafsService::getTelegrafs (   $zap_trace_span = null,
  $org_id = null 
)

Operation getTelegrafs

List all Telegraf configurations

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$org_idThe organization ID the Telegraf config belongs to. (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\Telegrafs|\InfluxDB2\Model\Error

◆ getTelegrafsAsync()

InfluxDB2\Service\TelegrafsService::getTelegrafsAsync (   $zap_trace_span = null,
  $org_id = null 
)

Operation getTelegrafsAsync

List all Telegraf configurations

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$org_idThe organization ID the Telegraf config belongs to. (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsAsyncWithHttpInfo (   $zap_trace_span = null,
  $org_id = null 
)

Operation getTelegrafsAsyncWithHttpInfo

List all Telegraf configurations

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$org_idThe organization ID the Telegraf config belongs to. (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsID()

InfluxDB2\Service\TelegrafsService::getTelegrafsID (   $telegraf_id,
  $zap_trace_span = null,
  $accept = 'application/toml' 
)

Operation getTelegrafsID

Retrieve a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
string$acceptaccept (optional, default to 'application/toml')
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
string|\InfluxDB2\Model\Error

◆ getTelegrafsIDAsync()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDAsync (   $telegraf_id,
  $zap_trace_span = null,
  $accept = 'application/toml' 
)

Operation getTelegrafsIDAsync

Retrieve a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
string$accept(optional, default to 'application/toml')
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsIDAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDAsyncWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null,
  $accept = 'application/toml' 
)

Operation getTelegrafsIDAsyncWithHttpInfo

Retrieve a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
string$accept(optional, default to 'application/toml')
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsIDLabels()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDLabels (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDLabels

List all labels for a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\LabelsResponse|\InfluxDB2\Model\Error

◆ getTelegrafsIDLabelsAsync()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDLabelsAsync (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDLabelsAsync

List all labels for a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsIDLabelsAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDLabelsAsyncWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDLabelsAsyncWithHttpInfo

List all labels for a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsIDLabelsRequest()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDLabelsRequest (   $telegraf_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'getTelegrafsIDLabels'

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getTelegrafsIDLabelsWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDLabelsWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDLabelsWithHttpInfo

List all labels for a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\LabelsResponse|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ getTelegrafsIDMembers()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDMembers (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDMembers

List all users with member privileges for a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\ResourceMembers|\InfluxDB2\Model\Error

◆ getTelegrafsIDMembersAsync()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDMembersAsync (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDMembersAsync

List all users with member privileges for a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsIDMembersAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDMembersAsyncWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDMembersAsyncWithHttpInfo

List all users with member privileges for a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsIDMembersRequest()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDMembersRequest (   $telegraf_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'getTelegrafsIDMembers'

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getTelegrafsIDMembersWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDMembersWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDMembersWithHttpInfo

List all users with member privileges for a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\ResourceMembers|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ getTelegrafsIDOwners()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDOwners (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDOwners

List all owners of a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\ResourceOwners|\InfluxDB2\Model\Error

◆ getTelegrafsIDOwnersAsync()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDOwnersAsync (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDOwnersAsync

List all owners of a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsIDOwnersAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDOwnersAsyncWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDOwnersAsyncWithHttpInfo

List all owners of a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getTelegrafsIDOwnersRequest()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDOwnersRequest (   $telegraf_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'getTelegrafsIDOwners'

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getTelegrafsIDOwnersWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDOwnersWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null 
)

Operation getTelegrafsIDOwnersWithHttpInfo

List all owners of a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\ResourceOwners|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ getTelegrafsIDRequest()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDRequest (   $telegraf_id,
  $zap_trace_span = null,
  $accept = 'application/toml' 
)
protected

Create request for operation 'getTelegrafsID'

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
string$accept(optional, default to 'application/toml')
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getTelegrafsIDWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsIDWithHttpInfo (   $telegraf_id,
  $zap_trace_span = null,
  $accept = 'application/toml' 
)

Operation getTelegrafsIDWithHttpInfo

Retrieve a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
string$accept(optional, default to 'application/toml')
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of string|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ getTelegrafsRequest()

InfluxDB2\Service\TelegrafsService::getTelegrafsRequest (   $zap_trace_span = null,
  $org_id = null 
)
protected

Create request for operation 'getTelegrafs'

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$org_idThe organization ID the Telegraf config belongs to. (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getTelegrafsWithHttpInfo()

InfluxDB2\Service\TelegrafsService::getTelegrafsWithHttpInfo (   $zap_trace_span = null,
  $org_id = null 
)

Operation getTelegrafsWithHttpInfo

List all Telegraf configurations

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$org_idThe organization ID the Telegraf config belongs to. (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\Telegrafs|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ postTelegrafs()

InfluxDB2\Service\TelegrafsService::postTelegrafs (   $telegraf_request,
  $zap_trace_span = null 
)

Operation postTelegrafs

Create a Telegraf configuration

Parameters
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\Telegraf|\InfluxDB2\Model\Error

◆ postTelegrafsAsync()

InfluxDB2\Service\TelegrafsService::postTelegrafsAsync (   $telegraf_request,
  $zap_trace_span = null 
)

Operation postTelegrafsAsync

Create a Telegraf configuration

Parameters
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postTelegrafsAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::postTelegrafsAsyncWithHttpInfo (   $telegraf_request,
  $zap_trace_span = null 
)

Operation postTelegrafsAsyncWithHttpInfo

Create a Telegraf configuration

Parameters
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postTelegrafsIDLabels()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDLabels (   $telegraf_id,
  $label_mapping,
  $zap_trace_span = null 
)

Operation postTelegrafsIDLabels

Add a label to a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\LabelMapping$label_mappingLabel to add (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\LabelResponse|\InfluxDB2\Model\Error

◆ postTelegrafsIDLabelsAsync()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDLabelsAsync (   $telegraf_id,
  $label_mapping,
  $zap_trace_span = null 
)

Operation postTelegrafsIDLabelsAsync

Add a label to a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\LabelMapping$label_mappingLabel to add (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postTelegrafsIDLabelsAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDLabelsAsyncWithHttpInfo (   $telegraf_id,
  $label_mapping,
  $zap_trace_span = null 
)

Operation postTelegrafsIDLabelsAsyncWithHttpInfo

Add a label to a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\LabelMapping$label_mappingLabel to add (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postTelegrafsIDLabelsRequest()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDLabelsRequest (   $telegraf_id,
  $label_mapping,
  $zap_trace_span = null 
)
protected

Create request for operation 'postTelegrafsIDLabels'

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\LabelMapping$label_mappingLabel to add (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ postTelegrafsIDLabelsWithHttpInfo()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDLabelsWithHttpInfo (   $telegraf_id,
  $label_mapping,
  $zap_trace_span = null 
)

Operation postTelegrafsIDLabelsWithHttpInfo

Add a label to a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\LabelMapping$label_mappingLabel to add (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\LabelResponse|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ postTelegrafsIDMembers()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDMembers (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postTelegrafsIDMembers

Add a member to a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as member (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\ResourceMember|\InfluxDB2\Model\Error

◆ postTelegrafsIDMembersAsync()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDMembersAsync (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postTelegrafsIDMembersAsync

Add a member to a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as member (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postTelegrafsIDMembersAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDMembersAsyncWithHttpInfo (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postTelegrafsIDMembersAsyncWithHttpInfo

Add a member to a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as member (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postTelegrafsIDMembersRequest()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDMembersRequest (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)
protected

Create request for operation 'postTelegrafsIDMembers'

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as member (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ postTelegrafsIDMembersWithHttpInfo()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDMembersWithHttpInfo (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postTelegrafsIDMembersWithHttpInfo

Add a member to a Telegraf config

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as member (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\ResourceMember|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ postTelegrafsIDOwners()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDOwners (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postTelegrafsIDOwners

Add an owner to a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as owner (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\ResourceOwner|\InfluxDB2\Model\Error

◆ postTelegrafsIDOwnersAsync()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDOwnersAsync (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postTelegrafsIDOwnersAsync

Add an owner to a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as owner (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postTelegrafsIDOwnersAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDOwnersAsyncWithHttpInfo (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postTelegrafsIDOwnersAsyncWithHttpInfo

Add an owner to a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as owner (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postTelegrafsIDOwnersRequest()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDOwnersRequest (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)
protected

Create request for operation 'postTelegrafsIDOwners'

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as owner (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ postTelegrafsIDOwnersWithHttpInfo()

InfluxDB2\Service\TelegrafsService::postTelegrafsIDOwnersWithHttpInfo (   $telegraf_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postTelegrafsIDOwnersWithHttpInfo

Add an owner to a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf configuration ID. (required)
\InfluxDB2\Model\AddResourceMemberRequestBody$add_resource_member_request_bodyUser to add as owner (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\ResourceOwner|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ postTelegrafsRequest()

InfluxDB2\Service\TelegrafsService::postTelegrafsRequest (   $telegraf_request,
  $zap_trace_span = null 
)
protected

Create request for operation 'postTelegrafs'

Parameters
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ postTelegrafsWithHttpInfo()

InfluxDB2\Service\TelegrafsService::postTelegrafsWithHttpInfo (   $telegraf_request,
  $zap_trace_span = null 
)

Operation postTelegrafsWithHttpInfo

Create a Telegraf configuration

Parameters
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\Telegraf|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ putTelegrafsID()

InfluxDB2\Service\TelegrafsService::putTelegrafsID (   $telegraf_id,
  $telegraf_request,
  $zap_trace_span = null 
)

Operation putTelegrafsID

Update a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration update to apply (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\Telegraf|\InfluxDB2\Model\Error

◆ putTelegrafsIDAsync()

InfluxDB2\Service\TelegrafsService::putTelegrafsIDAsync (   $telegraf_id,
  $telegraf_request,
  $zap_trace_span = null 
)

Operation putTelegrafsIDAsync

Update a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration update to apply (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ putTelegrafsIDAsyncWithHttpInfo()

InfluxDB2\Service\TelegrafsService::putTelegrafsIDAsyncWithHttpInfo (   $telegraf_id,
  $telegraf_request,
  $zap_trace_span = null 
)

Operation putTelegrafsIDAsyncWithHttpInfo

Update a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration update to apply (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ putTelegrafsIDRequest()

InfluxDB2\Service\TelegrafsService::putTelegrafsIDRequest (   $telegraf_id,
  $telegraf_request,
  $zap_trace_span = null 
)
protected

Create request for operation 'putTelegrafsID'

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration update to apply (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ putTelegrafsIDWithHttpInfo()

InfluxDB2\Service\TelegrafsService::putTelegrafsIDWithHttpInfo (   $telegraf_id,
  $telegraf_request,
  $zap_trace_span = null 
)

Operation putTelegrafsIDWithHttpInfo

Update a Telegraf configuration

Parameters
string$telegraf_idThe Telegraf config ID. (required)
\InfluxDB2\Model\TelegrafRequest$telegraf_requestTelegraf configuration update to apply (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\Telegraf|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

The documentation for this class was generated from the following file: