InfluxDB PHP Client
|
Public Member Functions | |
__construct (DefaultApi $defaultApi) | |
deleteAuthorizationsID ($auth_id, $zap_trace_span=null) | |
deleteAuthorizationsIDWithHttpInfo ($auth_id, $zap_trace_span=null) | |
getAuthorizations ($zap_trace_span=null, $user_id=null, $user=null, $org_id=null, $org=null) | |
getAuthorizationsWithHttpInfo ($zap_trace_span=null, $user_id=null, $user=null, $org_id=null, $org=null) | |
getAuthorizationsID ($auth_id, $zap_trace_span=null) | |
getAuthorizationsIDWithHttpInfo ($auth_id, $zap_trace_span=null) | |
patchAuthorizationsID ($auth_id, $authorization_update_request, $zap_trace_span=null) | |
patchAuthorizationsIDWithHttpInfo ($auth_id, $authorization_update_request, $zap_trace_span=null) | |
postAuthorizations ($authorization_post_request, $zap_trace_span=null) | |
postAuthorizationsWithHttpInfo ($authorization_post_request, $zap_trace_span=null) | |
Protected Member Functions | |
deleteAuthorizationsIDRequest ($auth_id, $zap_trace_span=null) | |
getAuthorizationsRequest ($zap_trace_span=null, $user_id=null, $user=null, $org_id=null, $org=null) | |
getAuthorizationsIDRequest ($auth_id, $zap_trace_span=null) | |
patchAuthorizationsIDRequest ($auth_id, $authorization_update_request, $zap_trace_span=null) | |
postAuthorizationsRequest ($authorization_post_request, $zap_trace_span=null) | |
Protected Attributes | |
$defaultApi | |
$headerSelector | |
InfluxDB2\Service\AuthorizationsService::__construct | ( | DefaultApi | $defaultApi | ) |
DefaultApi | $defaultApi | |
HeaderSelector | $selector |
InfluxDB2\Service\AuthorizationsService::deleteAuthorizationsID | ( | $auth_id, | |
$zap_trace_span = null ) |
Operation deleteAuthorizationsID
Delete an authorization
string | $auth_id | The ID of the authorization to delete. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'deleteAuthorizationsID'
string | $auth_id | The ID of the authorization to delete. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InvalidArgumentException
InfluxDB2\Service\AuthorizationsService::deleteAuthorizationsIDWithHttpInfo | ( | $auth_id, | |
$zap_trace_span = null ) |
Operation deleteAuthorizationsIDWithHttpInfo
Delete an authorization
string | $auth_id | The ID of the authorization to delete. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\AuthorizationsService::getAuthorizations | ( | $zap_trace_span = null, | |
$user_id = null, | |||
$user = null, | |||
$org_id = null, | |||
$org = null ) |
Operation getAuthorizations
List authorizations
string | $zap_trace_span | OpenTracing span context (optional) |
string | $user_id | A user ID. Only returns authorizations scoped to this user. (optional) |
string | $user | A user name. Only returns authorizations scoped to this user. (optional) |
string | $org_id | An organization ID. Only returns authorizations that belong to this organization. (optional) |
string | $org | An organization name. Only returns authorizations that belong to this organization. (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\AuthorizationsService::getAuthorizationsID | ( | $auth_id, | |
$zap_trace_span = null ) |
Operation getAuthorizationsID
Retrieve an authorization
string | $auth_id | The ID of the authorization to get. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'getAuthorizationsID'
string | $auth_id | The ID of the authorization to get. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InvalidArgumentException
InfluxDB2\Service\AuthorizationsService::getAuthorizationsIDWithHttpInfo | ( | $auth_id, | |
$zap_trace_span = null ) |
Operation getAuthorizationsIDWithHttpInfo
Retrieve an authorization
string | $auth_id | The ID of the authorization to get. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'getAuthorizations'
string | $zap_trace_span | OpenTracing span context (optional) |
string | $user_id | A user ID. Only returns authorizations scoped to this user. (optional) |
string | $user | A user name. Only returns authorizations scoped to this user. (optional) |
string | $org_id | An organization ID. Only returns authorizations that belong to this organization. (optional) |
string | $org | An organization name. Only returns authorizations that belong to this organization. (optional) |
InvalidArgumentException
InfluxDB2\Service\AuthorizationsService::getAuthorizationsWithHttpInfo | ( | $zap_trace_span = null, | |
$user_id = null, | |||
$user = null, | |||
$org_id = null, | |||
$org = null ) |
Operation getAuthorizationsWithHttpInfo
List authorizations
string | $zap_trace_span | OpenTracing span context (optional) |
string | $user_id | A user ID. Only returns authorizations scoped to this user. (optional) |
string | $user | A user name. Only returns authorizations scoped to this user. (optional) |
string | $org_id | An organization ID. Only returns authorizations that belong to this organization. (optional) |
string | $org | An organization name. Only returns authorizations that belong to this organization. (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\AuthorizationsService::patchAuthorizationsID | ( | $auth_id, | |
$authorization_update_request, | |||
$zap_trace_span = null ) |
Operation patchAuthorizationsID
Update an authorization to be active or inactive
string | $auth_id | The ID of the authorization to update. (required) |
\InfluxDB2\Model\AuthorizationUpdateRequest | $authorization_update_request | Authorization to update (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'patchAuthorizationsID'
string | $auth_id | The ID of the authorization to update. (required) |
\InfluxDB2\Model\AuthorizationUpdateRequest | $authorization_update_request | Authorization to update (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InvalidArgumentException
InfluxDB2\Service\AuthorizationsService::patchAuthorizationsIDWithHttpInfo | ( | $auth_id, | |
$authorization_update_request, | |||
$zap_trace_span = null ) |
Operation patchAuthorizationsIDWithHttpInfo
Update an authorization to be active or inactive
string | $auth_id | The ID of the authorization to update. (required) |
\InfluxDB2\Model\AuthorizationUpdateRequest | $authorization_update_request | Authorization to update (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
InfluxDB2\Service\AuthorizationsService::postAuthorizations | ( | $authorization_post_request, | |
$zap_trace_span = null ) |
Operation postAuthorizations
Create an authorization
\InfluxDB2\Model\AuthorizationPostRequest | $authorization_post_request | The authorization to create. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException
|
protected |
Create request for operation 'postAuthorizations'
\InfluxDB2\Model\AuthorizationPostRequest | $authorization_post_request | The authorization to create. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InvalidArgumentException
InfluxDB2\Service\AuthorizationsService::postAuthorizationsWithHttpInfo | ( | $authorization_post_request, | |
$zap_trace_span = null ) |
Operation postAuthorizationsWithHttpInfo
Create an authorization
\InfluxDB2\Model\AuthorizationPostRequest | $authorization_post_request | The authorization to create. (required) |
string | $zap_trace_span | OpenTracing span context (optional) |
InfluxDB2\ApiException on non-2xx response
InvalidArgumentException