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
|
@@ -8085,6 +8085,444 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8085
8085
|
options: localVarRequestOptions,
|
|
8086
8086
|
};
|
|
8087
8087
|
},
|
|
8088
|
+
/**
|
|
8089
|
+
*
|
|
8090
|
+
* @summary InfluxDB ChangePassword
|
|
8091
|
+
* @param {string} orgName
|
|
8092
|
+
* @param {string} clusterName
|
|
8093
|
+
* @param {string} userID
|
|
8094
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
8095
|
+
* @param {*} [options] Override http request option.
|
|
8096
|
+
* @throws {RequiredError}
|
|
8097
|
+
*/
|
|
8098
|
+
influxDBChangePassword: async (orgName, clusterName, userID, influxDBPasswordChange, options = {}) => {
|
|
8099
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8100
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'orgName', orgName);
|
|
8101
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8102
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'clusterName', clusterName);
|
|
8103
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8104
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'userID', userID);
|
|
8105
|
+
// verify required parameter 'influxDBPasswordChange' is not null or undefined
|
|
8106
|
+
(0, common_1.assertParamExists)('influxDBChangePassword', 'influxDBPasswordChange', influxDBPasswordChange);
|
|
8107
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/password`
|
|
8108
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8109
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8110
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
8111
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8112
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8113
|
+
let baseOptions;
|
|
8114
|
+
if (configuration) {
|
|
8115
|
+
baseOptions = configuration.baseOptions;
|
|
8116
|
+
}
|
|
8117
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
8118
|
+
const localVarHeaderParameter = {};
|
|
8119
|
+
const localVarQueryParameter = {};
|
|
8120
|
+
// authentication BearerToken required
|
|
8121
|
+
// http bearer authentication required
|
|
8122
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8123
|
+
// authentication DigestAuth required
|
|
8124
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8125
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8126
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8128
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8129
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBPasswordChange, localVarRequestOptions, configuration);
|
|
8130
|
+
return {
|
|
8131
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8132
|
+
options: localVarRequestOptions,
|
|
8133
|
+
};
|
|
8134
|
+
},
|
|
8135
|
+
/**
|
|
8136
|
+
*
|
|
8137
|
+
* @summary InfluxDB CreateToken
|
|
8138
|
+
* @param {string} orgName
|
|
8139
|
+
* @param {string} clusterName
|
|
8140
|
+
* @param {string} userID
|
|
8141
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
8142
|
+
* @param {*} [options] Override http request option.
|
|
8143
|
+
* @throws {RequiredError}
|
|
8144
|
+
*/
|
|
8145
|
+
influxDBCreateToken: async (orgName, clusterName, userID, influxDBTokenCreate, options = {}) => {
|
|
8146
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8147
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'orgName', orgName);
|
|
8148
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8149
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'clusterName', clusterName);
|
|
8150
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8151
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'userID', userID);
|
|
8152
|
+
// verify required parameter 'influxDBTokenCreate' is not null or undefined
|
|
8153
|
+
(0, common_1.assertParamExists)('influxDBCreateToken', 'influxDBTokenCreate', influxDBTokenCreate);
|
|
8154
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
8155
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8156
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8157
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
8158
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8159
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8160
|
+
let baseOptions;
|
|
8161
|
+
if (configuration) {
|
|
8162
|
+
baseOptions = configuration.baseOptions;
|
|
8163
|
+
}
|
|
8164
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8165
|
+
const localVarHeaderParameter = {};
|
|
8166
|
+
const localVarQueryParameter = {};
|
|
8167
|
+
// authentication BearerToken required
|
|
8168
|
+
// http bearer authentication required
|
|
8169
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8170
|
+
// authentication DigestAuth required
|
|
8171
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8172
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8173
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8174
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8175
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8176
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBTokenCreate, localVarRequestOptions, configuration);
|
|
8177
|
+
return {
|
|
8178
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8179
|
+
options: localVarRequestOptions,
|
|
8180
|
+
};
|
|
8181
|
+
},
|
|
8182
|
+
/**
|
|
8183
|
+
*
|
|
8184
|
+
* @summary InfluxDB CreateUser
|
|
8185
|
+
* @param {string} orgName
|
|
8186
|
+
* @param {string} clusterName
|
|
8187
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
8188
|
+
* @param {*} [options] Override http request option.
|
|
8189
|
+
* @throws {RequiredError}
|
|
8190
|
+
*/
|
|
8191
|
+
influxDBCreateUser: async (orgName, clusterName, influxDBUserCreate, options = {}) => {
|
|
8192
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8193
|
+
(0, common_1.assertParamExists)('influxDBCreateUser', 'orgName', orgName);
|
|
8194
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8195
|
+
(0, common_1.assertParamExists)('influxDBCreateUser', 'clusterName', clusterName);
|
|
8196
|
+
// verify required parameter 'influxDBUserCreate' is not null or undefined
|
|
8197
|
+
(0, common_1.assertParamExists)('influxDBCreateUser', 'influxDBUserCreate', influxDBUserCreate);
|
|
8198
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
8199
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8200
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8202
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8203
|
+
let baseOptions;
|
|
8204
|
+
if (configuration) {
|
|
8205
|
+
baseOptions = configuration.baseOptions;
|
|
8206
|
+
}
|
|
8207
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8208
|
+
const localVarHeaderParameter = {};
|
|
8209
|
+
const localVarQueryParameter = {};
|
|
8210
|
+
// authentication BearerToken required
|
|
8211
|
+
// http bearer authentication required
|
|
8212
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8213
|
+
// authentication DigestAuth required
|
|
8214
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8215
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8216
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8217
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8218
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8219
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBUserCreate, localVarRequestOptions, configuration);
|
|
8220
|
+
return {
|
|
8221
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8222
|
+
options: localVarRequestOptions,
|
|
8223
|
+
};
|
|
8224
|
+
},
|
|
8225
|
+
/**
|
|
8226
|
+
*
|
|
8227
|
+
* @summary InfluxDB DeleteToken
|
|
8228
|
+
* @param {string} orgName
|
|
8229
|
+
* @param {string} clusterName
|
|
8230
|
+
* @param {string} userID
|
|
8231
|
+
* @param {string} tokenID
|
|
8232
|
+
* @param {*} [options] Override http request option.
|
|
8233
|
+
* @throws {RequiredError}
|
|
8234
|
+
*/
|
|
8235
|
+
influxDBDeleteToken: async (orgName, clusterName, userID, tokenID, options = {}) => {
|
|
8236
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8237
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'orgName', orgName);
|
|
8238
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8239
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'clusterName', clusterName);
|
|
8240
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8241
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'userID', userID);
|
|
8242
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
8243
|
+
(0, common_1.assertParamExists)('influxDBDeleteToken', 'tokenID', tokenID);
|
|
8244
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
8245
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8246
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8247
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
8248
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
8249
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8250
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8251
|
+
let baseOptions;
|
|
8252
|
+
if (configuration) {
|
|
8253
|
+
baseOptions = configuration.baseOptions;
|
|
8254
|
+
}
|
|
8255
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
8256
|
+
const localVarHeaderParameter = {};
|
|
8257
|
+
const localVarQueryParameter = {};
|
|
8258
|
+
// authentication BearerToken required
|
|
8259
|
+
// http bearer authentication required
|
|
8260
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8261
|
+
// authentication DigestAuth required
|
|
8262
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8263
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8264
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8265
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8266
|
+
return {
|
|
8267
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8268
|
+
options: localVarRequestOptions,
|
|
8269
|
+
};
|
|
8270
|
+
},
|
|
8271
|
+
/**
|
|
8272
|
+
*
|
|
8273
|
+
* @summary InfluxDB DeleteUser
|
|
8274
|
+
* @param {string} orgName
|
|
8275
|
+
* @param {string} clusterName
|
|
8276
|
+
* @param {string} userID
|
|
8277
|
+
* @param {*} [options] Override http request option.
|
|
8278
|
+
* @throws {RequiredError}
|
|
8279
|
+
*/
|
|
8280
|
+
influxDBDeleteUser: async (orgName, clusterName, userID, options = {}) => {
|
|
8281
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8282
|
+
(0, common_1.assertParamExists)('influxDBDeleteUser', 'orgName', orgName);
|
|
8283
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8284
|
+
(0, common_1.assertParamExists)('influxDBDeleteUser', 'clusterName', clusterName);
|
|
8285
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8286
|
+
(0, common_1.assertParamExists)('influxDBDeleteUser', 'userID', userID);
|
|
8287
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}`
|
|
8288
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8289
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8290
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
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: 'DELETE' }, 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
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8306
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8307
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8308
|
+
return {
|
|
8309
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8310
|
+
options: localVarRequestOptions,
|
|
8311
|
+
};
|
|
8312
|
+
},
|
|
8313
|
+
/**
|
|
8314
|
+
*
|
|
8315
|
+
* @summary InfluxDB ListBuckets
|
|
8316
|
+
* @param {string} orgName
|
|
8317
|
+
* @param {string} clusterName
|
|
8318
|
+
* @param {string} influxOrgID
|
|
8319
|
+
* @param {*} [options] Override http request option.
|
|
8320
|
+
* @throws {RequiredError}
|
|
8321
|
+
*/
|
|
8322
|
+
influxDBListBuckets: async (orgName, clusterName, influxOrgID, options = {}) => {
|
|
8323
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8324
|
+
(0, common_1.assertParamExists)('influxDBListBuckets', 'orgName', orgName);
|
|
8325
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8326
|
+
(0, common_1.assertParamExists)('influxDBListBuckets', 'clusterName', clusterName);
|
|
8327
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
8328
|
+
(0, common_1.assertParamExists)('influxDBListBuckets', 'influxOrgID', influxOrgID);
|
|
8329
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
|
|
8330
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8331
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8332
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8333
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8334
|
+
let baseOptions;
|
|
8335
|
+
if (configuration) {
|
|
8336
|
+
baseOptions = configuration.baseOptions;
|
|
8337
|
+
}
|
|
8338
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8339
|
+
const localVarHeaderParameter = {};
|
|
8340
|
+
const localVarQueryParameter = {};
|
|
8341
|
+
// authentication BearerToken required
|
|
8342
|
+
// http bearer authentication required
|
|
8343
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8344
|
+
// authentication DigestAuth required
|
|
8345
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8346
|
+
if (influxOrgID !== undefined) {
|
|
8347
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
8348
|
+
}
|
|
8349
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8350
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8351
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8352
|
+
return {
|
|
8353
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8354
|
+
options: localVarRequestOptions,
|
|
8355
|
+
};
|
|
8356
|
+
},
|
|
8357
|
+
/**
|
|
8358
|
+
*
|
|
8359
|
+
* @summary InfluxDB ListOrganizations
|
|
8360
|
+
* @param {string} orgName
|
|
8361
|
+
* @param {string} clusterName
|
|
8362
|
+
* @param {*} [options] Override http request option.
|
|
8363
|
+
* @throws {RequiredError}
|
|
8364
|
+
*/
|
|
8365
|
+
influxDBListOrganizations: async (orgName, clusterName, options = {}) => {
|
|
8366
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8367
|
+
(0, common_1.assertParamExists)('influxDBListOrganizations', 'orgName', orgName);
|
|
8368
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8369
|
+
(0, common_1.assertParamExists)('influxDBListOrganizations', 'clusterName', clusterName);
|
|
8370
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/organizations`
|
|
8371
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8372
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8373
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8374
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8375
|
+
let baseOptions;
|
|
8376
|
+
if (configuration) {
|
|
8377
|
+
baseOptions = configuration.baseOptions;
|
|
8378
|
+
}
|
|
8379
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8380
|
+
const localVarHeaderParameter = {};
|
|
8381
|
+
const localVarQueryParameter = {};
|
|
8382
|
+
// authentication BearerToken required
|
|
8383
|
+
// http bearer authentication required
|
|
8384
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8385
|
+
// authentication DigestAuth required
|
|
8386
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8387
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8389
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8390
|
+
return {
|
|
8391
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8392
|
+
options: localVarRequestOptions,
|
|
8393
|
+
};
|
|
8394
|
+
},
|
|
8395
|
+
/**
|
|
8396
|
+
*
|
|
8397
|
+
* @summary InfluxDB ListTokens
|
|
8398
|
+
* @param {string} orgName
|
|
8399
|
+
* @param {string} clusterName
|
|
8400
|
+
* @param {string} userID
|
|
8401
|
+
* @param {*} [options] Override http request option.
|
|
8402
|
+
* @throws {RequiredError}
|
|
8403
|
+
*/
|
|
8404
|
+
influxDBListTokens: async (orgName, clusterName, userID, options = {}) => {
|
|
8405
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8406
|
+
(0, common_1.assertParamExists)('influxDBListTokens', 'orgName', orgName);
|
|
8407
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8408
|
+
(0, common_1.assertParamExists)('influxDBListTokens', 'clusterName', clusterName);
|
|
8409
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8410
|
+
(0, common_1.assertParamExists)('influxDBListTokens', 'userID', userID);
|
|
8411
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens`
|
|
8412
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8413
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8414
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
8415
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8416
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8417
|
+
let baseOptions;
|
|
8418
|
+
if (configuration) {
|
|
8419
|
+
baseOptions = configuration.baseOptions;
|
|
8420
|
+
}
|
|
8421
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8422
|
+
const localVarHeaderParameter = {};
|
|
8423
|
+
const localVarQueryParameter = {};
|
|
8424
|
+
// authentication BearerToken required
|
|
8425
|
+
// http bearer authentication required
|
|
8426
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8427
|
+
// authentication DigestAuth required
|
|
8428
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8429
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8430
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8431
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8432
|
+
return {
|
|
8433
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8434
|
+
options: localVarRequestOptions,
|
|
8435
|
+
};
|
|
8436
|
+
},
|
|
8437
|
+
/**
|
|
8438
|
+
*
|
|
8439
|
+
* @summary InfluxDB ListUsers
|
|
8440
|
+
* @param {string} orgName
|
|
8441
|
+
* @param {string} clusterName
|
|
8442
|
+
* @param {*} [options] Override http request option.
|
|
8443
|
+
* @throws {RequiredError}
|
|
8444
|
+
*/
|
|
8445
|
+
influxDBListUsers: async (orgName, clusterName, options = {}) => {
|
|
8446
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8447
|
+
(0, common_1.assertParamExists)('influxDBListUsers', 'orgName', orgName);
|
|
8448
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8449
|
+
(0, common_1.assertParamExists)('influxDBListUsers', 'clusterName', clusterName);
|
|
8450
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
8451
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8452
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8453
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8454
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8455
|
+
let baseOptions;
|
|
8456
|
+
if (configuration) {
|
|
8457
|
+
baseOptions = configuration.baseOptions;
|
|
8458
|
+
}
|
|
8459
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8460
|
+
const localVarHeaderParameter = {};
|
|
8461
|
+
const localVarQueryParameter = {};
|
|
8462
|
+
// authentication BearerToken required
|
|
8463
|
+
// http bearer authentication required
|
|
8464
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8465
|
+
// authentication DigestAuth required
|
|
8466
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8467
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8468
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8469
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8470
|
+
return {
|
|
8471
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8472
|
+
options: localVarRequestOptions,
|
|
8473
|
+
};
|
|
8474
|
+
},
|
|
8475
|
+
/**
|
|
8476
|
+
*
|
|
8477
|
+
* @summary InfluxDB UpdateToken
|
|
8478
|
+
* @param {string} orgName
|
|
8479
|
+
* @param {string} clusterName
|
|
8480
|
+
* @param {string} userID
|
|
8481
|
+
* @param {string} tokenID
|
|
8482
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
8483
|
+
* @param {*} [options] Override http request option.
|
|
8484
|
+
* @throws {RequiredError}
|
|
8485
|
+
*/
|
|
8486
|
+
influxDBUpdateToken: async (orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options = {}) => {
|
|
8487
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8488
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'orgName', orgName);
|
|
8489
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8490
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'clusterName', clusterName);
|
|
8491
|
+
// verify required parameter 'userID' is not null or undefined
|
|
8492
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'userID', userID);
|
|
8493
|
+
// verify required parameter 'tokenID' is not null or undefined
|
|
8494
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'tokenID', tokenID);
|
|
8495
|
+
// verify required parameter 'influxDBTokenUpdate' is not null or undefined
|
|
8496
|
+
(0, common_1.assertParamExists)('influxDBUpdateToken', 'influxDBTokenUpdate', influxDBTokenUpdate);
|
|
8497
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/accounts/{userID}/tokens/{tokenID}`
|
|
8498
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8499
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8500
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)))
|
|
8501
|
+
.replace(`{${"tokenID"}}`, encodeURIComponent(String(tokenID)));
|
|
8502
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8503
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8504
|
+
let baseOptions;
|
|
8505
|
+
if (configuration) {
|
|
8506
|
+
baseOptions = configuration.baseOptions;
|
|
8507
|
+
}
|
|
8508
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
8509
|
+
const localVarHeaderParameter = {};
|
|
8510
|
+
const localVarQueryParameter = {};
|
|
8511
|
+
// authentication BearerToken required
|
|
8512
|
+
// http bearer authentication required
|
|
8513
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8514
|
+
// authentication DigestAuth required
|
|
8515
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8516
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8517
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8518
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8519
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8520
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBTokenUpdate, localVarRequestOptions, configuration);
|
|
8521
|
+
return {
|
|
8522
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8523
|
+
options: localVarRequestOptions,
|
|
8524
|
+
};
|
|
8525
|
+
},
|
|
8088
8526
|
/**
|
|
8089
8527
|
* kill a session in cluster
|
|
8090
8528
|
* @summary Kill cluster session
|
|
@@ -9812,7 +10250,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9812
10250
|
* @summary List objects tree for selective backup
|
|
9813
10251
|
* @param {string} orgName name of the org
|
|
9814
10252
|
* @param {string} clusterName name of the cluster
|
|
9815
|
-
* @param {string} [database]
|
|
10253
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
9816
10254
|
* @param {*} [options] Override http request option.
|
|
9817
10255
|
* @throws {RequiredError}
|
|
9818
10256
|
*/
|
|
@@ -19703,6 +20141,169 @@ const SharedApiFp = function (configuration) {
|
|
|
19703
20141
|
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;
|
|
19704
20142
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19705
20143
|
},
|
|
20144
|
+
/**
|
|
20145
|
+
*
|
|
20146
|
+
* @summary InfluxDB ChangePassword
|
|
20147
|
+
* @param {string} orgName
|
|
20148
|
+
* @param {string} clusterName
|
|
20149
|
+
* @param {string} userID
|
|
20150
|
+
* @param {InfluxDBPasswordChange} influxDBPasswordChange
|
|
20151
|
+
* @param {*} [options] Override http request option.
|
|
20152
|
+
* @throws {RequiredError}
|
|
20153
|
+
*/
|
|
20154
|
+
async influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options) {
|
|
20155
|
+
var _a, _b, _c;
|
|
20156
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBChangePassword(orgName, clusterName, userID, influxDBPasswordChange, options);
|
|
20157
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20158
|
+
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;
|
|
20159
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20160
|
+
},
|
|
20161
|
+
/**
|
|
20162
|
+
*
|
|
20163
|
+
* @summary InfluxDB CreateToken
|
|
20164
|
+
* @param {string} orgName
|
|
20165
|
+
* @param {string} clusterName
|
|
20166
|
+
* @param {string} userID
|
|
20167
|
+
* @param {InfluxDBTokenCreate} influxDBTokenCreate
|
|
20168
|
+
* @param {*} [options] Override http request option.
|
|
20169
|
+
* @throws {RequiredError}
|
|
20170
|
+
*/
|
|
20171
|
+
async influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options) {
|
|
20172
|
+
var _a, _b, _c;
|
|
20173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateToken(orgName, clusterName, userID, influxDBTokenCreate, options);
|
|
20174
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20175
|
+
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;
|
|
20176
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20177
|
+
},
|
|
20178
|
+
/**
|
|
20179
|
+
*
|
|
20180
|
+
* @summary InfluxDB CreateUser
|
|
20181
|
+
* @param {string} orgName
|
|
20182
|
+
* @param {string} clusterName
|
|
20183
|
+
* @param {InfluxDBUserCreate} influxDBUserCreate
|
|
20184
|
+
* @param {*} [options] Override http request option.
|
|
20185
|
+
* @throws {RequiredError}
|
|
20186
|
+
*/
|
|
20187
|
+
async influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options) {
|
|
20188
|
+
var _a, _b, _c;
|
|
20189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateUser(orgName, clusterName, influxDBUserCreate, options);
|
|
20190
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20191
|
+
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;
|
|
20192
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20193
|
+
},
|
|
20194
|
+
/**
|
|
20195
|
+
*
|
|
20196
|
+
* @summary InfluxDB DeleteToken
|
|
20197
|
+
* @param {string} orgName
|
|
20198
|
+
* @param {string} clusterName
|
|
20199
|
+
* @param {string} userID
|
|
20200
|
+
* @param {string} tokenID
|
|
20201
|
+
* @param {*} [options] Override http request option.
|
|
20202
|
+
* @throws {RequiredError}
|
|
20203
|
+
*/
|
|
20204
|
+
async influxDBDeleteToken(orgName, clusterName, userID, tokenID, options) {
|
|
20205
|
+
var _a, _b, _c;
|
|
20206
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteToken(orgName, clusterName, userID, tokenID, options);
|
|
20207
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20208
|
+
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;
|
|
20209
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20210
|
+
},
|
|
20211
|
+
/**
|
|
20212
|
+
*
|
|
20213
|
+
* @summary InfluxDB DeleteUser
|
|
20214
|
+
* @param {string} orgName
|
|
20215
|
+
* @param {string} clusterName
|
|
20216
|
+
* @param {string} userID
|
|
20217
|
+
* @param {*} [options] Override http request option.
|
|
20218
|
+
* @throws {RequiredError}
|
|
20219
|
+
*/
|
|
20220
|
+
async influxDBDeleteUser(orgName, clusterName, userID, options) {
|
|
20221
|
+
var _a, _b, _c;
|
|
20222
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteUser(orgName, clusterName, userID, options);
|
|
20223
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20224
|
+
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;
|
|
20225
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20226
|
+
},
|
|
20227
|
+
/**
|
|
20228
|
+
*
|
|
20229
|
+
* @summary InfluxDB ListBuckets
|
|
20230
|
+
* @param {string} orgName
|
|
20231
|
+
* @param {string} clusterName
|
|
20232
|
+
* @param {string} influxOrgID
|
|
20233
|
+
* @param {*} [options] Override http request option.
|
|
20234
|
+
* @throws {RequiredError}
|
|
20235
|
+
*/
|
|
20236
|
+
async influxDBListBuckets(orgName, clusterName, influxOrgID, options) {
|
|
20237
|
+
var _a, _b, _c;
|
|
20238
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListBuckets(orgName, clusterName, influxOrgID, options);
|
|
20239
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20240
|
+
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;
|
|
20241
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20242
|
+
},
|
|
20243
|
+
/**
|
|
20244
|
+
*
|
|
20245
|
+
* @summary InfluxDB ListOrganizations
|
|
20246
|
+
* @param {string} orgName
|
|
20247
|
+
* @param {string} clusterName
|
|
20248
|
+
* @param {*} [options] Override http request option.
|
|
20249
|
+
* @throws {RequiredError}
|
|
20250
|
+
*/
|
|
20251
|
+
async influxDBListOrganizations(orgName, clusterName, options) {
|
|
20252
|
+
var _a, _b, _c;
|
|
20253
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListOrganizations(orgName, clusterName, options);
|
|
20254
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20255
|
+
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;
|
|
20256
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20257
|
+
},
|
|
20258
|
+
/**
|
|
20259
|
+
*
|
|
20260
|
+
* @summary InfluxDB ListTokens
|
|
20261
|
+
* @param {string} orgName
|
|
20262
|
+
* @param {string} clusterName
|
|
20263
|
+
* @param {string} userID
|
|
20264
|
+
* @param {*} [options] Override http request option.
|
|
20265
|
+
* @throws {RequiredError}
|
|
20266
|
+
*/
|
|
20267
|
+
async influxDBListTokens(orgName, clusterName, userID, options) {
|
|
20268
|
+
var _a, _b, _c;
|
|
20269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListTokens(orgName, clusterName, userID, options);
|
|
20270
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20271
|
+
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;
|
|
20272
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20273
|
+
},
|
|
20274
|
+
/**
|
|
20275
|
+
*
|
|
20276
|
+
* @summary InfluxDB ListUsers
|
|
20277
|
+
* @param {string} orgName
|
|
20278
|
+
* @param {string} clusterName
|
|
20279
|
+
* @param {*} [options] Override http request option.
|
|
20280
|
+
* @throws {RequiredError}
|
|
20281
|
+
*/
|
|
20282
|
+
async influxDBListUsers(orgName, clusterName, options) {
|
|
20283
|
+
var _a, _b, _c;
|
|
20284
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBListUsers(orgName, clusterName, options);
|
|
20285
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20286
|
+
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;
|
|
20287
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20288
|
+
},
|
|
20289
|
+
/**
|
|
20290
|
+
*
|
|
20291
|
+
* @summary InfluxDB UpdateToken
|
|
20292
|
+
* @param {string} orgName
|
|
20293
|
+
* @param {string} clusterName
|
|
20294
|
+
* @param {string} userID
|
|
20295
|
+
* @param {string} tokenID
|
|
20296
|
+
* @param {InfluxDBTokenUpdate} influxDBTokenUpdate
|
|
20297
|
+
* @param {*} [options] Override http request option.
|
|
20298
|
+
* @throws {RequiredError}
|
|
20299
|
+
*/
|
|
20300
|
+
async influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options) {
|
|
20301
|
+
var _a, _b, _c;
|
|
20302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateToken(orgName, clusterName, userID, tokenID, influxDBTokenUpdate, options);
|
|
20303
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20304
|
+
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;
|
|
20305
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20306
|
+
},
|
|
19706
20307
|
/**
|
|
19707
20308
|
* kill a session in cluster
|
|
19708
20309
|
* @summary Kill cluster session
|
|
@@ -20349,7 +20950,7 @@ const SharedApiFp = function (configuration) {
|
|
|
20349
20950
|
* @summary List objects tree for selective backup
|
|
20350
20951
|
* @param {string} orgName name of the org
|
|
20351
20952
|
* @param {string} clusterName name of the cluster
|
|
20352
|
-
* @param {string} [database]
|
|
20953
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
20353
20954
|
* @param {*} [options] Override http request option.
|
|
20354
20955
|
* @throws {RequiredError}
|
|
20355
20956
|
*/
|
|
@@ -24583,6 +25184,106 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
24583
25184
|
importPreflight(requestParameters, options) {
|
|
24584
25185
|
return localVarFp.importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(axios, basePath));
|
|
24585
25186
|
},
|
|
25187
|
+
/**
|
|
25188
|
+
*
|
|
25189
|
+
* @summary InfluxDB ChangePassword
|
|
25190
|
+
* @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
25191
|
+
* @param {*} [options] Override http request option.
|
|
25192
|
+
* @throws {RequiredError}
|
|
25193
|
+
*/
|
|
25194
|
+
influxDBChangePassword(requestParameters, options) {
|
|
25195
|
+
return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
25196
|
+
},
|
|
25197
|
+
/**
|
|
25198
|
+
*
|
|
25199
|
+
* @summary InfluxDB CreateToken
|
|
25200
|
+
* @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
25201
|
+
* @param {*} [options] Override http request option.
|
|
25202
|
+
* @throws {RequiredError}
|
|
25203
|
+
*/
|
|
25204
|
+
influxDBCreateToken(requestParameters, options) {
|
|
25205
|
+
return localVarFp.influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(axios, basePath));
|
|
25206
|
+
},
|
|
25207
|
+
/**
|
|
25208
|
+
*
|
|
25209
|
+
* @summary InfluxDB CreateUser
|
|
25210
|
+
* @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
25211
|
+
* @param {*} [options] Override http request option.
|
|
25212
|
+
* @throws {RequiredError}
|
|
25213
|
+
*/
|
|
25214
|
+
influxDBCreateUser(requestParameters, options) {
|
|
25215
|
+
return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
|
|
25216
|
+
},
|
|
25217
|
+
/**
|
|
25218
|
+
*
|
|
25219
|
+
* @summary InfluxDB DeleteToken
|
|
25220
|
+
* @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
25221
|
+
* @param {*} [options] Override http request option.
|
|
25222
|
+
* @throws {RequiredError}
|
|
25223
|
+
*/
|
|
25224
|
+
influxDBDeleteToken(requestParameters, options) {
|
|
25225
|
+
return localVarFp.influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(axios, basePath));
|
|
25226
|
+
},
|
|
25227
|
+
/**
|
|
25228
|
+
*
|
|
25229
|
+
* @summary InfluxDB DeleteUser
|
|
25230
|
+
* @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
25231
|
+
* @param {*} [options] Override http request option.
|
|
25232
|
+
* @throws {RequiredError}
|
|
25233
|
+
*/
|
|
25234
|
+
influxDBDeleteUser(requestParameters, options) {
|
|
25235
|
+
return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
25236
|
+
},
|
|
25237
|
+
/**
|
|
25238
|
+
*
|
|
25239
|
+
* @summary InfluxDB ListBuckets
|
|
25240
|
+
* @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
25241
|
+
* @param {*} [options] Override http request option.
|
|
25242
|
+
* @throws {RequiredError}
|
|
25243
|
+
*/
|
|
25244
|
+
influxDBListBuckets(requestParameters, options) {
|
|
25245
|
+
return localVarFp.influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
25246
|
+
},
|
|
25247
|
+
/**
|
|
25248
|
+
*
|
|
25249
|
+
* @summary InfluxDB ListOrganizations
|
|
25250
|
+
* @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
25251
|
+
* @param {*} [options] Override http request option.
|
|
25252
|
+
* @throws {RequiredError}
|
|
25253
|
+
*/
|
|
25254
|
+
influxDBListOrganizations(requestParameters, options) {
|
|
25255
|
+
return localVarFp.influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
25256
|
+
},
|
|
25257
|
+
/**
|
|
25258
|
+
*
|
|
25259
|
+
* @summary InfluxDB ListTokens
|
|
25260
|
+
* @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
25261
|
+
* @param {*} [options] Override http request option.
|
|
25262
|
+
* @throws {RequiredError}
|
|
25263
|
+
*/
|
|
25264
|
+
influxDBListTokens(requestParameters, options) {
|
|
25265
|
+
return localVarFp.influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
25266
|
+
},
|
|
25267
|
+
/**
|
|
25268
|
+
*
|
|
25269
|
+
* @summary InfluxDB ListUsers
|
|
25270
|
+
* @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
25271
|
+
* @param {*} [options] Override http request option.
|
|
25272
|
+
* @throws {RequiredError}
|
|
25273
|
+
*/
|
|
25274
|
+
influxDBListUsers(requestParameters, options) {
|
|
25275
|
+
return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
25276
|
+
},
|
|
25277
|
+
/**
|
|
25278
|
+
*
|
|
25279
|
+
* @summary InfluxDB UpdateToken
|
|
25280
|
+
* @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
25281
|
+
* @param {*} [options] Override http request option.
|
|
25282
|
+
* @throws {RequiredError}
|
|
25283
|
+
*/
|
|
25284
|
+
influxDBUpdateToken(requestParameters, options) {
|
|
25285
|
+
return localVarFp.influxDBUpdateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, requestParameters.influxDBTokenUpdate, options).then((request) => request(axios, basePath));
|
|
25286
|
+
},
|
|
24586
25287
|
/**
|
|
24587
25288
|
* kill a session in cluster
|
|
24588
25289
|
* @summary Kill cluster session
|
|
@@ -28332,6 +29033,116 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
28332
29033
|
importPreflight(requestParameters, options) {
|
|
28333
29034
|
return (0, exports.SharedApiFp)(this.configuration).importPreflight(requestParameters.orgName, requestParameters.clusterName, requestParameters.importPreflightRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28334
29035
|
}
|
|
29036
|
+
/**
|
|
29037
|
+
*
|
|
29038
|
+
* @summary InfluxDB ChangePassword
|
|
29039
|
+
* @param {SharedApiInfluxDBChangePasswordRequest} requestParameters Request parameters.
|
|
29040
|
+
* @param {*} [options] Override http request option.
|
|
29041
|
+
* @throws {RequiredError}
|
|
29042
|
+
* @memberof SharedApi
|
|
29043
|
+
*/
|
|
29044
|
+
influxDBChangePassword(requestParameters, options) {
|
|
29045
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
29046
|
+
}
|
|
29047
|
+
/**
|
|
29048
|
+
*
|
|
29049
|
+
* @summary InfluxDB CreateToken
|
|
29050
|
+
* @param {SharedApiInfluxDBCreateTokenRequest} requestParameters Request parameters.
|
|
29051
|
+
* @param {*} [options] Override http request option.
|
|
29052
|
+
* @throws {RequiredError}
|
|
29053
|
+
* @memberof SharedApi
|
|
29054
|
+
*/
|
|
29055
|
+
influxDBCreateToken(requestParameters, options) {
|
|
29056
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBCreateToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBTokenCreate, options).then((request) => request(this.axios, this.basePath));
|
|
29057
|
+
}
|
|
29058
|
+
/**
|
|
29059
|
+
*
|
|
29060
|
+
* @summary InfluxDB CreateUser
|
|
29061
|
+
* @param {SharedApiInfluxDBCreateUserRequest} requestParameters Request parameters.
|
|
29062
|
+
* @param {*} [options] Override http request option.
|
|
29063
|
+
* @throws {RequiredError}
|
|
29064
|
+
* @memberof SharedApi
|
|
29065
|
+
*/
|
|
29066
|
+
influxDBCreateUser(requestParameters, options) {
|
|
29067
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
29068
|
+
}
|
|
29069
|
+
/**
|
|
29070
|
+
*
|
|
29071
|
+
* @summary InfluxDB DeleteToken
|
|
29072
|
+
* @param {SharedApiInfluxDBDeleteTokenRequest} requestParameters Request parameters.
|
|
29073
|
+
* @param {*} [options] Override http request option.
|
|
29074
|
+
* @throws {RequiredError}
|
|
29075
|
+
* @memberof SharedApi
|
|
29076
|
+
*/
|
|
29077
|
+
influxDBDeleteToken(requestParameters, options) {
|
|
29078
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteToken(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.tokenID, options).then((request) => request(this.axios, this.basePath));
|
|
29079
|
+
}
|
|
29080
|
+
/**
|
|
29081
|
+
*
|
|
29082
|
+
* @summary InfluxDB DeleteUser
|
|
29083
|
+
* @param {SharedApiInfluxDBDeleteUserRequest} requestParameters Request parameters.
|
|
29084
|
+
* @param {*} [options] Override http request option.
|
|
29085
|
+
* @throws {RequiredError}
|
|
29086
|
+
* @memberof SharedApi
|
|
29087
|
+
*/
|
|
29088
|
+
influxDBDeleteUser(requestParameters, options) {
|
|
29089
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
29090
|
+
}
|
|
29091
|
+
/**
|
|
29092
|
+
*
|
|
29093
|
+
* @summary InfluxDB ListBuckets
|
|
29094
|
+
* @param {SharedApiInfluxDBListBucketsRequest} requestParameters Request parameters.
|
|
29095
|
+
* @param {*} [options] Override http request option.
|
|
29096
|
+
* @throws {RequiredError}
|
|
29097
|
+
* @memberof SharedApi
|
|
29098
|
+
*/
|
|
29099
|
+
influxDBListBuckets(requestParameters, options) {
|
|
29100
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBListBuckets(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
29101
|
+
}
|
|
29102
|
+
/**
|
|
29103
|
+
*
|
|
29104
|
+
* @summary InfluxDB ListOrganizations
|
|
29105
|
+
* @param {SharedApiInfluxDBListOrganizationsRequest} requestParameters Request parameters.
|
|
29106
|
+
* @param {*} [options] Override http request option.
|
|
29107
|
+
* @throws {RequiredError}
|
|
29108
|
+
* @memberof SharedApi
|
|
29109
|
+
*/
|
|
29110
|
+
influxDBListOrganizations(requestParameters, options) {
|
|
29111
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBListOrganizations(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
29112
|
+
}
|
|
29113
|
+
/**
|
|
29114
|
+
*
|
|
29115
|
+
* @summary InfluxDB ListTokens
|
|
29116
|
+
* @param {SharedApiInfluxDBListTokensRequest} requestParameters Request parameters.
|
|
29117
|
+
* @param {*} [options] Override http request option.
|
|
29118
|
+
* @throws {RequiredError}
|
|
29119
|
+
* @memberof SharedApi
|
|
29120
|
+
*/
|
|
29121
|
+
influxDBListTokens(requestParameters, options) {
|
|
29122
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBListTokens(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
29123
|
+
}
|
|
29124
|
+
/**
|
|
29125
|
+
*
|
|
29126
|
+
* @summary InfluxDB ListUsers
|
|
29127
|
+
* @param {SharedApiInfluxDBListUsersRequest} requestParameters Request parameters.
|
|
29128
|
+
* @param {*} [options] Override http request option.
|
|
29129
|
+
* @throws {RequiredError}
|
|
29130
|
+
* @memberof SharedApi
|
|
29131
|
+
*/
|
|
29132
|
+
influxDBListUsers(requestParameters, options) {
|
|
29133
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
29134
|
+
}
|
|
29135
|
+
/**
|
|
29136
|
+
*
|
|
29137
|
+
* @summary InfluxDB UpdateToken
|
|
29138
|
+
* @param {SharedApiInfluxDBUpdateTokenRequest} requestParameters Request parameters.
|
|
29139
|
+
* @param {*} [options] Override http request option.
|
|
29140
|
+
* @throws {RequiredError}
|
|
29141
|
+
* @memberof SharedApi
|
|
29142
|
+
*/
|
|
29143
|
+
influxDBUpdateToken(requestParameters, options) {
|
|
29144
|
+
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));
|
|
29145
|
+
}
|
|
28335
29146
|
/**
|
|
28336
29147
|
* kill a session in cluster
|
|
28337
29148
|
* @summary Kill cluster session
|