kb-cloud-client-typescript 2.2.95 → 2.2.97

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/openapi/apis/account-api.d.ts +406 -0
  2. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/openapi/apis/account-api.js +427 -0
  4. package/dist/openapi/apis/account-api.js.map +1 -1
  5. package/dist/openapi/apis/rdbms-api.d.ts +406 -0
  6. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  7. package/dist/openapi/apis/rdbms-api.js +427 -0
  8. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  9. package/dist/openapi/apis/shared-api.d.ts +406 -0
  10. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/openapi/apis/shared-api.js +427 -0
  12. package/dist/openapi/apis/shared-api.js.map +1 -1
  13. package/dist/openapi/models/dms-service-account-create-request.d.ts +55 -0
  14. package/dist/openapi/models/dms-service-account-create-request.d.ts.map +1 -0
  15. package/dist/openapi/models/dms-service-account-create-request.js +16 -0
  16. package/dist/openapi/models/dms-service-account-create-request.js.map +1 -0
  17. package/dist/openapi/models/dms-service-account-status.d.ts +22 -0
  18. package/dist/openapi/models/dms-service-account-status.d.ts.map +1 -0
  19. package/dist/openapi/models/dms-service-account-status.js +26 -0
  20. package/dist/openapi/models/dms-service-account-status.js.map +1 -0
  21. package/dist/openapi/models/dms-service-account-update-request.d.ts +32 -0
  22. package/dist/openapi/models/dms-service-account-update-request.d.ts.map +1 -0
  23. package/dist/openapi/models/dms-service-account-update-request.js +16 -0
  24. package/dist/openapi/models/dms-service-account-update-request.js.map +1 -0
  25. package/dist/openapi/models/dms-service-account.d.ts +73 -0
  26. package/dist/openapi/models/dms-service-account.d.ts.map +1 -0
  27. package/dist/openapi/models/dms-service-account.js +16 -0
  28. package/dist/openapi/models/dms-service-account.js.map +1 -0
  29. package/dist/openapi/models/index.d.ts +4 -0
  30. package/dist/openapi/models/index.d.ts.map +1 -1
  31. package/dist/openapi/models/index.js +4 -0
  32. package/dist/openapi/models/index.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/openapi/.openapi-generator/FILES +4 -0
  35. package/src/openapi/apis/account-api.ts +703 -0
  36. package/src/openapi/apis/rdbms-api.ts +703 -0
  37. package/src/openapi/apis/shared-api.ts +703 -0
  38. package/src/openapi/models/dms-service-account-create-request.ts +60 -0
  39. package/src/openapi/models/dms-service-account-status.ts +31 -0
  40. package/src/openapi/models/dms-service-account-update-request.ts +41 -0
  41. package/src/openapi/models/dms-service-account.ts +78 -0
  42. package/src/openapi/models/index.ts +4 -0
  43. package/src/openapi.yaml +330 -0
@@ -14,6 +14,9 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { Account } from '../models';
16
16
  import type { AccountListItem } from '../models';
17
+ import type { DmsServiceAccount } from '../models';
18
+ import type { DmsServiceAccountCreateRequest } from '../models';
19
+ import type { DmsServiceAccountUpdateRequest } from '../models';
17
20
  import type { MilvusAccountPassword } from '../models';
18
21
  import type { MilvusAccountRoles } from '../models';
19
22
  import type { MilvusRole } from '../models';
@@ -80,6 +83,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
80
83
  * @throws {RequiredError}
81
84
  */
82
85
  createRabbitAccount: (orgName: string, clusterName: string, rbmqAccountRequest: RbmqAccountRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
+ /**
87
+ * create a MinIO service account access key
88
+ * @summary Create MinIO access key
89
+ * @param {string} engineName name of the engine
90
+ * @param {string} orgName name of the organization
91
+ * @param {string} clusterName name of the cluster
92
+ * @param {DmsServiceAccountCreateRequest} body
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ createServiceAccount: (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
83
97
  /**
84
98
  * delete an account in cluster
85
99
  * @summary Delete cluster account
@@ -151,6 +165,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
151
165
  * @throws {RequiredError}
152
166
  */
153
167
  deleteRabbitAccount: (orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
168
+ /**
169
+ * delete a MinIO service account access key
170
+ * @summary Delete MinIO access key
171
+ * @param {string} engineName name of the engine
172
+ * @param {string} orgName name of the organization
173
+ * @param {string} clusterName name of the cluster
174
+ * @param {string} accessKey MinIO access key
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ deleteServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
154
179
  /**
155
180
  * Get Hive accounts
156
181
  * @summary Get Hive accounts
@@ -182,6 +207,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
182
207
  * @throws {RequiredError}
183
208
  */
184
209
  getRootAccountPassword: (engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
210
+ /**
211
+ * get a MinIO service account access key
212
+ * @summary Get MinIO access key
213
+ * @param {string} engineName name of the engine
214
+ * @param {string} orgName name of the organization
215
+ * @param {string} clusterName name of the cluster
216
+ * @param {string} accessKey MinIO access key
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ getServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
185
221
  /**
186
222
  * list accounts in cluster
187
223
  * @summary List cluster accounts
@@ -228,6 +264,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
228
264
  * @throws {RequiredError}
229
265
  */
230
266
  listRabbitAccounts: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
267
+ /**
268
+ * list MinIO service account access keys
269
+ * @summary List MinIO access keys
270
+ * @param {string} engineName name of the engine
271
+ * @param {string} orgName name of the organization
272
+ * @param {string} clusterName name of the cluster
273
+ * @param {string} [userName] MinIO user that owns the service accounts
274
+ * @param {*} [options] Override http request option.
275
+ * @throws {RequiredError}
276
+ */
277
+ listServiceAccounts: (engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
231
278
  /**
232
279
  * Create or update a Milvus native role and replace its privilege grants.
233
280
  * @summary Put Milvus role
@@ -339,6 +386,18 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
339
386
  * @throws {RequiredError}
340
387
  */
341
388
  updateRabbitAccountPrivileges: (orgName: string, clusterName: string, accountName: string, rbmqPermission: RbmqPermission, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
389
+ /**
390
+ * update a MinIO service account access key
391
+ * @summary Update MinIO access key
392
+ * @param {string} engineName name of the engine
393
+ * @param {string} orgName name of the organization
394
+ * @param {string} clusterName name of the cluster
395
+ * @param {string} accessKey MinIO access key
396
+ * @param {DmsServiceAccountUpdateRequest} body
397
+ * @param {*} [options] Override http request option.
398
+ * @throws {RequiredError}
399
+ */
400
+ updateServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
342
401
  };
343
402
  /**
344
403
  * AccountApi - functional programming interface
@@ -396,6 +455,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
396
455
  * @throws {RequiredError}
397
456
  */
398
457
  createRabbitAccount(orgName: string, clusterName: string, rbmqAccountRequest: RbmqAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
458
+ /**
459
+ * create a MinIO service account access key
460
+ * @summary Create MinIO access key
461
+ * @param {string} engineName name of the engine
462
+ * @param {string} orgName name of the organization
463
+ * @param {string} clusterName name of the cluster
464
+ * @param {DmsServiceAccountCreateRequest} body
465
+ * @param {*} [options] Override http request option.
466
+ * @throws {RequiredError}
467
+ */
468
+ createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
399
469
  /**
400
470
  * delete an account in cluster
401
471
  * @summary Delete cluster account
@@ -467,6 +537,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
467
537
  * @throws {RequiredError}
468
538
  */
469
539
  deleteRabbitAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
540
+ /**
541
+ * delete a MinIO service account access key
542
+ * @summary Delete MinIO access key
543
+ * @param {string} engineName name of the engine
544
+ * @param {string} orgName name of the organization
545
+ * @param {string} clusterName name of the cluster
546
+ * @param {string} accessKey MinIO access key
547
+ * @param {*} [options] Override http request option.
548
+ * @throws {RequiredError}
549
+ */
550
+ deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
470
551
  /**
471
552
  * Get Hive accounts
472
553
  * @summary Get Hive accounts
@@ -498,6 +579,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
498
579
  * @throws {RequiredError}
499
580
  */
500
581
  getRootAccountPassword(engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
582
+ /**
583
+ * get a MinIO service account access key
584
+ * @summary Get MinIO access key
585
+ * @param {string} engineName name of the engine
586
+ * @param {string} orgName name of the organization
587
+ * @param {string} clusterName name of the cluster
588
+ * @param {string} accessKey MinIO access key
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
501
593
  /**
502
594
  * list accounts in cluster
503
595
  * @summary List cluster accounts
@@ -544,6 +636,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
544
636
  * @throws {RequiredError}
545
637
  */
546
638
  listRabbitAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RbmqAccountsList>>;
639
+ /**
640
+ * list MinIO service account access keys
641
+ * @summary List MinIO access keys
642
+ * @param {string} engineName name of the engine
643
+ * @param {string} orgName name of the organization
644
+ * @param {string} clusterName name of the cluster
645
+ * @param {string} [userName] MinIO user that owns the service accounts
646
+ * @param {*} [options] Override http request option.
647
+ * @throws {RequiredError}
648
+ */
649
+ listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>>;
547
650
  /**
548
651
  * Create or update a Milvus native role and replace its privilege grants.
549
652
  * @summary Put Milvus role
@@ -655,6 +758,18 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
655
758
  * @throws {RequiredError}
656
759
  */
657
760
  updateRabbitAccountPrivileges(orgName: string, clusterName: string, accountName: string, rbmqPermission: RbmqPermission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
761
+ /**
762
+ * update a MinIO service account access key
763
+ * @summary Update MinIO access key
764
+ * @param {string} engineName name of the engine
765
+ * @param {string} orgName name of the organization
766
+ * @param {string} clusterName name of the cluster
767
+ * @param {string} accessKey MinIO access key
768
+ * @param {DmsServiceAccountUpdateRequest} body
769
+ * @param {*} [options] Override http request option.
770
+ * @throws {RequiredError}
771
+ */
772
+ updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
658
773
  };
659
774
  /**
660
775
  * AccountApi - factory interface
@@ -701,6 +816,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
701
816
  * @throws {RequiredError}
702
817
  */
703
818
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
819
+ /**
820
+ * create a MinIO service account access key
821
+ * @summary Create MinIO access key
822
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
823
+ * @param {*} [options] Override http request option.
824
+ * @throws {RequiredError}
825
+ */
826
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
704
827
  /**
705
828
  * delete an account in cluster
706
829
  * @summary Delete cluster account
@@ -757,6 +880,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
757
880
  * @throws {RequiredError}
758
881
  */
759
882
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
883
+ /**
884
+ * delete a MinIO service account access key
885
+ * @summary Delete MinIO access key
886
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
887
+ * @param {*} [options] Override http request option.
888
+ * @throws {RequiredError}
889
+ */
890
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
760
891
  /**
761
892
  * Get Hive accounts
762
893
  * @summary Get Hive accounts
@@ -781,6 +912,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
781
912
  * @throws {RequiredError}
782
913
  */
783
914
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
915
+ /**
916
+ * get a MinIO service account access key
917
+ * @summary Get MinIO access key
918
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
919
+ * @param {*} [options] Override http request option.
920
+ * @throws {RequiredError}
921
+ */
922
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
784
923
  /**
785
924
  * list accounts in cluster
786
925
  * @summary List cluster accounts
@@ -821,6 +960,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
821
960
  * @throws {RequiredError}
822
961
  */
823
962
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
963
+ /**
964
+ * list MinIO service account access keys
965
+ * @summary List MinIO access keys
966
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
967
+ * @param {*} [options] Override http request option.
968
+ * @throws {RequiredError}
969
+ */
970
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
824
971
  /**
825
972
  * Create or update a Milvus native role and replace its privilege grants.
826
973
  * @summary Put Milvus role
@@ -901,6 +1048,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
901
1048
  * @throws {RequiredError}
902
1049
  */
903
1050
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1051
+ /**
1052
+ * update a MinIO service account access key
1053
+ * @summary Update MinIO access key
1054
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
1055
+ * @param {*} [options] Override http request option.
1056
+ * @throws {RequiredError}
1057
+ */
1058
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
904
1059
  };
905
1060
  /**
906
1061
  * AccountApi - interface
@@ -953,6 +1108,15 @@ export interface AccountApiInterface {
953
1108
  * @memberof AccountApiInterface
954
1109
  */
955
1110
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1111
+ /**
1112
+ * create a MinIO service account access key
1113
+ * @summary Create MinIO access key
1114
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
1115
+ * @param {*} [options] Override http request option.
1116
+ * @throws {RequiredError}
1117
+ * @memberof AccountApiInterface
1118
+ */
1119
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
956
1120
  /**
957
1121
  * delete an account in cluster
958
1122
  * @summary Delete cluster account
@@ -1016,6 +1180,15 @@ export interface AccountApiInterface {
1016
1180
  * @memberof AccountApiInterface
1017
1181
  */
1018
1182
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1183
+ /**
1184
+ * delete a MinIO service account access key
1185
+ * @summary Delete MinIO access key
1186
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
1187
+ * @param {*} [options] Override http request option.
1188
+ * @throws {RequiredError}
1189
+ * @memberof AccountApiInterface
1190
+ */
1191
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1019
1192
  /**
1020
1193
  * Get Hive accounts
1021
1194
  * @summary Get Hive accounts
@@ -1043,6 +1216,15 @@ export interface AccountApiInterface {
1043
1216
  * @memberof AccountApiInterface
1044
1217
  */
1045
1218
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
1219
+ /**
1220
+ * get a MinIO service account access key
1221
+ * @summary Get MinIO access key
1222
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
1223
+ * @param {*} [options] Override http request option.
1224
+ * @throws {RequiredError}
1225
+ * @memberof AccountApiInterface
1226
+ */
1227
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
1046
1228
  /**
1047
1229
  * list accounts in cluster
1048
1230
  * @summary List cluster accounts
@@ -1088,6 +1270,15 @@ export interface AccountApiInterface {
1088
1270
  * @memberof AccountApiInterface
1089
1271
  */
1090
1272
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
1273
+ /**
1274
+ * list MinIO service account access keys
1275
+ * @summary List MinIO access keys
1276
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
1277
+ * @param {*} [options] Override http request option.
1278
+ * @throws {RequiredError}
1279
+ * @memberof AccountApiInterface
1280
+ */
1281
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
1091
1282
  /**
1092
1283
  * Create or update a Milvus native role and replace its privilege grants.
1093
1284
  * @summary Put Milvus role
@@ -1178,6 +1369,15 @@ export interface AccountApiInterface {
1178
1369
  * @memberof AccountApiInterface
1179
1370
  */
1180
1371
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1372
+ /**
1373
+ * update a MinIO service account access key
1374
+ * @summary Update MinIO access key
1375
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
1376
+ * @param {*} [options] Override http request option.
1377
+ * @throws {RequiredError}
1378
+ * @memberof AccountApiInterface
1379
+ */
1380
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
1181
1381
  }
1182
1382
  /**
1183
1383
  * Request parameters for createAccount operation in AccountApi.
@@ -1310,6 +1510,37 @@ export interface AccountApiCreateRabbitAccountRequest {
1310
1510
  */
1311
1511
  readonly rbmqAccountRequest: RbmqAccountRequest;
1312
1512
  }
1513
+ /**
1514
+ * Request parameters for createServiceAccount operation in AccountApi.
1515
+ * @export
1516
+ * @interface AccountApiCreateServiceAccountRequest
1517
+ */
1518
+ export interface AccountApiCreateServiceAccountRequest {
1519
+ /**
1520
+ * name of the engine
1521
+ * @type {string}
1522
+ * @memberof AccountApiCreateServiceAccount
1523
+ */
1524
+ readonly engineName: string;
1525
+ /**
1526
+ * name of the organization
1527
+ * @type {string}
1528
+ * @memberof AccountApiCreateServiceAccount
1529
+ */
1530
+ readonly orgName: string;
1531
+ /**
1532
+ * name of the cluster
1533
+ * @type {string}
1534
+ * @memberof AccountApiCreateServiceAccount
1535
+ */
1536
+ readonly clusterName: string;
1537
+ /**
1538
+ *
1539
+ * @type {DmsServiceAccountCreateRequest}
1540
+ * @memberof AccountApiCreateServiceAccount
1541
+ */
1542
+ readonly body: DmsServiceAccountCreateRequest;
1543
+ }
1313
1544
  /**
1314
1545
  * Request parameters for deleteAccount operation in AccountApi.
1315
1546
  * @export
@@ -1491,6 +1722,37 @@ export interface AccountApiDeleteRabbitAccountRequest {
1491
1722
  */
1492
1723
  readonly accountName: string;
1493
1724
  }
1725
+ /**
1726
+ * Request parameters for deleteServiceAccount operation in AccountApi.
1727
+ * @export
1728
+ * @interface AccountApiDeleteServiceAccountRequest
1729
+ */
1730
+ export interface AccountApiDeleteServiceAccountRequest {
1731
+ /**
1732
+ * name of the engine
1733
+ * @type {string}
1734
+ * @memberof AccountApiDeleteServiceAccount
1735
+ */
1736
+ readonly engineName: string;
1737
+ /**
1738
+ * name of the organization
1739
+ * @type {string}
1740
+ * @memberof AccountApiDeleteServiceAccount
1741
+ */
1742
+ readonly orgName: string;
1743
+ /**
1744
+ * name of the cluster
1745
+ * @type {string}
1746
+ * @memberof AccountApiDeleteServiceAccount
1747
+ */
1748
+ readonly clusterName: string;
1749
+ /**
1750
+ * MinIO access key
1751
+ * @type {string}
1752
+ * @memberof AccountApiDeleteServiceAccount
1753
+ */
1754
+ readonly accessKey: string;
1755
+ }
1494
1756
  /**
1495
1757
  * Request parameters for getHiveAccounts operation in AccountApi.
1496
1758
  * @export
@@ -1572,6 +1834,37 @@ export interface AccountApiGetRootAccountPasswordRequest {
1572
1834
  */
1573
1835
  readonly component?: string;
1574
1836
  }
1837
+ /**
1838
+ * Request parameters for getServiceAccount operation in AccountApi.
1839
+ * @export
1840
+ * @interface AccountApiGetServiceAccountRequest
1841
+ */
1842
+ export interface AccountApiGetServiceAccountRequest {
1843
+ /**
1844
+ * name of the engine
1845
+ * @type {string}
1846
+ * @memberof AccountApiGetServiceAccount
1847
+ */
1848
+ readonly engineName: string;
1849
+ /**
1850
+ * name of the organization
1851
+ * @type {string}
1852
+ * @memberof AccountApiGetServiceAccount
1853
+ */
1854
+ readonly orgName: string;
1855
+ /**
1856
+ * name of the cluster
1857
+ * @type {string}
1858
+ * @memberof AccountApiGetServiceAccount
1859
+ */
1860
+ readonly clusterName: string;
1861
+ /**
1862
+ * MinIO access key
1863
+ * @type {string}
1864
+ * @memberof AccountApiGetServiceAccount
1865
+ */
1866
+ readonly accessKey: string;
1867
+ }
1575
1868
  /**
1576
1869
  * Request parameters for listAccounts operation in AccountApi.
1577
1870
  * @export
@@ -1673,6 +1966,37 @@ export interface AccountApiListRabbitAccountsRequest {
1673
1966
  */
1674
1967
  readonly clusterName: string;
1675
1968
  }
1969
+ /**
1970
+ * Request parameters for listServiceAccounts operation in AccountApi.
1971
+ * @export
1972
+ * @interface AccountApiListServiceAccountsRequest
1973
+ */
1974
+ export interface AccountApiListServiceAccountsRequest {
1975
+ /**
1976
+ * name of the engine
1977
+ * @type {string}
1978
+ * @memberof AccountApiListServiceAccounts
1979
+ */
1980
+ readonly engineName: string;
1981
+ /**
1982
+ * name of the organization
1983
+ * @type {string}
1984
+ * @memberof AccountApiListServiceAccounts
1985
+ */
1986
+ readonly orgName: string;
1987
+ /**
1988
+ * name of the cluster
1989
+ * @type {string}
1990
+ * @memberof AccountApiListServiceAccounts
1991
+ */
1992
+ readonly clusterName: string;
1993
+ /**
1994
+ * MinIO user that owns the service accounts
1995
+ * @type {string}
1996
+ * @memberof AccountApiListServiceAccounts
1997
+ */
1998
+ readonly userName?: string;
1999
+ }
1676
2000
  /**
1677
2001
  * Request parameters for putMilvusRole operation in AccountApi.
1678
2002
  * @export
@@ -1989,6 +2313,43 @@ export interface AccountApiUpdateRabbitAccountPrivilegesRequest {
1989
2313
  */
1990
2314
  readonly rbmqPermission: RbmqPermission;
1991
2315
  }
2316
+ /**
2317
+ * Request parameters for updateServiceAccount operation in AccountApi.
2318
+ * @export
2319
+ * @interface AccountApiUpdateServiceAccountRequest
2320
+ */
2321
+ export interface AccountApiUpdateServiceAccountRequest {
2322
+ /**
2323
+ * name of the engine
2324
+ * @type {string}
2325
+ * @memberof AccountApiUpdateServiceAccount
2326
+ */
2327
+ readonly engineName: string;
2328
+ /**
2329
+ * name of the organization
2330
+ * @type {string}
2331
+ * @memberof AccountApiUpdateServiceAccount
2332
+ */
2333
+ readonly orgName: string;
2334
+ /**
2335
+ * name of the cluster
2336
+ * @type {string}
2337
+ * @memberof AccountApiUpdateServiceAccount
2338
+ */
2339
+ readonly clusterName: string;
2340
+ /**
2341
+ * MinIO access key
2342
+ * @type {string}
2343
+ * @memberof AccountApiUpdateServiceAccount
2344
+ */
2345
+ readonly accessKey: string;
2346
+ /**
2347
+ *
2348
+ * @type {DmsServiceAccountUpdateRequest}
2349
+ * @memberof AccountApiUpdateServiceAccount
2350
+ */
2351
+ readonly body: DmsServiceAccountUpdateRequest;
2352
+ }
1992
2353
  /**
1993
2354
  * AccountApi - object-oriented interface
1994
2355
  * @export
@@ -2041,6 +2402,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
2041
2402
  * @memberof AccountApi
2042
2403
  */
2043
2404
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2405
+ /**
2406
+ * create a MinIO service account access key
2407
+ * @summary Create MinIO access key
2408
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
2409
+ * @param {*} [options] Override http request option.
2410
+ * @throws {RequiredError}
2411
+ * @memberof AccountApi
2412
+ */
2413
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
2044
2414
  /**
2045
2415
  * delete an account in cluster
2046
2416
  * @summary Delete cluster account
@@ -2104,6 +2474,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
2104
2474
  * @memberof AccountApi
2105
2475
  */
2106
2476
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2477
+ /**
2478
+ * delete a MinIO service account access key
2479
+ * @summary Delete MinIO access key
2480
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
2481
+ * @param {*} [options] Override http request option.
2482
+ * @throws {RequiredError}
2483
+ * @memberof AccountApi
2484
+ */
2485
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2107
2486
  /**
2108
2487
  * Get Hive accounts
2109
2488
  * @summary Get Hive accounts
@@ -2131,6 +2510,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
2131
2510
  * @memberof AccountApi
2132
2511
  */
2133
2512
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
2513
+ /**
2514
+ * get a MinIO service account access key
2515
+ * @summary Get MinIO access key
2516
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
2517
+ * @param {*} [options] Override http request option.
2518
+ * @throws {RequiredError}
2519
+ * @memberof AccountApi
2520
+ */
2521
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
2134
2522
  /**
2135
2523
  * list accounts in cluster
2136
2524
  * @summary List cluster accounts
@@ -2176,6 +2564,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
2176
2564
  * @memberof AccountApi
2177
2565
  */
2178
2566
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RbmqAccountsList, any, {}>>;
2567
+ /**
2568
+ * list MinIO service account access keys
2569
+ * @summary List MinIO access keys
2570
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
2571
+ * @param {*} [options] Override http request option.
2572
+ * @throws {RequiredError}
2573
+ * @memberof AccountApi
2574
+ */
2575
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount[], any, {}>>;
2179
2576
  /**
2180
2577
  * Create or update a Milvus native role and replace its privilege grants.
2181
2578
  * @summary Put Milvus role
@@ -2266,5 +2663,14 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
2266
2663
  * @memberof AccountApi
2267
2664
  */
2268
2665
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2666
+ /**
2667
+ * update a MinIO service account access key
2668
+ * @summary Update MinIO access key
2669
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
2670
+ * @param {*} [options] Override http request option.
2671
+ * @throws {RequiredError}
2672
+ * @memberof AccountApi
2673
+ */
2674
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
2269
2675
  }
2270
2676
  //# sourceMappingURL=account-api.d.ts.map