kb-cloud-client-typescript 2.2.97 → 2.2.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +406 -0
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +427 -0
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/rdbms-api.d.ts +406 -0
  6. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/rdbms-api.js +427 -0
  8. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +406 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +427 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/dms-service-account-create-request.d.ts +55 -0
  14. package/dist/adminapi/models/dms-service-account-create-request.d.ts.map +1 -0
  15. package/dist/adminapi/models/dms-service-account-create-request.js +16 -0
  16. package/dist/adminapi/models/dms-service-account-create-request.js.map +1 -0
  17. package/dist/adminapi/models/dms-service-account-status.d.ts +22 -0
  18. package/dist/adminapi/models/dms-service-account-status.d.ts.map +1 -0
  19. package/dist/adminapi/models/dms-service-account-status.js +26 -0
  20. package/dist/adminapi/models/dms-service-account-status.js.map +1 -0
  21. package/dist/adminapi/models/dms-service-account-update-request.d.ts +32 -0
  22. package/dist/adminapi/models/dms-service-account-update-request.d.ts.map +1 -0
  23. package/dist/adminapi/models/dms-service-account-update-request.js +16 -0
  24. package/dist/adminapi/models/dms-service-account-update-request.js.map +1 -0
  25. package/dist/adminapi/models/dms-service-account.d.ts +73 -0
  26. package/dist/adminapi/models/dms-service-account.d.ts.map +1 -0
  27. package/dist/adminapi/models/dms-service-account.js +16 -0
  28. package/dist/adminapi/models/dms-service-account.js.map +1 -0
  29. package/dist/adminapi/models/index.d.ts +4 -0
  30. package/dist/adminapi/models/index.d.ts.map +1 -1
  31. package/dist/adminapi/models/index.js +4 -0
  32. package/dist/adminapi/models/index.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/adminapi/.openapi-generator/FILES +4 -0
  35. package/src/adminapi/apis/account-api.ts +703 -0
  36. package/src/adminapi/apis/rdbms-api.ts +703 -0
  37. package/src/adminapi/apis/shared-api.ts +703 -0
  38. package/src/adminapi/models/dms-service-account-create-request.ts +60 -0
  39. package/src/adminapi/models/dms-service-account-status.ts +31 -0
  40. package/src/adminapi/models/dms-service-account-update-request.ts +41 -0
  41. package/src/adminapi/models/dms-service-account.ts +78 -0
  42. package/src/adminapi/models/index.ts +4 -0
  43. package/src/adminapi.yaml +330 -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 { MilvusAccountPassword } from '../models';
32
38
  // @ts-ignore
33
39
  import type { MilvusAccountRoles } from '../models';
@@ -210,6 +216,61 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
210
216
  options: localVarRequestOptions,
211
217
  };
212
218
  },
219
+ /**
220
+ * create a MinIO service account access key
221
+ * @summary Create MinIO access key
222
+ * @param {string} engineName name of the engine
223
+ * @param {string} orgName name of the organization
224
+ * @param {string} clusterName name of the cluster
225
+ * @param {DmsServiceAccountCreateRequest} body
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ */
229
+ createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
230
+ // verify required parameter 'engineName' is not null or undefined
231
+ assertParamExists('createServiceAccount', 'engineName', engineName)
232
+ // verify required parameter 'orgName' is not null or undefined
233
+ assertParamExists('createServiceAccount', 'orgName', orgName)
234
+ // verify required parameter 'clusterName' is not null or undefined
235
+ assertParamExists('createServiceAccount', 'clusterName', clusterName)
236
+ // verify required parameter 'body' is not null or undefined
237
+ assertParamExists('createServiceAccount', 'body', body)
238
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
239
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
240
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
241
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
242
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
243
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
244
+ let baseOptions;
245
+ if (configuration) {
246
+ baseOptions = configuration.baseOptions;
247
+ }
248
+
249
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
250
+ const localVarHeaderParameter = {} as any;
251
+ const localVarQueryParameter = {} as any;
252
+
253
+ // authentication BearerToken required
254
+ // http bearer authentication required
255
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
256
+
257
+ // authentication DigestAuth required
258
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
259
+
260
+
261
+
262
+ localVarHeaderParameter['Content-Type'] = 'application/json';
263
+
264
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
265
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
266
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
267
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
268
+
269
+ return {
270
+ url: toPathString(localVarUrlObj),
271
+ options: localVarRequestOptions,
272
+ };
273
+ },
213
274
  /**
214
275
  * delete an account in cluster
215
276
  * @summary Delete cluster account
@@ -453,6 +514,59 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
453
514
 
454
515
 
455
516
 
517
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
518
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
519
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
520
+
521
+ return {
522
+ url: toPathString(localVarUrlObj),
523
+ options: localVarRequestOptions,
524
+ };
525
+ },
526
+ /**
527
+ * delete a MinIO service account access key
528
+ * @summary Delete MinIO access key
529
+ * @param {string} engineName name of the engine
530
+ * @param {string} orgName name of the organization
531
+ * @param {string} clusterName name of the cluster
532
+ * @param {string} accessKey MinIO access key
533
+ * @param {*} [options] Override http request option.
534
+ * @throws {RequiredError}
535
+ */
536
+ deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
537
+ // verify required parameter 'engineName' is not null or undefined
538
+ assertParamExists('deleteServiceAccount', 'engineName', engineName)
539
+ // verify required parameter 'orgName' is not null or undefined
540
+ assertParamExists('deleteServiceAccount', 'orgName', orgName)
541
+ // verify required parameter 'clusterName' is not null or undefined
542
+ assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
543
+ // verify required parameter 'accessKey' is not null or undefined
544
+ assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
545
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
546
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
547
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
548
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
549
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
552
+ let baseOptions;
553
+ if (configuration) {
554
+ baseOptions = configuration.baseOptions;
555
+ }
556
+
557
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
558
+ const localVarHeaderParameter = {} as any;
559
+ const localVarQueryParameter = {} as any;
560
+
561
+ // authentication BearerToken required
562
+ // http bearer authentication required
563
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
564
+
565
+ // authentication DigestAuth required
566
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
567
+
568
+
569
+
456
570
  setSearchParams(localVarUrlObj, localVarQueryParameter);
457
571
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
458
572
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -563,6 +677,59 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
563
677
 
564
678
 
565
679
 
680
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
681
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
682
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
683
+
684
+ return {
685
+ url: toPathString(localVarUrlObj),
686
+ options: localVarRequestOptions,
687
+ };
688
+ },
689
+ /**
690
+ * get a MinIO service account access key
691
+ * @summary Get MinIO access key
692
+ * @param {string} engineName name of the engine
693
+ * @param {string} orgName name of the organization
694
+ * @param {string} clusterName name of the cluster
695
+ * @param {string} accessKey MinIO access key
696
+ * @param {*} [options] Override http request option.
697
+ * @throws {RequiredError}
698
+ */
699
+ getServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
700
+ // verify required parameter 'engineName' is not null or undefined
701
+ assertParamExists('getServiceAccount', 'engineName', engineName)
702
+ // verify required parameter 'orgName' is not null or undefined
703
+ assertParamExists('getServiceAccount', 'orgName', orgName)
704
+ // verify required parameter 'clusterName' is not null or undefined
705
+ assertParamExists('getServiceAccount', 'clusterName', clusterName)
706
+ // verify required parameter 'accessKey' is not null or undefined
707
+ assertParamExists('getServiceAccount', 'accessKey', accessKey)
708
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
709
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
710
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
711
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
712
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
713
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
714
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
715
+ let baseOptions;
716
+ if (configuration) {
717
+ baseOptions = configuration.baseOptions;
718
+ }
719
+
720
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
721
+ const localVarHeaderParameter = {} as any;
722
+ const localVarQueryParameter = {} as any;
723
+
724
+ // authentication BearerToken required
725
+ // http bearer authentication required
726
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
727
+
728
+ // authentication DigestAuth required
729
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
730
+
731
+
732
+
566
733
  setSearchParams(localVarUrlObj, localVarQueryParameter);
567
734
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
568
735
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -747,6 +914,60 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
747
914
 
748
915
 
749
916
 
917
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
918
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
919
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
920
+
921
+ return {
922
+ url: toPathString(localVarUrlObj),
923
+ options: localVarRequestOptions,
924
+ };
925
+ },
926
+ /**
927
+ * list MinIO service account access keys
928
+ * @summary List MinIO access keys
929
+ * @param {string} engineName name of the engine
930
+ * @param {string} orgName name of the organization
931
+ * @param {string} clusterName name of the cluster
932
+ * @param {string} [userName] MinIO user that owns the service accounts
933
+ * @param {*} [options] Override http request option.
934
+ * @throws {RequiredError}
935
+ */
936
+ listServiceAccounts: async (engineName: string, orgName: string, clusterName: string, userName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
937
+ // verify required parameter 'engineName' is not null or undefined
938
+ assertParamExists('listServiceAccounts', 'engineName', engineName)
939
+ // verify required parameter 'orgName' is not null or undefined
940
+ assertParamExists('listServiceAccounts', 'orgName', orgName)
941
+ // verify required parameter 'clusterName' is not null or undefined
942
+ assertParamExists('listServiceAccounts', 'clusterName', clusterName)
943
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
944
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
945
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
946
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
947
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
948
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
949
+ let baseOptions;
950
+ if (configuration) {
951
+ baseOptions = configuration.baseOptions;
952
+ }
953
+
954
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
955
+ const localVarHeaderParameter = {} as any;
956
+ const localVarQueryParameter = {} as any;
957
+
958
+ // authentication BearerToken required
959
+ // http bearer authentication required
960
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
961
+
962
+ // authentication DigestAuth required
963
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
964
+
965
+ if (userName !== undefined) {
966
+ localVarQueryParameter['userName'] = userName;
967
+ }
968
+
969
+
970
+
750
971
  setSearchParams(localVarUrlObj, localVarQueryParameter);
751
972
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
752
973
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1193,6 +1414,65 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
1193
1414
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1194
1415
  localVarRequestOptions.data = serializeDataIfNeeded(rbmqPermission, localVarRequestOptions, configuration)
1195
1416
 
1417
+ return {
1418
+ url: toPathString(localVarUrlObj),
1419
+ options: localVarRequestOptions,
1420
+ };
1421
+ },
1422
+ /**
1423
+ * update a MinIO service account access key
1424
+ * @summary Update MinIO access key
1425
+ * @param {string} engineName name of the engine
1426
+ * @param {string} orgName name of the organization
1427
+ * @param {string} clusterName name of the cluster
1428
+ * @param {string} accessKey MinIO access key
1429
+ * @param {DmsServiceAccountUpdateRequest} body
1430
+ * @param {*} [options] Override http request option.
1431
+ * @throws {RequiredError}
1432
+ */
1433
+ updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1434
+ // verify required parameter 'engineName' is not null or undefined
1435
+ assertParamExists('updateServiceAccount', 'engineName', engineName)
1436
+ // verify required parameter 'orgName' is not null or undefined
1437
+ assertParamExists('updateServiceAccount', 'orgName', orgName)
1438
+ // verify required parameter 'clusterName' is not null or undefined
1439
+ assertParamExists('updateServiceAccount', 'clusterName', clusterName)
1440
+ // verify required parameter 'accessKey' is not null or undefined
1441
+ assertParamExists('updateServiceAccount', 'accessKey', accessKey)
1442
+ // verify required parameter 'body' is not null or undefined
1443
+ assertParamExists('updateServiceAccount', 'body', body)
1444
+ const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
1445
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
1446
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1447
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1448
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
1449
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1450
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1451
+ let baseOptions;
1452
+ if (configuration) {
1453
+ baseOptions = configuration.baseOptions;
1454
+ }
1455
+
1456
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
1457
+ const localVarHeaderParameter = {} as any;
1458
+ const localVarQueryParameter = {} as any;
1459
+
1460
+ // authentication BearerToken required
1461
+ // http bearer authentication required
1462
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1463
+
1464
+ // authentication DigestAuth required
1465
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1466
+
1467
+
1468
+
1469
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1470
+
1471
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1472
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1473
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1474
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1475
+
1196
1476
  return {
1197
1477
  url: toPathString(localVarUrlObj),
1198
1478
  options: localVarRequestOptions,
@@ -1254,6 +1534,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
1254
1534
  const localVarOperationServerBasePath = operationServerMap['AccountApi.createRabbitAccount']?.[localVarOperationServerIndex]?.url;
1255
1535
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1256
1536
  },
1537
+ /**
1538
+ * create a MinIO service account access key
1539
+ * @summary Create MinIO access key
1540
+ * @param {string} engineName name of the engine
1541
+ * @param {string} orgName name of the organization
1542
+ * @param {string} clusterName name of the cluster
1543
+ * @param {DmsServiceAccountCreateRequest} body
1544
+ * @param {*} [options] Override http request option.
1545
+ * @throws {RequiredError}
1546
+ */
1547
+ async createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
1548
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
1549
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1550
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
1551
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1552
+ },
1257
1553
  /**
1258
1554
  * delete an account in cluster
1259
1555
  * @summary Delete cluster account
@@ -1330,6 +1626,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
1330
1626
  const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteRabbitAccount']?.[localVarOperationServerIndex]?.url;
1331
1627
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1332
1628
  },
1629
+ /**
1630
+ * delete a MinIO service account access key
1631
+ * @summary Delete MinIO access key
1632
+ * @param {string} engineName name of the engine
1633
+ * @param {string} orgName name of the organization
1634
+ * @param {string} clusterName name of the cluster
1635
+ * @param {string} accessKey MinIO access key
1636
+ * @param {*} [options] Override http request option.
1637
+ * @throws {RequiredError}
1638
+ */
1639
+ async deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1640
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
1641
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1642
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteServiceAccount']?.[localVarOperationServerIndex]?.url;
1643
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1644
+ },
1333
1645
  /**
1334
1646
  * Get a Milvus native role and its privilege grants.
1335
1647
  * @summary Get Milvus role
@@ -1362,6 +1674,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
1362
1674
  const localVarOperationServerBasePath = operationServerMap['AccountApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
1363
1675
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1364
1676
  },
1677
+ /**
1678
+ * get a MinIO service account access key
1679
+ * @summary Get MinIO access key
1680
+ * @param {string} engineName name of the engine
1681
+ * @param {string} orgName name of the organization
1682
+ * @param {string} clusterName name of the cluster
1683
+ * @param {string} accessKey MinIO access key
1684
+ * @param {*} [options] Override http request option.
1685
+ * @throws {RequiredError}
1686
+ */
1687
+ async getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
1688
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
1689
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1690
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
1691
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1692
+ },
1365
1693
  /**
1366
1694
  * list accounts in cluster
1367
1695
  * @summary List cluster accounts
@@ -1419,6 +1747,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
1419
1747
  const localVarOperationServerBasePath = operationServerMap['AccountApi.listRabbitAccounts']?.[localVarOperationServerIndex]?.url;
1420
1748
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1421
1749
  },
1750
+ /**
1751
+ * list MinIO service account access keys
1752
+ * @summary List MinIO access keys
1753
+ * @param {string} engineName name of the engine
1754
+ * @param {string} orgName name of the organization
1755
+ * @param {string} clusterName name of the cluster
1756
+ * @param {string} [userName] MinIO user that owns the service accounts
1757
+ * @param {*} [options] Override http request option.
1758
+ * @throws {RequiredError}
1759
+ */
1760
+ async listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>> {
1761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
1762
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1763
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
1764
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1765
+ },
1422
1766
  /**
1423
1767
  * Create or update a Milvus native role and replace its privilege grants.
1424
1768
  * @summary Put Milvus role
@@ -1548,6 +1892,23 @@ export const AccountApiFp = function(configuration?: Configuration) {
1548
1892
  const localVarOperationServerBasePath = operationServerMap['AccountApi.updateRabbitAccountPrivileges']?.[localVarOperationServerIndex]?.url;
1549
1893
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1550
1894
  },
1895
+ /**
1896
+ * update a MinIO service account access key
1897
+ * @summary Update MinIO access key
1898
+ * @param {string} engineName name of the engine
1899
+ * @param {string} orgName name of the organization
1900
+ * @param {string} clusterName name of the cluster
1901
+ * @param {string} accessKey MinIO access key
1902
+ * @param {DmsServiceAccountUpdateRequest} body
1903
+ * @param {*} [options] Override http request option.
1904
+ * @throws {RequiredError}
1905
+ */
1906
+ async updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
1907
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
1908
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1909
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.updateServiceAccount']?.[localVarOperationServerIndex]?.url;
1910
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1911
+ },
1551
1912
  }
1552
1913
  };
1553
1914
 
@@ -1588,6 +1949,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
1588
1949
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1589
1950
  return localVarFp.createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(axios, basePath));
1590
1951
  },
1952
+ /**
1953
+ * create a MinIO service account access key
1954
+ * @summary Create MinIO access key
1955
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
1956
+ * @param {*} [options] Override http request option.
1957
+ * @throws {RequiredError}
1958
+ */
1959
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
1960
+ return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
1961
+ },
1591
1962
  /**
1592
1963
  * delete an account in cluster
1593
1964
  * @summary Delete cluster account
@@ -1638,6 +2009,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
1638
2009
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1639
2010
  return localVarFp.deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
1640
2011
  },
2012
+ /**
2013
+ * delete a MinIO service account access key
2014
+ * @summary Delete MinIO access key
2015
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
2016
+ * @param {*} [options] Override http request option.
2017
+ * @throws {RequiredError}
2018
+ */
2019
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2020
+ return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
2021
+ },
1641
2022
  /**
1642
2023
  * Get a Milvus native role and its privilege grants.
1643
2024
  * @summary Get Milvus role
@@ -1658,6 +2039,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
1658
2039
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
1659
2040
  return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
1660
2041
  },
2042
+ /**
2043
+ * get a MinIO service account access key
2044
+ * @summary Get MinIO access key
2045
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
2046
+ * @param {*} [options] Override http request option.
2047
+ * @throws {RequiredError}
2048
+ */
2049
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
2050
+ return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
2051
+ },
1661
2052
  /**
1662
2053
  * list accounts in cluster
1663
2054
  * @summary List cluster accounts
@@ -1698,6 +2089,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
1698
2089
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList> {
1699
2090
  return localVarFp.listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
1700
2091
  },
2092
+ /**
2093
+ * list MinIO service account access keys
2094
+ * @summary List MinIO access keys
2095
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
2096
+ * @param {*} [options] Override http request option.
2097
+ * @throws {RequiredError}
2098
+ */
2099
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>> {
2100
+ return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
2101
+ },
1701
2102
  /**
1702
2103
  * Create or update a Milvus native role and replace its privilege grants.
1703
2104
  * @summary Put Milvus role
@@ -1778,6 +2179,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
1778
2179
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1779
2180
  return localVarFp.updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(axios, basePath));
1780
2181
  },
2182
+ /**
2183
+ * update a MinIO service account access key
2184
+ * @summary Update MinIO access key
2185
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
2186
+ * @param {*} [options] Override http request option.
2187
+ * @throws {RequiredError}
2188
+ */
2189
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
2190
+ return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
2191
+ },
1781
2192
  };
1782
2193
  };
1783
2194
 
@@ -1817,6 +2228,16 @@ export interface AccountApiInterface {
1817
2228
  */
1818
2229
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1819
2230
 
2231
+ /**
2232
+ * create a MinIO service account access key
2233
+ * @summary Create MinIO access key
2234
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
2235
+ * @param {*} [options] Override http request option.
2236
+ * @throws {RequiredError}
2237
+ * @memberof AccountApiInterface
2238
+ */
2239
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
2240
+
1820
2241
  /**
1821
2242
  * delete an account in cluster
1822
2243
  * @summary Delete cluster account
@@ -1867,6 +2288,16 @@ export interface AccountApiInterface {
1867
2288
  */
1868
2289
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1869
2290
 
2291
+ /**
2292
+ * delete a MinIO service account access key
2293
+ * @summary Delete MinIO access key
2294
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
2295
+ * @param {*} [options] Override http request option.
2296
+ * @throws {RequiredError}
2297
+ * @memberof AccountApiInterface
2298
+ */
2299
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2300
+
1870
2301
  /**
1871
2302
  * Get a Milvus native role and its privilege grants.
1872
2303
  * @summary Get Milvus role
@@ -1887,6 +2318,16 @@ export interface AccountApiInterface {
1887
2318
  */
1888
2319
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
1889
2320
 
2321
+ /**
2322
+ * get a MinIO service account access key
2323
+ * @summary Get MinIO access key
2324
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
2325
+ * @param {*} [options] Override http request option.
2326
+ * @throws {RequiredError}
2327
+ * @memberof AccountApiInterface
2328
+ */
2329
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
2330
+
1890
2331
  /**
1891
2332
  * list accounts in cluster
1892
2333
  * @summary List cluster accounts
@@ -1927,6 +2368,16 @@ export interface AccountApiInterface {
1927
2368
  */
1928
2369
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
1929
2370
 
2371
+ /**
2372
+ * list MinIO service account access keys
2373
+ * @summary List MinIO access keys
2374
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
2375
+ * @param {*} [options] Override http request option.
2376
+ * @throws {RequiredError}
2377
+ * @memberof AccountApiInterface
2378
+ */
2379
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
2380
+
1930
2381
  /**
1931
2382
  * Create or update a Milvus native role and replace its privilege grants.
1932
2383
  * @summary Put Milvus role
@@ -2007,6 +2458,16 @@ export interface AccountApiInterface {
2007
2458
  */
2008
2459
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2009
2460
 
2461
+ /**
2462
+ * update a MinIO service account access key
2463
+ * @summary Update MinIO access key
2464
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
2465
+ * @param {*} [options] Override http request option.
2466
+ * @throws {RequiredError}
2467
+ * @memberof AccountApiInterface
2468
+ */
2469
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
2470
+
2010
2471
  }
2011
2472
 
2012
2473
  /**
@@ -2100,6 +2561,41 @@ export interface AccountApiCreateRabbitAccountRequest {
2100
2561
  readonly rbmqAccountRequest: RbmqAccountRequest
2101
2562
  }
2102
2563
 
2564
+ /**
2565
+ * Request parameters for createServiceAccount operation in AccountApi.
2566
+ * @export
2567
+ * @interface AccountApiCreateServiceAccountRequest
2568
+ */
2569
+ export interface AccountApiCreateServiceAccountRequest {
2570
+ /**
2571
+ * name of the engine
2572
+ * @type {string}
2573
+ * @memberof AccountApiCreateServiceAccount
2574
+ */
2575
+ readonly engineName: string
2576
+
2577
+ /**
2578
+ * name of the organization
2579
+ * @type {string}
2580
+ * @memberof AccountApiCreateServiceAccount
2581
+ */
2582
+ readonly orgName: string
2583
+
2584
+ /**
2585
+ * name of the cluster
2586
+ * @type {string}
2587
+ * @memberof AccountApiCreateServiceAccount
2588
+ */
2589
+ readonly clusterName: string
2590
+
2591
+ /**
2592
+ *
2593
+ * @type {DmsServiceAccountCreateRequest}
2594
+ * @memberof AccountApiCreateServiceAccount
2595
+ */
2596
+ readonly body: DmsServiceAccountCreateRequest
2597
+ }
2598
+
2103
2599
  /**
2104
2600
  * Request parameters for deleteAccount operation in AccountApi.
2105
2601
  * @export
@@ -2247,6 +2743,41 @@ export interface AccountApiDeleteRabbitAccountRequest {
2247
2743
  readonly accountName: string
2248
2744
  }
2249
2745
 
2746
+ /**
2747
+ * Request parameters for deleteServiceAccount operation in AccountApi.
2748
+ * @export
2749
+ * @interface AccountApiDeleteServiceAccountRequest
2750
+ */
2751
+ export interface AccountApiDeleteServiceAccountRequest {
2752
+ /**
2753
+ * name of the engine
2754
+ * @type {string}
2755
+ * @memberof AccountApiDeleteServiceAccount
2756
+ */
2757
+ readonly engineName: string
2758
+
2759
+ /**
2760
+ * name of the organization
2761
+ * @type {string}
2762
+ * @memberof AccountApiDeleteServiceAccount
2763
+ */
2764
+ readonly orgName: string
2765
+
2766
+ /**
2767
+ * name of the cluster
2768
+ * @type {string}
2769
+ * @memberof AccountApiDeleteServiceAccount
2770
+ */
2771
+ readonly clusterName: string
2772
+
2773
+ /**
2774
+ * MinIO access key
2775
+ * @type {string}
2776
+ * @memberof AccountApiDeleteServiceAccount
2777
+ */
2778
+ readonly accessKey: string
2779
+ }
2780
+
2250
2781
  /**
2251
2782
  * Request parameters for getMilvusRole operation in AccountApi.
2252
2783
  * @export
@@ -2317,6 +2848,41 @@ export interface AccountApiGetRootAccountPasswordRequest {
2317
2848
  readonly component?: string
2318
2849
  }
2319
2850
 
2851
+ /**
2852
+ * Request parameters for getServiceAccount operation in AccountApi.
2853
+ * @export
2854
+ * @interface AccountApiGetServiceAccountRequest
2855
+ */
2856
+ export interface AccountApiGetServiceAccountRequest {
2857
+ /**
2858
+ * name of the engine
2859
+ * @type {string}
2860
+ * @memberof AccountApiGetServiceAccount
2861
+ */
2862
+ readonly engineName: string
2863
+
2864
+ /**
2865
+ * name of the organization
2866
+ * @type {string}
2867
+ * @memberof AccountApiGetServiceAccount
2868
+ */
2869
+ readonly orgName: string
2870
+
2871
+ /**
2872
+ * name of the cluster
2873
+ * @type {string}
2874
+ * @memberof AccountApiGetServiceAccount
2875
+ */
2876
+ readonly clusterName: string
2877
+
2878
+ /**
2879
+ * MinIO access key
2880
+ * @type {string}
2881
+ * @memberof AccountApiGetServiceAccount
2882
+ */
2883
+ readonly accessKey: string
2884
+ }
2885
+
2320
2886
  /**
2321
2887
  * Request parameters for listAccounts operation in AccountApi.
2322
2888
  * @export
@@ -2408,6 +2974,41 @@ export interface AccountApiListRabbitAccountsRequest {
2408
2974
  readonly clusterName: string
2409
2975
  }
2410
2976
 
2977
+ /**
2978
+ * Request parameters for listServiceAccounts operation in AccountApi.
2979
+ * @export
2980
+ * @interface AccountApiListServiceAccountsRequest
2981
+ */
2982
+ export interface AccountApiListServiceAccountsRequest {
2983
+ /**
2984
+ * name of the engine
2985
+ * @type {string}
2986
+ * @memberof AccountApiListServiceAccounts
2987
+ */
2988
+ readonly engineName: string
2989
+
2990
+ /**
2991
+ * name of the organization
2992
+ * @type {string}
2993
+ * @memberof AccountApiListServiceAccounts
2994
+ */
2995
+ readonly orgName: string
2996
+
2997
+ /**
2998
+ * name of the cluster
2999
+ * @type {string}
3000
+ * @memberof AccountApiListServiceAccounts
3001
+ */
3002
+ readonly clusterName: string
3003
+
3004
+ /**
3005
+ * MinIO user that owns the service accounts
3006
+ * @type {string}
3007
+ * @memberof AccountApiListServiceAccounts
3008
+ */
3009
+ readonly userName?: string
3010
+ }
3011
+
2411
3012
  /**
2412
3013
  * Request parameters for putMilvusRole operation in AccountApi.
2413
3014
  * @export
@@ -2695,6 +3296,48 @@ export interface AccountApiUpdateRabbitAccountPrivilegesRequest {
2695
3296
  readonly rbmqPermission: RbmqPermission
2696
3297
  }
2697
3298
 
3299
+ /**
3300
+ * Request parameters for updateServiceAccount operation in AccountApi.
3301
+ * @export
3302
+ * @interface AccountApiUpdateServiceAccountRequest
3303
+ */
3304
+ export interface AccountApiUpdateServiceAccountRequest {
3305
+ /**
3306
+ * name of the engine
3307
+ * @type {string}
3308
+ * @memberof AccountApiUpdateServiceAccount
3309
+ */
3310
+ readonly engineName: string
3311
+
3312
+ /**
3313
+ * name of the organization
3314
+ * @type {string}
3315
+ * @memberof AccountApiUpdateServiceAccount
3316
+ */
3317
+ readonly orgName: string
3318
+
3319
+ /**
3320
+ * name of the cluster
3321
+ * @type {string}
3322
+ * @memberof AccountApiUpdateServiceAccount
3323
+ */
3324
+ readonly clusterName: string
3325
+
3326
+ /**
3327
+ * MinIO access key
3328
+ * @type {string}
3329
+ * @memberof AccountApiUpdateServiceAccount
3330
+ */
3331
+ readonly accessKey: string
3332
+
3333
+ /**
3334
+ *
3335
+ * @type {DmsServiceAccountUpdateRequest}
3336
+ * @memberof AccountApiUpdateServiceAccount
3337
+ */
3338
+ readonly body: DmsServiceAccountUpdateRequest
3339
+ }
3340
+
2698
3341
  /**
2699
3342
  * AccountApi - object-oriented interface
2700
3343
  * @export
@@ -2738,6 +3381,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
2738
3381
  return AccountApiFp(this.configuration).createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(this.axios, this.basePath));
2739
3382
  }
2740
3383
 
3384
+ /**
3385
+ * create a MinIO service account access key
3386
+ * @summary Create MinIO access key
3387
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
3388
+ * @param {*} [options] Override http request option.
3389
+ * @throws {RequiredError}
3390
+ * @memberof AccountApi
3391
+ */
3392
+ public createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig) {
3393
+ return AccountApiFp(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3394
+ }
3395
+
2741
3396
  /**
2742
3397
  * delete an account in cluster
2743
3398
  * @summary Delete cluster account
@@ -2798,6 +3453,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
2798
3453
  return AccountApiFp(this.configuration).deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
2799
3454
  }
2800
3455
 
3456
+ /**
3457
+ * delete a MinIO service account access key
3458
+ * @summary Delete MinIO access key
3459
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
3460
+ * @param {*} [options] Override http request option.
3461
+ * @throws {RequiredError}
3462
+ * @memberof AccountApi
3463
+ */
3464
+ public deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig) {
3465
+ return AccountApiFp(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
3466
+ }
3467
+
2801
3468
  /**
2802
3469
  * Get a Milvus native role and its privilege grants.
2803
3470
  * @summary Get Milvus role
@@ -2822,6 +3489,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
2822
3489
  return AccountApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
2823
3490
  }
2824
3491
 
3492
+ /**
3493
+ * get a MinIO service account access key
3494
+ * @summary Get MinIO access key
3495
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
3496
+ * @param {*} [options] Override http request option.
3497
+ * @throws {RequiredError}
3498
+ * @memberof AccountApi
3499
+ */
3500
+ public getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig) {
3501
+ return AccountApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
3502
+ }
3503
+
2825
3504
  /**
2826
3505
  * list accounts in cluster
2827
3506
  * @summary List cluster accounts
@@ -2870,6 +3549,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
2870
3549
  return AccountApiFp(this.configuration).listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
2871
3550
  }
2872
3551
 
3552
+ /**
3553
+ * list MinIO service account access keys
3554
+ * @summary List MinIO access keys
3555
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
3556
+ * @param {*} [options] Override http request option.
3557
+ * @throws {RequiredError}
3558
+ * @memberof AccountApi
3559
+ */
3560
+ public listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig) {
3561
+ return AccountApiFp(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
3562
+ }
3563
+
2873
3564
  /**
2874
3565
  * Create or update a Milvus native role and replace its privilege grants.
2875
3566
  * @summary Put Milvus role
@@ -2965,5 +3656,17 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
2965
3656
  public updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
2966
3657
  return AccountApiFp(this.configuration).updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(this.axios, this.basePath));
2967
3658
  }
3659
+
3660
+ /**
3661
+ * update a MinIO service account access key
3662
+ * @summary Update MinIO access key
3663
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
3664
+ * @param {*} [options] Override http request option.
3665
+ * @throws {RequiredError}
3666
+ * @memberof AccountApi
3667
+ */
3668
+ public updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig) {
3669
+ return AccountApiFp(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
3670
+ }
2968
3671
  }
2969
3672