InfluxDB PHP Client
|
Public Member Functions | |
__construct (DefaultApi $defaultApi) | |
deleteScriptsID ($script_id) | |
deleteScriptsIDWithHttpInfo ($script_id) | |
getScripts ($limit=100, $offset=0, $name=null, $label_names=null, $label_contains=null) | |
getScriptsWithHttpInfo ($limit=100, $offset=0, $name=null, $label_names=null, $label_contains=null) | |
getScriptsID ($script_id) | |
getScriptsIDWithHttpInfo ($script_id) | |
patchScriptsID ($script_id, $script_update_request) | |
patchScriptsIDWithHttpInfo ($script_id, $script_update_request) | |
patchScriptsIDAddLabels ($script_id, $label_mapping) | |
patchScriptsIDAddLabelsWithHttpInfo ($script_id, $label_mapping) | |
patchScriptsIDRemoveLabels ($script_id, $label_mapping) | |
patchScriptsIDRemoveLabelsWithHttpInfo ($script_id, $label_mapping) | |
postScripts ($script_create_request) | |
postScriptsWithHttpInfo ($script_create_request) | |
postScriptsIDInvoke ($script_id, $script_invocation_params=null) | |
postScriptsIDInvokeWithHttpInfo ($script_id, $script_invocation_params=null) | |
Protected Member Functions | |
deleteScriptsIDRequest ($script_id) | |
getScriptsRequest ($limit=100, $offset=0, $name=null, $label_names=null, $label_contains=null) | |
getScriptsIDRequest ($script_id) | |
patchScriptsIDRequest ($script_id, $script_update_request) | |
patchScriptsIDAddLabelsRequest ($script_id, $label_mapping) | |
patchScriptsIDRemoveLabelsRequest ($script_id, $label_mapping) | |
postScriptsRequest ($script_create_request) | |
postScriptsIDInvokeRequest ($script_id, $script_invocation_params=null) | |
Protected Attributes | |
$defaultApi | |
$headerSelector | |
InfluxDB2\Service\InvokableScriptsService::__construct | ( | DefaultApi | $defaultApi | ) |
DefaultApi | $defaultApi | |
HeaderSelector | $selector |
InfluxDB2\Service\InvokableScriptsService::deleteScriptsID | ( | $script_id | ) |
Operation deleteScriptsID
Delete a script
string | $script_id | The ID of the script to delete. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'deleteScriptsID'
string | $script_id | The ID of the script to delete. (required) |
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::deleteScriptsIDWithHttpInfo | ( | $script_id | ) |
Operation deleteScriptsIDWithHttpInfo
Delete a script
string | $script_id | The ID of the script to delete. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::getScripts | ( | $limit = 100, | |
$offset = 0, | |||
$name = null, | |||
$label_names = null, | |||
$label_contains = null ) |
Operation getScripts
List scripts
int | $limit | Limits the number of scripts returned. Default is `100`. (optional, default to 100) |
int | $offset | The offset for pagination. The number of records to skip. (optional, default to 0) |
string | $name | The name of the script. (optional) |
string[] | $label_names | A list of label names. Only returns scripts that have all these labels. To retrieve a script, each name you pass in `labelNames` must exactly match the label for a script. (optional) |
string | $label_contains | A part of the label name. Returns scripts that have a label that contains this phrase. (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::getScriptsID | ( | $script_id | ) |
Operation getScriptsID
Retrieve a script
string | $script_id | The script ID. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'getScriptsID'
string | $script_id | The script ID. (required) |
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::getScriptsIDWithHttpInfo | ( | $script_id | ) |
Operation getScriptsIDWithHttpInfo
Retrieve a script
string | $script_id | The script ID. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'getScripts'
int | $limit | Limits the number of scripts returned. Default is `100`. (optional, default to 100) |
int | $offset | The offset for pagination. The number of records to skip. (optional, default to 0) |
string | $name | The name of the script. (optional) |
string[] | $label_names | A list of label names. Only returns scripts that have all these labels. To retrieve a script, each name you pass in `labelNames` must exactly match the label for a script. (optional) |
string | $label_contains | A part of the label name. Returns scripts that have a label that contains this phrase. (optional) |
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::getScriptsWithHttpInfo | ( | $limit = 100, | |
$offset = 0, | |||
$name = null, | |||
$label_names = null, | |||
$label_contains = null ) |
Operation getScriptsWithHttpInfo
List scripts
int | $limit | Limits the number of scripts returned. Default is `100`. (optional, default to 100) |
int | $offset | The offset for pagination. The number of records to skip. (optional, default to 0) |
string | $name | The name of the script. (optional) |
string[] | $label_names | A list of label names. Only returns scripts that have all these labels. To retrieve a script, each name you pass in `labelNames` must exactly match the label for a script. (optional) |
string | $label_contains | A part of the label name. Returns scripts that have a label that contains this phrase. (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::patchScriptsID | ( | $script_id, | |
$script_update_request ) |
Operation patchScriptsID
Update a script
string | $script_id | The script ID. (required) |
\InfluxDB2\Model\ScriptUpdateRequest | $script_update_request | Script update to apply (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::patchScriptsIDAddLabels | ( | $script_id, | |
$label_mapping ) |
Operation patchScriptsIDAddLabels
Adds labels to a script
string | $script_id | The script ID. (required) |
\InfluxDB2\Model\LabelMapping | $label_mapping | The names of labels to add to the script. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'patchScriptsIDAddLabels'
string | $script_id | The script ID. (required) |
\InfluxDB2\Model\LabelMapping | $label_mapping | The names of labels to add to the script. (required) |
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::patchScriptsIDAddLabelsWithHttpInfo | ( | $script_id, | |
$label_mapping ) |
Operation patchScriptsIDAddLabelsWithHttpInfo
Adds labels to a script
string | $script_id | The script ID. (required) |
\InfluxDB2\Model\LabelMapping | $label_mapping | The names of labels to add to the script. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::patchScriptsIDRemoveLabels | ( | $script_id, | |
$label_mapping ) |
Operation patchScriptsIDRemoveLabels
Removes labels from a script
string | $script_id | The script ID. (required) |
\InfluxDB2\Model\LabelMapping | $label_mapping | The names of labels to remove from the script. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'patchScriptsIDRemoveLabels'
string | $script_id | The script ID. (required) |
\InfluxDB2\Model\LabelMapping | $label_mapping | The names of labels to remove from the script. (required) |
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::patchScriptsIDRemoveLabelsWithHttpInfo | ( | $script_id, | |
$label_mapping ) |
Operation patchScriptsIDRemoveLabelsWithHttpInfo
Removes labels from a script
string | $script_id | The script ID. (required) |
\InfluxDB2\Model\LabelMapping | $label_mapping | The names of labels to remove from the script. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'patchScriptsID'
string | $script_id | The script ID. (required) |
\InfluxDB2\Model\ScriptUpdateRequest | $script_update_request | Script update to apply (required) |
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::patchScriptsIDWithHttpInfo | ( | $script_id, | |
$script_update_request ) |
Operation patchScriptsIDWithHttpInfo
Update a script
string | $script_id | The script ID. (required) |
\InfluxDB2\Model\ScriptUpdateRequest | $script_update_request | Script update to apply (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::postScripts | ( | $script_create_request | ) |
Operation postScripts
Create a script
\InfluxDB2\Model\ScriptCreateRequest | $script_create_request | The script to create. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::postScriptsIDInvoke | ( | $script_id, | |
$script_invocation_params = null ) |
Operation postScriptsIDInvoke
Invoke a script
string | $script_id | Script ID. Only returns scripts with this ID. (required) |
\InfluxDB2\Model\ScriptInvocationParams | $script_invocation_params | script_invocation_params (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'postScriptsIDInvoke'
string | $script_id | Script ID. Only returns scripts with this ID. (required) |
\InfluxDB2\Model\ScriptInvocationParams | $script_invocation_params | (optional) |
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::postScriptsIDInvokeWithHttpInfo | ( | $script_id, | |
$script_invocation_params = null ) |
Operation postScriptsIDInvokeWithHttpInfo
Invoke a script
string | $script_id | Script ID. Only returns scripts with this ID. (required) |
\InfluxDB2\Model\ScriptInvocationParams | $script_invocation_params | (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'postScripts'
\InfluxDB2\Model\ScriptCreateRequest | $script_create_request | The script to create. (required) |
InvalidArgumentException
InfluxDB2\Service\InvokableScriptsService::postScriptsWithHttpInfo | ( | $script_create_request | ) |
Operation postScriptsWithHttpInfo
Create a script
\InfluxDB2\Model\ScriptCreateRequest | $script_create_request | The script to create. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException