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
@@ -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';
@@ -312,6 +318,61 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
312
318
  options: localVarRequestOptions,
313
319
  };
314
320
  },
321
+ /**
322
+ * create a MinIO service account access key
323
+ * @summary Create MinIO access key
324
+ * @param {string} engineName name of the engine
325
+ * @param {string} orgName name of the organization
326
+ * @param {string} clusterName name of the cluster
327
+ * @param {DmsServiceAccountCreateRequest} body
328
+ * @param {*} [options] Override http request option.
329
+ * @throws {RequiredError}
330
+ */
331
+ createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
332
+ // verify required parameter 'engineName' is not null or undefined
333
+ assertParamExists('createServiceAccount', 'engineName', engineName)
334
+ // verify required parameter 'orgName' is not null or undefined
335
+ assertParamExists('createServiceAccount', 'orgName', orgName)
336
+ // verify required parameter 'clusterName' is not null or undefined
337
+ assertParamExists('createServiceAccount', 'clusterName', clusterName)
338
+ // verify required parameter 'body' is not null or undefined
339
+ assertParamExists('createServiceAccount', 'body', body)
340
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
341
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
342
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
343
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
344
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
345
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
346
+ let baseOptions;
347
+ if (configuration) {
348
+ baseOptions = configuration.baseOptions;
349
+ }
350
+
351
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
352
+ const localVarHeaderParameter = {} as any;
353
+ const localVarQueryParameter = {} as any;
354
+
355
+ // authentication BearerToken required
356
+ // http bearer authentication required
357
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
358
+
359
+ // authentication DigestAuth required
360
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
361
+
362
+
363
+
364
+ localVarHeaderParameter['Content-Type'] = 'application/json';
365
+
366
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
367
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
368
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
369
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
370
+
371
+ return {
372
+ url: toPathString(localVarUrlObj),
373
+ options: localVarRequestOptions,
374
+ };
375
+ },
315
376
  /**
316
377
  * delete an account in cluster
317
378
  * @summary Delete cluster account
@@ -653,6 +714,59 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
653
714
 
654
715
 
655
716
 
717
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
718
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
719
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
720
+
721
+ return {
722
+ url: toPathString(localVarUrlObj),
723
+ options: localVarRequestOptions,
724
+ };
725
+ },
726
+ /**
727
+ * delete a MinIO service account access key
728
+ * @summary Delete MinIO access key
729
+ * @param {string} engineName name of the engine
730
+ * @param {string} orgName name of the organization
731
+ * @param {string} clusterName name of the cluster
732
+ * @param {string} accessKey MinIO access key
733
+ * @param {*} [options] Override http request option.
734
+ * @throws {RequiredError}
735
+ */
736
+ deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
737
+ // verify required parameter 'engineName' is not null or undefined
738
+ assertParamExists('deleteServiceAccount', 'engineName', engineName)
739
+ // verify required parameter 'orgName' is not null or undefined
740
+ assertParamExists('deleteServiceAccount', 'orgName', orgName)
741
+ // verify required parameter 'clusterName' is not null or undefined
742
+ assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
743
+ // verify required parameter 'accessKey' is not null or undefined
744
+ assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
745
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
746
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
747
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
748
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
749
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
750
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
751
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
752
+ let baseOptions;
753
+ if (configuration) {
754
+ baseOptions = configuration.baseOptions;
755
+ }
756
+
757
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
758
+ const localVarHeaderParameter = {} as any;
759
+ const localVarQueryParameter = {} as any;
760
+
761
+ // authentication BearerToken required
762
+ // http bearer authentication required
763
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
764
+
765
+ // authentication DigestAuth required
766
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
767
+
768
+
769
+
656
770
  setSearchParams(localVarUrlObj, localVarQueryParameter);
657
771
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
658
772
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -808,6 +922,59 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
808
922
 
809
923
 
810
924
 
925
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
926
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
927
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
928
+
929
+ return {
930
+ url: toPathString(localVarUrlObj),
931
+ options: localVarRequestOptions,
932
+ };
933
+ },
934
+ /**
935
+ * get a MinIO service account access key
936
+ * @summary Get MinIO access key
937
+ * @param {string} engineName name of the engine
938
+ * @param {string} orgName name of the organization
939
+ * @param {string} clusterName name of the cluster
940
+ * @param {string} accessKey MinIO access key
941
+ * @param {*} [options] Override http request option.
942
+ * @throws {RequiredError}
943
+ */
944
+ getServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
945
+ // verify required parameter 'engineName' is not null or undefined
946
+ assertParamExists('getServiceAccount', 'engineName', engineName)
947
+ // verify required parameter 'orgName' is not null or undefined
948
+ assertParamExists('getServiceAccount', 'orgName', orgName)
949
+ // verify required parameter 'clusterName' is not null or undefined
950
+ assertParamExists('getServiceAccount', 'clusterName', clusterName)
951
+ // verify required parameter 'accessKey' is not null or undefined
952
+ assertParamExists('getServiceAccount', 'accessKey', accessKey)
953
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
954
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
955
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
956
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
957
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
958
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
959
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
960
+ let baseOptions;
961
+ if (configuration) {
962
+ baseOptions = configuration.baseOptions;
963
+ }
964
+
965
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
966
+ const localVarHeaderParameter = {} as any;
967
+ const localVarQueryParameter = {} as any;
968
+
969
+ // authentication BearerToken required
970
+ // http bearer authentication required
971
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
972
+
973
+ // authentication DigestAuth required
974
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
975
+
976
+
977
+
811
978
  setSearchParams(localVarUrlObj, localVarQueryParameter);
812
979
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
813
980
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1037,6 +1204,60 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
1037
1204
 
1038
1205
 
1039
1206
 
1207
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1208
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1209
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1210
+
1211
+ return {
1212
+ url: toPathString(localVarUrlObj),
1213
+ options: localVarRequestOptions,
1214
+ };
1215
+ },
1216
+ /**
1217
+ * list MinIO service account access keys
1218
+ * @summary List MinIO access keys
1219
+ * @param {string} engineName name of the engine
1220
+ * @param {string} orgName name of the organization
1221
+ * @param {string} clusterName name of the cluster
1222
+ * @param {string} [userName] MinIO user that owns the service accounts
1223
+ * @param {*} [options] Override http request option.
1224
+ * @throws {RequiredError}
1225
+ */
1226
+ listServiceAccounts: async (engineName: string, orgName: string, clusterName: string, userName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1227
+ // verify required parameter 'engineName' is not null or undefined
1228
+ assertParamExists('listServiceAccounts', 'engineName', engineName)
1229
+ // verify required parameter 'orgName' is not null or undefined
1230
+ assertParamExists('listServiceAccounts', 'orgName', orgName)
1231
+ // verify required parameter 'clusterName' is not null or undefined
1232
+ assertParamExists('listServiceAccounts', 'clusterName', clusterName)
1233
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
1234
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
1235
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1236
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1237
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1238
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1239
+ let baseOptions;
1240
+ if (configuration) {
1241
+ baseOptions = configuration.baseOptions;
1242
+ }
1243
+
1244
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1245
+ const localVarHeaderParameter = {} as any;
1246
+ const localVarQueryParameter = {} as any;
1247
+
1248
+ // authentication BearerToken required
1249
+ // http bearer authentication required
1250
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1251
+
1252
+ // authentication DigestAuth required
1253
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1254
+
1255
+ if (userName !== undefined) {
1256
+ localVarQueryParameter['userName'] = userName;
1257
+ }
1258
+
1259
+
1260
+
1040
1261
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1041
1262
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1042
1263
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1593,6 +1814,65 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
1593
1814
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1594
1815
  localVarRequestOptions.data = serializeDataIfNeeded(rbmqPermission, localVarRequestOptions, configuration)
1595
1816
 
1817
+ return {
1818
+ url: toPathString(localVarUrlObj),
1819
+ options: localVarRequestOptions,
1820
+ };
1821
+ },
1822
+ /**
1823
+ * update a MinIO service account access key
1824
+ * @summary Update MinIO access key
1825
+ * @param {string} engineName name of the engine
1826
+ * @param {string} orgName name of the organization
1827
+ * @param {string} clusterName name of the cluster
1828
+ * @param {string} accessKey MinIO access key
1829
+ * @param {DmsServiceAccountUpdateRequest} body
1830
+ * @param {*} [options] Override http request option.
1831
+ * @throws {RequiredError}
1832
+ */
1833
+ updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1834
+ // verify required parameter 'engineName' is not null or undefined
1835
+ assertParamExists('updateServiceAccount', 'engineName', engineName)
1836
+ // verify required parameter 'orgName' is not null or undefined
1837
+ assertParamExists('updateServiceAccount', 'orgName', orgName)
1838
+ // verify required parameter 'clusterName' is not null or undefined
1839
+ assertParamExists('updateServiceAccount', 'clusterName', clusterName)
1840
+ // verify required parameter 'accessKey' is not null or undefined
1841
+ assertParamExists('updateServiceAccount', 'accessKey', accessKey)
1842
+ // verify required parameter 'body' is not null or undefined
1843
+ assertParamExists('updateServiceAccount', 'body', body)
1844
+ const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
1845
+ .replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
1846
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1847
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1848
+ .replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
1849
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1850
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1851
+ let baseOptions;
1852
+ if (configuration) {
1853
+ baseOptions = configuration.baseOptions;
1854
+ }
1855
+
1856
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
1857
+ const localVarHeaderParameter = {} as any;
1858
+ const localVarQueryParameter = {} as any;
1859
+
1860
+ // authentication BearerToken required
1861
+ // http bearer authentication required
1862
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1863
+
1864
+ // authentication DigestAuth required
1865
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1866
+
1867
+
1868
+
1869
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1870
+
1871
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1872
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1873
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1874
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1875
+
1596
1876
  return {
1597
1877
  url: toPathString(localVarUrlObj),
1598
1878
  options: localVarRequestOptions,
@@ -1684,6 +1964,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
1684
1964
  const localVarOperationServerBasePath = operationServerMap['AccountApi.createRabbitAccount']?.[localVarOperationServerIndex]?.url;
1685
1965
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1686
1966
  },
1967
+ /**
1968
+ * create a MinIO service account access key
1969
+ * @summary Create MinIO access key
1970
+ * @param {string} engineName name of the engine
1971
+ * @param {string} orgName name of the organization
1972
+ * @param {string} clusterName name of the cluster
1973
+ * @param {DmsServiceAccountCreateRequest} body
1974
+ * @param {*} [options] Override http request option.
1975
+ * @throws {RequiredError}
1976
+ */
1977
+ async createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
1978
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceAccount(engineName, orgName, clusterName, body, options);
1979
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1980
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.createServiceAccount']?.[localVarOperationServerIndex]?.url;
1981
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1982
+ },
1687
1983
  /**
1688
1984
  * delete an account in cluster
1689
1985
  * @summary Delete cluster account
@@ -1790,6 +2086,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
1790
2086
  const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteRabbitAccount']?.[localVarOperationServerIndex]?.url;
1791
2087
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1792
2088
  },
2089
+ /**
2090
+ * delete a MinIO service account access key
2091
+ * @summary Delete MinIO access key
2092
+ * @param {string} engineName name of the engine
2093
+ * @param {string} orgName name of the organization
2094
+ * @param {string} clusterName name of the cluster
2095
+ * @param {string} accessKey MinIO access key
2096
+ * @param {*} [options] Override http request option.
2097
+ * @throws {RequiredError}
2098
+ */
2099
+ async deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
2100
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceAccount(engineName, orgName, clusterName, accessKey, options);
2101
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2102
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteServiceAccount']?.[localVarOperationServerIndex]?.url;
2103
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2104
+ },
1793
2105
  /**
1794
2106
  * Get Hive accounts
1795
2107
  * @summary Get Hive accounts
@@ -1836,6 +2148,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
1836
2148
  const localVarOperationServerBasePath = operationServerMap['AccountApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
1837
2149
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1838
2150
  },
2151
+ /**
2152
+ * get a MinIO service account access key
2153
+ * @summary Get MinIO access key
2154
+ * @param {string} engineName name of the engine
2155
+ * @param {string} orgName name of the organization
2156
+ * @param {string} clusterName name of the cluster
2157
+ * @param {string} accessKey MinIO access key
2158
+ * @param {*} [options] Override http request option.
2159
+ * @throws {RequiredError}
2160
+ */
2161
+ async getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
2162
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getServiceAccount(engineName, orgName, clusterName, accessKey, options);
2163
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2164
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.getServiceAccount']?.[localVarOperationServerIndex]?.url;
2165
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2166
+ },
1839
2167
  /**
1840
2168
  * list accounts in cluster
1841
2169
  * @summary List cluster accounts
@@ -1907,6 +2235,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
1907
2235
  const localVarOperationServerBasePath = operationServerMap['AccountApi.listRabbitAccounts']?.[localVarOperationServerIndex]?.url;
1908
2236
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1909
2237
  },
2238
+ /**
2239
+ * list MinIO service account access keys
2240
+ * @summary List MinIO access keys
2241
+ * @param {string} engineName name of the engine
2242
+ * @param {string} orgName name of the organization
2243
+ * @param {string} clusterName name of the cluster
2244
+ * @param {string} [userName] MinIO user that owns the service accounts
2245
+ * @param {*} [options] Override http request option.
2246
+ * @throws {RequiredError}
2247
+ */
2248
+ async listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>> {
2249
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceAccounts(engineName, orgName, clusterName, userName, options);
2250
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2251
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.listServiceAccounts']?.[localVarOperationServerIndex]?.url;
2252
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2253
+ },
1910
2254
  /**
1911
2255
  * Create or update a Milvus native role and replace its privilege grants.
1912
2256
  * @summary Put Milvus role
@@ -2068,6 +2412,23 @@ export const AccountApiFp = function(configuration?: Configuration) {
2068
2412
  const localVarOperationServerBasePath = operationServerMap['AccountApi.updateRabbitAccountPrivileges']?.[localVarOperationServerIndex]?.url;
2069
2413
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2070
2414
  },
2415
+ /**
2416
+ * update a MinIO service account access key
2417
+ * @summary Update MinIO access key
2418
+ * @param {string} engineName name of the engine
2419
+ * @param {string} orgName name of the organization
2420
+ * @param {string} clusterName name of the cluster
2421
+ * @param {string} accessKey MinIO access key
2422
+ * @param {DmsServiceAccountUpdateRequest} body
2423
+ * @param {*} [options] Override http request option.
2424
+ * @throws {RequiredError}
2425
+ */
2426
+ async updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>> {
2427
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateServiceAccount(engineName, orgName, clusterName, accessKey, body, options);
2428
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2429
+ const localVarOperationServerBasePath = operationServerMap['AccountApi.updateServiceAccount']?.[localVarOperationServerIndex]?.url;
2430
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2431
+ },
2071
2432
  }
2072
2433
  };
2073
2434
 
@@ -2128,6 +2489,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
2128
2489
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2129
2490
  return localVarFp.createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(axios, basePath));
2130
2491
  },
2492
+ /**
2493
+ * create a MinIO service account access key
2494
+ * @summary Create MinIO access key
2495
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
2496
+ * @param {*} [options] Override http request option.
2497
+ * @throws {RequiredError}
2498
+ */
2499
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
2500
+ return localVarFp.createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
2501
+ },
2131
2502
  /**
2132
2503
  * delete an account in cluster
2133
2504
  * @summary Delete cluster account
@@ -2198,6 +2569,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
2198
2569
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2199
2570
  return localVarFp.deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
2200
2571
  },
2572
+ /**
2573
+ * delete a MinIO service account access key
2574
+ * @summary Delete MinIO access key
2575
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
2576
+ * @param {*} [options] Override http request option.
2577
+ * @throws {RequiredError}
2578
+ */
2579
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2580
+ return localVarFp.deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
2581
+ },
2201
2582
  /**
2202
2583
  * Get Hive accounts
2203
2584
  * @summary Get Hive accounts
@@ -2228,6 +2609,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
2228
2609
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
2229
2610
  return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
2230
2611
  },
2612
+ /**
2613
+ * get a MinIO service account access key
2614
+ * @summary Get MinIO access key
2615
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
2616
+ * @param {*} [options] Override http request option.
2617
+ * @throws {RequiredError}
2618
+ */
2619
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
2620
+ return localVarFp.getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
2621
+ },
2231
2622
  /**
2232
2623
  * list accounts in cluster
2233
2624
  * @summary List cluster accounts
@@ -2278,6 +2669,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
2278
2669
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList> {
2279
2670
  return localVarFp.listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
2280
2671
  },
2672
+ /**
2673
+ * list MinIO service account access keys
2674
+ * @summary List MinIO access keys
2675
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
2676
+ * @param {*} [options] Override http request option.
2677
+ * @throws {RequiredError}
2678
+ */
2679
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>> {
2680
+ return localVarFp.listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(axios, basePath));
2681
+ },
2281
2682
  /**
2282
2683
  * Create or update a Milvus native role and replace its privilege grants.
2283
2684
  * @summary Put Milvus role
@@ -2378,6 +2779,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
2378
2779
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
2379
2780
  return localVarFp.updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(axios, basePath));
2380
2781
  },
2782
+ /**
2783
+ * update a MinIO service account access key
2784
+ * @summary Update MinIO access key
2785
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
2786
+ * @param {*} [options] Override http request option.
2787
+ * @throws {RequiredError}
2788
+ */
2789
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount> {
2790
+ return localVarFp.updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(axios, basePath));
2791
+ },
2381
2792
  };
2382
2793
  };
2383
2794
 
@@ -2437,6 +2848,16 @@ export interface AccountApiInterface {
2437
2848
  */
2438
2849
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2439
2850
 
2851
+ /**
2852
+ * create a MinIO service account access key
2853
+ * @summary Create MinIO access key
2854
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
2855
+ * @param {*} [options] Override http request option.
2856
+ * @throws {RequiredError}
2857
+ * @memberof AccountApiInterface
2858
+ */
2859
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
2860
+
2440
2861
  /**
2441
2862
  * delete an account in cluster
2442
2863
  * @summary Delete cluster account
@@ -2507,6 +2928,16 @@ export interface AccountApiInterface {
2507
2928
  */
2508
2929
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2509
2930
 
2931
+ /**
2932
+ * delete a MinIO service account access key
2933
+ * @summary Delete MinIO access key
2934
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
2935
+ * @param {*} [options] Override http request option.
2936
+ * @throws {RequiredError}
2937
+ * @memberof AccountApiInterface
2938
+ */
2939
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2940
+
2510
2941
  /**
2511
2942
  * Get Hive accounts
2512
2943
  * @summary Get Hive accounts
@@ -2537,6 +2968,16 @@ export interface AccountApiInterface {
2537
2968
  */
2538
2969
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
2539
2970
 
2971
+ /**
2972
+ * get a MinIO service account access key
2973
+ * @summary Get MinIO access key
2974
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
2975
+ * @param {*} [options] Override http request option.
2976
+ * @throws {RequiredError}
2977
+ * @memberof AccountApiInterface
2978
+ */
2979
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
2980
+
2540
2981
  /**
2541
2982
  * list accounts in cluster
2542
2983
  * @summary List cluster accounts
@@ -2587,6 +3028,16 @@ export interface AccountApiInterface {
2587
3028
  */
2588
3029
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
2589
3030
 
3031
+ /**
3032
+ * list MinIO service account access keys
3033
+ * @summary List MinIO access keys
3034
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
3035
+ * @param {*} [options] Override http request option.
3036
+ * @throws {RequiredError}
3037
+ * @memberof AccountApiInterface
3038
+ */
3039
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
3040
+
2590
3041
  /**
2591
3042
  * Create or update a Milvus native role and replace its privilege grants.
2592
3043
  * @summary Put Milvus role
@@ -2687,6 +3138,16 @@ export interface AccountApiInterface {
2687
3138
  */
2688
3139
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2689
3140
 
3141
+ /**
3142
+ * update a MinIO service account access key
3143
+ * @summary Update MinIO access key
3144
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
3145
+ * @param {*} [options] Override http request option.
3146
+ * @throws {RequiredError}
3147
+ * @memberof AccountApiInterface
3148
+ */
3149
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
3150
+
2690
3151
  }
2691
3152
 
2692
3153
  /**
@@ -2836,6 +3297,41 @@ export interface AccountApiCreateRabbitAccountRequest {
2836
3297
  readonly rbmqAccountRequest: RbmqAccountRequest
2837
3298
  }
2838
3299
 
3300
+ /**
3301
+ * Request parameters for createServiceAccount operation in AccountApi.
3302
+ * @export
3303
+ * @interface AccountApiCreateServiceAccountRequest
3304
+ */
3305
+ export interface AccountApiCreateServiceAccountRequest {
3306
+ /**
3307
+ * name of the engine
3308
+ * @type {string}
3309
+ * @memberof AccountApiCreateServiceAccount
3310
+ */
3311
+ readonly engineName: string
3312
+
3313
+ /**
3314
+ * name of the organization
3315
+ * @type {string}
3316
+ * @memberof AccountApiCreateServiceAccount
3317
+ */
3318
+ readonly orgName: string
3319
+
3320
+ /**
3321
+ * name of the cluster
3322
+ * @type {string}
3323
+ * @memberof AccountApiCreateServiceAccount
3324
+ */
3325
+ readonly clusterName: string
3326
+
3327
+ /**
3328
+ *
3329
+ * @type {DmsServiceAccountCreateRequest}
3330
+ * @memberof AccountApiCreateServiceAccount
3331
+ */
3332
+ readonly body: DmsServiceAccountCreateRequest
3333
+ }
3334
+
2839
3335
  /**
2840
3336
  * Request parameters for deleteAccount operation in AccountApi.
2841
3337
  * @export
@@ -3039,6 +3535,41 @@ export interface AccountApiDeleteRabbitAccountRequest {
3039
3535
  readonly accountName: string
3040
3536
  }
3041
3537
 
3538
+ /**
3539
+ * Request parameters for deleteServiceAccount operation in AccountApi.
3540
+ * @export
3541
+ * @interface AccountApiDeleteServiceAccountRequest
3542
+ */
3543
+ export interface AccountApiDeleteServiceAccountRequest {
3544
+ /**
3545
+ * name of the engine
3546
+ * @type {string}
3547
+ * @memberof AccountApiDeleteServiceAccount
3548
+ */
3549
+ readonly engineName: string
3550
+
3551
+ /**
3552
+ * name of the organization
3553
+ * @type {string}
3554
+ * @memberof AccountApiDeleteServiceAccount
3555
+ */
3556
+ readonly orgName: string
3557
+
3558
+ /**
3559
+ * name of the cluster
3560
+ * @type {string}
3561
+ * @memberof AccountApiDeleteServiceAccount
3562
+ */
3563
+ readonly clusterName: string
3564
+
3565
+ /**
3566
+ * MinIO access key
3567
+ * @type {string}
3568
+ * @memberof AccountApiDeleteServiceAccount
3569
+ */
3570
+ readonly accessKey: string
3571
+ }
3572
+
3042
3573
  /**
3043
3574
  * Request parameters for getHiveAccounts operation in AccountApi.
3044
3575
  * @export
@@ -3130,6 +3661,41 @@ export interface AccountApiGetRootAccountPasswordRequest {
3130
3661
  readonly component?: string
3131
3662
  }
3132
3663
 
3664
+ /**
3665
+ * Request parameters for getServiceAccount operation in AccountApi.
3666
+ * @export
3667
+ * @interface AccountApiGetServiceAccountRequest
3668
+ */
3669
+ export interface AccountApiGetServiceAccountRequest {
3670
+ /**
3671
+ * name of the engine
3672
+ * @type {string}
3673
+ * @memberof AccountApiGetServiceAccount
3674
+ */
3675
+ readonly engineName: string
3676
+
3677
+ /**
3678
+ * name of the organization
3679
+ * @type {string}
3680
+ * @memberof AccountApiGetServiceAccount
3681
+ */
3682
+ readonly orgName: string
3683
+
3684
+ /**
3685
+ * name of the cluster
3686
+ * @type {string}
3687
+ * @memberof AccountApiGetServiceAccount
3688
+ */
3689
+ readonly clusterName: string
3690
+
3691
+ /**
3692
+ * MinIO access key
3693
+ * @type {string}
3694
+ * @memberof AccountApiGetServiceAccount
3695
+ */
3696
+ readonly accessKey: string
3697
+ }
3698
+
3133
3699
  /**
3134
3700
  * Request parameters for listAccounts operation in AccountApi.
3135
3701
  * @export
@@ -3242,6 +3808,41 @@ export interface AccountApiListRabbitAccountsRequest {
3242
3808
  readonly clusterName: string
3243
3809
  }
3244
3810
 
3811
+ /**
3812
+ * Request parameters for listServiceAccounts operation in AccountApi.
3813
+ * @export
3814
+ * @interface AccountApiListServiceAccountsRequest
3815
+ */
3816
+ export interface AccountApiListServiceAccountsRequest {
3817
+ /**
3818
+ * name of the engine
3819
+ * @type {string}
3820
+ * @memberof AccountApiListServiceAccounts
3821
+ */
3822
+ readonly engineName: string
3823
+
3824
+ /**
3825
+ * name of the organization
3826
+ * @type {string}
3827
+ * @memberof AccountApiListServiceAccounts
3828
+ */
3829
+ readonly orgName: string
3830
+
3831
+ /**
3832
+ * name of the cluster
3833
+ * @type {string}
3834
+ * @memberof AccountApiListServiceAccounts
3835
+ */
3836
+ readonly clusterName: string
3837
+
3838
+ /**
3839
+ * MinIO user that owns the service accounts
3840
+ * @type {string}
3841
+ * @memberof AccountApiListServiceAccounts
3842
+ */
3843
+ readonly userName?: string
3844
+ }
3845
+
3245
3846
  /**
3246
3847
  * Request parameters for putMilvusRole operation in AccountApi.
3247
3848
  * @export
@@ -3599,6 +4200,48 @@ export interface AccountApiUpdateRabbitAccountPrivilegesRequest {
3599
4200
  readonly rbmqPermission: RbmqPermission
3600
4201
  }
3601
4202
 
4203
+ /**
4204
+ * Request parameters for updateServiceAccount operation in AccountApi.
4205
+ * @export
4206
+ * @interface AccountApiUpdateServiceAccountRequest
4207
+ */
4208
+ export interface AccountApiUpdateServiceAccountRequest {
4209
+ /**
4210
+ * name of the engine
4211
+ * @type {string}
4212
+ * @memberof AccountApiUpdateServiceAccount
4213
+ */
4214
+ readonly engineName: string
4215
+
4216
+ /**
4217
+ * name of the organization
4218
+ * @type {string}
4219
+ * @memberof AccountApiUpdateServiceAccount
4220
+ */
4221
+ readonly orgName: string
4222
+
4223
+ /**
4224
+ * name of the cluster
4225
+ * @type {string}
4226
+ * @memberof AccountApiUpdateServiceAccount
4227
+ */
4228
+ readonly clusterName: string
4229
+
4230
+ /**
4231
+ * MinIO access key
4232
+ * @type {string}
4233
+ * @memberof AccountApiUpdateServiceAccount
4234
+ */
4235
+ readonly accessKey: string
4236
+
4237
+ /**
4238
+ *
4239
+ * @type {DmsServiceAccountUpdateRequest}
4240
+ * @memberof AccountApiUpdateServiceAccount
4241
+ */
4242
+ readonly body: DmsServiceAccountUpdateRequest
4243
+ }
4244
+
3602
4245
  /**
3603
4246
  * AccountApi - object-oriented interface
3604
4247
  * @export
@@ -3666,6 +4309,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
3666
4309
  return AccountApiFp(this.configuration).createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(this.axios, this.basePath));
3667
4310
  }
3668
4311
 
4312
+ /**
4313
+ * create a MinIO service account access key
4314
+ * @summary Create MinIO access key
4315
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
4316
+ * @param {*} [options] Override http request option.
4317
+ * @throws {RequiredError}
4318
+ * @memberof AccountApi
4319
+ */
4320
+ public createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig) {
4321
+ return AccountApiFp(this.configuration).createServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
4322
+ }
4323
+
3669
4324
  /**
3670
4325
  * delete an account in cluster
3671
4326
  * @summary Delete cluster account
@@ -3750,6 +4405,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
3750
4405
  return AccountApiFp(this.configuration).deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
3751
4406
  }
3752
4407
 
4408
+ /**
4409
+ * delete a MinIO service account access key
4410
+ * @summary Delete MinIO access key
4411
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
4412
+ * @param {*} [options] Override http request option.
4413
+ * @throws {RequiredError}
4414
+ * @memberof AccountApi
4415
+ */
4416
+ public deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig) {
4417
+ return AccountApiFp(this.configuration).deleteServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
4418
+ }
4419
+
3753
4420
  /**
3754
4421
  * Get Hive accounts
3755
4422
  * @summary Get Hive accounts
@@ -3786,6 +4453,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
3786
4453
  return AccountApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
3787
4454
  }
3788
4455
 
4456
+ /**
4457
+ * get a MinIO service account access key
4458
+ * @summary Get MinIO access key
4459
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
4460
+ * @param {*} [options] Override http request option.
4461
+ * @throws {RequiredError}
4462
+ * @memberof AccountApi
4463
+ */
4464
+ public getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig) {
4465
+ return AccountApiFp(this.configuration).getServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
4466
+ }
4467
+
3789
4468
  /**
3790
4469
  * list accounts in cluster
3791
4470
  * @summary List cluster accounts
@@ -3846,6 +4525,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
3846
4525
  return AccountApiFp(this.configuration).listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
3847
4526
  }
3848
4527
 
4528
+ /**
4529
+ * list MinIO service account access keys
4530
+ * @summary List MinIO access keys
4531
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
4532
+ * @param {*} [options] Override http request option.
4533
+ * @throws {RequiredError}
4534
+ * @memberof AccountApi
4535
+ */
4536
+ public listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig) {
4537
+ return AccountApiFp(this.configuration).listServiceAccounts(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.userName, options).then((request) => request(this.axios, this.basePath));
4538
+ }
4539
+
3849
4540
  /**
3850
4541
  * Create or update a Milvus native role and replace its privilege grants.
3851
4542
  * @summary Put Milvus role
@@ -3965,5 +4656,17 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
3965
4656
  public updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
3966
4657
  return AccountApiFp(this.configuration).updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(this.axios, this.basePath));
3967
4658
  }
4659
+
4660
+ /**
4661
+ * update a MinIO service account access key
4662
+ * @summary Update MinIO access key
4663
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
4664
+ * @param {*} [options] Override http request option.
4665
+ * @throws {RequiredError}
4666
+ * @memberof AccountApi
4667
+ */
4668
+ public updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig) {
4669
+ return AccountApiFp(this.configuration).updateServiceAccount(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accessKey, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
4670
+ }
3968
4671
  }
3969
4672