kb-cloud-client-typescript 2.3.0-alpha.123 → 2.3.0-alpha.124
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};
|
|
@@ -917,6 +1138,65 @@ export const RdbmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
917
1138
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
918
1139
|
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
919
1140
|
|
|
1141
|
+
return {
|
|
1142
|
+
url: toPathString(localVarUrlObj),
|
|
1143
|
+
options: localVarRequestOptions,
|
|
1144
|
+
};
|
|
1145
|
+
},
|
|
1146
|
+
/**
|
|
1147
|
+
* update a MinIO service account access key
|
|
1148
|
+
* @summary Update MinIO access key
|
|
1149
|
+
* @param {string} engineName name of the engine
|
|
1150
|
+
* @param {string} orgName name of the organization
|
|
1151
|
+
* @param {string} clusterName name of the cluster
|
|
1152
|
+
* @param {string} accessKey MinIO access key
|
|
1153
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
1154
|
+
* @param {*} [options] Override http request option.
|
|
1155
|
+
* @throws {RequiredError}
|
|
1156
|
+
*/
|
|
1157
|
+
updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1158
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1159
|
+
assertParamExists('updateServiceAccount', 'engineName', engineName)
|
|
1160
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1161
|
+
assertParamExists('updateServiceAccount', 'orgName', orgName)
|
|
1162
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1163
|
+
assertParamExists('updateServiceAccount', 'clusterName', clusterName)
|
|
1164
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
1165
|
+
assertParamExists('updateServiceAccount', 'accessKey', accessKey)
|
|
1166
|
+
// verify required parameter 'body' is not null or undefined
|
|
1167
|
+
assertParamExists('updateServiceAccount', 'body', body)
|
|
1168
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
1169
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1170
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1171
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1172
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
1173
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1174
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1175
|
+
let baseOptions;
|
|
1176
|
+
if (configuration) {
|
|
1177
|
+
baseOptions = configuration.baseOptions;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1181
|
+
const localVarHeaderParameter = {} as any;
|
|
1182
|
+
const localVarQueryParameter = {} as any;
|
|
1183
|
+
|
|
1184
|
+
// authentication BearerToken required
|
|
1185
|
+
// http bearer authentication required
|
|
1186
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1187
|
+
|
|
1188
|
+
// authentication DigestAuth required
|
|
1189
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1194
|
+
|
|
1195
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1196
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1197
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1198
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1199
|
+
|
|
920
1200
|
return {
|
|
921
1201
|
url: toPathString(localVarUrlObj),
|
|
922
1202
|
options: localVarRequestOptions,
|
|
@@ -964,6 +1244,22 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
964
1244
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.createDatabase']?.[localVarOperationServerIndex]?.url;
|
|
965
1245
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
966
1246
|
},
|
|
1247
|
+
/**
|
|
1248
|
+
* create a MinIO service account access key
|
|
1249
|
+
* @summary Create MinIO access key
|
|
1250
|
+
* @param {string} engineName name of the engine
|
|
1251
|
+
* @param {string} orgName name of the organization
|
|
1252
|
+
* @param {string} clusterName name of the cluster
|
|
1253
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
1254
|
+
* @param {*} [options] Override http request option.
|
|
1255
|
+
* @throws {RequiredError}
|
|
1256
|
+
*/
|
|
1257
|
+
async createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
1258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
|
|
1259
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1260
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1261
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1262
|
+
},
|
|
967
1263
|
/**
|
|
968
1264
|
* delete an account in cluster
|
|
969
1265
|
* @summary Delete cluster account
|
|
@@ -996,6 +1292,22 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
996
1292
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.deleteDatabase']?.[localVarOperationServerIndex]?.url;
|
|
997
1293
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
998
1294
|
},
|
|
1295
|
+
/**
|
|
1296
|
+
* delete a MinIO service account access key
|
|
1297
|
+
* @summary Delete MinIO access key
|
|
1298
|
+
* @param {string} engineName name of the engine
|
|
1299
|
+
* @param {string} orgName name of the organization
|
|
1300
|
+
* @param {string} clusterName name of the cluster
|
|
1301
|
+
* @param {string} accessKey MinIO access key
|
|
1302
|
+
* @param {*} [options] Override http request option.
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
*/
|
|
1305
|
+
async deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1306
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
1307
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1308
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.deleteServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1309
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1310
|
+
},
|
|
999
1311
|
/**
|
|
1000
1312
|
* generate demo data
|
|
1001
1313
|
* @summary generate demo data
|
|
@@ -1045,6 +1357,22 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
1045
1357
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.getDatabaseOptions']?.[localVarOperationServerIndex]?.url;
|
|
1046
1358
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1047
1359
|
},
|
|
1360
|
+
/**
|
|
1361
|
+
* get a MinIO service account access key
|
|
1362
|
+
* @summary Get MinIO access key
|
|
1363
|
+
* @param {string} engineName name of the engine
|
|
1364
|
+
* @param {string} orgName name of the organization
|
|
1365
|
+
* @param {string} clusterName name of the cluster
|
|
1366
|
+
* @param {string} accessKey MinIO access key
|
|
1367
|
+
* @param {*} [options] Override http request option.
|
|
1368
|
+
* @throws {RequiredError}
|
|
1369
|
+
*/
|
|
1370
|
+
async getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
1371
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
1372
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1373
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1374
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1375
|
+
},
|
|
1048
1376
|
/**
|
|
1049
1377
|
* kill a session in cluster
|
|
1050
1378
|
* @summary Kill cluster session
|
|
@@ -1092,6 +1420,22 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
1092
1420
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.listDatabases']?.[localVarOperationServerIndex]?.url;
|
|
1093
1421
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1094
1422
|
},
|
|
1423
|
+
/**
|
|
1424
|
+
* list MinIO service account access keys
|
|
1425
|
+
* @summary List MinIO access keys
|
|
1426
|
+
* @param {string} engineName name of the engine
|
|
1427
|
+
* @param {string} orgName name of the organization
|
|
1428
|
+
* @param {string} clusterName name of the cluster
|
|
1429
|
+
* @param {string} [userName] MinIO user that owns the service accounts
|
|
1430
|
+
* @param {*} [options] Override http request option.
|
|
1431
|
+
* @throws {RequiredError}
|
|
1432
|
+
*/
|
|
1433
|
+
async listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>> {
|
|
1434
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
|
|
1435
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1436
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
|
|
1437
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1438
|
+
},
|
|
1095
1439
|
/**
|
|
1096
1440
|
* list sessions in cluster
|
|
1097
1441
|
* @summary List cluster sessions
|
|
@@ -1191,6 +1535,23 @@ export const RdbmsApiFp = function(configuration?: Configuration) {
|
|
|
1191
1535
|
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.updateDatabaseConfig']?.[localVarOperationServerIndex]?.url;
|
|
1192
1536
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1193
1537
|
},
|
|
1538
|
+
/**
|
|
1539
|
+
* update a MinIO service account access key
|
|
1540
|
+
* @summary Update MinIO access key
|
|
1541
|
+
* @param {string} engineName name of the engine
|
|
1542
|
+
* @param {string} orgName name of the organization
|
|
1543
|
+
* @param {string} clusterName name of the cluster
|
|
1544
|
+
* @param {string} accessKey MinIO access key
|
|
1545
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
1546
|
+
* @param {*} [options] Override http request option.
|
|
1547
|
+
* @throws {RequiredError}
|
|
1548
|
+
*/
|
|
1549
|
+
async updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
1550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
|
|
1551
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1552
|
+
const localVarOperationServerBasePath = operationServerMap['RdbmsApi.updateServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1553
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1554
|
+
},
|
|
1194
1555
|
}
|
|
1195
1556
|
};
|
|
1196
1557
|
|
|
@@ -1221,6 +1582,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1221
1582
|
createDatabase(requestParameters: RdbmsApiCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1222
1583
|
return localVarFp.createDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1223
1584
|
},
|
|
1585
|
+
/**
|
|
1586
|
+
* create a MinIO service account access key
|
|
1587
|
+
* @summary Create MinIO access key
|
|
1588
|
+
* @param {RdbmsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
1589
|
+
* @param {*} [options] Override http request option.
|
|
1590
|
+
* @throws {RequiredError}
|
|
1591
|
+
*/
|
|
1592
|
+
createServiceAccount(requestParameters: RdbmsApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
1593
|
+
return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1594
|
+
},
|
|
1224
1595
|
/**
|
|
1225
1596
|
* delete an account in cluster
|
|
1226
1597
|
* @summary Delete cluster account
|
|
@@ -1241,6 +1612,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1241
1612
|
deleteDatabase(requestParameters: RdbmsApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1242
1613
|
return localVarFp.deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(axios, basePath));
|
|
1243
1614
|
},
|
|
1615
|
+
/**
|
|
1616
|
+
* delete a MinIO service account access key
|
|
1617
|
+
* @summary Delete MinIO access key
|
|
1618
|
+
* @param {RdbmsApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
1619
|
+
* @param {*} [options] Override http request option.
|
|
1620
|
+
* @throws {RequiredError}
|
|
1621
|
+
*/
|
|
1622
|
+
deleteServiceAccount(requestParameters: RdbmsApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1623
|
+
return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
1624
|
+
},
|
|
1244
1625
|
/**
|
|
1245
1626
|
* generate demo data
|
|
1246
1627
|
* @summary generate demo data
|
|
@@ -1270,6 +1651,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1270
1651
|
getDatabaseOptions(requestParameters: RdbmsApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
1271
1652
|
return localVarFp.getDatabaseOptions(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.type, requestParameters.charset, requestParameters.filter, options).then((request) => request(axios, basePath));
|
|
1272
1653
|
},
|
|
1654
|
+
/**
|
|
1655
|
+
* get a MinIO service account access key
|
|
1656
|
+
* @summary Get MinIO access key
|
|
1657
|
+
* @param {RdbmsApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
1658
|
+
* @param {*} [options] Override http request option.
|
|
1659
|
+
* @throws {RequiredError}
|
|
1660
|
+
*/
|
|
1661
|
+
getServiceAccount(requestParameters: RdbmsApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
1662
|
+
return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
1663
|
+
},
|
|
1273
1664
|
/**
|
|
1274
1665
|
* kill a session in cluster
|
|
1275
1666
|
* @summary Kill cluster session
|
|
@@ -1300,6 +1691,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1300
1691
|
listDatabases(requestParameters: RdbmsApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList> {
|
|
1301
1692
|
return localVarFp.listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
1302
1693
|
},
|
|
1694
|
+
/**
|
|
1695
|
+
* list MinIO service account access keys
|
|
1696
|
+
* @summary List MinIO access keys
|
|
1697
|
+
* @param {RdbmsApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
1698
|
+
* @param {*} [options] Override http request option.
|
|
1699
|
+
* @throws {RequiredError}
|
|
1700
|
+
*/
|
|
1701
|
+
listServiceAccounts(requestParameters: RdbmsApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>> {
|
|
1702
|
+
return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
|
|
1703
|
+
},
|
|
1303
1704
|
/**
|
|
1304
1705
|
* list sessions in cluster
|
|
1305
1706
|
* @summary List cluster sessions
|
|
@@ -1360,6 +1761,16 @@ export const RdbmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1360
1761
|
updateDatabaseConfig(requestParameters: RdbmsApiUpdateDatabaseConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1361
1762
|
return localVarFp.updateDatabaseConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
1362
1763
|
},
|
|
1764
|
+
/**
|
|
1765
|
+
* update a MinIO service account access key
|
|
1766
|
+
* @summary Update MinIO access key
|
|
1767
|
+
* @param {RdbmsApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
1768
|
+
* @param {*} [options] Override http request option.
|
|
1769
|
+
* @throws {RequiredError}
|
|
1770
|
+
*/
|
|
1771
|
+
updateServiceAccount(requestParameters: RdbmsApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
1772
|
+
return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1773
|
+
},
|
|
1363
1774
|
};
|
|
1364
1775
|
};
|
|
1365
1776
|
|
|
@@ -1389,6 +1800,16 @@ export interface RdbmsApiInterface {
|
|
|
1389
1800
|
*/
|
|
1390
1801
|
createDatabase(requestParameters: RdbmsApiCreateDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1391
1802
|
|
|
1803
|
+
/**
|
|
1804
|
+
* create a MinIO service account access key
|
|
1805
|
+
* @summary Create MinIO access key
|
|
1806
|
+
* @param {RdbmsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
1807
|
+
* @param {*} [options] Override http request option.
|
|
1808
|
+
* @throws {RequiredError}
|
|
1809
|
+
* @memberof RdbmsApiInterface
|
|
1810
|
+
*/
|
|
1811
|
+
createServiceAccount(requestParameters: RdbmsApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
1812
|
+
|
|
1392
1813
|
/**
|
|
1393
1814
|
* delete an account in cluster
|
|
1394
1815
|
* @summary Delete cluster account
|
|
@@ -1409,6 +1830,16 @@ export interface RdbmsApiInterface {
|
|
|
1409
1830
|
*/
|
|
1410
1831
|
deleteDatabase(requestParameters: RdbmsApiDeleteDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1411
1832
|
|
|
1833
|
+
/**
|
|
1834
|
+
* delete a MinIO service account access key
|
|
1835
|
+
* @summary Delete MinIO access key
|
|
1836
|
+
* @param {RdbmsApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
1837
|
+
* @param {*} [options] Override http request option.
|
|
1838
|
+
* @throws {RequiredError}
|
|
1839
|
+
* @memberof RdbmsApiInterface
|
|
1840
|
+
*/
|
|
1841
|
+
deleteServiceAccount(requestParameters: RdbmsApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1842
|
+
|
|
1412
1843
|
/**
|
|
1413
1844
|
* generate demo data
|
|
1414
1845
|
* @summary generate demo data
|
|
@@ -1438,6 +1869,16 @@ export interface RdbmsApiInterface {
|
|
|
1438
1869
|
*/
|
|
1439
1870
|
getDatabaseOptions(requestParameters: RdbmsApiGetDatabaseOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
1440
1871
|
|
|
1872
|
+
/**
|
|
1873
|
+
* get a MinIO service account access key
|
|
1874
|
+
* @summary Get MinIO access key
|
|
1875
|
+
* @param {RdbmsApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
1876
|
+
* @param {*} [options] Override http request option.
|
|
1877
|
+
* @throws {RequiredError}
|
|
1878
|
+
* @memberof RdbmsApiInterface
|
|
1879
|
+
*/
|
|
1880
|
+
getServiceAccount(requestParameters: RdbmsApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
1881
|
+
|
|
1441
1882
|
/**
|
|
1442
1883
|
* kill a session in cluster
|
|
1443
1884
|
* @summary Kill cluster session
|
|
@@ -1468,6 +1909,16 @@ export interface RdbmsApiInterface {
|
|
|
1468
1909
|
*/
|
|
1469
1910
|
listDatabases(requestParameters: RdbmsApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList>;
|
|
1470
1911
|
|
|
1912
|
+
/**
|
|
1913
|
+
* list MinIO service account access keys
|
|
1914
|
+
* @summary List MinIO access keys
|
|
1915
|
+
* @param {RdbmsApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
1916
|
+
* @param {*} [options] Override http request option.
|
|
1917
|
+
* @throws {RequiredError}
|
|
1918
|
+
* @memberof RdbmsApiInterface
|
|
1919
|
+
*/
|
|
1920
|
+
listServiceAccounts(requestParameters: RdbmsApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
|
|
1921
|
+
|
|
1471
1922
|
/**
|
|
1472
1923
|
* list sessions in cluster
|
|
1473
1924
|
* @summary List cluster sessions
|
|
@@ -1528,6 +1979,16 @@ export interface RdbmsApiInterface {
|
|
|
1528
1979
|
*/
|
|
1529
1980
|
updateDatabaseConfig(requestParameters: RdbmsApiUpdateDatabaseConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1530
1981
|
|
|
1982
|
+
/**
|
|
1983
|
+
* update a MinIO service account access key
|
|
1984
|
+
* @summary Update MinIO access key
|
|
1985
|
+
* @param {RdbmsApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
1986
|
+
* @param {*} [options] Override http request option.
|
|
1987
|
+
* @throws {RequiredError}
|
|
1988
|
+
* @memberof RdbmsApiInterface
|
|
1989
|
+
*/
|
|
1990
|
+
updateServiceAccount(requestParameters: RdbmsApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
1991
|
+
|
|
1531
1992
|
}
|
|
1532
1993
|
|
|
1533
1994
|
/**
|
|
@@ -1600,6 +2061,41 @@ export interface RdbmsApiCreateDatabaseRequest {
|
|
|
1600
2061
|
readonly body: Database
|
|
1601
2062
|
}
|
|
1602
2063
|
|
|
2064
|
+
/**
|
|
2065
|
+
* Request parameters for createServiceAccount operation in RdbmsApi.
|
|
2066
|
+
* @export
|
|
2067
|
+
* @interface RdbmsApiCreateServiceAccountRequest
|
|
2068
|
+
*/
|
|
2069
|
+
export interface RdbmsApiCreateServiceAccountRequest {
|
|
2070
|
+
/**
|
|
2071
|
+
* name of the engine
|
|
2072
|
+
* @type {string}
|
|
2073
|
+
* @memberof RdbmsApiCreateServiceAccount
|
|
2074
|
+
*/
|
|
2075
|
+
readonly engineName: string
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* name of the organization
|
|
2079
|
+
* @type {string}
|
|
2080
|
+
* @memberof RdbmsApiCreateServiceAccount
|
|
2081
|
+
*/
|
|
2082
|
+
readonly orgName: string
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* name of the cluster
|
|
2086
|
+
* @type {string}
|
|
2087
|
+
* @memberof RdbmsApiCreateServiceAccount
|
|
2088
|
+
*/
|
|
2089
|
+
readonly clusterName: string
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
*
|
|
2093
|
+
* @type {DmsServiceAccountCreateRequest}
|
|
2094
|
+
* @memberof RdbmsApiCreateServiceAccount
|
|
2095
|
+
*/
|
|
2096
|
+
readonly body: DmsServiceAccountCreateRequest
|
|
2097
|
+
}
|
|
2098
|
+
|
|
1603
2099
|
/**
|
|
1604
2100
|
* Request parameters for deleteAccount operation in RdbmsApi.
|
|
1605
2101
|
* @export
|
|
@@ -1670,6 +2166,41 @@ export interface RdbmsApiDeleteDatabaseRequest {
|
|
|
1670
2166
|
readonly databaseName: string
|
|
1671
2167
|
}
|
|
1672
2168
|
|
|
2169
|
+
/**
|
|
2170
|
+
* Request parameters for deleteServiceAccount operation in RdbmsApi.
|
|
2171
|
+
* @export
|
|
2172
|
+
* @interface RdbmsApiDeleteServiceAccountRequest
|
|
2173
|
+
*/
|
|
2174
|
+
export interface RdbmsApiDeleteServiceAccountRequest {
|
|
2175
|
+
/**
|
|
2176
|
+
* name of the engine
|
|
2177
|
+
* @type {string}
|
|
2178
|
+
* @memberof RdbmsApiDeleteServiceAccount
|
|
2179
|
+
*/
|
|
2180
|
+
readonly engineName: string
|
|
2181
|
+
|
|
2182
|
+
/**
|
|
2183
|
+
* name of the organization
|
|
2184
|
+
* @type {string}
|
|
2185
|
+
* @memberof RdbmsApiDeleteServiceAccount
|
|
2186
|
+
*/
|
|
2187
|
+
readonly orgName: string
|
|
2188
|
+
|
|
2189
|
+
/**
|
|
2190
|
+
* name of the cluster
|
|
2191
|
+
* @type {string}
|
|
2192
|
+
* @memberof RdbmsApiDeleteServiceAccount
|
|
2193
|
+
*/
|
|
2194
|
+
readonly clusterName: string
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* MinIO access key
|
|
2198
|
+
* @type {string}
|
|
2199
|
+
* @memberof RdbmsApiDeleteServiceAccount
|
|
2200
|
+
*/
|
|
2201
|
+
readonly accessKey: string
|
|
2202
|
+
}
|
|
2203
|
+
|
|
1673
2204
|
/**
|
|
1674
2205
|
* Request parameters for generateDemoData operation in RdbmsApi.
|
|
1675
2206
|
* @export
|
|
@@ -1789,6 +2320,41 @@ export interface RdbmsApiGetDatabaseOptionsRequest {
|
|
|
1789
2320
|
readonly filter?: string
|
|
1790
2321
|
}
|
|
1791
2322
|
|
|
2323
|
+
/**
|
|
2324
|
+
* Request parameters for getServiceAccount operation in RdbmsApi.
|
|
2325
|
+
* @export
|
|
2326
|
+
* @interface RdbmsApiGetServiceAccountRequest
|
|
2327
|
+
*/
|
|
2328
|
+
export interface RdbmsApiGetServiceAccountRequest {
|
|
2329
|
+
/**
|
|
2330
|
+
* name of the engine
|
|
2331
|
+
* @type {string}
|
|
2332
|
+
* @memberof RdbmsApiGetServiceAccount
|
|
2333
|
+
*/
|
|
2334
|
+
readonly engineName: string
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* name of the organization
|
|
2338
|
+
* @type {string}
|
|
2339
|
+
* @memberof RdbmsApiGetServiceAccount
|
|
2340
|
+
*/
|
|
2341
|
+
readonly orgName: string
|
|
2342
|
+
|
|
2343
|
+
/**
|
|
2344
|
+
* name of the cluster
|
|
2345
|
+
* @type {string}
|
|
2346
|
+
* @memberof RdbmsApiGetServiceAccount
|
|
2347
|
+
*/
|
|
2348
|
+
readonly clusterName: string
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* MinIO access key
|
|
2352
|
+
* @type {string}
|
|
2353
|
+
* @memberof RdbmsApiGetServiceAccount
|
|
2354
|
+
*/
|
|
2355
|
+
readonly accessKey: string
|
|
2356
|
+
}
|
|
2357
|
+
|
|
1792
2358
|
/**
|
|
1793
2359
|
* Request parameters for killSession operation in RdbmsApi.
|
|
1794
2360
|
* @export
|
|
@@ -1887,6 +2453,41 @@ export interface RdbmsApiListDatabasesRequest {
|
|
|
1887
2453
|
readonly clusterName: string
|
|
1888
2454
|
}
|
|
1889
2455
|
|
|
2456
|
+
/**
|
|
2457
|
+
* Request parameters for listServiceAccounts operation in RdbmsApi.
|
|
2458
|
+
* @export
|
|
2459
|
+
* @interface RdbmsApiListServiceAccountsRequest
|
|
2460
|
+
*/
|
|
2461
|
+
export interface RdbmsApiListServiceAccountsRequest {
|
|
2462
|
+
/**
|
|
2463
|
+
* name of the engine
|
|
2464
|
+
* @type {string}
|
|
2465
|
+
* @memberof RdbmsApiListServiceAccounts
|
|
2466
|
+
*/
|
|
2467
|
+
readonly engineName: string
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* name of the organization
|
|
2471
|
+
* @type {string}
|
|
2472
|
+
* @memberof RdbmsApiListServiceAccounts
|
|
2473
|
+
*/
|
|
2474
|
+
readonly orgName: string
|
|
2475
|
+
|
|
2476
|
+
/**
|
|
2477
|
+
* name of the cluster
|
|
2478
|
+
* @type {string}
|
|
2479
|
+
* @memberof RdbmsApiListServiceAccounts
|
|
2480
|
+
*/
|
|
2481
|
+
readonly clusterName: string
|
|
2482
|
+
|
|
2483
|
+
/**
|
|
2484
|
+
* MinIO user that owns the service accounts
|
|
2485
|
+
* @type {string}
|
|
2486
|
+
* @memberof RdbmsApiListServiceAccounts
|
|
2487
|
+
*/
|
|
2488
|
+
readonly userName?: string
|
|
2489
|
+
}
|
|
2490
|
+
|
|
1890
2491
|
/**
|
|
1891
2492
|
* Request parameters for listSessions operation in RdbmsApi.
|
|
1892
2493
|
* @export
|
|
@@ -2118,6 +2719,48 @@ export interface RdbmsApiUpdateDatabaseConfigRequest {
|
|
|
2118
2719
|
readonly requestBody?: { [key: string]: string; }
|
|
2119
2720
|
}
|
|
2120
2721
|
|
|
2722
|
+
/**
|
|
2723
|
+
* Request parameters for updateServiceAccount operation in RdbmsApi.
|
|
2724
|
+
* @export
|
|
2725
|
+
* @interface RdbmsApiUpdateServiceAccountRequest
|
|
2726
|
+
*/
|
|
2727
|
+
export interface RdbmsApiUpdateServiceAccountRequest {
|
|
2728
|
+
/**
|
|
2729
|
+
* name of the engine
|
|
2730
|
+
* @type {string}
|
|
2731
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2732
|
+
*/
|
|
2733
|
+
readonly engineName: string
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
* name of the organization
|
|
2737
|
+
* @type {string}
|
|
2738
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2739
|
+
*/
|
|
2740
|
+
readonly orgName: string
|
|
2741
|
+
|
|
2742
|
+
/**
|
|
2743
|
+
* name of the cluster
|
|
2744
|
+
* @type {string}
|
|
2745
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2746
|
+
*/
|
|
2747
|
+
readonly clusterName: string
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* MinIO access key
|
|
2751
|
+
* @type {string}
|
|
2752
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2753
|
+
*/
|
|
2754
|
+
readonly accessKey: string
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
*
|
|
2758
|
+
* @type {DmsServiceAccountUpdateRequest}
|
|
2759
|
+
* @memberof RdbmsApiUpdateServiceAccount
|
|
2760
|
+
*/
|
|
2761
|
+
readonly body: DmsServiceAccountUpdateRequest
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2121
2764
|
/**
|
|
2122
2765
|
* RdbmsApi - object-oriented interface
|
|
2123
2766
|
* @export
|
|
@@ -2149,6 +2792,18 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
2149
2792
|
return RdbmsApiFp(this.configuration).createDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2150
2793
|
}
|
|
2151
2794
|
|
|
2795
|
+
/**
|
|
2796
|
+
* create a MinIO service account access key
|
|
2797
|
+
* @summary Create MinIO access key
|
|
2798
|
+
* @param {RdbmsApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
2799
|
+
* @param {*} [options] Override http request option.
|
|
2800
|
+
* @throws {RequiredError}
|
|
2801
|
+
* @memberof RdbmsApi
|
|
2802
|
+
*/
|
|
2803
|
+
public createServiceAccount(requestParameters: RdbmsApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
2804
|
+
return RdbmsApiFp(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2152
2807
|
/**
|
|
2153
2808
|
* delete an account in cluster
|
|
2154
2809
|
* @summary Delete cluster account
|
|
@@ -2173,6 +2828,18 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
2173
2828
|
return RdbmsApiFp(this.configuration).deleteDatabase(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, options).then((request) => request(this.axios, this.basePath));
|
|
2174
2829
|
}
|
|
2175
2830
|
|
|
2831
|
+
/**
|
|
2832
|
+
* delete a MinIO service account access key
|
|
2833
|
+
* @summary Delete MinIO access key
|
|
2834
|
+
* @param {RdbmsApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
2835
|
+
* @param {*} [options] Override http request option.
|
|
2836
|
+
* @throws {RequiredError}
|
|
2837
|
+
* @memberof RdbmsApi
|
|
2838
|
+
*/
|
|
2839
|
+
public deleteServiceAccount(requestParameters: RdbmsApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
2840
|
+
return RdbmsApiFp(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2176
2843
|
/**
|
|
2177
2844
|
* generate demo data
|
|
2178
2845
|
* @summary generate demo data
|
|
@@ -2208,6 +2875,18 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
2208
2875
|
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));
|
|
2209
2876
|
}
|
|
2210
2877
|
|
|
2878
|
+
/**
|
|
2879
|
+
* get a MinIO service account access key
|
|
2880
|
+
* @summary Get MinIO access key
|
|
2881
|
+
* @param {RdbmsApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
2882
|
+
* @param {*} [options] Override http request option.
|
|
2883
|
+
* @throws {RequiredError}
|
|
2884
|
+
* @memberof RdbmsApi
|
|
2885
|
+
*/
|
|
2886
|
+
public getServiceAccount(requestParameters: RdbmsApiGetServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
2887
|
+
return RdbmsApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2211
2890
|
/**
|
|
2212
2891
|
* kill a session in cluster
|
|
2213
2892
|
* @summary Kill cluster session
|
|
@@ -2244,6 +2923,18 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
2244
2923
|
return RdbmsApiFp(this.configuration).listDatabases(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
2245
2924
|
}
|
|
2246
2925
|
|
|
2926
|
+
/**
|
|
2927
|
+
* list MinIO service account access keys
|
|
2928
|
+
* @summary List MinIO access keys
|
|
2929
|
+
* @param {RdbmsApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
2930
|
+
* @param {*} [options] Override http request option.
|
|
2931
|
+
* @throws {RequiredError}
|
|
2932
|
+
* @memberof RdbmsApi
|
|
2933
|
+
*/
|
|
2934
|
+
public listServiceAccounts(requestParameters: RdbmsApiListServiceAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
2935
|
+
return RdbmsApiFp(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2247
2938
|
/**
|
|
2248
2939
|
* list sessions in cluster
|
|
2249
2940
|
* @summary List cluster sessions
|
|
@@ -2315,5 +3006,17 @@ export class RdbmsApi extends BaseAPI implements RdbmsApiInterface {
|
|
|
2315
3006
|
public updateDatabaseConfig(requestParameters: RdbmsApiUpdateDatabaseConfigRequest, options?: RawAxiosRequestConfig) {
|
|
2316
3007
|
return RdbmsApiFp(this.configuration).updateDatabaseConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.databaseName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
2317
3008
|
}
|
|
3009
|
+
|
|
3010
|
+
/**
|
|
3011
|
+
* update a MinIO service account access key
|
|
3012
|
+
* @summary Update MinIO access key
|
|
3013
|
+
* @param {RdbmsApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
3014
|
+
* @param {*} [options] Override http request option.
|
|
3015
|
+
* @throws {RequiredError}
|
|
3016
|
+
* @memberof RdbmsApi
|
|
3017
|
+
*/
|
|
3018
|
+
public updateServiceAccount(requestParameters: RdbmsApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
3019
|
+
return RdbmsApiFp(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
3020
|
+
}
|
|
2318
3021
|
}
|
|
2319
3022
|
|