kb-cloud-client-typescript 2.4.0-alpha.62 → 2.4.0-alpha.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +906 -6
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +981 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/seaweedfs-api.d.ts +951 -0
- package/dist/adminapi/apis/seaweedfs-api.d.ts.map +1 -0
- package/dist/adminapi/apis/seaweedfs-api.js +1045 -0
- package/dist/adminapi/apis/seaweedfs-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +905 -5
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +991 -10
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +3 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +3 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.js +16 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +906 -6
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +981 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/seaweedfs-api.d.ts +951 -0
- package/dist/openapi/apis/seaweedfs-api.d.ts.map +1 -0
- package/dist/openapi/apis/seaweedfs-api.js +1045 -0
- package/dist/openapi/apis/seaweedfs-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +905 -5
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +991 -10
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/openapi/models/index.d.ts +3 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +3 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.js +16 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +1623 -55
- package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
- package/src/adminapi/apis/shared-api.ts +1776 -208
- package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/adminapi/models/index.ts +3 -0
- package/src/adminapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
- package/src/adminapi/models/list-seaweed-fspolicies200-response.ts +33 -0
- package/src/adminapi.yaml +562 -0
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +1623 -55
- package/src/openapi/apis/seaweedfs-api.ts +1644 -0
- package/src/openapi/apis/shared-api.ts +1776 -208
- package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/openapi/models/index.ts +3 -0
- package/src/openapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
- package/src/openapi/models/list-seaweed-fspolicies200-response.ts +33 -0
- package/src/openapi.yaml +562 -0
|
@@ -14,9 +14,11 @@ 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 { BindSeaweedFSPoliciesRequest } from '../models';
|
|
17
18
|
import type { DmsServiceAccount } from '../models';
|
|
18
19
|
import type { DmsServiceAccountCreateRequest } from '../models';
|
|
19
20
|
import type { DmsServiceAccountUpdateRequest } from '../models';
|
|
21
|
+
import type { ListSeaweedFSPolicies200Response } from '../models';
|
|
20
22
|
import type { MilvusAccountPassword } from '../models';
|
|
21
23
|
import type { MilvusAccountRoles } from '../models';
|
|
22
24
|
import type { MilvusRole } from '../models';
|
|
@@ -33,6 +35,17 @@ import type { RbmqPermission } from '../models';
|
|
|
33
35
|
* @export
|
|
34
36
|
*/
|
|
35
37
|
export declare const AccountApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
38
|
+
/**
|
|
39
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
40
|
+
* @summary bindSeaweedFSPolicies
|
|
41
|
+
* @param {string} orgName
|
|
42
|
+
* @param {string} clusterName
|
|
43
|
+
* @param {string} accountName
|
|
44
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
bindSeaweedFSPolicies: (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
49
|
/**
|
|
37
50
|
* create an account in cluster
|
|
38
51
|
* @summary Create cluster account
|
|
@@ -94,6 +107,27 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
|
|
|
94
107
|
* @throws {RequiredError}
|
|
95
108
|
*/
|
|
96
109
|
createRabbitAccount: (orgName: string, clusterName: string, rbmqAccountRequest: RbmqAccountRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
|
+
/**
|
|
111
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
112
|
+
* @summary createSeaweedFSAccessKey
|
|
113
|
+
* @param {string} orgName
|
|
114
|
+
* @param {string} clusterName
|
|
115
|
+
* @param {string} accountName
|
|
116
|
+
* @param {Account} account
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
createSeaweedFSAccessKey: (orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
121
|
+
/**
|
|
122
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
123
|
+
* @summary createSeaweedFSAccount
|
|
124
|
+
* @param {string} orgName name of the organization
|
|
125
|
+
* @param {string} clusterName name of the cluster
|
|
126
|
+
* @param {Account} body
|
|
127
|
+
* @param {*} [options] Override http request option.
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
createSeaweedFSAccount: (orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
97
131
|
/**
|
|
98
132
|
* create a MinIO service account access key
|
|
99
133
|
* @summary Create MinIO access key
|
|
@@ -176,6 +210,37 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
|
|
|
176
210
|
* @throws {RequiredError}
|
|
177
211
|
*/
|
|
178
212
|
deleteRabbitAccount: (orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @summary deleteSeaweedFSAccessKey
|
|
216
|
+
* @param {string} orgName
|
|
217
|
+
* @param {string} clusterName
|
|
218
|
+
* @param {string} accountName
|
|
219
|
+
* @param {string} accessKey
|
|
220
|
+
* @param {*} [options] Override http request option.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
deleteSeaweedFSAccessKey: (orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
224
|
+
/**
|
|
225
|
+
* delete an account in cluster
|
|
226
|
+
* @summary deleteSeaweedFSAccount
|
|
227
|
+
* @param {string} orgName name of the organization
|
|
228
|
+
* @param {string} clusterName name of the cluster
|
|
229
|
+
* @param {string} accountName name of the account
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
deleteSeaweedFSAccount: (orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
234
|
+
/**
|
|
235
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
236
|
+
* @summary deleteSeaweedFSPolicy
|
|
237
|
+
* @param {string} orgName
|
|
238
|
+
* @param {string} clusterName
|
|
239
|
+
* @param {string} policyName
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
deleteSeaweedFSPolicy: (orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
179
244
|
/**
|
|
180
245
|
* delete a MinIO service account access key
|
|
181
246
|
* @summary Delete MinIO access key
|
|
@@ -218,6 +283,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
|
|
|
218
283
|
* @throws {RequiredError}
|
|
219
284
|
*/
|
|
220
285
|
getRootAccountPassword: (engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
286
|
+
/**
|
|
287
|
+
* get root account password
|
|
288
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
289
|
+
* @param {string} orgName name of the Org
|
|
290
|
+
* @param {string} clusterName name of the Cluster
|
|
291
|
+
* @param {string} accountName name of the account
|
|
292
|
+
* @param {string} [component] name of the component
|
|
293
|
+
* @param {*} [options] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
*/
|
|
296
|
+
getRootSeaweedFSAccountPassword: (orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
221
297
|
/**
|
|
222
298
|
* get a MinIO service account access key
|
|
223
299
|
* @summary Get MinIO access key
|
|
@@ -275,6 +351,24 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
|
|
|
275
351
|
* @throws {RequiredError}
|
|
276
352
|
*/
|
|
277
353
|
listRabbitAccounts: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
354
|
+
/**
|
|
355
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
356
|
+
* @summary listSeaweedFSAccounts
|
|
357
|
+
* @param {string} orgName name of the organization
|
|
358
|
+
* @param {string} clusterName name of the cluster
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
listSeaweedFSAccounts: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
363
|
+
/**
|
|
364
|
+
*
|
|
365
|
+
* @summary listSeaweedFSPolicies
|
|
366
|
+
* @param {string} orgName
|
|
367
|
+
* @param {string} clusterName
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
*/
|
|
371
|
+
listSeaweedFSPolicies: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
278
372
|
/**
|
|
279
373
|
* list MinIO service account access keys
|
|
280
374
|
* @summary List MinIO access keys
|
|
@@ -297,6 +391,19 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
|
|
|
297
391
|
* @throws {RequiredError}
|
|
298
392
|
*/
|
|
299
393
|
lockAccount: (engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
394
|
+
/**
|
|
395
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
396
|
+
* @summary putSeaweedFSPolicy
|
|
397
|
+
* @param {string} orgName
|
|
398
|
+
* @param {string} clusterName
|
|
399
|
+
* @param {string} policyName
|
|
400
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
putSeaweedFSPolicy: (orgName: string, clusterName: string, policyName: string, requestBody: {
|
|
405
|
+
[key: string]: any;
|
|
406
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
300
407
|
/**
|
|
301
408
|
* unlock an account in cluster
|
|
302
409
|
* @summary Unlock cluster account
|
|
@@ -419,6 +526,28 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
|
|
|
419
526
|
* @throws {RequiredError}
|
|
420
527
|
*/
|
|
421
528
|
updateRabbitAccountPrivileges: (orgName: string, clusterName: string, accountName: string, rbmqPermission: RbmqPermission, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
529
|
+
/**
|
|
530
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
531
|
+
* @summary updateSeaweedFSAccount
|
|
532
|
+
* @param {string} orgName name of the organization
|
|
533
|
+
* @param {string} clusterName name of the cluster
|
|
534
|
+
* @param {string} accountName name of the account
|
|
535
|
+
* @param {Account} body
|
|
536
|
+
* @param {*} [options] Override http request option.
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
*/
|
|
539
|
+
updateSeaweedFSAccount: (orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
540
|
+
/**
|
|
541
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
542
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
543
|
+
* @param {string} orgName name of the Org
|
|
544
|
+
* @param {string} clusterName name of the Cluster
|
|
545
|
+
* @param {string} accountName name of the account
|
|
546
|
+
* @param {Array<PrivilegeListItem>} body
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
*/
|
|
550
|
+
updateSeaweedFSAccountPrivileges: (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
422
551
|
/**
|
|
423
552
|
* update a MinIO service account access key
|
|
424
553
|
* @summary Update MinIO access key
|
|
@@ -437,6 +566,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
|
|
|
437
566
|
* @export
|
|
438
567
|
*/
|
|
439
568
|
export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
569
|
+
/**
|
|
570
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
571
|
+
* @summary bindSeaweedFSPolicies
|
|
572
|
+
* @param {string} orgName
|
|
573
|
+
* @param {string} clusterName
|
|
574
|
+
* @param {string} accountName
|
|
575
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
576
|
+
* @param {*} [options] Override http request option.
|
|
577
|
+
* @throws {RequiredError}
|
|
578
|
+
*/
|
|
579
|
+
bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
440
580
|
/**
|
|
441
581
|
* create an account in cluster
|
|
442
582
|
* @summary Create cluster account
|
|
@@ -498,6 +638,27 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
|
498
638
|
* @throws {RequiredError}
|
|
499
639
|
*/
|
|
500
640
|
createRabbitAccount(orgName: string, clusterName: string, rbmqAccountRequest: RbmqAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
641
|
+
/**
|
|
642
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
643
|
+
* @summary createSeaweedFSAccessKey
|
|
644
|
+
* @param {string} orgName
|
|
645
|
+
* @param {string} clusterName
|
|
646
|
+
* @param {string} accountName
|
|
647
|
+
* @param {Account} account
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
*/
|
|
651
|
+
createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
|
|
652
|
+
/**
|
|
653
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
654
|
+
* @summary createSeaweedFSAccount
|
|
655
|
+
* @param {string} orgName name of the organization
|
|
656
|
+
* @param {string} clusterName name of the cluster
|
|
657
|
+
* @param {Account} body
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
*/
|
|
661
|
+
createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
|
|
501
662
|
/**
|
|
502
663
|
* create a MinIO service account access key
|
|
503
664
|
* @summary Create MinIO access key
|
|
@@ -580,6 +741,37 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
|
580
741
|
* @throws {RequiredError}
|
|
581
742
|
*/
|
|
582
743
|
deleteRabbitAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
744
|
+
/**
|
|
745
|
+
*
|
|
746
|
+
* @summary deleteSeaweedFSAccessKey
|
|
747
|
+
* @param {string} orgName
|
|
748
|
+
* @param {string} clusterName
|
|
749
|
+
* @param {string} accountName
|
|
750
|
+
* @param {string} accessKey
|
|
751
|
+
* @param {*} [options] Override http request option.
|
|
752
|
+
* @throws {RequiredError}
|
|
753
|
+
*/
|
|
754
|
+
deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
755
|
+
/**
|
|
756
|
+
* delete an account in cluster
|
|
757
|
+
* @summary deleteSeaweedFSAccount
|
|
758
|
+
* @param {string} orgName name of the organization
|
|
759
|
+
* @param {string} clusterName name of the cluster
|
|
760
|
+
* @param {string} accountName name of the account
|
|
761
|
+
* @param {*} [options] Override http request option.
|
|
762
|
+
* @throws {RequiredError}
|
|
763
|
+
*/
|
|
764
|
+
deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
765
|
+
/**
|
|
766
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
767
|
+
* @summary deleteSeaweedFSPolicy
|
|
768
|
+
* @param {string} orgName
|
|
769
|
+
* @param {string} clusterName
|
|
770
|
+
* @param {string} policyName
|
|
771
|
+
* @param {*} [options] Override http request option.
|
|
772
|
+
* @throws {RequiredError}
|
|
773
|
+
*/
|
|
774
|
+
deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
583
775
|
/**
|
|
584
776
|
* delete a MinIO service account access key
|
|
585
777
|
* @summary Delete MinIO access key
|
|
@@ -622,6 +814,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
|
622
814
|
* @throws {RequiredError}
|
|
623
815
|
*/
|
|
624
816
|
getRootAccountPassword(engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
817
|
+
/**
|
|
818
|
+
* get root account password
|
|
819
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
820
|
+
* @param {string} orgName name of the Org
|
|
821
|
+
* @param {string} clusterName name of the Cluster
|
|
822
|
+
* @param {string} accountName name of the account
|
|
823
|
+
* @param {string} [component] name of the component
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
*/
|
|
827
|
+
getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
625
828
|
/**
|
|
626
829
|
* get a MinIO service account access key
|
|
627
830
|
* @summary Get MinIO access key
|
|
@@ -679,6 +882,24 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
|
679
882
|
* @throws {RequiredError}
|
|
680
883
|
*/
|
|
681
884
|
listRabbitAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RbmqAccountsList>>;
|
|
885
|
+
/**
|
|
886
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
887
|
+
* @summary listSeaweedFSAccounts
|
|
888
|
+
* @param {string} orgName name of the organization
|
|
889
|
+
* @param {string} clusterName name of the cluster
|
|
890
|
+
* @param {*} [options] Override http request option.
|
|
891
|
+
* @throws {RequiredError}
|
|
892
|
+
*/
|
|
893
|
+
listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>>;
|
|
894
|
+
/**
|
|
895
|
+
*
|
|
896
|
+
* @summary listSeaweedFSPolicies
|
|
897
|
+
* @param {string} orgName
|
|
898
|
+
* @param {string} clusterName
|
|
899
|
+
* @param {*} [options] Override http request option.
|
|
900
|
+
* @throws {RequiredError}
|
|
901
|
+
*/
|
|
902
|
+
listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>>;
|
|
682
903
|
/**
|
|
683
904
|
* list MinIO service account access keys
|
|
684
905
|
* @summary List MinIO access keys
|
|
@@ -701,6 +922,19 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
|
701
922
|
* @throws {RequiredError}
|
|
702
923
|
*/
|
|
703
924
|
lockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
925
|
+
/**
|
|
926
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
927
|
+
* @summary putSeaweedFSPolicy
|
|
928
|
+
* @param {string} orgName
|
|
929
|
+
* @param {string} clusterName
|
|
930
|
+
* @param {string} policyName
|
|
931
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
932
|
+
* @param {*} [options] Override http request option.
|
|
933
|
+
* @throws {RequiredError}
|
|
934
|
+
*/
|
|
935
|
+
putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: {
|
|
936
|
+
[key: string]: any;
|
|
937
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
704
938
|
/**
|
|
705
939
|
* unlock an account in cluster
|
|
706
940
|
* @summary Unlock cluster account
|
|
@@ -823,6 +1057,28 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
|
823
1057
|
* @throws {RequiredError}
|
|
824
1058
|
*/
|
|
825
1059
|
updateRabbitAccountPrivileges(orgName: string, clusterName: string, accountName: string, rbmqPermission: RbmqPermission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
1062
|
+
* @summary updateSeaweedFSAccount
|
|
1063
|
+
* @param {string} orgName name of the organization
|
|
1064
|
+
* @param {string} clusterName name of the cluster
|
|
1065
|
+
* @param {string} accountName name of the account
|
|
1066
|
+
* @param {Account} body
|
|
1067
|
+
* @param {*} [options] Override http request option.
|
|
1068
|
+
* @throws {RequiredError}
|
|
1069
|
+
*/
|
|
1070
|
+
updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
1073
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
1074
|
+
* @param {string} orgName name of the Org
|
|
1075
|
+
* @param {string} clusterName name of the Cluster
|
|
1076
|
+
* @param {string} accountName name of the account
|
|
1077
|
+
* @param {Array<PrivilegeListItem>} body
|
|
1078
|
+
* @param {*} [options] Override http request option.
|
|
1079
|
+
* @throws {RequiredError}
|
|
1080
|
+
*/
|
|
1081
|
+
updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
826
1082
|
/**
|
|
827
1083
|
* update a MinIO service account access key
|
|
828
1084
|
* @summary Update MinIO access key
|
|
@@ -841,6 +1097,14 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
|
|
|
841
1097
|
* @export
|
|
842
1098
|
*/
|
|
843
1099
|
export declare const AccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1100
|
+
/**
|
|
1101
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
1102
|
+
* @summary bindSeaweedFSPolicies
|
|
1103
|
+
* @param {AccountApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
1104
|
+
* @param {*} [options] Override http request option.
|
|
1105
|
+
* @throws {RequiredError}
|
|
1106
|
+
*/
|
|
1107
|
+
bindSeaweedFSPolicies(requestParameters: AccountApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
844
1108
|
/**
|
|
845
1109
|
* create an account in cluster
|
|
846
1110
|
* @summary Create cluster account
|
|
@@ -889,6 +1153,22 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
|
|
|
889
1153
|
* @throws {RequiredError}
|
|
890
1154
|
*/
|
|
891
1155
|
createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
1158
|
+
* @summary createSeaweedFSAccessKey
|
|
1159
|
+
* @param {AccountApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
1160
|
+
* @param {*} [options] Override http request option.
|
|
1161
|
+
* @throws {RequiredError}
|
|
1162
|
+
*/
|
|
1163
|
+
createSeaweedFSAccessKey(requestParameters: AccountApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
1164
|
+
/**
|
|
1165
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
1166
|
+
* @summary createSeaweedFSAccount
|
|
1167
|
+
* @param {AccountApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
1168
|
+
* @param {*} [options] Override http request option.
|
|
1169
|
+
* @throws {RequiredError}
|
|
1170
|
+
*/
|
|
1171
|
+
createSeaweedFSAccount(requestParameters: AccountApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
892
1172
|
/**
|
|
893
1173
|
* create a MinIO service account access key
|
|
894
1174
|
* @summary Create MinIO access key
|
|
@@ -953,6 +1233,30 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
|
|
|
953
1233
|
* @throws {RequiredError}
|
|
954
1234
|
*/
|
|
955
1235
|
deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1236
|
+
/**
|
|
1237
|
+
*
|
|
1238
|
+
* @summary deleteSeaweedFSAccessKey
|
|
1239
|
+
* @param {AccountApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
1240
|
+
* @param {*} [options] Override http request option.
|
|
1241
|
+
* @throws {RequiredError}
|
|
1242
|
+
*/
|
|
1243
|
+
deleteSeaweedFSAccessKey(requestParameters: AccountApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1244
|
+
/**
|
|
1245
|
+
* delete an account in cluster
|
|
1246
|
+
* @summary deleteSeaweedFSAccount
|
|
1247
|
+
* @param {AccountApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
1248
|
+
* @param {*} [options] Override http request option.
|
|
1249
|
+
* @throws {RequiredError}
|
|
1250
|
+
*/
|
|
1251
|
+
deleteSeaweedFSAccount(requestParameters: AccountApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
1254
|
+
* @summary deleteSeaweedFSPolicy
|
|
1255
|
+
* @param {AccountApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
1256
|
+
* @param {*} [options] Override http request option.
|
|
1257
|
+
* @throws {RequiredError}
|
|
1258
|
+
*/
|
|
1259
|
+
deleteSeaweedFSPolicy(requestParameters: AccountApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
956
1260
|
/**
|
|
957
1261
|
* delete a MinIO service account access key
|
|
958
1262
|
* @summary Delete MinIO access key
|
|
@@ -985,6 +1289,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
|
|
|
985
1289
|
* @throws {RequiredError}
|
|
986
1290
|
*/
|
|
987
1291
|
getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
1292
|
+
/**
|
|
1293
|
+
* get root account password
|
|
1294
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
1295
|
+
* @param {AccountApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
1296
|
+
* @param {*} [options] Override http request option.
|
|
1297
|
+
* @throws {RequiredError}
|
|
1298
|
+
*/
|
|
1299
|
+
getRootSeaweedFSAccountPassword(requestParameters: AccountApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
988
1300
|
/**
|
|
989
1301
|
* get a MinIO service account access key
|
|
990
1302
|
* @summary Get MinIO access key
|
|
@@ -1033,6 +1345,22 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
|
|
|
1033
1345
|
* @throws {RequiredError}
|
|
1034
1346
|
*/
|
|
1035
1347
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
|
|
1348
|
+
/**
|
|
1349
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
1350
|
+
* @summary listSeaweedFSAccounts
|
|
1351
|
+
* @param {AccountApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
1352
|
+
* @param {*} [options] Override http request option.
|
|
1353
|
+
* @throws {RequiredError}
|
|
1354
|
+
*/
|
|
1355
|
+
listSeaweedFSAccounts(requestParameters: AccountApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
1356
|
+
/**
|
|
1357
|
+
*
|
|
1358
|
+
* @summary listSeaweedFSPolicies
|
|
1359
|
+
* @param {AccountApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
1360
|
+
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @throws {RequiredError}
|
|
1362
|
+
*/
|
|
1363
|
+
listSeaweedFSPolicies(requestParameters: AccountApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
|
|
1036
1364
|
/**
|
|
1037
1365
|
* list MinIO service account access keys
|
|
1038
1366
|
* @summary List MinIO access keys
|
|
@@ -1049,6 +1377,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
|
|
|
1049
1377
|
* @throws {RequiredError}
|
|
1050
1378
|
*/
|
|
1051
1379
|
lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1380
|
+
/**
|
|
1381
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
1382
|
+
* @summary putSeaweedFSPolicy
|
|
1383
|
+
* @param {AccountApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
1384
|
+
* @param {*} [options] Override http request option.
|
|
1385
|
+
* @throws {RequiredError}
|
|
1386
|
+
*/
|
|
1387
|
+
putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1052
1388
|
/**
|
|
1053
1389
|
* unlock an account in cluster
|
|
1054
1390
|
* @summary Unlock cluster account
|
|
@@ -1137,6 +1473,22 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
|
|
|
1137
1473
|
* @throws {RequiredError}
|
|
1138
1474
|
*/
|
|
1139
1475
|
updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1476
|
+
/**
|
|
1477
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
1478
|
+
* @summary updateSeaweedFSAccount
|
|
1479
|
+
* @param {AccountApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
1480
|
+
* @param {*} [options] Override http request option.
|
|
1481
|
+
* @throws {RequiredError}
|
|
1482
|
+
*/
|
|
1483
|
+
updateSeaweedFSAccount(requestParameters: AccountApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
1484
|
+
/**
|
|
1485
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
1486
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
1487
|
+
* @param {AccountApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
1488
|
+
* @param {*} [options] Override http request option.
|
|
1489
|
+
* @throws {RequiredError}
|
|
1490
|
+
*/
|
|
1491
|
+
updateSeaweedFSAccountPrivileges(requestParameters: AccountApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1140
1492
|
/**
|
|
1141
1493
|
* update a MinIO service account access key
|
|
1142
1494
|
* @summary Update MinIO access key
|
|
@@ -1152,6 +1504,15 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
|
|
|
1152
1504
|
* @interface AccountApi
|
|
1153
1505
|
*/
|
|
1154
1506
|
export interface AccountApiInterface {
|
|
1507
|
+
/**
|
|
1508
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
1509
|
+
* @summary bindSeaweedFSPolicies
|
|
1510
|
+
* @param {AccountApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
1511
|
+
* @param {*} [options] Override http request option.
|
|
1512
|
+
* @throws {RequiredError}
|
|
1513
|
+
* @memberof AccountApiInterface
|
|
1514
|
+
*/
|
|
1515
|
+
bindSeaweedFSPolicies(requestParameters: AccountApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1155
1516
|
/**
|
|
1156
1517
|
* create an account in cluster
|
|
1157
1518
|
* @summary Create cluster account
|
|
@@ -1206,6 +1567,24 @@ export interface AccountApiInterface {
|
|
|
1206
1567
|
* @memberof AccountApiInterface
|
|
1207
1568
|
*/
|
|
1208
1569
|
createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1570
|
+
/**
|
|
1571
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
1572
|
+
* @summary createSeaweedFSAccessKey
|
|
1573
|
+
* @param {AccountApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
1574
|
+
* @param {*} [options] Override http request option.
|
|
1575
|
+
* @throws {RequiredError}
|
|
1576
|
+
* @memberof AccountApiInterface
|
|
1577
|
+
*/
|
|
1578
|
+
createSeaweedFSAccessKey(requestParameters: AccountApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
1579
|
+
/**
|
|
1580
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
1581
|
+
* @summary createSeaweedFSAccount
|
|
1582
|
+
* @param {AccountApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
1583
|
+
* @param {*} [options] Override http request option.
|
|
1584
|
+
* @throws {RequiredError}
|
|
1585
|
+
* @memberof AccountApiInterface
|
|
1586
|
+
*/
|
|
1587
|
+
createSeaweedFSAccount(requestParameters: AccountApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
1209
1588
|
/**
|
|
1210
1589
|
* create a MinIO service account access key
|
|
1211
1590
|
* @summary Create MinIO access key
|
|
@@ -1278,6 +1657,33 @@ export interface AccountApiInterface {
|
|
|
1278
1657
|
* @memberof AccountApiInterface
|
|
1279
1658
|
*/
|
|
1280
1659
|
deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1660
|
+
/**
|
|
1661
|
+
*
|
|
1662
|
+
* @summary deleteSeaweedFSAccessKey
|
|
1663
|
+
* @param {AccountApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
1664
|
+
* @param {*} [options] Override http request option.
|
|
1665
|
+
* @throws {RequiredError}
|
|
1666
|
+
* @memberof AccountApiInterface
|
|
1667
|
+
*/
|
|
1668
|
+
deleteSeaweedFSAccessKey(requestParameters: AccountApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1669
|
+
/**
|
|
1670
|
+
* delete an account in cluster
|
|
1671
|
+
* @summary deleteSeaweedFSAccount
|
|
1672
|
+
* @param {AccountApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
1673
|
+
* @param {*} [options] Override http request option.
|
|
1674
|
+
* @throws {RequiredError}
|
|
1675
|
+
* @memberof AccountApiInterface
|
|
1676
|
+
*/
|
|
1677
|
+
deleteSeaweedFSAccount(requestParameters: AccountApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1678
|
+
/**
|
|
1679
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
1680
|
+
* @summary deleteSeaweedFSPolicy
|
|
1681
|
+
* @param {AccountApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
1682
|
+
* @param {*} [options] Override http request option.
|
|
1683
|
+
* @throws {RequiredError}
|
|
1684
|
+
* @memberof AccountApiInterface
|
|
1685
|
+
*/
|
|
1686
|
+
deleteSeaweedFSPolicy(requestParameters: AccountApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1281
1687
|
/**
|
|
1282
1688
|
* delete a MinIO service account access key
|
|
1283
1689
|
* @summary Delete MinIO access key
|
|
@@ -1314,6 +1720,15 @@ export interface AccountApiInterface {
|
|
|
1314
1720
|
* @memberof AccountApiInterface
|
|
1315
1721
|
*/
|
|
1316
1722
|
getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
1723
|
+
/**
|
|
1724
|
+
* get root account password
|
|
1725
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
1726
|
+
* @param {AccountApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
1727
|
+
* @param {*} [options] Override http request option.
|
|
1728
|
+
* @throws {RequiredError}
|
|
1729
|
+
* @memberof AccountApiInterface
|
|
1730
|
+
*/
|
|
1731
|
+
getRootSeaweedFSAccountPassword(requestParameters: AccountApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
1317
1732
|
/**
|
|
1318
1733
|
* get a MinIO service account access key
|
|
1319
1734
|
* @summary Get MinIO access key
|
|
@@ -1368,6 +1783,24 @@ export interface AccountApiInterface {
|
|
|
1368
1783
|
* @memberof AccountApiInterface
|
|
1369
1784
|
*/
|
|
1370
1785
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
1788
|
+
* @summary listSeaweedFSAccounts
|
|
1789
|
+
* @param {AccountApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
1790
|
+
* @param {*} [options] Override http request option.
|
|
1791
|
+
* @throws {RequiredError}
|
|
1792
|
+
* @memberof AccountApiInterface
|
|
1793
|
+
*/
|
|
1794
|
+
listSeaweedFSAccounts(requestParameters: AccountApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
1795
|
+
/**
|
|
1796
|
+
*
|
|
1797
|
+
* @summary listSeaweedFSPolicies
|
|
1798
|
+
* @param {AccountApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
1799
|
+
* @param {*} [options] Override http request option.
|
|
1800
|
+
* @throws {RequiredError}
|
|
1801
|
+
* @memberof AccountApiInterface
|
|
1802
|
+
*/
|
|
1803
|
+
listSeaweedFSPolicies(requestParameters: AccountApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
|
|
1371
1804
|
/**
|
|
1372
1805
|
* list MinIO service account access keys
|
|
1373
1806
|
* @summary List MinIO access keys
|
|
@@ -1386,6 +1819,15 @@ export interface AccountApiInterface {
|
|
|
1386
1819
|
* @memberof AccountApiInterface
|
|
1387
1820
|
*/
|
|
1388
1821
|
lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1822
|
+
/**
|
|
1823
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
1824
|
+
* @summary putSeaweedFSPolicy
|
|
1825
|
+
* @param {AccountApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
1826
|
+
* @param {*} [options] Override http request option.
|
|
1827
|
+
* @throws {RequiredError}
|
|
1828
|
+
* @memberof AccountApiInterface
|
|
1829
|
+
*/
|
|
1830
|
+
putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1389
1831
|
/**
|
|
1390
1832
|
* unlock an account in cluster
|
|
1391
1833
|
* @summary Unlock cluster account
|
|
@@ -1486,16 +1928,65 @@ export interface AccountApiInterface {
|
|
|
1486
1928
|
*/
|
|
1487
1929
|
updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1488
1930
|
/**
|
|
1489
|
-
*
|
|
1490
|
-
* @summary
|
|
1491
|
-
* @param {
|
|
1931
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
1932
|
+
* @summary updateSeaweedFSAccount
|
|
1933
|
+
* @param {AccountApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
1492
1934
|
* @param {*} [options] Override http request option.
|
|
1493
1935
|
* @throws {RequiredError}
|
|
1494
1936
|
* @memberof AccountApiInterface
|
|
1495
1937
|
*/
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1938
|
+
updateSeaweedFSAccount(requestParameters: AccountApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
1939
|
+
/**
|
|
1940
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
1941
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
1942
|
+
* @param {AccountApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
1943
|
+
* @param {*} [options] Override http request option.
|
|
1944
|
+
* @throws {RequiredError}
|
|
1945
|
+
* @memberof AccountApiInterface
|
|
1946
|
+
*/
|
|
1947
|
+
updateSeaweedFSAccountPrivileges(requestParameters: AccountApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1948
|
+
/**
|
|
1949
|
+
* update a MinIO service account access key
|
|
1950
|
+
* @summary Update MinIO access key
|
|
1951
|
+
* @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
|
|
1952
|
+
* @param {*} [options] Override http request option.
|
|
1953
|
+
* @throws {RequiredError}
|
|
1954
|
+
* @memberof AccountApiInterface
|
|
1955
|
+
*/
|
|
1956
|
+
updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
|
|
1957
|
+
}
|
|
1958
|
+
/**
|
|
1959
|
+
* Request parameters for bindSeaweedFSPolicies operation in AccountApi.
|
|
1960
|
+
* @export
|
|
1961
|
+
* @interface AccountApiBindSeaweedFSPoliciesRequest
|
|
1962
|
+
*/
|
|
1963
|
+
export interface AccountApiBindSeaweedFSPoliciesRequest {
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @type {string}
|
|
1967
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
1968
|
+
*/
|
|
1969
|
+
readonly orgName: string;
|
|
1970
|
+
/**
|
|
1971
|
+
*
|
|
1972
|
+
* @type {string}
|
|
1973
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
1974
|
+
*/
|
|
1975
|
+
readonly clusterName: string;
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @type {string}
|
|
1979
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
1980
|
+
*/
|
|
1981
|
+
readonly accountName: string;
|
|
1982
|
+
/**
|
|
1983
|
+
*
|
|
1984
|
+
* @type {BindSeaweedFSPoliciesRequest}
|
|
1985
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
1986
|
+
*/
|
|
1987
|
+
readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest;
|
|
1988
|
+
}
|
|
1989
|
+
/**
|
|
1499
1990
|
* Request parameters for createAccount operation in AccountApi.
|
|
1500
1991
|
* @export
|
|
1501
1992
|
* @interface AccountApiCreateAccountRequest
|
|
@@ -1651,6 +2142,62 @@ export interface AccountApiCreateRabbitAccountRequest {
|
|
|
1651
2142
|
*/
|
|
1652
2143
|
readonly rbmqAccountRequest: RbmqAccountRequest;
|
|
1653
2144
|
}
|
|
2145
|
+
/**
|
|
2146
|
+
* Request parameters for createSeaweedFSAccessKey operation in AccountApi.
|
|
2147
|
+
* @export
|
|
2148
|
+
* @interface AccountApiCreateSeaweedFSAccessKeyRequest
|
|
2149
|
+
*/
|
|
2150
|
+
export interface AccountApiCreateSeaweedFSAccessKeyRequest {
|
|
2151
|
+
/**
|
|
2152
|
+
*
|
|
2153
|
+
* @type {string}
|
|
2154
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
2155
|
+
*/
|
|
2156
|
+
readonly orgName: string;
|
|
2157
|
+
/**
|
|
2158
|
+
*
|
|
2159
|
+
* @type {string}
|
|
2160
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
2161
|
+
*/
|
|
2162
|
+
readonly clusterName: string;
|
|
2163
|
+
/**
|
|
2164
|
+
*
|
|
2165
|
+
* @type {string}
|
|
2166
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
2167
|
+
*/
|
|
2168
|
+
readonly accountName: string;
|
|
2169
|
+
/**
|
|
2170
|
+
*
|
|
2171
|
+
* @type {Account}
|
|
2172
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
2173
|
+
*/
|
|
2174
|
+
readonly account: Account;
|
|
2175
|
+
}
|
|
2176
|
+
/**
|
|
2177
|
+
* Request parameters for createSeaweedFSAccount operation in AccountApi.
|
|
2178
|
+
* @export
|
|
2179
|
+
* @interface AccountApiCreateSeaweedFSAccountRequest
|
|
2180
|
+
*/
|
|
2181
|
+
export interface AccountApiCreateSeaweedFSAccountRequest {
|
|
2182
|
+
/**
|
|
2183
|
+
* name of the organization
|
|
2184
|
+
* @type {string}
|
|
2185
|
+
* @memberof AccountApiCreateSeaweedFSAccount
|
|
2186
|
+
*/
|
|
2187
|
+
readonly orgName: string;
|
|
2188
|
+
/**
|
|
2189
|
+
* name of the cluster
|
|
2190
|
+
* @type {string}
|
|
2191
|
+
* @memberof AccountApiCreateSeaweedFSAccount
|
|
2192
|
+
*/
|
|
2193
|
+
readonly clusterName: string;
|
|
2194
|
+
/**
|
|
2195
|
+
*
|
|
2196
|
+
* @type {Account}
|
|
2197
|
+
* @memberof AccountApiCreateSeaweedFSAccount
|
|
2198
|
+
*/
|
|
2199
|
+
readonly body: Account;
|
|
2200
|
+
}
|
|
1654
2201
|
/**
|
|
1655
2202
|
* Request parameters for createServiceAccount operation in AccountApi.
|
|
1656
2203
|
* @export
|
|
@@ -1863,6 +2410,87 @@ export interface AccountApiDeleteRabbitAccountRequest {
|
|
|
1863
2410
|
*/
|
|
1864
2411
|
readonly accountName: string;
|
|
1865
2412
|
}
|
|
2413
|
+
/**
|
|
2414
|
+
* Request parameters for deleteSeaweedFSAccessKey operation in AccountApi.
|
|
2415
|
+
* @export
|
|
2416
|
+
* @interface AccountApiDeleteSeaweedFSAccessKeyRequest
|
|
2417
|
+
*/
|
|
2418
|
+
export interface AccountApiDeleteSeaweedFSAccessKeyRequest {
|
|
2419
|
+
/**
|
|
2420
|
+
*
|
|
2421
|
+
* @type {string}
|
|
2422
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
2423
|
+
*/
|
|
2424
|
+
readonly orgName: string;
|
|
2425
|
+
/**
|
|
2426
|
+
*
|
|
2427
|
+
* @type {string}
|
|
2428
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
2429
|
+
*/
|
|
2430
|
+
readonly clusterName: string;
|
|
2431
|
+
/**
|
|
2432
|
+
*
|
|
2433
|
+
* @type {string}
|
|
2434
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
2435
|
+
*/
|
|
2436
|
+
readonly accountName: string;
|
|
2437
|
+
/**
|
|
2438
|
+
*
|
|
2439
|
+
* @type {string}
|
|
2440
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
2441
|
+
*/
|
|
2442
|
+
readonly accessKey: string;
|
|
2443
|
+
}
|
|
2444
|
+
/**
|
|
2445
|
+
* Request parameters for deleteSeaweedFSAccount operation in AccountApi.
|
|
2446
|
+
* @export
|
|
2447
|
+
* @interface AccountApiDeleteSeaweedFSAccountRequest
|
|
2448
|
+
*/
|
|
2449
|
+
export interface AccountApiDeleteSeaweedFSAccountRequest {
|
|
2450
|
+
/**
|
|
2451
|
+
* name of the organization
|
|
2452
|
+
* @type {string}
|
|
2453
|
+
* @memberof AccountApiDeleteSeaweedFSAccount
|
|
2454
|
+
*/
|
|
2455
|
+
readonly orgName: string;
|
|
2456
|
+
/**
|
|
2457
|
+
* name of the cluster
|
|
2458
|
+
* @type {string}
|
|
2459
|
+
* @memberof AccountApiDeleteSeaweedFSAccount
|
|
2460
|
+
*/
|
|
2461
|
+
readonly clusterName: string;
|
|
2462
|
+
/**
|
|
2463
|
+
* name of the account
|
|
2464
|
+
* @type {string}
|
|
2465
|
+
* @memberof AccountApiDeleteSeaweedFSAccount
|
|
2466
|
+
*/
|
|
2467
|
+
readonly accountName: string;
|
|
2468
|
+
}
|
|
2469
|
+
/**
|
|
2470
|
+
* Request parameters for deleteSeaweedFSPolicy operation in AccountApi.
|
|
2471
|
+
* @export
|
|
2472
|
+
* @interface AccountApiDeleteSeaweedFSPolicyRequest
|
|
2473
|
+
*/
|
|
2474
|
+
export interface AccountApiDeleteSeaweedFSPolicyRequest {
|
|
2475
|
+
/**
|
|
2476
|
+
*
|
|
2477
|
+
* @type {string}
|
|
2478
|
+
* @memberof AccountApiDeleteSeaweedFSPolicy
|
|
2479
|
+
*/
|
|
2480
|
+
readonly orgName: string;
|
|
2481
|
+
/**
|
|
2482
|
+
*
|
|
2483
|
+
* @type {string}
|
|
2484
|
+
* @memberof AccountApiDeleteSeaweedFSPolicy
|
|
2485
|
+
*/
|
|
2486
|
+
readonly clusterName: string;
|
|
2487
|
+
/**
|
|
2488
|
+
*
|
|
2489
|
+
* @type {string}
|
|
2490
|
+
* @memberof AccountApiDeleteSeaweedFSPolicy
|
|
2491
|
+
*/
|
|
2492
|
+
readonly policyName: string;
|
|
2493
|
+
}
|
|
1866
2494
|
/**
|
|
1867
2495
|
* Request parameters for deleteServiceAccount operation in AccountApi.
|
|
1868
2496
|
* @export
|
|
@@ -1975,6 +2603,37 @@ export interface AccountApiGetRootAccountPasswordRequest {
|
|
|
1975
2603
|
*/
|
|
1976
2604
|
readonly component?: string;
|
|
1977
2605
|
}
|
|
2606
|
+
/**
|
|
2607
|
+
* Request parameters for getRootSeaweedFSAccountPassword operation in AccountApi.
|
|
2608
|
+
* @export
|
|
2609
|
+
* @interface AccountApiGetRootSeaweedFSAccountPasswordRequest
|
|
2610
|
+
*/
|
|
2611
|
+
export interface AccountApiGetRootSeaweedFSAccountPasswordRequest {
|
|
2612
|
+
/**
|
|
2613
|
+
* name of the Org
|
|
2614
|
+
* @type {string}
|
|
2615
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
2616
|
+
*/
|
|
2617
|
+
readonly orgName: string;
|
|
2618
|
+
/**
|
|
2619
|
+
* name of the Cluster
|
|
2620
|
+
* @type {string}
|
|
2621
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
2622
|
+
*/
|
|
2623
|
+
readonly clusterName: string;
|
|
2624
|
+
/**
|
|
2625
|
+
* name of the account
|
|
2626
|
+
* @type {string}
|
|
2627
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
2628
|
+
*/
|
|
2629
|
+
readonly accountName: string;
|
|
2630
|
+
/**
|
|
2631
|
+
* name of the component
|
|
2632
|
+
* @type {string}
|
|
2633
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
2634
|
+
*/
|
|
2635
|
+
readonly component?: string;
|
|
2636
|
+
}
|
|
1978
2637
|
/**
|
|
1979
2638
|
* Request parameters for getServiceAccount operation in AccountApi.
|
|
1980
2639
|
* @export
|
|
@@ -2107,6 +2766,44 @@ export interface AccountApiListRabbitAccountsRequest {
|
|
|
2107
2766
|
*/
|
|
2108
2767
|
readonly clusterName: string;
|
|
2109
2768
|
}
|
|
2769
|
+
/**
|
|
2770
|
+
* Request parameters for listSeaweedFSAccounts operation in AccountApi.
|
|
2771
|
+
* @export
|
|
2772
|
+
* @interface AccountApiListSeaweedFSAccountsRequest
|
|
2773
|
+
*/
|
|
2774
|
+
export interface AccountApiListSeaweedFSAccountsRequest {
|
|
2775
|
+
/**
|
|
2776
|
+
* name of the organization
|
|
2777
|
+
* @type {string}
|
|
2778
|
+
* @memberof AccountApiListSeaweedFSAccounts
|
|
2779
|
+
*/
|
|
2780
|
+
readonly orgName: string;
|
|
2781
|
+
/**
|
|
2782
|
+
* name of the cluster
|
|
2783
|
+
* @type {string}
|
|
2784
|
+
* @memberof AccountApiListSeaweedFSAccounts
|
|
2785
|
+
*/
|
|
2786
|
+
readonly clusterName: string;
|
|
2787
|
+
}
|
|
2788
|
+
/**
|
|
2789
|
+
* Request parameters for listSeaweedFSPolicies operation in AccountApi.
|
|
2790
|
+
* @export
|
|
2791
|
+
* @interface AccountApiListSeaweedFSPoliciesRequest
|
|
2792
|
+
*/
|
|
2793
|
+
export interface AccountApiListSeaweedFSPoliciesRequest {
|
|
2794
|
+
/**
|
|
2795
|
+
*
|
|
2796
|
+
* @type {string}
|
|
2797
|
+
* @memberof AccountApiListSeaweedFSPolicies
|
|
2798
|
+
*/
|
|
2799
|
+
readonly orgName: string;
|
|
2800
|
+
/**
|
|
2801
|
+
*
|
|
2802
|
+
* @type {string}
|
|
2803
|
+
* @memberof AccountApiListSeaweedFSPolicies
|
|
2804
|
+
*/
|
|
2805
|
+
readonly clusterName: string;
|
|
2806
|
+
}
|
|
2110
2807
|
/**
|
|
2111
2808
|
* Request parameters for listServiceAccounts operation in AccountApi.
|
|
2112
2809
|
* @export
|
|
@@ -2169,6 +2866,39 @@ export interface AccountApiLockAccountRequest {
|
|
|
2169
2866
|
*/
|
|
2170
2867
|
readonly accountName: string;
|
|
2171
2868
|
}
|
|
2869
|
+
/**
|
|
2870
|
+
* Request parameters for putSeaweedFSPolicy operation in AccountApi.
|
|
2871
|
+
* @export
|
|
2872
|
+
* @interface AccountApiPutSeaweedFSPolicyRequest
|
|
2873
|
+
*/
|
|
2874
|
+
export interface AccountApiPutSeaweedFSPolicyRequest {
|
|
2875
|
+
/**
|
|
2876
|
+
*
|
|
2877
|
+
* @type {string}
|
|
2878
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
2879
|
+
*/
|
|
2880
|
+
readonly orgName: string;
|
|
2881
|
+
/**
|
|
2882
|
+
*
|
|
2883
|
+
* @type {string}
|
|
2884
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
2885
|
+
*/
|
|
2886
|
+
readonly clusterName: string;
|
|
2887
|
+
/**
|
|
2888
|
+
*
|
|
2889
|
+
* @type {string}
|
|
2890
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
2891
|
+
*/
|
|
2892
|
+
readonly policyName: string;
|
|
2893
|
+
/**
|
|
2894
|
+
*
|
|
2895
|
+
* @type {{ [key: string]: any; }}
|
|
2896
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
2897
|
+
*/
|
|
2898
|
+
readonly requestBody: {
|
|
2899
|
+
[key: string]: any;
|
|
2900
|
+
};
|
|
2901
|
+
}
|
|
2172
2902
|
/**
|
|
2173
2903
|
* Request parameters for unlockAccount operation in AccountApi.
|
|
2174
2904
|
* @export
|
|
@@ -2516,6 +3246,68 @@ export interface AccountApiUpdateRabbitAccountPrivilegesRequest {
|
|
|
2516
3246
|
*/
|
|
2517
3247
|
readonly rbmqPermission: RbmqPermission;
|
|
2518
3248
|
}
|
|
3249
|
+
/**
|
|
3250
|
+
* Request parameters for updateSeaweedFSAccount operation in AccountApi.
|
|
3251
|
+
* @export
|
|
3252
|
+
* @interface AccountApiUpdateSeaweedFSAccountRequest
|
|
3253
|
+
*/
|
|
3254
|
+
export interface AccountApiUpdateSeaweedFSAccountRequest {
|
|
3255
|
+
/**
|
|
3256
|
+
* name of the organization
|
|
3257
|
+
* @type {string}
|
|
3258
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
3259
|
+
*/
|
|
3260
|
+
readonly orgName: string;
|
|
3261
|
+
/**
|
|
3262
|
+
* name of the cluster
|
|
3263
|
+
* @type {string}
|
|
3264
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
3265
|
+
*/
|
|
3266
|
+
readonly clusterName: string;
|
|
3267
|
+
/**
|
|
3268
|
+
* name of the account
|
|
3269
|
+
* @type {string}
|
|
3270
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
3271
|
+
*/
|
|
3272
|
+
readonly accountName: string;
|
|
3273
|
+
/**
|
|
3274
|
+
*
|
|
3275
|
+
* @type {Account}
|
|
3276
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
3277
|
+
*/
|
|
3278
|
+
readonly body: Account;
|
|
3279
|
+
}
|
|
3280
|
+
/**
|
|
3281
|
+
* Request parameters for updateSeaweedFSAccountPrivileges operation in AccountApi.
|
|
3282
|
+
* @export
|
|
3283
|
+
* @interface AccountApiUpdateSeaweedFSAccountPrivilegesRequest
|
|
3284
|
+
*/
|
|
3285
|
+
export interface AccountApiUpdateSeaweedFSAccountPrivilegesRequest {
|
|
3286
|
+
/**
|
|
3287
|
+
* name of the Org
|
|
3288
|
+
* @type {string}
|
|
3289
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
3290
|
+
*/
|
|
3291
|
+
readonly orgName: string;
|
|
3292
|
+
/**
|
|
3293
|
+
* name of the Cluster
|
|
3294
|
+
* @type {string}
|
|
3295
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
3296
|
+
*/
|
|
3297
|
+
readonly clusterName: string;
|
|
3298
|
+
/**
|
|
3299
|
+
* name of the account
|
|
3300
|
+
* @type {string}
|
|
3301
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
3302
|
+
*/
|
|
3303
|
+
readonly accountName: string;
|
|
3304
|
+
/**
|
|
3305
|
+
*
|
|
3306
|
+
* @type {Array<PrivilegeListItem>}
|
|
3307
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
3308
|
+
*/
|
|
3309
|
+
readonly body: Array<PrivilegeListItem>;
|
|
3310
|
+
}
|
|
2519
3311
|
/**
|
|
2520
3312
|
* Request parameters for updateServiceAccount operation in AccountApi.
|
|
2521
3313
|
* @export
|
|
@@ -2560,6 +3352,15 @@ export interface AccountApiUpdateServiceAccountRequest {
|
|
|
2560
3352
|
* @extends {BaseAPI}
|
|
2561
3353
|
*/
|
|
2562
3354
|
export declare class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
3355
|
+
/**
|
|
3356
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
3357
|
+
* @summary bindSeaweedFSPolicies
|
|
3358
|
+
* @param {AccountApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
3359
|
+
* @param {*} [options] Override http request option.
|
|
3360
|
+
* @throws {RequiredError}
|
|
3361
|
+
* @memberof AccountApi
|
|
3362
|
+
*/
|
|
3363
|
+
bindSeaweedFSPolicies(requestParameters: AccountApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2563
3364
|
/**
|
|
2564
3365
|
* create an account in cluster
|
|
2565
3366
|
* @summary Create cluster account
|
|
@@ -2614,6 +3415,24 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
2614
3415
|
* @memberof AccountApi
|
|
2615
3416
|
*/
|
|
2616
3417
|
createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3418
|
+
/**
|
|
3419
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
3420
|
+
* @summary createSeaweedFSAccessKey
|
|
3421
|
+
* @param {AccountApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
3422
|
+
* @param {*} [options] Override http request option.
|
|
3423
|
+
* @throws {RequiredError}
|
|
3424
|
+
* @memberof AccountApi
|
|
3425
|
+
*/
|
|
3426
|
+
createSeaweedFSAccessKey(requestParameters: AccountApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
|
|
3427
|
+
/**
|
|
3428
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
3429
|
+
* @summary createSeaweedFSAccount
|
|
3430
|
+
* @param {AccountApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3431
|
+
* @param {*} [options] Override http request option.
|
|
3432
|
+
* @throws {RequiredError}
|
|
3433
|
+
* @memberof AccountApi
|
|
3434
|
+
*/
|
|
3435
|
+
createSeaweedFSAccount(requestParameters: AccountApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
|
|
2617
3436
|
/**
|
|
2618
3437
|
* create a MinIO service account access key
|
|
2619
3438
|
* @summary Create MinIO access key
|
|
@@ -2686,6 +3505,33 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
2686
3505
|
* @memberof AccountApi
|
|
2687
3506
|
*/
|
|
2688
3507
|
deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3508
|
+
/**
|
|
3509
|
+
*
|
|
3510
|
+
* @summary deleteSeaweedFSAccessKey
|
|
3511
|
+
* @param {AccountApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
3512
|
+
* @param {*} [options] Override http request option.
|
|
3513
|
+
* @throws {RequiredError}
|
|
3514
|
+
* @memberof AccountApi
|
|
3515
|
+
*/
|
|
3516
|
+
deleteSeaweedFSAccessKey(requestParameters: AccountApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3517
|
+
/**
|
|
3518
|
+
* delete an account in cluster
|
|
3519
|
+
* @summary deleteSeaweedFSAccount
|
|
3520
|
+
* @param {AccountApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3521
|
+
* @param {*} [options] Override http request option.
|
|
3522
|
+
* @throws {RequiredError}
|
|
3523
|
+
* @memberof AccountApi
|
|
3524
|
+
*/
|
|
3525
|
+
deleteSeaweedFSAccount(requestParameters: AccountApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3526
|
+
/**
|
|
3527
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
3528
|
+
* @summary deleteSeaweedFSPolicy
|
|
3529
|
+
* @param {AccountApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
3530
|
+
* @param {*} [options] Override http request option.
|
|
3531
|
+
* @throws {RequiredError}
|
|
3532
|
+
* @memberof AccountApi
|
|
3533
|
+
*/
|
|
3534
|
+
deleteSeaweedFSPolicy(requestParameters: AccountApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2689
3535
|
/**
|
|
2690
3536
|
* delete a MinIO service account access key
|
|
2691
3537
|
* @summary Delete MinIO access key
|
|
@@ -2722,6 +3568,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
2722
3568
|
* @memberof AccountApi
|
|
2723
3569
|
*/
|
|
2724
3570
|
getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
3571
|
+
/**
|
|
3572
|
+
* get root account password
|
|
3573
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
3574
|
+
* @param {AccountApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
3575
|
+
* @param {*} [options] Override http request option.
|
|
3576
|
+
* @throws {RequiredError}
|
|
3577
|
+
* @memberof AccountApi
|
|
3578
|
+
*/
|
|
3579
|
+
getRootSeaweedFSAccountPassword(requestParameters: AccountApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
2725
3580
|
/**
|
|
2726
3581
|
* get a MinIO service account access key
|
|
2727
3582
|
* @summary Get MinIO access key
|
|
@@ -2776,6 +3631,24 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
2776
3631
|
* @memberof AccountApi
|
|
2777
3632
|
*/
|
|
2778
3633
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RbmqAccountsList, any, {}>>;
|
|
3634
|
+
/**
|
|
3635
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
3636
|
+
* @summary listSeaweedFSAccounts
|
|
3637
|
+
* @param {AccountApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
3638
|
+
* @param {*} [options] Override http request option.
|
|
3639
|
+
* @throws {RequiredError}
|
|
3640
|
+
* @memberof AccountApi
|
|
3641
|
+
*/
|
|
3642
|
+
listSeaweedFSAccounts(requestParameters: AccountApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountListItem[], any, {}>>;
|
|
3643
|
+
/**
|
|
3644
|
+
*
|
|
3645
|
+
* @summary listSeaweedFSPolicies
|
|
3646
|
+
* @param {AccountApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
3647
|
+
* @param {*} [options] Override http request option.
|
|
3648
|
+
* @throws {RequiredError}
|
|
3649
|
+
* @memberof AccountApi
|
|
3650
|
+
*/
|
|
3651
|
+
listSeaweedFSPolicies(requestParameters: AccountApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSeaweedFSPolicies200Response, any, {}>>;
|
|
2779
3652
|
/**
|
|
2780
3653
|
* list MinIO service account access keys
|
|
2781
3654
|
* @summary List MinIO access keys
|
|
@@ -2794,6 +3667,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
2794
3667
|
* @memberof AccountApi
|
|
2795
3668
|
*/
|
|
2796
3669
|
lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3670
|
+
/**
|
|
3671
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
3672
|
+
* @summary putSeaweedFSPolicy
|
|
3673
|
+
* @param {AccountApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
3674
|
+
* @param {*} [options] Override http request option.
|
|
3675
|
+
* @throws {RequiredError}
|
|
3676
|
+
* @memberof AccountApi
|
|
3677
|
+
*/
|
|
3678
|
+
putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2797
3679
|
/**
|
|
2798
3680
|
* unlock an account in cluster
|
|
2799
3681
|
* @summary Unlock cluster account
|
|
@@ -2893,6 +3775,24 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
2893
3775
|
* @memberof AccountApi
|
|
2894
3776
|
*/
|
|
2895
3777
|
updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3778
|
+
/**
|
|
3779
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
3780
|
+
* @summary updateSeaweedFSAccount
|
|
3781
|
+
* @param {AccountApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3782
|
+
* @param {*} [options] Override http request option.
|
|
3783
|
+
* @throws {RequiredError}
|
|
3784
|
+
* @memberof AccountApi
|
|
3785
|
+
*/
|
|
3786
|
+
updateSeaweedFSAccount(requestParameters: AccountApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
|
|
3787
|
+
/**
|
|
3788
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
3789
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
3790
|
+
* @param {AccountApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
3791
|
+
* @param {*} [options] Override http request option.
|
|
3792
|
+
* @throws {RequiredError}
|
|
3793
|
+
* @memberof AccountApi
|
|
3794
|
+
*/
|
|
3795
|
+
updateSeaweedFSAccountPrivileges(requestParameters: AccountApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2896
3796
|
/**
|
|
2897
3797
|
* update a MinIO service account access key
|
|
2898
3798
|
* @summary Update MinIO access key
|