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
|
@@ -270,6 +270,24 @@ import type { ImportTaskListResponse } from '../models';
|
|
|
270
270
|
// @ts-ignore
|
|
271
271
|
import type { ImportTaskResponse } from '../models';
|
|
272
272
|
// @ts-ignore
|
|
273
|
+
import type { InfluxDBBucket } from '../models';
|
|
274
|
+
// @ts-ignore
|
|
275
|
+
import type { InfluxDBOrganization } from '../models';
|
|
276
|
+
// @ts-ignore
|
|
277
|
+
import type { InfluxDBPasswordChange } from '../models';
|
|
278
|
+
// @ts-ignore
|
|
279
|
+
import type { InfluxDBToken } from '../models';
|
|
280
|
+
// @ts-ignore
|
|
281
|
+
import type { InfluxDBTokenCreate } from '../models';
|
|
282
|
+
// @ts-ignore
|
|
283
|
+
import type { InfluxDBTokenCreated } from '../models';
|
|
284
|
+
// @ts-ignore
|
|
285
|
+
import type { InfluxDBTokenUpdate } from '../models';
|
|
286
|
+
// @ts-ignore
|
|
287
|
+
import type { InfluxDBUser } from '../models';
|
|
288
|
+
// @ts-ignore
|
|
289
|
+
import type { InfluxDBUserCreate } from '../models';
|
|
290
|
+
// @ts-ignore
|
|
273
291
|
import type { InstanceEventList } from '../models';
|
|
274
292
|
// @ts-ignore
|
|
275
293
|
import type { InstanceList } from '../models';
|
|
@@ -10030,97 +10048,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10030
10048
|
};
|
|
10031
10049
|
},
|
|
10032
10050
|
/**
|
|
10033
|
-
*
|
|
10034
|
-
* @summary
|
|
10035
|
-
* @param {string} engineName name of the engine
|
|
10036
|
-
* @param {string} orgName name of the Org
|
|
10037
|
-
* @param {string} clusterName name of the Cluster
|
|
10038
|
-
* @param {string} session session id
|
|
10039
|
-
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
10040
|
-
* @param {*} [options] Override http request option.
|
|
10041
|
-
* @throws {RequiredError}
|
|
10042
|
-
*/
|
|
10043
|
-
killSession: async (engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10044
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
10045
|
-
assertParamExists('killSession', 'engineName', engineName)
|
|
10046
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
10047
|
-
assertParamExists('killSession', 'orgName', orgName)
|
|
10048
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
10049
|
-
assertParamExists('killSession', 'clusterName', clusterName)
|
|
10050
|
-
// verify required parameter 'session' is not null or undefined
|
|
10051
|
-
assertParamExists('killSession', 'session', session)
|
|
10052
|
-
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/sessions/{session}`
|
|
10053
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10054
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10055
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10056
|
-
.replace(`{${"session"}}`, encodeURIComponent(String(session)));
|
|
10057
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10058
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10059
|
-
let baseOptions;
|
|
10060
|
-
if (configuration) {
|
|
10061
|
-
baseOptions = configuration.baseOptions;
|
|
10062
|
-
}
|
|
10063
|
-
|
|
10064
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
10065
|
-
const localVarHeaderParameter = {} as any;
|
|
10066
|
-
const localVarQueryParameter = {} as any;
|
|
10067
|
-
|
|
10068
|
-
// authentication BearerToken required
|
|
10069
|
-
// http bearer authentication required
|
|
10070
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10071
|
-
|
|
10072
|
-
// authentication DigestAuth required
|
|
10073
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10074
|
-
|
|
10075
|
-
if (keep !== undefined) {
|
|
10076
|
-
localVarQueryParameter['keep'] = keep;
|
|
10077
|
-
}
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10082
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10083
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10084
|
-
|
|
10085
|
-
return {
|
|
10086
|
-
url: toPathString(localVarUrlObj),
|
|
10087
|
-
options: localVarRequestOptions,
|
|
10088
|
-
};
|
|
10089
|
-
},
|
|
10090
|
-
/**
|
|
10091
|
-
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
10092
|
-
* @summary List exact column names for account object privileges
|
|
10093
|
-
* @param {string} engineName
|
|
10051
|
+
*
|
|
10052
|
+
* @summary InfluxDB ChangePassword
|
|
10094
10053
|
* @param {string} orgName
|
|
10095
10054
|
* @param {string} clusterName
|
|
10096
|
-
* @param {string}
|
|
10097
|
-
* @param {
|
|
10098
|
-
* @param {string} databaseName
|
|
10099
|
-
* @param {string} objectName
|
|
10100
|
-
* @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
|
|
10055
|
+
* @param {string} userID
|
|
10056
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
10101
10057
|
* @param {*} [options] Override http request option.
|
|
10102
10058
|
* @throws {RequiredError}
|
|
10103
10059
|
*/
|
|
10104
|
-
|
|
10105
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
10106
|
-
assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
|
|
10060
|
+
influxDBChangePassword: async (orgName: string, clusterName: string, userID: string, influxDBPasswordChange: InfluxDBPasswordChange, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10107
10061
|
// verify required parameter 'orgName' is not null or undefined
|
|
10108
|
-
assertParamExists('
|
|
10062
|
+
assertParamExists('influxDBChangePassword', 'orgName', orgName)
|
|
10109
10063
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10110
|
-
assertParamExists('
|
|
10111
|
-
// verify required parameter '
|
|
10112
|
-
assertParamExists('
|
|
10113
|
-
// verify required parameter '
|
|
10114
|
-
assertParamExists('
|
|
10115
|
-
|
|
10116
|
-
assertParamExists('listAccountObjectPrivilegeColumns', 'databaseName', databaseName)
|
|
10117
|
-
// verify required parameter 'objectName' is not null or undefined
|
|
10118
|
-
assertParamExists('listAccountObjectPrivilegeColumns', 'objectName', objectName)
|
|
10119
|
-
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
|
|
10120
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10064
|
+
assertParamExists('influxDBChangePassword', 'clusterName', clusterName)
|
|
10065
|
+
// verify required parameter 'userID' is not null or undefined
|
|
10066
|
+
assertParamExists('influxDBChangePassword', 'userID', userID)
|
|
10067
|
+
// verify required parameter 'influxDBPasswordChange' is not null or undefined
|
|
10068
|
+
assertParamExists('influxDBChangePassword', 'influxDBPasswordChange', influxDBPasswordChange)
|
|
10069
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/password`
|
|
10121
10070
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10122
10071
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10123
|
-
.replace(`{${"
|
|
10072
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
10124
10073
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10125
10074
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10126
10075
|
let baseOptions;
|
|
@@ -10128,7 +10077,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10128
10077
|
baseOptions = configuration.baseOptions;
|
|
10129
10078
|
}
|
|
10130
10079
|
|
|
10131
|
-
const localVarRequestOptions = { method: '
|
|
10080
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
10132
10081
|
const localVarHeaderParameter = {} as any;
|
|
10133
10082
|
const localVarQueryParameter = {} as any;
|
|
10134
10083
|
|
|
@@ -10139,27 +10088,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10139
10088
|
// authentication DigestAuth required
|
|
10140
10089
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10141
10090
|
|
|
10142
|
-
if (objectType !== undefined) {
|
|
10143
|
-
localVarQueryParameter['objectType'] = objectType;
|
|
10144
|
-
}
|
|
10145
|
-
|
|
10146
|
-
if (databaseName !== undefined) {
|
|
10147
|
-
localVarQueryParameter['databaseName'] = databaseName;
|
|
10148
|
-
}
|
|
10149
|
-
|
|
10150
|
-
if (objectName !== undefined) {
|
|
10151
|
-
localVarQueryParameter['objectName'] = objectName;
|
|
10152
|
-
}
|
|
10153
|
-
|
|
10154
|
-
if (schemaName !== undefined) {
|
|
10155
|
-
localVarQueryParameter['schemaName'] = schemaName;
|
|
10156
|
-
}
|
|
10157
|
-
|
|
10158
10091
|
|
|
10159
10092
|
|
|
10093
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10094
|
+
|
|
10160
10095
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10161
10096
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10162
10097
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10098
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBPasswordChange, localVarRequestOptions, configuration)
|
|
10163
10099
|
|
|
10164
10100
|
return {
|
|
10165
10101
|
url: toPathString(localVarUrlObj),
|
|
@@ -10167,37 +10103,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10167
10103
|
};
|
|
10168
10104
|
},
|
|
10169
10105
|
/**
|
|
10170
|
-
*
|
|
10171
|
-
* @summary
|
|
10172
|
-
* @param {string} engineName
|
|
10106
|
+
*
|
|
10107
|
+
* @summary InfluxDB CreateToken
|
|
10173
10108
|
* @param {string} orgName
|
|
10174
10109
|
* @param {string} clusterName
|
|
10175
|
-
* @param {string}
|
|
10176
|
-
* @param {
|
|
10177
|
-
* @param {string} [databaseName]
|
|
10178
|
-
* @param {string} [schemaName]
|
|
10179
|
-
* @param {number} [offset]
|
|
10180
|
-
* @param {number} [limit]
|
|
10181
|
-
* @param {string} [catalogName]
|
|
10110
|
+
* @param {string} userID
|
|
10111
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
10182
10112
|
* @param {*} [options] Override http request option.
|
|
10183
10113
|
* @throws {RequiredError}
|
|
10184
10114
|
*/
|
|
10185
|
-
|
|
10186
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
10187
|
-
assertParamExists('listAccountObjectPrivilegeObjects', 'engineName', engineName)
|
|
10115
|
+
influxDBCreateToken: async (orgName: string, clusterName: string, userID: string, influxDBTokenCreate: InfluxDBTokenCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10188
10116
|
// verify required parameter 'orgName' is not null or undefined
|
|
10189
|
-
assertParamExists('
|
|
10117
|
+
assertParamExists('influxDBCreateToken', 'orgName', orgName)
|
|
10190
10118
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10191
|
-
assertParamExists('
|
|
10192
|
-
// verify required parameter '
|
|
10193
|
-
assertParamExists('
|
|
10194
|
-
// verify required parameter '
|
|
10195
|
-
assertParamExists('
|
|
10196
|
-
const localVarPath = `/api/v1/data/
|
|
10197
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10119
|
+
assertParamExists('influxDBCreateToken', 'clusterName', clusterName)
|
|
10120
|
+
// verify required parameter 'userID' is not null or undefined
|
|
10121
|
+
assertParamExists('influxDBCreateToken', 'userID', userID)
|
|
10122
|
+
// verify required parameter 'influxDBTokenCreate' is not null or undefined
|
|
10123
|
+
assertParamExists('influxDBCreateToken', 'influxDBTokenCreate', influxDBTokenCreate)
|
|
10124
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
10198
10125
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10199
10126
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10200
|
-
.replace(`{${"
|
|
10127
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
10201
10128
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10202
10129
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10203
10130
|
let baseOptions;
|
|
@@ -10205,7 +10132,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10205
10132
|
baseOptions = configuration.baseOptions;
|
|
10206
10133
|
}
|
|
10207
10134
|
|
|
10208
|
-
const localVarRequestOptions = { method: '
|
|
10135
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10209
10136
|
const localVarHeaderParameter = {} as any;
|
|
10210
10137
|
const localVarQueryParameter = {} as any;
|
|
10211
10138
|
|
|
@@ -10216,84 +10143,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10216
10143
|
// authentication DigestAuth required
|
|
10217
10144
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10218
10145
|
|
|
10219
|
-
if (objectType !== undefined) {
|
|
10220
|
-
localVarQueryParameter['objectType'] = objectType;
|
|
10221
|
-
}
|
|
10222
|
-
|
|
10223
|
-
if (databaseName !== undefined) {
|
|
10224
|
-
localVarQueryParameter['databaseName'] = databaseName;
|
|
10225
|
-
}
|
|
10226
|
-
|
|
10227
|
-
if (schemaName !== undefined) {
|
|
10228
|
-
localVarQueryParameter['schemaName'] = schemaName;
|
|
10229
|
-
}
|
|
10230
|
-
|
|
10231
|
-
if (offset !== undefined) {
|
|
10232
|
-
localVarQueryParameter['offset'] = offset;
|
|
10233
|
-
}
|
|
10234
|
-
|
|
10235
|
-
if (limit !== undefined) {
|
|
10236
|
-
localVarQueryParameter['limit'] = limit;
|
|
10237
|
-
}
|
|
10238
|
-
|
|
10239
|
-
if (catalogName !== undefined) {
|
|
10240
|
-
localVarQueryParameter['catalogName'] = catalogName;
|
|
10241
|
-
}
|
|
10242
|
-
|
|
10243
10146
|
|
|
10244
10147
|
|
|
10245
|
-
|
|
10246
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10247
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10248
|
-
|
|
10249
|
-
return {
|
|
10250
|
-
url: toPathString(localVarUrlObj),
|
|
10251
|
-
options: localVarRequestOptions,
|
|
10252
|
-
};
|
|
10253
|
-
},
|
|
10254
|
-
/**
|
|
10255
|
-
* list accounts in cluster
|
|
10256
|
-
* @summary List cluster accounts
|
|
10257
|
-
* @param {string} engineName name of the engine
|
|
10258
|
-
* @param {string} orgName name of the organization
|
|
10259
|
-
* @param {string} clusterName name of the cluster
|
|
10260
|
-
* @param {*} [options] Override http request option.
|
|
10261
|
-
* @throws {RequiredError}
|
|
10262
|
-
*/
|
|
10263
|
-
listAccounts: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10264
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
10265
|
-
assertParamExists('listAccounts', 'engineName', engineName)
|
|
10266
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
10267
|
-
assertParamExists('listAccounts', 'orgName', orgName)
|
|
10268
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
10269
|
-
assertParamExists('listAccounts', 'clusterName', clusterName)
|
|
10270
|
-
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
10271
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10272
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10273
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10274
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10275
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10276
|
-
let baseOptions;
|
|
10277
|
-
if (configuration) {
|
|
10278
|
-
baseOptions = configuration.baseOptions;
|
|
10279
|
-
}
|
|
10280
|
-
|
|
10281
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10282
|
-
const localVarHeaderParameter = {} as any;
|
|
10283
|
-
const localVarQueryParameter = {} as any;
|
|
10284
|
-
|
|
10285
|
-
// authentication BearerToken required
|
|
10286
|
-
// http bearer authentication required
|
|
10287
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10288
|
-
|
|
10289
|
-
// authentication DigestAuth required
|
|
10290
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10291
|
-
|
|
10148
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10292
10149
|
|
|
10293
|
-
|
|
10294
10150
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10295
10151
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10296
10152
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10153
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBTokenCreate, localVarRequestOptions, configuration)
|
|
10297
10154
|
|
|
10298
10155
|
return {
|
|
10299
10156
|
url: toPathString(localVarUrlObj),
|
|
@@ -10302,21 +10159,21 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10302
10159
|
},
|
|
10303
10160
|
/**
|
|
10304
10161
|
*
|
|
10305
|
-
* @summary
|
|
10162
|
+
* @summary InfluxDB CreateUser
|
|
10306
10163
|
* @param {string} orgName
|
|
10307
10164
|
* @param {string} clusterName
|
|
10308
|
-
* @param {
|
|
10165
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
10309
10166
|
* @param {*} [options] Override http request option.
|
|
10310
10167
|
* @throws {RequiredError}
|
|
10311
10168
|
*/
|
|
10312
|
-
|
|
10169
|
+
influxDBCreateUser: async (orgName: string, clusterName: string, influxDBUserCreate: InfluxDBUserCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10313
10170
|
// verify required parameter 'orgName' is not null or undefined
|
|
10314
|
-
assertParamExists('
|
|
10171
|
+
assertParamExists('influxDBCreateUser', 'orgName', orgName)
|
|
10315
10172
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10316
|
-
assertParamExists('
|
|
10317
|
-
// verify required parameter '
|
|
10318
|
-
assertParamExists('
|
|
10319
|
-
const localVarPath = `/api/v1/organizations/{orgName}/
|
|
10173
|
+
assertParamExists('influxDBCreateUser', 'clusterName', clusterName)
|
|
10174
|
+
// verify required parameter 'influxDBUserCreate' is not null or undefined
|
|
10175
|
+
assertParamExists('influxDBCreateUser', 'influxDBUserCreate', influxDBUserCreate)
|
|
10176
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
10320
10177
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10321
10178
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10322
10179
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -10326,7 +10183,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10326
10183
|
baseOptions = configuration.baseOptions;
|
|
10327
10184
|
}
|
|
10328
10185
|
|
|
10329
|
-
const localVarRequestOptions = { method: '
|
|
10186
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10330
10187
|
const localVarHeaderParameter = {} as any;
|
|
10331
10188
|
const localVarQueryParameter = {} as any;
|
|
10332
10189
|
|
|
@@ -10337,15 +10194,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10337
10194
|
// authentication DigestAuth required
|
|
10338
10195
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10339
10196
|
|
|
10340
|
-
if (targetType !== undefined) {
|
|
10341
|
-
localVarQueryParameter['targetType'] = targetType;
|
|
10342
|
-
}
|
|
10343
|
-
|
|
10344
10197
|
|
|
10345
10198
|
|
|
10199
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10200
|
+
|
|
10346
10201
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10347
10202
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10348
10203
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10204
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBUserCreate, localVarRequestOptions, configuration)
|
|
10349
10205
|
|
|
10350
10206
|
return {
|
|
10351
10207
|
url: toPathString(localVarUrlObj),
|
|
@@ -10354,23 +10210,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10354
10210
|
},
|
|
10355
10211
|
/**
|
|
10356
10212
|
*
|
|
10357
|
-
* @summary
|
|
10358
|
-
* @param {string} orgName
|
|
10359
|
-
* @param {string} clusterName
|
|
10360
|
-
* @param {string}
|
|
10213
|
+
* @summary InfluxDB DeleteToken
|
|
10214
|
+
* @param {string} orgName
|
|
10215
|
+
* @param {string} clusterName
|
|
10216
|
+
* @param {string} userID
|
|
10217
|
+
* @param {string} tokenID
|
|
10361
10218
|
* @param {*} [options] Override http request option.
|
|
10362
10219
|
* @throws {RequiredError}
|
|
10363
10220
|
*/
|
|
10364
|
-
|
|
10221
|
+
influxDBDeleteToken: async (orgName: string, clusterName: string, userID: string, tokenID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10365
10222
|
// verify required parameter 'orgName' is not null or undefined
|
|
10366
|
-
assertParamExists('
|
|
10223
|
+
assertParamExists('influxDBDeleteToken', 'orgName', orgName)
|
|
10367
10224
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10368
|
-
assertParamExists('
|
|
10369
|
-
// verify required parameter '
|
|
10370
|
-
assertParamExists('
|
|
10371
|
-
|
|
10225
|
+
assertParamExists('influxDBDeleteToken', 'clusterName', clusterName)
|
|
10226
|
+
// verify required parameter 'userID' is not null or undefined
|
|
10227
|
+
assertParamExists('influxDBDeleteToken', 'userID', userID)
|
|
10228
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
10229
|
+
assertParamExists('influxDBDeleteToken', 'tokenID', tokenID)
|
|
10230
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
10372
10231
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10373
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10232
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10233
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
10234
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
10374
10235
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10375
10236
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10376
10237
|
let baseOptions;
|
|
@@ -10378,7 +10239,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10378
10239
|
baseOptions = configuration.baseOptions;
|
|
10379
10240
|
}
|
|
10380
10241
|
|
|
10381
|
-
const localVarRequestOptions = { method: '
|
|
10242
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
10382
10243
|
const localVarHeaderParameter = {} as any;
|
|
10383
10244
|
const localVarQueryParameter = {} as any;
|
|
10384
10245
|
|
|
@@ -10389,10 +10250,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10389
10250
|
// authentication DigestAuth required
|
|
10390
10251
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10391
10252
|
|
|
10392
|
-
if (name !== undefined) {
|
|
10393
|
-
localVarQueryParameter['name'] = name;
|
|
10394
|
-
}
|
|
10395
|
-
|
|
10396
10253
|
|
|
10397
10254
|
|
|
10398
10255
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -10406,21 +10263,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10406
10263
|
},
|
|
10407
10264
|
/**
|
|
10408
10265
|
*
|
|
10409
|
-
* @summary
|
|
10410
|
-
* @param {string} orgName
|
|
10411
|
-
* @param {string} clusterName
|
|
10412
|
-
* @param {string}
|
|
10266
|
+
* @summary InfluxDB DeleteUser
|
|
10267
|
+
* @param {string} orgName
|
|
10268
|
+
* @param {string} clusterName
|
|
10269
|
+
* @param {string} userID
|
|
10413
10270
|
* @param {*} [options] Override http request option.
|
|
10414
10271
|
* @throws {RequiredError}
|
|
10415
10272
|
*/
|
|
10416
|
-
|
|
10273
|
+
influxDBDeleteUser: async (orgName: string, clusterName: string, userID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10417
10274
|
// verify required parameter 'orgName' is not null or undefined
|
|
10418
|
-
assertParamExists('
|
|
10275
|
+
assertParamExists('influxDBDeleteUser', 'orgName', orgName)
|
|
10419
10276
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10420
|
-
assertParamExists('
|
|
10421
|
-
|
|
10277
|
+
assertParamExists('influxDBDeleteUser', 'clusterName', clusterName)
|
|
10278
|
+
// verify required parameter 'userID' is not null or undefined
|
|
10279
|
+
assertParamExists('influxDBDeleteUser', 'userID', userID)
|
|
10280
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}`
|
|
10422
10281
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10423
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10282
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10283
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
10424
10284
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10425
10285
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10426
10286
|
let baseOptions;
|
|
@@ -10428,7 +10288,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10428
10288
|
baseOptions = configuration.baseOptions;
|
|
10429
10289
|
}
|
|
10430
10290
|
|
|
10431
|
-
const localVarRequestOptions = { method: '
|
|
10291
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
10432
10292
|
const localVarHeaderParameter = {} as any;
|
|
10433
10293
|
const localVarQueryParameter = {} as any;
|
|
10434
10294
|
|
|
@@ -10439,10 +10299,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10439
10299
|
// authentication DigestAuth required
|
|
10440
10300
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10441
10301
|
|
|
10442
|
-
if (backupMethod !== undefined) {
|
|
10443
|
-
localVarQueryParameter['backupMethod'] = backupMethod;
|
|
10444
|
-
}
|
|
10445
|
-
|
|
10446
10302
|
|
|
10447
10303
|
|
|
10448
10304
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -10456,24 +10312,23 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10456
10312
|
},
|
|
10457
10313
|
/**
|
|
10458
10314
|
*
|
|
10459
|
-
* @summary
|
|
10315
|
+
* @summary InfluxDB ListBuckets
|
|
10460
10316
|
* @param {string} orgName
|
|
10461
10317
|
* @param {string} clusterName
|
|
10462
|
-
* @param {string}
|
|
10318
|
+
* @param {string} influxOrgID
|
|
10463
10319
|
* @param {*} [options] Override http request option.
|
|
10464
10320
|
* @throws {RequiredError}
|
|
10465
10321
|
*/
|
|
10466
|
-
|
|
10322
|
+
influxDBListBuckets: async (orgName: string, clusterName: string, influxOrgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10467
10323
|
// verify required parameter 'orgName' is not null or undefined
|
|
10468
|
-
assertParamExists('
|
|
10324
|
+
assertParamExists('influxDBListBuckets', 'orgName', orgName)
|
|
10469
10325
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10470
|
-
assertParamExists('
|
|
10471
|
-
// verify required parameter '
|
|
10472
|
-
assertParamExists('
|
|
10473
|
-
const localVarPath = `/api/v1/data/
|
|
10326
|
+
assertParamExists('influxDBListBuckets', 'clusterName', clusterName)
|
|
10327
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
10328
|
+
assertParamExists('influxDBListBuckets', 'influxOrgID', influxOrgID)
|
|
10329
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
|
|
10474
10330
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10475
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10476
|
-
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
10331
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10477
10332
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10478
10333
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10479
10334
|
let baseOptions;
|
|
@@ -10492,6 +10347,10 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10492
10347
|
// authentication DigestAuth required
|
|
10493
10348
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10494
10349
|
|
|
10350
|
+
if (influxOrgID !== undefined) {
|
|
10351
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
10352
|
+
}
|
|
10353
|
+
|
|
10495
10354
|
|
|
10496
10355
|
|
|
10497
10356
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -10505,18 +10364,690 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10505
10364
|
},
|
|
10506
10365
|
/**
|
|
10507
10366
|
*
|
|
10508
|
-
* @summary
|
|
10367
|
+
* @summary InfluxDB ListOrganizations
|
|
10509
10368
|
* @param {string} orgName
|
|
10510
10369
|
* @param {string} clusterName
|
|
10511
10370
|
* @param {*} [options] Override http request option.
|
|
10512
10371
|
* @throws {RequiredError}
|
|
10513
10372
|
*/
|
|
10514
|
-
|
|
10373
|
+
influxDBListOrganizations: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10515
10374
|
// verify required parameter 'orgName' is not null or undefined
|
|
10516
|
-
assertParamExists('
|
|
10375
|
+
assertParamExists('influxDBListOrganizations', 'orgName', orgName)
|
|
10517
10376
|
// verify required parameter 'clusterName' is not null or undefined
|
|
10518
|
-
assertParamExists('
|
|
10519
|
-
const localVarPath = `/api/v1/data/
|
|
10377
|
+
assertParamExists('influxDBListOrganizations', 'clusterName', clusterName)
|
|
10378
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/organizations`
|
|
10379
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10380
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10381
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10382
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10383
|
+
let baseOptions;
|
|
10384
|
+
if (configuration) {
|
|
10385
|
+
baseOptions = configuration.baseOptions;
|
|
10386
|
+
}
|
|
10387
|
+
|
|
10388
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10389
|
+
const localVarHeaderParameter = {} as any;
|
|
10390
|
+
const localVarQueryParameter = {} as any;
|
|
10391
|
+
|
|
10392
|
+
// authentication BearerToken required
|
|
10393
|
+
// http bearer authentication required
|
|
10394
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10395
|
+
|
|
10396
|
+
// authentication DigestAuth required
|
|
10397
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10398
|
+
|
|
10399
|
+
|
|
10400
|
+
|
|
10401
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10402
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10403
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10404
|
+
|
|
10405
|
+
return {
|
|
10406
|
+
url: toPathString(localVarUrlObj),
|
|
10407
|
+
options: localVarRequestOptions,
|
|
10408
|
+
};
|
|
10409
|
+
},
|
|
10410
|
+
/**
|
|
10411
|
+
*
|
|
10412
|
+
* @summary InfluxDB ListTokens
|
|
10413
|
+
* @param {string} orgName
|
|
10414
|
+
* @param {string} clusterName
|
|
10415
|
+
* @param {string} userID
|
|
10416
|
+
* @param {*} [options] Override http request option.
|
|
10417
|
+
* @throws {RequiredError}
|
|
10418
|
+
*/
|
|
10419
|
+
influxDBListTokens: async (orgName: string, clusterName: string, userID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10420
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10421
|
+
assertParamExists('influxDBListTokens', 'orgName', orgName)
|
|
10422
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10423
|
+
assertParamExists('influxDBListTokens', 'clusterName', clusterName)
|
|
10424
|
+
// verify required parameter 'userID' is not null or undefined
|
|
10425
|
+
assertParamExists('influxDBListTokens', 'userID', userID)
|
|
10426
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
10427
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10428
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10429
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
10430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10432
|
+
let baseOptions;
|
|
10433
|
+
if (configuration) {
|
|
10434
|
+
baseOptions = configuration.baseOptions;
|
|
10435
|
+
}
|
|
10436
|
+
|
|
10437
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10438
|
+
const localVarHeaderParameter = {} as any;
|
|
10439
|
+
const localVarQueryParameter = {} as any;
|
|
10440
|
+
|
|
10441
|
+
// authentication BearerToken required
|
|
10442
|
+
// http bearer authentication required
|
|
10443
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10444
|
+
|
|
10445
|
+
// authentication DigestAuth required
|
|
10446
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10447
|
+
|
|
10448
|
+
|
|
10449
|
+
|
|
10450
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10451
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10452
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10453
|
+
|
|
10454
|
+
return {
|
|
10455
|
+
url: toPathString(localVarUrlObj),
|
|
10456
|
+
options: localVarRequestOptions,
|
|
10457
|
+
};
|
|
10458
|
+
},
|
|
10459
|
+
/**
|
|
10460
|
+
*
|
|
10461
|
+
* @summary InfluxDB ListUsers
|
|
10462
|
+
* @param {string} orgName
|
|
10463
|
+
* @param {string} clusterName
|
|
10464
|
+
* @param {*} [options] Override http request option.
|
|
10465
|
+
* @throws {RequiredError}
|
|
10466
|
+
*/
|
|
10467
|
+
influxDBListUsers: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10468
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10469
|
+
assertParamExists('influxDBListUsers', 'orgName', orgName)
|
|
10470
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10471
|
+
assertParamExists('influxDBListUsers', 'clusterName', clusterName)
|
|
10472
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
10473
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10474
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10475
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10476
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10477
|
+
let baseOptions;
|
|
10478
|
+
if (configuration) {
|
|
10479
|
+
baseOptions = configuration.baseOptions;
|
|
10480
|
+
}
|
|
10481
|
+
|
|
10482
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10483
|
+
const localVarHeaderParameter = {} as any;
|
|
10484
|
+
const localVarQueryParameter = {} as any;
|
|
10485
|
+
|
|
10486
|
+
// authentication BearerToken required
|
|
10487
|
+
// http bearer authentication required
|
|
10488
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10489
|
+
|
|
10490
|
+
// authentication DigestAuth required
|
|
10491
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10492
|
+
|
|
10493
|
+
|
|
10494
|
+
|
|
10495
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10496
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10497
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10498
|
+
|
|
10499
|
+
return {
|
|
10500
|
+
url: toPathString(localVarUrlObj),
|
|
10501
|
+
options: localVarRequestOptions,
|
|
10502
|
+
};
|
|
10503
|
+
},
|
|
10504
|
+
/**
|
|
10505
|
+
*
|
|
10506
|
+
* @summary InfluxDB UpdateToken
|
|
10507
|
+
* @param {string} orgName
|
|
10508
|
+
* @param {string} clusterName
|
|
10509
|
+
* @param {string} userID
|
|
10510
|
+
* @param {string} tokenID
|
|
10511
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
10512
|
+
* @param {*} [options] Override http request option.
|
|
10513
|
+
* @throws {RequiredError}
|
|
10514
|
+
*/
|
|
10515
|
+
influxDBUpdateToken: async (orgName: string, clusterName: string, userID: string, tokenID: string, influxDBTokenUpdate: InfluxDBTokenUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10516
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10517
|
+
assertParamExists('influxDBUpdateToken', 'orgName', orgName)
|
|
10518
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10519
|
+
assertParamExists('influxDBUpdateToken', 'clusterName', clusterName)
|
|
10520
|
+
// verify required parameter 'userID' is not null or undefined
|
|
10521
|
+
assertParamExists('influxDBUpdateToken', 'userID', userID)
|
|
10522
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
10523
|
+
assertParamExists('influxDBUpdateToken', 'tokenID', tokenID)
|
|
10524
|
+
// verify required parameter 'influxDBTokenUpdate' is not null or undefined
|
|
10525
|
+
assertParamExists('influxDBUpdateToken', 'influxDBTokenUpdate', influxDBTokenUpdate)
|
|
10526
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
10527
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10528
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10529
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
10530
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
10531
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10532
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10533
|
+
let baseOptions;
|
|
10534
|
+
if (configuration) {
|
|
10535
|
+
baseOptions = configuration.baseOptions;
|
|
10536
|
+
}
|
|
10537
|
+
|
|
10538
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
10539
|
+
const localVarHeaderParameter = {} as any;
|
|
10540
|
+
const localVarQueryParameter = {} as any;
|
|
10541
|
+
|
|
10542
|
+
// authentication BearerToken required
|
|
10543
|
+
// http bearer authentication required
|
|
10544
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10545
|
+
|
|
10546
|
+
// authentication DigestAuth required
|
|
10547
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10548
|
+
|
|
10549
|
+
|
|
10550
|
+
|
|
10551
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10552
|
+
|
|
10553
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10554
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10555
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10556
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBTokenUpdate, localVarRequestOptions, configuration)
|
|
10557
|
+
|
|
10558
|
+
return {
|
|
10559
|
+
url: toPathString(localVarUrlObj),
|
|
10560
|
+
options: localVarRequestOptions,
|
|
10561
|
+
};
|
|
10562
|
+
},
|
|
10563
|
+
/**
|
|
10564
|
+
* kill a session in cluster
|
|
10565
|
+
* @summary Kill cluster session
|
|
10566
|
+
* @param {string} engineName name of the engine
|
|
10567
|
+
* @param {string} orgName name of the Org
|
|
10568
|
+
* @param {string} clusterName name of the Cluster
|
|
10569
|
+
* @param {string} session session id
|
|
10570
|
+
* @param {boolean} [keep] if keep is true, the session will not be killed but only closed
|
|
10571
|
+
* @param {*} [options] Override http request option.
|
|
10572
|
+
* @throws {RequiredError}
|
|
10573
|
+
*/
|
|
10574
|
+
killSession: async (engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10575
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
10576
|
+
assertParamExists('killSession', 'engineName', engineName)
|
|
10577
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10578
|
+
assertParamExists('killSession', 'orgName', orgName)
|
|
10579
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10580
|
+
assertParamExists('killSession', 'clusterName', clusterName)
|
|
10581
|
+
// verify required parameter 'session' is not null or undefined
|
|
10582
|
+
assertParamExists('killSession', 'session', session)
|
|
10583
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/sessions/{session}`
|
|
10584
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10585
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10586
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10587
|
+
.replace(`{${"session"}}`, encodeURIComponent(String(session)));
|
|
10588
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10589
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10590
|
+
let baseOptions;
|
|
10591
|
+
if (configuration) {
|
|
10592
|
+
baseOptions = configuration.baseOptions;
|
|
10593
|
+
}
|
|
10594
|
+
|
|
10595
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
10596
|
+
const localVarHeaderParameter = {} as any;
|
|
10597
|
+
const localVarQueryParameter = {} as any;
|
|
10598
|
+
|
|
10599
|
+
// authentication BearerToken required
|
|
10600
|
+
// http bearer authentication required
|
|
10601
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10602
|
+
|
|
10603
|
+
// authentication DigestAuth required
|
|
10604
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10605
|
+
|
|
10606
|
+
if (keep !== undefined) {
|
|
10607
|
+
localVarQueryParameter['keep'] = keep;
|
|
10608
|
+
}
|
|
10609
|
+
|
|
10610
|
+
|
|
10611
|
+
|
|
10612
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10613
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10614
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10615
|
+
|
|
10616
|
+
return {
|
|
10617
|
+
url: toPathString(localVarUrlObj),
|
|
10618
|
+
options: localVarRequestOptions,
|
|
10619
|
+
};
|
|
10620
|
+
},
|
|
10621
|
+
/**
|
|
10622
|
+
* Read MySQL or PostgreSQL relation column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
|
|
10623
|
+
* @summary List exact column names for account object privileges
|
|
10624
|
+
* @param {string} engineName
|
|
10625
|
+
* @param {string} orgName
|
|
10626
|
+
* @param {string} clusterName
|
|
10627
|
+
* @param {string} accountName
|
|
10628
|
+
* @param {string} objectType Object type, table/view; PostgreSQL also supports materializedView/foreignTable
|
|
10629
|
+
* @param {string} databaseName
|
|
10630
|
+
* @param {string} objectName
|
|
10631
|
+
* @param {string} [schemaName] Required for PostgreSQL; not accepted for MySQL
|
|
10632
|
+
* @param {*} [options] Override http request option.
|
|
10633
|
+
* @throws {RequiredError}
|
|
10634
|
+
*/
|
|
10635
|
+
listAccountObjectPrivilegeColumns: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, schemaName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10636
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
10637
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'engineName', engineName)
|
|
10638
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10639
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'orgName', orgName)
|
|
10640
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10641
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'clusterName', clusterName)
|
|
10642
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
10643
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'accountName', accountName)
|
|
10644
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
10645
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectType', objectType)
|
|
10646
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
10647
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'databaseName', databaseName)
|
|
10648
|
+
// verify required parameter 'objectName' is not null or undefined
|
|
10649
|
+
assertParamExists('listAccountObjectPrivilegeColumns', 'objectName', objectName)
|
|
10650
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/columns`
|
|
10651
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10652
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10653
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10654
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
10655
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10656
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10657
|
+
let baseOptions;
|
|
10658
|
+
if (configuration) {
|
|
10659
|
+
baseOptions = configuration.baseOptions;
|
|
10660
|
+
}
|
|
10661
|
+
|
|
10662
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10663
|
+
const localVarHeaderParameter = {} as any;
|
|
10664
|
+
const localVarQueryParameter = {} as any;
|
|
10665
|
+
|
|
10666
|
+
// authentication BearerToken required
|
|
10667
|
+
// http bearer authentication required
|
|
10668
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10669
|
+
|
|
10670
|
+
// authentication DigestAuth required
|
|
10671
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10672
|
+
|
|
10673
|
+
if (objectType !== undefined) {
|
|
10674
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
10675
|
+
}
|
|
10676
|
+
|
|
10677
|
+
if (databaseName !== undefined) {
|
|
10678
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
10679
|
+
}
|
|
10680
|
+
|
|
10681
|
+
if (objectName !== undefined) {
|
|
10682
|
+
localVarQueryParameter['objectName'] = objectName;
|
|
10683
|
+
}
|
|
10684
|
+
|
|
10685
|
+
if (schemaName !== undefined) {
|
|
10686
|
+
localVarQueryParameter['schemaName'] = schemaName;
|
|
10687
|
+
}
|
|
10688
|
+
|
|
10689
|
+
|
|
10690
|
+
|
|
10691
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10692
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10693
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10694
|
+
|
|
10695
|
+
return {
|
|
10696
|
+
url: toPathString(localVarUrlObj),
|
|
10697
|
+
options: localVarRequestOptions,
|
|
10698
|
+
};
|
|
10699
|
+
},
|
|
10700
|
+
/**
|
|
10701
|
+
* Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
|
|
10702
|
+
* @summary Discover existing native privilege objects with stable routine identities
|
|
10703
|
+
* @param {string} engineName
|
|
10704
|
+
* @param {string} orgName
|
|
10705
|
+
* @param {string} clusterName
|
|
10706
|
+
* @param {string} accountName
|
|
10707
|
+
* @param {string} objectType
|
|
10708
|
+
* @param {string} [databaseName]
|
|
10709
|
+
* @param {string} [schemaName]
|
|
10710
|
+
* @param {number} [offset]
|
|
10711
|
+
* @param {number} [limit]
|
|
10712
|
+
* @param {string} [catalogName]
|
|
10713
|
+
* @param {*} [options] Override http request option.
|
|
10714
|
+
* @throws {RequiredError}
|
|
10715
|
+
*/
|
|
10716
|
+
listAccountObjectPrivilegeObjects: async (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName?: string, schemaName?: string, offset?: number, limit?: number, catalogName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10717
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
10718
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'engineName', engineName)
|
|
10719
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10720
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'orgName', orgName)
|
|
10721
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10722
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'clusterName', clusterName)
|
|
10723
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
10724
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'accountName', accountName)
|
|
10725
|
+
// verify required parameter 'objectType' is not null or undefined
|
|
10726
|
+
assertParamExists('listAccountObjectPrivilegeObjects', 'objectType', objectType)
|
|
10727
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/object-privileges/objects`
|
|
10728
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10729
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10730
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10731
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
10732
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10733
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10734
|
+
let baseOptions;
|
|
10735
|
+
if (configuration) {
|
|
10736
|
+
baseOptions = configuration.baseOptions;
|
|
10737
|
+
}
|
|
10738
|
+
|
|
10739
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10740
|
+
const localVarHeaderParameter = {} as any;
|
|
10741
|
+
const localVarQueryParameter = {} as any;
|
|
10742
|
+
|
|
10743
|
+
// authentication BearerToken required
|
|
10744
|
+
// http bearer authentication required
|
|
10745
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10746
|
+
|
|
10747
|
+
// authentication DigestAuth required
|
|
10748
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10749
|
+
|
|
10750
|
+
if (objectType !== undefined) {
|
|
10751
|
+
localVarQueryParameter['objectType'] = objectType;
|
|
10752
|
+
}
|
|
10753
|
+
|
|
10754
|
+
if (databaseName !== undefined) {
|
|
10755
|
+
localVarQueryParameter['databaseName'] = databaseName;
|
|
10756
|
+
}
|
|
10757
|
+
|
|
10758
|
+
if (schemaName !== undefined) {
|
|
10759
|
+
localVarQueryParameter['schemaName'] = schemaName;
|
|
10760
|
+
}
|
|
10761
|
+
|
|
10762
|
+
if (offset !== undefined) {
|
|
10763
|
+
localVarQueryParameter['offset'] = offset;
|
|
10764
|
+
}
|
|
10765
|
+
|
|
10766
|
+
if (limit !== undefined) {
|
|
10767
|
+
localVarQueryParameter['limit'] = limit;
|
|
10768
|
+
}
|
|
10769
|
+
|
|
10770
|
+
if (catalogName !== undefined) {
|
|
10771
|
+
localVarQueryParameter['catalogName'] = catalogName;
|
|
10772
|
+
}
|
|
10773
|
+
|
|
10774
|
+
|
|
10775
|
+
|
|
10776
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10777
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10778
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10779
|
+
|
|
10780
|
+
return {
|
|
10781
|
+
url: toPathString(localVarUrlObj),
|
|
10782
|
+
options: localVarRequestOptions,
|
|
10783
|
+
};
|
|
10784
|
+
},
|
|
10785
|
+
/**
|
|
10786
|
+
* list accounts in cluster
|
|
10787
|
+
* @summary List cluster accounts
|
|
10788
|
+
* @param {string} engineName name of the engine
|
|
10789
|
+
* @param {string} orgName name of the organization
|
|
10790
|
+
* @param {string} clusterName name of the cluster
|
|
10791
|
+
* @param {*} [options] Override http request option.
|
|
10792
|
+
* @throws {RequiredError}
|
|
10793
|
+
*/
|
|
10794
|
+
listAccounts: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10795
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
10796
|
+
assertParamExists('listAccounts', 'engineName', engineName)
|
|
10797
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10798
|
+
assertParamExists('listAccounts', 'orgName', orgName)
|
|
10799
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10800
|
+
assertParamExists('listAccounts', 'clusterName', clusterName)
|
|
10801
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
10802
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
10803
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10804
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10805
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10806
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10807
|
+
let baseOptions;
|
|
10808
|
+
if (configuration) {
|
|
10809
|
+
baseOptions = configuration.baseOptions;
|
|
10810
|
+
}
|
|
10811
|
+
|
|
10812
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10813
|
+
const localVarHeaderParameter = {} as any;
|
|
10814
|
+
const localVarQueryParameter = {} as any;
|
|
10815
|
+
|
|
10816
|
+
// authentication BearerToken required
|
|
10817
|
+
// http bearer authentication required
|
|
10818
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10819
|
+
|
|
10820
|
+
// authentication DigestAuth required
|
|
10821
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10822
|
+
|
|
10823
|
+
|
|
10824
|
+
|
|
10825
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10826
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10827
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10828
|
+
|
|
10829
|
+
return {
|
|
10830
|
+
url: toPathString(localVarUrlObj),
|
|
10831
|
+
options: localVarRequestOptions,
|
|
10832
|
+
};
|
|
10833
|
+
},
|
|
10834
|
+
/**
|
|
10835
|
+
*
|
|
10836
|
+
* @summary list the available clusters for the organization to create the a relation
|
|
10837
|
+
* @param {string} orgName
|
|
10838
|
+
* @param {string} clusterName
|
|
10839
|
+
* @param {string} targetType
|
|
10840
|
+
* @param {*} [options] Override http request option.
|
|
10841
|
+
* @throws {RequiredError}
|
|
10842
|
+
*/
|
|
10843
|
+
listAvailableClustersForRelation: async (orgName: string, clusterName: string, targetType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10844
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10845
|
+
assertParamExists('listAvailableClustersForRelation', 'orgName', orgName)
|
|
10846
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10847
|
+
assertParamExists('listAvailableClustersForRelation', 'clusterName', clusterName)
|
|
10848
|
+
// verify required parameter 'targetType' is not null or undefined
|
|
10849
|
+
assertParamExists('listAvailableClustersForRelation', 'targetType', targetType)
|
|
10850
|
+
const localVarPath = `/api/v1/organizations/{orgName}/cluster/{clusterName}/available-relations`
|
|
10851
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10852
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10853
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10854
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10855
|
+
let baseOptions;
|
|
10856
|
+
if (configuration) {
|
|
10857
|
+
baseOptions = configuration.baseOptions;
|
|
10858
|
+
}
|
|
10859
|
+
|
|
10860
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10861
|
+
const localVarHeaderParameter = {} as any;
|
|
10862
|
+
const localVarQueryParameter = {} as any;
|
|
10863
|
+
|
|
10864
|
+
// authentication BearerToken required
|
|
10865
|
+
// http bearer authentication required
|
|
10866
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10867
|
+
|
|
10868
|
+
// authentication DigestAuth required
|
|
10869
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10870
|
+
|
|
10871
|
+
if (targetType !== undefined) {
|
|
10872
|
+
localVarQueryParameter['targetType'] = targetType;
|
|
10873
|
+
}
|
|
10874
|
+
|
|
10875
|
+
|
|
10876
|
+
|
|
10877
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10878
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10879
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10880
|
+
|
|
10881
|
+
return {
|
|
10882
|
+
url: toPathString(localVarUrlObj),
|
|
10883
|
+
options: localVarRequestOptions,
|
|
10884
|
+
};
|
|
10885
|
+
},
|
|
10886
|
+
/**
|
|
10887
|
+
*
|
|
10888
|
+
* @summary List available nodes for rebuilding instance
|
|
10889
|
+
* @param {string} orgName name of the Org
|
|
10890
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
10891
|
+
* @param {string} name name of the instance to be rebuilt
|
|
10892
|
+
* @param {*} [options] Override http request option.
|
|
10893
|
+
* @throws {RequiredError}
|
|
10894
|
+
*/
|
|
10895
|
+
listAvailableNodes: async (orgName: string, clusterName: string, name: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10896
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10897
|
+
assertParamExists('listAvailableNodes', 'orgName', orgName)
|
|
10898
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10899
|
+
assertParamExists('listAvailableNodes', 'clusterName', clusterName)
|
|
10900
|
+
// verify required parameter 'name' is not null or undefined
|
|
10901
|
+
assertParamExists('listAvailableNodes', 'name', name)
|
|
10902
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/rebuildInstance/availableNodes`
|
|
10903
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10904
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10905
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10906
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10907
|
+
let baseOptions;
|
|
10908
|
+
if (configuration) {
|
|
10909
|
+
baseOptions = configuration.baseOptions;
|
|
10910
|
+
}
|
|
10911
|
+
|
|
10912
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10913
|
+
const localVarHeaderParameter = {} as any;
|
|
10914
|
+
const localVarQueryParameter = {} as any;
|
|
10915
|
+
|
|
10916
|
+
// authentication BearerToken required
|
|
10917
|
+
// http bearer authentication required
|
|
10918
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10919
|
+
|
|
10920
|
+
// authentication DigestAuth required
|
|
10921
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10922
|
+
|
|
10923
|
+
if (name !== undefined) {
|
|
10924
|
+
localVarQueryParameter['name'] = name;
|
|
10925
|
+
}
|
|
10926
|
+
|
|
10927
|
+
|
|
10928
|
+
|
|
10929
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10930
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10931
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10932
|
+
|
|
10933
|
+
return {
|
|
10934
|
+
url: toPathString(localVarUrlObj),
|
|
10935
|
+
options: localVarRequestOptions,
|
|
10936
|
+
};
|
|
10937
|
+
},
|
|
10938
|
+
/**
|
|
10939
|
+
*
|
|
10940
|
+
* @summary List backup schedules
|
|
10941
|
+
* @param {string} orgName name of the org
|
|
10942
|
+
* @param {string} clusterName name of the cluster
|
|
10943
|
+
* @param {string} [backupMethod] filter by backup method
|
|
10944
|
+
* @param {*} [options] Override http request option.
|
|
10945
|
+
* @throws {RequiredError}
|
|
10946
|
+
*/
|
|
10947
|
+
listBackupSchedules: async (orgName: string, clusterName: string, backupMethod?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10948
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10949
|
+
assertParamExists('listBackupSchedules', 'orgName', orgName)
|
|
10950
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10951
|
+
assertParamExists('listBackupSchedules', 'clusterName', clusterName)
|
|
10952
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/backupSchedules`
|
|
10953
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10954
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10955
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10957
|
+
let baseOptions;
|
|
10958
|
+
if (configuration) {
|
|
10959
|
+
baseOptions = configuration.baseOptions;
|
|
10960
|
+
}
|
|
10961
|
+
|
|
10962
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10963
|
+
const localVarHeaderParameter = {} as any;
|
|
10964
|
+
const localVarQueryParameter = {} as any;
|
|
10965
|
+
|
|
10966
|
+
// authentication BearerToken required
|
|
10967
|
+
// http bearer authentication required
|
|
10968
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10969
|
+
|
|
10970
|
+
// authentication DigestAuth required
|
|
10971
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10972
|
+
|
|
10973
|
+
if (backupMethod !== undefined) {
|
|
10974
|
+
localVarQueryParameter['backupMethod'] = backupMethod;
|
|
10975
|
+
}
|
|
10976
|
+
|
|
10977
|
+
|
|
10978
|
+
|
|
10979
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10980
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10981
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10982
|
+
|
|
10983
|
+
return {
|
|
10984
|
+
url: toPathString(localVarUrlObj),
|
|
10985
|
+
options: localVarRequestOptions,
|
|
10986
|
+
};
|
|
10987
|
+
},
|
|
10988
|
+
/**
|
|
10989
|
+
*
|
|
10990
|
+
* @summary List the roles granted to a ClickHouse account
|
|
10991
|
+
* @param {string} orgName
|
|
10992
|
+
* @param {string} clusterName
|
|
10993
|
+
* @param {string} accountName
|
|
10994
|
+
* @param {*} [options] Override http request option.
|
|
10995
|
+
* @throws {RequiredError}
|
|
10996
|
+
*/
|
|
10997
|
+
listClickhouseAccountRoles: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10998
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10999
|
+
assertParamExists('listClickhouseAccountRoles', 'orgName', orgName)
|
|
11000
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11001
|
+
assertParamExists('listClickhouseAccountRoles', 'clusterName', clusterName)
|
|
11002
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
11003
|
+
assertParamExists('listClickhouseAccountRoles', 'accountName', accountName)
|
|
11004
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles`
|
|
11005
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11006
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11007
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
11008
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11009
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11010
|
+
let baseOptions;
|
|
11011
|
+
if (configuration) {
|
|
11012
|
+
baseOptions = configuration.baseOptions;
|
|
11013
|
+
}
|
|
11014
|
+
|
|
11015
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11016
|
+
const localVarHeaderParameter = {} as any;
|
|
11017
|
+
const localVarQueryParameter = {} as any;
|
|
11018
|
+
|
|
11019
|
+
// authentication BearerToken required
|
|
11020
|
+
// http bearer authentication required
|
|
11021
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11022
|
+
|
|
11023
|
+
// authentication DigestAuth required
|
|
11024
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11025
|
+
|
|
11026
|
+
|
|
11027
|
+
|
|
11028
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11029
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11030
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11031
|
+
|
|
11032
|
+
return {
|
|
11033
|
+
url: toPathString(localVarUrlObj),
|
|
11034
|
+
options: localVarRequestOptions,
|
|
11035
|
+
};
|
|
11036
|
+
},
|
|
11037
|
+
/**
|
|
11038
|
+
*
|
|
11039
|
+
* @summary List ClickHouse accounts
|
|
11040
|
+
* @param {string} orgName
|
|
11041
|
+
* @param {string} clusterName
|
|
11042
|
+
* @param {*} [options] Override http request option.
|
|
11043
|
+
* @throws {RequiredError}
|
|
11044
|
+
*/
|
|
11045
|
+
listClickhouseAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11046
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11047
|
+
assertParamExists('listClickhouseAccounts', 'orgName', orgName)
|
|
11048
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11049
|
+
assertParamExists('listClickhouseAccounts', 'clusterName', clusterName)
|
|
11050
|
+
const localVarPath = `/api/v1/data/clickhouse/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
10520
11051
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10521
11052
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10522
11053
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -12071,7 +12602,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12071
12602
|
* @summary List objects tree for selective backup
|
|
12072
12603
|
* @param {string} orgName name of the org
|
|
12073
12604
|
* @param {string} clusterName name of the cluster
|
|
12074
|
-
* @param {string} [database]
|
|
12605
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
12075
12606
|
* @param {*} [options] Override http request option.
|
|
12076
12607
|
* @throws {RequiredError}
|
|
12077
12608
|
*/
|
|
@@ -23072,6 +23603,159 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
23072
23603
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.importPreflight']?.[localVarOperationServerIndex]?.url;
|
|
23073
23604
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23074
23605
|
},
|
|
23606
|
+
/**
|
|
23607
|
+
*
|
|
23608
|
+
* @summary InfluxDB ChangePassword
|
|
23609
|
+
* @param {string} orgName
|
|
23610
|
+
* @param {string} clusterName
|
|
23611
|
+
* @param {string} userID
|
|
23612
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
23613
|
+
* @param {*} [options] Override http request option.
|
|
23614
|
+
* @throws {RequiredError}
|
|
23615
|
+
*/
|
|
23616
|
+
async influxDBChangePassword(orgName: string, clusterName: string, userID: string, influxDBPasswordChange: InfluxDBPasswordChange, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options);
|
|
23618
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23619
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBChangePassword']?.[localVarOperationServerIndex]?.url;
|
|
23620
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23621
|
+
},
|
|
23622
|
+
/**
|
|
23623
|
+
*
|
|
23624
|
+
* @summary InfluxDB CreateToken
|
|
23625
|
+
* @param {string} orgName
|
|
23626
|
+
* @param {string} clusterName
|
|
23627
|
+
* @param {string} userID
|
|
23628
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
23629
|
+
* @param {*} [options] Override http request option.
|
|
23630
|
+
* @throws {RequiredError}
|
|
23631
|
+
*/
|
|
23632
|
+
async influxDBCreateToken(orgName: string, clusterName: string, userID: string, influxDBTokenCreate: InfluxDBTokenCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBTokenCreated>> {
|
|
23633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options);
|
|
23634
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23635
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBCreateToken']?.[localVarOperationServerIndex]?.url;
|
|
23636
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23637
|
+
},
|
|
23638
|
+
/**
|
|
23639
|
+
*
|
|
23640
|
+
* @summary InfluxDB CreateUser
|
|
23641
|
+
* @param {string} orgName
|
|
23642
|
+
* @param {string} clusterName
|
|
23643
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
23644
|
+
* @param {*} [options] Override http request option.
|
|
23645
|
+
* @throws {RequiredError}
|
|
23646
|
+
*/
|
|
23647
|
+
async influxDBCreateUser(orgName: string, clusterName: string, influxDBUserCreate: InfluxDBUserCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBUser>> {
|
|
23648
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options);
|
|
23649
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23650
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBCreateUser']?.[localVarOperationServerIndex]?.url;
|
|
23651
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23652
|
+
},
|
|
23653
|
+
/**
|
|
23654
|
+
*
|
|
23655
|
+
* @summary InfluxDB DeleteToken
|
|
23656
|
+
* @param {string} orgName
|
|
23657
|
+
* @param {string} clusterName
|
|
23658
|
+
* @param {string} userID
|
|
23659
|
+
* @param {string} tokenID
|
|
23660
|
+
* @param {*} [options] Override http request option.
|
|
23661
|
+
* @throws {RequiredError}
|
|
23662
|
+
*/
|
|
23663
|
+
async influxDBDeleteToken(orgName: string, clusterName: string, userID: string, tokenID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23664
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteToken(orgName, clusterName, userID, tokenID, options);
|
|
23665
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23666
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBDeleteToken']?.[localVarOperationServerIndex]?.url;
|
|
23667
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23668
|
+
},
|
|
23669
|
+
/**
|
|
23670
|
+
*
|
|
23671
|
+
* @summary InfluxDB DeleteUser
|
|
23672
|
+
* @param {string} orgName
|
|
23673
|
+
* @param {string} clusterName
|
|
23674
|
+
* @param {string} userID
|
|
23675
|
+
* @param {*} [options] Override http request option.
|
|
23676
|
+
* @throws {RequiredError}
|
|
23677
|
+
*/
|
|
23678
|
+
async influxDBDeleteUser(orgName: string, clusterName: string, userID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23679
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteUser(orgName, clusterName, userID, options);
|
|
23680
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23681
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBDeleteUser']?.[localVarOperationServerIndex]?.url;
|
|
23682
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23683
|
+
},
|
|
23684
|
+
/**
|
|
23685
|
+
*
|
|
23686
|
+
* @summary InfluxDB ListBuckets
|
|
23687
|
+
* @param {string} orgName
|
|
23688
|
+
* @param {string} clusterName
|
|
23689
|
+
* @param {string} influxOrgID
|
|
23690
|
+
* @param {*} [options] Override http request option.
|
|
23691
|
+
* @throws {RequiredError}
|
|
23692
|
+
*/
|
|
23693
|
+
async influxDBListBuckets(orgName: string, clusterName: string, influxOrgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBBucket>>> {
|
|
23694
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListBuckets(orgName, clusterName, influxOrgID, options);
|
|
23695
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23696
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBListBuckets']?.[localVarOperationServerIndex]?.url;
|
|
23697
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23698
|
+
},
|
|
23699
|
+
/**
|
|
23700
|
+
*
|
|
23701
|
+
* @summary InfluxDB ListOrganizations
|
|
23702
|
+
* @param {string} orgName
|
|
23703
|
+
* @param {string} clusterName
|
|
23704
|
+
* @param {*} [options] Override http request option.
|
|
23705
|
+
* @throws {RequiredError}
|
|
23706
|
+
*/
|
|
23707
|
+
async influxDBListOrganizations(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBOrganization>>> {
|
|
23708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListOrganizations(orgName, clusterName, options);
|
|
23709
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23710
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBListOrganizations']?.[localVarOperationServerIndex]?.url;
|
|
23711
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23712
|
+
},
|
|
23713
|
+
/**
|
|
23714
|
+
*
|
|
23715
|
+
* @summary InfluxDB ListTokens
|
|
23716
|
+
* @param {string} orgName
|
|
23717
|
+
* @param {string} clusterName
|
|
23718
|
+
* @param {string} userID
|
|
23719
|
+
* @param {*} [options] Override http request option.
|
|
23720
|
+
* @throws {RequiredError}
|
|
23721
|
+
*/
|
|
23722
|
+
async influxDBListTokens(orgName: string, clusterName: string, userID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBToken>>> {
|
|
23723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListTokens(orgName, clusterName, userID, options);
|
|
23724
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23725
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBListTokens']?.[localVarOperationServerIndex]?.url;
|
|
23726
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23727
|
+
},
|
|
23728
|
+
/**
|
|
23729
|
+
*
|
|
23730
|
+
* @summary InfluxDB ListUsers
|
|
23731
|
+
* @param {string} orgName
|
|
23732
|
+
* @param {string} clusterName
|
|
23733
|
+
* @param {*} [options] Override http request option.
|
|
23734
|
+
* @throws {RequiredError}
|
|
23735
|
+
*/
|
|
23736
|
+
async influxDBListUsers(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InfluxDBUser>>> {
|
|
23737
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListUsers(orgName, clusterName, options);
|
|
23738
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23739
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBListUsers']?.[localVarOperationServerIndex]?.url;
|
|
23740
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23741
|
+
},
|
|
23742
|
+
/**
|
|
23743
|
+
*
|
|
23744
|
+
* @summary InfluxDB UpdateToken
|
|
23745
|
+
* @param {string} orgName
|
|
23746
|
+
* @param {string} clusterName
|
|
23747
|
+
* @param {string} userID
|
|
23748
|
+
* @param {string} tokenID
|
|
23749
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
23750
|
+
* @param {*} [options] Override http request option.
|
|
23751
|
+
* @throws {RequiredError}
|
|
23752
|
+
*/
|
|
23753
|
+
async influxDBUpdateToken(orgName: string, clusterName: string, userID: string, tokenID: string, influxDBTokenUpdate: InfluxDBTokenUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23754
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options);
|
|
23755
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23756
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.influxDBUpdateToken']?.[localVarOperationServerIndex]?.url;
|
|
23757
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23758
|
+
},
|
|
23075
23759
|
/**
|
|
23076
23760
|
* kill a session in cluster
|
|
23077
23761
|
* @summary Kill cluster session
|
|
@@ -23679,7 +24363,7 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
23679
24363
|
* @summary List objects tree for selective backup
|
|
23680
24364
|
* @param {string} orgName name of the org
|
|
23681
24365
|
* @param {string} clusterName name of the cluster
|
|
23682
|
-
* @param {string} [database]
|
|
24366
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
23683
24367
|
* @param {*} [options] Override http request option.
|
|
23684
24368
|
* @throws {RequiredError}
|
|
23685
24369
|
*/
|
|
@@ -27769,6 +28453,106 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
27769
28453
|
importPreflight(requestParameters: SharedApiImportPreflightRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreCheckTaskResponse> {
|
|
27770
28454
|
return localVarFp.importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(axios, basePath));
|
|
27771
28455
|
},
|
|
28456
|
+
/**
|
|
28457
|
+
*
|
|
28458
|
+
* @summary InfluxDB ChangePassword
|
|
28459
|
+
* @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
28460
|
+
* @param {*} [options] Override http request option.
|
|
28461
|
+
* @throws {RequiredError}
|
|
28462
|
+
*/
|
|
28463
|
+
influxDBChangePassword(requestParameters: SharedApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28464
|
+
return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
28465
|
+
},
|
|
28466
|
+
/**
|
|
28467
|
+
*
|
|
28468
|
+
* @summary InfluxDB CreateToken
|
|
28469
|
+
* @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
28470
|
+
* @param {*} [options] Override http request option.
|
|
28471
|
+
* @throws {RequiredError}
|
|
28472
|
+
*/
|
|
28473
|
+
influxDBCreateToken(requestParameters: SharedApiInfluxDBCreateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBTokenCreated> {
|
|
28474
|
+
return localVarFp.influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(axios, basePath));
|
|
28475
|
+
},
|
|
28476
|
+
/**
|
|
28477
|
+
*
|
|
28478
|
+
* @summary InfluxDB CreateUser
|
|
28479
|
+
* @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
28480
|
+
* @param {*} [options] Override http request option.
|
|
28481
|
+
* @throws {RequiredError}
|
|
28482
|
+
*/
|
|
28483
|
+
influxDBCreateUser(requestParameters: SharedApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBUser> {
|
|
28484
|
+
return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
|
|
28485
|
+
},
|
|
28486
|
+
/**
|
|
28487
|
+
*
|
|
28488
|
+
* @summary InfluxDB DeleteToken
|
|
28489
|
+
* @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
28490
|
+
* @param {*} [options] Override http request option.
|
|
28491
|
+
* @throws {RequiredError}
|
|
28492
|
+
*/
|
|
28493
|
+
influxDBDeleteToken(requestParameters: SharedApiInfluxDBDeleteTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28494
|
+
return localVarFp.influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(axios, basePath));
|
|
28495
|
+
},
|
|
28496
|
+
/**
|
|
28497
|
+
*
|
|
28498
|
+
* @summary InfluxDB DeleteUser
|
|
28499
|
+
* @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
28500
|
+
* @param {*} [options] Override http request option.
|
|
28501
|
+
* @throws {RequiredError}
|
|
28502
|
+
*/
|
|
28503
|
+
influxDBDeleteUser(requestParameters: SharedApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28504
|
+
return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
28505
|
+
},
|
|
28506
|
+
/**
|
|
28507
|
+
*
|
|
28508
|
+
* @summary InfluxDB ListBuckets
|
|
28509
|
+
* @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
28510
|
+
* @param {*} [options] Override http request option.
|
|
28511
|
+
* @throws {RequiredError}
|
|
28512
|
+
*/
|
|
28513
|
+
influxDBListBuckets(requestParameters: SharedApiInfluxDBListBucketsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBBucket>> {
|
|
28514
|
+
return localVarFp.influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
28515
|
+
},
|
|
28516
|
+
/**
|
|
28517
|
+
*
|
|
28518
|
+
* @summary InfluxDB ListOrganizations
|
|
28519
|
+
* @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
28520
|
+
* @param {*} [options] Override http request option.
|
|
28521
|
+
* @throws {RequiredError}
|
|
28522
|
+
*/
|
|
28523
|
+
influxDBListOrganizations(requestParameters: SharedApiInfluxDBListOrganizationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBOrganization>> {
|
|
28524
|
+
return localVarFp.influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
28525
|
+
},
|
|
28526
|
+
/**
|
|
28527
|
+
*
|
|
28528
|
+
* @summary InfluxDB ListTokens
|
|
28529
|
+
* @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
28530
|
+
* @param {*} [options] Override http request option.
|
|
28531
|
+
* @throws {RequiredError}
|
|
28532
|
+
*/
|
|
28533
|
+
influxDBListTokens(requestParameters: SharedApiInfluxDBListTokensRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBToken>> {
|
|
28534
|
+
return localVarFp.influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
28535
|
+
},
|
|
28536
|
+
/**
|
|
28537
|
+
*
|
|
28538
|
+
* @summary InfluxDB ListUsers
|
|
28539
|
+
* @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
28540
|
+
* @param {*} [options] Override http request option.
|
|
28541
|
+
* @throws {RequiredError}
|
|
28542
|
+
*/
|
|
28543
|
+
influxDBListUsers(requestParameters: SharedApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBUser>> {
|
|
28544
|
+
return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
28545
|
+
},
|
|
28546
|
+
/**
|
|
28547
|
+
*
|
|
28548
|
+
* @summary InfluxDB UpdateToken
|
|
28549
|
+
* @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
28550
|
+
* @param {*} [options] Override http request option.
|
|
28551
|
+
* @throws {RequiredError}
|
|
28552
|
+
*/
|
|
28553
|
+
influxDBUpdateToken(requestParameters: SharedApiInfluxDBUpdateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28554
|
+
return localVarFp.influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(axios, basePath));
|
|
28555
|
+
},
|
|
27772
28556
|
/**
|
|
27773
28557
|
* kill a session in cluster
|
|
27774
28558
|
* @summary Kill cluster session
|
|
@@ -31343,6 +32127,106 @@ export interface SharedApiInterface {
|
|
|
31343
32127
|
*/
|
|
31344
32128
|
importPreflight(requestParameters: SharedApiImportPreflightRequest, options?: RawAxiosRequestConfig): AxiosPromise<PreCheckTaskResponse>;
|
|
31345
32129
|
|
|
32130
|
+
/**
|
|
32131
|
+
*
|
|
32132
|
+
* @summary InfluxDB ChangePassword
|
|
32133
|
+
* @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
32134
|
+
* @param {*} [options] Override http request option.
|
|
32135
|
+
* @throws {RequiredError}
|
|
32136
|
+
* @memberof SharedApiInterface
|
|
32137
|
+
*/
|
|
32138
|
+
influxDBChangePassword(requestParameters: SharedApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
32139
|
+
|
|
32140
|
+
/**
|
|
32141
|
+
*
|
|
32142
|
+
* @summary InfluxDB CreateToken
|
|
32143
|
+
* @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
32144
|
+
* @param {*} [options] Override http request option.
|
|
32145
|
+
* @throws {RequiredError}
|
|
32146
|
+
* @memberof SharedApiInterface
|
|
32147
|
+
*/
|
|
32148
|
+
influxDBCreateToken(requestParameters: SharedApiInfluxDBCreateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBTokenCreated>;
|
|
32149
|
+
|
|
32150
|
+
/**
|
|
32151
|
+
*
|
|
32152
|
+
* @summary InfluxDB CreateUser
|
|
32153
|
+
* @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
32154
|
+
* @param {*} [options] Override http request option.
|
|
32155
|
+
* @throws {RequiredError}
|
|
32156
|
+
* @memberof SharedApiInterface
|
|
32157
|
+
*/
|
|
32158
|
+
influxDBCreateUser(requestParameters: SharedApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBUser>;
|
|
32159
|
+
|
|
32160
|
+
/**
|
|
32161
|
+
*
|
|
32162
|
+
* @summary InfluxDB DeleteToken
|
|
32163
|
+
* @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
32164
|
+
* @param {*} [options] Override http request option.
|
|
32165
|
+
* @throws {RequiredError}
|
|
32166
|
+
* @memberof SharedApiInterface
|
|
32167
|
+
*/
|
|
32168
|
+
influxDBDeleteToken(requestParameters: SharedApiInfluxDBDeleteTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
32169
|
+
|
|
32170
|
+
/**
|
|
32171
|
+
*
|
|
32172
|
+
* @summary InfluxDB DeleteUser
|
|
32173
|
+
* @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
32174
|
+
* @param {*} [options] Override http request option.
|
|
32175
|
+
* @throws {RequiredError}
|
|
32176
|
+
* @memberof SharedApiInterface
|
|
32177
|
+
*/
|
|
32178
|
+
influxDBDeleteUser(requestParameters: SharedApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
32179
|
+
|
|
32180
|
+
/**
|
|
32181
|
+
*
|
|
32182
|
+
* @summary InfluxDB ListBuckets
|
|
32183
|
+
* @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
32184
|
+
* @param {*} [options] Override http request option.
|
|
32185
|
+
* @throws {RequiredError}
|
|
32186
|
+
* @memberof SharedApiInterface
|
|
32187
|
+
*/
|
|
32188
|
+
influxDBListBuckets(requestParameters: SharedApiInfluxDBListBucketsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBBucket>>;
|
|
32189
|
+
|
|
32190
|
+
/**
|
|
32191
|
+
*
|
|
32192
|
+
* @summary InfluxDB ListOrganizations
|
|
32193
|
+
* @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
32194
|
+
* @param {*} [options] Override http request option.
|
|
32195
|
+
* @throws {RequiredError}
|
|
32196
|
+
* @memberof SharedApiInterface
|
|
32197
|
+
*/
|
|
32198
|
+
influxDBListOrganizations(requestParameters: SharedApiInfluxDBListOrganizationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBOrganization>>;
|
|
32199
|
+
|
|
32200
|
+
/**
|
|
32201
|
+
*
|
|
32202
|
+
* @summary InfluxDB ListTokens
|
|
32203
|
+
* @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
32204
|
+
* @param {*} [options] Override http request option.
|
|
32205
|
+
* @throws {RequiredError}
|
|
32206
|
+
* @memberof SharedApiInterface
|
|
32207
|
+
*/
|
|
32208
|
+
influxDBListTokens(requestParameters: SharedApiInfluxDBListTokensRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBToken>>;
|
|
32209
|
+
|
|
32210
|
+
/**
|
|
32211
|
+
*
|
|
32212
|
+
* @summary InfluxDB ListUsers
|
|
32213
|
+
* @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
32214
|
+
* @param {*} [options] Override http request option.
|
|
32215
|
+
* @throws {RequiredError}
|
|
32216
|
+
* @memberof SharedApiInterface
|
|
32217
|
+
*/
|
|
32218
|
+
influxDBListUsers(requestParameters: SharedApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBUser>>;
|
|
32219
|
+
|
|
32220
|
+
/**
|
|
32221
|
+
*
|
|
32222
|
+
* @summary InfluxDB UpdateToken
|
|
32223
|
+
* @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
32224
|
+
* @param {*} [options] Override http request option.
|
|
32225
|
+
* @throws {RequiredError}
|
|
32226
|
+
* @memberof SharedApiInterface
|
|
32227
|
+
*/
|
|
32228
|
+
influxDBUpdateToken(requestParameters: SharedApiInfluxDBUpdateTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
32229
|
+
|
|
31346
32230
|
/**
|
|
31347
32231
|
* kill a session in cluster
|
|
31348
32232
|
* @summary Kill cluster session
|
|
@@ -39163,6 +40047,307 @@ export interface SharedApiImportPreflightRequest {
|
|
|
39163
40047
|
readonly importPreflightRequest: ImportPreflightRequest
|
|
39164
40048
|
}
|
|
39165
40049
|
|
|
40050
|
+
/**
|
|
40051
|
+
* Request parameters for influxDBChangePassword operation in SharedApi.
|
|
40052
|
+
* @export
|
|
40053
|
+
* @interface SharedApiInfluxDBChangePasswordRequest
|
|
40054
|
+
*/
|
|
40055
|
+
export interface SharedApiInfluxDBChangePasswordRequest {
|
|
40056
|
+
/**
|
|
40057
|
+
*
|
|
40058
|
+
* @type {string}
|
|
40059
|
+
* @memberof SharedApiInfluxDBChangePassword
|
|
40060
|
+
*/
|
|
40061
|
+
readonly orgName: string
|
|
40062
|
+
|
|
40063
|
+
/**
|
|
40064
|
+
*
|
|
40065
|
+
* @type {string}
|
|
40066
|
+
* @memberof SharedApiInfluxDBChangePassword
|
|
40067
|
+
*/
|
|
40068
|
+
readonly clusterName: string
|
|
40069
|
+
|
|
40070
|
+
/**
|
|
40071
|
+
*
|
|
40072
|
+
* @type {string}
|
|
40073
|
+
* @memberof SharedApiInfluxDBChangePassword
|
|
40074
|
+
*/
|
|
40075
|
+
readonly userID: string
|
|
40076
|
+
|
|
40077
|
+
/**
|
|
40078
|
+
*
|
|
40079
|
+
* @type {InfluxDBPasswordChange}
|
|
40080
|
+
* @memberof SharedApiInfluxDBChangePassword
|
|
40081
|
+
*/
|
|
40082
|
+
readonly influxDBPasswordChange: InfluxDBPasswordChange
|
|
40083
|
+
}
|
|
40084
|
+
|
|
40085
|
+
/**
|
|
40086
|
+
* Request parameters for influxDBCreateToken operation in SharedApi.
|
|
40087
|
+
* @export
|
|
40088
|
+
* @interface SharedApiInfluxDBCreateTokenRequest
|
|
40089
|
+
*/
|
|
40090
|
+
export interface SharedApiInfluxDBCreateTokenRequest {
|
|
40091
|
+
/**
|
|
40092
|
+
*
|
|
40093
|
+
* @type {string}
|
|
40094
|
+
* @memberof SharedApiInfluxDBCreateToken
|
|
40095
|
+
*/
|
|
40096
|
+
readonly orgName: string
|
|
40097
|
+
|
|
40098
|
+
/**
|
|
40099
|
+
*
|
|
40100
|
+
* @type {string}
|
|
40101
|
+
* @memberof SharedApiInfluxDBCreateToken
|
|
40102
|
+
*/
|
|
40103
|
+
readonly clusterName: string
|
|
40104
|
+
|
|
40105
|
+
/**
|
|
40106
|
+
*
|
|
40107
|
+
* @type {string}
|
|
40108
|
+
* @memberof SharedApiInfluxDBCreateToken
|
|
40109
|
+
*/
|
|
40110
|
+
readonly userID: string
|
|
40111
|
+
|
|
40112
|
+
/**
|
|
40113
|
+
*
|
|
40114
|
+
* @type {InfluxDBTokenCreate}
|
|
40115
|
+
* @memberof SharedApiInfluxDBCreateToken
|
|
40116
|
+
*/
|
|
40117
|
+
readonly influxDBTokenCreate: InfluxDBTokenCreate
|
|
40118
|
+
}
|
|
40119
|
+
|
|
40120
|
+
/**
|
|
40121
|
+
* Request parameters for influxDBCreateUser operation in SharedApi.
|
|
40122
|
+
* @export
|
|
40123
|
+
* @interface SharedApiInfluxDBCreateUserRequest
|
|
40124
|
+
*/
|
|
40125
|
+
export interface SharedApiInfluxDBCreateUserRequest {
|
|
40126
|
+
/**
|
|
40127
|
+
*
|
|
40128
|
+
* @type {string}
|
|
40129
|
+
* @memberof SharedApiInfluxDBCreateUser
|
|
40130
|
+
*/
|
|
40131
|
+
readonly orgName: string
|
|
40132
|
+
|
|
40133
|
+
/**
|
|
40134
|
+
*
|
|
40135
|
+
* @type {string}
|
|
40136
|
+
* @memberof SharedApiInfluxDBCreateUser
|
|
40137
|
+
*/
|
|
40138
|
+
readonly clusterName: string
|
|
40139
|
+
|
|
40140
|
+
/**
|
|
40141
|
+
*
|
|
40142
|
+
* @type {InfluxDBUserCreate}
|
|
40143
|
+
* @memberof SharedApiInfluxDBCreateUser
|
|
40144
|
+
*/
|
|
40145
|
+
readonly influxDBUserCreate: InfluxDBUserCreate
|
|
40146
|
+
}
|
|
40147
|
+
|
|
40148
|
+
/**
|
|
40149
|
+
* Request parameters for influxDBDeleteToken operation in SharedApi.
|
|
40150
|
+
* @export
|
|
40151
|
+
* @interface SharedApiInfluxDBDeleteTokenRequest
|
|
40152
|
+
*/
|
|
40153
|
+
export interface SharedApiInfluxDBDeleteTokenRequest {
|
|
40154
|
+
/**
|
|
40155
|
+
*
|
|
40156
|
+
* @type {string}
|
|
40157
|
+
* @memberof SharedApiInfluxDBDeleteToken
|
|
40158
|
+
*/
|
|
40159
|
+
readonly orgName: string
|
|
40160
|
+
|
|
40161
|
+
/**
|
|
40162
|
+
*
|
|
40163
|
+
* @type {string}
|
|
40164
|
+
* @memberof SharedApiInfluxDBDeleteToken
|
|
40165
|
+
*/
|
|
40166
|
+
readonly clusterName: string
|
|
40167
|
+
|
|
40168
|
+
/**
|
|
40169
|
+
*
|
|
40170
|
+
* @type {string}
|
|
40171
|
+
* @memberof SharedApiInfluxDBDeleteToken
|
|
40172
|
+
*/
|
|
40173
|
+
readonly userID: string
|
|
40174
|
+
|
|
40175
|
+
/**
|
|
40176
|
+
*
|
|
40177
|
+
* @type {string}
|
|
40178
|
+
* @memberof SharedApiInfluxDBDeleteToken
|
|
40179
|
+
*/
|
|
40180
|
+
readonly tokenID: string
|
|
40181
|
+
}
|
|
40182
|
+
|
|
40183
|
+
/**
|
|
40184
|
+
* Request parameters for influxDBDeleteUser operation in SharedApi.
|
|
40185
|
+
* @export
|
|
40186
|
+
* @interface SharedApiInfluxDBDeleteUserRequest
|
|
40187
|
+
*/
|
|
40188
|
+
export interface SharedApiInfluxDBDeleteUserRequest {
|
|
40189
|
+
/**
|
|
40190
|
+
*
|
|
40191
|
+
* @type {string}
|
|
40192
|
+
* @memberof SharedApiInfluxDBDeleteUser
|
|
40193
|
+
*/
|
|
40194
|
+
readonly orgName: string
|
|
40195
|
+
|
|
40196
|
+
/**
|
|
40197
|
+
*
|
|
40198
|
+
* @type {string}
|
|
40199
|
+
* @memberof SharedApiInfluxDBDeleteUser
|
|
40200
|
+
*/
|
|
40201
|
+
readonly clusterName: string
|
|
40202
|
+
|
|
40203
|
+
/**
|
|
40204
|
+
*
|
|
40205
|
+
* @type {string}
|
|
40206
|
+
* @memberof SharedApiInfluxDBDeleteUser
|
|
40207
|
+
*/
|
|
40208
|
+
readonly userID: string
|
|
40209
|
+
}
|
|
40210
|
+
|
|
40211
|
+
/**
|
|
40212
|
+
* Request parameters for influxDBListBuckets operation in SharedApi.
|
|
40213
|
+
* @export
|
|
40214
|
+
* @interface SharedApiInfluxDBListBucketsRequest
|
|
40215
|
+
*/
|
|
40216
|
+
export interface SharedApiInfluxDBListBucketsRequest {
|
|
40217
|
+
/**
|
|
40218
|
+
*
|
|
40219
|
+
* @type {string}
|
|
40220
|
+
* @memberof SharedApiInfluxDBListBuckets
|
|
40221
|
+
*/
|
|
40222
|
+
readonly orgName: string
|
|
40223
|
+
|
|
40224
|
+
/**
|
|
40225
|
+
*
|
|
40226
|
+
* @type {string}
|
|
40227
|
+
* @memberof SharedApiInfluxDBListBuckets
|
|
40228
|
+
*/
|
|
40229
|
+
readonly clusterName: string
|
|
40230
|
+
|
|
40231
|
+
/**
|
|
40232
|
+
*
|
|
40233
|
+
* @type {string}
|
|
40234
|
+
* @memberof SharedApiInfluxDBListBuckets
|
|
40235
|
+
*/
|
|
40236
|
+
readonly influxOrgID: string
|
|
40237
|
+
}
|
|
40238
|
+
|
|
40239
|
+
/**
|
|
40240
|
+
* Request parameters for influxDBListOrganizations operation in SharedApi.
|
|
40241
|
+
* @export
|
|
40242
|
+
* @interface SharedApiInfluxDBListOrganizationsRequest
|
|
40243
|
+
*/
|
|
40244
|
+
export interface SharedApiInfluxDBListOrganizationsRequest {
|
|
40245
|
+
/**
|
|
40246
|
+
*
|
|
40247
|
+
* @type {string}
|
|
40248
|
+
* @memberof SharedApiInfluxDBListOrganizations
|
|
40249
|
+
*/
|
|
40250
|
+
readonly orgName: string
|
|
40251
|
+
|
|
40252
|
+
/**
|
|
40253
|
+
*
|
|
40254
|
+
* @type {string}
|
|
40255
|
+
* @memberof SharedApiInfluxDBListOrganizations
|
|
40256
|
+
*/
|
|
40257
|
+
readonly clusterName: string
|
|
40258
|
+
}
|
|
40259
|
+
|
|
40260
|
+
/**
|
|
40261
|
+
* Request parameters for influxDBListTokens operation in SharedApi.
|
|
40262
|
+
* @export
|
|
40263
|
+
* @interface SharedApiInfluxDBListTokensRequest
|
|
40264
|
+
*/
|
|
40265
|
+
export interface SharedApiInfluxDBListTokensRequest {
|
|
40266
|
+
/**
|
|
40267
|
+
*
|
|
40268
|
+
* @type {string}
|
|
40269
|
+
* @memberof SharedApiInfluxDBListTokens
|
|
40270
|
+
*/
|
|
40271
|
+
readonly orgName: string
|
|
40272
|
+
|
|
40273
|
+
/**
|
|
40274
|
+
*
|
|
40275
|
+
* @type {string}
|
|
40276
|
+
* @memberof SharedApiInfluxDBListTokens
|
|
40277
|
+
*/
|
|
40278
|
+
readonly clusterName: string
|
|
40279
|
+
|
|
40280
|
+
/**
|
|
40281
|
+
*
|
|
40282
|
+
* @type {string}
|
|
40283
|
+
* @memberof SharedApiInfluxDBListTokens
|
|
40284
|
+
*/
|
|
40285
|
+
readonly userID: string
|
|
40286
|
+
}
|
|
40287
|
+
|
|
40288
|
+
/**
|
|
40289
|
+
* Request parameters for influxDBListUsers operation in SharedApi.
|
|
40290
|
+
* @export
|
|
40291
|
+
* @interface SharedApiInfluxDBListUsersRequest
|
|
40292
|
+
*/
|
|
40293
|
+
export interface SharedApiInfluxDBListUsersRequest {
|
|
40294
|
+
/**
|
|
40295
|
+
*
|
|
40296
|
+
* @type {string}
|
|
40297
|
+
* @memberof SharedApiInfluxDBListUsers
|
|
40298
|
+
*/
|
|
40299
|
+
readonly orgName: string
|
|
40300
|
+
|
|
40301
|
+
/**
|
|
40302
|
+
*
|
|
40303
|
+
* @type {string}
|
|
40304
|
+
* @memberof SharedApiInfluxDBListUsers
|
|
40305
|
+
*/
|
|
40306
|
+
readonly clusterName: string
|
|
40307
|
+
}
|
|
40308
|
+
|
|
40309
|
+
/**
|
|
40310
|
+
* Request parameters for influxDBUpdateToken operation in SharedApi.
|
|
40311
|
+
* @export
|
|
40312
|
+
* @interface SharedApiInfluxDBUpdateTokenRequest
|
|
40313
|
+
*/
|
|
40314
|
+
export interface SharedApiInfluxDBUpdateTokenRequest {
|
|
40315
|
+
/**
|
|
40316
|
+
*
|
|
40317
|
+
* @type {string}
|
|
40318
|
+
* @memberof SharedApiInfluxDBUpdateToken
|
|
40319
|
+
*/
|
|
40320
|
+
readonly orgName: string
|
|
40321
|
+
|
|
40322
|
+
/**
|
|
40323
|
+
*
|
|
40324
|
+
* @type {string}
|
|
40325
|
+
* @memberof SharedApiInfluxDBUpdateToken
|
|
40326
|
+
*/
|
|
40327
|
+
readonly clusterName: string
|
|
40328
|
+
|
|
40329
|
+
/**
|
|
40330
|
+
*
|
|
40331
|
+
* @type {string}
|
|
40332
|
+
* @memberof SharedApiInfluxDBUpdateToken
|
|
40333
|
+
*/
|
|
40334
|
+
readonly userID: string
|
|
40335
|
+
|
|
40336
|
+
/**
|
|
40337
|
+
*
|
|
40338
|
+
* @type {string}
|
|
40339
|
+
* @memberof SharedApiInfluxDBUpdateToken
|
|
40340
|
+
*/
|
|
40341
|
+
readonly tokenID: string
|
|
40342
|
+
|
|
40343
|
+
/**
|
|
40344
|
+
*
|
|
40345
|
+
* @type {InfluxDBTokenUpdate}
|
|
40346
|
+
* @memberof SharedApiInfluxDBUpdateToken
|
|
40347
|
+
*/
|
|
40348
|
+
readonly influxDBTokenUpdate: InfluxDBTokenUpdate
|
|
40349
|
+
}
|
|
40350
|
+
|
|
39166
40351
|
/**
|
|
39167
40352
|
* Request parameters for killSession operation in SharedApi.
|
|
39168
40353
|
* @export
|
|
@@ -40388,7 +41573,7 @@ export interface SharedApiListObjectsTreeForSelectiveBackupRequest {
|
|
|
40388
41573
|
readonly clusterName: string
|
|
40389
41574
|
|
|
40390
41575
|
/**
|
|
40391
|
-
*
|
|
41576
|
+
* Database name for engines configured to switch the object tree by database.
|
|
40392
41577
|
* @type {string}
|
|
40393
41578
|
* @memberof SharedApiListObjectsTreeForSelectiveBackup
|
|
40394
41579
|
*/
|
|
@@ -47774,6 +48959,126 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
47774
48959
|
return SharedApiFp(this.configuration).importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(this.axios, this.basePath));
|
|
47775
48960
|
}
|
|
47776
48961
|
|
|
48962
|
+
/**
|
|
48963
|
+
*
|
|
48964
|
+
* @summary InfluxDB ChangePassword
|
|
48965
|
+
* @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
48966
|
+
* @param {*} [options] Override http request option.
|
|
48967
|
+
* @throws {RequiredError}
|
|
48968
|
+
* @memberof SharedApi
|
|
48969
|
+
*/
|
|
48970
|
+
public influxDBChangePassword(requestParameters: SharedApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig) {
|
|
48971
|
+
return SharedApiFp(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
48972
|
+
}
|
|
48973
|
+
|
|
48974
|
+
/**
|
|
48975
|
+
*
|
|
48976
|
+
* @summary InfluxDB CreateToken
|
|
48977
|
+
* @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
48978
|
+
* @param {*} [options] Override http request option.
|
|
48979
|
+
* @throws {RequiredError}
|
|
48980
|
+
* @memberof SharedApi
|
|
48981
|
+
*/
|
|
48982
|
+
public influxDBCreateToken(requestParameters: SharedApiInfluxDBCreateTokenRequest, options?: RawAxiosRequestConfig) {
|
|
48983
|
+
return SharedApiFp(this.configuration).influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(this.axios, this.basePath));
|
|
48984
|
+
}
|
|
48985
|
+
|
|
48986
|
+
/**
|
|
48987
|
+
*
|
|
48988
|
+
* @summary InfluxDB CreateUser
|
|
48989
|
+
* @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
48990
|
+
* @param {*} [options] Override http request option.
|
|
48991
|
+
* @throws {RequiredError}
|
|
48992
|
+
* @memberof SharedApi
|
|
48993
|
+
*/
|
|
48994
|
+
public influxDBCreateUser(requestParameters: SharedApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig) {
|
|
48995
|
+
return SharedApiFp(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
48996
|
+
}
|
|
48997
|
+
|
|
48998
|
+
/**
|
|
48999
|
+
*
|
|
49000
|
+
* @summary InfluxDB DeleteToken
|
|
49001
|
+
* @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
49002
|
+
* @param {*} [options] Override http request option.
|
|
49003
|
+
* @throws {RequiredError}
|
|
49004
|
+
* @memberof SharedApi
|
|
49005
|
+
*/
|
|
49006
|
+
public influxDBDeleteToken(requestParameters: SharedApiInfluxDBDeleteTokenRequest, options?: RawAxiosRequestConfig) {
|
|
49007
|
+
return SharedApiFp(this.configuration).influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(this.axios, this.basePath));
|
|
49008
|
+
}
|
|
49009
|
+
|
|
49010
|
+
/**
|
|
49011
|
+
*
|
|
49012
|
+
* @summary InfluxDB DeleteUser
|
|
49013
|
+
* @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
49014
|
+
* @param {*} [options] Override http request option.
|
|
49015
|
+
* @throws {RequiredError}
|
|
49016
|
+
* @memberof SharedApi
|
|
49017
|
+
*/
|
|
49018
|
+
public influxDBDeleteUser(requestParameters: SharedApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig) {
|
|
49019
|
+
return SharedApiFp(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
49020
|
+
}
|
|
49021
|
+
|
|
49022
|
+
/**
|
|
49023
|
+
*
|
|
49024
|
+
* @summary InfluxDB ListBuckets
|
|
49025
|
+
* @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
49026
|
+
* @param {*} [options] Override http request option.
|
|
49027
|
+
* @throws {RequiredError}
|
|
49028
|
+
* @memberof SharedApi
|
|
49029
|
+
*/
|
|
49030
|
+
public influxDBListBuckets(requestParameters: SharedApiInfluxDBListBucketsRequest, options?: RawAxiosRequestConfig) {
|
|
49031
|
+
return SharedApiFp(this.configuration).influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
49032
|
+
}
|
|
49033
|
+
|
|
49034
|
+
/**
|
|
49035
|
+
*
|
|
49036
|
+
* @summary InfluxDB ListOrganizations
|
|
49037
|
+
* @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
49038
|
+
* @param {*} [options] Override http request option.
|
|
49039
|
+
* @throws {RequiredError}
|
|
49040
|
+
* @memberof SharedApi
|
|
49041
|
+
*/
|
|
49042
|
+
public influxDBListOrganizations(requestParameters: SharedApiInfluxDBListOrganizationsRequest, options?: RawAxiosRequestConfig) {
|
|
49043
|
+
return SharedApiFp(this.configuration).influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
49044
|
+
}
|
|
49045
|
+
|
|
49046
|
+
/**
|
|
49047
|
+
*
|
|
49048
|
+
* @summary InfluxDB ListTokens
|
|
49049
|
+
* @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
49050
|
+
* @param {*} [options] Override http request option.
|
|
49051
|
+
* @throws {RequiredError}
|
|
49052
|
+
* @memberof SharedApi
|
|
49053
|
+
*/
|
|
49054
|
+
public influxDBListTokens(requestParameters: SharedApiInfluxDBListTokensRequest, options?: RawAxiosRequestConfig) {
|
|
49055
|
+
return SharedApiFp(this.configuration).influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
49056
|
+
}
|
|
49057
|
+
|
|
49058
|
+
/**
|
|
49059
|
+
*
|
|
49060
|
+
* @summary InfluxDB ListUsers
|
|
49061
|
+
* @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
49062
|
+
* @param {*} [options] Override http request option.
|
|
49063
|
+
* @throws {RequiredError}
|
|
49064
|
+
* @memberof SharedApi
|
|
49065
|
+
*/
|
|
49066
|
+
public influxDBListUsers(requestParameters: SharedApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig) {
|
|
49067
|
+
return SharedApiFp(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
49068
|
+
}
|
|
49069
|
+
|
|
49070
|
+
/**
|
|
49071
|
+
*
|
|
49072
|
+
* @summary InfluxDB UpdateToken
|
|
49073
|
+
* @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
49074
|
+
* @param {*} [options] Override http request option.
|
|
49075
|
+
* @throws {RequiredError}
|
|
49076
|
+
* @memberof SharedApi
|
|
49077
|
+
*/
|
|
49078
|
+
public influxDBUpdateToken(requestParameters: SharedApiInfluxDBUpdateTokenRequest, options?: RawAxiosRequestConfig) {
|
|
49079
|
+
return SharedApiFp(this.configuration).influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
49080
|
+
}
|
|
49081
|
+
|
|
47777
49082
|
/**
|
|
47778
49083
|
* kill a session in cluster
|
|
47779
49084
|
* @summary Kill cluster session
|