InfluxDB PHP Client
|
Public Member Functions | |
__construct (DefaultApi $defaultApi) | |
deleteDBRPID ($dbrp_id, $zap_trace_span=null, $org_id=null, $org=null) | |
deleteDBRPIDWithHttpInfo ($dbrp_id, $zap_trace_span=null, $org_id=null, $org=null) | |
getDBRPs ($zap_trace_span=null, $org_id=null, $org=null, $id=null, $bucket_id=null, $default=null, $db=null, $rp=null) | |
getDBRPsWithHttpInfo ($zap_trace_span=null, $org_id=null, $org=null, $id=null, $bucket_id=null, $default=null, $db=null, $rp=null) | |
getDBRPsID ($dbrp_id, $zap_trace_span=null, $org_id=null, $org=null) | |
getDBRPsIDWithHttpInfo ($dbrp_id, $zap_trace_span=null, $org_id=null, $org=null) | |
patchDBRPID ($dbrp_id, $dbrp_update, $zap_trace_span=null, $org_id=null, $org=null) | |
patchDBRPIDWithHttpInfo ($dbrp_id, $dbrp_update, $zap_trace_span=null, $org_id=null, $org=null) | |
postDBRP ($dbrp_create, $zap_trace_span=null) | |
postDBRPWithHttpInfo ($dbrp_create, $zap_trace_span=null) | |
Protected Member Functions | |
deleteDBRPIDRequest ($dbrp_id, $zap_trace_span=null, $org_id=null, $org=null) | |
getDBRPsRequest ($zap_trace_span=null, $org_id=null, $org=null, $id=null, $bucket_id=null, $default=null, $db=null, $rp=null) | |
getDBRPsIDRequest ($dbrp_id, $zap_trace_span=null, $org_id=null, $org=null) | |
patchDBRPIDRequest ($dbrp_id, $dbrp_update, $zap_trace_span=null, $org_id=null, $org=null) | |
postDBRPRequest ($dbrp_create, $zap_trace_span=null) | |
Protected Attributes | |
$defaultApi | |
$headerSelector | |
InfluxDB2\Service\DBRPsService::__construct | ( | DefaultApi | $defaultApi | ) |
DefaultApi | $defaultApi | |
HeaderSelector | $selector |
InfluxDB2\Service\DBRPsService::deleteDBRPID | ( | $dbrp_id, | |
$zap_trace_span = null , |
|||
$org_id = null , |
|||
$org = null |
|||
) |
Operation deleteDBRPID
Delete a database retention policy
string | $dbrp_id | The database retention policy mapping (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID of the mapping (optional) |
string | $org | Specifies the organization name of the mapping (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'deleteDBRPID'
string | $dbrp_id | The database retention policy mapping (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID of the mapping (optional) |
string | $org | Specifies the organization name of the mapping (optional) |
InvalidArgumentException
InfluxDB2\Service\DBRPsService::deleteDBRPIDWithHttpInfo | ( | $dbrp_id, | |
$zap_trace_span = null , |
|||
$org_id = null , |
|||
$org = null |
|||
) |
Operation deleteDBRPIDWithHttpInfo
Delete a database retention policy
string | $dbrp_id | The database retention policy mapping (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID of the mapping (optional) |
string | $org | Specifies the organization name of the mapping (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\DBRPsService::getDBRPs | ( | $zap_trace_span = null , |
|
$org_id = null , |
|||
$org = null , |
|||
$id = null , |
|||
$bucket_id = null , |
|||
$default = null , |
|||
$db = null , |
|||
$rp = null |
|||
) |
Operation getDBRPs
List database retention policy mappings
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID to filter on (optional) |
string | $org | Specifies the organization name to filter on (optional) |
string | $id | Specifies the mapping ID to filter on (optional) |
string | $bucket_id | Specifies the bucket ID to filter on (optional) |
bool | $default | Specifies filtering on default (optional) |
string | $db | Specifies the database to filter on (optional) |
string | $rp | Specifies the retention policy to filter on (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\DBRPsService::getDBRPsID | ( | $dbrp_id, | |
$zap_trace_span = null , |
|||
$org_id = null , |
|||
$org = null |
|||
) |
Operation getDBRPsID
Retrieve a database retention policy mapping
string | $dbrp_id | The database retention policy mapping ID (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID of the mapping (optional) |
string | $org | Specifies the organization name of the mapping (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'getDBRPsID'
string | $dbrp_id | The database retention policy mapping ID (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID of the mapping (optional) |
string | $org | Specifies the organization name of the mapping (optional) |
InvalidArgumentException
InfluxDB2\Service\DBRPsService::getDBRPsIDWithHttpInfo | ( | $dbrp_id, | |
$zap_trace_span = null , |
|||
$org_id = null , |
|||
$org = null |
|||
) |
Operation getDBRPsIDWithHttpInfo
Retrieve a database retention policy mapping
string | $dbrp_id | The database retention policy mapping ID (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID of the mapping (optional) |
string | $org | Specifies the organization name of the mapping (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'getDBRPs'
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID to filter on (optional) |
string | $org | Specifies the organization name to filter on (optional) |
string | $id | Specifies the mapping ID to filter on (optional) |
string | $bucket_id | Specifies the bucket ID to filter on (optional) |
bool | $default | Specifies filtering on default (optional) |
string | $db | Specifies the database to filter on (optional) |
string | $rp | Specifies the retention policy to filter on (optional) |
InvalidArgumentException
InfluxDB2\Service\DBRPsService::getDBRPsWithHttpInfo | ( | $zap_trace_span = null , |
|
$org_id = null , |
|||
$org = null , |
|||
$id = null , |
|||
$bucket_id = null , |
|||
$default = null , |
|||
$db = null , |
|||
$rp = null |
|||
) |
Operation getDBRPsWithHttpInfo
List database retention policy mappings
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID to filter on (optional) |
string | $org | Specifies the organization name to filter on (optional) |
string | $id | Specifies the mapping ID to filter on (optional) |
string | $bucket_id | Specifies the bucket ID to filter on (optional) |
bool | $default | Specifies filtering on default (optional) |
string | $db | Specifies the database to filter on (optional) |
string | $rp | Specifies the retention policy to filter on (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\DBRPsService::patchDBRPID | ( | $dbrp_id, | |
$dbrp_update, | |||
$zap_trace_span = null , |
|||
$org_id = null , |
|||
$org = null |
|||
) |
Operation patchDBRPID
Update a database retention policy mapping
string | $dbrp_id | The database retention policy mapping. (required) |
\InfluxDB2\Model\DBRPUpdate | $dbrp_update | Database retention policy update to apply (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID of the mapping (optional) |
string | $org | Specifies the organization name of the mapping (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'patchDBRPID'
string | $dbrp_id | The database retention policy mapping. (required) |
\InfluxDB2\Model\DBRPUpdate | $dbrp_update | Database retention policy update to apply (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID of the mapping (optional) |
string | $org | Specifies the organization name of the mapping (optional) |
InvalidArgumentException
InfluxDB2\Service\DBRPsService::patchDBRPIDWithHttpInfo | ( | $dbrp_id, | |
$dbrp_update, | |||
$zap_trace_span = null , |
|||
$org_id = null , |
|||
$org = null |
|||
) |
Operation patchDBRPIDWithHttpInfo
Update a database retention policy mapping
string | $dbrp_id | The database retention policy mapping. (required) |
\InfluxDB2\Model\DBRPUpdate | $dbrp_update | Database retention policy update to apply (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
string | $org_id | Specifies the organization ID of the mapping (optional) |
string | $org | Specifies the organization name of the mapping (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\DBRPsService::postDBRP | ( | $dbrp_create, | |
$zap_trace_span = null |
|||
) |
Operation postDBRP
Add a database retention policy mapping
\InfluxDB2\Model\DBRPCreate | $dbrp_create | The database retention policy mapping to add (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'postDBRP'
\InfluxDB2\Model\DBRPCreate | $dbrp_create | The database retention policy mapping to add (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InvalidArgumentException
InfluxDB2\Service\DBRPsService::postDBRPWithHttpInfo | ( | $dbrp_create, | |
$zap_trace_span = null |
|||
) |
Operation postDBRPWithHttpInfo
Add a database retention policy mapping
\InfluxDB2\Model\DBRPCreate | $dbrp_create | The database retention policy mapping to add (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException