kb-cloud-client-typescript 2.3.0-alpha.121 → 2.3.0-alpha.122
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/models/account-option.d.ts +6 -0
- package/dist/adminapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +406 -0
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +427 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rdbms-api.d.ts +406 -0
- package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
- package/dist/openapi/apis/rdbms-api.js +427 -0
- package/dist/openapi/apis/rdbms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +406 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +427 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/account-option.d.ts +6 -0
- package/dist/openapi/models/account-option.d.ts.map +1 -1
- package/dist/openapi/models/dms-service-account-create-request.d.ts +55 -0
- package/dist/openapi/models/dms-service-account-create-request.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account-create-request.js +16 -0
- package/dist/openapi/models/dms-service-account-create-request.js.map +1 -0
- package/dist/openapi/models/dms-service-account-status.d.ts +22 -0
- package/dist/openapi/models/dms-service-account-status.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account-status.js +26 -0
- package/dist/openapi/models/dms-service-account-status.js.map +1 -0
- package/dist/openapi/models/dms-service-account-update-request.d.ts +32 -0
- package/dist/openapi/models/dms-service-account-update-request.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account-update-request.js +16 -0
- package/dist/openapi/models/dms-service-account-update-request.js.map +1 -0
- package/dist/openapi/models/dms-service-account.d.ts +73 -0
- package/dist/openapi/models/dms-service-account.d.ts.map +1 -0
- package/dist/openapi/models/dms-service-account.js +16 -0
- package/dist/openapi/models/dms-service-account.js.map +1 -0
- package/dist/openapi/models/index.d.ts +4 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +4 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/models/account-option.ts +6 -0
- package/src/adminapi.yaml +3 -0
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/apis/account-api.ts +703 -0
- package/src/openapi/apis/rdbms-api.ts +703 -0
- package/src/openapi/apis/shared-api.ts +703 -0
- package/src/openapi/models/account-option.ts +6 -0
- package/src/openapi/models/dms-service-account-create-request.ts +60 -0
- package/src/openapi/models/dms-service-account-status.ts +31 -0
- package/src/openapi/models/dms-service-account-update-request.ts +41 -0
- package/src/openapi/models/dms-service-account.ts +78 -0
- package/src/openapi/models/index.ts +4 -0
- package/src/openapi.yaml +333 -0
|
@@ -28,6 +28,12 @@ import type { Account } from '../models';
|
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import type { AccountListItem } from '../models';
|
|
30
30
|
// @ts-ignore
|
|
31
|
+
import type { DmsServiceAccount } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { DmsServiceAccountCreateRequest } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { DmsServiceAccountUpdateRequest } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
31
37
|
import type { PrivilegeListItem } from '../models';
|
|
32
38
|
// @ts-ignore
|
|
33
39
|
import type { RbmqAccountRequest } from '../models';
|
|
@@ -302,6 +308,61 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
302
308
|
options: localVarRequestOptions,
|
|
303
309
|
};
|
|
304
310
|
},
|
|
311
|
+
/**
|
|
312
|
+
* create a MinIO service account access key
|
|
313
|
+
* @summary Create MinIO access key
|
|
314
|
+
* @param {string} engineName name of the engine
|
|
315
|
+
* @param {string} orgName name of the organization
|
|
316
|
+
* @param {string} clusterName name of the cluster
|
|
317
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
*/
|
|
321
|
+
createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
322
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
323
|
+
assertParamExists('createServiceAccount', 'engineName', engineName)
|
|
324
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
325
|
+
assertParamExists('createServiceAccount', 'orgName', orgName)
|
|
326
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
327
|
+
assertParamExists('createServiceAccount', 'clusterName', clusterName)
|
|
328
|
+
// verify required parameter 'body' is not null or undefined
|
|
329
|
+
assertParamExists('createServiceAccount', 'body', body)
|
|
330
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
331
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
332
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
333
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
336
|
+
let baseOptions;
|
|
337
|
+
if (configuration) {
|
|
338
|
+
baseOptions = configuration.baseOptions;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
342
|
+
const localVarHeaderParameter = {} as any;
|
|
343
|
+
const localVarQueryParameter = {} as any;
|
|
344
|
+
|
|
345
|
+
// authentication BearerToken required
|
|
346
|
+
// http bearer authentication required
|
|
347
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
348
|
+
|
|
349
|
+
// authentication DigestAuth required
|
|
350
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
355
|
+
|
|
356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
357
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
358
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
359
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
360
|
+
|
|
361
|
+
return {
|
|
362
|
+
url: toPathString(localVarUrlObj),
|
|
363
|
+
options: localVarRequestOptions,
|
|
364
|
+
};
|
|
365
|
+
},
|
|
305
366
|
/**
|
|
306
367
|
* delete an account in cluster
|
|
307
368
|
* @summary Delete cluster account
|
|
@@ -594,6 +655,59 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
594
655
|
|
|
595
656
|
|
|
596
657
|
|
|
658
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
659
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
660
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
661
|
+
|
|
662
|
+
return {
|
|
663
|
+
url: toPathString(localVarUrlObj),
|
|
664
|
+
options: localVarRequestOptions,
|
|
665
|
+
};
|
|
666
|
+
},
|
|
667
|
+
/**
|
|
668
|
+
* delete a MinIO service account access key
|
|
669
|
+
* @summary Delete MinIO access key
|
|
670
|
+
* @param {string} engineName name of the engine
|
|
671
|
+
* @param {string} orgName name of the organization
|
|
672
|
+
* @param {string} clusterName name of the cluster
|
|
673
|
+
* @param {string} accessKey MinIO access key
|
|
674
|
+
* @param {*} [options] Override http request option.
|
|
675
|
+
* @throws {RequiredError}
|
|
676
|
+
*/
|
|
677
|
+
deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
678
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
679
|
+
assertParamExists('deleteServiceAccount', 'engineName', engineName)
|
|
680
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
681
|
+
assertParamExists('deleteServiceAccount', 'orgName', orgName)
|
|
682
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
683
|
+
assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
|
|
684
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
685
|
+
assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
|
|
686
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
687
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
688
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
689
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
690
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
691
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
692
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
693
|
+
let baseOptions;
|
|
694
|
+
if (configuration) {
|
|
695
|
+
baseOptions = configuration.baseOptions;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
699
|
+
const localVarHeaderParameter = {} as any;
|
|
700
|
+
const localVarQueryParameter = {} as any;
|
|
701
|
+
|
|
702
|
+
// authentication BearerToken required
|
|
703
|
+
// http bearer authentication required
|
|
704
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
705
|
+
|
|
706
|
+
// authentication DigestAuth required
|
|
707
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
597
711
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
598
712
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
599
713
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -700,6 +814,59 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
700
814
|
|
|
701
815
|
|
|
702
816
|
|
|
817
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
818
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
819
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
820
|
+
|
|
821
|
+
return {
|
|
822
|
+
url: toPathString(localVarUrlObj),
|
|
823
|
+
options: localVarRequestOptions,
|
|
824
|
+
};
|
|
825
|
+
},
|
|
826
|
+
/**
|
|
827
|
+
* get a MinIO service account access key
|
|
828
|
+
* @summary Get MinIO access key
|
|
829
|
+
* @param {string} engineName name of the engine
|
|
830
|
+
* @param {string} orgName name of the organization
|
|
831
|
+
* @param {string} clusterName name of the cluster
|
|
832
|
+
* @param {string} accessKey MinIO access key
|
|
833
|
+
* @param {*} [options] Override http request option.
|
|
834
|
+
* @throws {RequiredError}
|
|
835
|
+
*/
|
|
836
|
+
getServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
837
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
838
|
+
assertParamExists('getServiceAccount', 'engineName', engineName)
|
|
839
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
840
|
+
assertParamExists('getServiceAccount', 'orgName', orgName)
|
|
841
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
842
|
+
assertParamExists('getServiceAccount', 'clusterName', clusterName)
|
|
843
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
844
|
+
assertParamExists('getServiceAccount', 'accessKey', accessKey)
|
|
845
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
846
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
847
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
848
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
849
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
850
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
851
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
852
|
+
let baseOptions;
|
|
853
|
+
if (configuration) {
|
|
854
|
+
baseOptions = configuration.baseOptions;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
858
|
+
const localVarHeaderParameter = {} as any;
|
|
859
|
+
const localVarQueryParameter = {} as any;
|
|
860
|
+
|
|
861
|
+
// authentication BearerToken required
|
|
862
|
+
// http bearer authentication required
|
|
863
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
864
|
+
|
|
865
|
+
// authentication DigestAuth required
|
|
866
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
703
870
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
704
871
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
705
872
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -884,6 +1051,60 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
884
1051
|
|
|
885
1052
|
|
|
886
1053
|
|
|
1054
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1055
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1056
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1057
|
+
|
|
1058
|
+
return {
|
|
1059
|
+
url: toPathString(localVarUrlObj),
|
|
1060
|
+
options: localVarRequestOptions,
|
|
1061
|
+
};
|
|
1062
|
+
},
|
|
1063
|
+
/**
|
|
1064
|
+
* list MinIO service account access keys
|
|
1065
|
+
* @summary List MinIO access keys
|
|
1066
|
+
* @param {string} engineName name of the engine
|
|
1067
|
+
* @param {string} orgName name of the organization
|
|
1068
|
+
* @param {string} clusterName name of the cluster
|
|
1069
|
+
* @param {string} [userName] MinIO user that owns the service accounts
|
|
1070
|
+
* @param {*} [options] Override http request option.
|
|
1071
|
+
* @throws {RequiredError}
|
|
1072
|
+
*/
|
|
1073
|
+
listServiceAccounts: async (engineName: string, orgName: string, clusterName: string, userName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1074
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1075
|
+
assertParamExists('listServiceAccounts', 'engineName', engineName)
|
|
1076
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1077
|
+
assertParamExists('listServiceAccounts', 'orgName', orgName)
|
|
1078
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1079
|
+
assertParamExists('listServiceAccounts', 'clusterName', clusterName)
|
|
1080
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
1081
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1082
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1083
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1084
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1085
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1086
|
+
let baseOptions;
|
|
1087
|
+
if (configuration) {
|
|
1088
|
+
baseOptions = configuration.baseOptions;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1092
|
+
const localVarHeaderParameter = {} as any;
|
|
1093
|
+
const localVarQueryParameter = {} as any;
|
|
1094
|
+
|
|
1095
|
+
// authentication BearerToken required
|
|
1096
|
+
// http bearer authentication required
|
|
1097
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1098
|
+
|
|
1099
|
+
// authentication DigestAuth required
|
|
1100
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1101
|
+
|
|
1102
|
+
if (userName !== undefined) {
|
|
1103
|
+
localVarQueryParameter['userName'] = userName;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
|
|
887
1108
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
888
1109
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
889
1110
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1381,6 +1602,65 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1381
1602
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1382
1603
|
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPermission, localVarRequestOptions, configuration)
|
|
1383
1604
|
|
|
1605
|
+
return {
|
|
1606
|
+
url: toPathString(localVarUrlObj),
|
|
1607
|
+
options: localVarRequestOptions,
|
|
1608
|
+
};
|
|
1609
|
+
},
|
|
1610
|
+
/**
|
|
1611
|
+
* update a MinIO service account access key
|
|
1612
|
+
* @summary Update MinIO access key
|
|
1613
|
+
* @param {string} engineName name of the engine
|
|
1614
|
+
* @param {string} orgName name of the organization
|
|
1615
|
+
* @param {string} clusterName name of the cluster
|
|
1616
|
+
* @param {string} accessKey MinIO access key
|
|
1617
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
1618
|
+
* @param {*} [options] Override http request option.
|
|
1619
|
+
* @throws {RequiredError}
|
|
1620
|
+
*/
|
|
1621
|
+
updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1622
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1623
|
+
assertParamExists('updateServiceAccount', 'engineName', engineName)
|
|
1624
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1625
|
+
assertParamExists('updateServiceAccount', 'orgName', orgName)
|
|
1626
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1627
|
+
assertParamExists('updateServiceAccount', 'clusterName', clusterName)
|
|
1628
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
1629
|
+
assertParamExists('updateServiceAccount', 'accessKey', accessKey)
|
|
1630
|
+
// verify required parameter 'body' is not null or undefined
|
|
1631
|
+
assertParamExists('updateServiceAccount', 'body', body)
|
|
1632
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
1633
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1634
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1635
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1636
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
1637
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1638
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1639
|
+
let baseOptions;
|
|
1640
|
+
if (configuration) {
|
|
1641
|
+
baseOptions = configuration.baseOptions;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1645
|
+
const localVarHeaderParameter = {} as any;
|
|
1646
|
+
const localVarQueryParameter = {} as any;
|
|
1647
|
+
|
|
1648
|
+
// authentication BearerToken required
|
|
1649
|
+
// http bearer authentication required
|
|
1650
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1651
|
+
|
|
1652
|
+
// authentication DigestAuth required
|
|
1653
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1658
|
+
|
|
1659
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1660
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1661
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1662
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1663
|
+
|
|
1384
1664
|
return {
|
|
1385
1665
|
url: toPathString(localVarUrlObj),
|
|
1386
1666
|
options: localVarRequestOptions,
|
|
@@ -1472,6 +1752,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1472
1752
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.createRabbitAccount']?.[localVarOperationServerIndex]?.url;
|
|
1473
1753
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1474
1754
|
},
|
|
1755
|
+
/**
|
|
1756
|
+
* create a MinIO service account access key
|
|
1757
|
+
* @summary Create MinIO access key
|
|
1758
|
+
* @param {string} engineName name of the engine
|
|
1759
|
+
* @param {string} orgName name of the organization
|
|
1760
|
+
* @param {string} clusterName name of the cluster
|
|
1761
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
1762
|
+
* @param {*} [options] Override http request option.
|
|
1763
|
+
* @throws {RequiredError}
|
|
1764
|
+
*/
|
|
1765
|
+
async createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
1766
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
|
|
1767
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1768
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1770
|
+
},
|
|
1475
1771
|
/**
|
|
1476
1772
|
* delete an account in cluster
|
|
1477
1773
|
* @summary Delete cluster account
|
|
@@ -1563,6 +1859,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1563
1859
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteRabbitAccount']?.[localVarOperationServerIndex]?.url;
|
|
1564
1860
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1565
1861
|
},
|
|
1862
|
+
/**
|
|
1863
|
+
* delete a MinIO service account access key
|
|
1864
|
+
* @summary Delete MinIO access key
|
|
1865
|
+
* @param {string} engineName name of the engine
|
|
1866
|
+
* @param {string} orgName name of the organization
|
|
1867
|
+
* @param {string} clusterName name of the cluster
|
|
1868
|
+
* @param {string} accessKey MinIO access key
|
|
1869
|
+
* @param {*} [options] Override http request option.
|
|
1870
|
+
* @throws {RequiredError}
|
|
1871
|
+
*/
|
|
1872
|
+
async deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
1874
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1875
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1876
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1877
|
+
},
|
|
1566
1878
|
/**
|
|
1567
1879
|
* Get Hive accounts
|
|
1568
1880
|
* @summary Get Hive accounts
|
|
@@ -1594,6 +1906,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1594
1906
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
1595
1907
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1596
1908
|
},
|
|
1909
|
+
/**
|
|
1910
|
+
* get a MinIO service account access key
|
|
1911
|
+
* @summary Get MinIO access key
|
|
1912
|
+
* @param {string} engineName name of the engine
|
|
1913
|
+
* @param {string} orgName name of the organization
|
|
1914
|
+
* @param {string} clusterName name of the cluster
|
|
1915
|
+
* @param {string} accessKey MinIO access key
|
|
1916
|
+
* @param {*} [options] Override http request option.
|
|
1917
|
+
* @throws {RequiredError}
|
|
1918
|
+
*/
|
|
1919
|
+
async getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
1920
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
|
|
1921
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1922
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
1923
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1924
|
+
},
|
|
1597
1925
|
/**
|
|
1598
1926
|
* list accounts in cluster
|
|
1599
1927
|
* @summary List cluster accounts
|
|
@@ -1651,6 +1979,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1651
1979
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.listRabbitAccounts']?.[localVarOperationServerIndex]?.url;
|
|
1652
1980
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1653
1981
|
},
|
|
1982
|
+
/**
|
|
1983
|
+
* list MinIO service account access keys
|
|
1984
|
+
* @summary List MinIO access keys
|
|
1985
|
+
* @param {string} engineName name of the engine
|
|
1986
|
+
* @param {string} orgName name of the organization
|
|
1987
|
+
* @param {string} clusterName name of the cluster
|
|
1988
|
+
* @param {string} [userName] MinIO user that owns the service accounts
|
|
1989
|
+
* @param {*} [options] Override http request option.
|
|
1990
|
+
* @throws {RequiredError}
|
|
1991
|
+
*/
|
|
1992
|
+
async listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>> {
|
|
1993
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
|
|
1994
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1995
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
|
|
1996
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1997
|
+
},
|
|
1654
1998
|
/**
|
|
1655
1999
|
* lock an account in cluster
|
|
1656
2000
|
* @summary Lock cluster account
|
|
@@ -1796,6 +2140,23 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1796
2140
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateRabbitAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
1797
2141
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1798
2142
|
},
|
|
2143
|
+
/**
|
|
2144
|
+
* update a MinIO service account access key
|
|
2145
|
+
* @summary Update MinIO access key
|
|
2146
|
+
* @param {string} engineName name of the engine
|
|
2147
|
+
* @param {string} orgName name of the organization
|
|
2148
|
+
* @param {string} clusterName name of the cluster
|
|
2149
|
+
* @param {string} accessKey MinIO access key
|
|
2150
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
2151
|
+
* @param {*} [options] Override http request option.
|
|
2152
|
+
* @throws {RequiredError}
|
|
2153
|
+
*/
|
|
2154
|
+
async updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
|
|
2155
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
|
|
2156
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2157
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateServiceAccount']?.[localVarOperationServerIndex]?.url;
|
|
2158
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2159
|
+
},
|
|
1799
2160
|
}
|
|
1800
2161
|
};
|
|
1801
2162
|
|
|
@@ -1856,6 +2217,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
1856
2217
|
createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1857
2218
|
return localVarFp.createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(axios, basePath));
|
|
1858
2219
|
},
|
|
2220
|
+
/**
|
|
2221
|
+
* create a MinIO service account access key
|
|
2222
|
+
* @summary Create MinIO access key
|
|
2223
|
+
* @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
2224
|
+
* @param {*} [options] Override http request option.
|
|
2225
|
+
* @throws {RequiredError}
|
|
2226
|
+
*/
|
|
2227
|
+
createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
2228
|
+
return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2229
|
+
},
|
|
1859
2230
|
/**
|
|
1860
2231
|
* delete an account in cluster
|
|
1861
2232
|
* @summary Delete cluster account
|
|
@@ -1916,6 +2287,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
1916
2287
|
deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1917
2288
|
return localVarFp.deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
1918
2289
|
},
|
|
2290
|
+
/**
|
|
2291
|
+
* delete a MinIO service account access key
|
|
2292
|
+
* @summary Delete MinIO access key
|
|
2293
|
+
* @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
2294
|
+
* @param {*} [options] Override http request option.
|
|
2295
|
+
* @throws {RequiredError}
|
|
2296
|
+
*/
|
|
2297
|
+
deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2298
|
+
return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
2299
|
+
},
|
|
1919
2300
|
/**
|
|
1920
2301
|
* Get Hive accounts
|
|
1921
2302
|
* @summary Get Hive accounts
|
|
@@ -1936,6 +2317,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
1936
2317
|
getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
1937
2318
|
return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
1938
2319
|
},
|
|
2320
|
+
/**
|
|
2321
|
+
* get a MinIO service account access key
|
|
2322
|
+
* @summary Get MinIO access key
|
|
2323
|
+
* @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
2324
|
+
* @param {*} [options] Override http request option.
|
|
2325
|
+
* @throws {RequiredError}
|
|
2326
|
+
*/
|
|
2327
|
+
getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
2328
|
+
return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
2329
|
+
},
|
|
1939
2330
|
/**
|
|
1940
2331
|
* list accounts in cluster
|
|
1941
2332
|
* @summary List cluster accounts
|
|
@@ -1976,6 +2367,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
1976
2367
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList> {
|
|
1977
2368
|
return localVarFp.listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
1978
2369
|
},
|
|
2370
|
+
/**
|
|
2371
|
+
* list MinIO service account access keys
|
|
2372
|
+
* @summary List MinIO access keys
|
|
2373
|
+
* @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
2374
|
+
* @param {*} [options] Override http request option.
|
|
2375
|
+
* @throws {RequiredError}
|
|
2376
|
+
*/
|
|
2377
|
+
listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>> {
|
|
2378
|
+
return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
|
|
2379
|
+
},
|
|
1979
2380
|
/**
|
|
1980
2381
|
* lock an account in cluster
|
|
1981
2382
|
* @summary Lock cluster account
|
|
@@ -2066,6 +2467,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2066
2467
|
updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2067
2468
|
return localVarFp.updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(axios, basePath));
|
|
2068
2469
|
},
|
|
2470
|
+
/**
|
|
2471
|
+
* update a MinIO service account access key
|
|
2472
|
+
* @summary Update MinIO access key
|
|
2473
|
+
* @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
2474
|
+
* @param {*} [options] Override http request option.
|
|
2475
|
+
* @throws {RequiredError}
|
|
2476
|
+
*/
|
|
2477
|
+
updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
|
|
2478
|
+
return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2479
|
+
},
|
|
2069
2480
|
};
|
|
2070
2481
|
};
|
|
2071
2482
|
|
|
@@ -2125,6 +2536,16 @@ export interface AccountApiInterface {
|
|
|
2125
2536
|
*/
|
|
2126
2537
|
createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2127
2538
|
|
|
2539
|
+
/**
|
|
2540
|
+
* create a MinIO service account access key
|
|
2541
|
+
* @summary Create MinIO access key
|
|
2542
|
+
* @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
2543
|
+
* @param {*} [options] Override http request option.
|
|
2544
|
+
* @throws {RequiredError}
|
|
2545
|
+
* @memberof AccountApiInterface
|
|
2546
|
+
*/
|
|
2547
|
+
createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
2548
|
+
|
|
2128
2549
|
/**
|
|
2129
2550
|
* delete an account in cluster
|
|
2130
2551
|
* @summary Delete cluster account
|
|
@@ -2185,6 +2606,16 @@ export interface AccountApiInterface {
|
|
|
2185
2606
|
*/
|
|
2186
2607
|
deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2187
2608
|
|
|
2609
|
+
/**
|
|
2610
|
+
* delete a MinIO service account access key
|
|
2611
|
+
* @summary Delete MinIO access key
|
|
2612
|
+
* @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
2613
|
+
* @param {*} [options] Override http request option.
|
|
2614
|
+
* @throws {RequiredError}
|
|
2615
|
+
* @memberof AccountApiInterface
|
|
2616
|
+
*/
|
|
2617
|
+
deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2618
|
+
|
|
2188
2619
|
/**
|
|
2189
2620
|
* Get Hive accounts
|
|
2190
2621
|
* @summary Get Hive accounts
|
|
@@ -2205,6 +2636,16 @@ export interface AccountApiInterface {
|
|
|
2205
2636
|
*/
|
|
2206
2637
|
getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
2207
2638
|
|
|
2639
|
+
/**
|
|
2640
|
+
* get a MinIO service account access key
|
|
2641
|
+
* @summary Get MinIO access key
|
|
2642
|
+
* @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
2643
|
+
* @param {*} [options] Override http request option.
|
|
2644
|
+
* @throws {RequiredError}
|
|
2645
|
+
* @memberof AccountApiInterface
|
|
2646
|
+
*/
|
|
2647
|
+
getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
2648
|
+
|
|
2208
2649
|
/**
|
|
2209
2650
|
* list accounts in cluster
|
|
2210
2651
|
* @summary List cluster accounts
|
|
@@ -2245,6 +2686,16 @@ export interface AccountApiInterface {
|
|
|
2245
2686
|
*/
|
|
2246
2687
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
|
|
2247
2688
|
|
|
2689
|
+
/**
|
|
2690
|
+
* list MinIO service account access keys
|
|
2691
|
+
* @summary List MinIO access keys
|
|
2692
|
+
* @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
2693
|
+
* @param {*} [options] Override http request option.
|
|
2694
|
+
* @throws {RequiredError}
|
|
2695
|
+
* @memberof AccountApiInterface
|
|
2696
|
+
*/
|
|
2697
|
+
listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
|
|
2698
|
+
|
|
2248
2699
|
/**
|
|
2249
2700
|
* lock an account in cluster
|
|
2250
2701
|
* @summary Lock cluster account
|
|
@@ -2335,6 +2786,16 @@ export interface AccountApiInterface {
|
|
|
2335
2786
|
*/
|
|
2336
2787
|
updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2337
2788
|
|
|
2789
|
+
/**
|
|
2790
|
+
* update a MinIO service account access key
|
|
2791
|
+
* @summary Update MinIO access key
|
|
2792
|
+
* @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
2793
|
+
* @param {*} [options] Override http request option.
|
|
2794
|
+
* @throws {RequiredError}
|
|
2795
|
+
* @memberof AccountApiInterface
|
|
2796
|
+
*/
|
|
2797
|
+
updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
2798
|
+
|
|
2338
2799
|
}
|
|
2339
2800
|
|
|
2340
2801
|
/**
|
|
@@ -2484,6 +2945,41 @@ export interface AccountApiCreateRabbitAccountRequest {
|
|
|
2484
2945
|
readonly rbmqAccountRequest: RbmqAccountRequest
|
|
2485
2946
|
}
|
|
2486
2947
|
|
|
2948
|
+
/**
|
|
2949
|
+
* Request parameters for createServiceAccount operation in AccountApi.
|
|
2950
|
+
* @export
|
|
2951
|
+
* @interface AccountApiCreateServiceAccountRequest
|
|
2952
|
+
*/
|
|
2953
|
+
export interface AccountApiCreateServiceAccountRequest {
|
|
2954
|
+
/**
|
|
2955
|
+
* name of the engine
|
|
2956
|
+
* @type {string}
|
|
2957
|
+
* @memberof AccountApiCreateServiceAccount
|
|
2958
|
+
*/
|
|
2959
|
+
readonly engineName: string
|
|
2960
|
+
|
|
2961
|
+
/**
|
|
2962
|
+
* name of the organization
|
|
2963
|
+
* @type {string}
|
|
2964
|
+
* @memberof AccountApiCreateServiceAccount
|
|
2965
|
+
*/
|
|
2966
|
+
readonly orgName: string
|
|
2967
|
+
|
|
2968
|
+
/**
|
|
2969
|
+
* name of the cluster
|
|
2970
|
+
* @type {string}
|
|
2971
|
+
* @memberof AccountApiCreateServiceAccount
|
|
2972
|
+
*/
|
|
2973
|
+
readonly clusterName: string
|
|
2974
|
+
|
|
2975
|
+
/**
|
|
2976
|
+
*
|
|
2977
|
+
* @type {DmsServiceAccountCreateRequest}
|
|
2978
|
+
* @memberof AccountApiCreateServiceAccount
|
|
2979
|
+
*/
|
|
2980
|
+
readonly body: DmsServiceAccountCreateRequest
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2487
2983
|
/**
|
|
2488
2984
|
* Request parameters for deleteAccount operation in AccountApi.
|
|
2489
2985
|
* @export
|
|
@@ -2659,6 +3155,41 @@ export interface AccountApiDeleteRabbitAccountRequest {
|
|
|
2659
3155
|
readonly accountName: string
|
|
2660
3156
|
}
|
|
2661
3157
|
|
|
3158
|
+
/**
|
|
3159
|
+
* Request parameters for deleteServiceAccount operation in AccountApi.
|
|
3160
|
+
* @export
|
|
3161
|
+
* @interface AccountApiDeleteServiceAccountRequest
|
|
3162
|
+
*/
|
|
3163
|
+
export interface AccountApiDeleteServiceAccountRequest {
|
|
3164
|
+
/**
|
|
3165
|
+
* name of the engine
|
|
3166
|
+
* @type {string}
|
|
3167
|
+
* @memberof AccountApiDeleteServiceAccount
|
|
3168
|
+
*/
|
|
3169
|
+
readonly engineName: string
|
|
3170
|
+
|
|
3171
|
+
/**
|
|
3172
|
+
* name of the organization
|
|
3173
|
+
* @type {string}
|
|
3174
|
+
* @memberof AccountApiDeleteServiceAccount
|
|
3175
|
+
*/
|
|
3176
|
+
readonly orgName: string
|
|
3177
|
+
|
|
3178
|
+
/**
|
|
3179
|
+
* name of the cluster
|
|
3180
|
+
* @type {string}
|
|
3181
|
+
* @memberof AccountApiDeleteServiceAccount
|
|
3182
|
+
*/
|
|
3183
|
+
readonly clusterName: string
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* MinIO access key
|
|
3187
|
+
* @type {string}
|
|
3188
|
+
* @memberof AccountApiDeleteServiceAccount
|
|
3189
|
+
*/
|
|
3190
|
+
readonly accessKey: string
|
|
3191
|
+
}
|
|
3192
|
+
|
|
2662
3193
|
/**
|
|
2663
3194
|
* Request parameters for getHiveAccounts operation in AccountApi.
|
|
2664
3195
|
* @export
|
|
@@ -2722,6 +3253,41 @@ export interface AccountApiGetRootAccountPasswordRequest {
|
|
|
2722
3253
|
readonly component?: string
|
|
2723
3254
|
}
|
|
2724
3255
|
|
|
3256
|
+
/**
|
|
3257
|
+
* Request parameters for getServiceAccount operation in AccountApi.
|
|
3258
|
+
* @export
|
|
3259
|
+
* @interface AccountApiGetServiceAccountRequest
|
|
3260
|
+
*/
|
|
3261
|
+
export interface AccountApiGetServiceAccountRequest {
|
|
3262
|
+
/**
|
|
3263
|
+
* name of the engine
|
|
3264
|
+
* @type {string}
|
|
3265
|
+
* @memberof AccountApiGetServiceAccount
|
|
3266
|
+
*/
|
|
3267
|
+
readonly engineName: string
|
|
3268
|
+
|
|
3269
|
+
/**
|
|
3270
|
+
* name of the organization
|
|
3271
|
+
* @type {string}
|
|
3272
|
+
* @memberof AccountApiGetServiceAccount
|
|
3273
|
+
*/
|
|
3274
|
+
readonly orgName: string
|
|
3275
|
+
|
|
3276
|
+
/**
|
|
3277
|
+
* name of the cluster
|
|
3278
|
+
* @type {string}
|
|
3279
|
+
* @memberof AccountApiGetServiceAccount
|
|
3280
|
+
*/
|
|
3281
|
+
readonly clusterName: string
|
|
3282
|
+
|
|
3283
|
+
/**
|
|
3284
|
+
* MinIO access key
|
|
3285
|
+
* @type {string}
|
|
3286
|
+
* @memberof AccountApiGetServiceAccount
|
|
3287
|
+
*/
|
|
3288
|
+
readonly accessKey: string
|
|
3289
|
+
}
|
|
3290
|
+
|
|
2725
3291
|
/**
|
|
2726
3292
|
* Request parameters for listAccounts operation in AccountApi.
|
|
2727
3293
|
* @export
|
|
@@ -2813,6 +3379,41 @@ export interface AccountApiListRabbitAccountsRequest {
|
|
|
2813
3379
|
readonly clusterName: string
|
|
2814
3380
|
}
|
|
2815
3381
|
|
|
3382
|
+
/**
|
|
3383
|
+
* Request parameters for listServiceAccounts operation in AccountApi.
|
|
3384
|
+
* @export
|
|
3385
|
+
* @interface AccountApiListServiceAccountsRequest
|
|
3386
|
+
*/
|
|
3387
|
+
export interface AccountApiListServiceAccountsRequest {
|
|
3388
|
+
/**
|
|
3389
|
+
* name of the engine
|
|
3390
|
+
* @type {string}
|
|
3391
|
+
* @memberof AccountApiListServiceAccounts
|
|
3392
|
+
*/
|
|
3393
|
+
readonly engineName: string
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* name of the organization
|
|
3397
|
+
* @type {string}
|
|
3398
|
+
* @memberof AccountApiListServiceAccounts
|
|
3399
|
+
*/
|
|
3400
|
+
readonly orgName: string
|
|
3401
|
+
|
|
3402
|
+
/**
|
|
3403
|
+
* name of the cluster
|
|
3404
|
+
* @type {string}
|
|
3405
|
+
* @memberof AccountApiListServiceAccounts
|
|
3406
|
+
*/
|
|
3407
|
+
readonly clusterName: string
|
|
3408
|
+
|
|
3409
|
+
/**
|
|
3410
|
+
* MinIO user that owns the service accounts
|
|
3411
|
+
* @type {string}
|
|
3412
|
+
* @memberof AccountApiListServiceAccounts
|
|
3413
|
+
*/
|
|
3414
|
+
readonly userName?: string
|
|
3415
|
+
}
|
|
3416
|
+
|
|
2816
3417
|
/**
|
|
2817
3418
|
* Request parameters for lockAccount operation in AccountApi.
|
|
2818
3419
|
* @export
|
|
@@ -3135,6 +3736,48 @@ export interface AccountApiUpdateRabbitAccountPrivilegesRequest {
|
|
|
3135
3736
|
readonly rbmqPermission: RbmqPermission
|
|
3136
3737
|
}
|
|
3137
3738
|
|
|
3739
|
+
/**
|
|
3740
|
+
* Request parameters for updateServiceAccount operation in AccountApi.
|
|
3741
|
+
* @export
|
|
3742
|
+
* @interface AccountApiUpdateServiceAccountRequest
|
|
3743
|
+
*/
|
|
3744
|
+
export interface AccountApiUpdateServiceAccountRequest {
|
|
3745
|
+
/**
|
|
3746
|
+
* name of the engine
|
|
3747
|
+
* @type {string}
|
|
3748
|
+
* @memberof AccountApiUpdateServiceAccount
|
|
3749
|
+
*/
|
|
3750
|
+
readonly engineName: string
|
|
3751
|
+
|
|
3752
|
+
/**
|
|
3753
|
+
* name of the organization
|
|
3754
|
+
* @type {string}
|
|
3755
|
+
* @memberof AccountApiUpdateServiceAccount
|
|
3756
|
+
*/
|
|
3757
|
+
readonly orgName: string
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* name of the cluster
|
|
3761
|
+
* @type {string}
|
|
3762
|
+
* @memberof AccountApiUpdateServiceAccount
|
|
3763
|
+
*/
|
|
3764
|
+
readonly clusterName: string
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* MinIO access key
|
|
3768
|
+
* @type {string}
|
|
3769
|
+
* @memberof AccountApiUpdateServiceAccount
|
|
3770
|
+
*/
|
|
3771
|
+
readonly accessKey: string
|
|
3772
|
+
|
|
3773
|
+
/**
|
|
3774
|
+
*
|
|
3775
|
+
* @type {DmsServiceAccountUpdateRequest}
|
|
3776
|
+
* @memberof AccountApiUpdateServiceAccount
|
|
3777
|
+
*/
|
|
3778
|
+
readonly body: DmsServiceAccountUpdateRequest
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3138
3781
|
/**
|
|
3139
3782
|
* AccountApi - object-oriented interface
|
|
3140
3783
|
* @export
|
|
@@ -3202,6 +3845,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3202
3845
|
return AccountApiFp(this.configuration).createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3203
3846
|
}
|
|
3204
3847
|
|
|
3848
|
+
/**
|
|
3849
|
+
* create a MinIO service account access key
|
|
3850
|
+
* @summary Create MinIO access key
|
|
3851
|
+
* @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
|
|
3852
|
+
* @param {*} [options] Override http request option.
|
|
3853
|
+
* @throws {RequiredError}
|
|
3854
|
+
* @memberof AccountApi
|
|
3855
|
+
*/
|
|
3856
|
+
public createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
3857
|
+
return AccountApiFp(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3205
3860
|
/**
|
|
3206
3861
|
* delete an account in cluster
|
|
3207
3862
|
* @summary Delete cluster account
|
|
@@ -3274,6 +3929,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3274
3929
|
return AccountApiFp(this.configuration).deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
3275
3930
|
}
|
|
3276
3931
|
|
|
3932
|
+
/**
|
|
3933
|
+
* delete a MinIO service account access key
|
|
3934
|
+
* @summary Delete MinIO access key
|
|
3935
|
+
* @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
|
|
3936
|
+
* @param {*} [options] Override http request option.
|
|
3937
|
+
* @throws {RequiredError}
|
|
3938
|
+
* @memberof AccountApi
|
|
3939
|
+
*/
|
|
3940
|
+
public deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
3941
|
+
return AccountApiFp(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3277
3944
|
/**
|
|
3278
3945
|
* Get Hive accounts
|
|
3279
3946
|
* @summary Get Hive accounts
|
|
@@ -3298,6 +3965,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3298
3965
|
return AccountApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
3299
3966
|
}
|
|
3300
3967
|
|
|
3968
|
+
/**
|
|
3969
|
+
* get a MinIO service account access key
|
|
3970
|
+
* @summary Get MinIO access key
|
|
3971
|
+
* @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
|
|
3972
|
+
* @param {*} [options] Override http request option.
|
|
3973
|
+
* @throws {RequiredError}
|
|
3974
|
+
* @memberof AccountApi
|
|
3975
|
+
*/
|
|
3976
|
+
public getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
3977
|
+
return AccountApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
3978
|
+
}
|
|
3979
|
+
|
|
3301
3980
|
/**
|
|
3302
3981
|
* list accounts in cluster
|
|
3303
3982
|
* @summary List cluster accounts
|
|
@@ -3346,6 +4025,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3346
4025
|
return AccountApiFp(this.configuration).listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
3347
4026
|
}
|
|
3348
4027
|
|
|
4028
|
+
/**
|
|
4029
|
+
* list MinIO service account access keys
|
|
4030
|
+
* @summary List MinIO access keys
|
|
4031
|
+
* @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
|
|
4032
|
+
* @param {*} [options] Override http request option.
|
|
4033
|
+
* @throws {RequiredError}
|
|
4034
|
+
* @memberof AccountApi
|
|
4035
|
+
*/
|
|
4036
|
+
public listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
4037
|
+
return AccountApiFp(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
|
|
4038
|
+
}
|
|
4039
|
+
|
|
3349
4040
|
/**
|
|
3350
4041
|
* lock an account in cluster
|
|
3351
4042
|
* @summary Lock cluster account
|
|
@@ -3453,5 +4144,17 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3453
4144
|
public updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
3454
4145
|
return AccountApiFp(this.configuration).updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(this.axios, this.basePath));
|
|
3455
4146
|
}
|
|
4147
|
+
|
|
4148
|
+
/**
|
|
4149
|
+
* update a MinIO service account access key
|
|
4150
|
+
* @summary Update MinIO access key
|
|
4151
|
+
* @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
4152
|
+
* @param {*} [options] Override http request option.
|
|
4153
|
+
* @throws {RequiredError}
|
|
4154
|
+
* @memberof AccountApi
|
|
4155
|
+
*/
|
|
4156
|
+
public updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig) {
|
|
4157
|
+
return AccountApiFp(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
4158
|
+
}
|
|
3456
4159
|
}
|
|
3457
4160
|
|