kb-cloud-client-typescript 2.4.0-alpha.135 → 2.4.0-alpha.137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +743 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +811 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/backup-api.d.ts +3 -3
- package/dist/adminapi/apis/backup-api.js +2 -2
- package/dist/adminapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +84 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/apis/influxdb-api.d.ts +791 -0
- package/dist/adminapi/apis/influxdb-api.d.ts.map +1 -0
- package/dist/adminapi/apis/influxdb-api.js +875 -0
- package/dist/adminapi/apis/influxdb-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +746 -3
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +813 -2
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/environment-delete.d.ts +6 -0
- package/dist/adminapi/models/environment-delete.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +15 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +15 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/influx-dbbucket-permission.d.ts +37 -0
- package/dist/adminapi/models/influx-dbbucket-permission.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-permission.js +16 -0
- package/dist/adminapi/models/influx-dbbucket-permission.js.map +1 -0
- package/dist/adminapi/models/influx-dbbucket.d.ts +43 -0
- package/dist/adminapi/models/influx-dbbucket.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket.js +16 -0
- package/dist/adminapi/models/influx-dbbucket.js.map +1 -0
- package/dist/adminapi/models/influx-dborganization.d.ts +31 -0
- package/dist/adminapi/models/influx-dborganization.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dborganization.js +16 -0
- package/dist/adminapi/models/influx-dborganization.js.map +1 -0
- package/dist/adminapi/models/influx-dbpassword-change.d.ts +25 -0
- package/dist/adminapi/models/influx-dbpassword-change.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbpassword-change.js +16 -0
- package/dist/adminapi/models/influx-dbpassword-change.js.map +1 -0
- package/dist/adminapi/models/influx-dbpermission-action.d.ts +22 -0
- package/dist/adminapi/models/influx-dbpermission-action.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbpermission-action.js +26 -0
- package/dist/adminapi/models/influx-dbpermission-action.js.map +1 -0
- package/dist/adminapi/models/influx-dbpermission.d.ts +33 -0
- package/dist/adminapi/models/influx-dbpermission.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbpermission.js +16 -0
- package/dist/adminapi/models/influx-dbpermission.js.map +1 -0
- package/dist/adminapi/models/influx-dbresource.d.ts +37 -0
- package/dist/adminapi/models/influx-dbresource.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbresource.js +16 -0
- package/dist/adminapi/models/influx-dbresource.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-create.d.ts +38 -0
- package/dist/adminapi/models/influx-dbtoken-create.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-create.js +16 -0
- package/dist/adminapi/models/influx-dbtoken-create.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-created.d.ts +69 -0
- package/dist/adminapi/models/influx-dbtoken-created.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-created.js +16 -0
- package/dist/adminapi/models/influx-dbtoken-created.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-status.d.ts +22 -0
- package/dist/adminapi/models/influx-dbtoken-status.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-status.js +26 -0
- package/dist/adminapi/models/influx-dbtoken-status.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-update.d.ts +26 -0
- package/dist/adminapi/models/influx-dbtoken-update.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken-update.js +16 -0
- package/dist/adminapi/models/influx-dbtoken-update.js.map +1 -0
- package/dist/adminapi/models/influx-dbtoken.d.ts +63 -0
- package/dist/adminapi/models/influx-dbtoken.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbtoken.js +16 -0
- package/dist/adminapi/models/influx-dbtoken.js.map +1 -0
- package/dist/adminapi/models/influx-dbuser-create.d.ts +31 -0
- package/dist/adminapi/models/influx-dbuser-create.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbuser-create.js +16 -0
- package/dist/adminapi/models/influx-dbuser-create.js.map +1 -0
- package/dist/adminapi/models/influx-dbuser.d.ts +43 -0
- package/dist/adminapi/models/influx-dbuser.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbuser.js +16 -0
- package/dist/adminapi/models/influx-dbuser.js.map +1 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.d.ts +22 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.js +26 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.js.map +1 -0
- package/dist/adminapi/models/selected-object-option-tree.d.ts +1 -1
- package/dist/adminapi/models/selected-object-option.d.ts +7 -0
- package/dist/adminapi/models/selected-object-option.d.ts.map +1 -1
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +743 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +811 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/backup-api.d.ts +3 -3
- package/dist/openapi/apis/backup-api.js +2 -2
- package/dist/openapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +84 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/influxdb-api.d.ts +791 -0
- package/dist/openapi/apis/influxdb-api.d.ts.map +1 -0
- package/dist/openapi/apis/influxdb-api.js +875 -0
- package/dist/openapi/apis/influxdb-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +746 -3
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +813 -2
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +15 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +15 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/influx-dbbucket-permission.d.ts +37 -0
- package/dist/openapi/models/influx-dbbucket-permission.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket-permission.js +16 -0
- package/dist/openapi/models/influx-dbbucket-permission.js.map +1 -0
- package/dist/openapi/models/influx-dbbucket.d.ts +43 -0
- package/dist/openapi/models/influx-dbbucket.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket.js +16 -0
- package/dist/openapi/models/influx-dbbucket.js.map +1 -0
- package/dist/openapi/models/influx-dborganization.d.ts +31 -0
- package/dist/openapi/models/influx-dborganization.d.ts.map +1 -0
- package/dist/openapi/models/influx-dborganization.js +16 -0
- package/dist/openapi/models/influx-dborganization.js.map +1 -0
- package/dist/openapi/models/influx-dbpassword-change.d.ts +25 -0
- package/dist/openapi/models/influx-dbpassword-change.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbpassword-change.js +16 -0
- package/dist/openapi/models/influx-dbpassword-change.js.map +1 -0
- package/dist/openapi/models/influx-dbpermission-action.d.ts +22 -0
- package/dist/openapi/models/influx-dbpermission-action.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbpermission-action.js +26 -0
- package/dist/openapi/models/influx-dbpermission-action.js.map +1 -0
- package/dist/openapi/models/influx-dbpermission.d.ts +33 -0
- package/dist/openapi/models/influx-dbpermission.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbpermission.js +16 -0
- package/dist/openapi/models/influx-dbpermission.js.map +1 -0
- package/dist/openapi/models/influx-dbresource.d.ts +37 -0
- package/dist/openapi/models/influx-dbresource.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbresource.js +16 -0
- package/dist/openapi/models/influx-dbresource.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken-create.d.ts +38 -0
- package/dist/openapi/models/influx-dbtoken-create.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken-create.js +16 -0
- package/dist/openapi/models/influx-dbtoken-create.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken-created.d.ts +69 -0
- package/dist/openapi/models/influx-dbtoken-created.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken-created.js +16 -0
- package/dist/openapi/models/influx-dbtoken-created.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken-status.d.ts +22 -0
- package/dist/openapi/models/influx-dbtoken-status.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken-status.js +26 -0
- package/dist/openapi/models/influx-dbtoken-status.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken-update.d.ts +26 -0
- package/dist/openapi/models/influx-dbtoken-update.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken-update.js +16 -0
- package/dist/openapi/models/influx-dbtoken-update.js.map +1 -0
- package/dist/openapi/models/influx-dbtoken.d.ts +63 -0
- package/dist/openapi/models/influx-dbtoken.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbtoken.js +16 -0
- package/dist/openapi/models/influx-dbtoken.js.map +1 -0
- package/dist/openapi/models/influx-dbuser-create.d.ts +31 -0
- package/dist/openapi/models/influx-dbuser-create.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbuser-create.js +16 -0
- package/dist/openapi/models/influx-dbuser-create.js.map +1 -0
- package/dist/openapi/models/influx-dbuser.d.ts +43 -0
- package/dist/openapi/models/influx-dbuser.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbuser.js +16 -0
- package/dist/openapi/models/influx-dbuser.js.map +1 -0
- package/dist/openapi/models/selected-object-conversion-strategy.d.ts +22 -0
- package/dist/openapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
- package/dist/openapi/models/selected-object-conversion-strategy.js +26 -0
- package/dist/openapi/models/selected-object-conversion-strategy.js.map +1 -0
- package/dist/openapi/models/selected-object-option-tree.d.ts +1 -1
- package/dist/openapi/models/selected-object-option.d.ts +7 -0
- package/dist/openapi/models/selected-object-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +16 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +2360 -1055
- package/src/adminapi/apis/backup-api.ts +3 -3
- package/src/adminapi/apis/diagnostics-api.ts +138 -0
- package/src/adminapi/apis/influxdb-api.ts +1375 -0
- package/src/adminapi/apis/shared-api.ts +1526 -221
- package/src/adminapi/models/environment-delete.ts +6 -0
- package/src/adminapi/models/index.ts +15 -0
- package/src/adminapi/models/influx-dbbucket-permission.ts +42 -0
- package/src/adminapi/models/influx-dbbucket.ts +48 -0
- package/src/adminapi/models/influx-dborganization.ts +36 -0
- package/src/adminapi/models/influx-dbpassword-change.ts +30 -0
- package/src/adminapi/models/influx-dbpermission-action.ts +31 -0
- package/src/adminapi/models/influx-dbpermission.ts +44 -0
- package/src/adminapi/models/influx-dbresource.ts +42 -0
- package/src/adminapi/models/influx-dbtoken-create.ts +45 -0
- package/src/adminapi/models/influx-dbtoken-created.ts +80 -0
- package/src/adminapi/models/influx-dbtoken-status.ts +31 -0
- package/src/adminapi/models/influx-dbtoken-update.ts +35 -0
- package/src/adminapi/models/influx-dbtoken.ts +74 -0
- package/src/adminapi/models/influx-dbuser-create.ts +36 -0
- package/src/adminapi/models/influx-dbuser.ts +48 -0
- package/src/adminapi/models/selected-object-conversion-strategy.ts +31 -0
- package/src/adminapi/models/selected-object-option-tree.ts +1 -1
- package/src/adminapi/models/selected-object-option.ts +11 -0
- package/src/adminapi.yaml +718 -17
- package/src/openapi/.openapi-generator/FILES +16 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +2360 -1055
- package/src/openapi/apis/backup-api.ts +3 -3
- package/src/openapi/apis/diagnostics-api.ts +138 -0
- package/src/openapi/apis/influxdb-api.ts +1375 -0
- package/src/openapi/apis/shared-api.ts +1560 -255
- package/src/openapi/models/index.ts +15 -0
- package/src/openapi/models/influx-dbbucket-permission.ts +42 -0
- package/src/openapi/models/influx-dbbucket.ts +48 -0
- package/src/openapi/models/influx-dborganization.ts +36 -0
- package/src/openapi/models/influx-dbpassword-change.ts +30 -0
- package/src/openapi/models/influx-dbpermission-action.ts +31 -0
- package/src/openapi/models/influx-dbpermission.ts +44 -0
- package/src/openapi/models/influx-dbresource.ts +42 -0
- package/src/openapi/models/influx-dbtoken-create.ts +45 -0
- package/src/openapi/models/influx-dbtoken-created.ts +80 -0
- package/src/openapi/models/influx-dbtoken-status.ts +31 -0
- package/src/openapi/models/influx-dbtoken-update.ts +35 -0
- package/src/openapi/models/influx-dbtoken.ts +74 -0
- package/src/openapi/models/influx-dbuser-create.ts +36 -0
- package/src/openapi/models/influx-dbuser.ts +48 -0
- package/src/openapi/models/selected-object-conversion-strategy.ts +31 -0
- package/src/openapi/models/selected-object-option-tree.ts +1 -1
- package/src/openapi/models/selected-object-option.ts +11 -0
- package/src/openapi.yaml +715 -17
|
@@ -0,0 +1,1375 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { APIErrorResponse } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { InfluxDBBucket } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { InfluxDBOrganization } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { InfluxDBPasswordChange } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { InfluxDBToken } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { InfluxDBTokenCreate } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { InfluxDBTokenCreated } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { InfluxDBTokenUpdate } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
import type { InfluxDBUser } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
import type { InfluxDBUserCreate } from '../models';
|
|
44
|
+
/**
|
|
45
|
+
* InfluxdbApi - axios parameter creator
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const InfluxdbApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
49
|
+
return {
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary InfluxDB ChangePassword
|
|
53
|
+
* @param {string} orgName
|
|
54
|
+
* @param {string} clusterName
|
|
55
|
+
* @param {string} userID
|
|
56
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
influxDBChangePassword: async (orgName: string, clusterName: string, userID: string, influxDBPasswordChange: InfluxDBPasswordChange, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
62
|
+
assertParamExists('influxDBChangePassword', 'orgName', orgName)
|
|
63
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
64
|
+
assertParamExists('influxDBChangePassword', 'clusterName', clusterName)
|
|
65
|
+
// verify required parameter 'userID' is not null or undefined
|
|
66
|
+
assertParamExists('influxDBChangePassword', 'userID', userID)
|
|
67
|
+
// verify required parameter 'influxDBPasswordChange' is not null or undefined
|
|
68
|
+
assertParamExists('influxDBChangePassword', 'influxDBPasswordChange', influxDBPasswordChange)
|
|
69
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/password`
|
|
70
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
71
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
72
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
73
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
|
+
let baseOptions;
|
|
76
|
+
if (configuration) {
|
|
77
|
+
baseOptions = configuration.baseOptions;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
81
|
+
const localVarHeaderParameter = {} as any;
|
|
82
|
+
const localVarQueryParameter = {} as any;
|
|
83
|
+
|
|
84
|
+
// authentication BearerToken required
|
|
85
|
+
// http bearer authentication required
|
|
86
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
87
|
+
|
|
88
|
+
// authentication DigestAuth required
|
|
89
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
94
|
+
|
|
95
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
98
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBPasswordChange, localVarRequestOptions, configuration)
|
|
99
|
+
|
|
100
|
+
return {
|
|
101
|
+
url: toPathString(localVarUrlObj),
|
|
102
|
+
options: localVarRequestOptions,
|
|
103
|
+
};
|
|
104
|
+
},
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @summary InfluxDB CreateToken
|
|
108
|
+
* @param {string} orgName
|
|
109
|
+
* @param {string} clusterName
|
|
110
|
+
* @param {string} userID
|
|
111
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
influxDBCreateToken: async (orgName: string, clusterName: string, userID: string, influxDBTokenCreate: InfluxDBTokenCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
116
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
117
|
+
assertParamExists('influxDBCreateToken', 'orgName', orgName)
|
|
118
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
119
|
+
assertParamExists('influxDBCreateToken', 'clusterName', clusterName)
|
|
120
|
+
// verify required parameter 'userID' is not null or undefined
|
|
121
|
+
assertParamExists('influxDBCreateToken', 'userID', userID)
|
|
122
|
+
// verify required parameter 'influxDBTokenCreate' is not null or undefined
|
|
123
|
+
assertParamExists('influxDBCreateToken', 'influxDBTokenCreate', influxDBTokenCreate)
|
|
124
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
125
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
126
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
127
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
130
|
+
let baseOptions;
|
|
131
|
+
if (configuration) {
|
|
132
|
+
baseOptions = configuration.baseOptions;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
136
|
+
const localVarHeaderParameter = {} as any;
|
|
137
|
+
const localVarQueryParameter = {} as any;
|
|
138
|
+
|
|
139
|
+
// authentication BearerToken required
|
|
140
|
+
// http bearer authentication required
|
|
141
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
142
|
+
|
|
143
|
+
// authentication DigestAuth required
|
|
144
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
149
|
+
|
|
150
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
151
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
153
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBTokenCreate, localVarRequestOptions, configuration)
|
|
154
|
+
|
|
155
|
+
return {
|
|
156
|
+
url: toPathString(localVarUrlObj),
|
|
157
|
+
options: localVarRequestOptions,
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @summary InfluxDB CreateUser
|
|
163
|
+
* @param {string} orgName
|
|
164
|
+
* @param {string} clusterName
|
|
165
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
influxDBCreateUser: async (orgName: string, clusterName: string, influxDBUserCreate: InfluxDBUserCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
170
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
171
|
+
assertParamExists('influxDBCreateUser', 'orgName', orgName)
|
|
172
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
173
|
+
assertParamExists('influxDBCreateUser', 'clusterName', clusterName)
|
|
174
|
+
// verify required parameter 'influxDBUserCreate' is not null or undefined
|
|
175
|
+
assertParamExists('influxDBCreateUser', 'influxDBUserCreate', influxDBUserCreate)
|
|
176
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
177
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
178
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
179
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
180
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
181
|
+
let baseOptions;
|
|
182
|
+
if (configuration) {
|
|
183
|
+
baseOptions = configuration.baseOptions;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
187
|
+
const localVarHeaderParameter = {} as any;
|
|
188
|
+
const localVarQueryParameter = {} as any;
|
|
189
|
+
|
|
190
|
+
// authentication BearerToken required
|
|
191
|
+
// http bearer authentication required
|
|
192
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
193
|
+
|
|
194
|
+
// authentication DigestAuth required
|
|
195
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
200
|
+
|
|
201
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
202
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
203
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
204
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBUserCreate, localVarRequestOptions, configuration)
|
|
205
|
+
|
|
206
|
+
return {
|
|
207
|
+
url: toPathString(localVarUrlObj),
|
|
208
|
+
options: localVarRequestOptions,
|
|
209
|
+
};
|
|
210
|
+
},
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @summary InfluxDB DeleteToken
|
|
214
|
+
* @param {string} orgName
|
|
215
|
+
* @param {string} clusterName
|
|
216
|
+
* @param {string} userID
|
|
217
|
+
* @param {string} tokenID
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
*/
|
|
221
|
+
influxDBDeleteToken: async (orgName: string, clusterName: string, userID: string, tokenID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
222
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
223
|
+
assertParamExists('influxDBDeleteToken', 'orgName', orgName)
|
|
224
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
225
|
+
assertParamExists('influxDBDeleteToken', 'clusterName', clusterName)
|
|
226
|
+
// verify required parameter 'userID' is not null or undefined
|
|
227
|
+
assertParamExists('influxDBDeleteToken', 'userID', userID)
|
|
228
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
229
|
+
assertParamExists('influxDBDeleteToken', 'tokenID', tokenID)
|
|
230
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
231
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
232
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
233
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
234
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
235
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
236
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
237
|
+
let baseOptions;
|
|
238
|
+
if (configuration) {
|
|
239
|
+
baseOptions = configuration.baseOptions;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
243
|
+
const localVarHeaderParameter = {} as any;
|
|
244
|
+
const localVarQueryParameter = {} as any;
|
|
245
|
+
|
|
246
|
+
// authentication BearerToken required
|
|
247
|
+
// http bearer authentication required
|
|
248
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
249
|
+
|
|
250
|
+
// authentication DigestAuth required
|
|
251
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
256
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
258
|
+
|
|
259
|
+
return {
|
|
260
|
+
url: toPathString(localVarUrlObj),
|
|
261
|
+
options: localVarRequestOptions,
|
|
262
|
+
};
|
|
263
|
+
},
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @summary InfluxDB DeleteUser
|
|
267
|
+
* @param {string} orgName
|
|
268
|
+
* @param {string} clusterName
|
|
269
|
+
* @param {string} userID
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
influxDBDeleteUser: async (orgName: string, clusterName: string, userID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
274
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
275
|
+
assertParamExists('influxDBDeleteUser', 'orgName', orgName)
|
|
276
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
277
|
+
assertParamExists('influxDBDeleteUser', 'clusterName', clusterName)
|
|
278
|
+
// verify required parameter 'userID' is not null or undefined
|
|
279
|
+
assertParamExists('influxDBDeleteUser', 'userID', userID)
|
|
280
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}`
|
|
281
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
282
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
283
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
284
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
285
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
286
|
+
let baseOptions;
|
|
287
|
+
if (configuration) {
|
|
288
|
+
baseOptions = configuration.baseOptions;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
292
|
+
const localVarHeaderParameter = {} as any;
|
|
293
|
+
const localVarQueryParameter = {} as any;
|
|
294
|
+
|
|
295
|
+
// authentication BearerToken required
|
|
296
|
+
// http bearer authentication required
|
|
297
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
298
|
+
|
|
299
|
+
// authentication DigestAuth required
|
|
300
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
306
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
307
|
+
|
|
308
|
+
return {
|
|
309
|
+
url: toPathString(localVarUrlObj),
|
|
310
|
+
options: localVarRequestOptions,
|
|
311
|
+
};
|
|
312
|
+
},
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @summary InfluxDB ListBuckets
|
|
316
|
+
* @param {string} orgName
|
|
317
|
+
* @param {string} clusterName
|
|
318
|
+
* @param {string} influxOrgID
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
influxDBListBuckets: async (orgName: string, clusterName: string, influxOrgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
323
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
324
|
+
assertParamExists('influxDBListBuckets', 'orgName', orgName)
|
|
325
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
326
|
+
assertParamExists('influxDBListBuckets', 'clusterName', clusterName)
|
|
327
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
328
|
+
assertParamExists('influxDBListBuckets', 'influxOrgID', influxOrgID)
|
|
329
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
|
|
330
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
331
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
332
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
333
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
334
|
+
let baseOptions;
|
|
335
|
+
if (configuration) {
|
|
336
|
+
baseOptions = configuration.baseOptions;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
340
|
+
const localVarHeaderParameter = {} as any;
|
|
341
|
+
const localVarQueryParameter = {} as any;
|
|
342
|
+
|
|
343
|
+
// authentication BearerToken required
|
|
344
|
+
// http bearer authentication required
|
|
345
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
346
|
+
|
|
347
|
+
// authentication DigestAuth required
|
|
348
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
349
|
+
|
|
350
|
+
if (influxOrgID !== undefined) {
|
|
351
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
357
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
358
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
359
|
+
|
|
360
|
+
return {
|
|
361
|
+
url: toPathString(localVarUrlObj),
|
|
362
|
+
options: localVarRequestOptions,
|
|
363
|
+
};
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @summary InfluxDB ListOrganizations
|
|
368
|
+
* @param {string} orgName
|
|
369
|
+
* @param {string} clusterName
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
influxDBListOrganizations: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
374
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
375
|
+
assertParamExists('influxDBListOrganizations', 'orgName', orgName)
|
|
376
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
377
|
+
assertParamExists('influxDBListOrganizations', 'clusterName', clusterName)
|
|
378
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/organizations`
|
|
379
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
380
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
381
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
382
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
383
|
+
let baseOptions;
|
|
384
|
+
if (configuration) {
|
|
385
|
+
baseOptions = configuration.baseOptions;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
389
|
+
const localVarHeaderParameter = {} as any;
|
|
390
|
+
const localVarQueryParameter = {} as any;
|
|
391
|
+
|
|
392
|
+
// authentication BearerToken required
|
|
393
|
+
// http bearer authentication required
|
|
394
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
395
|
+
|
|
396
|
+
// authentication DigestAuth required
|
|
397
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
402
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
403
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
404
|
+
|
|
405
|
+
return {
|
|
406
|
+
url: toPathString(localVarUrlObj),
|
|
407
|
+
options: localVarRequestOptions,
|
|
408
|
+
};
|
|
409
|
+
},
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @summary InfluxDB ListTokens
|
|
413
|
+
* @param {string} orgName
|
|
414
|
+
* @param {string} clusterName
|
|
415
|
+
* @param {string} userID
|
|
416
|
+
* @param {*} [options] Override http request option.
|
|
417
|
+
* @throws {RequiredError}
|
|
418
|
+
*/
|
|
419
|
+
influxDBListTokens: async (orgName: string, clusterName: string, userID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
420
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
421
|
+
assertParamExists('influxDBListTokens', 'orgName', orgName)
|
|
422
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
423
|
+
assertParamExists('influxDBListTokens', 'clusterName', clusterName)
|
|
424
|
+
// verify required parameter 'userID' is not null or undefined
|
|
425
|
+
assertParamExists('influxDBListTokens', 'userID', userID)
|
|
426
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
427
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
428
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
429
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
432
|
+
let baseOptions;
|
|
433
|
+
if (configuration) {
|
|
434
|
+
baseOptions = configuration.baseOptions;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
438
|
+
const localVarHeaderParameter = {} as any;
|
|
439
|
+
const localVarQueryParameter = {} as any;
|
|
440
|
+
|
|
441
|
+
// authentication BearerToken required
|
|
442
|
+
// http bearer authentication required
|
|
443
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
444
|
+
|
|
445
|
+
// authentication DigestAuth required
|
|
446
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
451
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
452
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
453
|
+
|
|
454
|
+
return {
|
|
455
|
+
url: toPathString(localVarUrlObj),
|
|
456
|
+
options: localVarRequestOptions,
|
|
457
|
+
};
|
|
458
|
+
},
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @summary InfluxDB ListUsers
|
|
462
|
+
* @param {string} orgName
|
|
463
|
+
* @param {string} clusterName
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
*/
|
|
467
|
+
influxDBListUsers: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
468
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
469
|
+
assertParamExists('influxDBListUsers', 'orgName', orgName)
|
|
470
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
471
|
+
assertParamExists('influxDBListUsers', 'clusterName', clusterName)
|
|
472
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
473
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
474
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
475
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
476
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
477
|
+
let baseOptions;
|
|
478
|
+
if (configuration) {
|
|
479
|
+
baseOptions = configuration.baseOptions;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
483
|
+
const localVarHeaderParameter = {} as any;
|
|
484
|
+
const localVarQueryParameter = {} as any;
|
|
485
|
+
|
|
486
|
+
// authentication BearerToken required
|
|
487
|
+
// http bearer authentication required
|
|
488
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
489
|
+
|
|
490
|
+
// authentication DigestAuth required
|
|
491
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
496
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
497
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
498
|
+
|
|
499
|
+
return {
|
|
500
|
+
url: toPathString(localVarUrlObj),
|
|
501
|
+
options: localVarRequestOptions,
|
|
502
|
+
};
|
|
503
|
+
},
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* @summary InfluxDB UpdateToken
|
|
507
|
+
* @param {string} orgName
|
|
508
|
+
* @param {string} clusterName
|
|
509
|
+
* @param {string} userID
|
|
510
|
+
* @param {string} tokenID
|
|
511
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
512
|
+
* @param {*} [options] Override http request option.
|
|
513
|
+
* @throws {RequiredError}
|
|
514
|
+
*/
|
|
515
|
+
influxDBUpdateToken: async (orgName: string, clusterName: string, userID: string, tokenID: string, influxDBTokenUpdate: InfluxDBTokenUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
516
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
517
|
+
assertParamExists('influxDBUpdateToken', 'orgName', orgName)
|
|
518
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
519
|
+
assertParamExists('influxDBUpdateToken', 'clusterName', clusterName)
|
|
520
|
+
// verify required parameter 'userID' is not null or undefined
|
|
521
|
+
assertParamExists('influxDBUpdateToken', 'userID', userID)
|
|
522
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
523
|
+
assertParamExists('influxDBUpdateToken', 'tokenID', tokenID)
|
|
524
|
+
// verify required parameter 'influxDBTokenUpdate' is not null or undefined
|
|
525
|
+
assertParamExists('influxDBUpdateToken', 'influxDBTokenUpdate', influxDBTokenUpdate)
|
|
526
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
527
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
528
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
529
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
530
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
531
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
532
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
533
|
+
let baseOptions;
|
|
534
|
+
if (configuration) {
|
|
535
|
+
baseOptions = configuration.baseOptions;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
539
|
+
const localVarHeaderParameter = {} as any;
|
|
540
|
+
const localVarQueryParameter = {} as any;
|
|
541
|
+
|
|
542
|
+
// authentication BearerToken required
|
|
543
|
+
// http bearer authentication required
|
|
544
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
545
|
+
|
|
546
|
+
// authentication DigestAuth required
|
|
547
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
552
|
+
|
|
553
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
554
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
555
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
556
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBTokenUpdate, localVarRequestOptions, configuration)
|
|
557
|
+
|
|
558
|
+
return {
|
|
559
|
+
url: toPathString(localVarUrlObj),
|
|
560
|
+
options: localVarRequestOptions,
|
|
561
|
+
};
|
|
562
|
+
},
|
|
563
|
+
}
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* InfluxdbApi - functional programming interface
|
|
568
|
+
* @export
|
|
569
|
+
*/
|
|
570
|
+
export const InfluxdbApiFp = function(configuration?: Configuration) {
|
|
571
|
+
const localVarAxiosParamCreator = InfluxdbApiAxiosParamCreator(configuration)
|
|
572
|
+
return {
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @summary InfluxDB ChangePassword
|
|
576
|
+
* @param {string} orgName
|
|
577
|
+
* @param {string} clusterName
|
|
578
|
+
* @param {string} userID
|
|
579
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
580
|
+
* @param {*} [options] Override http request option.
|
|
581
|
+
* @throws {RequiredError}
|
|
582
|
+
*/
|
|
583
|
+
async influxDBChangePassword(orgName: string, clusterName: string, userID: string, influxDBPasswordChange: InfluxDBPasswordChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
584
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options);
|
|
585
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
586
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBChangePassword']?.[localVarOperationServerIndex]?.url;
|
|
587
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
588
|
+
},
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @summary InfluxDB CreateToken
|
|
592
|
+
* @param {string} orgName
|
|
593
|
+
* @param {string} clusterName
|
|
594
|
+
* @param {string} userID
|
|
595
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
596
|
+
* @param {*} [options] Override http request option.
|
|
597
|
+
* @throws {RequiredError}
|
|
598
|
+
*/
|
|
599
|
+
async influxDBCreateToken(orgName: string, clusterName: string, userID: string, influxDBTokenCreate: InfluxDBTokenCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBTokenCreated>> {
|
|
600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options);
|
|
601
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
602
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBCreateToken']?.[localVarOperationServerIndex]?.url;
|
|
603
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
604
|
+
},
|
|
605
|
+
/**
|
|
606
|
+
*
|
|
607
|
+
* @summary InfluxDB CreateUser
|
|
608
|
+
* @param {string} orgName
|
|
609
|
+
* @param {string} clusterName
|
|
610
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @throws {RequiredError}
|
|
613
|
+
*/
|
|
614
|
+
async influxDBCreateUser(orgName: string, clusterName: string, influxDBUserCreate: InfluxDBUserCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBUser>> {
|
|
615
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options);
|
|
616
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
617
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBCreateUser']?.[localVarOperationServerIndex]?.url;
|
|
618
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
619
|
+
},
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @summary InfluxDB DeleteToken
|
|
623
|
+
* @param {string} orgName
|
|
624
|
+
* @param {string} clusterName
|
|
625
|
+
* @param {string} userID
|
|
626
|
+
* @param {string} tokenID
|
|
627
|
+
* @param {*} [options] Override http request option.
|
|
628
|
+
* @throws {RequiredError}
|
|
629
|
+
*/
|
|
630
|
+
async influxDBDeleteToken(orgName: string, clusterName: string, userID: string, tokenID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
631
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteToken(orgName, clusterName, userID, tokenID, options);
|
|
632
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
633
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBDeleteToken']?.[localVarOperationServerIndex]?.url;
|
|
634
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
635
|
+
},
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @summary InfluxDB DeleteUser
|
|
639
|
+
* @param {string} orgName
|
|
640
|
+
* @param {string} clusterName
|
|
641
|
+
* @param {string} userID
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
*/
|
|
645
|
+
async influxDBDeleteUser(orgName: string, clusterName: string, userID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
646
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteUser(orgName, clusterName, userID, options);
|
|
647
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
648
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBDeleteUser']?.[localVarOperationServerIndex]?.url;
|
|
649
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
650
|
+
},
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @summary InfluxDB ListBuckets
|
|
654
|
+
* @param {string} orgName
|
|
655
|
+
* @param {string} clusterName
|
|
656
|
+
* @param {string} influxOrgID
|
|
657
|
+
* @param {*} [options] Override http request option.
|
|
658
|
+
* @throws {RequiredError}
|
|
659
|
+
*/
|
|
660
|
+
async influxDBListBuckets(orgName: string, clusterName: string, influxOrgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBBucket>>> {
|
|
661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListBuckets(orgName, clusterName, influxOrgID, options);
|
|
662
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
663
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBListBuckets']?.[localVarOperationServerIndex]?.url;
|
|
664
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
665
|
+
},
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @summary InfluxDB ListOrganizations
|
|
669
|
+
* @param {string} orgName
|
|
670
|
+
* @param {string} clusterName
|
|
671
|
+
* @param {*} [options] Override http request option.
|
|
672
|
+
* @throws {RequiredError}
|
|
673
|
+
*/
|
|
674
|
+
async influxDBListOrganizations(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBOrganization>>> {
|
|
675
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListOrganizations(orgName, clusterName, options);
|
|
676
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
677
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBListOrganizations']?.[localVarOperationServerIndex]?.url;
|
|
678
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
679
|
+
},
|
|
680
|
+
/**
|
|
681
|
+
*
|
|
682
|
+
* @summary InfluxDB ListTokens
|
|
683
|
+
* @param {string} orgName
|
|
684
|
+
* @param {string} clusterName
|
|
685
|
+
* @param {string} userID
|
|
686
|
+
* @param {*} [options] Override http request option.
|
|
687
|
+
* @throws {RequiredError}
|
|
688
|
+
*/
|
|
689
|
+
async influxDBListTokens(orgName: string, clusterName: string, userID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBToken>>> {
|
|
690
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListTokens(orgName, clusterName, userID, options);
|
|
691
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
692
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBListTokens']?.[localVarOperationServerIndex]?.url;
|
|
693
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
694
|
+
},
|
|
695
|
+
/**
|
|
696
|
+
*
|
|
697
|
+
* @summary InfluxDB ListUsers
|
|
698
|
+
* @param {string} orgName
|
|
699
|
+
* @param {string} clusterName
|
|
700
|
+
* @param {*} [options] Override http request option.
|
|
701
|
+
* @throws {RequiredError}
|
|
702
|
+
*/
|
|
703
|
+
async influxDBListUsers(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBUser>>> {
|
|
704
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListUsers(orgName, clusterName, options);
|
|
705
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
706
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBListUsers']?.[localVarOperationServerIndex]?.url;
|
|
707
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
708
|
+
},
|
|
709
|
+
/**
|
|
710
|
+
*
|
|
711
|
+
* @summary InfluxDB UpdateToken
|
|
712
|
+
* @param {string} orgName
|
|
713
|
+
* @param {string} clusterName
|
|
714
|
+
* @param {string} userID
|
|
715
|
+
* @param {string} tokenID
|
|
716
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
*/
|
|
720
|
+
async influxDBUpdateToken(orgName: string, clusterName: string, userID: string, tokenID: string, influxDBTokenUpdate: InfluxDBTokenUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
721
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options);
|
|
722
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
723
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBUpdateToken']?.[localVarOperationServerIndex]?.url;
|
|
724
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
725
|
+
},
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* InfluxdbApi - factory interface
|
|
731
|
+
* @export
|
|
732
|
+
*/
|
|
733
|
+
export const InfluxdbApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
734
|
+
const localVarFp = InfluxdbApiFp(configuration)
|
|
735
|
+
return {
|
|
736
|
+
/**
|
|
737
|
+
*
|
|
738
|
+
* @summary InfluxDB ChangePassword
|
|
739
|
+
* @param {InfluxdbApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
740
|
+
* @param {*} [options] Override http request option.
|
|
741
|
+
* @throws {RequiredError}
|
|
742
|
+
*/
|
|
743
|
+
influxDBChangePassword(requestParameters: InfluxdbApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
744
|
+
return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
745
|
+
},
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @summary InfluxDB CreateToken
|
|
749
|
+
* @param {InfluxdbApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
750
|
+
* @param {*} [options] Override http request option.
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
*/
|
|
753
|
+
influxDBCreateToken(requestParameters: InfluxdbApiInfluxDBCreateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBTokenCreated> {
|
|
754
|
+
return localVarFp.influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(axios, basePath));
|
|
755
|
+
},
|
|
756
|
+
/**
|
|
757
|
+
*
|
|
758
|
+
* @summary InfluxDB CreateUser
|
|
759
|
+
* @param {InfluxdbApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
760
|
+
* @param {*} [options] Override http request option.
|
|
761
|
+
* @throws {RequiredError}
|
|
762
|
+
*/
|
|
763
|
+
influxDBCreateUser(requestParameters: InfluxdbApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBUser> {
|
|
764
|
+
return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
|
|
765
|
+
},
|
|
766
|
+
/**
|
|
767
|
+
*
|
|
768
|
+
* @summary InfluxDB DeleteToken
|
|
769
|
+
* @param {InfluxdbApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
770
|
+
* @param {*} [options] Override http request option.
|
|
771
|
+
* @throws {RequiredError}
|
|
772
|
+
*/
|
|
773
|
+
influxDBDeleteToken(requestParameters: InfluxdbApiInfluxDBDeleteTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
774
|
+
return localVarFp.influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(axios, basePath));
|
|
775
|
+
},
|
|
776
|
+
/**
|
|
777
|
+
*
|
|
778
|
+
* @summary InfluxDB DeleteUser
|
|
779
|
+
* @param {InfluxdbApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
780
|
+
* @param {*} [options] Override http request option.
|
|
781
|
+
* @throws {RequiredError}
|
|
782
|
+
*/
|
|
783
|
+
influxDBDeleteUser(requestParameters: InfluxdbApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
784
|
+
return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
785
|
+
},
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @summary InfluxDB ListBuckets
|
|
789
|
+
* @param {InfluxdbApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
790
|
+
* @param {*} [options] Override http request option.
|
|
791
|
+
* @throws {RequiredError}
|
|
792
|
+
*/
|
|
793
|
+
influxDBListBuckets(requestParameters: InfluxdbApiInfluxDBListBucketsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBBucket>> {
|
|
794
|
+
return localVarFp.influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
795
|
+
},
|
|
796
|
+
/**
|
|
797
|
+
*
|
|
798
|
+
* @summary InfluxDB ListOrganizations
|
|
799
|
+
* @param {InfluxdbApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
*/
|
|
803
|
+
influxDBListOrganizations(requestParameters: InfluxdbApiInfluxDBListOrganizationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBOrganization>> {
|
|
804
|
+
return localVarFp.influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
805
|
+
},
|
|
806
|
+
/**
|
|
807
|
+
*
|
|
808
|
+
* @summary InfluxDB ListTokens
|
|
809
|
+
* @param {InfluxdbApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
810
|
+
* @param {*} [options] Override http request option.
|
|
811
|
+
* @throws {RequiredError}
|
|
812
|
+
*/
|
|
813
|
+
influxDBListTokens(requestParameters: InfluxdbApiInfluxDBListTokensRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBToken>> {
|
|
814
|
+
return localVarFp.influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
815
|
+
},
|
|
816
|
+
/**
|
|
817
|
+
*
|
|
818
|
+
* @summary InfluxDB ListUsers
|
|
819
|
+
* @param {InfluxdbApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
820
|
+
* @param {*} [options] Override http request option.
|
|
821
|
+
* @throws {RequiredError}
|
|
822
|
+
*/
|
|
823
|
+
influxDBListUsers(requestParameters: InfluxdbApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBUser>> {
|
|
824
|
+
return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
825
|
+
},
|
|
826
|
+
/**
|
|
827
|
+
*
|
|
828
|
+
* @summary InfluxDB UpdateToken
|
|
829
|
+
* @param {InfluxdbApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @throws {RequiredError}
|
|
832
|
+
*/
|
|
833
|
+
influxDBUpdateToken(requestParameters: InfluxdbApiInfluxDBUpdateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
834
|
+
return localVarFp.influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(axios, basePath));
|
|
835
|
+
},
|
|
836
|
+
};
|
|
837
|
+
};
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* InfluxdbApi - interface
|
|
841
|
+
* @export
|
|
842
|
+
* @interface InfluxdbApi
|
|
843
|
+
*/
|
|
844
|
+
export interface InfluxdbApiInterface {
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @summary InfluxDB ChangePassword
|
|
848
|
+
* @param {InfluxdbApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
849
|
+
* @param {*} [options] Override http request option.
|
|
850
|
+
* @throws {RequiredError}
|
|
851
|
+
* @memberof InfluxdbApiInterface
|
|
852
|
+
*/
|
|
853
|
+
influxDBChangePassword(requestParameters: InfluxdbApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
*
|
|
857
|
+
* @summary InfluxDB CreateToken
|
|
858
|
+
* @param {InfluxdbApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
859
|
+
* @param {*} [options] Override http request option.
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
* @memberof InfluxdbApiInterface
|
|
862
|
+
*/
|
|
863
|
+
influxDBCreateToken(requestParameters: InfluxdbApiInfluxDBCreateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBTokenCreated>;
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
*
|
|
867
|
+
* @summary InfluxDB CreateUser
|
|
868
|
+
* @param {InfluxdbApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
869
|
+
* @param {*} [options] Override http request option.
|
|
870
|
+
* @throws {RequiredError}
|
|
871
|
+
* @memberof InfluxdbApiInterface
|
|
872
|
+
*/
|
|
873
|
+
influxDBCreateUser(requestParameters: InfluxdbApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBUser>;
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
*
|
|
877
|
+
* @summary InfluxDB DeleteToken
|
|
878
|
+
* @param {InfluxdbApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
* @memberof InfluxdbApiInterface
|
|
882
|
+
*/
|
|
883
|
+
influxDBDeleteToken(requestParameters: InfluxdbApiInfluxDBDeleteTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
*
|
|
887
|
+
* @summary InfluxDB DeleteUser
|
|
888
|
+
* @param {InfluxdbApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
889
|
+
* @param {*} [options] Override http request option.
|
|
890
|
+
* @throws {RequiredError}
|
|
891
|
+
* @memberof InfluxdbApiInterface
|
|
892
|
+
*/
|
|
893
|
+
influxDBDeleteUser(requestParameters: InfluxdbApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
*
|
|
897
|
+
* @summary InfluxDB ListBuckets
|
|
898
|
+
* @param {InfluxdbApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
899
|
+
* @param {*} [options] Override http request option.
|
|
900
|
+
* @throws {RequiredError}
|
|
901
|
+
* @memberof InfluxdbApiInterface
|
|
902
|
+
*/
|
|
903
|
+
influxDBListBuckets(requestParameters: InfluxdbApiInfluxDBListBucketsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBBucket>>;
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @summary InfluxDB ListOrganizations
|
|
908
|
+
* @param {InfluxdbApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
909
|
+
* @param {*} [options] Override http request option.
|
|
910
|
+
* @throws {RequiredError}
|
|
911
|
+
* @memberof InfluxdbApiInterface
|
|
912
|
+
*/
|
|
913
|
+
influxDBListOrganizations(requestParameters: InfluxdbApiInfluxDBListOrganizationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBOrganization>>;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
*
|
|
917
|
+
* @summary InfluxDB ListTokens
|
|
918
|
+
* @param {InfluxdbApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
919
|
+
* @param {*} [options] Override http request option.
|
|
920
|
+
* @throws {RequiredError}
|
|
921
|
+
* @memberof InfluxdbApiInterface
|
|
922
|
+
*/
|
|
923
|
+
influxDBListTokens(requestParameters: InfluxdbApiInfluxDBListTokensRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBToken>>;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
*
|
|
927
|
+
* @summary InfluxDB ListUsers
|
|
928
|
+
* @param {InfluxdbApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
929
|
+
* @param {*} [options] Override http request option.
|
|
930
|
+
* @throws {RequiredError}
|
|
931
|
+
* @memberof InfluxdbApiInterface
|
|
932
|
+
*/
|
|
933
|
+
influxDBListUsers(requestParameters: InfluxdbApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBUser>>;
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
*
|
|
937
|
+
* @summary InfluxDB UpdateToken
|
|
938
|
+
* @param {InfluxdbApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
939
|
+
* @param {*} [options] Override http request option.
|
|
940
|
+
* @throws {RequiredError}
|
|
941
|
+
* @memberof InfluxdbApiInterface
|
|
942
|
+
*/
|
|
943
|
+
influxDBUpdateToken(requestParameters: InfluxdbApiInfluxDBUpdateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
944
|
+
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Request parameters for influxDBChangePassword operation in InfluxdbApi.
|
|
949
|
+
* @export
|
|
950
|
+
* @interface InfluxdbApiInfluxDBChangePasswordRequest
|
|
951
|
+
*/
|
|
952
|
+
export interface InfluxdbApiInfluxDBChangePasswordRequest {
|
|
953
|
+
/**
|
|
954
|
+
*
|
|
955
|
+
* @type {string}
|
|
956
|
+
* @memberof InfluxdbApiInfluxDBChangePassword
|
|
957
|
+
*/
|
|
958
|
+
readonly orgName: string
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
*
|
|
962
|
+
* @type {string}
|
|
963
|
+
* @memberof InfluxdbApiInfluxDBChangePassword
|
|
964
|
+
*/
|
|
965
|
+
readonly clusterName: string
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @type {string}
|
|
970
|
+
* @memberof InfluxdbApiInfluxDBChangePassword
|
|
971
|
+
*/
|
|
972
|
+
readonly userID: string
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
*
|
|
976
|
+
* @type {InfluxDBPasswordChange}
|
|
977
|
+
* @memberof InfluxdbApiInfluxDBChangePassword
|
|
978
|
+
*/
|
|
979
|
+
readonly influxDBPasswordChange: InfluxDBPasswordChange
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Request parameters for influxDBCreateToken operation in InfluxdbApi.
|
|
984
|
+
* @export
|
|
985
|
+
* @interface InfluxdbApiInfluxDBCreateTokenRequest
|
|
986
|
+
*/
|
|
987
|
+
export interface InfluxdbApiInfluxDBCreateTokenRequest {
|
|
988
|
+
/**
|
|
989
|
+
*
|
|
990
|
+
* @type {string}
|
|
991
|
+
* @memberof InfluxdbApiInfluxDBCreateToken
|
|
992
|
+
*/
|
|
993
|
+
readonly orgName: string
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
*
|
|
997
|
+
* @type {string}
|
|
998
|
+
* @memberof InfluxdbApiInfluxDBCreateToken
|
|
999
|
+
*/
|
|
1000
|
+
readonly clusterName: string
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
*
|
|
1004
|
+
* @type {string}
|
|
1005
|
+
* @memberof InfluxdbApiInfluxDBCreateToken
|
|
1006
|
+
*/
|
|
1007
|
+
readonly userID: string
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
*
|
|
1011
|
+
* @type {InfluxDBTokenCreate}
|
|
1012
|
+
* @memberof InfluxdbApiInfluxDBCreateToken
|
|
1013
|
+
*/
|
|
1014
|
+
readonly influxDBTokenCreate: InfluxDBTokenCreate
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Request parameters for influxDBCreateUser operation in InfluxdbApi.
|
|
1019
|
+
* @export
|
|
1020
|
+
* @interface InfluxdbApiInfluxDBCreateUserRequest
|
|
1021
|
+
*/
|
|
1022
|
+
export interface InfluxdbApiInfluxDBCreateUserRequest {
|
|
1023
|
+
/**
|
|
1024
|
+
*
|
|
1025
|
+
* @type {string}
|
|
1026
|
+
* @memberof InfluxdbApiInfluxDBCreateUser
|
|
1027
|
+
*/
|
|
1028
|
+
readonly orgName: string
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {string}
|
|
1033
|
+
* @memberof InfluxdbApiInfluxDBCreateUser
|
|
1034
|
+
*/
|
|
1035
|
+
readonly clusterName: string
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
*
|
|
1039
|
+
* @type {InfluxDBUserCreate}
|
|
1040
|
+
* @memberof InfluxdbApiInfluxDBCreateUser
|
|
1041
|
+
*/
|
|
1042
|
+
readonly influxDBUserCreate: InfluxDBUserCreate
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* Request parameters for influxDBDeleteToken operation in InfluxdbApi.
|
|
1047
|
+
* @export
|
|
1048
|
+
* @interface InfluxdbApiInfluxDBDeleteTokenRequest
|
|
1049
|
+
*/
|
|
1050
|
+
export interface InfluxdbApiInfluxDBDeleteTokenRequest {
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @type {string}
|
|
1054
|
+
* @memberof InfluxdbApiInfluxDBDeleteToken
|
|
1055
|
+
*/
|
|
1056
|
+
readonly orgName: string
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
*
|
|
1060
|
+
* @type {string}
|
|
1061
|
+
* @memberof InfluxdbApiInfluxDBDeleteToken
|
|
1062
|
+
*/
|
|
1063
|
+
readonly clusterName: string
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @type {string}
|
|
1068
|
+
* @memberof InfluxdbApiInfluxDBDeleteToken
|
|
1069
|
+
*/
|
|
1070
|
+
readonly userID: string
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
*
|
|
1074
|
+
* @type {string}
|
|
1075
|
+
* @memberof InfluxdbApiInfluxDBDeleteToken
|
|
1076
|
+
*/
|
|
1077
|
+
readonly tokenID: string
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Request parameters for influxDBDeleteUser operation in InfluxdbApi.
|
|
1082
|
+
* @export
|
|
1083
|
+
* @interface InfluxdbApiInfluxDBDeleteUserRequest
|
|
1084
|
+
*/
|
|
1085
|
+
export interface InfluxdbApiInfluxDBDeleteUserRequest {
|
|
1086
|
+
/**
|
|
1087
|
+
*
|
|
1088
|
+
* @type {string}
|
|
1089
|
+
* @memberof InfluxdbApiInfluxDBDeleteUser
|
|
1090
|
+
*/
|
|
1091
|
+
readonly orgName: string
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @type {string}
|
|
1096
|
+
* @memberof InfluxdbApiInfluxDBDeleteUser
|
|
1097
|
+
*/
|
|
1098
|
+
readonly clusterName: string
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
*
|
|
1102
|
+
* @type {string}
|
|
1103
|
+
* @memberof InfluxdbApiInfluxDBDeleteUser
|
|
1104
|
+
*/
|
|
1105
|
+
readonly userID: string
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Request parameters for influxDBListBuckets operation in InfluxdbApi.
|
|
1110
|
+
* @export
|
|
1111
|
+
* @interface InfluxdbApiInfluxDBListBucketsRequest
|
|
1112
|
+
*/
|
|
1113
|
+
export interface InfluxdbApiInfluxDBListBucketsRequest {
|
|
1114
|
+
/**
|
|
1115
|
+
*
|
|
1116
|
+
* @type {string}
|
|
1117
|
+
* @memberof InfluxdbApiInfluxDBListBuckets
|
|
1118
|
+
*/
|
|
1119
|
+
readonly orgName: string
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
*
|
|
1123
|
+
* @type {string}
|
|
1124
|
+
* @memberof InfluxdbApiInfluxDBListBuckets
|
|
1125
|
+
*/
|
|
1126
|
+
readonly clusterName: string
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
*
|
|
1130
|
+
* @type {string}
|
|
1131
|
+
* @memberof InfluxdbApiInfluxDBListBuckets
|
|
1132
|
+
*/
|
|
1133
|
+
readonly influxOrgID: string
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* Request parameters for influxDBListOrganizations operation in InfluxdbApi.
|
|
1138
|
+
* @export
|
|
1139
|
+
* @interface InfluxdbApiInfluxDBListOrganizationsRequest
|
|
1140
|
+
*/
|
|
1141
|
+
export interface InfluxdbApiInfluxDBListOrganizationsRequest {
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* @type {string}
|
|
1145
|
+
* @memberof InfluxdbApiInfluxDBListOrganizations
|
|
1146
|
+
*/
|
|
1147
|
+
readonly orgName: string
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* @type {string}
|
|
1152
|
+
* @memberof InfluxdbApiInfluxDBListOrganizations
|
|
1153
|
+
*/
|
|
1154
|
+
readonly clusterName: string
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* Request parameters for influxDBListTokens operation in InfluxdbApi.
|
|
1159
|
+
* @export
|
|
1160
|
+
* @interface InfluxdbApiInfluxDBListTokensRequest
|
|
1161
|
+
*/
|
|
1162
|
+
export interface InfluxdbApiInfluxDBListTokensRequest {
|
|
1163
|
+
/**
|
|
1164
|
+
*
|
|
1165
|
+
* @type {string}
|
|
1166
|
+
* @memberof InfluxdbApiInfluxDBListTokens
|
|
1167
|
+
*/
|
|
1168
|
+
readonly orgName: string
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
*
|
|
1172
|
+
* @type {string}
|
|
1173
|
+
* @memberof InfluxdbApiInfluxDBListTokens
|
|
1174
|
+
*/
|
|
1175
|
+
readonly clusterName: string
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
*
|
|
1179
|
+
* @type {string}
|
|
1180
|
+
* @memberof InfluxdbApiInfluxDBListTokens
|
|
1181
|
+
*/
|
|
1182
|
+
readonly userID: string
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Request parameters for influxDBListUsers operation in InfluxdbApi.
|
|
1187
|
+
* @export
|
|
1188
|
+
* @interface InfluxdbApiInfluxDBListUsersRequest
|
|
1189
|
+
*/
|
|
1190
|
+
export interface InfluxdbApiInfluxDBListUsersRequest {
|
|
1191
|
+
/**
|
|
1192
|
+
*
|
|
1193
|
+
* @type {string}
|
|
1194
|
+
* @memberof InfluxdbApiInfluxDBListUsers
|
|
1195
|
+
*/
|
|
1196
|
+
readonly orgName: string
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
*
|
|
1200
|
+
* @type {string}
|
|
1201
|
+
* @memberof InfluxdbApiInfluxDBListUsers
|
|
1202
|
+
*/
|
|
1203
|
+
readonly clusterName: string
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Request parameters for influxDBUpdateToken operation in InfluxdbApi.
|
|
1208
|
+
* @export
|
|
1209
|
+
* @interface InfluxdbApiInfluxDBUpdateTokenRequest
|
|
1210
|
+
*/
|
|
1211
|
+
export interface InfluxdbApiInfluxDBUpdateTokenRequest {
|
|
1212
|
+
/**
|
|
1213
|
+
*
|
|
1214
|
+
* @type {string}
|
|
1215
|
+
* @memberof InfluxdbApiInfluxDBUpdateToken
|
|
1216
|
+
*/
|
|
1217
|
+
readonly orgName: string
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
*
|
|
1221
|
+
* @type {string}
|
|
1222
|
+
* @memberof InfluxdbApiInfluxDBUpdateToken
|
|
1223
|
+
*/
|
|
1224
|
+
readonly clusterName: string
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
*
|
|
1228
|
+
* @type {string}
|
|
1229
|
+
* @memberof InfluxdbApiInfluxDBUpdateToken
|
|
1230
|
+
*/
|
|
1231
|
+
readonly userID: string
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
*
|
|
1235
|
+
* @type {string}
|
|
1236
|
+
* @memberof InfluxdbApiInfluxDBUpdateToken
|
|
1237
|
+
*/
|
|
1238
|
+
readonly tokenID: string
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
*
|
|
1242
|
+
* @type {InfluxDBTokenUpdate}
|
|
1243
|
+
* @memberof InfluxdbApiInfluxDBUpdateToken
|
|
1244
|
+
*/
|
|
1245
|
+
readonly influxDBTokenUpdate: InfluxDBTokenUpdate
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* InfluxdbApi - object-oriented interface
|
|
1250
|
+
* @export
|
|
1251
|
+
* @class InfluxdbApi
|
|
1252
|
+
* @extends {BaseAPI}
|
|
1253
|
+
*/
|
|
1254
|
+
export class InfluxdbApi extends BaseAPI implements InfluxdbApiInterface {
|
|
1255
|
+
/**
|
|
1256
|
+
*
|
|
1257
|
+
* @summary InfluxDB ChangePassword
|
|
1258
|
+
* @param {InfluxdbApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
1259
|
+
* @param {*} [options] Override http request option.
|
|
1260
|
+
* @throws {RequiredError}
|
|
1261
|
+
* @memberof InfluxdbApi
|
|
1262
|
+
*/
|
|
1263
|
+
public influxDBChangePassword(requestParameters: InfluxdbApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig) {
|
|
1264
|
+
return InfluxdbApiFp(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
*
|
|
1269
|
+
* @summary InfluxDB CreateToken
|
|
1270
|
+
* @param {InfluxdbApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
1271
|
+
* @param {*} [options] Override http request option.
|
|
1272
|
+
* @throws {RequiredError}
|
|
1273
|
+
* @memberof InfluxdbApi
|
|
1274
|
+
*/
|
|
1275
|
+
public influxDBCreateToken(requestParameters: InfluxdbApiInfluxDBCreateTokenRequest, options?: RawAxiosRequestConfig) {
|
|
1276
|
+
return InfluxdbApiFp(this.configuration).influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
*
|
|
1281
|
+
* @summary InfluxDB CreateUser
|
|
1282
|
+
* @param {InfluxdbApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
1283
|
+
* @param {*} [options] Override http request option.
|
|
1284
|
+
* @throws {RequiredError}
|
|
1285
|
+
* @memberof InfluxdbApi
|
|
1286
|
+
*/
|
|
1287
|
+
public influxDBCreateUser(requestParameters: InfluxdbApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig) {
|
|
1288
|
+
return InfluxdbApiFp(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
*
|
|
1293
|
+
* @summary InfluxDB DeleteToken
|
|
1294
|
+
* @param {InfluxdbApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
1295
|
+
* @param {*} [options] Override http request option.
|
|
1296
|
+
* @throws {RequiredError}
|
|
1297
|
+
* @memberof InfluxdbApi
|
|
1298
|
+
*/
|
|
1299
|
+
public influxDBDeleteToken(requestParameters: InfluxdbApiInfluxDBDeleteTokenRequest, options?: RawAxiosRequestConfig) {
|
|
1300
|
+
return InfluxdbApiFp(this.configuration).influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(this.axios, this.basePath));
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
*
|
|
1305
|
+
* @summary InfluxDB DeleteUser
|
|
1306
|
+
* @param {InfluxdbApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
1307
|
+
* @param {*} [options] Override http request option.
|
|
1308
|
+
* @throws {RequiredError}
|
|
1309
|
+
* @memberof InfluxdbApi
|
|
1310
|
+
*/
|
|
1311
|
+
public influxDBDeleteUser(requestParameters: InfluxdbApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig) {
|
|
1312
|
+
return InfluxdbApiFp(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
*
|
|
1317
|
+
* @summary InfluxDB ListBuckets
|
|
1318
|
+
* @param {InfluxdbApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
1319
|
+
* @param {*} [options] Override http request option.
|
|
1320
|
+
* @throws {RequiredError}
|
|
1321
|
+
* @memberof InfluxdbApi
|
|
1322
|
+
*/
|
|
1323
|
+
public influxDBListBuckets(requestParameters: InfluxdbApiInfluxDBListBucketsRequest, options?: RawAxiosRequestConfig) {
|
|
1324
|
+
return InfluxdbApiFp(this.configuration).influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
*
|
|
1329
|
+
* @summary InfluxDB ListOrganizations
|
|
1330
|
+
* @param {InfluxdbApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
1331
|
+
* @param {*} [options] Override http request option.
|
|
1332
|
+
* @throws {RequiredError}
|
|
1333
|
+
* @memberof InfluxdbApi
|
|
1334
|
+
*/
|
|
1335
|
+
public influxDBListOrganizations(requestParameters: InfluxdbApiInfluxDBListOrganizationsRequest, options?: RawAxiosRequestConfig) {
|
|
1336
|
+
return InfluxdbApiFp(this.configuration).influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
*
|
|
1341
|
+
* @summary InfluxDB ListTokens
|
|
1342
|
+
* @param {InfluxdbApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
1343
|
+
* @param {*} [options] Override http request option.
|
|
1344
|
+
* @throws {RequiredError}
|
|
1345
|
+
* @memberof InfluxdbApi
|
|
1346
|
+
*/
|
|
1347
|
+
public influxDBListTokens(requestParameters: InfluxdbApiInfluxDBListTokensRequest, options?: RawAxiosRequestConfig) {
|
|
1348
|
+
return InfluxdbApiFp(this.configuration).influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
*
|
|
1353
|
+
* @summary InfluxDB ListUsers
|
|
1354
|
+
* @param {InfluxdbApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
1355
|
+
* @param {*} [options] Override http request option.
|
|
1356
|
+
* @throws {RequiredError}
|
|
1357
|
+
* @memberof InfluxdbApi
|
|
1358
|
+
*/
|
|
1359
|
+
public influxDBListUsers(requestParameters: InfluxdbApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig) {
|
|
1360
|
+
return InfluxdbApiFp(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
*
|
|
1365
|
+
* @summary InfluxDB UpdateToken
|
|
1366
|
+
* @param {InfluxdbApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
1367
|
+
* @param {*} [options] Override http request option.
|
|
1368
|
+
* @throws {RequiredError}
|
|
1369
|
+
* @memberof InfluxdbApi
|
|
1370
|
+
*/
|
|
1371
|
+
public influxDBUpdateToken(requestParameters: InfluxdbApiInfluxDBUpdateTokenRequest, options?: RawAxiosRequestConfig) {
|
|
1372
|
+
return InfluxdbApiFp(this.configuration).influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
|