kb-cloud-client-typescript 2.4.0-alpha.137 → 2.4.0-alpha.139
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/apis/database-api.d.ts +319 -0
- package/dist/adminapi/apis/database-api.d.ts.map +1 -1
- package/dist/adminapi/apis/database-api.js +344 -0
- package/dist/adminapi/apis/database-api.js.map +1 -1
- package/dist/adminapi/apis/influxdb-api.d.ts +318 -0
- package/dist/adminapi/apis/influxdb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/influxdb-api.js +344 -0
- package/dist/adminapi/apis/influxdb-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +318 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +344 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +4 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +4 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/influx-dbbucket-create.d.ts +44 -0
- package/dist/adminapi/models/influx-dbbucket-create.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-create.js +16 -0
- package/dist/adminapi/models/influx-dbbucket-create.js.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-retention-rule.d.ts +38 -0
- package/dist/adminapi/models/influx-dbbucket-retention-rule.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-retention-rule.js +16 -0
- package/dist/adminapi/models/influx-dbbucket-retention-rule.js.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-update.d.ts +38 -0
- package/dist/adminapi/models/influx-dbbucket-update.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-update.js +16 -0
- package/dist/adminapi/models/influx-dbbucket-update.js.map +1 -0
- package/dist/adminapi/models/influx-dbbucket.d.ts +25 -0
- package/dist/adminapi/models/influx-dbbucket.d.ts.map +1 -1
- package/dist/adminapi/models/influx-dbretention-rule-type.d.ts +21 -0
- package/dist/adminapi/models/influx-dbretention-rule-type.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbretention-rule-type.js +25 -0
- package/dist/adminapi/models/influx-dbretention-rule-type.js.map +1 -0
- package/dist/adminapi/models/storage-provider-schema-props.d.ts +10 -3
- package/dist/adminapi/models/storage-provider-schema-props.d.ts.map +1 -1
- package/dist/internalapi/apis/cluster-api.d.ts +4 -4
- package/dist/internalapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/database-api.d.ts +319 -0
- package/dist/openapi/apis/database-api.d.ts.map +1 -1
- package/dist/openapi/apis/database-api.js +344 -0
- package/dist/openapi/apis/database-api.js.map +1 -1
- package/dist/openapi/apis/influxdb-api.d.ts +318 -0
- package/dist/openapi/apis/influxdb-api.d.ts.map +1 -1
- package/dist/openapi/apis/influxdb-api.js +344 -0
- package/dist/openapi/apis/influxdb-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +318 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +344 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +4 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +4 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/influx-dbbucket-create.d.ts +44 -0
- package/dist/openapi/models/influx-dbbucket-create.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket-create.js +16 -0
- package/dist/openapi/models/influx-dbbucket-create.js.map +1 -0
- package/dist/openapi/models/influx-dbbucket-retention-rule.d.ts +38 -0
- package/dist/openapi/models/influx-dbbucket-retention-rule.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket-retention-rule.js +16 -0
- package/dist/openapi/models/influx-dbbucket-retention-rule.js.map +1 -0
- package/dist/openapi/models/influx-dbbucket-update.d.ts +38 -0
- package/dist/openapi/models/influx-dbbucket-update.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket-update.js +16 -0
- package/dist/openapi/models/influx-dbbucket-update.js.map +1 -0
- package/dist/openapi/models/influx-dbbucket.d.ts +25 -0
- package/dist/openapi/models/influx-dbbucket.d.ts.map +1 -1
- package/dist/openapi/models/influx-dbretention-rule-type.d.ts +21 -0
- package/dist/openapi/models/influx-dbretention-rule-type.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbretention-rule-type.js +25 -0
- package/dist/openapi/models/influx-dbretention-rule-type.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -0
- package/src/adminapi/apis/database-api.ts +563 -0
- package/src/adminapi/apis/influxdb-api.ts +561 -0
- package/src/adminapi/apis/shared-api.ts +561 -0
- package/src/adminapi/models/index.ts +4 -0
- package/src/adminapi/models/influx-dbbucket-create.ts +51 -0
- package/src/adminapi/models/influx-dbbucket-retention-rule.ts +47 -0
- package/src/adminapi/models/influx-dbbucket-update.ts +45 -0
- package/src/adminapi/models/influx-dbbucket.ts +27 -0
- package/src/adminapi/models/influx-dbretention-rule-type.ts +30 -0
- package/src/adminapi/models/storage-provider-schema-props.ts +12 -3
- package/src/adminapi.yaml +257 -2
- package/src/internalapi/apis/cluster-api.ts +3 -3
- package/src/internalapi.yaml +9 -2
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/apis/database-api.ts +563 -0
- package/src/openapi/apis/influxdb-api.ts +561 -0
- package/src/openapi/apis/shared-api.ts +561 -0
- package/src/openapi/models/index.ts +4 -0
- package/src/openapi/models/influx-dbbucket-create.ts +51 -0
- package/src/openapi/models/influx-dbbucket-retention-rule.ts +47 -0
- package/src/openapi/models/influx-dbbucket-update.ts +45 -0
- package/src/openapi/models/influx-dbbucket.ts +27 -0
- package/src/openapi/models/influx-dbretention-rule-type.ts +30 -0
- package/src/openapi.yaml +252 -0
|
@@ -27,6 +27,12 @@ import type { APIErrorResponse } from '../models';
|
|
|
27
27
|
import type { Database } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import type { DatabaseList } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { InfluxDBBucket } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { InfluxDBBucketCreate } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { InfluxDBBucketUpdate } from '../models';
|
|
30
36
|
/**
|
|
31
37
|
* DatabaseApi - axios parameter creator
|
|
32
38
|
* @export
|
|
@@ -193,6 +199,231 @@ export const DatabaseApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
193
199
|
options: localVarRequestOptions,
|
|
194
200
|
};
|
|
195
201
|
},
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @summary InfluxDB CreateBucket
|
|
205
|
+
* @param {string} orgName
|
|
206
|
+
* @param {string} clusterName
|
|
207
|
+
* @param {InfluxDBBucketCreate} influxDBBucketCreate
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
influxDBCreateBucket: async (orgName: string, clusterName: string, influxDBBucketCreate: InfluxDBBucketCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
212
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
213
|
+
assertParamExists('influxDBCreateBucket', 'orgName', orgName)
|
|
214
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
215
|
+
assertParamExists('influxDBCreateBucket', 'clusterName', clusterName)
|
|
216
|
+
// verify required parameter 'influxDBBucketCreate' is not null or undefined
|
|
217
|
+
assertParamExists('influxDBCreateBucket', 'influxDBBucketCreate', influxDBBucketCreate)
|
|
218
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
|
|
219
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
220
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
221
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
222
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
223
|
+
let baseOptions;
|
|
224
|
+
if (configuration) {
|
|
225
|
+
baseOptions = configuration.baseOptions;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
229
|
+
const localVarHeaderParameter = {} as any;
|
|
230
|
+
const localVarQueryParameter = {} as any;
|
|
231
|
+
|
|
232
|
+
// authentication BearerToken required
|
|
233
|
+
// http bearer authentication required
|
|
234
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
235
|
+
|
|
236
|
+
// authentication DigestAuth required
|
|
237
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
242
|
+
|
|
243
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
246
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBBucketCreate, localVarRequestOptions, configuration)
|
|
247
|
+
|
|
248
|
+
return {
|
|
249
|
+
url: toPathString(localVarUrlObj),
|
|
250
|
+
options: localVarRequestOptions,
|
|
251
|
+
};
|
|
252
|
+
},
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @summary InfluxDB DeleteBucket
|
|
256
|
+
* @param {string} orgName
|
|
257
|
+
* @param {string} clusterName
|
|
258
|
+
* @param {string} bucketID
|
|
259
|
+
* @param {string} influxOrgID
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
influxDBDeleteBucket: async (orgName: string, clusterName: string, bucketID: string, influxOrgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
264
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
265
|
+
assertParamExists('influxDBDeleteBucket', 'orgName', orgName)
|
|
266
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
267
|
+
assertParamExists('influxDBDeleteBucket', 'clusterName', clusterName)
|
|
268
|
+
// verify required parameter 'bucketID' is not null or undefined
|
|
269
|
+
assertParamExists('influxDBDeleteBucket', 'bucketID', bucketID)
|
|
270
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
271
|
+
assertParamExists('influxDBDeleteBucket', 'influxOrgID', influxOrgID)
|
|
272
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
|
|
273
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
274
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
275
|
+
.replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
|
|
276
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
277
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
278
|
+
let baseOptions;
|
|
279
|
+
if (configuration) {
|
|
280
|
+
baseOptions = configuration.baseOptions;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
284
|
+
const localVarHeaderParameter = {} as any;
|
|
285
|
+
const localVarQueryParameter = {} as any;
|
|
286
|
+
|
|
287
|
+
// authentication BearerToken required
|
|
288
|
+
// http bearer authentication required
|
|
289
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
290
|
+
|
|
291
|
+
// authentication DigestAuth required
|
|
292
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
293
|
+
|
|
294
|
+
if (influxOrgID !== undefined) {
|
|
295
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
302
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
303
|
+
|
|
304
|
+
return {
|
|
305
|
+
url: toPathString(localVarUrlObj),
|
|
306
|
+
options: localVarRequestOptions,
|
|
307
|
+
};
|
|
308
|
+
},
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @summary InfluxDB GetBucket
|
|
312
|
+
* @param {string} orgName
|
|
313
|
+
* @param {string} clusterName
|
|
314
|
+
* @param {string} bucketID
|
|
315
|
+
* @param {string} influxOrgID
|
|
316
|
+
* @param {*} [options] Override http request option.
|
|
317
|
+
* @throws {RequiredError}
|
|
318
|
+
*/
|
|
319
|
+
influxDBGetBucket: async (orgName: string, clusterName: string, bucketID: string, influxOrgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
320
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
321
|
+
assertParamExists('influxDBGetBucket', 'orgName', orgName)
|
|
322
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
323
|
+
assertParamExists('influxDBGetBucket', 'clusterName', clusterName)
|
|
324
|
+
// verify required parameter 'bucketID' is not null or undefined
|
|
325
|
+
assertParamExists('influxDBGetBucket', 'bucketID', bucketID)
|
|
326
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
327
|
+
assertParamExists('influxDBGetBucket', 'influxOrgID', influxOrgID)
|
|
328
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
|
|
329
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
330
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
331
|
+
.replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
|
|
332
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
333
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
334
|
+
let baseOptions;
|
|
335
|
+
if (configuration) {
|
|
336
|
+
baseOptions = configuration.baseOptions;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
340
|
+
const localVarHeaderParameter = {} as any;
|
|
341
|
+
const localVarQueryParameter = {} as any;
|
|
342
|
+
|
|
343
|
+
// authentication BearerToken required
|
|
344
|
+
// http bearer authentication required
|
|
345
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
346
|
+
|
|
347
|
+
// authentication DigestAuth required
|
|
348
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
349
|
+
|
|
350
|
+
if (influxOrgID !== undefined) {
|
|
351
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
357
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
358
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
359
|
+
|
|
360
|
+
return {
|
|
361
|
+
url: toPathString(localVarUrlObj),
|
|
362
|
+
options: localVarRequestOptions,
|
|
363
|
+
};
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @summary InfluxDB UpdateBucket
|
|
368
|
+
* @param {string} orgName
|
|
369
|
+
* @param {string} clusterName
|
|
370
|
+
* @param {string} bucketID
|
|
371
|
+
* @param {string} influxOrgID
|
|
372
|
+
* @param {InfluxDBBucketUpdate} influxDBBucketUpdate
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
*/
|
|
376
|
+
influxDBUpdateBucket: async (orgName: string, clusterName: string, bucketID: string, influxOrgID: string, influxDBBucketUpdate: InfluxDBBucketUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
377
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
378
|
+
assertParamExists('influxDBUpdateBucket', 'orgName', orgName)
|
|
379
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
380
|
+
assertParamExists('influxDBUpdateBucket', 'clusterName', clusterName)
|
|
381
|
+
// verify required parameter 'bucketID' is not null or undefined
|
|
382
|
+
assertParamExists('influxDBUpdateBucket', 'bucketID', bucketID)
|
|
383
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
384
|
+
assertParamExists('influxDBUpdateBucket', 'influxOrgID', influxOrgID)
|
|
385
|
+
// verify required parameter 'influxDBBucketUpdate' is not null or undefined
|
|
386
|
+
assertParamExists('influxDBUpdateBucket', 'influxDBBucketUpdate', influxDBBucketUpdate)
|
|
387
|
+
const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
|
|
388
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
389
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
390
|
+
.replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
|
|
391
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
392
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
393
|
+
let baseOptions;
|
|
394
|
+
if (configuration) {
|
|
395
|
+
baseOptions = configuration.baseOptions;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
399
|
+
const localVarHeaderParameter = {} as any;
|
|
400
|
+
const localVarQueryParameter = {} as any;
|
|
401
|
+
|
|
402
|
+
// authentication BearerToken required
|
|
403
|
+
// http bearer authentication required
|
|
404
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
405
|
+
|
|
406
|
+
// authentication DigestAuth required
|
|
407
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
408
|
+
|
|
409
|
+
if (influxOrgID !== undefined) {
|
|
410
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
416
|
+
|
|
417
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
418
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
419
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
420
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBBucketUpdate, localVarRequestOptions, configuration)
|
|
421
|
+
|
|
422
|
+
return {
|
|
423
|
+
url: toPathString(localVarUrlObj),
|
|
424
|
+
options: localVarRequestOptions,
|
|
425
|
+
};
|
|
426
|
+
},
|
|
196
427
|
/**
|
|
197
428
|
* list databases for rdbms engine cluster
|
|
198
429
|
* @summary List cluster databases
|
|
@@ -356,6 +587,70 @@ export const DatabaseApiFp = function(configuration?: Configuration) {
|
|
|
356
587
|
const localVarOperationServerBasePath = operationServerMap['DatabaseApi.getDatabase']?.[localVarOperationServerIndex]?.url;
|
|
357
588
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
358
589
|
},
|
|
590
|
+
/**
|
|
591
|
+
*
|
|
592
|
+
* @summary InfluxDB CreateBucket
|
|
593
|
+
* @param {string} orgName
|
|
594
|
+
* @param {string} clusterName
|
|
595
|
+
* @param {InfluxDBBucketCreate} influxDBBucketCreate
|
|
596
|
+
* @param {*} [options] Override http request option.
|
|
597
|
+
* @throws {RequiredError}
|
|
598
|
+
*/
|
|
599
|
+
async influxDBCreateBucket(orgName: string, clusterName: string, influxDBBucketCreate: InfluxDBBucketCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBBucket>> {
|
|
600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateBucket(orgName, clusterName, influxDBBucketCreate, options);
|
|
601
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
602
|
+
const localVarOperationServerBasePath = operationServerMap['DatabaseApi.influxDBCreateBucket']?.[localVarOperationServerIndex]?.url;
|
|
603
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
604
|
+
},
|
|
605
|
+
/**
|
|
606
|
+
*
|
|
607
|
+
* @summary InfluxDB DeleteBucket
|
|
608
|
+
* @param {string} orgName
|
|
609
|
+
* @param {string} clusterName
|
|
610
|
+
* @param {string} bucketID
|
|
611
|
+
* @param {string} influxOrgID
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
*/
|
|
615
|
+
async influxDBDeleteBucket(orgName: string, clusterName: string, bucketID: string, influxOrgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
616
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteBucket(orgName, clusterName, bucketID, influxOrgID, options);
|
|
617
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
618
|
+
const localVarOperationServerBasePath = operationServerMap['DatabaseApi.influxDBDeleteBucket']?.[localVarOperationServerIndex]?.url;
|
|
619
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
620
|
+
},
|
|
621
|
+
/**
|
|
622
|
+
*
|
|
623
|
+
* @summary InfluxDB GetBucket
|
|
624
|
+
* @param {string} orgName
|
|
625
|
+
* @param {string} clusterName
|
|
626
|
+
* @param {string} bucketID
|
|
627
|
+
* @param {string} influxOrgID
|
|
628
|
+
* @param {*} [options] Override http request option.
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
*/
|
|
631
|
+
async influxDBGetBucket(orgName: string, clusterName: string, bucketID: string, influxOrgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBBucket>> {
|
|
632
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBGetBucket(orgName, clusterName, bucketID, influxOrgID, options);
|
|
633
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
634
|
+
const localVarOperationServerBasePath = operationServerMap['DatabaseApi.influxDBGetBucket']?.[localVarOperationServerIndex]?.url;
|
|
635
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
636
|
+
},
|
|
637
|
+
/**
|
|
638
|
+
*
|
|
639
|
+
* @summary InfluxDB UpdateBucket
|
|
640
|
+
* @param {string} orgName
|
|
641
|
+
* @param {string} clusterName
|
|
642
|
+
* @param {string} bucketID
|
|
643
|
+
* @param {string} influxOrgID
|
|
644
|
+
* @param {InfluxDBBucketUpdate} influxDBBucketUpdate
|
|
645
|
+
* @param {*} [options] Override http request option.
|
|
646
|
+
* @throws {RequiredError}
|
|
647
|
+
*/
|
|
648
|
+
async influxDBUpdateBucket(orgName: string, clusterName: string, bucketID: string, influxOrgID: string, influxDBBucketUpdate: InfluxDBBucketUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBBucket>> {
|
|
649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateBucket(orgName, clusterName, bucketID, influxOrgID, influxDBBucketUpdate, options);
|
|
650
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
651
|
+
const localVarOperationServerBasePath = operationServerMap['DatabaseApi.influxDBUpdateBucket']?.[localVarOperationServerIndex]?.url;
|
|
652
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
653
|
+
},
|
|
359
654
|
/**
|
|
360
655
|
* list databases for rdbms engine cluster
|
|
361
656
|
* @summary List cluster databases
|
|
@@ -427,6 +722,46 @@ export const DatabaseApiFactory = function (configuration?: Configuration, baseP
|
|
|
427
722
|
getDatabase(requestParameters: DatabaseApiGetDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<Database> {
|
|
428
723
|
return localVarFp.getDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
|
|
429
724
|
},
|
|
725
|
+
/**
|
|
726
|
+
*
|
|
727
|
+
* @summary InfluxDB CreateBucket
|
|
728
|
+
* @param {DatabaseApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
influxDBCreateBucket(requestParameters: DatabaseApiInfluxDBCreateBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket> {
|
|
733
|
+
return localVarFp.influxDBCreateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBBucketCreate, options).then((request) => request(axios, basePath));
|
|
734
|
+
},
|
|
735
|
+
/**
|
|
736
|
+
*
|
|
737
|
+
* @summary InfluxDB DeleteBucket
|
|
738
|
+
* @param {DatabaseApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
|
|
739
|
+
* @param {*} [options] Override http request option.
|
|
740
|
+
* @throws {RequiredError}
|
|
741
|
+
*/
|
|
742
|
+
influxDBDeleteBucket(requestParameters: DatabaseApiInfluxDBDeleteBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
743
|
+
return localVarFp.influxDBDeleteBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
744
|
+
},
|
|
745
|
+
/**
|
|
746
|
+
*
|
|
747
|
+
* @summary InfluxDB GetBucket
|
|
748
|
+
* @param {DatabaseApiInfluxDBGetBucketRequest} requestParameters Request parameters.
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
*/
|
|
752
|
+
influxDBGetBucket(requestParameters: DatabaseApiInfluxDBGetBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket> {
|
|
753
|
+
return localVarFp.influxDBGetBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
754
|
+
},
|
|
755
|
+
/**
|
|
756
|
+
*
|
|
757
|
+
* @summary InfluxDB UpdateBucket
|
|
758
|
+
* @param {DatabaseApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
|
|
759
|
+
* @param {*} [options] Override http request option.
|
|
760
|
+
* @throws {RequiredError}
|
|
761
|
+
*/
|
|
762
|
+
influxDBUpdateBucket(requestParameters: DatabaseApiInfluxDBUpdateBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket> {
|
|
763
|
+
return localVarFp.influxDBUpdateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, requestParameters.influxDBBucketUpdate, options).then((request) => request(axios, basePath));
|
|
764
|
+
},
|
|
430
765
|
/**
|
|
431
766
|
* list databases for rdbms engine cluster
|
|
432
767
|
* @summary List cluster databases
|
|
@@ -485,6 +820,46 @@ export interface DatabaseApiInterface {
|
|
|
485
820
|
*/
|
|
486
821
|
getDatabase(requestParameters: DatabaseApiGetDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<Database>;
|
|
487
822
|
|
|
823
|
+
/**
|
|
824
|
+
*
|
|
825
|
+
* @summary InfluxDB CreateBucket
|
|
826
|
+
* @param {DatabaseApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
|
|
827
|
+
* @param {*} [options] Override http request option.
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
* @memberof DatabaseApiInterface
|
|
830
|
+
*/
|
|
831
|
+
influxDBCreateBucket(requestParameters: DatabaseApiInfluxDBCreateBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket>;
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @summary InfluxDB DeleteBucket
|
|
836
|
+
* @param {DatabaseApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
|
|
837
|
+
* @param {*} [options] Override http request option.
|
|
838
|
+
* @throws {RequiredError}
|
|
839
|
+
* @memberof DatabaseApiInterface
|
|
840
|
+
*/
|
|
841
|
+
influxDBDeleteBucket(requestParameters: DatabaseApiInfluxDBDeleteBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @summary InfluxDB GetBucket
|
|
846
|
+
* @param {DatabaseApiInfluxDBGetBucketRequest} requestParameters Request parameters.
|
|
847
|
+
* @param {*} [options] Override http request option.
|
|
848
|
+
* @throws {RequiredError}
|
|
849
|
+
* @memberof DatabaseApiInterface
|
|
850
|
+
*/
|
|
851
|
+
influxDBGetBucket(requestParameters: DatabaseApiInfluxDBGetBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket>;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
*
|
|
855
|
+
* @summary InfluxDB UpdateBucket
|
|
856
|
+
* @param {DatabaseApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
|
|
857
|
+
* @param {*} [options] Override http request option.
|
|
858
|
+
* @throws {RequiredError}
|
|
859
|
+
* @memberof DatabaseApiInterface
|
|
860
|
+
*/
|
|
861
|
+
influxDBUpdateBucket(requestParameters: DatabaseApiInfluxDBUpdateBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket>;
|
|
862
|
+
|
|
488
863
|
/**
|
|
489
864
|
* list databases for rdbms engine cluster
|
|
490
865
|
* @summary List cluster databases
|
|
@@ -612,6 +987,146 @@ export interface DatabaseApiGetDatabaseRequest {
|
|
|
612
987
|
readonly databaseName: string
|
|
613
988
|
}
|
|
614
989
|
|
|
990
|
+
/**
|
|
991
|
+
* Request parameters for influxDBCreateBucket operation in DatabaseApi.
|
|
992
|
+
* @export
|
|
993
|
+
* @interface DatabaseApiInfluxDBCreateBucketRequest
|
|
994
|
+
*/
|
|
995
|
+
export interface DatabaseApiInfluxDBCreateBucketRequest {
|
|
996
|
+
/**
|
|
997
|
+
*
|
|
998
|
+
* @type {string}
|
|
999
|
+
* @memberof DatabaseApiInfluxDBCreateBucket
|
|
1000
|
+
*/
|
|
1001
|
+
readonly orgName: string
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
*
|
|
1005
|
+
* @type {string}
|
|
1006
|
+
* @memberof DatabaseApiInfluxDBCreateBucket
|
|
1007
|
+
*/
|
|
1008
|
+
readonly clusterName: string
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
*
|
|
1012
|
+
* @type {InfluxDBBucketCreate}
|
|
1013
|
+
* @memberof DatabaseApiInfluxDBCreateBucket
|
|
1014
|
+
*/
|
|
1015
|
+
readonly influxDBBucketCreate: InfluxDBBucketCreate
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Request parameters for influxDBDeleteBucket operation in DatabaseApi.
|
|
1020
|
+
* @export
|
|
1021
|
+
* @interface DatabaseApiInfluxDBDeleteBucketRequest
|
|
1022
|
+
*/
|
|
1023
|
+
export interface DatabaseApiInfluxDBDeleteBucketRequest {
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @type {string}
|
|
1027
|
+
* @memberof DatabaseApiInfluxDBDeleteBucket
|
|
1028
|
+
*/
|
|
1029
|
+
readonly orgName: string
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
*
|
|
1033
|
+
* @type {string}
|
|
1034
|
+
* @memberof DatabaseApiInfluxDBDeleteBucket
|
|
1035
|
+
*/
|
|
1036
|
+
readonly clusterName: string
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
*
|
|
1040
|
+
* @type {string}
|
|
1041
|
+
* @memberof DatabaseApiInfluxDBDeleteBucket
|
|
1042
|
+
*/
|
|
1043
|
+
readonly bucketID: string
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @type {string}
|
|
1048
|
+
* @memberof DatabaseApiInfluxDBDeleteBucket
|
|
1049
|
+
*/
|
|
1050
|
+
readonly influxOrgID: string
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Request parameters for influxDBGetBucket operation in DatabaseApi.
|
|
1055
|
+
* @export
|
|
1056
|
+
* @interface DatabaseApiInfluxDBGetBucketRequest
|
|
1057
|
+
*/
|
|
1058
|
+
export interface DatabaseApiInfluxDBGetBucketRequest {
|
|
1059
|
+
/**
|
|
1060
|
+
*
|
|
1061
|
+
* @type {string}
|
|
1062
|
+
* @memberof DatabaseApiInfluxDBGetBucket
|
|
1063
|
+
*/
|
|
1064
|
+
readonly orgName: string
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
*
|
|
1068
|
+
* @type {string}
|
|
1069
|
+
* @memberof DatabaseApiInfluxDBGetBucket
|
|
1070
|
+
*/
|
|
1071
|
+
readonly clusterName: string
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
*
|
|
1075
|
+
* @type {string}
|
|
1076
|
+
* @memberof DatabaseApiInfluxDBGetBucket
|
|
1077
|
+
*/
|
|
1078
|
+
readonly bucketID: string
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
*
|
|
1082
|
+
* @type {string}
|
|
1083
|
+
* @memberof DatabaseApiInfluxDBGetBucket
|
|
1084
|
+
*/
|
|
1085
|
+
readonly influxOrgID: string
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* Request parameters for influxDBUpdateBucket operation in DatabaseApi.
|
|
1090
|
+
* @export
|
|
1091
|
+
* @interface DatabaseApiInfluxDBUpdateBucketRequest
|
|
1092
|
+
*/
|
|
1093
|
+
export interface DatabaseApiInfluxDBUpdateBucketRequest {
|
|
1094
|
+
/**
|
|
1095
|
+
*
|
|
1096
|
+
* @type {string}
|
|
1097
|
+
* @memberof DatabaseApiInfluxDBUpdateBucket
|
|
1098
|
+
*/
|
|
1099
|
+
readonly orgName: string
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
*
|
|
1103
|
+
* @type {string}
|
|
1104
|
+
* @memberof DatabaseApiInfluxDBUpdateBucket
|
|
1105
|
+
*/
|
|
1106
|
+
readonly clusterName: string
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
*
|
|
1110
|
+
* @type {string}
|
|
1111
|
+
* @memberof DatabaseApiInfluxDBUpdateBucket
|
|
1112
|
+
*/
|
|
1113
|
+
readonly bucketID: string
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
*
|
|
1117
|
+
* @type {string}
|
|
1118
|
+
* @memberof DatabaseApiInfluxDBUpdateBucket
|
|
1119
|
+
*/
|
|
1120
|
+
readonly influxOrgID: string
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
*
|
|
1124
|
+
* @type {InfluxDBBucketUpdate}
|
|
1125
|
+
* @memberof DatabaseApiInfluxDBUpdateBucket
|
|
1126
|
+
*/
|
|
1127
|
+
readonly influxDBBucketUpdate: InfluxDBBucketUpdate
|
|
1128
|
+
}
|
|
1129
|
+
|
|
615
1130
|
/**
|
|
616
1131
|
* Request parameters for listDatabases operation in DatabaseApi.
|
|
617
1132
|
* @export
|
|
@@ -724,6 +1239,54 @@ export class DatabaseApi extends BaseAPI implements DatabaseApiInterface {
|
|
|
724
1239
|
return DatabaseApiFp(this.configuration).getDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
|
|
725
1240
|
}
|
|
726
1241
|
|
|
1242
|
+
/**
|
|
1243
|
+
*
|
|
1244
|
+
* @summary InfluxDB CreateBucket
|
|
1245
|
+
* @param {DatabaseApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
|
|
1246
|
+
* @param {*} [options] Override http request option.
|
|
1247
|
+
* @throws {RequiredError}
|
|
1248
|
+
* @memberof DatabaseApi
|
|
1249
|
+
*/
|
|
1250
|
+
public influxDBCreateBucket(requestParameters: DatabaseApiInfluxDBCreateBucketRequest, options?: RawAxiosRequestConfig) {
|
|
1251
|
+
return DatabaseApiFp(this.configuration).influxDBCreateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBBucketCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
*
|
|
1256
|
+
* @summary InfluxDB DeleteBucket
|
|
1257
|
+
* @param {DatabaseApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
|
|
1258
|
+
* @param {*} [options] Override http request option.
|
|
1259
|
+
* @throws {RequiredError}
|
|
1260
|
+
* @memberof DatabaseApi
|
|
1261
|
+
*/
|
|
1262
|
+
public influxDBDeleteBucket(requestParameters: DatabaseApiInfluxDBDeleteBucketRequest, options?: RawAxiosRequestConfig) {
|
|
1263
|
+
return DatabaseApiFp(this.configuration).influxDBDeleteBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
*
|
|
1268
|
+
* @summary InfluxDB GetBucket
|
|
1269
|
+
* @param {DatabaseApiInfluxDBGetBucketRequest} requestParameters Request parameters.
|
|
1270
|
+
* @param {*} [options] Override http request option.
|
|
1271
|
+
* @throws {RequiredError}
|
|
1272
|
+
* @memberof DatabaseApi
|
|
1273
|
+
*/
|
|
1274
|
+
public influxDBGetBucket(requestParameters: DatabaseApiInfluxDBGetBucketRequest, options?: RawAxiosRequestConfig) {
|
|
1275
|
+
return DatabaseApiFp(this.configuration).influxDBGetBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
*
|
|
1280
|
+
* @summary InfluxDB UpdateBucket
|
|
1281
|
+
* @param {DatabaseApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
|
|
1282
|
+
* @param {*} [options] Override http request option.
|
|
1283
|
+
* @throws {RequiredError}
|
|
1284
|
+
* @memberof DatabaseApi
|
|
1285
|
+
*/
|
|
1286
|
+
public influxDBUpdateBucket(requestParameters: DatabaseApiInfluxDBUpdateBucketRequest, options?: RawAxiosRequestConfig) {
|
|
1287
|
+
return DatabaseApiFp(this.configuration).influxDBUpdateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, requestParameters.influxDBBucketUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1288
|
+
}
|
|
1289
|
+
|
|
727
1290
|
/**
|
|
728
1291
|
* list databases for rdbms engine cluster
|
|
729
1292
|
* @summary List cluster databases
|