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
|
@@ -26,6 +26,10 @@ import type { APIErrorResponse } from '../models';
|
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import type { InfluxDBBucket } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
+
import type { InfluxDBBucketCreate } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { InfluxDBBucketUpdate } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
29
33
|
import type { InfluxDBOrganization } from '../models';
|
|
30
34
|
// @ts-ignore
|
|
31
35
|
import type { InfluxDBPasswordChange } from '../models';
|
|
@@ -102,6 +106,57 @@ export const InfluxdbApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
102
106
|
options: localVarRequestOptions,
|
|
103
107
|
};
|
|
104
108
|
},
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @summary InfluxDB CreateBucket
|
|
112
|
+
* @param {string} orgName
|
|
113
|
+
* @param {string} clusterName
|
|
114
|
+
* @param {InfluxDBBucketCreate} influxDBBucketCreate
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
influxDBCreateBucket: async (orgName: string, clusterName: string, influxDBBucketCreate: InfluxDBBucketCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
119
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
120
|
+
assertParamExists('influxDBCreateBucket', 'orgName', orgName)
|
|
121
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
122
|
+
assertParamExists('influxDBCreateBucket', 'clusterName', clusterName)
|
|
123
|
+
// verify required parameter 'influxDBBucketCreate' is not null or undefined
|
|
124
|
+
assertParamExists('influxDBCreateBucket', 'influxDBBucketCreate', influxDBBucketCreate)
|
|
125
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
|
|
126
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
127
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
130
|
+
let baseOptions;
|
|
131
|
+
if (configuration) {
|
|
132
|
+
baseOptions = configuration.baseOptions;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
136
|
+
const localVarHeaderParameter = {} as any;
|
|
137
|
+
const localVarQueryParameter = {} as any;
|
|
138
|
+
|
|
139
|
+
// authentication BearerToken required
|
|
140
|
+
// http bearer authentication required
|
|
141
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
142
|
+
|
|
143
|
+
// authentication DigestAuth required
|
|
144
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
149
|
+
|
|
150
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
151
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
153
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBBucketCreate, localVarRequestOptions, configuration)
|
|
154
|
+
|
|
155
|
+
return {
|
|
156
|
+
url: toPathString(localVarUrlObj),
|
|
157
|
+
options: localVarRequestOptions,
|
|
158
|
+
};
|
|
159
|
+
},
|
|
105
160
|
/**
|
|
106
161
|
*
|
|
107
162
|
* @summary InfluxDB CreateToken
|
|
@@ -208,6 +263,62 @@ export const InfluxdbApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
208
263
|
options: localVarRequestOptions,
|
|
209
264
|
};
|
|
210
265
|
},
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @summary InfluxDB DeleteBucket
|
|
269
|
+
* @param {string} orgName
|
|
270
|
+
* @param {string} clusterName
|
|
271
|
+
* @param {string} bucketID
|
|
272
|
+
* @param {string} influxOrgID
|
|
273
|
+
* @param {*} [options] Override http request option.
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
*/
|
|
276
|
+
influxDBDeleteBucket: async (orgName: string, clusterName: string, bucketID: string, influxOrgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
277
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
278
|
+
assertParamExists('influxDBDeleteBucket', 'orgName', orgName)
|
|
279
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
280
|
+
assertParamExists('influxDBDeleteBucket', 'clusterName', clusterName)
|
|
281
|
+
// verify required parameter 'bucketID' is not null or undefined
|
|
282
|
+
assertParamExists('influxDBDeleteBucket', 'bucketID', bucketID)
|
|
283
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
284
|
+
assertParamExists('influxDBDeleteBucket', 'influxOrgID', influxOrgID)
|
|
285
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
|
|
286
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
287
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
288
|
+
.replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
|
|
289
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
290
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
291
|
+
let baseOptions;
|
|
292
|
+
if (configuration) {
|
|
293
|
+
baseOptions = configuration.baseOptions;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
297
|
+
const localVarHeaderParameter = {} as any;
|
|
298
|
+
const localVarQueryParameter = {} as any;
|
|
299
|
+
|
|
300
|
+
// authentication BearerToken required
|
|
301
|
+
// http bearer authentication required
|
|
302
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
303
|
+
|
|
304
|
+
// authentication DigestAuth required
|
|
305
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
306
|
+
|
|
307
|
+
if (influxOrgID !== undefined) {
|
|
308
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
314
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
315
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
316
|
+
|
|
317
|
+
return {
|
|
318
|
+
url: toPathString(localVarUrlObj),
|
|
319
|
+
options: localVarRequestOptions,
|
|
320
|
+
};
|
|
321
|
+
},
|
|
211
322
|
/**
|
|
212
323
|
*
|
|
213
324
|
* @summary InfluxDB DeleteToken
|
|
@@ -301,6 +412,62 @@ export const InfluxdbApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
301
412
|
|
|
302
413
|
|
|
303
414
|
|
|
415
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
417
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
418
|
+
|
|
419
|
+
return {
|
|
420
|
+
url: toPathString(localVarUrlObj),
|
|
421
|
+
options: localVarRequestOptions,
|
|
422
|
+
};
|
|
423
|
+
},
|
|
424
|
+
/**
|
|
425
|
+
*
|
|
426
|
+
* @summary InfluxDB GetBucket
|
|
427
|
+
* @param {string} orgName
|
|
428
|
+
* @param {string} clusterName
|
|
429
|
+
* @param {string} bucketID
|
|
430
|
+
* @param {string} influxOrgID
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
influxDBGetBucket: async (orgName: string, clusterName: string, bucketID: string, influxOrgID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
435
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
436
|
+
assertParamExists('influxDBGetBucket', 'orgName', orgName)
|
|
437
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
438
|
+
assertParamExists('influxDBGetBucket', 'clusterName', clusterName)
|
|
439
|
+
// verify required parameter 'bucketID' is not null or undefined
|
|
440
|
+
assertParamExists('influxDBGetBucket', 'bucketID', bucketID)
|
|
441
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
442
|
+
assertParamExists('influxDBGetBucket', 'influxOrgID', influxOrgID)
|
|
443
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
|
|
444
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
445
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
446
|
+
.replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
|
|
447
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
448
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
449
|
+
let baseOptions;
|
|
450
|
+
if (configuration) {
|
|
451
|
+
baseOptions = configuration.baseOptions;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
455
|
+
const localVarHeaderParameter = {} as any;
|
|
456
|
+
const localVarQueryParameter = {} as any;
|
|
457
|
+
|
|
458
|
+
// authentication BearerToken required
|
|
459
|
+
// http bearer authentication required
|
|
460
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
461
|
+
|
|
462
|
+
// authentication DigestAuth required
|
|
463
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
464
|
+
|
|
465
|
+
if (influxOrgID !== undefined) {
|
|
466
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
304
471
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
305
472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
306
473
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -501,6 +668,68 @@ export const InfluxdbApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
501
668
|
options: localVarRequestOptions,
|
|
502
669
|
};
|
|
503
670
|
},
|
|
671
|
+
/**
|
|
672
|
+
*
|
|
673
|
+
* @summary InfluxDB UpdateBucket
|
|
674
|
+
* @param {string} orgName
|
|
675
|
+
* @param {string} clusterName
|
|
676
|
+
* @param {string} bucketID
|
|
677
|
+
* @param {string} influxOrgID
|
|
678
|
+
* @param {InfluxDBBucketUpdate} influxDBBucketUpdate
|
|
679
|
+
* @param {*} [options] Override http request option.
|
|
680
|
+
* @throws {RequiredError}
|
|
681
|
+
*/
|
|
682
|
+
influxDBUpdateBucket: async (orgName: string, clusterName: string, bucketID: string, influxOrgID: string, influxDBBucketUpdate: InfluxDBBucketUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
683
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
684
|
+
assertParamExists('influxDBUpdateBucket', 'orgName', orgName)
|
|
685
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
686
|
+
assertParamExists('influxDBUpdateBucket', 'clusterName', clusterName)
|
|
687
|
+
// verify required parameter 'bucketID' is not null or undefined
|
|
688
|
+
assertParamExists('influxDBUpdateBucket', 'bucketID', bucketID)
|
|
689
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
690
|
+
assertParamExists('influxDBUpdateBucket', 'influxOrgID', influxOrgID)
|
|
691
|
+
// verify required parameter 'influxDBBucketUpdate' is not null or undefined
|
|
692
|
+
assertParamExists('influxDBUpdateBucket', 'influxDBBucketUpdate', influxDBBucketUpdate)
|
|
693
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
|
|
694
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
695
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
696
|
+
.replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
|
|
697
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
698
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
699
|
+
let baseOptions;
|
|
700
|
+
if (configuration) {
|
|
701
|
+
baseOptions = configuration.baseOptions;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
705
|
+
const localVarHeaderParameter = {} as any;
|
|
706
|
+
const localVarQueryParameter = {} as any;
|
|
707
|
+
|
|
708
|
+
// authentication BearerToken required
|
|
709
|
+
// http bearer authentication required
|
|
710
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
711
|
+
|
|
712
|
+
// authentication DigestAuth required
|
|
713
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
714
|
+
|
|
715
|
+
if (influxOrgID !== undefined) {
|
|
716
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
722
|
+
|
|
723
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
724
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
725
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
726
|
+
localVarRequestOptions.data = serializeDataIfNeeded(influxDBBucketUpdate, localVarRequestOptions, configuration)
|
|
727
|
+
|
|
728
|
+
return {
|
|
729
|
+
url: toPathString(localVarUrlObj),
|
|
730
|
+
options: localVarRequestOptions,
|
|
731
|
+
};
|
|
732
|
+
},
|
|
504
733
|
/**
|
|
505
734
|
*
|
|
506
735
|
* @summary InfluxDB UpdateToken
|
|
@@ -586,6 +815,21 @@ export const InfluxdbApiFp = function(configuration?: Configuration) {
|
|
|
586
815
|
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBChangePassword']?.[localVarOperationServerIndex]?.url;
|
|
587
816
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
588
817
|
},
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @summary InfluxDB CreateBucket
|
|
821
|
+
* @param {string} orgName
|
|
822
|
+
* @param {string} clusterName
|
|
823
|
+
* @param {InfluxDBBucketCreate} influxDBBucketCreate
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
*/
|
|
827
|
+
async influxDBCreateBucket(orgName: string, clusterName: string, influxDBBucketCreate: InfluxDBBucketCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBBucket>> {
|
|
828
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateBucket(orgName, clusterName, influxDBBucketCreate, options);
|
|
829
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
830
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBCreateBucket']?.[localVarOperationServerIndex]?.url;
|
|
831
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
832
|
+
},
|
|
589
833
|
/**
|
|
590
834
|
*
|
|
591
835
|
* @summary InfluxDB CreateToken
|
|
@@ -617,6 +861,22 @@ export const InfluxdbApiFp = function(configuration?: Configuration) {
|
|
|
617
861
|
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBCreateUser']?.[localVarOperationServerIndex]?.url;
|
|
618
862
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
619
863
|
},
|
|
864
|
+
/**
|
|
865
|
+
*
|
|
866
|
+
* @summary InfluxDB DeleteBucket
|
|
867
|
+
* @param {string} orgName
|
|
868
|
+
* @param {string} clusterName
|
|
869
|
+
* @param {string} bucketID
|
|
870
|
+
* @param {string} influxOrgID
|
|
871
|
+
* @param {*} [options] Override http request option.
|
|
872
|
+
* @throws {RequiredError}
|
|
873
|
+
*/
|
|
874
|
+
async influxDBDeleteBucket(orgName: string, clusterName: string, bucketID: string, influxOrgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteBucket(orgName, clusterName, bucketID, influxOrgID, options);
|
|
876
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
877
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBDeleteBucket']?.[localVarOperationServerIndex]?.url;
|
|
878
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
879
|
+
},
|
|
620
880
|
/**
|
|
621
881
|
*
|
|
622
882
|
* @summary InfluxDB DeleteToken
|
|
@@ -648,6 +908,22 @@ export const InfluxdbApiFp = function(configuration?: Configuration) {
|
|
|
648
908
|
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBDeleteUser']?.[localVarOperationServerIndex]?.url;
|
|
649
909
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
650
910
|
},
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @summary InfluxDB GetBucket
|
|
914
|
+
* @param {string} orgName
|
|
915
|
+
* @param {string} clusterName
|
|
916
|
+
* @param {string} bucketID
|
|
917
|
+
* @param {string} influxOrgID
|
|
918
|
+
* @param {*} [options] Override http request option.
|
|
919
|
+
* @throws {RequiredError}
|
|
920
|
+
*/
|
|
921
|
+
async influxDBGetBucket(orgName: string, clusterName: string, bucketID: string, influxOrgID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBBucket>> {
|
|
922
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBGetBucket(orgName, clusterName, bucketID, influxOrgID, options);
|
|
923
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
924
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBGetBucket']?.[localVarOperationServerIndex]?.url;
|
|
925
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
926
|
+
},
|
|
651
927
|
/**
|
|
652
928
|
*
|
|
653
929
|
* @summary InfluxDB ListBuckets
|
|
@@ -706,6 +982,23 @@ export const InfluxdbApiFp = function(configuration?: Configuration) {
|
|
|
706
982
|
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBListUsers']?.[localVarOperationServerIndex]?.url;
|
|
707
983
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
708
984
|
},
|
|
985
|
+
/**
|
|
986
|
+
*
|
|
987
|
+
* @summary InfluxDB UpdateBucket
|
|
988
|
+
* @param {string} orgName
|
|
989
|
+
* @param {string} clusterName
|
|
990
|
+
* @param {string} bucketID
|
|
991
|
+
* @param {string} influxOrgID
|
|
992
|
+
* @param {InfluxDBBucketUpdate} influxDBBucketUpdate
|
|
993
|
+
* @param {*} [options] Override http request option.
|
|
994
|
+
* @throws {RequiredError}
|
|
995
|
+
*/
|
|
996
|
+
async influxDBUpdateBucket(orgName: string, clusterName: string, bucketID: string, influxOrgID: string, influxDBBucketUpdate: InfluxDBBucketUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InfluxDBBucket>> {
|
|
997
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateBucket(orgName, clusterName, bucketID, influxOrgID, influxDBBucketUpdate, options);
|
|
998
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
999
|
+
const localVarOperationServerBasePath = operationServerMap['InfluxdbApi.influxDBUpdateBucket']?.[localVarOperationServerIndex]?.url;
|
|
1000
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1001
|
+
},
|
|
709
1002
|
/**
|
|
710
1003
|
*
|
|
711
1004
|
* @summary InfluxDB UpdateToken
|
|
@@ -743,6 +1036,16 @@ export const InfluxdbApiFactory = function (configuration?: Configuration, baseP
|
|
|
743
1036
|
influxDBChangePassword(requestParameters: InfluxdbApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
744
1037
|
return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
745
1038
|
},
|
|
1039
|
+
/**
|
|
1040
|
+
*
|
|
1041
|
+
* @summary InfluxDB CreateBucket
|
|
1042
|
+
* @param {InfluxdbApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
|
|
1043
|
+
* @param {*} [options] Override http request option.
|
|
1044
|
+
* @throws {RequiredError}
|
|
1045
|
+
*/
|
|
1046
|
+
influxDBCreateBucket(requestParameters: InfluxdbApiInfluxDBCreateBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket> {
|
|
1047
|
+
return localVarFp.influxDBCreateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBBucketCreate, options).then((request) => request(axios, basePath));
|
|
1048
|
+
},
|
|
746
1049
|
/**
|
|
747
1050
|
*
|
|
748
1051
|
* @summary InfluxDB CreateToken
|
|
@@ -763,6 +1066,16 @@ export const InfluxdbApiFactory = function (configuration?: Configuration, baseP
|
|
|
763
1066
|
influxDBCreateUser(requestParameters: InfluxdbApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBUser> {
|
|
764
1067
|
return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
|
|
765
1068
|
},
|
|
1069
|
+
/**
|
|
1070
|
+
*
|
|
1071
|
+
* @summary InfluxDB DeleteBucket
|
|
1072
|
+
* @param {InfluxdbApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
|
|
1073
|
+
* @param {*} [options] Override http request option.
|
|
1074
|
+
* @throws {RequiredError}
|
|
1075
|
+
*/
|
|
1076
|
+
influxDBDeleteBucket(requestParameters: InfluxdbApiInfluxDBDeleteBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1077
|
+
return localVarFp.influxDBDeleteBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
1078
|
+
},
|
|
766
1079
|
/**
|
|
767
1080
|
*
|
|
768
1081
|
* @summary InfluxDB DeleteToken
|
|
@@ -783,6 +1096,16 @@ export const InfluxdbApiFactory = function (configuration?: Configuration, baseP
|
|
|
783
1096
|
influxDBDeleteUser(requestParameters: InfluxdbApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
784
1097
|
return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
785
1098
|
},
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @summary InfluxDB GetBucket
|
|
1102
|
+
* @param {InfluxdbApiInfluxDBGetBucketRequest} requestParameters Request parameters.
|
|
1103
|
+
* @param {*} [options] Override http request option.
|
|
1104
|
+
* @throws {RequiredError}
|
|
1105
|
+
*/
|
|
1106
|
+
influxDBGetBucket(requestParameters: InfluxdbApiInfluxDBGetBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket> {
|
|
1107
|
+
return localVarFp.influxDBGetBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
1108
|
+
},
|
|
786
1109
|
/**
|
|
787
1110
|
*
|
|
788
1111
|
* @summary InfluxDB ListBuckets
|
|
@@ -823,6 +1146,16 @@ export const InfluxdbApiFactory = function (configuration?: Configuration, baseP
|
|
|
823
1146
|
influxDBListUsers(requestParameters: InfluxdbApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBUser>> {
|
|
824
1147
|
return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
825
1148
|
},
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* @summary InfluxDB UpdateBucket
|
|
1152
|
+
* @param {InfluxdbApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
|
|
1153
|
+
* @param {*} [options] Override http request option.
|
|
1154
|
+
* @throws {RequiredError}
|
|
1155
|
+
*/
|
|
1156
|
+
influxDBUpdateBucket(requestParameters: InfluxdbApiInfluxDBUpdateBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket> {
|
|
1157
|
+
return localVarFp.influxDBUpdateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, requestParameters.influxDBBucketUpdate, options).then((request) => request(axios, basePath));
|
|
1158
|
+
},
|
|
826
1159
|
/**
|
|
827
1160
|
*
|
|
828
1161
|
* @summary InfluxDB UpdateToken
|
|
@@ -852,6 +1185,16 @@ export interface InfluxdbApiInterface {
|
|
|
852
1185
|
*/
|
|
853
1186
|
influxDBChangePassword(requestParameters: InfluxdbApiInfluxDBChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
854
1187
|
|
|
1188
|
+
/**
|
|
1189
|
+
*
|
|
1190
|
+
* @summary InfluxDB CreateBucket
|
|
1191
|
+
* @param {InfluxdbApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
|
|
1192
|
+
* @param {*} [options] Override http request option.
|
|
1193
|
+
* @throws {RequiredError}
|
|
1194
|
+
* @memberof InfluxdbApiInterface
|
|
1195
|
+
*/
|
|
1196
|
+
influxDBCreateBucket(requestParameters: InfluxdbApiInfluxDBCreateBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket>;
|
|
1197
|
+
|
|
855
1198
|
/**
|
|
856
1199
|
*
|
|
857
1200
|
* @summary InfluxDB CreateToken
|
|
@@ -872,6 +1215,16 @@ export interface InfluxdbApiInterface {
|
|
|
872
1215
|
*/
|
|
873
1216
|
influxDBCreateUser(requestParameters: InfluxdbApiInfluxDBCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBUser>;
|
|
874
1217
|
|
|
1218
|
+
/**
|
|
1219
|
+
*
|
|
1220
|
+
* @summary InfluxDB DeleteBucket
|
|
1221
|
+
* @param {InfluxdbApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
|
|
1222
|
+
* @param {*} [options] Override http request option.
|
|
1223
|
+
* @throws {RequiredError}
|
|
1224
|
+
* @memberof InfluxdbApiInterface
|
|
1225
|
+
*/
|
|
1226
|
+
influxDBDeleteBucket(requestParameters: InfluxdbApiInfluxDBDeleteBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1227
|
+
|
|
875
1228
|
/**
|
|
876
1229
|
*
|
|
877
1230
|
* @summary InfluxDB DeleteToken
|
|
@@ -892,6 +1245,16 @@ export interface InfluxdbApiInterface {
|
|
|
892
1245
|
*/
|
|
893
1246
|
influxDBDeleteUser(requestParameters: InfluxdbApiInfluxDBDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
894
1247
|
|
|
1248
|
+
/**
|
|
1249
|
+
*
|
|
1250
|
+
* @summary InfluxDB GetBucket
|
|
1251
|
+
* @param {InfluxdbApiInfluxDBGetBucketRequest} requestParameters Request parameters.
|
|
1252
|
+
* @param {*} [options] Override http request option.
|
|
1253
|
+
* @throws {RequiredError}
|
|
1254
|
+
* @memberof InfluxdbApiInterface
|
|
1255
|
+
*/
|
|
1256
|
+
influxDBGetBucket(requestParameters: InfluxdbApiInfluxDBGetBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket>;
|
|
1257
|
+
|
|
895
1258
|
/**
|
|
896
1259
|
*
|
|
897
1260
|
* @summary InfluxDB ListBuckets
|
|
@@ -932,6 +1295,16 @@ export interface InfluxdbApiInterface {
|
|
|
932
1295
|
*/
|
|
933
1296
|
influxDBListUsers(requestParameters: InfluxdbApiInfluxDBListUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<InfluxDBUser>>;
|
|
934
1297
|
|
|
1298
|
+
/**
|
|
1299
|
+
*
|
|
1300
|
+
* @summary InfluxDB UpdateBucket
|
|
1301
|
+
* @param {InfluxdbApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
|
|
1302
|
+
* @param {*} [options] Override http request option.
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
* @memberof InfluxdbApiInterface
|
|
1305
|
+
*/
|
|
1306
|
+
influxDBUpdateBucket(requestParameters: InfluxdbApiInfluxDBUpdateBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise<InfluxDBBucket>;
|
|
1307
|
+
|
|
935
1308
|
/**
|
|
936
1309
|
*
|
|
937
1310
|
* @summary InfluxDB UpdateToken
|
|
@@ -979,6 +1352,34 @@ export interface InfluxdbApiInfluxDBChangePasswordRequest {
|
|
|
979
1352
|
readonly influxDBPasswordChange: InfluxDBPasswordChange
|
|
980
1353
|
}
|
|
981
1354
|
|
|
1355
|
+
/**
|
|
1356
|
+
* Request parameters for influxDBCreateBucket operation in InfluxdbApi.
|
|
1357
|
+
* @export
|
|
1358
|
+
* @interface InfluxdbApiInfluxDBCreateBucketRequest
|
|
1359
|
+
*/
|
|
1360
|
+
export interface InfluxdbApiInfluxDBCreateBucketRequest {
|
|
1361
|
+
/**
|
|
1362
|
+
*
|
|
1363
|
+
* @type {string}
|
|
1364
|
+
* @memberof InfluxdbApiInfluxDBCreateBucket
|
|
1365
|
+
*/
|
|
1366
|
+
readonly orgName: string
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
*
|
|
1370
|
+
* @type {string}
|
|
1371
|
+
* @memberof InfluxdbApiInfluxDBCreateBucket
|
|
1372
|
+
*/
|
|
1373
|
+
readonly clusterName: string
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
*
|
|
1377
|
+
* @type {InfluxDBBucketCreate}
|
|
1378
|
+
* @memberof InfluxdbApiInfluxDBCreateBucket
|
|
1379
|
+
*/
|
|
1380
|
+
readonly influxDBBucketCreate: InfluxDBBucketCreate
|
|
1381
|
+
}
|
|
1382
|
+
|
|
982
1383
|
/**
|
|
983
1384
|
* Request parameters for influxDBCreateToken operation in InfluxdbApi.
|
|
984
1385
|
* @export
|
|
@@ -1042,6 +1443,41 @@ export interface InfluxdbApiInfluxDBCreateUserRequest {
|
|
|
1042
1443
|
readonly influxDBUserCreate: InfluxDBUserCreate
|
|
1043
1444
|
}
|
|
1044
1445
|
|
|
1446
|
+
/**
|
|
1447
|
+
* Request parameters for influxDBDeleteBucket operation in InfluxdbApi.
|
|
1448
|
+
* @export
|
|
1449
|
+
* @interface InfluxdbApiInfluxDBDeleteBucketRequest
|
|
1450
|
+
*/
|
|
1451
|
+
export interface InfluxdbApiInfluxDBDeleteBucketRequest {
|
|
1452
|
+
/**
|
|
1453
|
+
*
|
|
1454
|
+
* @type {string}
|
|
1455
|
+
* @memberof InfluxdbApiInfluxDBDeleteBucket
|
|
1456
|
+
*/
|
|
1457
|
+
readonly orgName: string
|
|
1458
|
+
|
|
1459
|
+
/**
|
|
1460
|
+
*
|
|
1461
|
+
* @type {string}
|
|
1462
|
+
* @memberof InfluxdbApiInfluxDBDeleteBucket
|
|
1463
|
+
*/
|
|
1464
|
+
readonly clusterName: string
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
*
|
|
1468
|
+
* @type {string}
|
|
1469
|
+
* @memberof InfluxdbApiInfluxDBDeleteBucket
|
|
1470
|
+
*/
|
|
1471
|
+
readonly bucketID: string
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @type {string}
|
|
1476
|
+
* @memberof InfluxdbApiInfluxDBDeleteBucket
|
|
1477
|
+
*/
|
|
1478
|
+
readonly influxOrgID: string
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1045
1481
|
/**
|
|
1046
1482
|
* Request parameters for influxDBDeleteToken operation in InfluxdbApi.
|
|
1047
1483
|
* @export
|
|
@@ -1105,6 +1541,41 @@ export interface InfluxdbApiInfluxDBDeleteUserRequest {
|
|
|
1105
1541
|
readonly userID: string
|
|
1106
1542
|
}
|
|
1107
1543
|
|
|
1544
|
+
/**
|
|
1545
|
+
* Request parameters for influxDBGetBucket operation in InfluxdbApi.
|
|
1546
|
+
* @export
|
|
1547
|
+
* @interface InfluxdbApiInfluxDBGetBucketRequest
|
|
1548
|
+
*/
|
|
1549
|
+
export interface InfluxdbApiInfluxDBGetBucketRequest {
|
|
1550
|
+
/**
|
|
1551
|
+
*
|
|
1552
|
+
* @type {string}
|
|
1553
|
+
* @memberof InfluxdbApiInfluxDBGetBucket
|
|
1554
|
+
*/
|
|
1555
|
+
readonly orgName: string
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
*
|
|
1559
|
+
* @type {string}
|
|
1560
|
+
* @memberof InfluxdbApiInfluxDBGetBucket
|
|
1561
|
+
*/
|
|
1562
|
+
readonly clusterName: string
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
*
|
|
1566
|
+
* @type {string}
|
|
1567
|
+
* @memberof InfluxdbApiInfluxDBGetBucket
|
|
1568
|
+
*/
|
|
1569
|
+
readonly bucketID: string
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
*
|
|
1573
|
+
* @type {string}
|
|
1574
|
+
* @memberof InfluxdbApiInfluxDBGetBucket
|
|
1575
|
+
*/
|
|
1576
|
+
readonly influxOrgID: string
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1108
1579
|
/**
|
|
1109
1580
|
* Request parameters for influxDBListBuckets operation in InfluxdbApi.
|
|
1110
1581
|
* @export
|
|
@@ -1203,6 +1674,48 @@ export interface InfluxdbApiInfluxDBListUsersRequest {
|
|
|
1203
1674
|
readonly clusterName: string
|
|
1204
1675
|
}
|
|
1205
1676
|
|
|
1677
|
+
/**
|
|
1678
|
+
* Request parameters for influxDBUpdateBucket operation in InfluxdbApi.
|
|
1679
|
+
* @export
|
|
1680
|
+
* @interface InfluxdbApiInfluxDBUpdateBucketRequest
|
|
1681
|
+
*/
|
|
1682
|
+
export interface InfluxdbApiInfluxDBUpdateBucketRequest {
|
|
1683
|
+
/**
|
|
1684
|
+
*
|
|
1685
|
+
* @type {string}
|
|
1686
|
+
* @memberof InfluxdbApiInfluxDBUpdateBucket
|
|
1687
|
+
*/
|
|
1688
|
+
readonly orgName: string
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
*
|
|
1692
|
+
* @type {string}
|
|
1693
|
+
* @memberof InfluxdbApiInfluxDBUpdateBucket
|
|
1694
|
+
*/
|
|
1695
|
+
readonly clusterName: string
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
*
|
|
1699
|
+
* @type {string}
|
|
1700
|
+
* @memberof InfluxdbApiInfluxDBUpdateBucket
|
|
1701
|
+
*/
|
|
1702
|
+
readonly bucketID: string
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
*
|
|
1706
|
+
* @type {string}
|
|
1707
|
+
* @memberof InfluxdbApiInfluxDBUpdateBucket
|
|
1708
|
+
*/
|
|
1709
|
+
readonly influxOrgID: string
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
*
|
|
1713
|
+
* @type {InfluxDBBucketUpdate}
|
|
1714
|
+
* @memberof InfluxdbApiInfluxDBUpdateBucket
|
|
1715
|
+
*/
|
|
1716
|
+
readonly influxDBBucketUpdate: InfluxDBBucketUpdate
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1206
1719
|
/**
|
|
1207
1720
|
* Request parameters for influxDBUpdateToken operation in InfluxdbApi.
|
|
1208
1721
|
* @export
|
|
@@ -1264,6 +1777,18 @@ export class InfluxdbApi extends BaseAPI implements InfluxdbApiInterface {
|
|
|
1264
1777
|
return InfluxdbApiFp(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
1265
1778
|
}
|
|
1266
1779
|
|
|
1780
|
+
/**
|
|
1781
|
+
*
|
|
1782
|
+
* @summary InfluxDB CreateBucket
|
|
1783
|
+
* @param {InfluxdbApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
|
|
1784
|
+
* @param {*} [options] Override http request option.
|
|
1785
|
+
* @throws {RequiredError}
|
|
1786
|
+
* @memberof InfluxdbApi
|
|
1787
|
+
*/
|
|
1788
|
+
public influxDBCreateBucket(requestParameters: InfluxdbApiInfluxDBCreateBucketRequest, options?: RawAxiosRequestConfig) {
|
|
1789
|
+
return InfluxdbApiFp(this.configuration).influxDBCreateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBBucketCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1267
1792
|
/**
|
|
1268
1793
|
*
|
|
1269
1794
|
* @summary InfluxDB CreateToken
|
|
@@ -1288,6 +1813,18 @@ export class InfluxdbApi extends BaseAPI implements InfluxdbApiInterface {
|
|
|
1288
1813
|
return InfluxdbApiFp(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1289
1814
|
}
|
|
1290
1815
|
|
|
1816
|
+
/**
|
|
1817
|
+
*
|
|
1818
|
+
* @summary InfluxDB DeleteBucket
|
|
1819
|
+
* @param {InfluxdbApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
|
|
1820
|
+
* @param {*} [options] Override http request option.
|
|
1821
|
+
* @throws {RequiredError}
|
|
1822
|
+
* @memberof InfluxdbApi
|
|
1823
|
+
*/
|
|
1824
|
+
public influxDBDeleteBucket(requestParameters: InfluxdbApiInfluxDBDeleteBucketRequest, options?: RawAxiosRequestConfig) {
|
|
1825
|
+
return InfluxdbApiFp(this.configuration).influxDBDeleteBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1291
1828
|
/**
|
|
1292
1829
|
*
|
|
1293
1830
|
* @summary InfluxDB DeleteToken
|
|
@@ -1312,6 +1849,18 @@ export class InfluxdbApi extends BaseAPI implements InfluxdbApiInterface {
|
|
|
1312
1849
|
return InfluxdbApiFp(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
1313
1850
|
}
|
|
1314
1851
|
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @summary InfluxDB GetBucket
|
|
1855
|
+
* @param {InfluxdbApiInfluxDBGetBucketRequest} requestParameters Request parameters.
|
|
1856
|
+
* @param {*} [options] Override http request option.
|
|
1857
|
+
* @throws {RequiredError}
|
|
1858
|
+
* @memberof InfluxdbApi
|
|
1859
|
+
*/
|
|
1860
|
+
public influxDBGetBucket(requestParameters: InfluxdbApiInfluxDBGetBucketRequest, options?: RawAxiosRequestConfig) {
|
|
1861
|
+
return InfluxdbApiFp(this.configuration).influxDBGetBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1315
1864
|
/**
|
|
1316
1865
|
*
|
|
1317
1866
|
* @summary InfluxDB ListBuckets
|
|
@@ -1360,6 +1909,18 @@ export class InfluxdbApi extends BaseAPI implements InfluxdbApiInterface {
|
|
|
1360
1909
|
return InfluxdbApiFp(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1361
1910
|
}
|
|
1362
1911
|
|
|
1912
|
+
/**
|
|
1913
|
+
*
|
|
1914
|
+
* @summary InfluxDB UpdateBucket
|
|
1915
|
+
* @param {InfluxdbApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
|
|
1916
|
+
* @param {*} [options] Override http request option.
|
|
1917
|
+
* @throws {RequiredError}
|
|
1918
|
+
* @memberof InfluxdbApi
|
|
1919
|
+
*/
|
|
1920
|
+
public influxDBUpdateBucket(requestParameters: InfluxdbApiInfluxDBUpdateBucketRequest, options?: RawAxiosRequestConfig) {
|
|
1921
|
+
return InfluxdbApiFp(this.configuration).influxDBUpdateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, requestParameters.influxDBBucketUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1363
1924
|
/**
|
|
1364
1925
|
*
|
|
1365
1926
|
* @summary InfluxDB UpdateToken
|