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

Public Member Functions

 __construct (ClientInterface $client=null, Configuration $config=null, HeaderSelector $selector=null)
 
 getConfig ()
 
 deleteScrapersID ($scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDAsync ($scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDAsyncWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDLabelsID ($scraper_target_id, $label_id, $zap_trace_span=null)
 
 deleteScrapersIDLabelsIDWithHttpInfo ($scraper_target_id, $label_id, $zap_trace_span=null)
 
 deleteScrapersIDLabelsIDAsync ($scraper_target_id, $label_id, $zap_trace_span=null)
 
 deleteScrapersIDLabelsIDAsyncWithHttpInfo ($scraper_target_id, $label_id, $zap_trace_span=null)
 
 deleteScrapersIDMembersID ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDMembersIDWithHttpInfo ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDMembersIDAsync ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDMembersIDAsyncWithHttpInfo ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDOwnersID ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDOwnersIDWithHttpInfo ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDOwnersIDAsync ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDOwnersIDAsyncWithHttpInfo ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 getScrapers ($zap_trace_span=null, $name=null, $id=null, $org_id=null, $org=null)
 
 getScrapersWithHttpInfo ($zap_trace_span=null, $name=null, $id=null, $org_id=null, $org=null)
 
 getScrapersAsync ($zap_trace_span=null, $name=null, $id=null, $org_id=null, $org=null)
 
 getScrapersAsyncWithHttpInfo ($zap_trace_span=null, $name=null, $id=null, $org_id=null, $org=null)
 
 getScrapersID ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDAsync ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDAsyncWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDLabels ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDLabelsWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDLabelsAsync ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDLabelsAsyncWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDMembers ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDMembersWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDMembersAsync ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDMembersAsyncWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDOwners ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDOwnersWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDOwnersAsync ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDOwnersAsyncWithHttpInfo ($scraper_target_id, $zap_trace_span=null)
 
 patchScrapersID ($scraper_target_id, $scraper_target_request, $zap_trace_span=null)
 
 patchScrapersIDWithHttpInfo ($scraper_target_id, $scraper_target_request, $zap_trace_span=null)
 
 patchScrapersIDAsync ($scraper_target_id, $scraper_target_request, $zap_trace_span=null)
 
 patchScrapersIDAsyncWithHttpInfo ($scraper_target_id, $scraper_target_request, $zap_trace_span=null)
 
 postScrapers ($scraper_target_request, $zap_trace_span=null)
 
 postScrapersWithHttpInfo ($scraper_target_request, $zap_trace_span=null)
 
 postScrapersAsync ($scraper_target_request, $zap_trace_span=null)
 
 postScrapersAsyncWithHttpInfo ($scraper_target_request, $zap_trace_span=null)
 
 postScrapersIDLabels ($scraper_target_id, $label_mapping, $zap_trace_span=null)
 
 postScrapersIDLabelsWithHttpInfo ($scraper_target_id, $label_mapping, $zap_trace_span=null)
 
 postScrapersIDLabelsAsync ($scraper_target_id, $label_mapping, $zap_trace_span=null)
 
 postScrapersIDLabelsAsyncWithHttpInfo ($scraper_target_id, $label_mapping, $zap_trace_span=null)
 
 postScrapersIDMembers ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postScrapersIDMembersWithHttpInfo ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postScrapersIDMembersAsync ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postScrapersIDMembersAsyncWithHttpInfo ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postScrapersIDOwners ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postScrapersIDOwnersWithHttpInfo ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postScrapersIDOwnersAsync ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postScrapersIDOwnersAsyncWithHttpInfo ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 

Protected Member Functions

 deleteScrapersIDRequest ($scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDLabelsIDRequest ($scraper_target_id, $label_id, $zap_trace_span=null)
 
 deleteScrapersIDMembersIDRequest ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 deleteScrapersIDOwnersIDRequest ($user_id, $scraper_target_id, $zap_trace_span=null)
 
 getScrapersRequest ($zap_trace_span=null, $name=null, $id=null, $org_id=null, $org=null)
 
 getScrapersIDRequest ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDLabelsRequest ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDMembersRequest ($scraper_target_id, $zap_trace_span=null)
 
 getScrapersIDOwnersRequest ($scraper_target_id, $zap_trace_span=null)
 
 patchScrapersIDRequest ($scraper_target_id, $scraper_target_request, $zap_trace_span=null)
 
 postScrapersRequest ($scraper_target_request, $zap_trace_span=null)
 
 postScrapersIDLabelsRequest ($scraper_target_id, $label_mapping, $zap_trace_span=null)
 
 postScrapersIDMembersRequest ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 postScrapersIDOwnersRequest ($scraper_target_id, $add_resource_member_request_body, $zap_trace_span=null)
 
 createHttpClientOption ()
 

Protected Attributes

 $client
 
 $config
 
 $headerSelector
 

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ createHttpClientOption()

InfluxDB2\Service\ScraperTargetsService::createHttpClientOption ( )
protected

Create http client option

Exceptions

RuntimeException on file opening failure

Returns
array of http client options

◆ deleteScrapersID()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersID (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersID

Delete a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
void

◆ deleteScrapersIDAsync()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDAsync (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDAsync

Delete a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteScrapersIDAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDAsyncWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDAsyncWithHttpInfo

Delete a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteScrapersIDLabelsID()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDLabelsID (   $scraper_target_id,
  $label_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDLabelsID

Delete a label from a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ deleteScrapersIDLabelsIDAsync()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDLabelsIDAsync (   $scraper_target_id,
  $label_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDLabelsIDAsync

Delete a label from a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$label_idThe label ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteScrapersIDLabelsIDAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDLabelsIDAsyncWithHttpInfo (   $scraper_target_id,
  $label_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDLabelsIDAsyncWithHttpInfo

Delete a label from a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$label_idThe label ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteScrapersIDLabelsIDRequest()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDLabelsIDRequest (   $scraper_target_id,
  $label_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'deleteScrapersIDLabelsID'

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$label_idThe label ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ deleteScrapersIDLabelsIDWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDLabelsIDWithHttpInfo (   $scraper_target_id,
  $label_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDLabelsIDWithHttpInfo

Delete a label from a scraper target

Parameters
string$scraper_target_idThe scraper target 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)

◆ deleteScrapersIDMembersID()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDMembersID (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDMembersID

Remove a member from a scraper target

Parameters
string$user_idThe ID of member to remove. (required)
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
void

◆ deleteScrapersIDMembersIDAsync()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDMembersIDAsync (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDMembersIDAsync

Remove a member from a scraper target

Parameters
string$user_idThe ID of member to remove. (required)
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteScrapersIDMembersIDAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDMembersIDAsyncWithHttpInfo (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDMembersIDAsyncWithHttpInfo

Remove a member from a scraper target

Parameters
string$user_idThe ID of member to remove. (required)
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteScrapersIDMembersIDRequest()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDMembersIDRequest (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'deleteScrapersIDMembersID'

Parameters
string$user_idThe ID of member to remove. (required)
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ deleteScrapersIDMembersIDWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDMembersIDWithHttpInfo (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDMembersIDWithHttpInfo

Remove a member from a scraper target

Parameters
string$user_idThe ID of member to remove. (required)
string$scraper_target_idThe scraper target 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)

◆ deleteScrapersIDOwnersID()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDOwnersID (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDOwnersID

Remove an owner from a scraper target

Parameters
string$user_idThe ID of owner to remove. (required)
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
void

◆ deleteScrapersIDOwnersIDAsync()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDOwnersIDAsync (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDOwnersIDAsync

Remove an owner from a scraper target

Parameters
string$user_idThe ID of owner to remove. (required)
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteScrapersIDOwnersIDAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDOwnersIDAsyncWithHttpInfo (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDOwnersIDAsyncWithHttpInfo

Remove an owner from a scraper target

Parameters
string$user_idThe ID of owner to remove. (required)
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ deleteScrapersIDOwnersIDRequest()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDOwnersIDRequest (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'deleteScrapersIDOwnersID'

Parameters
string$user_idThe ID of owner to remove. (required)
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ deleteScrapersIDOwnersIDWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDOwnersIDWithHttpInfo (   $user_id,
  $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDOwnersIDWithHttpInfo

Remove an owner from a scraper target

Parameters
string$user_idThe ID of owner to remove. (required)
string$scraper_target_idThe scraper target 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)

◆ deleteScrapersIDRequest()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDRequest (   $scraper_target_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'deleteScrapersID'

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ deleteScrapersIDWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::deleteScrapersIDWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation deleteScrapersIDWithHttpInfo

Delete a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (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\ScraperTargetsService::getConfig ( )
Returns
Configuration

◆ getScrapers()

InfluxDB2\Service\ScraperTargetsService::getScrapers (   $zap_trace_span = null,
  $name = null,
  $id = null,
  $org_id = null,
  $org = null 
)

Operation getScrapers

List all scraper targets

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$nameSpecifies the name of the scraper target. (optional)
string[]$idList of scraper target IDs to return. If both `id` and `owner` are specified, only `id` is used. (optional)
string$org_idSpecifies the organization ID of the scraper target. (optional)
string$orgSpecifies the organization name of the scraper target. (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\ScraperTargetResponses

◆ getScrapersAsync()

InfluxDB2\Service\ScraperTargetsService::getScrapersAsync (   $zap_trace_span = null,
  $name = null,
  $id = null,
  $org_id = null,
  $org = null 
)

Operation getScrapersAsync

List all scraper targets

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$nameSpecifies the name of the scraper target. (optional)
string[]$idList of scraper target IDs to return. If both `id` and `owner` are specified, only `id` is used. (optional)
string$org_idSpecifies the organization ID of the scraper target. (optional)
string$orgSpecifies the organization name of the scraper target. (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersAsyncWithHttpInfo (   $zap_trace_span = null,
  $name = null,
  $id = null,
  $org_id = null,
  $org = null 
)

Operation getScrapersAsyncWithHttpInfo

List all scraper targets

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$nameSpecifies the name of the scraper target. (optional)
string[]$idList of scraper target IDs to return. If both `id` and `owner` are specified, only `id` is used. (optional)
string$org_idSpecifies the organization ID of the scraper target. (optional)
string$orgSpecifies the organization name of the scraper target. (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersID()

InfluxDB2\Service\ScraperTargetsService::getScrapersID (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersID

Retrieve a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\ScraperTargetResponse|\InfluxDB2\Model\Error

◆ getScrapersIDAsync()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDAsync (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDAsync

Retrieve a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersIDAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDAsyncWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDAsyncWithHttpInfo

Retrieve a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersIDLabels()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDLabels (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDLabels

List all labels for a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ getScrapersIDLabelsAsync()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDLabelsAsync (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDLabelsAsync

List all labels for a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersIDLabelsAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDLabelsAsyncWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDLabelsAsyncWithHttpInfo

List all labels for a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersIDLabelsRequest()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDLabelsRequest (   $scraper_target_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'getScrapersIDLabels'

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getScrapersIDLabelsWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDLabelsWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDLabelsWithHttpInfo

List all labels for a scraper target

Parameters
string$scraper_target_idThe scraper target 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)

◆ getScrapersIDMembers()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDMembers (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDMembers

List all users with member privileges for a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ getScrapersIDMembersAsync()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDMembersAsync (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDMembersAsync

List all users with member privileges for a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersIDMembersAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDMembersAsyncWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDMembersAsyncWithHttpInfo

List all users with member privileges for a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersIDMembersRequest()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDMembersRequest (   $scraper_target_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'getScrapersIDMembers'

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getScrapersIDMembersWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDMembersWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDMembersWithHttpInfo

List all users with member privileges for a scraper target

Parameters
string$scraper_target_idThe scraper target 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)

◆ getScrapersIDOwners()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDOwners (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDOwners

List all owners of a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ getScrapersIDOwnersAsync()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDOwnersAsync (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDOwnersAsync

List all owners of a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersIDOwnersAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDOwnersAsyncWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDOwnersAsyncWithHttpInfo

List all owners of a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ getScrapersIDOwnersRequest()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDOwnersRequest (   $scraper_target_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'getScrapersIDOwners'

Parameters
string$scraper_target_idThe scraper target ID. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getScrapersIDOwnersWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDOwnersWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDOwnersWithHttpInfo

List all owners of a scraper target

Parameters
string$scraper_target_idThe scraper target 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)

◆ getScrapersIDRequest()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDRequest (   $scraper_target_id,
  $zap_trace_span = null 
)
protected

Create request for operation 'getScrapersID'

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getScrapersIDWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersIDWithHttpInfo (   $scraper_target_id,
  $zap_trace_span = null 
)

Operation getScrapersIDWithHttpInfo

Retrieve a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

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

◆ getScrapersRequest()

InfluxDB2\Service\ScraperTargetsService::getScrapersRequest (   $zap_trace_span = null,
  $name = null,
  $id = null,
  $org_id = null,
  $org = null 
)
protected

Create request for operation 'getScrapers'

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$nameSpecifies the name of the scraper target. (optional)
string[]$idList of scraper target IDs to return. If both `id` and `owner` are specified, only `id` is used. (optional)
string$org_idSpecifies the organization ID of the scraper target. (optional)
string$orgSpecifies the organization name of the scraper target. (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ getScrapersWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::getScrapersWithHttpInfo (   $zap_trace_span = null,
  $name = null,
  $id = null,
  $org_id = null,
  $org = null 
)

Operation getScrapersWithHttpInfo

List all scraper targets

Parameters
string$zap_trace_spanOpenTracing span context (optional)
string$nameSpecifies the name of the scraper target. (optional)
string[]$idList of scraper target IDs to return. If both `id` and `owner` are specified, only `id` is used. (optional)
string$org_idSpecifies the organization ID of the scraper target. (optional)
string$orgSpecifies the organization name of the scraper target. (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
array of \InfluxDB2\Model\ScraperTargetResponses, HTTP status code, HTTP response headers (array of strings)

◆ patchScrapersID()

InfluxDB2\Service\ScraperTargetsService::patchScrapersID (   $scraper_target_id,
  $scraper_target_request,
  $zap_trace_span = null 
)

Operation patchScrapersID

Update a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target update to apply (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\ScraperTargetResponse|\InfluxDB2\Model\Error

◆ patchScrapersIDAsync()

InfluxDB2\Service\ScraperTargetsService::patchScrapersIDAsync (   $scraper_target_id,
  $scraper_target_request,
  $zap_trace_span = null 
)

Operation patchScrapersIDAsync

Update a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target update to apply (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ patchScrapersIDAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::patchScrapersIDAsyncWithHttpInfo (   $scraper_target_id,
  $scraper_target_request,
  $zap_trace_span = null 
)

Operation patchScrapersIDAsyncWithHttpInfo

Update a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target update to apply (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ patchScrapersIDRequest()

InfluxDB2\Service\ScraperTargetsService::patchScrapersIDRequest (   $scraper_target_id,
  $scraper_target_request,
  $zap_trace_span = null 
)
protected

Create request for operation 'patchScrapersID'

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target update to apply (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ patchScrapersIDWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::patchScrapersIDWithHttpInfo (   $scraper_target_id,
  $scraper_target_request,
  $zap_trace_span = null 
)

Operation patchScrapersIDWithHttpInfo

Update a scraper target

Parameters
string$scraper_target_idThe identifier of the scraper target. (required)
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target 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\ScraperTargetResponse|\InfluxDB2\Model\Error, HTTP status code, HTTP response headers (array of strings)

◆ postScrapers()

InfluxDB2\Service\ScraperTargetsService::postScrapers (   $scraper_target_request,
  $zap_trace_span = null 
)

Operation postScrapers

Create a scraper target

Parameters
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

Returns
\InfluxDB2\Model\ScraperTargetResponse|\InfluxDB2\Model\Error

◆ postScrapersAsync()

InfluxDB2\Service\ScraperTargetsService::postScrapersAsync (   $scraper_target_request,
  $zap_trace_span = null 
)

Operation postScrapersAsync

Create a scraper target

Parameters
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postScrapersAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::postScrapersAsyncWithHttpInfo (   $scraper_target_request,
  $zap_trace_span = null 
)

Operation postScrapersAsyncWithHttpInfo

Create a scraper target

Parameters
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postScrapersIDLabels()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDLabels (   $scraper_target_id,
  $label_mapping,
  $zap_trace_span = null 
)

Operation postScrapersIDLabels

Add a label to a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ postScrapersIDLabelsAsync()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDLabelsAsync (   $scraper_target_id,
  $label_mapping,
  $zap_trace_span = null 
)

Operation postScrapersIDLabelsAsync

Add a label to a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
\InfluxDB2\Model\LabelMapping$label_mappingLabel to add (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postScrapersIDLabelsAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDLabelsAsyncWithHttpInfo (   $scraper_target_id,
  $label_mapping,
  $zap_trace_span = null 
)

Operation postScrapersIDLabelsAsyncWithHttpInfo

Add a label to a scraper target

Parameters
string$scraper_target_idThe scraper target ID. (required)
\InfluxDB2\Model\LabelMapping$label_mappingLabel to add (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Promise\PromiseInterface

◆ postScrapersIDLabelsRequest()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDLabelsRequest (   $scraper_target_id,
  $label_mapping,
  $zap_trace_span = null 
)
protected

Create request for operation 'postScrapersIDLabels'

Parameters
string$scraper_target_idThe scraper target ID. (required)
\InfluxDB2\Model\LabelMapping$label_mappingLabel to add (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ postScrapersIDLabelsWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDLabelsWithHttpInfo (   $scraper_target_id,
  $label_mapping,
  $zap_trace_span = null 
)

Operation postScrapersIDLabelsWithHttpInfo

Add a label to a scraper target

Parameters
string$scraper_target_idThe scraper target 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)

◆ postScrapersIDMembers()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDMembers (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postScrapersIDMembers

Add a member to a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ postScrapersIDMembersAsync()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDMembersAsync (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postScrapersIDMembersAsync

Add a member to a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ postScrapersIDMembersAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDMembersAsyncWithHttpInfo (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postScrapersIDMembersAsyncWithHttpInfo

Add a member to a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ postScrapersIDMembersRequest()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDMembersRequest (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)
protected

Create request for operation 'postScrapersIDMembers'

Parameters
string$scraper_target_idThe scraper target 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

◆ postScrapersIDMembersWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDMembersWithHttpInfo (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postScrapersIDMembersWithHttpInfo

Add a member to a scraper target

Parameters
string$scraper_target_idThe scraper target 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)

◆ postScrapersIDOwners()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDOwners (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postScrapersIDOwners

Add an owner to a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ postScrapersIDOwnersAsync()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDOwnersAsync (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postScrapersIDOwnersAsync

Add an owner to a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ postScrapersIDOwnersAsyncWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDOwnersAsyncWithHttpInfo (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postScrapersIDOwnersAsyncWithHttpInfo

Add an owner to a scraper target

Parameters
string$scraper_target_idThe scraper target 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

◆ postScrapersIDOwnersRequest()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDOwnersRequest (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)
protected

Create request for operation 'postScrapersIDOwners'

Parameters
string$scraper_target_idThe scraper target 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

◆ postScrapersIDOwnersWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::postScrapersIDOwnersWithHttpInfo (   $scraper_target_id,
  $add_resource_member_request_body,
  $zap_trace_span = null 
)

Operation postScrapersIDOwnersWithHttpInfo

Add an owner to a scraper target

Parameters
string$scraper_target_idThe scraper target 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)

◆ postScrapersRequest()

InfluxDB2\Service\ScraperTargetsService::postScrapersRequest (   $scraper_target_request,
  $zap_trace_span = null 
)
protected

Create request for operation 'postScrapers'

Parameters
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InvalidArgumentException

Returns
\GuzzleHttp\Psr7\Request

◆ postScrapersWithHttpInfo()

InfluxDB2\Service\ScraperTargetsService::postScrapersWithHttpInfo (   $scraper_target_request,
  $zap_trace_span = null 
)

Operation postScrapersWithHttpInfo

Create a scraper target

Parameters
\InfluxDB2\Model\ScraperTargetRequest$scraper_target_requestScraper target to create (required)
string$zap_trace_spanOpenTracing span context (optional)
Exceptions

InfluxDB2\ApiException on non-2xx response

Exceptions

InvalidArgumentException

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

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