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
|
@@ -7874,6 +7874,444 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
7874
7874
|
options: localVarRequestOptions,
|
|
7875
7875
|
};
|
|
7876
7876
|
},
|
|
7877
|
+
/**
|
|
7878
|
+
*
|
|
7879
|
+
* @summary InfluxDB ChangePassword
|
|
7880
|
+
* @param {string} orgName
|
|
7881
|
+
* @param {string} clusterName
|
|
7882
|
+
* @param {string} userID
|
|
7883
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
7884
|
+
* @param {*} [options] Override http request option.
|
|
7885
|
+
* @throws {RequiredError}
|
|
7886
|
+
*/
|
|
7887
|
+
influxDBChangePassword: async (orgName, clusterName, userID, influxDBPasswordChange, options = {}) => {
|
|
7888
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7889
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'orgName', orgName);
|
|
7890
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7891
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'clusterName', clusterName);
|
|
7892
|
+
// verify required parameter 'userID' is not null or undefined
|
|
7893
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'userID', userID);
|
|
7894
|
+
// verify required parameter 'influxDBPasswordChange' is not null or undefined
|
|
7895
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'influxDBPasswordChange', influxDBPasswordChange);
|
|
7896
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/password`
|
|
7897
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7898
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
7899
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
7900
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7901
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7902
|
+
let baseOptions;
|
|
7903
|
+
if (configuration) {
|
|
7904
|
+
baseOptions = configuration.baseOptions;
|
|
7905
|
+
}
|
|
7906
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
7907
|
+
const localVarHeaderParameter = {};
|
|
7908
|
+
const localVarQueryParameter = {};
|
|
7909
|
+
// authentication BearerToken required
|
|
7910
|
+
// http bearer authentication required
|
|
7911
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7912
|
+
// authentication DigestAuth required
|
|
7913
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7914
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7915
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7916
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7917
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7918
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBPasswordChange, localVarRequestOptions, configuration);
|
|
7919
|
+
return {
|
|
7920
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7921
|
+
options: localVarRequestOptions,
|
|
7922
|
+
};
|
|
7923
|
+
},
|
|
7924
|
+
/**
|
|
7925
|
+
*
|
|
7926
|
+
* @summary InfluxDB CreateToken
|
|
7927
|
+
* @param {string} orgName
|
|
7928
|
+
* @param {string} clusterName
|
|
7929
|
+
* @param {string} userID
|
|
7930
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
7931
|
+
* @param {*} [options] Override http request option.
|
|
7932
|
+
* @throws {RequiredError}
|
|
7933
|
+
*/
|
|
7934
|
+
influxDBCreateToken: async (orgName, clusterName, userID, influxDBTokenCreate, options = {}) => {
|
|
7935
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7936
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'orgName', orgName);
|
|
7937
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7938
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'clusterName', clusterName);
|
|
7939
|
+
// verify required parameter 'userID' is not null or undefined
|
|
7940
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'userID', userID);
|
|
7941
|
+
// verify required parameter 'influxDBTokenCreate' is not null or undefined
|
|
7942
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'influxDBTokenCreate', influxDBTokenCreate);
|
|
7943
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
7944
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7945
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
7946
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
7947
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7948
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7949
|
+
let baseOptions;
|
|
7950
|
+
if (configuration) {
|
|
7951
|
+
baseOptions = configuration.baseOptions;
|
|
7952
|
+
}
|
|
7953
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7954
|
+
const localVarHeaderParameter = {};
|
|
7955
|
+
const localVarQueryParameter = {};
|
|
7956
|
+
// authentication BearerToken required
|
|
7957
|
+
// http bearer authentication required
|
|
7958
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7959
|
+
// authentication DigestAuth required
|
|
7960
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7961
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7962
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7963
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7964
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7965
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBTokenCreate, localVarRequestOptions, configuration);
|
|
7966
|
+
return {
|
|
7967
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7968
|
+
options: localVarRequestOptions,
|
|
7969
|
+
};
|
|
7970
|
+
},
|
|
7971
|
+
/**
|
|
7972
|
+
*
|
|
7973
|
+
* @summary InfluxDB CreateUser
|
|
7974
|
+
* @param {string} orgName
|
|
7975
|
+
* @param {string} clusterName
|
|
7976
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
7977
|
+
* @param {*} [options] Override http request option.
|
|
7978
|
+
* @throws {RequiredError}
|
|
7979
|
+
*/
|
|
7980
|
+
influxDBCreateUser: async (orgName, clusterName, influxDBUserCreate, options = {}) => {
|
|
7981
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7982
|
+
(0, common_1.assertParamExists)('influxDBCreateUser', 'orgName', orgName);
|
|
7983
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7984
|
+
(0, common_1.assertParamExists)('influxDBCreateUser', 'clusterName', clusterName);
|
|
7985
|
+
// verify required parameter 'influxDBUserCreate' is not null or undefined
|
|
7986
|
+
(0, common_1.assertParamExists)('influxDBCreateUser', 'influxDBUserCreate', influxDBUserCreate);
|
|
7987
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
7988
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7989
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7990
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7991
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7992
|
+
let baseOptions;
|
|
7993
|
+
if (configuration) {
|
|
7994
|
+
baseOptions = configuration.baseOptions;
|
|
7995
|
+
}
|
|
7996
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7997
|
+
const localVarHeaderParameter = {};
|
|
7998
|
+
const localVarQueryParameter = {};
|
|
7999
|
+
// authentication BearerToken required
|
|
8000
|
+
// http bearer authentication required
|
|
8001
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8002
|
+
// authentication DigestAuth required
|
|
8003
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8004
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8005
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8006
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8007
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8008
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBUserCreate, localVarRequestOptions, configuration);
|
|
8009
|
+
return {
|
|
8010
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8011
|
+
options: localVarRequestOptions,
|
|
8012
|
+
};
|
|
8013
|
+
},
|
|
8014
|
+
/**
|
|
8015
|
+
*
|
|
8016
|
+
* @summary InfluxDB DeleteToken
|
|
8017
|
+
* @param {string} orgName
|
|
8018
|
+
* @param {string} clusterName
|
|
8019
|
+
* @param {string} userID
|
|
8020
|
+
* @param {string} tokenID
|
|
8021
|
+
* @param {*} [options] Override http request option.
|
|
8022
|
+
* @throws {RequiredError}
|
|
8023
|
+
*/
|
|
8024
|
+
influxDBDeleteToken: async (orgName, clusterName, userID, tokenID, options = {}) => {
|
|
8025
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8026
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'orgName', orgName);
|
|
8027
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8028
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'clusterName', clusterName);
|
|
8029
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8030
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'userID', userID);
|
|
8031
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
8032
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'tokenID', tokenID);
|
|
8033
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
8034
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8035
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8036
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
8037
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
8038
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8039
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8040
|
+
let baseOptions;
|
|
8041
|
+
if (configuration) {
|
|
8042
|
+
baseOptions = configuration.baseOptions;
|
|
8043
|
+
}
|
|
8044
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
8045
|
+
const localVarHeaderParameter = {};
|
|
8046
|
+
const localVarQueryParameter = {};
|
|
8047
|
+
// authentication BearerToken required
|
|
8048
|
+
// http bearer authentication required
|
|
8049
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8050
|
+
// authentication DigestAuth required
|
|
8051
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8052
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8053
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8054
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8055
|
+
return {
|
|
8056
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8057
|
+
options: localVarRequestOptions,
|
|
8058
|
+
};
|
|
8059
|
+
},
|
|
8060
|
+
/**
|
|
8061
|
+
*
|
|
8062
|
+
* @summary InfluxDB DeleteUser
|
|
8063
|
+
* @param {string} orgName
|
|
8064
|
+
* @param {string} clusterName
|
|
8065
|
+
* @param {string} userID
|
|
8066
|
+
* @param {*} [options] Override http request option.
|
|
8067
|
+
* @throws {RequiredError}
|
|
8068
|
+
*/
|
|
8069
|
+
influxDBDeleteUser: async (orgName, clusterName, userID, options = {}) => {
|
|
8070
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8071
|
+
(0, common_1.assertParamExists)('influxDBDeleteUser', 'orgName', orgName);
|
|
8072
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8073
|
+
(0, common_1.assertParamExists)('influxDBDeleteUser', 'clusterName', clusterName);
|
|
8074
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8075
|
+
(0, common_1.assertParamExists)('influxDBDeleteUser', 'userID', userID);
|
|
8076
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}`
|
|
8077
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8078
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8079
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
8080
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8081
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8082
|
+
let baseOptions;
|
|
8083
|
+
if (configuration) {
|
|
8084
|
+
baseOptions = configuration.baseOptions;
|
|
8085
|
+
}
|
|
8086
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
8087
|
+
const localVarHeaderParameter = {};
|
|
8088
|
+
const localVarQueryParameter = {};
|
|
8089
|
+
// authentication BearerToken required
|
|
8090
|
+
// http bearer authentication required
|
|
8091
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8092
|
+
// authentication DigestAuth required
|
|
8093
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8094
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8095
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8096
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8097
|
+
return {
|
|
8098
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8099
|
+
options: localVarRequestOptions,
|
|
8100
|
+
};
|
|
8101
|
+
},
|
|
8102
|
+
/**
|
|
8103
|
+
*
|
|
8104
|
+
* @summary InfluxDB ListBuckets
|
|
8105
|
+
* @param {string} orgName
|
|
8106
|
+
* @param {string} clusterName
|
|
8107
|
+
* @param {string} influxOrgID
|
|
8108
|
+
* @param {*} [options] Override http request option.
|
|
8109
|
+
* @throws {RequiredError}
|
|
8110
|
+
*/
|
|
8111
|
+
influxDBListBuckets: async (orgName, clusterName, influxOrgID, options = {}) => {
|
|
8112
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8113
|
+
(0, common_1.assertParamExists)('influxDBListBuckets', 'orgName', orgName);
|
|
8114
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8115
|
+
(0, common_1.assertParamExists)('influxDBListBuckets', 'clusterName', clusterName);
|
|
8116
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
8117
|
+
(0, common_1.assertParamExists)('influxDBListBuckets', 'influxOrgID', influxOrgID);
|
|
8118
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
|
|
8119
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8120
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8121
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8122
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8123
|
+
let baseOptions;
|
|
8124
|
+
if (configuration) {
|
|
8125
|
+
baseOptions = configuration.baseOptions;
|
|
8126
|
+
}
|
|
8127
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8128
|
+
const localVarHeaderParameter = {};
|
|
8129
|
+
const localVarQueryParameter = {};
|
|
8130
|
+
// authentication BearerToken required
|
|
8131
|
+
// http bearer authentication required
|
|
8132
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8133
|
+
// authentication DigestAuth required
|
|
8134
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8135
|
+
if (influxOrgID !== undefined) {
|
|
8136
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
8137
|
+
}
|
|
8138
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8139
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8140
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8141
|
+
return {
|
|
8142
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8143
|
+
options: localVarRequestOptions,
|
|
8144
|
+
};
|
|
8145
|
+
},
|
|
8146
|
+
/**
|
|
8147
|
+
*
|
|
8148
|
+
* @summary InfluxDB ListOrganizations
|
|
8149
|
+
* @param {string} orgName
|
|
8150
|
+
* @param {string} clusterName
|
|
8151
|
+
* @param {*} [options] Override http request option.
|
|
8152
|
+
* @throws {RequiredError}
|
|
8153
|
+
*/
|
|
8154
|
+
influxDBListOrganizations: async (orgName, clusterName, options = {}) => {
|
|
8155
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8156
|
+
(0, common_1.assertParamExists)('influxDBListOrganizations', 'orgName', orgName);
|
|
8157
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8158
|
+
(0, common_1.assertParamExists)('influxDBListOrganizations', 'clusterName', clusterName);
|
|
8159
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/organizations`
|
|
8160
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8161
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8163
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8164
|
+
let baseOptions;
|
|
8165
|
+
if (configuration) {
|
|
8166
|
+
baseOptions = configuration.baseOptions;
|
|
8167
|
+
}
|
|
8168
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8169
|
+
const localVarHeaderParameter = {};
|
|
8170
|
+
const localVarQueryParameter = {};
|
|
8171
|
+
// authentication BearerToken required
|
|
8172
|
+
// http bearer authentication required
|
|
8173
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8174
|
+
// authentication DigestAuth required
|
|
8175
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8176
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8178
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8179
|
+
return {
|
|
8180
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8181
|
+
options: localVarRequestOptions,
|
|
8182
|
+
};
|
|
8183
|
+
},
|
|
8184
|
+
/**
|
|
8185
|
+
*
|
|
8186
|
+
* @summary InfluxDB ListTokens
|
|
8187
|
+
* @param {string} orgName
|
|
8188
|
+
* @param {string} clusterName
|
|
8189
|
+
* @param {string} userID
|
|
8190
|
+
* @param {*} [options] Override http request option.
|
|
8191
|
+
* @throws {RequiredError}
|
|
8192
|
+
*/
|
|
8193
|
+
influxDBListTokens: async (orgName, clusterName, userID, options = {}) => {
|
|
8194
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8195
|
+
(0, common_1.assertParamExists)('influxDBListTokens', 'orgName', orgName);
|
|
8196
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8197
|
+
(0, common_1.assertParamExists)('influxDBListTokens', 'clusterName', clusterName);
|
|
8198
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8199
|
+
(0, common_1.assertParamExists)('influxDBListTokens', 'userID', userID);
|
|
8200
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
8201
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8202
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8203
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
8204
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8205
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8206
|
+
let baseOptions;
|
|
8207
|
+
if (configuration) {
|
|
8208
|
+
baseOptions = configuration.baseOptions;
|
|
8209
|
+
}
|
|
8210
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8211
|
+
const localVarHeaderParameter = {};
|
|
8212
|
+
const localVarQueryParameter = {};
|
|
8213
|
+
// authentication BearerToken required
|
|
8214
|
+
// http bearer authentication required
|
|
8215
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8216
|
+
// authentication DigestAuth required
|
|
8217
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8218
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8220
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8221
|
+
return {
|
|
8222
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8223
|
+
options: localVarRequestOptions,
|
|
8224
|
+
};
|
|
8225
|
+
},
|
|
8226
|
+
/**
|
|
8227
|
+
*
|
|
8228
|
+
* @summary InfluxDB ListUsers
|
|
8229
|
+
* @param {string} orgName
|
|
8230
|
+
* @param {string} clusterName
|
|
8231
|
+
* @param {*} [options] Override http request option.
|
|
8232
|
+
* @throws {RequiredError}
|
|
8233
|
+
*/
|
|
8234
|
+
influxDBListUsers: async (orgName, clusterName, options = {}) => {
|
|
8235
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8236
|
+
(0, common_1.assertParamExists)('influxDBListUsers', 'orgName', orgName);
|
|
8237
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8238
|
+
(0, common_1.assertParamExists)('influxDBListUsers', 'clusterName', clusterName);
|
|
8239
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
8240
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8241
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8243
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8244
|
+
let baseOptions;
|
|
8245
|
+
if (configuration) {
|
|
8246
|
+
baseOptions = configuration.baseOptions;
|
|
8247
|
+
}
|
|
8248
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8249
|
+
const localVarHeaderParameter = {};
|
|
8250
|
+
const localVarQueryParameter = {};
|
|
8251
|
+
// authentication BearerToken required
|
|
8252
|
+
// http bearer authentication required
|
|
8253
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8254
|
+
// authentication DigestAuth required
|
|
8255
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8256
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8258
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8259
|
+
return {
|
|
8260
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8261
|
+
options: localVarRequestOptions,
|
|
8262
|
+
};
|
|
8263
|
+
},
|
|
8264
|
+
/**
|
|
8265
|
+
*
|
|
8266
|
+
* @summary InfluxDB UpdateToken
|
|
8267
|
+
* @param {string} orgName
|
|
8268
|
+
* @param {string} clusterName
|
|
8269
|
+
* @param {string} userID
|
|
8270
|
+
* @param {string} tokenID
|
|
8271
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
8272
|
+
* @param {*} [options] Override http request option.
|
|
8273
|
+
* @throws {RequiredError}
|
|
8274
|
+
*/
|
|
8275
|
+
influxDBUpdateToken: async (orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options = {}) => {
|
|
8276
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8277
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'orgName', orgName);
|
|
8278
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8279
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'clusterName', clusterName);
|
|
8280
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8281
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'userID', userID);
|
|
8282
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
8283
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'tokenID', tokenID);
|
|
8284
|
+
// verify required parameter 'influxDBTokenUpdate' is not null or undefined
|
|
8285
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'influxDBTokenUpdate', influxDBTokenUpdate);
|
|
8286
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
8287
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8288
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8289
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
8290
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
8291
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8292
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8293
|
+
let baseOptions;
|
|
8294
|
+
if (configuration) {
|
|
8295
|
+
baseOptions = configuration.baseOptions;
|
|
8296
|
+
}
|
|
8297
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
8298
|
+
const localVarHeaderParameter = {};
|
|
8299
|
+
const localVarQueryParameter = {};
|
|
8300
|
+
// authentication BearerToken required
|
|
8301
|
+
// http bearer authentication required
|
|
8302
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8303
|
+
// authentication DigestAuth required
|
|
8304
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8305
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8306
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8308
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8309
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBTokenUpdate, localVarRequestOptions, configuration);
|
|
8310
|
+
return {
|
|
8311
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8312
|
+
options: localVarRequestOptions,
|
|
8313
|
+
};
|
|
8314
|
+
},
|
|
7877
8315
|
/**
|
|
7878
8316
|
* kill a session in cluster
|
|
7879
8317
|
* @summary Kill cluster session
|
|
@@ -9859,7 +10297,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9859
10297
|
* @summary List objects tree for selective backup
|
|
9860
10298
|
* @param {string} orgName name of the org
|
|
9861
10299
|
* @param {string} clusterName name of the cluster
|
|
9862
|
-
* @param {string} [database]
|
|
10300
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
9863
10301
|
* @param {*} [options] Override http request option.
|
|
9864
10302
|
* @throws {RequiredError}
|
|
9865
10303
|
*/
|
|
@@ -19564,6 +20002,169 @@ const SharedApiFp = function (configuration) {
|
|
|
19564
20002
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.importPreflight']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19565
20003
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19566
20004
|
},
|
|
20005
|
+
/**
|
|
20006
|
+
*
|
|
20007
|
+
* @summary InfluxDB ChangePassword
|
|
20008
|
+
* @param {string} orgName
|
|
20009
|
+
* @param {string} clusterName
|
|
20010
|
+
* @param {string} userID
|
|
20011
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
20012
|
+
* @param {*} [options] Override http request option.
|
|
20013
|
+
* @throws {RequiredError}
|
|
20014
|
+
*/
|
|
20015
|
+
async influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options) {
|
|
20016
|
+
var _a, _b, _c;
|
|
20017
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options);
|
|
20018
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20019
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBChangePassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20020
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20021
|
+
},
|
|
20022
|
+
/**
|
|
20023
|
+
*
|
|
20024
|
+
* @summary InfluxDB CreateToken
|
|
20025
|
+
* @param {string} orgName
|
|
20026
|
+
* @param {string} clusterName
|
|
20027
|
+
* @param {string} userID
|
|
20028
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
20029
|
+
* @param {*} [options] Override http request option.
|
|
20030
|
+
* @throws {RequiredError}
|
|
20031
|
+
*/
|
|
20032
|
+
async influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options) {
|
|
20033
|
+
var _a, _b, _c;
|
|
20034
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options);
|
|
20035
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20036
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBCreateToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20037
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20038
|
+
},
|
|
20039
|
+
/**
|
|
20040
|
+
*
|
|
20041
|
+
* @summary InfluxDB CreateUser
|
|
20042
|
+
* @param {string} orgName
|
|
20043
|
+
* @param {string} clusterName
|
|
20044
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
20045
|
+
* @param {*} [options] Override http request option.
|
|
20046
|
+
* @throws {RequiredError}
|
|
20047
|
+
*/
|
|
20048
|
+
async influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options) {
|
|
20049
|
+
var _a, _b, _c;
|
|
20050
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options);
|
|
20051
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20052
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBCreateUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20053
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20054
|
+
},
|
|
20055
|
+
/**
|
|
20056
|
+
*
|
|
20057
|
+
* @summary InfluxDB DeleteToken
|
|
20058
|
+
* @param {string} orgName
|
|
20059
|
+
* @param {string} clusterName
|
|
20060
|
+
* @param {string} userID
|
|
20061
|
+
* @param {string} tokenID
|
|
20062
|
+
* @param {*} [options] Override http request option.
|
|
20063
|
+
* @throws {RequiredError}
|
|
20064
|
+
*/
|
|
20065
|
+
async influxDBDeleteToken(orgName, clusterName, userID, tokenID, options) {
|
|
20066
|
+
var _a, _b, _c;
|
|
20067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteToken(orgName, clusterName, userID, tokenID, options);
|
|
20068
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20069
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBDeleteToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20070
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20071
|
+
},
|
|
20072
|
+
/**
|
|
20073
|
+
*
|
|
20074
|
+
* @summary InfluxDB DeleteUser
|
|
20075
|
+
* @param {string} orgName
|
|
20076
|
+
* @param {string} clusterName
|
|
20077
|
+
* @param {string} userID
|
|
20078
|
+
* @param {*} [options] Override http request option.
|
|
20079
|
+
* @throws {RequiredError}
|
|
20080
|
+
*/
|
|
20081
|
+
async influxDBDeleteUser(orgName, clusterName, userID, options) {
|
|
20082
|
+
var _a, _b, _c;
|
|
20083
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteUser(orgName, clusterName, userID, options);
|
|
20084
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20085
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBDeleteUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20086
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20087
|
+
},
|
|
20088
|
+
/**
|
|
20089
|
+
*
|
|
20090
|
+
* @summary InfluxDB ListBuckets
|
|
20091
|
+
* @param {string} orgName
|
|
20092
|
+
* @param {string} clusterName
|
|
20093
|
+
* @param {string} influxOrgID
|
|
20094
|
+
* @param {*} [options] Override http request option.
|
|
20095
|
+
* @throws {RequiredError}
|
|
20096
|
+
*/
|
|
20097
|
+
async influxDBListBuckets(orgName, clusterName, influxOrgID, options) {
|
|
20098
|
+
var _a, _b, _c;
|
|
20099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListBuckets(orgName, clusterName, influxOrgID, options);
|
|
20100
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20101
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBListBuckets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20102
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20103
|
+
},
|
|
20104
|
+
/**
|
|
20105
|
+
*
|
|
20106
|
+
* @summary InfluxDB ListOrganizations
|
|
20107
|
+
* @param {string} orgName
|
|
20108
|
+
* @param {string} clusterName
|
|
20109
|
+
* @param {*} [options] Override http request option.
|
|
20110
|
+
* @throws {RequiredError}
|
|
20111
|
+
*/
|
|
20112
|
+
async influxDBListOrganizations(orgName, clusterName, options) {
|
|
20113
|
+
var _a, _b, _c;
|
|
20114
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListOrganizations(orgName, clusterName, options);
|
|
20115
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20116
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBListOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20117
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20118
|
+
},
|
|
20119
|
+
/**
|
|
20120
|
+
*
|
|
20121
|
+
* @summary InfluxDB ListTokens
|
|
20122
|
+
* @param {string} orgName
|
|
20123
|
+
* @param {string} clusterName
|
|
20124
|
+
* @param {string} userID
|
|
20125
|
+
* @param {*} [options] Override http request option.
|
|
20126
|
+
* @throws {RequiredError}
|
|
20127
|
+
*/
|
|
20128
|
+
async influxDBListTokens(orgName, clusterName, userID, options) {
|
|
20129
|
+
var _a, _b, _c;
|
|
20130
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListTokens(orgName, clusterName, userID, options);
|
|
20131
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20132
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBListTokens']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20133
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20134
|
+
},
|
|
20135
|
+
/**
|
|
20136
|
+
*
|
|
20137
|
+
* @summary InfluxDB ListUsers
|
|
20138
|
+
* @param {string} orgName
|
|
20139
|
+
* @param {string} clusterName
|
|
20140
|
+
* @param {*} [options] Override http request option.
|
|
20141
|
+
* @throws {RequiredError}
|
|
20142
|
+
*/
|
|
20143
|
+
async influxDBListUsers(orgName, clusterName, options) {
|
|
20144
|
+
var _a, _b, _c;
|
|
20145
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListUsers(orgName, clusterName, options);
|
|
20146
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20147
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBListUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20148
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20149
|
+
},
|
|
20150
|
+
/**
|
|
20151
|
+
*
|
|
20152
|
+
* @summary InfluxDB UpdateToken
|
|
20153
|
+
* @param {string} orgName
|
|
20154
|
+
* @param {string} clusterName
|
|
20155
|
+
* @param {string} userID
|
|
20156
|
+
* @param {string} tokenID
|
|
20157
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
20158
|
+
* @param {*} [options] Override http request option.
|
|
20159
|
+
* @throws {RequiredError}
|
|
20160
|
+
*/
|
|
20161
|
+
async influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options) {
|
|
20162
|
+
var _a, _b, _c;
|
|
20163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options);
|
|
20164
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20165
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBUpdateToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20166
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20167
|
+
},
|
|
19567
20168
|
/**
|
|
19568
20169
|
* kill a session in cluster
|
|
19569
20170
|
* @summary Kill cluster session
|
|
@@ -20313,7 +20914,7 @@ const SharedApiFp = function (configuration) {
|
|
|
20313
20914
|
* @summary List objects tree for selective backup
|
|
20314
20915
|
* @param {string} orgName name of the org
|
|
20315
20916
|
* @param {string} clusterName name of the cluster
|
|
20316
|
-
* @param {string} [database]
|
|
20917
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
20317
20918
|
* @param {*} [options] Override http request option.
|
|
20318
20919
|
* @throws {RequiredError}
|
|
20319
20920
|
*/
|
|
@@ -24480,6 +25081,106 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
24480
25081
|
importPreflight(requestParameters, options) {
|
|
24481
25082
|
return localVarFp.importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(axios, basePath));
|
|
24482
25083
|
},
|
|
25084
|
+
/**
|
|
25085
|
+
*
|
|
25086
|
+
* @summary InfluxDB ChangePassword
|
|
25087
|
+
* @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
25088
|
+
* @param {*} [options] Override http request option.
|
|
25089
|
+
* @throws {RequiredError}
|
|
25090
|
+
*/
|
|
25091
|
+
influxDBChangePassword(requestParameters, options) {
|
|
25092
|
+
return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
25093
|
+
},
|
|
25094
|
+
/**
|
|
25095
|
+
*
|
|
25096
|
+
* @summary InfluxDB CreateToken
|
|
25097
|
+
* @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
25098
|
+
* @param {*} [options] Override http request option.
|
|
25099
|
+
* @throws {RequiredError}
|
|
25100
|
+
*/
|
|
25101
|
+
influxDBCreateToken(requestParameters, options) {
|
|
25102
|
+
return localVarFp.influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(axios, basePath));
|
|
25103
|
+
},
|
|
25104
|
+
/**
|
|
25105
|
+
*
|
|
25106
|
+
* @summary InfluxDB CreateUser
|
|
25107
|
+
* @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
25108
|
+
* @param {*} [options] Override http request option.
|
|
25109
|
+
* @throws {RequiredError}
|
|
25110
|
+
*/
|
|
25111
|
+
influxDBCreateUser(requestParameters, options) {
|
|
25112
|
+
return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
|
|
25113
|
+
},
|
|
25114
|
+
/**
|
|
25115
|
+
*
|
|
25116
|
+
* @summary InfluxDB DeleteToken
|
|
25117
|
+
* @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
25118
|
+
* @param {*} [options] Override http request option.
|
|
25119
|
+
* @throws {RequiredError}
|
|
25120
|
+
*/
|
|
25121
|
+
influxDBDeleteToken(requestParameters, options) {
|
|
25122
|
+
return localVarFp.influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(axios, basePath));
|
|
25123
|
+
},
|
|
25124
|
+
/**
|
|
25125
|
+
*
|
|
25126
|
+
* @summary InfluxDB DeleteUser
|
|
25127
|
+
* @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
25128
|
+
* @param {*} [options] Override http request option.
|
|
25129
|
+
* @throws {RequiredError}
|
|
25130
|
+
*/
|
|
25131
|
+
influxDBDeleteUser(requestParameters, options) {
|
|
25132
|
+
return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
25133
|
+
},
|
|
25134
|
+
/**
|
|
25135
|
+
*
|
|
25136
|
+
* @summary InfluxDB ListBuckets
|
|
25137
|
+
* @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
25138
|
+
* @param {*} [options] Override http request option.
|
|
25139
|
+
* @throws {RequiredError}
|
|
25140
|
+
*/
|
|
25141
|
+
influxDBListBuckets(requestParameters, options) {
|
|
25142
|
+
return localVarFp.influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
25143
|
+
},
|
|
25144
|
+
/**
|
|
25145
|
+
*
|
|
25146
|
+
* @summary InfluxDB ListOrganizations
|
|
25147
|
+
* @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
25148
|
+
* @param {*} [options] Override http request option.
|
|
25149
|
+
* @throws {RequiredError}
|
|
25150
|
+
*/
|
|
25151
|
+
influxDBListOrganizations(requestParameters, options) {
|
|
25152
|
+
return localVarFp.influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
25153
|
+
},
|
|
25154
|
+
/**
|
|
25155
|
+
*
|
|
25156
|
+
* @summary InfluxDB ListTokens
|
|
25157
|
+
* @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
25158
|
+
* @param {*} [options] Override http request option.
|
|
25159
|
+
* @throws {RequiredError}
|
|
25160
|
+
*/
|
|
25161
|
+
influxDBListTokens(requestParameters, options) {
|
|
25162
|
+
return localVarFp.influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
25163
|
+
},
|
|
25164
|
+
/**
|
|
25165
|
+
*
|
|
25166
|
+
* @summary InfluxDB ListUsers
|
|
25167
|
+
* @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
25168
|
+
* @param {*} [options] Override http request option.
|
|
25169
|
+
* @throws {RequiredError}
|
|
25170
|
+
*/
|
|
25171
|
+
influxDBListUsers(requestParameters, options) {
|
|
25172
|
+
return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
25173
|
+
},
|
|
25174
|
+
/**
|
|
25175
|
+
*
|
|
25176
|
+
* @summary InfluxDB UpdateToken
|
|
25177
|
+
* @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
25178
|
+
* @param {*} [options] Override http request option.
|
|
25179
|
+
* @throws {RequiredError}
|
|
25180
|
+
*/
|
|
25181
|
+
influxDBUpdateToken(requestParameters, options) {
|
|
25182
|
+
return localVarFp.influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(axios, basePath));
|
|
25183
|
+
},
|
|
24483
25184
|
/**
|
|
24484
25185
|
* kill a session in cluster
|
|
24485
25186
|
* @summary Kill cluster session
|
|
@@ -28245,6 +28946,116 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
28245
28946
|
importPreflight(requestParameters, options) {
|
|
28246
28947
|
return (0, exports.SharedApiFp)(this.configuration).importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28247
28948
|
}
|
|
28949
|
+
/**
|
|
28950
|
+
*
|
|
28951
|
+
* @summary InfluxDB ChangePassword
|
|
28952
|
+
* @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
28953
|
+
* @param {*} [options] Override http request option.
|
|
28954
|
+
* @throws {RequiredError}
|
|
28955
|
+
* @memberof SharedApi
|
|
28956
|
+
*/
|
|
28957
|
+
influxDBChangePassword(requestParameters, options) {
|
|
28958
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
28959
|
+
}
|
|
28960
|
+
/**
|
|
28961
|
+
*
|
|
28962
|
+
* @summary InfluxDB CreateToken
|
|
28963
|
+
* @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
28964
|
+
* @param {*} [options] Override http request option.
|
|
28965
|
+
* @throws {RequiredError}
|
|
28966
|
+
* @memberof SharedApi
|
|
28967
|
+
*/
|
|
28968
|
+
influxDBCreateToken(requestParameters, options) {
|
|
28969
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(this.axios, this.basePath));
|
|
28970
|
+
}
|
|
28971
|
+
/**
|
|
28972
|
+
*
|
|
28973
|
+
* @summary InfluxDB CreateUser
|
|
28974
|
+
* @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
28975
|
+
* @param {*} [options] Override http request option.
|
|
28976
|
+
* @throws {RequiredError}
|
|
28977
|
+
* @memberof SharedApi
|
|
28978
|
+
*/
|
|
28979
|
+
influxDBCreateUser(requestParameters, options) {
|
|
28980
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
28981
|
+
}
|
|
28982
|
+
/**
|
|
28983
|
+
*
|
|
28984
|
+
* @summary InfluxDB DeleteToken
|
|
28985
|
+
* @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
28986
|
+
* @param {*} [options] Override http request option.
|
|
28987
|
+
* @throws {RequiredError}
|
|
28988
|
+
* @memberof SharedApi
|
|
28989
|
+
*/
|
|
28990
|
+
influxDBDeleteToken(requestParameters, options) {
|
|
28991
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(this.axios, this.basePath));
|
|
28992
|
+
}
|
|
28993
|
+
/**
|
|
28994
|
+
*
|
|
28995
|
+
* @summary InfluxDB DeleteUser
|
|
28996
|
+
* @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
28997
|
+
* @param {*} [options] Override http request option.
|
|
28998
|
+
* @throws {RequiredError}
|
|
28999
|
+
* @memberof SharedApi
|
|
29000
|
+
*/
|
|
29001
|
+
influxDBDeleteUser(requestParameters, options) {
|
|
29002
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
29003
|
+
}
|
|
29004
|
+
/**
|
|
29005
|
+
*
|
|
29006
|
+
* @summary InfluxDB ListBuckets
|
|
29007
|
+
* @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
29008
|
+
* @param {*} [options] Override http request option.
|
|
29009
|
+
* @throws {RequiredError}
|
|
29010
|
+
* @memberof SharedApi
|
|
29011
|
+
*/
|
|
29012
|
+
influxDBListBuckets(requestParameters, options) {
|
|
29013
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
29014
|
+
}
|
|
29015
|
+
/**
|
|
29016
|
+
*
|
|
29017
|
+
* @summary InfluxDB ListOrganizations
|
|
29018
|
+
* @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
29019
|
+
* @param {*} [options] Override http request option.
|
|
29020
|
+
* @throws {RequiredError}
|
|
29021
|
+
* @memberof SharedApi
|
|
29022
|
+
*/
|
|
29023
|
+
influxDBListOrganizations(requestParameters, options) {
|
|
29024
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
29025
|
+
}
|
|
29026
|
+
/**
|
|
29027
|
+
*
|
|
29028
|
+
* @summary InfluxDB ListTokens
|
|
29029
|
+
* @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
29030
|
+
* @param {*} [options] Override http request option.
|
|
29031
|
+
* @throws {RequiredError}
|
|
29032
|
+
* @memberof SharedApi
|
|
29033
|
+
*/
|
|
29034
|
+
influxDBListTokens(requestParameters, options) {
|
|
29035
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
29036
|
+
}
|
|
29037
|
+
/**
|
|
29038
|
+
*
|
|
29039
|
+
* @summary InfluxDB ListUsers
|
|
29040
|
+
* @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
29041
|
+
* @param {*} [options] Override http request option.
|
|
29042
|
+
* @throws {RequiredError}
|
|
29043
|
+
* @memberof SharedApi
|
|
29044
|
+
*/
|
|
29045
|
+
influxDBListUsers(requestParameters, options) {
|
|
29046
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
29047
|
+
}
|
|
29048
|
+
/**
|
|
29049
|
+
*
|
|
29050
|
+
* @summary InfluxDB UpdateToken
|
|
29051
|
+
* @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
29052
|
+
* @param {*} [options] Override http request option.
|
|
29053
|
+
* @throws {RequiredError}
|
|
29054
|
+
* @memberof SharedApi
|
|
29055
|
+
*/
|
|
29056
|
+
influxDBUpdateToken(requestParameters, options) {
|
|
29057
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
29058
|
+
}
|
|
28248
29059
|
/**
|
|
28249
29060
|
* kill a session in cluster
|
|
28250
29061
|
* @summary Kill cluster session
|