InfluxDB PHP Client
|
Public Member Functions | |
__construct (DefaultApi $defaultApi) | |
applyTemplate ($template_apply) | |
applyTemplateWithHttpInfo ($template_apply) | |
createStack ($post_stack_request1=null) | |
createStackWithHttpInfo ($post_stack_request1=null) | |
deleteStack ($stack_id, $org_id) | |
deleteStackWithHttpInfo ($stack_id, $org_id) | |
exportTemplate ($template_export_by_id=null) | |
exportTemplateWithHttpInfo ($template_export_by_id=null) | |
listStacks ($org_id, $name=null, $stack_id=null) | |
listStacksWithHttpInfo ($org_id, $name=null, $stack_id=null) | |
readStack ($stack_id) | |
readStackWithHttpInfo ($stack_id) | |
uninstallStack ($stack_id) | |
uninstallStackWithHttpInfo ($stack_id) | |
updateStack ($stack_id, $patch_stack_request1=null) | |
updateStackWithHttpInfo ($stack_id, $patch_stack_request1=null) | |
Protected Member Functions | |
applyTemplateRequest ($template_apply) | |
createStackRequest ($post_stack_request1=null) | |
deleteStackRequest ($stack_id, $org_id) | |
exportTemplateRequest ($template_export_by_id=null) | |
listStacksRequest ($org_id, $name=null, $stack_id=null) | |
readStackRequest ($stack_id) | |
uninstallStackRequest ($stack_id) | |
updateStackRequest ($stack_id, $patch_stack_request1=null) | |
Protected Attributes | |
$defaultApi | |
$headerSelector | |
InfluxDB2\Service\TemplatesService::__construct | ( | DefaultApi | $defaultApi | ) |
DefaultApi | $defaultApi | |
HeaderSelector | $selector |
InfluxDB2\Service\TemplatesService::applyTemplate | ( | $template_apply | ) |
Operation applyTemplate
Apply or dry-run a template
\InfluxDB2\Model\TemplateApply | $template_apply | Parameters for applying templates. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'applyTemplate'
\InfluxDB2\Model\TemplateApply | $template_apply | Parameters for applying templates. (required) |
InvalidArgumentException
InfluxDB2\Service\TemplatesService::applyTemplateWithHttpInfo | ( | $template_apply | ) |
Operation applyTemplateWithHttpInfo
Apply or dry-run a template
\InfluxDB2\Model\TemplateApply | $template_apply | Parameters for applying templates. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\TemplatesService::createStack | ( | $post_stack_request1 = null | ) |
Operation createStack
Create a stack
\InfluxDB2\Model\PostStackRequest1 | $post_stack_request1 | post_stack_request1 (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'createStack'
\InfluxDB2\Model\PostStackRequest1 | $post_stack_request1 | (optional) |
InvalidArgumentException
InfluxDB2\Service\TemplatesService::createStackWithHttpInfo | ( | $post_stack_request1 = null | ) |
Operation createStackWithHttpInfo
Create a stack
\InfluxDB2\Model\PostStackRequest1 | $post_stack_request1 | (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\TemplatesService::deleteStack | ( | $stack_id, | |
$org_id ) |
Operation deleteStack
Delete a stack and associated resources
string | $stack_id | The identifier of the stack. (required) |
string | $org_id | The identifier of the organization. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'deleteStack'
string | $stack_id | The identifier of the stack. (required) |
string | $org_id | The identifier of the organization. (required) |
InvalidArgumentException
InfluxDB2\Service\TemplatesService::deleteStackWithHttpInfo | ( | $stack_id, | |
$org_id ) |
Operation deleteStackWithHttpInfo
Delete a stack and associated resources
string | $stack_id | The identifier of the stack. (required) |
string | $org_id | The identifier of the organization. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\TemplatesService::exportTemplate | ( | $template_export_by_id = null | ) |
Operation exportTemplate
Export a new template
\InfluxDB2\Model\TemplateExportByID | $template_export_by_id | Export resources as an InfluxDB template. (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'exportTemplate'
\InfluxDB2\Model\TemplateExportByID | $template_export_by_id | Export resources as an InfluxDB template. (optional) |
InvalidArgumentException
InfluxDB2\Service\TemplatesService::exportTemplateWithHttpInfo | ( | $template_export_by_id = null | ) |
Operation exportTemplateWithHttpInfo
Export a new template
\InfluxDB2\Model\TemplateExportByID | $template_export_by_id | Export resources as an InfluxDB template. (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\TemplatesService::listStacks | ( | $org_id, | |
$name = null, | |||
$stack_id = null ) |
Operation listStacks
List installed stacks
string | $org_id | The ID of the organization that owns the stacks. Only returns stacks owned by this organization. #### InfluxDB Cloud - Doesn't require this parameter; InfluxDB only returns resources allowed by the API token. (required) |
string | $name | The stack name. Finds stack `events` with this name and returns the stacks. Repeatable. To filter for more than one stack name, repeat this parameter with each name–for example: - `http://localhost:8086/api/v2/stacks?&orgID=INFLUX_ORG_ID&name=project-stack-0&name=project-stack-1` (optional) |
string | $stack_id | The stack ID. Only returns stacks with this ID. Repeatable. To filter for more than one stack ID, repeat this parameter with each ID–for example: - `http://localhost:8086/api/v2/stacks?&orgID=INFLUX_ORG_ID&stackID=09bd87cd33be3000&stackID=09bef35081fe3000` (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'listStacks'
string | $org_id | The ID of the organization that owns the stacks. Only returns stacks owned by this organization. #### InfluxDB Cloud - Doesn't require this parameter; InfluxDB only returns resources allowed by the API token. (required) |
string | $name | The stack name. Finds stack `events` with this name and returns the stacks. Repeatable. To filter for more than one stack name, repeat this parameter with each name–for example: - `http://localhost:8086/api/v2/stacks?&orgID=INFLUX_ORG_ID&name=project-stack-0&name=project-stack-1` (optional) |
string | $stack_id | The stack ID. Only returns stacks with this ID. Repeatable. To filter for more than one stack ID, repeat this parameter with each ID–for example: - `http://localhost:8086/api/v2/stacks?&orgID=INFLUX_ORG_ID&stackID=09bd87cd33be3000&stackID=09bef35081fe3000` (optional) |
InvalidArgumentException
InfluxDB2\Service\TemplatesService::listStacksWithHttpInfo | ( | $org_id, | |
$name = null, | |||
$stack_id = null ) |
Operation listStacksWithHttpInfo
List installed stacks
string | $org_id | The ID of the organization that owns the stacks. Only returns stacks owned by this organization. #### InfluxDB Cloud - Doesn't require this parameter; InfluxDB only returns resources allowed by the API token. (required) |
string | $name | The stack name. Finds stack `events` with this name and returns the stacks. Repeatable. To filter for more than one stack name, repeat this parameter with each name–for example: - `http://localhost:8086/api/v2/stacks?&orgID=INFLUX_ORG_ID&name=project-stack-0&name=project-stack-1` (optional) |
string | $stack_id | The stack ID. Only returns stacks with this ID. Repeatable. To filter for more than one stack ID, repeat this parameter with each ID–for example: - `http://localhost:8086/api/v2/stacks?&orgID=INFLUX_ORG_ID&stackID=09bd87cd33be3000&stackID=09bef35081fe3000` (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\TemplatesService::readStack | ( | $stack_id | ) |
Operation readStack
Retrieve a stack
string | $stack_id | The identifier of the stack. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'readStack'
string | $stack_id | The identifier of the stack. (required) |
InvalidArgumentException
InfluxDB2\Service\TemplatesService::readStackWithHttpInfo | ( | $stack_id | ) |
Operation readStackWithHttpInfo
Retrieve a stack
string | $stack_id | The identifier of the stack. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\TemplatesService::uninstallStack | ( | $stack_id | ) |
Operation uninstallStack
Uninstall a stack
string | $stack_id | The identifier of the stack. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'uninstallStack'
string | $stack_id | The identifier of the stack. (required) |
InvalidArgumentException
InfluxDB2\Service\TemplatesService::uninstallStackWithHttpInfo | ( | $stack_id | ) |
Operation uninstallStackWithHttpInfo
Uninstall a stack
string | $stack_id | The identifier of the stack. (required) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\TemplatesService::updateStack | ( | $stack_id, | |
$patch_stack_request1 = null ) |
Operation updateStack
Update a stack
string | $stack_id | The identifier of the stack. (required) |
\InfluxDB2\Model\PatchStackRequest1 | $patch_stack_request1 | patch_stack_request1 (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'updateStack'
string | $stack_id | The identifier of the stack. (required) |
\InfluxDB2\Model\PatchStackRequest1 | $patch_stack_request1 | (optional) |
InvalidArgumentException
InfluxDB2\Service\TemplatesService::updateStackWithHttpInfo | ( | $stack_id, | |
$patch_stack_request1 = null ) |
Operation updateStackWithHttpInfo
Update a stack
string | $stack_id | The identifier of the stack. (required) |
\InfluxDB2\Model\PatchStackRequest1 | $patch_stack_request1 | (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException