kb-cloud-client-typescript 2.2.97 → 2.2.99
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/account-api.d.ts +406 -0
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +427 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rdbms-api.d.ts +406 -0
- package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/rdbms-api.js +427 -0
- package/dist/adminapi/apis/rdbms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +406 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +427 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/dms-service-account-create-request.d.ts +55 -0
- package/dist/adminapi/models/dms-service-account-create-request.d.ts.map +1 -0
- package/dist/adminapi/models/dms-service-account-create-request.js +16 -0
- package/dist/adminapi/models/dms-service-account-create-request.js.map +1 -0
- package/dist/adminapi/models/dms-service-account-status.d.ts +22 -0
- package/dist/adminapi/models/dms-service-account-status.d.ts.map +1 -0
- package/dist/adminapi/models/dms-service-account-status.js +26 -0
- package/dist/adminapi/models/dms-service-account-status.js.map +1 -0
- package/dist/adminapi/models/dms-service-account-update-request.d.ts +32 -0
- package/dist/adminapi/models/dms-service-account-update-request.d.ts.map +1 -0
- package/dist/adminapi/models/dms-service-account-update-request.js +16 -0
- package/dist/adminapi/models/dms-service-account-update-request.js.map +1 -0
- package/dist/adminapi/models/dms-service-account.d.ts +73 -0
- package/dist/adminapi/models/dms-service-account.d.ts.map +1 -0
- package/dist/adminapi/models/dms-service-account.js +16 -0
- package/dist/adminapi/models/dms-service-account.js.map +1 -0
- 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/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -0
- package/src/adminapi/apis/account-api.ts +703 -0
- package/src/adminapi/apis/rdbms-api.ts +703 -0
- package/src/adminapi/apis/shared-api.ts +703 -0
- package/src/adminapi/models/dms-service-account-create-request.ts +60 -0
- package/src/adminapi/models/dms-service-account-status.ts +31 -0
- package/src/adminapi/models/dms-service-account-update-request.ts +41 -0
- package/src/adminapi/models/dms-service-account.ts +78 -0
- package/src/adminapi/models/index.ts +4 -0
- package/src/adminapi.yaml +330 -0
|
@@ -32,6 +32,12 @@ import type { Database } from '../models';
|
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
import type { DatabaseList } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
35
|
+
import type { DmsServiceAccount } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { DmsServiceAccountCreateRequest } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { DmsServiceAccountUpdateRequest } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
35
41
|
import type { DmsSession } from '../models';
|
|
36
42
|
// @ts-ignore
|
|
37
43
|
import type { PrivilegeListItem } from '../models';
|
|
@@ -139,6 +145,61 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
139
145
|
|
|
140
146
|
|
|
141
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(body, localVarRequestOptions, configuration)
|
|
154
|
+
|
|
155
|
+
return {
|
|
156
|
+
url: toPathString(localVarUrlObj),
|
|
157
|
+
options: localVarRequestOptions,
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
* create a MinIO service account access key
|
|
162
|
+
* @summary Create MinIO access key
|
|
163
|
+
* @param {string} engineName name of the engine
|
|
164
|
+
* @param {string} orgName name of the organization
|
|
165
|
+
* @param {string} clusterName name of the cluster
|
|
166
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
171
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
172
|
+
assertParamExists('createServiceAccount', 'engineName', engineName)
|
|
173
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
174
|
+
assertParamExists('createServiceAccount', 'orgName', orgName)
|
|
175
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
176
|
+
assertParamExists('createServiceAccount', 'clusterName', clusterName)
|
|
177
|
+
// verify required parameter 'body' is not null or undefined
|
|
178
|
+
assertParamExists('createServiceAccount', 'body', body)
|
|
179
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
180
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
181
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
182
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
183
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
184
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
185
|
+
let baseOptions;
|
|
186
|
+
if (configuration) {
|
|
187
|
+
baseOptions = configuration.baseOptions;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
191
|
+
const localVarHeaderParameter = {} as any;
|
|
192
|
+
const localVarQueryParameter = {} as any;
|
|
193
|
+
|
|
194
|
+
// authentication BearerToken required
|
|
195
|
+
// http bearer authentication required
|
|
196
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
197
|
+
|
|
198
|
+
// authentication DigestAuth required
|
|
199
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
142
203
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
143
204
|
|
|
144
205
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -248,6 +309,59 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
248
309
|
|
|
249
310
|
|
|
250
311
|
|
|
312
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
313
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
314
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
315
|
+
|
|
316
|
+
return {
|
|
317
|
+
url: toPathString(localVarUrlObj),
|
|
318
|
+
options: localVarRequestOptions,
|
|
319
|
+
};
|
|
320
|
+
},
|
|
321
|
+
/**
|
|
322
|
+
* delete a MinIO service account access key
|
|
323
|
+
* @summary Delete MinIO access key
|
|
324
|
+
* @param {string} engineName name of the engine
|
|
325
|
+
* @param {string} orgName name of the organization
|
|
326
|
+
* @param {string} clusterName name of the cluster
|
|
327
|
+
* @param {string} accessKey MinIO access key
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
332
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
333
|
+
assertParamExists('deleteServiceAccount', 'engineName', engineName)
|
|
334
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
335
|
+
assertParamExists('deleteServiceAccount', 'orgName', orgName)
|
|
336
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
337
|
+
assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
|
|
338
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
339
|
+
assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
|
|
340
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
341
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
342
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
343
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
344
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
345
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
346
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
347
|
+
let baseOptions;
|
|
348
|
+
if (configuration) {
|
|
349
|
+
baseOptions = configuration.baseOptions;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
353
|
+
const localVarHeaderParameter = {} as any;
|
|
354
|
+
const localVarQueryParameter = {} as any;
|
|
355
|
+
|
|
356
|
+
// authentication BearerToken required
|
|
357
|
+
// http bearer authentication required
|
|
358
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
359
|
+
|
|
360
|
+
// authentication DigestAuth required
|
|
361
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
251
365
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
252
366
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
367
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -422,6 +536,59 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
422
536
|
|
|
423
537
|
|
|
424
538
|
|
|
539
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
540
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
541
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
542
|
+
|
|
543
|
+
return {
|
|
544
|
+
url: toPathString(localVarUrlObj),
|
|
545
|
+
options: localVarRequestOptions,
|
|
546
|
+
};
|
|
547
|
+
},
|
|
548
|
+
/**
|
|
549
|
+
* get a MinIO service account access key
|
|
550
|
+
* @summary Get MinIO access key
|
|
551
|
+
* @param {string} engineName name of the engine
|
|
552
|
+
* @param {string} orgName name of the organization
|
|
553
|
+
* @param {string} clusterName name of the cluster
|
|
554
|
+
* @param {string} accessKey MinIO access key
|
|
555
|
+
* @param {*} [options] Override http request option.
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
*/
|
|
558
|
+
getServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
559
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
560
|
+
assertParamExists('getServiceAccount', 'engineName', engineName)
|
|
561
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
562
|
+
assertParamExists('getServiceAccount', 'orgName', orgName)
|
|
563
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
564
|
+
assertParamExists('getServiceAccount', 'clusterName', clusterName)
|
|
565
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
566
|
+
assertParamExists('getServiceAccount', 'accessKey', accessKey)
|
|
567
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
568
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
569
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
570
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
571
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
572
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
574
|
+
let baseOptions;
|
|
575
|
+
if (configuration) {
|
|
576
|
+
baseOptions = configuration.baseOptions;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
580
|
+
const localVarHeaderParameter = {} as any;
|
|
581
|
+
const localVarQueryParameter = {} as any;
|
|
582
|
+
|
|
583
|
+
// authentication BearerToken required
|
|
584
|
+
// http bearer authentication required
|
|
585
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
586
|
+
|
|
587
|
+
// authentication DigestAuth required
|
|
588
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
|
|
425
592
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
426
593
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
427
594
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -578,6 +745,60 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
578
745
|
|
|
579
746
|
|
|
580
747
|
|
|
748
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
749
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
750
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
751
|
+
|
|
752
|
+
return {
|
|
753
|
+
url: toPathString(localVarUrlObj),
|
|
754
|
+
options: localVarRequestOptions,
|
|
755
|
+
};
|
|
756
|
+
},
|
|
757
|
+
/**
|
|
758
|
+
* list MinIO service account access keys
|
|
759
|
+
* @summary List MinIO access keys
|
|
760
|
+
* @param {string} engineName name of the engine
|
|
761
|
+
* @param {string} orgName name of the organization
|
|
762
|
+
* @param {string} clusterName name of the cluster
|
|
763
|
+
* @param {string} [userName] MinIO user that owns the service accounts
|
|
764
|
+
* @param {*} [options] Override http request option.
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
*/
|
|
767
|
+
listServiceAccounts: async (engineName: string, orgName: string, clusterName: string, userName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
768
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
769
|
+
assertParamExists('listServiceAccounts', 'engineName', engineName)
|
|
770
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
771
|
+
assertParamExists('listServiceAccounts', 'orgName', orgName)
|
|
772
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
773
|
+
assertParamExists('listServiceAccounts', 'clusterName', clusterName)
|
|
774
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
775
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
776
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
777
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
778
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
779
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
780
|
+
let baseOptions;
|
|
781
|
+
if (configuration) {
|
|
782
|
+
baseOptions = configuration.baseOptions;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
786
|
+
const localVarHeaderParameter = {} as any;
|
|
787
|
+
const localVarQueryParameter = {} as any;
|
|
788
|
+
|
|
789
|
+
// authentication BearerToken required
|
|
790
|
+
// http bearer authentication required
|
|
791
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
792
|
+
|
|
793
|
+
// authentication DigestAuth required
|
|
794
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
795
|
+
|
|
796
|
+
if (userName !== undefined) {
|
|
797
|
+
localVarQueryParameter['userName'] = userName;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
581
802
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
582
803
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
583
804
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -811,6 +1032,65 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
811
1032
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
812
1033
|
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
813
1034
|
|
|
1035
|
+
return {
|
|
1036
|
+
url: toPathString(localVarUrlObj),
|
|
1037
|
+
options: localVarRequestOptions,
|
|
1038
|
+
};
|
|
1039
|
+
},
|
|
1040
|
+
/**
|
|
1041
|
+
* update a MinIO service account access key
|
|
1042
|
+
* @summary Update MinIO access key
|
|
1043
|
+
* @param {string} engineName name of the engine
|
|
1044
|
+
* @param {string} orgName name of the organization
|
|
1045
|
+
* @param {string} clusterName name of the cluster
|
|
1046
|
+
* @param {string} accessKey MinIO access key
|
|
1047
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
1048
|
+
* @param {*} [options] Override http request option.
|
|
1049
|
+
* @throws {RequiredError}
|
|
1050
|
+
*/
|
|
1051
|
+
updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1052
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1053
|
+
assertParamExists('updateServiceAccount', 'engineName', engineName)
|
|
1054
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1055
|
+
assertParamExists('updateServiceAccount', 'orgName', orgName)
|
|
1056
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1057
|
+
assertParamExists('updateServiceAccount', 'clusterName', clusterName)
|
|
1058
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
1059
|
+
assertParamExists('updateServiceAccount', 'accessKey', accessKey)
|
|
1060
|
+
// verify required parameter 'body' is not null or undefined
|
|
1061
|
+
assertParamExists('updateServiceAccount', 'body', body)
|
|
1062
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
1063
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1064
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1065
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1066
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
1067
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1068
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1069
|
+
let baseOptions;
|
|
1070
|
+
if (configuration) {
|
|
1071
|
+
baseOptions = configuration.baseOptions;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1075
|
+
const localVarHeaderParameter = {} as any;
|
|
1076
|
+
const localVarQueryParameter = {} as any;
|
|
1077
|
+
|
|
1078
|
+
// authentication BearerToken required
|
|
1079
|
+
// http bearer authentication required
|
|
1080
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1081
|
+
|
|
1082
|
+
// authentication DigestAuth required
|
|
1083
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1088
|
+
|
|
1089
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1090
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1091
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1092
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1093
|
+
|
|
814
1094
|
return {
|
|
815
1095
|
url: toPathString(localVarUrlObj),
|
|
816
1096
|
options: localVarRequestOptions,
|
|
@@ -858,6 +1138,22 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
858
1138
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.createDatabase']?.[localVarOperationServerIndex]?.url;
|
|
859
1139
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
860
1140
|
},
|
|
1141
|
+
/**
|
|
1142
|
+
* create a MinIO service account access key
|
|
1143
|
+
* @summary Create MinIO access key
|
|
1144
|
+
* @param {string} engineName name of the engine
|
|
1145
|
+
* @param {string} orgName name of the organization
|
|
1146
|
+
* @param {string} clusterName name of the cluster
|
|
1147
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
1148
|
+
* @param {*} [options] Override http request option.
|
|
1149
|
+
* @throws {RequiredError}
|
|
1150
|
+
*/
|
|
1151
|
+
async createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
1152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
|
|
1153
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1154
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1155
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1156
|
+
},
|
|
861
1157
|
/**
|
|
862
1158
|
* delete an account in cluster
|
|
863
1159
|
* @summary Delete cluster account
|
|
@@ -890,6 +1186,22 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
890
1186
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.deleteDatabase']?.[localVarOperationServerIndex]?.url;
|
|
891
1187
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
892
1188
|
},
|
|
1189
|
+
/**
|
|
1190
|
+
* delete a MinIO service account access key
|
|
1191
|
+
* @summary Delete MinIO access key
|
|
1192
|
+
* @param {string} engineName name of the engine
|
|
1193
|
+
* @param {string} orgName name of the organization
|
|
1194
|
+
* @param {string} clusterName name of the cluster
|
|
1195
|
+
* @param {string} accessKey MinIO access key
|
|
1196
|
+
* @param {*} [options] Override http request option.
|
|
1197
|
+
* @throws {RequiredError}
|
|
1198
|
+
*/
|
|
1199
|
+
async deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
1201
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1202
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.deleteServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1203
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1204
|
+
},
|
|
893
1205
|
/**
|
|
894
1206
|
* generate demo data
|
|
895
1207
|
* @summary generate demo data
|
|
@@ -939,6 +1251,22 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
939
1251
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.getDatabaseOptions']?.[localVarOperationServerIndex]?.url;
|
|
940
1252
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
941
1253
|
},
|
|
1254
|
+
/**
|
|
1255
|
+
* get a MinIO service account access key
|
|
1256
|
+
* @summary Get MinIO access key
|
|
1257
|
+
* @param {string} engineName name of the engine
|
|
1258
|
+
* @param {string} orgName name of the organization
|
|
1259
|
+
* @param {string} clusterName name of the cluster
|
|
1260
|
+
* @param {string} accessKey MinIO access key
|
|
1261
|
+
* @param {*} [options] Override http request option.
|
|
1262
|
+
* @throws {RequiredError}
|
|
1263
|
+
*/
|
|
1264
|
+
async getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
1265
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
1266
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1267
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1268
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1269
|
+
},
|
|
942
1270
|
/**
|
|
943
1271
|
* kill a session in cluster
|
|
944
1272
|
* @summary Kill cluster session
|
|
@@ -986,6 +1314,22 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
986
1314
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.listDatabases']?.[localVarOperationServerIndex]?.url;
|
|
987
1315
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
988
1316
|
},
|
|
1317
|
+
/**
|
|
1318
|
+
* list MinIO service account access keys
|
|
1319
|
+
* @summary List MinIO access keys
|
|
1320
|
+
* @param {string} engineName name of the engine
|
|
1321
|
+
* @param {string} orgName name of the organization
|
|
1322
|
+
* @param {string} clusterName name of the cluster
|
|
1323
|
+
* @param {string} [userName] MinIO user that owns the service accounts
|
|
1324
|
+
* @param {*} [options] Override http request option.
|
|
1325
|
+
* @throws {RequiredError}
|
|
1326
|
+
*/
|
|
1327
|
+
async listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>> {
|
|
1328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
|
|
1329
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1330
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
|
|
1331
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1332
|
+
},
|
|
989
1333
|
/**
|
|
990
1334
|
* list sessions in cluster
|
|
991
1335
|
* @summary List cluster sessions
|
|
@@ -1053,6 +1397,23 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
1053
1397
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.updateDatabaseConfig']?.[localVarOperationServerIndex]?.url;
|
|
1054
1398
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1055
1399
|
},
|
|
1400
|
+
/**
|
|
1401
|
+
* update a MinIO service account access key
|
|
1402
|
+
* @summary Update MinIO access key
|
|
1403
|
+
* @param {string} engineName name of the engine
|
|
1404
|
+
* @param {string} orgName name of the organization
|
|
1405
|
+
* @param {string} clusterName name of the cluster
|
|
1406
|
+
* @param {string} accessKey MinIO access key
|
|
1407
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
1408
|
+
* @param {*} [options] Override http request option.
|
|
1409
|
+
* @throws {RequiredError}
|
|
1410
|
+
*/
|
|
1411
|
+
async updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
1412
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
|
|
1413
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1414
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.updateServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1415
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1416
|
+
},
|
|
1056
1417
|
}
|
|
1057
1418
|
};
|
|
1058
1419
|
|
|
@@ -1083,6 +1444,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1083
1444
|
createDatabase(requestParameters: RdbmsApiCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1084
1445
|
return localVarFp.createDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1085
1446
|
},
|
|
1447
|
+
/**
|
|
1448
|
+
* create a MinIO service account access key
|
|
1449
|
+
* @summary Create MinIO access key
|
|
1450
|
+
* @param {RdbmsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
1451
|
+
* @param {*} [options] Override http request option.
|
|
1452
|
+
* @throws {RequiredError}
|
|
1453
|
+
*/
|
|
1454
|
+
createServiceAccount(requestParameters: RdbmsApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
1455
|
+
return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1456
|
+
},
|
|
1086
1457
|
/**
|
|
1087
1458
|
* delete an account in cluster
|
|
1088
1459
|
* @summary Delete cluster account
|
|
@@ -1103,6 +1474,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1103
1474
|
deleteDatabase(requestParameters: RdbmsApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1104
1475
|
return localVarFp.deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
|
|
1105
1476
|
},
|
|
1477
|
+
/**
|
|
1478
|
+
* delete a MinIO service account access key
|
|
1479
|
+
* @summary Delete MinIO access key
|
|
1480
|
+
* @param {RdbmsApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
1481
|
+
* @param {*} [options] Override http request option.
|
|
1482
|
+
* @throws {RequiredError}
|
|
1483
|
+
*/
|
|
1484
|
+
deleteServiceAccount(requestParameters: RdbmsApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1485
|
+
return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
1486
|
+
},
|
|
1106
1487
|
/**
|
|
1107
1488
|
* generate demo data
|
|
1108
1489
|
* @summary generate demo data
|
|
@@ -1132,6 +1513,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1132
1513
|
getDatabaseOptions(requestParameters: RdbmsApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
1133
1514
|
return localVarFp.getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(axios, basePath));
|
|
1134
1515
|
},
|
|
1516
|
+
/**
|
|
1517
|
+
* get a MinIO service account access key
|
|
1518
|
+
* @summary Get MinIO access key
|
|
1519
|
+
* @param {RdbmsApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
1520
|
+
* @param {*} [options] Override http request option.
|
|
1521
|
+
* @throws {RequiredError}
|
|
1522
|
+
*/
|
|
1523
|
+
getServiceAccount(requestParameters: RdbmsApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
1524
|
+
return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
1525
|
+
},
|
|
1135
1526
|
/**
|
|
1136
1527
|
* kill a session in cluster
|
|
1137
1528
|
* @summary Kill cluster session
|
|
@@ -1162,6 +1553,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1162
1553
|
listDatabases(requestParameters: RdbmsApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList> {
|
|
1163
1554
|
return localVarFp.listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
1164
1555
|
},
|
|
1556
|
+
/**
|
|
1557
|
+
* list MinIO service account access keys
|
|
1558
|
+
* @summary List MinIO access keys
|
|
1559
|
+
* @param {RdbmsApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
1560
|
+
* @param {*} [options] Override http request option.
|
|
1561
|
+
* @throws {RequiredError}
|
|
1562
|
+
*/
|
|
1563
|
+
listServiceAccounts(requestParameters: RdbmsApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>> {
|
|
1564
|
+
return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
|
|
1565
|
+
},
|
|
1165
1566
|
/**
|
|
1166
1567
|
* list sessions in cluster
|
|
1167
1568
|
* @summary List cluster sessions
|
|
@@ -1202,6 +1603,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1202
1603
|
updateDatabaseConfig(requestParameters: RdbmsApiUpdateDatabaseConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1203
1604
|
return localVarFp.updateDatabaseConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
1204
1605
|
},
|
|
1606
|
+
/**
|
|
1607
|
+
* update a MinIO service account access key
|
|
1608
|
+
* @summary Update MinIO access key
|
|
1609
|
+
* @param {RdbmsApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
1610
|
+
* @param {*} [options] Override http request option.
|
|
1611
|
+
* @throws {RequiredError}
|
|
1612
|
+
*/
|
|
1613
|
+
updateServiceAccount(requestParameters: RdbmsApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
1614
|
+
return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1615
|
+
},
|
|
1205
1616
|
};
|
|
1206
1617
|
};
|
|
1207
1618
|
|
|
@@ -1231,6 +1642,16 @@ export interface RdbmsApiInterface {
|
|
|
1231
1642
|
*/
|
|
1232
1643
|
createDatabase(requestParameters: RdbmsApiCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1233
1644
|
|
|
1645
|
+
/**
|
|
1646
|
+
* create a MinIO service account access key
|
|
1647
|
+
* @summary Create MinIO access key
|
|
1648
|
+
* @param {RdbmsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
1649
|
+
* @param {*} [options] Override http request option.
|
|
1650
|
+
* @throws {RequiredError}
|
|
1651
|
+
* @memberof RdbmsApiInterface
|
|
1652
|
+
*/
|
|
1653
|
+
createServiceAccount(requestParameters: RdbmsApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
1654
|
+
|
|
1234
1655
|
/**
|
|
1235
1656
|
* delete an account in cluster
|
|
1236
1657
|
* @summary Delete cluster account
|
|
@@ -1251,6 +1672,16 @@ export interface RdbmsApiInterface {
|
|
|
1251
1672
|
*/
|
|
1252
1673
|
deleteDatabase(requestParameters: RdbmsApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1253
1674
|
|
|
1675
|
+
/**
|
|
1676
|
+
* delete a MinIO service account access key
|
|
1677
|
+
* @summary Delete MinIO access key
|
|
1678
|
+
* @param {RdbmsApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
1679
|
+
* @param {*} [options] Override http request option.
|
|
1680
|
+
* @throws {RequiredError}
|
|
1681
|
+
* @memberof RdbmsApiInterface
|
|
1682
|
+
*/
|
|
1683
|
+
deleteServiceAccount(requestParameters: RdbmsApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1684
|
+
|
|
1254
1685
|
/**
|
|
1255
1686
|
* generate demo data
|
|
1256
1687
|
* @summary generate demo data
|
|
@@ -1280,6 +1711,16 @@ export interface RdbmsApiInterface {
|
|
|
1280
1711
|
*/
|
|
1281
1712
|
getDatabaseOptions(requestParameters: RdbmsApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
1282
1713
|
|
|
1714
|
+
/**
|
|
1715
|
+
* get a MinIO service account access key
|
|
1716
|
+
* @summary Get MinIO access key
|
|
1717
|
+
* @param {RdbmsApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
1718
|
+
* @param {*} [options] Override http request option.
|
|
1719
|
+
* @throws {RequiredError}
|
|
1720
|
+
* @memberof RdbmsApiInterface
|
|
1721
|
+
*/
|
|
1722
|
+
getServiceAccount(requestParameters: RdbmsApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
1723
|
+
|
|
1283
1724
|
/**
|
|
1284
1725
|
* kill a session in cluster
|
|
1285
1726
|
* @summary Kill cluster session
|
|
@@ -1310,6 +1751,16 @@ export interface RdbmsApiInterface {
|
|
|
1310
1751
|
*/
|
|
1311
1752
|
listDatabases(requestParameters: RdbmsApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList>;
|
|
1312
1753
|
|
|
1754
|
+
/**
|
|
1755
|
+
* list MinIO service account access keys
|
|
1756
|
+
* @summary List MinIO access keys
|
|
1757
|
+
* @param {RdbmsApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
1758
|
+
* @param {*} [options] Override http request option.
|
|
1759
|
+
* @throws {RequiredError}
|
|
1760
|
+
* @memberof RdbmsApiInterface
|
|
1761
|
+
*/
|
|
1762
|
+
listServiceAccounts(requestParameters: RdbmsApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
|
|
1763
|
+
|
|
1313
1764
|
/**
|
|
1314
1765
|
* list sessions in cluster
|
|
1315
1766
|
* @summary List cluster sessions
|
|
@@ -1350,6 +1801,16 @@ export interface RdbmsApiInterface {
|
|
|
1350
1801
|
*/
|
|
1351
1802
|
updateDatabaseConfig(requestParameters: RdbmsApiUpdateDatabaseConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1352
1803
|
|
|
1804
|
+
/**
|
|
1805
|
+
* update a MinIO service account access key
|
|
1806
|
+
* @summary Update MinIO access key
|
|
1807
|
+
* @param {RdbmsApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
1808
|
+
* @param {*} [options] Override http request option.
|
|
1809
|
+
* @throws {RequiredError}
|
|
1810
|
+
* @memberof RdbmsApiInterface
|
|
1811
|
+
*/
|
|
1812
|
+
updateServiceAccount(requestParameters: RdbmsApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
1813
|
+
|
|
1353
1814
|
}
|
|
1354
1815
|
|
|
1355
1816
|
/**
|
|
@@ -1422,6 +1883,41 @@ export interface RdbmsApiCreateDatabaseRequest {
|
|
|
1422
1883
|
readonly body: Database
|
|
1423
1884
|
}
|
|
1424
1885
|
|
|
1886
|
+
/**
|
|
1887
|
+
* Request parameters for createServiceAccount operation in RdbmsApi.
|
|
1888
|
+
* @export
|
|
1889
|
+
* @interface RdbmsApiCreateServiceAccountRequest
|
|
1890
|
+
*/
|
|
1891
|
+
export interface RdbmsApiCreateServiceAccountRequest {
|
|
1892
|
+
/**
|
|
1893
|
+
* name of the engine
|
|
1894
|
+
* @type {string}
|
|
1895
|
+
* @memberof RdbmsApiCreateServiceAccount
|
|
1896
|
+
*/
|
|
1897
|
+
readonly engineName: string
|
|
1898
|
+
|
|
1899
|
+
/**
|
|
1900
|
+
* name of the organization
|
|
1901
|
+
* @type {string}
|
|
1902
|
+
* @memberof RdbmsApiCreateServiceAccount
|
|
1903
|
+
*/
|
|
1904
|
+
readonly orgName: string
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* name of the cluster
|
|
1908
|
+
* @type {string}
|
|
1909
|
+
* @memberof RdbmsApiCreateServiceAccount
|
|
1910
|
+
*/
|
|
1911
|
+
readonly clusterName: string
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
*
|
|
1915
|
+
* @type {DmsServiceAccountCreateRequest}
|
|
1916
|
+
* @memberof RdbmsApiCreateServiceAccount
|
|
1917
|
+
*/
|
|
1918
|
+
readonly body: DmsServiceAccountCreateRequest
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1425
1921
|
/**
|
|
1426
1922
|
* Request parameters for deleteAccount operation in RdbmsApi.
|
|
1427
1923
|
* @export
|
|
@@ -1492,6 +1988,41 @@ export interface RdbmsApiDeleteDatabaseRequest {
|
|
|
1492
1988
|
readonly databaseName: string
|
|
1493
1989
|
}
|
|
1494
1990
|
|
|
1991
|
+
/**
|
|
1992
|
+
* Request parameters for deleteServiceAccount operation in RdbmsApi.
|
|
1993
|
+
* @export
|
|
1994
|
+
* @interface RdbmsApiDeleteServiceAccountRequest
|
|
1995
|
+
*/
|
|
1996
|
+
export interface RdbmsApiDeleteServiceAccountRequest {
|
|
1997
|
+
/**
|
|
1998
|
+
* name of the engine
|
|
1999
|
+
* @type {string}
|
|
2000
|
+
* @memberof RdbmsApiDeleteServiceAccount
|
|
2001
|
+
*/
|
|
2002
|
+
readonly engineName: string
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* name of the organization
|
|
2006
|
+
* @type {string}
|
|
2007
|
+
* @memberof RdbmsApiDeleteServiceAccount
|
|
2008
|
+
*/
|
|
2009
|
+
readonly orgName: string
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* name of the cluster
|
|
2013
|
+
* @type {string}
|
|
2014
|
+
* @memberof RdbmsApiDeleteServiceAccount
|
|
2015
|
+
*/
|
|
2016
|
+
readonly clusterName: string
|
|
2017
|
+
|
|
2018
|
+
/**
|
|
2019
|
+
* MinIO access key
|
|
2020
|
+
* @type {string}
|
|
2021
|
+
* @memberof RdbmsApiDeleteServiceAccount
|
|
2022
|
+
*/
|
|
2023
|
+
readonly accessKey: string
|
|
2024
|
+
}
|
|
2025
|
+
|
|
1495
2026
|
/**
|
|
1496
2027
|
* Request parameters for generateDemoData operation in RdbmsApi.
|
|
1497
2028
|
* @export
|
|
@@ -1611,6 +2142,41 @@ export interface RdbmsApiGetDatabaseOptionsRequest {
|
|
|
1611
2142
|
readonly filter?: string
|
|
1612
2143
|
}
|
|
1613
2144
|
|
|
2145
|
+
/**
|
|
2146
|
+
* Request parameters for getServiceAccount operation in RdbmsApi.
|
|
2147
|
+
* @export
|
|
2148
|
+
* @interface RdbmsApiGetServiceAccountRequest
|
|
2149
|
+
*/
|
|
2150
|
+
export interface RdbmsApiGetServiceAccountRequest {
|
|
2151
|
+
/**
|
|
2152
|
+
* name of the engine
|
|
2153
|
+
* @type {string}
|
|
2154
|
+
* @memberof RdbmsApiGetServiceAccount
|
|
2155
|
+
*/
|
|
2156
|
+
readonly engineName: string
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* name of the organization
|
|
2160
|
+
* @type {string}
|
|
2161
|
+
* @memberof RdbmsApiGetServiceAccount
|
|
2162
|
+
*/
|
|
2163
|
+
readonly orgName: string
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* name of the cluster
|
|
2167
|
+
* @type {string}
|
|
2168
|
+
* @memberof RdbmsApiGetServiceAccount
|
|
2169
|
+
*/
|
|
2170
|
+
readonly clusterName: string
|
|
2171
|
+
|
|
2172
|
+
/**
|
|
2173
|
+
* MinIO access key
|
|
2174
|
+
* @type {string}
|
|
2175
|
+
* @memberof RdbmsApiGetServiceAccount
|
|
2176
|
+
*/
|
|
2177
|
+
readonly accessKey: string
|
|
2178
|
+
}
|
|
2179
|
+
|
|
1614
2180
|
/**
|
|
1615
2181
|
* Request parameters for killSession operation in RdbmsApi.
|
|
1616
2182
|
* @export
|
|
@@ -1709,6 +2275,41 @@ export interface RdbmsApiListDatabasesRequest {
|
|
|
1709
2275
|
readonly clusterName: string
|
|
1710
2276
|
}
|
|
1711
2277
|
|
|
2278
|
+
/**
|
|
2279
|
+
* Request parameters for listServiceAccounts operation in RdbmsApi.
|
|
2280
|
+
* @export
|
|
2281
|
+
* @interface RdbmsApiListServiceAccountsRequest
|
|
2282
|
+
*/
|
|
2283
|
+
export interface RdbmsApiListServiceAccountsRequest {
|
|
2284
|
+
/**
|
|
2285
|
+
* name of the engine
|
|
2286
|
+
* @type {string}
|
|
2287
|
+
* @memberof RdbmsApiListServiceAccounts
|
|
2288
|
+
*/
|
|
2289
|
+
readonly engineName: string
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* name of the organization
|
|
2293
|
+
* @type {string}
|
|
2294
|
+
* @memberof RdbmsApiListServiceAccounts
|
|
2295
|
+
*/
|
|
2296
|
+
readonly orgName: string
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* name of the cluster
|
|
2300
|
+
* @type {string}
|
|
2301
|
+
* @memberof RdbmsApiListServiceAccounts
|
|
2302
|
+
*/
|
|
2303
|
+
readonly clusterName: string
|
|
2304
|
+
|
|
2305
|
+
/**
|
|
2306
|
+
* MinIO user that owns the service accounts
|
|
2307
|
+
* @type {string}
|
|
2308
|
+
* @memberof RdbmsApiListServiceAccounts
|
|
2309
|
+
*/
|
|
2310
|
+
readonly userName?: string
|
|
2311
|
+
}
|
|
2312
|
+
|
|
1712
2313
|
/**
|
|
1713
2314
|
* Request parameters for listSessions operation in RdbmsApi.
|
|
1714
2315
|
* @export
|
|
@@ -1870,6 +2471,48 @@ export interface RdbmsApiUpdateDatabaseConfigRequest {
|
|
|
1870
2471
|
readonly requestBody?: { [key: string]: string; }
|
|
1871
2472
|
}
|
|
1872
2473
|
|
|
2474
|
+
/**
|
|
2475
|
+
* Request parameters for updateServiceAccount operation in RdbmsApi.
|
|
2476
|
+
* @export
|
|
2477
|
+
* @interface RdbmsApiUpdateServiceAccountRequest
|
|
2478
|
+
*/
|
|
2479
|
+
export interface RdbmsApiUpdateServiceAccountRequest {
|
|
2480
|
+
/**
|
|
2481
|
+
* name of the engine
|
|
2482
|
+
* @type {string}
|
|
2483
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2484
|
+
*/
|
|
2485
|
+
readonly engineName: string
|
|
2486
|
+
|
|
2487
|
+
/**
|
|
2488
|
+
* name of the organization
|
|
2489
|
+
* @type {string}
|
|
2490
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2491
|
+
*/
|
|
2492
|
+
readonly orgName: string
|
|
2493
|
+
|
|
2494
|
+
/**
|
|
2495
|
+
* name of the cluster
|
|
2496
|
+
* @type {string}
|
|
2497
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2498
|
+
*/
|
|
2499
|
+
readonly clusterName: string
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* MinIO access key
|
|
2503
|
+
* @type {string}
|
|
2504
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2505
|
+
*/
|
|
2506
|
+
readonly accessKey: string
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
*
|
|
2510
|
+
* @type {DmsServiceAccountUpdateRequest}
|
|
2511
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2512
|
+
*/
|
|
2513
|
+
readonly body: DmsServiceAccountUpdateRequest
|
|
2514
|
+
}
|
|
2515
|
+
|
|
1873
2516
|
/**
|
|
1874
2517
|
* RdbmsApi - object-oriented interface
|
|
1875
2518
|
* @export
|
|
@@ -1901,6 +2544,18 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
1901
2544
|
return RdbmsApiFp(this.configuration).createDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1902
2545
|
}
|
|
1903
2546
|
|
|
2547
|
+
/**
|
|
2548
|
+
* create a MinIO service account access key
|
|
2549
|
+
* @summary Create MinIO access key
|
|
2550
|
+
* @param {RdbmsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
2551
|
+
* @param {*} [options] Override http request option.
|
|
2552
|
+
* @throws {RequiredError}
|
|
2553
|
+
* @memberof RdbmsApi
|
|
2554
|
+
*/
|
|
2555
|
+
public createServiceAccount(requestParameters: RdbmsApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
2556
|
+
return RdbmsApiFp(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2557
|
+
}
|
|
2558
|
+
|
|
1904
2559
|
/**
|
|
1905
2560
|
* delete an account in cluster
|
|
1906
2561
|
* @summary Delete cluster account
|
|
@@ -1925,6 +2580,18 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
1925
2580
|
return RdbmsApiFp(this.configuration).deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
|
|
1926
2581
|
}
|
|
1927
2582
|
|
|
2583
|
+
/**
|
|
2584
|
+
* delete a MinIO service account access key
|
|
2585
|
+
* @summary Delete MinIO access key
|
|
2586
|
+
* @param {RdbmsApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
2587
|
+
* @param {*} [options] Override http request option.
|
|
2588
|
+
* @throws {RequiredError}
|
|
2589
|
+
* @memberof RdbmsApi
|
|
2590
|
+
*/
|
|
2591
|
+
public deleteServiceAccount(requestParameters: RdbmsApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
2592
|
+
return RdbmsApiFp(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
2593
|
+
}
|
|
2594
|
+
|
|
1928
2595
|
/**
|
|
1929
2596
|
* generate demo data
|
|
1930
2597
|
* @summary generate demo data
|
|
@@ -1960,6 +2627,18 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
1960
2627
|
return RdbmsApiFp(this.configuration).getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
|
|
1961
2628
|
}
|
|
1962
2629
|
|
|
2630
|
+
/**
|
|
2631
|
+
* get a MinIO service account access key
|
|
2632
|
+
* @summary Get MinIO access key
|
|
2633
|
+
* @param {RdbmsApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
2634
|
+
* @param {*} [options] Override http request option.
|
|
2635
|
+
* @throws {RequiredError}
|
|
2636
|
+
* @memberof RdbmsApi
|
|
2637
|
+
*/
|
|
2638
|
+
public getServiceAccount(requestParameters: RdbmsApiGetServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
2639
|
+
return RdbmsApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
2640
|
+
}
|
|
2641
|
+
|
|
1963
2642
|
/**
|
|
1964
2643
|
* kill a session in cluster
|
|
1965
2644
|
* @summary Kill cluster session
|
|
@@ -1996,6 +2675,18 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
1996
2675
|
return RdbmsApiFp(this.configuration).listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
1997
2676
|
}
|
|
1998
2677
|
|
|
2678
|
+
/**
|
|
2679
|
+
* list MinIO service account access keys
|
|
2680
|
+
* @summary List MinIO access keys
|
|
2681
|
+
* @param {RdbmsApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
2682
|
+
* @param {*} [options] Override http request option.
|
|
2683
|
+
* @throws {RequiredError}
|
|
2684
|
+
* @memberof RdbmsApi
|
|
2685
|
+
*/
|
|
2686
|
+
public listServiceAccounts(requestParameters: RdbmsApiListServiceAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
2687
|
+
return RdbmsApiFp(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
|
|
2688
|
+
}
|
|
2689
|
+
|
|
1999
2690
|
/**
|
|
2000
2691
|
* list sessions in cluster
|
|
2001
2692
|
* @summary List cluster sessions
|
|
@@ -2043,5 +2734,17 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
2043
2734
|
public updateDatabaseConfig(requestParameters: RdbmsApiUpdateDatabaseConfigRequest, options?: RawAxiosRequestConfig) {
|
|
2044
2735
|
return RdbmsApiFp(this.configuration).updateDatabaseConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
2045
2736
|
}
|
|
2737
|
+
|
|
2738
|
+
/**
|
|
2739
|
+
* update a MinIO service account access key
|
|
2740
|
+
* @summary Update MinIO access key
|
|
2741
|
+
* @param {RdbmsApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
2742
|
+
* @param {*} [options] Override http request option.
|
|
2743
|
+
* @throws {RequiredError}
|
|
2744
|
+
* @memberof RdbmsApi
|
|
2745
|
+
*/
|
|
2746
|
+
public updateServiceAccount(requestParameters: RdbmsApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
2747
|
+
return RdbmsApiFp(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2748
|
+
}
|
|
2046
2749
|
}
|
|
2047
2750
|
|