kb-cloud-client-typescript 2.3.0-alpha.122 → 2.3.0-alpha.124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) 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/diagnostics-api.d.ts +10 -2
  6. package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/diagnostics-api.js +10 -5
  8. package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
  9. package/dist/adminapi/apis/rdbms-api.d.ts +406 -0
  10. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/rdbms-api.js +427 -0
  12. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  13. package/dist/adminapi/apis/shared-api.d.ts +406 -0
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +427 -0
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/cluster-storage-usage-history-instance.d.ts +56 -0
  18. package/dist/adminapi/models/cluster-storage-usage-history-instance.d.ts.map +1 -0
  19. package/dist/adminapi/models/cluster-storage-usage-history-instance.js +16 -0
  20. package/dist/adminapi/models/cluster-storage-usage-history-instance.js.map +1 -0
  21. package/dist/adminapi/models/cluster-storage-usage-history-point.d.ts +6 -0
  22. package/dist/adminapi/models/cluster-storage-usage-history-point.d.ts.map +1 -1
  23. package/dist/adminapi/models/cluster-storage-usage-history.d.ts +4 -4
  24. package/dist/adminapi/models/cluster-storage-usage-history.d.ts.map +1 -1
  25. package/dist/adminapi/models/dms-service-account-create-request.d.ts +55 -0
  26. package/dist/adminapi/models/dms-service-account-create-request.d.ts.map +1 -0
  27. package/dist/adminapi/models/dms-service-account-create-request.js +16 -0
  28. package/dist/adminapi/models/dms-service-account-create-request.js.map +1 -0
  29. package/dist/adminapi/models/dms-service-account-status.d.ts +22 -0
  30. package/dist/adminapi/models/dms-service-account-status.d.ts.map +1 -0
  31. package/dist/adminapi/models/dms-service-account-status.js +26 -0
  32. package/dist/adminapi/models/dms-service-account-status.js.map +1 -0
  33. package/dist/adminapi/models/dms-service-account-update-request.d.ts +32 -0
  34. package/dist/adminapi/models/dms-service-account-update-request.d.ts.map +1 -0
  35. package/dist/adminapi/models/dms-service-account-update-request.js +16 -0
  36. package/dist/adminapi/models/dms-service-account-update-request.js.map +1 -0
  37. package/dist/adminapi/models/dms-service-account.d.ts +73 -0
  38. package/dist/adminapi/models/dms-service-account.d.ts.map +1 -0
  39. package/dist/adminapi/models/dms-service-account.js +16 -0
  40. package/dist/adminapi/models/dms-service-account.js.map +1 -0
  41. package/dist/adminapi/models/index.d.ts +6 -0
  42. package/dist/adminapi/models/index.d.ts.map +1 -1
  43. package/dist/adminapi/models/index.js +6 -0
  44. package/dist/adminapi/models/index.js.map +1 -1
  45. package/dist/adminapi/models/postgresql-space-analysis.d.ts +10 -4
  46. package/dist/adminapi/models/postgresql-space-analysis.d.ts.map +1 -1
  47. package/dist/adminapi/models/postgresql-storage-instance-usage.d.ts +79 -0
  48. package/dist/adminapi/models/postgresql-storage-instance-usage.d.ts.map +1 -0
  49. package/dist/adminapi/models/postgresql-storage-instance-usage.js +16 -0
  50. package/dist/adminapi/models/postgresql-storage-instance-usage.js.map +1 -0
  51. package/dist/adminapi/models/postgresql-storage-overview.d.ts +6 -29
  52. package/dist/adminapi/models/postgresql-storage-overview.d.ts.map +1 -1
  53. package/dist/openapi/apis/diagnostics-api.d.ts +10 -2
  54. package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
  55. package/dist/openapi/apis/diagnostics-api.js +10 -5
  56. package/dist/openapi/apis/diagnostics-api.js.map +1 -1
  57. package/dist/openapi/models/cluster-storage-usage-history-instance.d.ts +56 -0
  58. package/dist/openapi/models/cluster-storage-usage-history-instance.d.ts.map +1 -0
  59. package/dist/openapi/models/cluster-storage-usage-history-instance.js +16 -0
  60. package/dist/openapi/models/cluster-storage-usage-history-instance.js.map +1 -0
  61. package/dist/openapi/models/cluster-storage-usage-history-point.d.ts +6 -0
  62. package/dist/openapi/models/cluster-storage-usage-history-point.d.ts.map +1 -1
  63. package/dist/openapi/models/cluster-storage-usage-history.d.ts +4 -4
  64. package/dist/openapi/models/cluster-storage-usage-history.d.ts.map +1 -1
  65. package/dist/openapi/models/index.d.ts +2 -0
  66. package/dist/openapi/models/index.d.ts.map +1 -1
  67. package/dist/openapi/models/index.js +2 -0
  68. package/dist/openapi/models/index.js.map +1 -1
  69. package/dist/openapi/models/postgresql-space-analysis.d.ts +10 -4
  70. package/dist/openapi/models/postgresql-space-analysis.d.ts.map +1 -1
  71. package/dist/openapi/models/postgresql-storage-instance-usage.d.ts +79 -0
  72. package/dist/openapi/models/postgresql-storage-instance-usage.d.ts.map +1 -0
  73. package/dist/openapi/models/postgresql-storage-instance-usage.js +16 -0
  74. package/dist/openapi/models/postgresql-storage-instance-usage.js.map +1 -0
  75. package/dist/openapi/models/postgresql-storage-overview.d.ts +6 -29
  76. package/dist/openapi/models/postgresql-storage-overview.d.ts.map +1 -1
  77. package/package.json +1 -1
  78. package/src/adminapi/.openapi-generator/FILES +6 -0
  79. package/src/adminapi/apis/account-api.ts +703 -0
  80. package/src/adminapi/apis/diagnostics-api.ts +18 -5
  81. package/src/adminapi/apis/rdbms-api.ts +703 -0
  82. package/src/adminapi/apis/shared-api.ts +703 -0
  83. package/src/adminapi/models/cluster-storage-usage-history-instance.ts +63 -0
  84. package/src/adminapi/models/cluster-storage-usage-history-point.ts +6 -0
  85. package/src/adminapi/models/cluster-storage-usage-history.ts +4 -4
  86. package/src/adminapi/models/dms-service-account-create-request.ts +60 -0
  87. package/src/adminapi/models/dms-service-account-status.ts +31 -0
  88. package/src/adminapi/models/dms-service-account-update-request.ts +41 -0
  89. package/src/adminapi/models/dms-service-account.ts +78 -0
  90. package/src/adminapi/models/index.ts +6 -0
  91. package/src/adminapi/models/postgresql-space-analysis.ts +10 -4
  92. package/src/adminapi/models/postgresql-storage-instance-usage.ts +84 -0
  93. package/src/adminapi/models/postgresql-storage-overview.ts +8 -29
  94. package/src/adminapi.yaml +408 -11
  95. package/src/openapi/.openapi-generator/FILES +2 -0
  96. package/src/openapi/apis/diagnostics-api.ts +18 -5
  97. package/src/openapi/models/cluster-storage-usage-history-instance.ts +63 -0
  98. package/src/openapi/models/cluster-storage-usage-history-point.ts +6 -0
  99. package/src/openapi/models/cluster-storage-usage-history.ts +4 -4
  100. package/src/openapi/models/index.ts +2 -0
  101. package/src/openapi/models/postgresql-space-analysis.ts +10 -4
  102. package/src/openapi/models/postgresql-storage-instance-usage.ts +84 -0
  103. package/src/openapi/models/postgresql-storage-overview.ts +8 -29
  104. package/src/openapi.yaml +78 -11
@@ -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 { PrivilegeListItem } from '../models';
18
21
  import type { RbmqAccountRequest } from '../models';
19
22
  import type { RbmqAccountsList } from '../models';
@@ -55,6 +58,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
55
58
  * @throws {RequiredError}
56
59
  */
57
60
  createRabbitAccount: (orgName: string, clusterName: string, rbmqAccountRequest: RbmqAccountRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
+ /**
62
+ * create a MinIO service account access key
63
+ * @summary Create MinIO access key
64
+ * @param {string} engineName name of the engine
65
+ * @param {string} orgName name of the organization
66
+ * @param {string} clusterName name of the cluster
67
+ * @param {DmsServiceAccountCreateRequest} body
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ */
71
+ createServiceAccount: (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
58
72
  /**
59
73
  * delete an account in cluster
60
74
  * @summary Delete cluster account
@@ -96,6 +110,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
96
110
  * @throws {RequiredError}
97
111
  */
98
112
  deleteRabbitAccount: (orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
113
+ /**
114
+ * delete a MinIO service account access key
115
+ * @summary Delete MinIO access key
116
+ * @param {string} engineName name of the engine
117
+ * @param {string} orgName name of the organization
118
+ * @param {string} clusterName name of the cluster
119
+ * @param {string} accessKey MinIO access key
120
+ * @param {*} [options] Override http request option.
121
+ * @throws {RequiredError}
122
+ */
123
+ deleteServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
99
124
  /**
100
125
  * get root account password
101
126
  * @summary get root account password
@@ -108,6 +133,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
108
133
  * @throws {RequiredError}
109
134
  */
110
135
  getRootAccountPassword: (engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
136
+ /**
137
+ * get a MinIO service account access key
138
+ * @summary Get MinIO access key
139
+ * @param {string} engineName name of the engine
140
+ * @param {string} orgName name of the organization
141
+ * @param {string} clusterName name of the cluster
142
+ * @param {string} accessKey MinIO access key
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ getServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
111
147
  /**
112
148
  * list accounts in cluster
113
149
  * @summary List cluster accounts
@@ -136,6 +172,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
136
172
  * @throws {RequiredError}
137
173
  */
138
174
  listRabbitAccounts: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
175
+ /**
176
+ * list MinIO service account access keys
177
+ * @summary List MinIO access keys
178
+ * @param {string} engineName name of the engine
179
+ * @param {string} orgName name of the organization
180
+ * @param {string} clusterName name of the cluster
181
+ * @param {string} [userName] MinIO user that owns the service accounts
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ listServiceAccounts: (engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
139
186
  /**
140
187
  * lock an account in cluster
141
188
  * @summary Lock cluster account
@@ -214,6 +261,18 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
214
261
  * @throws {RequiredError}
215
262
  */
216
263
  updateRabbitAccountPrivileges: (orgName: string, clusterName: string, accountName: string, rbmqPermission: RbmqPermission, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
264
+ /**
265
+ * update a MinIO service account access key
266
+ * @summary Update MinIO access key
267
+ * @param {string} engineName name of the engine
268
+ * @param {string} orgName name of the organization
269
+ * @param {string} clusterName name of the cluster
270
+ * @param {string} accessKey MinIO access key
271
+ * @param {DmsServiceAccountUpdateRequest} body
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ */
275
+ updateServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
217
276
  };
218
277
  /**
219
278
  * AccountApi - functional programming interface
@@ -251,6 +310,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
251
310
  * @throws {RequiredError}
252
311
  */
253
312
  createRabbitAccount(orgName: string, clusterName: string, rbmqAccountRequest: RbmqAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
313
+ /**
314
+ * create a MinIO service account access key
315
+ * @summary Create MinIO access key
316
+ * @param {string} engineName name of the engine
317
+ * @param {string} orgName name of the organization
318
+ * @param {string} clusterName name of the cluster
319
+ * @param {DmsServiceAccountCreateRequest} body
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ */
323
+ createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
254
324
  /**
255
325
  * delete an account in cluster
256
326
  * @summary Delete cluster account
@@ -292,6 +362,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
292
362
  * @throws {RequiredError}
293
363
  */
294
364
  deleteRabbitAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
365
+ /**
366
+ * delete a MinIO service account access key
367
+ * @summary Delete MinIO access key
368
+ * @param {string} engineName name of the engine
369
+ * @param {string} orgName name of the organization
370
+ * @param {string} clusterName name of the cluster
371
+ * @param {string} accessKey MinIO access key
372
+ * @param {*} [options] Override http request option.
373
+ * @throws {RequiredError}
374
+ */
375
+ deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
295
376
  /**
296
377
  * get root account password
297
378
  * @summary get root account password
@@ -304,6 +385,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
304
385
  * @throws {RequiredError}
305
386
  */
306
387
  getRootAccountPassword(engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
388
+ /**
389
+ * get a MinIO service account access key
390
+ * @summary Get MinIO access key
391
+ * @param {string} engineName name of the engine
392
+ * @param {string} orgName name of the organization
393
+ * @param {string} clusterName name of the cluster
394
+ * @param {string} accessKey MinIO access key
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ */
398
+ getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
307
399
  /**
308
400
  * list accounts in cluster
309
401
  * @summary List cluster accounts
@@ -332,6 +424,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
332
424
  * @throws {RequiredError}
333
425
  */
334
426
  listRabbitAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RbmqAccountsList>>;
427
+ /**
428
+ * list MinIO service account access keys
429
+ * @summary List MinIO access keys
430
+ * @param {string} engineName name of the engine
431
+ * @param {string} orgName name of the organization
432
+ * @param {string} clusterName name of the cluster
433
+ * @param {string} [userName] MinIO user that owns the service accounts
434
+ * @param {*} [options] Override http request option.
435
+ * @throws {RequiredError}
436
+ */
437
+ listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>>;
335
438
  /**
336
439
  * lock an account in cluster
337
440
  * @summary Lock cluster account
@@ -410,6 +513,18 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
410
513
  * @throws {RequiredError}
411
514
  */
412
515
  updateRabbitAccountPrivileges(orgName: string, clusterName: string, accountName: string, rbmqPermission: RbmqPermission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
516
+ /**
517
+ * update a MinIO service account access key
518
+ * @summary Update MinIO access key
519
+ * @param {string} engineName name of the engine
520
+ * @param {string} orgName name of the organization
521
+ * @param {string} clusterName name of the cluster
522
+ * @param {string} accessKey MinIO access key
523
+ * @param {DmsServiceAccountUpdateRequest} body
524
+ * @param {*} [options] Override http request option.
525
+ * @throws {RequiredError}
526
+ */
527
+ updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
413
528
  };
414
529
  /**
415
530
  * AccountApi - factory interface
@@ -440,6 +555,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
440
555
  * @throws {RequiredError}
441
556
  */
442
557
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
558
+ /**
559
+ * create a MinIO service account access key
560
+ * @summary Create MinIO access key
561
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
562
+ * @param {*} [options] Override http request option.
563
+ * @throws {RequiredError}
564
+ */
565
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
443
566
  /**
444
567
  * delete an account in cluster
445
568
  * @summary Delete cluster account
@@ -472,6 +595,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
472
595
  * @throws {RequiredError}
473
596
  */
474
597
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
598
+ /**
599
+ * delete a MinIO service account access key
600
+ * @summary Delete MinIO access key
601
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
602
+ * @param {*} [options] Override http request option.
603
+ * @throws {RequiredError}
604
+ */
605
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
475
606
  /**
476
607
  * get root account password
477
608
  * @summary get root account password
@@ -480,6 +611,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
480
611
  * @throws {RequiredError}
481
612
  */
482
613
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
614
+ /**
615
+ * get a MinIO service account access key
616
+ * @summary Get MinIO access key
617
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
618
+ * @param {*} [options] Override http request option.
619
+ * @throws {RequiredError}
620
+ */
621
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
483
622
  /**
484
623
  * list accounts in cluster
485
624
  * @summary List cluster accounts
@@ -504,6 +643,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
504
643
  * @throws {RequiredError}
505
644
  */
506
645
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
646
+ /**
647
+ * list MinIO service account access keys
648
+ * @summary List MinIO access keys
649
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
650
+ * @param {*} [options] Override http request option.
651
+ * @throws {RequiredError}
652
+ */
653
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
507
654
  /**
508
655
  * lock an account in cluster
509
656
  * @summary Lock cluster account
@@ -560,6 +707,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
560
707
  * @throws {RequiredError}
561
708
  */
562
709
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
710
+ /**
711
+ * update a MinIO service account access key
712
+ * @summary Update MinIO access key
713
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
714
+ * @param {*} [options] Override http request option.
715
+ * @throws {RequiredError}
716
+ */
717
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
563
718
  };
564
719
  /**
565
720
  * AccountApi - interface
@@ -594,6 +749,15 @@ export interface AccountApiInterface {
594
749
  * @memberof AccountApiInterface
595
750
  */
596
751
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
752
+ /**
753
+ * create a MinIO service account access key
754
+ * @summary Create MinIO access key
755
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
756
+ * @param {*} [options] Override http request option.
757
+ * @throws {RequiredError}
758
+ * @memberof AccountApiInterface
759
+ */
760
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
597
761
  /**
598
762
  * delete an account in cluster
599
763
  * @summary Delete cluster account
@@ -630,6 +794,15 @@ export interface AccountApiInterface {
630
794
  * @memberof AccountApiInterface
631
795
  */
632
796
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
797
+ /**
798
+ * delete a MinIO service account access key
799
+ * @summary Delete MinIO access key
800
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
801
+ * @param {*} [options] Override http request option.
802
+ * @throws {RequiredError}
803
+ * @memberof AccountApiInterface
804
+ */
805
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
633
806
  /**
634
807
  * get root account password
635
808
  * @summary get root account password
@@ -639,6 +812,15 @@ export interface AccountApiInterface {
639
812
  * @memberof AccountApiInterface
640
813
  */
641
814
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
815
+ /**
816
+ * get a MinIO service account access key
817
+ * @summary Get MinIO access key
818
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
819
+ * @param {*} [options] Override http request option.
820
+ * @throws {RequiredError}
821
+ * @memberof AccountApiInterface
822
+ */
823
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
642
824
  /**
643
825
  * list accounts in cluster
644
826
  * @summary List cluster accounts
@@ -666,6 +848,15 @@ export interface AccountApiInterface {
666
848
  * @memberof AccountApiInterface
667
849
  */
668
850
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
851
+ /**
852
+ * list MinIO service account access keys
853
+ * @summary List MinIO access keys
854
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
855
+ * @param {*} [options] Override http request option.
856
+ * @throws {RequiredError}
857
+ * @memberof AccountApiInterface
858
+ */
859
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
669
860
  /**
670
861
  * lock an account in cluster
671
862
  * @summary Lock cluster account
@@ -729,6 +920,15 @@ export interface AccountApiInterface {
729
920
  * @memberof AccountApiInterface
730
921
  */
731
922
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
923
+ /**
924
+ * update a MinIO service account access key
925
+ * @summary Update MinIO access key
926
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
927
+ * @param {*} [options] Override http request option.
928
+ * @throws {RequiredError}
929
+ * @memberof AccountApiInterface
930
+ */
931
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
732
932
  }
733
933
  /**
734
934
  * Request parameters for createAccount operation in AccountApi.
@@ -811,6 +1011,37 @@ export interface AccountApiCreateRabbitAccountRequest {
811
1011
  */
812
1012
  readonly rbmqAccountRequest: RbmqAccountRequest;
813
1013
  }
1014
+ /**
1015
+ * Request parameters for createServiceAccount operation in AccountApi.
1016
+ * @export
1017
+ * @interface AccountApiCreateServiceAccountRequest
1018
+ */
1019
+ export interface AccountApiCreateServiceAccountRequest {
1020
+ /**
1021
+ * name of the engine
1022
+ * @type {string}
1023
+ * @memberof AccountApiCreateServiceAccount
1024
+ */
1025
+ readonly engineName: string;
1026
+ /**
1027
+ * name of the organization
1028
+ * @type {string}
1029
+ * @memberof AccountApiCreateServiceAccount
1030
+ */
1031
+ readonly orgName: string;
1032
+ /**
1033
+ * name of the cluster
1034
+ * @type {string}
1035
+ * @memberof AccountApiCreateServiceAccount
1036
+ */
1037
+ readonly clusterName: string;
1038
+ /**
1039
+ *
1040
+ * @type {DmsServiceAccountCreateRequest}
1041
+ * @memberof AccountApiCreateServiceAccount
1042
+ */
1043
+ readonly body: DmsServiceAccountCreateRequest;
1044
+ }
814
1045
  /**
815
1046
  * Request parameters for deleteAccount operation in AccountApi.
816
1047
  * @export
@@ -917,6 +1148,37 @@ export interface AccountApiDeleteRabbitAccountRequest {
917
1148
  */
918
1149
  readonly accountName: string;
919
1150
  }
1151
+ /**
1152
+ * Request parameters for deleteServiceAccount operation in AccountApi.
1153
+ * @export
1154
+ * @interface AccountApiDeleteServiceAccountRequest
1155
+ */
1156
+ export interface AccountApiDeleteServiceAccountRequest {
1157
+ /**
1158
+ * name of the engine
1159
+ * @type {string}
1160
+ * @memberof AccountApiDeleteServiceAccount
1161
+ */
1162
+ readonly engineName: string;
1163
+ /**
1164
+ * name of the organization
1165
+ * @type {string}
1166
+ * @memberof AccountApiDeleteServiceAccount
1167
+ */
1168
+ readonly orgName: string;
1169
+ /**
1170
+ * name of the cluster
1171
+ * @type {string}
1172
+ * @memberof AccountApiDeleteServiceAccount
1173
+ */
1174
+ readonly clusterName: string;
1175
+ /**
1176
+ * MinIO access key
1177
+ * @type {string}
1178
+ * @memberof AccountApiDeleteServiceAccount
1179
+ */
1180
+ readonly accessKey: string;
1181
+ }
920
1182
  /**
921
1183
  * Request parameters for getRootAccountPassword operation in AccountApi.
922
1184
  * @export
@@ -954,6 +1216,37 @@ export interface AccountApiGetRootAccountPasswordRequest {
954
1216
  */
955
1217
  readonly component?: string;
956
1218
  }
1219
+ /**
1220
+ * Request parameters for getServiceAccount operation in AccountApi.
1221
+ * @export
1222
+ * @interface AccountApiGetServiceAccountRequest
1223
+ */
1224
+ export interface AccountApiGetServiceAccountRequest {
1225
+ /**
1226
+ * name of the engine
1227
+ * @type {string}
1228
+ * @memberof AccountApiGetServiceAccount
1229
+ */
1230
+ readonly engineName: string;
1231
+ /**
1232
+ * name of the organization
1233
+ * @type {string}
1234
+ * @memberof AccountApiGetServiceAccount
1235
+ */
1236
+ readonly orgName: string;
1237
+ /**
1238
+ * name of the cluster
1239
+ * @type {string}
1240
+ * @memberof AccountApiGetServiceAccount
1241
+ */
1242
+ readonly clusterName: string;
1243
+ /**
1244
+ * MinIO access key
1245
+ * @type {string}
1246
+ * @memberof AccountApiGetServiceAccount
1247
+ */
1248
+ readonly accessKey: string;
1249
+ }
957
1250
  /**
958
1251
  * Request parameters for listAccounts operation in AccountApi.
959
1252
  * @export
@@ -1017,6 +1310,37 @@ export interface AccountApiListRabbitAccountsRequest {
1017
1310
  */
1018
1311
  readonly clusterName: string;
1019
1312
  }
1313
+ /**
1314
+ * Request parameters for listServiceAccounts operation in AccountApi.
1315
+ * @export
1316
+ * @interface AccountApiListServiceAccountsRequest
1317
+ */
1318
+ export interface AccountApiListServiceAccountsRequest {
1319
+ /**
1320
+ * name of the engine
1321
+ * @type {string}
1322
+ * @memberof AccountApiListServiceAccounts
1323
+ */
1324
+ readonly engineName: string;
1325
+ /**
1326
+ * name of the organization
1327
+ * @type {string}
1328
+ * @memberof AccountApiListServiceAccounts
1329
+ */
1330
+ readonly orgName: string;
1331
+ /**
1332
+ * name of the cluster
1333
+ * @type {string}
1334
+ * @memberof AccountApiListServiceAccounts
1335
+ */
1336
+ readonly clusterName: string;
1337
+ /**
1338
+ * MinIO user that owns the service accounts
1339
+ * @type {string}
1340
+ * @memberof AccountApiListServiceAccounts
1341
+ */
1342
+ readonly userName?: string;
1343
+ }
1020
1344
  /**
1021
1345
  * Request parameters for lockAccount operation in AccountApi.
1022
1346
  * @export
@@ -1240,6 +1564,43 @@ export interface AccountApiUpdateRabbitAccountPrivilegesRequest {
1240
1564
  */
1241
1565
  readonly rbmqPermission: RbmqPermission;
1242
1566
  }
1567
+ /**
1568
+ * Request parameters for updateServiceAccount operation in AccountApi.
1569
+ * @export
1570
+ * @interface AccountApiUpdateServiceAccountRequest
1571
+ */
1572
+ export interface AccountApiUpdateServiceAccountRequest {
1573
+ /**
1574
+ * name of the engine
1575
+ * @type {string}
1576
+ * @memberof AccountApiUpdateServiceAccount
1577
+ */
1578
+ readonly engineName: string;
1579
+ /**
1580
+ * name of the organization
1581
+ * @type {string}
1582
+ * @memberof AccountApiUpdateServiceAccount
1583
+ */
1584
+ readonly orgName: string;
1585
+ /**
1586
+ * name of the cluster
1587
+ * @type {string}
1588
+ * @memberof AccountApiUpdateServiceAccount
1589
+ */
1590
+ readonly clusterName: string;
1591
+ /**
1592
+ * MinIO access key
1593
+ * @type {string}
1594
+ * @memberof AccountApiUpdateServiceAccount
1595
+ */
1596
+ readonly accessKey: string;
1597
+ /**
1598
+ *
1599
+ * @type {DmsServiceAccountUpdateRequest}
1600
+ * @memberof AccountApiUpdateServiceAccount
1601
+ */
1602
+ readonly body: DmsServiceAccountUpdateRequest;
1603
+ }
1243
1604
  /**
1244
1605
  * AccountApi - object-oriented interface
1245
1606
  * @export
@@ -1274,6 +1635,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1274
1635
  * @memberof AccountApi
1275
1636
  */
1276
1637
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1638
+ /**
1639
+ * create a MinIO service account access key
1640
+ * @summary Create MinIO access key
1641
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
1642
+ * @param {*} [options] Override http request option.
1643
+ * @throws {RequiredError}
1644
+ * @memberof AccountApi
1645
+ */
1646
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
1277
1647
  /**
1278
1648
  * delete an account in cluster
1279
1649
  * @summary Delete cluster account
@@ -1310,6 +1680,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1310
1680
  * @memberof AccountApi
1311
1681
  */
1312
1682
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1683
+ /**
1684
+ * delete a MinIO service account access key
1685
+ * @summary Delete MinIO access key
1686
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
1687
+ * @param {*} [options] Override http request option.
1688
+ * @throws {RequiredError}
1689
+ * @memberof AccountApi
1690
+ */
1691
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1313
1692
  /**
1314
1693
  * get root account password
1315
1694
  * @summary get root account password
@@ -1319,6 +1698,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1319
1698
  * @memberof AccountApi
1320
1699
  */
1321
1700
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
1701
+ /**
1702
+ * get a MinIO service account access key
1703
+ * @summary Get MinIO access key
1704
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
1705
+ * @param {*} [options] Override http request option.
1706
+ * @throws {RequiredError}
1707
+ * @memberof AccountApi
1708
+ */
1709
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
1322
1710
  /**
1323
1711
  * list accounts in cluster
1324
1712
  * @summary List cluster accounts
@@ -1346,6 +1734,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1346
1734
  * @memberof AccountApi
1347
1735
  */
1348
1736
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RbmqAccountsList, any, {}>>;
1737
+ /**
1738
+ * list MinIO service account access keys
1739
+ * @summary List MinIO access keys
1740
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
1741
+ * @param {*} [options] Override http request option.
1742
+ * @throws {RequiredError}
1743
+ * @memberof AccountApi
1744
+ */
1745
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount[], any, {}>>;
1349
1746
  /**
1350
1747
  * lock an account in cluster
1351
1748
  * @summary Lock cluster account
@@ -1409,5 +1806,14 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1409
1806
  * @memberof AccountApi
1410
1807
  */
1411
1808
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1809
+ /**
1810
+ * update a MinIO service account access key
1811
+ * @summary Update MinIO access key
1812
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
1813
+ * @param {*} [options] Override http request option.
1814
+ * @throws {RequiredError}
1815
+ * @memberof AccountApi
1816
+ */
1817
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
1412
1818
  }
1413
1819
  //# sourceMappingURL=account-api.d.ts.map