kb-cloud-client-typescript 2.2.125 → 2.2.127
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 +992 -11
- 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 +992 -11
- 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 +1674 -106
- package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
- package/src/adminapi/apis/shared-api.ts +1914 -346
- 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
|
@@ -28,12 +28,16 @@ import type { Account } from '../models';
|
|
|
28
28
|
// @ts-ignore
|
|
29
29
|
import type { AccountListItem } from '../models';
|
|
30
30
|
// @ts-ignore
|
|
31
|
+
import type { BindSeaweedFSPoliciesRequest } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
31
33
|
import type { DmsServiceAccount } from '../models';
|
|
32
34
|
// @ts-ignore
|
|
33
35
|
import type { DmsServiceAccountCreateRequest } from '../models';
|
|
34
36
|
// @ts-ignore
|
|
35
37
|
import type { DmsServiceAccountUpdateRequest } from '../models';
|
|
36
38
|
// @ts-ignore
|
|
39
|
+
import type { ListSeaweedFSPolicies200Response } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
37
41
|
import type { MilvusAccountPassword } from '../models';
|
|
38
42
|
// @ts-ignore
|
|
39
43
|
import type { MilvusAccountRoles } from '../models';
|
|
@@ -59,6 +63,61 @@ import type { RbmqPermission } from '../models';
|
|
|
59
63
|
*/
|
|
60
64
|
export const AccountApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
61
65
|
return {
|
|
66
|
+
/**
|
|
67
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
68
|
+
* @summary bindSeaweedFSPolicies
|
|
69
|
+
* @param {string} orgName
|
|
70
|
+
* @param {string} clusterName
|
|
71
|
+
* @param {string} accountName
|
|
72
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
bindSeaweedFSPolicies: async (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
77
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
78
|
+
assertParamExists('bindSeaweedFSPolicies', 'orgName', orgName)
|
|
79
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
80
|
+
assertParamExists('bindSeaweedFSPolicies', 'clusterName', clusterName)
|
|
81
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
82
|
+
assertParamExists('bindSeaweedFSPolicies', 'accountName', accountName)
|
|
83
|
+
// verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
|
|
84
|
+
assertParamExists('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest)
|
|
85
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
|
|
86
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
87
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
88
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
89
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
90
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91
|
+
let baseOptions;
|
|
92
|
+
if (configuration) {
|
|
93
|
+
baseOptions = configuration.baseOptions;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
97
|
+
const localVarHeaderParameter = {} as any;
|
|
98
|
+
const localVarQueryParameter = {} as any;
|
|
99
|
+
|
|
100
|
+
// authentication BearerToken required
|
|
101
|
+
// http bearer authentication required
|
|
102
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
103
|
+
|
|
104
|
+
// authentication DigestAuth required
|
|
105
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
110
|
+
|
|
111
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
113
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
114
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration)
|
|
115
|
+
|
|
116
|
+
return {
|
|
117
|
+
url: toPathString(localVarUrlObj),
|
|
118
|
+
options: localVarRequestOptions,
|
|
119
|
+
};
|
|
120
|
+
},
|
|
62
121
|
/**
|
|
63
122
|
* create an account in cluster
|
|
64
123
|
* @summary Create cluster account
|
|
@@ -318,6 +377,112 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
318
377
|
options: localVarRequestOptions,
|
|
319
378
|
};
|
|
320
379
|
},
|
|
380
|
+
/**
|
|
381
|
+
* 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.
|
|
382
|
+
* @summary createSeaweedFSAccessKey
|
|
383
|
+
* @param {string} orgName
|
|
384
|
+
* @param {string} clusterName
|
|
385
|
+
* @param {string} accountName
|
|
386
|
+
* @param {Account} account
|
|
387
|
+
* @param {*} [options] Override http request option.
|
|
388
|
+
* @throws {RequiredError}
|
|
389
|
+
*/
|
|
390
|
+
createSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, account: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
391
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
392
|
+
assertParamExists('createSeaweedFSAccessKey', 'orgName', orgName)
|
|
393
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
394
|
+
assertParamExists('createSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
395
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
396
|
+
assertParamExists('createSeaweedFSAccessKey', 'accountName', accountName)
|
|
397
|
+
// verify required parameter 'account' is not null or undefined
|
|
398
|
+
assertParamExists('createSeaweedFSAccessKey', 'account', account)
|
|
399
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
|
|
400
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
401
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
402
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
403
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
404
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
405
|
+
let baseOptions;
|
|
406
|
+
if (configuration) {
|
|
407
|
+
baseOptions = configuration.baseOptions;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
411
|
+
const localVarHeaderParameter = {} as any;
|
|
412
|
+
const localVarQueryParameter = {} as any;
|
|
413
|
+
|
|
414
|
+
// authentication BearerToken required
|
|
415
|
+
// http bearer authentication required
|
|
416
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
417
|
+
|
|
418
|
+
// authentication DigestAuth required
|
|
419
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
424
|
+
|
|
425
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
426
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
427
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
428
|
+
localVarRequestOptions.data = serializeDataIfNeeded(account, localVarRequestOptions, configuration)
|
|
429
|
+
|
|
430
|
+
return {
|
|
431
|
+
url: toPathString(localVarUrlObj),
|
|
432
|
+
options: localVarRequestOptions,
|
|
433
|
+
};
|
|
434
|
+
},
|
|
435
|
+
/**
|
|
436
|
+
* 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.
|
|
437
|
+
* @summary createSeaweedFSAccount
|
|
438
|
+
* @param {string} orgName name of the organization
|
|
439
|
+
* @param {string} clusterName name of the cluster
|
|
440
|
+
* @param {Account} body
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
createSeaweedFSAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
445
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
446
|
+
assertParamExists('createSeaweedFSAccount', 'orgName', orgName)
|
|
447
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
448
|
+
assertParamExists('createSeaweedFSAccount', 'clusterName', clusterName)
|
|
449
|
+
// verify required parameter 'body' is not null or undefined
|
|
450
|
+
assertParamExists('createSeaweedFSAccount', 'body', body)
|
|
451
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
452
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
453
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
454
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
455
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
456
|
+
let baseOptions;
|
|
457
|
+
if (configuration) {
|
|
458
|
+
baseOptions = configuration.baseOptions;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
462
|
+
const localVarHeaderParameter = {} as any;
|
|
463
|
+
const localVarQueryParameter = {} as any;
|
|
464
|
+
|
|
465
|
+
// authentication BearerToken required
|
|
466
|
+
// http bearer authentication required
|
|
467
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
468
|
+
|
|
469
|
+
// authentication DigestAuth required
|
|
470
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
475
|
+
|
|
476
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
477
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
478
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
479
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
480
|
+
|
|
481
|
+
return {
|
|
482
|
+
url: toPathString(localVarUrlObj),
|
|
483
|
+
options: localVarRequestOptions,
|
|
484
|
+
};
|
|
485
|
+
},
|
|
321
486
|
/**
|
|
322
487
|
* create a MinIO service account access key
|
|
323
488
|
* @summary Create MinIO access key
|
|
@@ -714,6 +879,157 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
714
879
|
|
|
715
880
|
|
|
716
881
|
|
|
882
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
883
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
884
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
885
|
+
|
|
886
|
+
return {
|
|
887
|
+
url: toPathString(localVarUrlObj),
|
|
888
|
+
options: localVarRequestOptions,
|
|
889
|
+
};
|
|
890
|
+
},
|
|
891
|
+
/**
|
|
892
|
+
*
|
|
893
|
+
* @summary deleteSeaweedFSAccessKey
|
|
894
|
+
* @param {string} orgName
|
|
895
|
+
* @param {string} clusterName
|
|
896
|
+
* @param {string} accountName
|
|
897
|
+
* @param {string} accessKey
|
|
898
|
+
* @param {*} [options] Override http request option.
|
|
899
|
+
* @throws {RequiredError}
|
|
900
|
+
*/
|
|
901
|
+
deleteSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
902
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
903
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'orgName', orgName)
|
|
904
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
905
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
906
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
907
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accountName', accountName)
|
|
908
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
909
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accessKey', accessKey)
|
|
910
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
|
|
911
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
912
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
913
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
|
|
914
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
915
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
916
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
917
|
+
let baseOptions;
|
|
918
|
+
if (configuration) {
|
|
919
|
+
baseOptions = configuration.baseOptions;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
923
|
+
const localVarHeaderParameter = {} as any;
|
|
924
|
+
const localVarQueryParameter = {} as any;
|
|
925
|
+
|
|
926
|
+
// authentication BearerToken required
|
|
927
|
+
// http bearer authentication required
|
|
928
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
929
|
+
|
|
930
|
+
// authentication DigestAuth required
|
|
931
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
936
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
937
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
938
|
+
|
|
939
|
+
return {
|
|
940
|
+
url: toPathString(localVarUrlObj),
|
|
941
|
+
options: localVarRequestOptions,
|
|
942
|
+
};
|
|
943
|
+
},
|
|
944
|
+
/**
|
|
945
|
+
* delete an account in cluster
|
|
946
|
+
* @summary deleteSeaweedFSAccount
|
|
947
|
+
* @param {string} orgName name of the organization
|
|
948
|
+
* @param {string} clusterName name of the cluster
|
|
949
|
+
* @param {string} accountName name of the account
|
|
950
|
+
* @param {*} [options] Override http request option.
|
|
951
|
+
* @throws {RequiredError}
|
|
952
|
+
*/
|
|
953
|
+
deleteSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
954
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
955
|
+
assertParamExists('deleteSeaweedFSAccount', 'orgName', orgName)
|
|
956
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
957
|
+
assertParamExists('deleteSeaweedFSAccount', 'clusterName', clusterName)
|
|
958
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
959
|
+
assertParamExists('deleteSeaweedFSAccount', 'accountName', accountName)
|
|
960
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
961
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
962
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
963
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
964
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
965
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
966
|
+
let baseOptions;
|
|
967
|
+
if (configuration) {
|
|
968
|
+
baseOptions = configuration.baseOptions;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
972
|
+
const localVarHeaderParameter = {} as any;
|
|
973
|
+
const localVarQueryParameter = {} as any;
|
|
974
|
+
|
|
975
|
+
// authentication BearerToken required
|
|
976
|
+
// http bearer authentication required
|
|
977
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
978
|
+
|
|
979
|
+
// authentication DigestAuth required
|
|
980
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
985
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
986
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
987
|
+
|
|
988
|
+
return {
|
|
989
|
+
url: toPathString(localVarUrlObj),
|
|
990
|
+
options: localVarRequestOptions,
|
|
991
|
+
};
|
|
992
|
+
},
|
|
993
|
+
/**
|
|
994
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
995
|
+
* @summary deleteSeaweedFSPolicy
|
|
996
|
+
* @param {string} orgName
|
|
997
|
+
* @param {string} clusterName
|
|
998
|
+
* @param {string} policyName
|
|
999
|
+
* @param {*} [options] Override http request option.
|
|
1000
|
+
* @throws {RequiredError}
|
|
1001
|
+
*/
|
|
1002
|
+
deleteSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1003
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1004
|
+
assertParamExists('deleteSeaweedFSPolicy', 'orgName', orgName)
|
|
1005
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1006
|
+
assertParamExists('deleteSeaweedFSPolicy', 'clusterName', clusterName)
|
|
1007
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
1008
|
+
assertParamExists('deleteSeaweedFSPolicy', 'policyName', policyName)
|
|
1009
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
1010
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1011
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1012
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
1013
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1014
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1015
|
+
let baseOptions;
|
|
1016
|
+
if (configuration) {
|
|
1017
|
+
baseOptions = configuration.baseOptions;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
1021
|
+
const localVarHeaderParameter = {} as any;
|
|
1022
|
+
const localVarQueryParameter = {} as any;
|
|
1023
|
+
|
|
1024
|
+
// authentication BearerToken required
|
|
1025
|
+
// http bearer authentication required
|
|
1026
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1027
|
+
|
|
1028
|
+
// authentication DigestAuth required
|
|
1029
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
|
|
717
1033
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
718
1034
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
719
1035
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -932,11 +1248,68 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
932
1248
|
};
|
|
933
1249
|
},
|
|
934
1250
|
/**
|
|
935
|
-
* get
|
|
936
|
-
* @summary
|
|
937
|
-
* @param {string}
|
|
938
|
-
* @param {string}
|
|
939
|
-
* @param {string}
|
|
1251
|
+
* get root account password
|
|
1252
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
1253
|
+
* @param {string} orgName name of the Org
|
|
1254
|
+
* @param {string} clusterName name of the Cluster
|
|
1255
|
+
* @param {string} accountName name of the account
|
|
1256
|
+
* @param {string} [component] name of the component
|
|
1257
|
+
* @param {*} [options] Override http request option.
|
|
1258
|
+
* @throws {RequiredError}
|
|
1259
|
+
*/
|
|
1260
|
+
getRootSeaweedFSAccountPassword: async (orgName: string, clusterName: string, accountName: string, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1261
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1262
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'orgName', orgName)
|
|
1263
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1264
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'clusterName', clusterName)
|
|
1265
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1266
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'accountName', accountName)
|
|
1267
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
1268
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1269
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1270
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1271
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1272
|
+
let baseOptions;
|
|
1273
|
+
if (configuration) {
|
|
1274
|
+
baseOptions = configuration.baseOptions;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1278
|
+
const localVarHeaderParameter = {} as any;
|
|
1279
|
+
const localVarQueryParameter = {} as any;
|
|
1280
|
+
|
|
1281
|
+
// authentication BearerToken required
|
|
1282
|
+
// http bearer authentication required
|
|
1283
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1284
|
+
|
|
1285
|
+
// authentication DigestAuth required
|
|
1286
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1287
|
+
|
|
1288
|
+
if (accountName !== undefined) {
|
|
1289
|
+
localVarQueryParameter['accountName'] = accountName;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
if (component !== undefined) {
|
|
1293
|
+
localVarQueryParameter['component'] = component;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1299
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1300
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1301
|
+
|
|
1302
|
+
return {
|
|
1303
|
+
url: toPathString(localVarUrlObj),
|
|
1304
|
+
options: localVarRequestOptions,
|
|
1305
|
+
};
|
|
1306
|
+
},
|
|
1307
|
+
/**
|
|
1308
|
+
* get a MinIO service account access key
|
|
1309
|
+
* @summary Get MinIO access key
|
|
1310
|
+
* @param {string} engineName name of the engine
|
|
1311
|
+
* @param {string} orgName name of the organization
|
|
1312
|
+
* @param {string} clusterName name of the cluster
|
|
940
1313
|
* @param {string} accessKey MinIO access key
|
|
941
1314
|
* @param {*} [options] Override http request option.
|
|
942
1315
|
* @throws {RequiredError}
|
|
@@ -1204,6 +1577,96 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1204
1577
|
|
|
1205
1578
|
|
|
1206
1579
|
|
|
1580
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1581
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1582
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1583
|
+
|
|
1584
|
+
return {
|
|
1585
|
+
url: toPathString(localVarUrlObj),
|
|
1586
|
+
options: localVarRequestOptions,
|
|
1587
|
+
};
|
|
1588
|
+
},
|
|
1589
|
+
/**
|
|
1590
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
1591
|
+
* @summary listSeaweedFSAccounts
|
|
1592
|
+
* @param {string} orgName name of the organization
|
|
1593
|
+
* @param {string} clusterName name of the cluster
|
|
1594
|
+
* @param {*} [options] Override http request option.
|
|
1595
|
+
* @throws {RequiredError}
|
|
1596
|
+
*/
|
|
1597
|
+
listSeaweedFSAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1598
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1599
|
+
assertParamExists('listSeaweedFSAccounts', 'orgName', orgName)
|
|
1600
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1601
|
+
assertParamExists('listSeaweedFSAccounts', 'clusterName', clusterName)
|
|
1602
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1603
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1604
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1605
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1606
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1607
|
+
let baseOptions;
|
|
1608
|
+
if (configuration) {
|
|
1609
|
+
baseOptions = configuration.baseOptions;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1613
|
+
const localVarHeaderParameter = {} as any;
|
|
1614
|
+
const localVarQueryParameter = {} as any;
|
|
1615
|
+
|
|
1616
|
+
// authentication BearerToken required
|
|
1617
|
+
// http bearer authentication required
|
|
1618
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1619
|
+
|
|
1620
|
+
// authentication DigestAuth required
|
|
1621
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1622
|
+
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1626
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1627
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1628
|
+
|
|
1629
|
+
return {
|
|
1630
|
+
url: toPathString(localVarUrlObj),
|
|
1631
|
+
options: localVarRequestOptions,
|
|
1632
|
+
};
|
|
1633
|
+
},
|
|
1634
|
+
/**
|
|
1635
|
+
*
|
|
1636
|
+
* @summary listSeaweedFSPolicies
|
|
1637
|
+
* @param {string} orgName
|
|
1638
|
+
* @param {string} clusterName
|
|
1639
|
+
* @param {*} [options] Override http request option.
|
|
1640
|
+
* @throws {RequiredError}
|
|
1641
|
+
*/
|
|
1642
|
+
listSeaweedFSPolicies: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1643
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1644
|
+
assertParamExists('listSeaweedFSPolicies', 'orgName', orgName)
|
|
1645
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1646
|
+
assertParamExists('listSeaweedFSPolicies', 'clusterName', clusterName)
|
|
1647
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
|
|
1648
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1649
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1650
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1651
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1652
|
+
let baseOptions;
|
|
1653
|
+
if (configuration) {
|
|
1654
|
+
baseOptions = configuration.baseOptions;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1658
|
+
const localVarHeaderParameter = {} as any;
|
|
1659
|
+
const localVarQueryParameter = {} as any;
|
|
1660
|
+
|
|
1661
|
+
// authentication BearerToken required
|
|
1662
|
+
// http bearer authentication required
|
|
1663
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1664
|
+
|
|
1665
|
+
// authentication DigestAuth required
|
|
1666
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
|
|
1207
1670
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1208
1671
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1209
1672
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1322,6 +1785,61 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1322
1785
|
options: localVarRequestOptions,
|
|
1323
1786
|
};
|
|
1324
1787
|
},
|
|
1788
|
+
/**
|
|
1789
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
1790
|
+
* @summary putSeaweedFSPolicy
|
|
1791
|
+
* @param {string} orgName
|
|
1792
|
+
* @param {string} clusterName
|
|
1793
|
+
* @param {string} policyName
|
|
1794
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1795
|
+
* @param {*} [options] Override http request option.
|
|
1796
|
+
* @throws {RequiredError}
|
|
1797
|
+
*/
|
|
1798
|
+
putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1799
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1800
|
+
assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
|
|
1801
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1802
|
+
assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
|
|
1803
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
1804
|
+
assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
|
|
1805
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
1806
|
+
assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
|
|
1807
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
1808
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1809
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1810
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
1811
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1812
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1813
|
+
let baseOptions;
|
|
1814
|
+
if (configuration) {
|
|
1815
|
+
baseOptions = configuration.baseOptions;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1819
|
+
const localVarHeaderParameter = {} as any;
|
|
1820
|
+
const localVarQueryParameter = {} as any;
|
|
1821
|
+
|
|
1822
|
+
// authentication BearerToken required
|
|
1823
|
+
// http bearer authentication required
|
|
1824
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1825
|
+
|
|
1826
|
+
// authentication DigestAuth required
|
|
1827
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
|
|
1831
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1832
|
+
|
|
1833
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1834
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1835
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1836
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
1837
|
+
|
|
1838
|
+
return {
|
|
1839
|
+
url: toPathString(localVarUrlObj),
|
|
1840
|
+
options: localVarRequestOptions,
|
|
1841
|
+
};
|
|
1842
|
+
},
|
|
1325
1843
|
/**
|
|
1326
1844
|
* update an account in cluster
|
|
1327
1845
|
* @summary update cluster account
|
|
@@ -1820,32 +2338,28 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1820
2338
|
};
|
|
1821
2339
|
},
|
|
1822
2340
|
/**
|
|
1823
|
-
*
|
|
1824
|
-
* @summary
|
|
1825
|
-
* @param {string} engineName name of the engine
|
|
2341
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
2342
|
+
* @summary updateSeaweedFSAccount
|
|
1826
2343
|
* @param {string} orgName name of the organization
|
|
1827
2344
|
* @param {string} clusterName name of the cluster
|
|
1828
|
-
* @param {string}
|
|
1829
|
-
* @param {
|
|
2345
|
+
* @param {string} accountName name of the account
|
|
2346
|
+
* @param {Account} body
|
|
1830
2347
|
* @param {*} [options] Override http request option.
|
|
1831
2348
|
* @throws {RequiredError}
|
|
1832
2349
|
*/
|
|
1833
|
-
|
|
1834
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
1835
|
-
assertParamExists('updateServiceAccount', 'engineName', engineName)
|
|
2350
|
+
updateSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1836
2351
|
// verify required parameter 'orgName' is not null or undefined
|
|
1837
|
-
assertParamExists('
|
|
2352
|
+
assertParamExists('updateSeaweedFSAccount', 'orgName', orgName)
|
|
1838
2353
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1839
|
-
assertParamExists('
|
|
1840
|
-
// verify required parameter '
|
|
1841
|
-
assertParamExists('
|
|
2354
|
+
assertParamExists('updateSeaweedFSAccount', 'clusterName', clusterName)
|
|
2355
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2356
|
+
assertParamExists('updateSeaweedFSAccount', 'accountName', accountName)
|
|
1842
2357
|
// verify required parameter 'body' is not null or undefined
|
|
1843
|
-
assertParamExists('
|
|
1844
|
-
const localVarPath = `/api/v1/data/
|
|
1845
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2358
|
+
assertParamExists('updateSeaweedFSAccount', 'body', body)
|
|
2359
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
1846
2360
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1847
2361
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1848
|
-
.replace(`{${"
|
|
2362
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1849
2363
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1850
2364
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1851
2365
|
let baseOptions;
|
|
@@ -1878,28 +2392,158 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1878
2392
|
options: localVarRequestOptions,
|
|
1879
2393
|
};
|
|
1880
2394
|
},
|
|
1881
|
-
|
|
1882
|
-
|
|
2395
|
+
/**
|
|
2396
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
2397
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
2398
|
+
* @param {string} orgName name of the Org
|
|
2399
|
+
* @param {string} clusterName name of the Cluster
|
|
2400
|
+
* @param {string} accountName name of the account
|
|
2401
|
+
* @param {Array<PrivilegeListItem>} body
|
|
2402
|
+
* @param {*} [options] Override http request option.
|
|
2403
|
+
* @throws {RequiredError}
|
|
2404
|
+
*/
|
|
2405
|
+
updateSeaweedFSAccountPrivileges: async (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2406
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2407
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'orgName', orgName)
|
|
2408
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2409
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName)
|
|
2410
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2411
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'accountName', accountName)
|
|
2412
|
+
// verify required parameter 'body' is not null or undefined
|
|
2413
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'body', body)
|
|
2414
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
|
|
2415
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2416
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2417
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
2418
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2419
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2420
|
+
let baseOptions;
|
|
2421
|
+
if (configuration) {
|
|
2422
|
+
baseOptions = configuration.baseOptions;
|
|
2423
|
+
}
|
|
1883
2424
|
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
2425
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
2426
|
+
const localVarHeaderParameter = {} as any;
|
|
2427
|
+
const localVarQueryParameter = {} as any;
|
|
2428
|
+
|
|
2429
|
+
// authentication BearerToken required
|
|
2430
|
+
// http bearer authentication required
|
|
2431
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2432
|
+
|
|
2433
|
+
// authentication DigestAuth required
|
|
2434
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
|
|
2438
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2439
|
+
|
|
2440
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2441
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2442
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2443
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2444
|
+
|
|
2445
|
+
return {
|
|
2446
|
+
url: toPathString(localVarUrlObj),
|
|
2447
|
+
options: localVarRequestOptions,
|
|
2448
|
+
};
|
|
2449
|
+
},
|
|
1891
2450
|
/**
|
|
1892
|
-
*
|
|
1893
|
-
* @summary
|
|
2451
|
+
* update a MinIO service account access key
|
|
2452
|
+
* @summary Update MinIO access key
|
|
1894
2453
|
* @param {string} engineName name of the engine
|
|
1895
2454
|
* @param {string} orgName name of the organization
|
|
1896
2455
|
* @param {string} clusterName name of the cluster
|
|
1897
|
-
* @param {
|
|
2456
|
+
* @param {string} accessKey MinIO access key
|
|
2457
|
+
* @param {DmsServiceAccountUpdateRequest} body
|
|
1898
2458
|
* @param {*} [options] Override http request option.
|
|
1899
2459
|
* @throws {RequiredError}
|
|
1900
2460
|
*/
|
|
1901
|
-
async
|
|
1902
|
-
|
|
2461
|
+
updateServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2462
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2463
|
+
assertParamExists('updateServiceAccount', 'engineName', engineName)
|
|
2464
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2465
|
+
assertParamExists('updateServiceAccount', 'orgName', orgName)
|
|
2466
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2467
|
+
assertParamExists('updateServiceAccount', 'clusterName', clusterName)
|
|
2468
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
2469
|
+
assertParamExists('updateServiceAccount', 'accessKey', accessKey)
|
|
2470
|
+
// verify required parameter 'body' is not null or undefined
|
|
2471
|
+
assertParamExists('updateServiceAccount', 'body', body)
|
|
2472
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
2473
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2474
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2475
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2476
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
2477
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2478
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2479
|
+
let baseOptions;
|
|
2480
|
+
if (configuration) {
|
|
2481
|
+
baseOptions = configuration.baseOptions;
|
|
2482
|
+
}
|
|
2483
|
+
|
|
2484
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
2485
|
+
const localVarHeaderParameter = {} as any;
|
|
2486
|
+
const localVarQueryParameter = {} as any;
|
|
2487
|
+
|
|
2488
|
+
// authentication BearerToken required
|
|
2489
|
+
// http bearer authentication required
|
|
2490
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2491
|
+
|
|
2492
|
+
// authentication DigestAuth required
|
|
2493
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
|
|
2497
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2498
|
+
|
|
2499
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2500
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2501
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2502
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2503
|
+
|
|
2504
|
+
return {
|
|
2505
|
+
url: toPathString(localVarUrlObj),
|
|
2506
|
+
options: localVarRequestOptions,
|
|
2507
|
+
};
|
|
2508
|
+
},
|
|
2509
|
+
}
|
|
2510
|
+
};
|
|
2511
|
+
|
|
2512
|
+
/**
|
|
2513
|
+
* AccountApi - functional programming interface
|
|
2514
|
+
* @export
|
|
2515
|
+
*/
|
|
2516
|
+
export const AccountApiFp = function(configuration?: Configuration) {
|
|
2517
|
+
const localVarAxiosParamCreator = AccountApiAxiosParamCreator(configuration)
|
|
2518
|
+
return {
|
|
2519
|
+
/**
|
|
2520
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
2521
|
+
* @summary bindSeaweedFSPolicies
|
|
2522
|
+
* @param {string} orgName
|
|
2523
|
+
* @param {string} clusterName
|
|
2524
|
+
* @param {string} accountName
|
|
2525
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
2526
|
+
* @param {*} [options] Override http request option.
|
|
2527
|
+
* @throws {RequiredError}
|
|
2528
|
+
*/
|
|
2529
|
+
async bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2530
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
|
|
2531
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2532
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.bindSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
2533
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2534
|
+
},
|
|
2535
|
+
/**
|
|
2536
|
+
* create an account in cluster
|
|
2537
|
+
* @summary Create cluster account
|
|
2538
|
+
* @param {string} engineName name of the engine
|
|
2539
|
+
* @param {string} orgName name of the organization
|
|
2540
|
+
* @param {string} clusterName name of the cluster
|
|
2541
|
+
* @param {Account} body
|
|
2542
|
+
* @param {*} [options] Override http request option.
|
|
2543
|
+
* @throws {RequiredError}
|
|
2544
|
+
*/
|
|
2545
|
+
async createAccount(engineName: string, orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
2546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAccount(engineName, orgName, clusterName, body, options);
|
|
1903
2547
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1904
2548
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.createAccount']?.[localVarOperationServerIndex]?.url;
|
|
1905
2549
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1964,6 +2608,37 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1964
2608
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.createRabbitAccount']?.[localVarOperationServerIndex]?.url;
|
|
1965
2609
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1966
2610
|
},
|
|
2611
|
+
/**
|
|
2612
|
+
* 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.
|
|
2613
|
+
* @summary createSeaweedFSAccessKey
|
|
2614
|
+
* @param {string} orgName
|
|
2615
|
+
* @param {string} clusterName
|
|
2616
|
+
* @param {string} accountName
|
|
2617
|
+
* @param {Account} account
|
|
2618
|
+
* @param {*} [options] Override http request option.
|
|
2619
|
+
* @throws {RequiredError}
|
|
2620
|
+
*/
|
|
2621
|
+
async createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
2622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
|
|
2623
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2624
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.createSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
2625
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2626
|
+
},
|
|
2627
|
+
/**
|
|
2628
|
+
* 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.
|
|
2629
|
+
* @summary createSeaweedFSAccount
|
|
2630
|
+
* @param {string} orgName name of the organization
|
|
2631
|
+
* @param {string} clusterName name of the cluster
|
|
2632
|
+
* @param {Account} body
|
|
2633
|
+
* @param {*} [options] Override http request option.
|
|
2634
|
+
* @throws {RequiredError}
|
|
2635
|
+
*/
|
|
2636
|
+
async createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
2637
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
|
|
2638
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2639
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.createSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
2640
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2641
|
+
},
|
|
1967
2642
|
/**
|
|
1968
2643
|
* create a MinIO service account access key
|
|
1969
2644
|
* @summary Create MinIO access key
|
|
@@ -2086,6 +2761,52 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2086
2761
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteRabbitAccount']?.[localVarOperationServerIndex]?.url;
|
|
2087
2762
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2088
2763
|
},
|
|
2764
|
+
/**
|
|
2765
|
+
*
|
|
2766
|
+
* @summary deleteSeaweedFSAccessKey
|
|
2767
|
+
* @param {string} orgName
|
|
2768
|
+
* @param {string} clusterName
|
|
2769
|
+
* @param {string} accountName
|
|
2770
|
+
* @param {string} accessKey
|
|
2771
|
+
* @param {*} [options] Override http request option.
|
|
2772
|
+
* @throws {RequiredError}
|
|
2773
|
+
*/
|
|
2774
|
+
async deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2775
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
|
|
2776
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2777
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
2778
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2779
|
+
},
|
|
2780
|
+
/**
|
|
2781
|
+
* delete an account in cluster
|
|
2782
|
+
* @summary deleteSeaweedFSAccount
|
|
2783
|
+
* @param {string} orgName name of the organization
|
|
2784
|
+
* @param {string} clusterName name of the cluster
|
|
2785
|
+
* @param {string} accountName name of the account
|
|
2786
|
+
* @param {*} [options] Override http request option.
|
|
2787
|
+
* @throws {RequiredError}
|
|
2788
|
+
*/
|
|
2789
|
+
async deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2790
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
|
|
2791
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2792
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
2793
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2794
|
+
},
|
|
2795
|
+
/**
|
|
2796
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
2797
|
+
* @summary deleteSeaweedFSPolicy
|
|
2798
|
+
* @param {string} orgName
|
|
2799
|
+
* @param {string} clusterName
|
|
2800
|
+
* @param {string} policyName
|
|
2801
|
+
* @param {*} [options] Override http request option.
|
|
2802
|
+
* @throws {RequiredError}
|
|
2803
|
+
*/
|
|
2804
|
+
async deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2805
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
|
|
2806
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2807
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
2808
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2809
|
+
},
|
|
2089
2810
|
/**
|
|
2090
2811
|
* delete a MinIO service account access key
|
|
2091
2812
|
* @summary Delete MinIO access key
|
|
@@ -2148,6 +2869,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2148
2869
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
2149
2870
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2150
2871
|
},
|
|
2872
|
+
/**
|
|
2873
|
+
* get root account password
|
|
2874
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
2875
|
+
* @param {string} orgName name of the Org
|
|
2876
|
+
* @param {string} clusterName name of the Cluster
|
|
2877
|
+
* @param {string} accountName name of the account
|
|
2878
|
+
* @param {string} [component] name of the component
|
|
2879
|
+
* @param {*} [options] Override http request option.
|
|
2880
|
+
* @throws {RequiredError}
|
|
2881
|
+
*/
|
|
2882
|
+
async getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
2883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
|
|
2884
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2885
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.getRootSeaweedFSAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
2886
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2887
|
+
},
|
|
2151
2888
|
/**
|
|
2152
2889
|
* get a MinIO service account access key
|
|
2153
2890
|
* @summary Get MinIO access key
|
|
@@ -2235,6 +2972,34 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2235
2972
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.listRabbitAccounts']?.[localVarOperationServerIndex]?.url;
|
|
2236
2973
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2237
2974
|
},
|
|
2975
|
+
/**
|
|
2976
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
2977
|
+
* @summary listSeaweedFSAccounts
|
|
2978
|
+
* @param {string} orgName name of the organization
|
|
2979
|
+
* @param {string} clusterName name of the cluster
|
|
2980
|
+
* @param {*} [options] Override http request option.
|
|
2981
|
+
* @throws {RequiredError}
|
|
2982
|
+
*/
|
|
2983
|
+
async listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
|
|
2984
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
|
|
2985
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2986
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.listSeaweedFSAccounts']?.[localVarOperationServerIndex]?.url;
|
|
2987
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2988
|
+
},
|
|
2989
|
+
/**
|
|
2990
|
+
*
|
|
2991
|
+
* @summary listSeaweedFSPolicies
|
|
2992
|
+
* @param {string} orgName
|
|
2993
|
+
* @param {string} clusterName
|
|
2994
|
+
* @param {*} [options] Override http request option.
|
|
2995
|
+
* @throws {RequiredError}
|
|
2996
|
+
*/
|
|
2997
|
+
async listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>> {
|
|
2998
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
|
|
2999
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3000
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.listSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
3001
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3002
|
+
},
|
|
2238
3003
|
/**
|
|
2239
3004
|
* list MinIO service account access keys
|
|
2240
3005
|
* @summary List MinIO access keys
|
|
@@ -2267,6 +3032,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2267
3032
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
2268
3033
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2269
3034
|
},
|
|
3035
|
+
/**
|
|
3036
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
3037
|
+
* @summary putSeaweedFSPolicy
|
|
3038
|
+
* @param {string} orgName
|
|
3039
|
+
* @param {string} clusterName
|
|
3040
|
+
* @param {string} policyName
|
|
3041
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
3042
|
+
* @param {*} [options] Override http request option.
|
|
3043
|
+
* @throws {RequiredError}
|
|
3044
|
+
*/
|
|
3045
|
+
async putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3046
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
|
|
3047
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3048
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.putSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
3049
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3050
|
+
},
|
|
2270
3051
|
/**
|
|
2271
3052
|
* update an account in cluster
|
|
2272
3053
|
* @summary update cluster account
|
|
@@ -2412,6 +3193,38 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2412
3193
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateRabbitAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
2413
3194
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2414
3195
|
},
|
|
3196
|
+
/**
|
|
3197
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
3198
|
+
* @summary updateSeaweedFSAccount
|
|
3199
|
+
* @param {string} orgName name of the organization
|
|
3200
|
+
* @param {string} clusterName name of the cluster
|
|
3201
|
+
* @param {string} accountName name of the account
|
|
3202
|
+
* @param {Account} body
|
|
3203
|
+
* @param {*} [options] Override http request option.
|
|
3204
|
+
* @throws {RequiredError}
|
|
3205
|
+
*/
|
|
3206
|
+
async updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
3207
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
|
|
3208
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3209
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
3210
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3211
|
+
},
|
|
3212
|
+
/**
|
|
3213
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
3214
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
3215
|
+
* @param {string} orgName name of the Org
|
|
3216
|
+
* @param {string} clusterName name of the Cluster
|
|
3217
|
+
* @param {string} accountName name of the account
|
|
3218
|
+
* @param {Array<PrivilegeListItem>} body
|
|
3219
|
+
* @param {*} [options] Override http request option.
|
|
3220
|
+
* @throws {RequiredError}
|
|
3221
|
+
*/
|
|
3222
|
+
async updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
|
|
3224
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3225
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateSeaweedFSAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
3226
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3227
|
+
},
|
|
2415
3228
|
/**
|
|
2416
3229
|
* update a MinIO service account access key
|
|
2417
3230
|
* @summary Update MinIO access key
|
|
@@ -2439,6 +3252,16 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2439
3252
|
export const AccountApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2440
3253
|
const localVarFp = AccountApiFp(configuration)
|
|
2441
3254
|
return {
|
|
3255
|
+
/**
|
|
3256
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
3257
|
+
* @summary bindSeaweedFSPolicies
|
|
3258
|
+
* @param {AccountApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
3259
|
+
* @param {*} [options] Override http request option.
|
|
3260
|
+
* @throws {RequiredError}
|
|
3261
|
+
*/
|
|
3262
|
+
bindSeaweedFSPolicies(requestParameters: AccountApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3263
|
+
return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
|
|
3264
|
+
},
|
|
2442
3265
|
/**
|
|
2443
3266
|
* create an account in cluster
|
|
2444
3267
|
* @summary Create cluster account
|
|
@@ -2489,6 +3312,26 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2489
3312
|
createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2490
3313
|
return localVarFp.createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(axios, basePath));
|
|
2491
3314
|
},
|
|
3315
|
+
/**
|
|
3316
|
+
* 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.
|
|
3317
|
+
* @summary createSeaweedFSAccessKey
|
|
3318
|
+
* @param {AccountApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
3319
|
+
* @param {*} [options] Override http request option.
|
|
3320
|
+
* @throws {RequiredError}
|
|
3321
|
+
*/
|
|
3322
|
+
createSeaweedFSAccessKey(requestParameters: AccountApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
3323
|
+
return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
|
|
3324
|
+
},
|
|
3325
|
+
/**
|
|
3326
|
+
* 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.
|
|
3327
|
+
* @summary createSeaweedFSAccount
|
|
3328
|
+
* @param {AccountApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3329
|
+
* @param {*} [options] Override http request option.
|
|
3330
|
+
* @throws {RequiredError}
|
|
3331
|
+
*/
|
|
3332
|
+
createSeaweedFSAccount(requestParameters: AccountApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
3333
|
+
return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
3334
|
+
},
|
|
2492
3335
|
/**
|
|
2493
3336
|
* create a MinIO service account access key
|
|
2494
3337
|
* @summary Create MinIO access key
|
|
@@ -2569,6 +3412,36 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2569
3412
|
deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2570
3413
|
return localVarFp.deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
2571
3414
|
},
|
|
3415
|
+
/**
|
|
3416
|
+
*
|
|
3417
|
+
* @summary deleteSeaweedFSAccessKey
|
|
3418
|
+
* @param {AccountApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
3419
|
+
* @param {*} [options] Override http request option.
|
|
3420
|
+
* @throws {RequiredError}
|
|
3421
|
+
*/
|
|
3422
|
+
deleteSeaweedFSAccessKey(requestParameters: AccountApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3423
|
+
return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
3424
|
+
},
|
|
3425
|
+
/**
|
|
3426
|
+
* delete an account in cluster
|
|
3427
|
+
* @summary deleteSeaweedFSAccount
|
|
3428
|
+
* @param {AccountApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3429
|
+
* @param {*} [options] Override http request option.
|
|
3430
|
+
* @throws {RequiredError}
|
|
3431
|
+
*/
|
|
3432
|
+
deleteSeaweedFSAccount(requestParameters: AccountApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3433
|
+
return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
3434
|
+
},
|
|
3435
|
+
/**
|
|
3436
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
3437
|
+
* @summary deleteSeaweedFSPolicy
|
|
3438
|
+
* @param {AccountApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
3439
|
+
* @param {*} [options] Override http request option.
|
|
3440
|
+
* @throws {RequiredError}
|
|
3441
|
+
*/
|
|
3442
|
+
deleteSeaweedFSPolicy(requestParameters: AccountApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3443
|
+
return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
|
|
3444
|
+
},
|
|
2572
3445
|
/**
|
|
2573
3446
|
* delete a MinIO service account access key
|
|
2574
3447
|
* @summary Delete MinIO access key
|
|
@@ -2609,6 +3482,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2609
3482
|
getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2610
3483
|
return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
2611
3484
|
},
|
|
3485
|
+
/**
|
|
3486
|
+
* get root account password
|
|
3487
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
3488
|
+
* @param {AccountApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
3489
|
+
* @param {*} [options] Override http request option.
|
|
3490
|
+
* @throws {RequiredError}
|
|
3491
|
+
*/
|
|
3492
|
+
getRootSeaweedFSAccountPassword(requestParameters: AccountApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
3493
|
+
return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
3494
|
+
},
|
|
2612
3495
|
/**
|
|
2613
3496
|
* get a MinIO service account access key
|
|
2614
3497
|
* @summary Get MinIO access key
|
|
@@ -2669,6 +3552,26 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2669
3552
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList> {
|
|
2670
3553
|
return localVarFp.listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2671
3554
|
},
|
|
3555
|
+
/**
|
|
3556
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
3557
|
+
* @summary listSeaweedFSAccounts
|
|
3558
|
+
* @param {AccountApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
3559
|
+
* @param {*} [options] Override http request option.
|
|
3560
|
+
* @throws {RequiredError}
|
|
3561
|
+
*/
|
|
3562
|
+
listSeaweedFSAccounts(requestParameters: AccountApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
|
|
3563
|
+
return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
3564
|
+
},
|
|
3565
|
+
/**
|
|
3566
|
+
*
|
|
3567
|
+
* @summary listSeaweedFSPolicies
|
|
3568
|
+
* @param {AccountApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
3569
|
+
* @param {*} [options] Override http request option.
|
|
3570
|
+
* @throws {RequiredError}
|
|
3571
|
+
*/
|
|
3572
|
+
listSeaweedFSPolicies(requestParameters: AccountApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response> {
|
|
3573
|
+
return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
3574
|
+
},
|
|
2672
3575
|
/**
|
|
2673
3576
|
* list MinIO service account access keys
|
|
2674
3577
|
* @summary List MinIO access keys
|
|
@@ -2689,6 +3592,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2689
3592
|
putMilvusRole(requestParameters: AccountApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
2690
3593
|
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2691
3594
|
},
|
|
3595
|
+
/**
|
|
3596
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
3597
|
+
* @summary putSeaweedFSPolicy
|
|
3598
|
+
* @param {AccountApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
3599
|
+
* @param {*} [options] Override http request option.
|
|
3600
|
+
* @throws {RequiredError}
|
|
3601
|
+
*/
|
|
3602
|
+
putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3603
|
+
return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
3604
|
+
},
|
|
2692
3605
|
/**
|
|
2693
3606
|
* update an account in cluster
|
|
2694
3607
|
* @summary update cluster account
|
|
@@ -2779,6 +3692,26 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2779
3692
|
updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2780
3693
|
return localVarFp.updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(axios, basePath));
|
|
2781
3694
|
},
|
|
3695
|
+
/**
|
|
3696
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
3697
|
+
* @summary updateSeaweedFSAccount
|
|
3698
|
+
* @param {AccountApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3699
|
+
* @param {*} [options] Override http request option.
|
|
3700
|
+
* @throws {RequiredError}
|
|
3701
|
+
*/
|
|
3702
|
+
updateSeaweedFSAccount(requestParameters: AccountApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
3703
|
+
return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
3704
|
+
},
|
|
3705
|
+
/**
|
|
3706
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
3707
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
3708
|
+
* @param {AccountApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
3709
|
+
* @param {*} [options] Override http request option.
|
|
3710
|
+
* @throws {RequiredError}
|
|
3711
|
+
*/
|
|
3712
|
+
updateSeaweedFSAccountPrivileges(requestParameters: AccountApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3713
|
+
return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
3714
|
+
},
|
|
2782
3715
|
/**
|
|
2783
3716
|
* update a MinIO service account access key
|
|
2784
3717
|
* @summary Update MinIO access key
|
|
@@ -2798,6 +3731,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2798
3731
|
* @interface AccountApi
|
|
2799
3732
|
*/
|
|
2800
3733
|
export interface AccountApiInterface {
|
|
3734
|
+
/**
|
|
3735
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
3736
|
+
* @summary bindSeaweedFSPolicies
|
|
3737
|
+
* @param {AccountApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
3738
|
+
* @param {*} [options] Override http request option.
|
|
3739
|
+
* @throws {RequiredError}
|
|
3740
|
+
* @memberof AccountApiInterface
|
|
3741
|
+
*/
|
|
3742
|
+
bindSeaweedFSPolicies(requestParameters: AccountApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3743
|
+
|
|
2801
3744
|
/**
|
|
2802
3745
|
* create an account in cluster
|
|
2803
3746
|
* @summary Create cluster account
|
|
@@ -2848,6 +3791,26 @@ export interface AccountApiInterface {
|
|
|
2848
3791
|
*/
|
|
2849
3792
|
createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2850
3793
|
|
|
3794
|
+
/**
|
|
3795
|
+
* 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.
|
|
3796
|
+
* @summary createSeaweedFSAccessKey
|
|
3797
|
+
* @param {AccountApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
3798
|
+
* @param {*} [options] Override http request option.
|
|
3799
|
+
* @throws {RequiredError}
|
|
3800
|
+
* @memberof AccountApiInterface
|
|
3801
|
+
*/
|
|
3802
|
+
createSeaweedFSAccessKey(requestParameters: AccountApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
3803
|
+
|
|
3804
|
+
/**
|
|
3805
|
+
* 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.
|
|
3806
|
+
* @summary createSeaweedFSAccount
|
|
3807
|
+
* @param {AccountApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3808
|
+
* @param {*} [options] Override http request option.
|
|
3809
|
+
* @throws {RequiredError}
|
|
3810
|
+
* @memberof AccountApiInterface
|
|
3811
|
+
*/
|
|
3812
|
+
createSeaweedFSAccount(requestParameters: AccountApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
3813
|
+
|
|
2851
3814
|
/**
|
|
2852
3815
|
* create a MinIO service account access key
|
|
2853
3816
|
* @summary Create MinIO access key
|
|
@@ -2928,6 +3891,36 @@ export interface AccountApiInterface {
|
|
|
2928
3891
|
*/
|
|
2929
3892
|
deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2930
3893
|
|
|
3894
|
+
/**
|
|
3895
|
+
*
|
|
3896
|
+
* @summary deleteSeaweedFSAccessKey
|
|
3897
|
+
* @param {AccountApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
3898
|
+
* @param {*} [options] Override http request option.
|
|
3899
|
+
* @throws {RequiredError}
|
|
3900
|
+
* @memberof AccountApiInterface
|
|
3901
|
+
*/
|
|
3902
|
+
deleteSeaweedFSAccessKey(requestParameters: AccountApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3903
|
+
|
|
3904
|
+
/**
|
|
3905
|
+
* delete an account in cluster
|
|
3906
|
+
* @summary deleteSeaweedFSAccount
|
|
3907
|
+
* @param {AccountApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3908
|
+
* @param {*} [options] Override http request option.
|
|
3909
|
+
* @throws {RequiredError}
|
|
3910
|
+
* @memberof AccountApiInterface
|
|
3911
|
+
*/
|
|
3912
|
+
deleteSeaweedFSAccount(requestParameters: AccountApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3913
|
+
|
|
3914
|
+
/**
|
|
3915
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
3916
|
+
* @summary deleteSeaweedFSPolicy
|
|
3917
|
+
* @param {AccountApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
3918
|
+
* @param {*} [options] Override http request option.
|
|
3919
|
+
* @throws {RequiredError}
|
|
3920
|
+
* @memberof AccountApiInterface
|
|
3921
|
+
*/
|
|
3922
|
+
deleteSeaweedFSPolicy(requestParameters: AccountApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3923
|
+
|
|
2931
3924
|
/**
|
|
2932
3925
|
* delete a MinIO service account access key
|
|
2933
3926
|
* @summary Delete MinIO access key
|
|
@@ -2968,6 +3961,16 @@ export interface AccountApiInterface {
|
|
|
2968
3961
|
*/
|
|
2969
3962
|
getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
2970
3963
|
|
|
3964
|
+
/**
|
|
3965
|
+
* get root account password
|
|
3966
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
3967
|
+
* @param {AccountApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
3968
|
+
* @param {*} [options] Override http request option.
|
|
3969
|
+
* @throws {RequiredError}
|
|
3970
|
+
* @memberof AccountApiInterface
|
|
3971
|
+
*/
|
|
3972
|
+
getRootSeaweedFSAccountPassword(requestParameters: AccountApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
3973
|
+
|
|
2971
3974
|
/**
|
|
2972
3975
|
* get a MinIO service account access key
|
|
2973
3976
|
* @summary Get MinIO access key
|
|
@@ -3028,6 +4031,26 @@ export interface AccountApiInterface {
|
|
|
3028
4031
|
*/
|
|
3029
4032
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
|
|
3030
4033
|
|
|
4034
|
+
/**
|
|
4035
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
4036
|
+
* @summary listSeaweedFSAccounts
|
|
4037
|
+
* @param {AccountApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
4038
|
+
* @param {*} [options] Override http request option.
|
|
4039
|
+
* @throws {RequiredError}
|
|
4040
|
+
* @memberof AccountApiInterface
|
|
4041
|
+
*/
|
|
4042
|
+
listSeaweedFSAccounts(requestParameters: AccountApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
4043
|
+
|
|
4044
|
+
/**
|
|
4045
|
+
*
|
|
4046
|
+
* @summary listSeaweedFSPolicies
|
|
4047
|
+
* @param {AccountApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
4048
|
+
* @param {*} [options] Override http request option.
|
|
4049
|
+
* @throws {RequiredError}
|
|
4050
|
+
* @memberof AccountApiInterface
|
|
4051
|
+
*/
|
|
4052
|
+
listSeaweedFSPolicies(requestParameters: AccountApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
|
|
4053
|
+
|
|
3031
4054
|
/**
|
|
3032
4055
|
* list MinIO service account access keys
|
|
3033
4056
|
* @summary List MinIO access keys
|
|
@@ -3048,6 +4071,16 @@ export interface AccountApiInterface {
|
|
|
3048
4071
|
*/
|
|
3049
4072
|
putMilvusRole(requestParameters: AccountApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
3050
4073
|
|
|
4074
|
+
/**
|
|
4075
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
4076
|
+
* @summary putSeaweedFSPolicy
|
|
4077
|
+
* @param {AccountApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
4078
|
+
* @param {*} [options] Override http request option.
|
|
4079
|
+
* @throws {RequiredError}
|
|
4080
|
+
* @memberof AccountApiInterface
|
|
4081
|
+
*/
|
|
4082
|
+
putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
4083
|
+
|
|
3051
4084
|
/**
|
|
3052
4085
|
* update an account in cluster
|
|
3053
4086
|
* @summary update cluster account
|
|
@@ -3138,6 +4171,26 @@ export interface AccountApiInterface {
|
|
|
3138
4171
|
*/
|
|
3139
4172
|
updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3140
4173
|
|
|
4174
|
+
/**
|
|
4175
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
4176
|
+
* @summary updateSeaweedFSAccount
|
|
4177
|
+
* @param {AccountApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
4178
|
+
* @param {*} [options] Override http request option.
|
|
4179
|
+
* @throws {RequiredError}
|
|
4180
|
+
* @memberof AccountApiInterface
|
|
4181
|
+
*/
|
|
4182
|
+
updateSeaweedFSAccount(requestParameters: AccountApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
4183
|
+
|
|
4184
|
+
/**
|
|
4185
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
4186
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
4187
|
+
* @param {AccountApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
4188
|
+
* @param {*} [options] Override http request option.
|
|
4189
|
+
* @throws {RequiredError}
|
|
4190
|
+
* @memberof AccountApiInterface
|
|
4191
|
+
*/
|
|
4192
|
+
updateSeaweedFSAccountPrivileges(requestParameters: AccountApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
4193
|
+
|
|
3141
4194
|
/**
|
|
3142
4195
|
* update a MinIO service account access key
|
|
3143
4196
|
* @summary Update MinIO access key
|
|
@@ -3150,6 +4203,41 @@ export interface AccountApiInterface {
|
|
|
3150
4203
|
|
|
3151
4204
|
}
|
|
3152
4205
|
|
|
4206
|
+
/**
|
|
4207
|
+
* Request parameters for bindSeaweedFSPolicies operation in AccountApi.
|
|
4208
|
+
* @export
|
|
4209
|
+
* @interface AccountApiBindSeaweedFSPoliciesRequest
|
|
4210
|
+
*/
|
|
4211
|
+
export interface AccountApiBindSeaweedFSPoliciesRequest {
|
|
4212
|
+
/**
|
|
4213
|
+
*
|
|
4214
|
+
* @type {string}
|
|
4215
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
4216
|
+
*/
|
|
4217
|
+
readonly orgName: string
|
|
4218
|
+
|
|
4219
|
+
/**
|
|
4220
|
+
*
|
|
4221
|
+
* @type {string}
|
|
4222
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
4223
|
+
*/
|
|
4224
|
+
readonly clusterName: string
|
|
4225
|
+
|
|
4226
|
+
/**
|
|
4227
|
+
*
|
|
4228
|
+
* @type {string}
|
|
4229
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
4230
|
+
*/
|
|
4231
|
+
readonly accountName: string
|
|
4232
|
+
|
|
4233
|
+
/**
|
|
4234
|
+
*
|
|
4235
|
+
* @type {BindSeaweedFSPoliciesRequest}
|
|
4236
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
4237
|
+
*/
|
|
4238
|
+
readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest
|
|
4239
|
+
}
|
|
4240
|
+
|
|
3153
4241
|
/**
|
|
3154
4242
|
* Request parameters for createAccount operation in AccountApi.
|
|
3155
4243
|
* @export
|
|
@@ -3297,6 +4385,69 @@ export interface AccountApiCreateRabbitAccountRequest {
|
|
|
3297
4385
|
readonly rbmqAccountRequest: RbmqAccountRequest
|
|
3298
4386
|
}
|
|
3299
4387
|
|
|
4388
|
+
/**
|
|
4389
|
+
* Request parameters for createSeaweedFSAccessKey operation in AccountApi.
|
|
4390
|
+
* @export
|
|
4391
|
+
* @interface AccountApiCreateSeaweedFSAccessKeyRequest
|
|
4392
|
+
*/
|
|
4393
|
+
export interface AccountApiCreateSeaweedFSAccessKeyRequest {
|
|
4394
|
+
/**
|
|
4395
|
+
*
|
|
4396
|
+
* @type {string}
|
|
4397
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
4398
|
+
*/
|
|
4399
|
+
readonly orgName: string
|
|
4400
|
+
|
|
4401
|
+
/**
|
|
4402
|
+
*
|
|
4403
|
+
* @type {string}
|
|
4404
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
4405
|
+
*/
|
|
4406
|
+
readonly clusterName: string
|
|
4407
|
+
|
|
4408
|
+
/**
|
|
4409
|
+
*
|
|
4410
|
+
* @type {string}
|
|
4411
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
4412
|
+
*/
|
|
4413
|
+
readonly accountName: string
|
|
4414
|
+
|
|
4415
|
+
/**
|
|
4416
|
+
*
|
|
4417
|
+
* @type {Account}
|
|
4418
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
4419
|
+
*/
|
|
4420
|
+
readonly account: Account
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
/**
|
|
4424
|
+
* Request parameters for createSeaweedFSAccount operation in AccountApi.
|
|
4425
|
+
* @export
|
|
4426
|
+
* @interface AccountApiCreateSeaweedFSAccountRequest
|
|
4427
|
+
*/
|
|
4428
|
+
export interface AccountApiCreateSeaweedFSAccountRequest {
|
|
4429
|
+
/**
|
|
4430
|
+
* name of the organization
|
|
4431
|
+
* @type {string}
|
|
4432
|
+
* @memberof AccountApiCreateSeaweedFSAccount
|
|
4433
|
+
*/
|
|
4434
|
+
readonly orgName: string
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* name of the cluster
|
|
4438
|
+
* @type {string}
|
|
4439
|
+
* @memberof AccountApiCreateSeaweedFSAccount
|
|
4440
|
+
*/
|
|
4441
|
+
readonly clusterName: string
|
|
4442
|
+
|
|
4443
|
+
/**
|
|
4444
|
+
*
|
|
4445
|
+
* @type {Account}
|
|
4446
|
+
* @memberof AccountApiCreateSeaweedFSAccount
|
|
4447
|
+
*/
|
|
4448
|
+
readonly body: Account
|
|
4449
|
+
}
|
|
4450
|
+
|
|
3300
4451
|
/**
|
|
3301
4452
|
* Request parameters for createServiceAccount operation in AccountApi.
|
|
3302
4453
|
* @export
|
|
@@ -3472,67 +4623,158 @@ export interface AccountApiDeleteMongoDBAccountRequest {
|
|
|
3472
4623
|
readonly clusterName: string
|
|
3473
4624
|
|
|
3474
4625
|
/**
|
|
3475
|
-
* name of the Cluster
|
|
4626
|
+
* name of the Cluster
|
|
4627
|
+
* @type {string}
|
|
4628
|
+
* @memberof AccountApiDeleteMongoDBAccount
|
|
4629
|
+
*/
|
|
4630
|
+
readonly accountName: string
|
|
4631
|
+
}
|
|
4632
|
+
|
|
4633
|
+
/**
|
|
4634
|
+
* Request parameters for deleteMssqlAccount operation in AccountApi.
|
|
4635
|
+
* @export
|
|
4636
|
+
* @interface AccountApiDeleteMssqlAccountRequest
|
|
4637
|
+
*/
|
|
4638
|
+
export interface AccountApiDeleteMssqlAccountRequest {
|
|
4639
|
+
/**
|
|
4640
|
+
* name of the organization
|
|
4641
|
+
* @type {string}
|
|
4642
|
+
* @memberof AccountApiDeleteMssqlAccount
|
|
4643
|
+
*/
|
|
4644
|
+
readonly orgName: string
|
|
4645
|
+
|
|
4646
|
+
/**
|
|
4647
|
+
* name of the cluster
|
|
4648
|
+
* @type {string}
|
|
4649
|
+
* @memberof AccountApiDeleteMssqlAccount
|
|
4650
|
+
*/
|
|
4651
|
+
readonly clusterName: string
|
|
4652
|
+
|
|
4653
|
+
/**
|
|
4654
|
+
* name of the account
|
|
4655
|
+
* @type {string}
|
|
4656
|
+
* @memberof AccountApiDeleteMssqlAccount
|
|
4657
|
+
*/
|
|
4658
|
+
readonly account: string
|
|
4659
|
+
}
|
|
4660
|
+
|
|
4661
|
+
/**
|
|
4662
|
+
* Request parameters for deleteRabbitAccount operation in AccountApi.
|
|
4663
|
+
* @export
|
|
4664
|
+
* @interface AccountApiDeleteRabbitAccountRequest
|
|
4665
|
+
*/
|
|
4666
|
+
export interface AccountApiDeleteRabbitAccountRequest {
|
|
4667
|
+
/**
|
|
4668
|
+
* name of the Org
|
|
4669
|
+
* @type {string}
|
|
4670
|
+
* @memberof AccountApiDeleteRabbitAccount
|
|
4671
|
+
*/
|
|
4672
|
+
readonly orgName: string
|
|
4673
|
+
|
|
4674
|
+
/**
|
|
4675
|
+
* name of the Cluster
|
|
4676
|
+
* @type {string}
|
|
4677
|
+
* @memberof AccountApiDeleteRabbitAccount
|
|
4678
|
+
*/
|
|
4679
|
+
readonly clusterName: string
|
|
4680
|
+
|
|
4681
|
+
/**
|
|
4682
|
+
* name of the Account
|
|
4683
|
+
* @type {string}
|
|
4684
|
+
* @memberof AccountApiDeleteRabbitAccount
|
|
4685
|
+
*/
|
|
4686
|
+
readonly accountName: string
|
|
4687
|
+
}
|
|
4688
|
+
|
|
4689
|
+
/**
|
|
4690
|
+
* Request parameters for deleteSeaweedFSAccessKey operation in AccountApi.
|
|
4691
|
+
* @export
|
|
4692
|
+
* @interface AccountApiDeleteSeaweedFSAccessKeyRequest
|
|
4693
|
+
*/
|
|
4694
|
+
export interface AccountApiDeleteSeaweedFSAccessKeyRequest {
|
|
4695
|
+
/**
|
|
4696
|
+
*
|
|
4697
|
+
* @type {string}
|
|
4698
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
4699
|
+
*/
|
|
4700
|
+
readonly orgName: string
|
|
4701
|
+
|
|
4702
|
+
/**
|
|
4703
|
+
*
|
|
4704
|
+
* @type {string}
|
|
4705
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
4706
|
+
*/
|
|
4707
|
+
readonly clusterName: string
|
|
4708
|
+
|
|
4709
|
+
/**
|
|
4710
|
+
*
|
|
4711
|
+
* @type {string}
|
|
4712
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
4713
|
+
*/
|
|
4714
|
+
readonly accountName: string
|
|
4715
|
+
|
|
4716
|
+
/**
|
|
4717
|
+
*
|
|
3476
4718
|
* @type {string}
|
|
3477
|
-
* @memberof
|
|
4719
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
3478
4720
|
*/
|
|
3479
|
-
readonly
|
|
4721
|
+
readonly accessKey: string
|
|
3480
4722
|
}
|
|
3481
4723
|
|
|
3482
4724
|
/**
|
|
3483
|
-
* Request parameters for
|
|
4725
|
+
* Request parameters for deleteSeaweedFSAccount operation in AccountApi.
|
|
3484
4726
|
* @export
|
|
3485
|
-
* @interface
|
|
4727
|
+
* @interface AccountApiDeleteSeaweedFSAccountRequest
|
|
3486
4728
|
*/
|
|
3487
|
-
export interface
|
|
4729
|
+
export interface AccountApiDeleteSeaweedFSAccountRequest {
|
|
3488
4730
|
/**
|
|
3489
4731
|
* name of the organization
|
|
3490
4732
|
* @type {string}
|
|
3491
|
-
* @memberof
|
|
4733
|
+
* @memberof AccountApiDeleteSeaweedFSAccount
|
|
3492
4734
|
*/
|
|
3493
4735
|
readonly orgName: string
|
|
3494
4736
|
|
|
3495
4737
|
/**
|
|
3496
4738
|
* name of the cluster
|
|
3497
4739
|
* @type {string}
|
|
3498
|
-
* @memberof
|
|
4740
|
+
* @memberof AccountApiDeleteSeaweedFSAccount
|
|
3499
4741
|
*/
|
|
3500
4742
|
readonly clusterName: string
|
|
3501
4743
|
|
|
3502
4744
|
/**
|
|
3503
4745
|
* name of the account
|
|
3504
4746
|
* @type {string}
|
|
3505
|
-
* @memberof
|
|
4747
|
+
* @memberof AccountApiDeleteSeaweedFSAccount
|
|
3506
4748
|
*/
|
|
3507
|
-
readonly
|
|
4749
|
+
readonly accountName: string
|
|
3508
4750
|
}
|
|
3509
4751
|
|
|
3510
4752
|
/**
|
|
3511
|
-
* Request parameters for
|
|
4753
|
+
* Request parameters for deleteSeaweedFSPolicy operation in AccountApi.
|
|
3512
4754
|
* @export
|
|
3513
|
-
* @interface
|
|
4755
|
+
* @interface AccountApiDeleteSeaweedFSPolicyRequest
|
|
3514
4756
|
*/
|
|
3515
|
-
export interface
|
|
4757
|
+
export interface AccountApiDeleteSeaweedFSPolicyRequest {
|
|
3516
4758
|
/**
|
|
3517
|
-
*
|
|
4759
|
+
*
|
|
3518
4760
|
* @type {string}
|
|
3519
|
-
* @memberof
|
|
4761
|
+
* @memberof AccountApiDeleteSeaweedFSPolicy
|
|
3520
4762
|
*/
|
|
3521
4763
|
readonly orgName: string
|
|
3522
4764
|
|
|
3523
4765
|
/**
|
|
3524
|
-
*
|
|
4766
|
+
*
|
|
3525
4767
|
* @type {string}
|
|
3526
|
-
* @memberof
|
|
4768
|
+
* @memberof AccountApiDeleteSeaweedFSPolicy
|
|
3527
4769
|
*/
|
|
3528
4770
|
readonly clusterName: string
|
|
3529
4771
|
|
|
3530
4772
|
/**
|
|
3531
|
-
*
|
|
4773
|
+
*
|
|
3532
4774
|
* @type {string}
|
|
3533
|
-
* @memberof
|
|
4775
|
+
* @memberof AccountApiDeleteSeaweedFSPolicy
|
|
3534
4776
|
*/
|
|
3535
|
-
readonly
|
|
4777
|
+
readonly policyName: string
|
|
3536
4778
|
}
|
|
3537
4779
|
|
|
3538
4780
|
/**
|
|
@@ -3661,6 +4903,41 @@ export interface AccountApiGetRootAccountPasswordRequest {
|
|
|
3661
4903
|
readonly component?: string
|
|
3662
4904
|
}
|
|
3663
4905
|
|
|
4906
|
+
/**
|
|
4907
|
+
* Request parameters for getRootSeaweedFSAccountPassword operation in AccountApi.
|
|
4908
|
+
* @export
|
|
4909
|
+
* @interface AccountApiGetRootSeaweedFSAccountPasswordRequest
|
|
4910
|
+
*/
|
|
4911
|
+
export interface AccountApiGetRootSeaweedFSAccountPasswordRequest {
|
|
4912
|
+
/**
|
|
4913
|
+
* name of the Org
|
|
4914
|
+
* @type {string}
|
|
4915
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
4916
|
+
*/
|
|
4917
|
+
readonly orgName: string
|
|
4918
|
+
|
|
4919
|
+
/**
|
|
4920
|
+
* name of the Cluster
|
|
4921
|
+
* @type {string}
|
|
4922
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
4923
|
+
*/
|
|
4924
|
+
readonly clusterName: string
|
|
4925
|
+
|
|
4926
|
+
/**
|
|
4927
|
+
* name of the account
|
|
4928
|
+
* @type {string}
|
|
4929
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
4930
|
+
*/
|
|
4931
|
+
readonly accountName: string
|
|
4932
|
+
|
|
4933
|
+
/**
|
|
4934
|
+
* name of the component
|
|
4935
|
+
* @type {string}
|
|
4936
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
4937
|
+
*/
|
|
4938
|
+
readonly component?: string
|
|
4939
|
+
}
|
|
4940
|
+
|
|
3664
4941
|
/**
|
|
3665
4942
|
* Request parameters for getServiceAccount operation in AccountApi.
|
|
3666
4943
|
* @export
|
|
@@ -3808,6 +5085,48 @@ export interface AccountApiListRabbitAccountsRequest {
|
|
|
3808
5085
|
readonly clusterName: string
|
|
3809
5086
|
}
|
|
3810
5087
|
|
|
5088
|
+
/**
|
|
5089
|
+
* Request parameters for listSeaweedFSAccounts operation in AccountApi.
|
|
5090
|
+
* @export
|
|
5091
|
+
* @interface AccountApiListSeaweedFSAccountsRequest
|
|
5092
|
+
*/
|
|
5093
|
+
export interface AccountApiListSeaweedFSAccountsRequest {
|
|
5094
|
+
/**
|
|
5095
|
+
* name of the organization
|
|
5096
|
+
* @type {string}
|
|
5097
|
+
* @memberof AccountApiListSeaweedFSAccounts
|
|
5098
|
+
*/
|
|
5099
|
+
readonly orgName: string
|
|
5100
|
+
|
|
5101
|
+
/**
|
|
5102
|
+
* name of the cluster
|
|
5103
|
+
* @type {string}
|
|
5104
|
+
* @memberof AccountApiListSeaweedFSAccounts
|
|
5105
|
+
*/
|
|
5106
|
+
readonly clusterName: string
|
|
5107
|
+
}
|
|
5108
|
+
|
|
5109
|
+
/**
|
|
5110
|
+
* Request parameters for listSeaweedFSPolicies operation in AccountApi.
|
|
5111
|
+
* @export
|
|
5112
|
+
* @interface AccountApiListSeaweedFSPoliciesRequest
|
|
5113
|
+
*/
|
|
5114
|
+
export interface AccountApiListSeaweedFSPoliciesRequest {
|
|
5115
|
+
/**
|
|
5116
|
+
*
|
|
5117
|
+
* @type {string}
|
|
5118
|
+
* @memberof AccountApiListSeaweedFSPolicies
|
|
5119
|
+
*/
|
|
5120
|
+
readonly orgName: string
|
|
5121
|
+
|
|
5122
|
+
/**
|
|
5123
|
+
*
|
|
5124
|
+
* @type {string}
|
|
5125
|
+
* @memberof AccountApiListSeaweedFSPolicies
|
|
5126
|
+
*/
|
|
5127
|
+
readonly clusterName: string
|
|
5128
|
+
}
|
|
5129
|
+
|
|
3811
5130
|
/**
|
|
3812
5131
|
* Request parameters for listServiceAccounts operation in AccountApi.
|
|
3813
5132
|
* @export
|
|
@@ -3878,6 +5197,41 @@ export interface AccountApiPutMilvusRoleRequest {
|
|
|
3878
5197
|
readonly body: MilvusRoleRequest
|
|
3879
5198
|
}
|
|
3880
5199
|
|
|
5200
|
+
/**
|
|
5201
|
+
* Request parameters for putSeaweedFSPolicy operation in AccountApi.
|
|
5202
|
+
* @export
|
|
5203
|
+
* @interface AccountApiPutSeaweedFSPolicyRequest
|
|
5204
|
+
*/
|
|
5205
|
+
export interface AccountApiPutSeaweedFSPolicyRequest {
|
|
5206
|
+
/**
|
|
5207
|
+
*
|
|
5208
|
+
* @type {string}
|
|
5209
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
5210
|
+
*/
|
|
5211
|
+
readonly orgName: string
|
|
5212
|
+
|
|
5213
|
+
/**
|
|
5214
|
+
*
|
|
5215
|
+
* @type {string}
|
|
5216
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
5217
|
+
*/
|
|
5218
|
+
readonly clusterName: string
|
|
5219
|
+
|
|
5220
|
+
/**
|
|
5221
|
+
*
|
|
5222
|
+
* @type {string}
|
|
5223
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
5224
|
+
*/
|
|
5225
|
+
readonly policyName: string
|
|
5226
|
+
|
|
5227
|
+
/**
|
|
5228
|
+
*
|
|
5229
|
+
* @type {{ [key: string]: any; }}
|
|
5230
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
5231
|
+
*/
|
|
5232
|
+
readonly requestBody: { [key: string]: any; }
|
|
5233
|
+
}
|
|
5234
|
+
|
|
3881
5235
|
/**
|
|
3882
5236
|
* Request parameters for updateAccount operation in AccountApi.
|
|
3883
5237
|
* @export
|
|
@@ -4200,6 +5554,76 @@ export interface AccountApiUpdateRabbitAccountPrivilegesRequest {
|
|
|
4200
5554
|
readonly rbmqPermission: RbmqPermission
|
|
4201
5555
|
}
|
|
4202
5556
|
|
|
5557
|
+
/**
|
|
5558
|
+
* Request parameters for updateSeaweedFSAccount operation in AccountApi.
|
|
5559
|
+
* @export
|
|
5560
|
+
* @interface AccountApiUpdateSeaweedFSAccountRequest
|
|
5561
|
+
*/
|
|
5562
|
+
export interface AccountApiUpdateSeaweedFSAccountRequest {
|
|
5563
|
+
/**
|
|
5564
|
+
* name of the organization
|
|
5565
|
+
* @type {string}
|
|
5566
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
5567
|
+
*/
|
|
5568
|
+
readonly orgName: string
|
|
5569
|
+
|
|
5570
|
+
/**
|
|
5571
|
+
* name of the cluster
|
|
5572
|
+
* @type {string}
|
|
5573
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
5574
|
+
*/
|
|
5575
|
+
readonly clusterName: string
|
|
5576
|
+
|
|
5577
|
+
/**
|
|
5578
|
+
* name of the account
|
|
5579
|
+
* @type {string}
|
|
5580
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
5581
|
+
*/
|
|
5582
|
+
readonly accountName: string
|
|
5583
|
+
|
|
5584
|
+
/**
|
|
5585
|
+
*
|
|
5586
|
+
* @type {Account}
|
|
5587
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
5588
|
+
*/
|
|
5589
|
+
readonly body: Account
|
|
5590
|
+
}
|
|
5591
|
+
|
|
5592
|
+
/**
|
|
5593
|
+
* Request parameters for updateSeaweedFSAccountPrivileges operation in AccountApi.
|
|
5594
|
+
* @export
|
|
5595
|
+
* @interface AccountApiUpdateSeaweedFSAccountPrivilegesRequest
|
|
5596
|
+
*/
|
|
5597
|
+
export interface AccountApiUpdateSeaweedFSAccountPrivilegesRequest {
|
|
5598
|
+
/**
|
|
5599
|
+
* name of the Org
|
|
5600
|
+
* @type {string}
|
|
5601
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
5602
|
+
*/
|
|
5603
|
+
readonly orgName: string
|
|
5604
|
+
|
|
5605
|
+
/**
|
|
5606
|
+
* name of the Cluster
|
|
5607
|
+
* @type {string}
|
|
5608
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
5609
|
+
*/
|
|
5610
|
+
readonly clusterName: string
|
|
5611
|
+
|
|
5612
|
+
/**
|
|
5613
|
+
* name of the account
|
|
5614
|
+
* @type {string}
|
|
5615
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
5616
|
+
*/
|
|
5617
|
+
readonly accountName: string
|
|
5618
|
+
|
|
5619
|
+
/**
|
|
5620
|
+
*
|
|
5621
|
+
* @type {Array<PrivilegeListItem>}
|
|
5622
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
5623
|
+
*/
|
|
5624
|
+
readonly body: Array<PrivilegeListItem>
|
|
5625
|
+
}
|
|
5626
|
+
|
|
4203
5627
|
/**
|
|
4204
5628
|
* Request parameters for updateServiceAccount operation in AccountApi.
|
|
4205
5629
|
* @export
|
|
@@ -4249,6 +5673,18 @@ export interface AccountApiUpdateServiceAccountRequest {
|
|
|
4249
5673
|
* @extends {BaseAPI}
|
|
4250
5674
|
*/
|
|
4251
5675
|
export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
5676
|
+
/**
|
|
5677
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
5678
|
+
* @summary bindSeaweedFSPolicies
|
|
5679
|
+
* @param {AccountApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
5680
|
+
* @param {*} [options] Override http request option.
|
|
5681
|
+
* @throws {RequiredError}
|
|
5682
|
+
* @memberof AccountApi
|
|
5683
|
+
*/
|
|
5684
|
+
public bindSeaweedFSPolicies(requestParameters: AccountApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
5685
|
+
return AccountApiFp(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5686
|
+
}
|
|
5687
|
+
|
|
4252
5688
|
/**
|
|
4253
5689
|
* create an account in cluster
|
|
4254
5690
|
* @summary Create cluster account
|
|
@@ -4309,6 +5745,30 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4309
5745
|
return AccountApiFp(this.configuration).createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4310
5746
|
}
|
|
4311
5747
|
|
|
5748
|
+
/**
|
|
5749
|
+
* 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.
|
|
5750
|
+
* @summary createSeaweedFSAccessKey
|
|
5751
|
+
* @param {AccountApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
5752
|
+
* @param {*} [options] Override http request option.
|
|
5753
|
+
* @throws {RequiredError}
|
|
5754
|
+
* @memberof AccountApi
|
|
5755
|
+
*/
|
|
5756
|
+
public createSeaweedFSAccessKey(requestParameters: AccountApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
5757
|
+
return AccountApiFp(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
5758
|
+
}
|
|
5759
|
+
|
|
5760
|
+
/**
|
|
5761
|
+
* 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.
|
|
5762
|
+
* @summary createSeaweedFSAccount
|
|
5763
|
+
* @param {AccountApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
5764
|
+
* @param {*} [options] Override http request option.
|
|
5765
|
+
* @throws {RequiredError}
|
|
5766
|
+
* @memberof AccountApi
|
|
5767
|
+
*/
|
|
5768
|
+
public createSeaweedFSAccount(requestParameters: AccountApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
5769
|
+
return AccountApiFp(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5770
|
+
}
|
|
5771
|
+
|
|
4312
5772
|
/**
|
|
4313
5773
|
* create a MinIO service account access key
|
|
4314
5774
|
* @summary Create MinIO access key
|
|
@@ -4405,6 +5865,42 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4405
5865
|
return AccountApiFp(this.configuration).deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
4406
5866
|
}
|
|
4407
5867
|
|
|
5868
|
+
/**
|
|
5869
|
+
*
|
|
5870
|
+
* @summary deleteSeaweedFSAccessKey
|
|
5871
|
+
* @param {AccountApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
5872
|
+
* @param {*} [options] Override http request option.
|
|
5873
|
+
* @throws {RequiredError}
|
|
5874
|
+
* @memberof AccountApi
|
|
5875
|
+
*/
|
|
5876
|
+
public deleteSeaweedFSAccessKey(requestParameters: AccountApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
5877
|
+
return AccountApiFp(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
5878
|
+
}
|
|
5879
|
+
|
|
5880
|
+
/**
|
|
5881
|
+
* delete an account in cluster
|
|
5882
|
+
* @summary deleteSeaweedFSAccount
|
|
5883
|
+
* @param {AccountApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
5884
|
+
* @param {*} [options] Override http request option.
|
|
5885
|
+
* @throws {RequiredError}
|
|
5886
|
+
* @memberof AccountApi
|
|
5887
|
+
*/
|
|
5888
|
+
public deleteSeaweedFSAccount(requestParameters: AccountApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
5889
|
+
return AccountApiFp(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
5890
|
+
}
|
|
5891
|
+
|
|
5892
|
+
/**
|
|
5893
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
5894
|
+
* @summary deleteSeaweedFSPolicy
|
|
5895
|
+
* @param {AccountApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
5896
|
+
* @param {*} [options] Override http request option.
|
|
5897
|
+
* @throws {RequiredError}
|
|
5898
|
+
* @memberof AccountApi
|
|
5899
|
+
*/
|
|
5900
|
+
public deleteSeaweedFSPolicy(requestParameters: AccountApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
5901
|
+
return AccountApiFp(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
|
|
5902
|
+
}
|
|
5903
|
+
|
|
4408
5904
|
/**
|
|
4409
5905
|
* delete a MinIO service account access key
|
|
4410
5906
|
* @summary Delete MinIO access key
|
|
@@ -4453,6 +5949,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4453
5949
|
return AccountApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
4454
5950
|
}
|
|
4455
5951
|
|
|
5952
|
+
/**
|
|
5953
|
+
* get root account password
|
|
5954
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
5955
|
+
* @param {AccountApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
5956
|
+
* @param {*} [options] Override http request option.
|
|
5957
|
+
* @throws {RequiredError}
|
|
5958
|
+
* @memberof AccountApi
|
|
5959
|
+
*/
|
|
5960
|
+
public getRootSeaweedFSAccountPassword(requestParameters: AccountApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
5961
|
+
return AccountApiFp(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
5962
|
+
}
|
|
5963
|
+
|
|
4456
5964
|
/**
|
|
4457
5965
|
* get a MinIO service account access key
|
|
4458
5966
|
* @summary Get MinIO access key
|
|
@@ -4525,6 +6033,30 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4525
6033
|
return AccountApiFp(this.configuration).listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
4526
6034
|
}
|
|
4527
6035
|
|
|
6036
|
+
/**
|
|
6037
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
6038
|
+
* @summary listSeaweedFSAccounts
|
|
6039
|
+
* @param {AccountApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
6040
|
+
* @param {*} [options] Override http request option.
|
|
6041
|
+
* @throws {RequiredError}
|
|
6042
|
+
* @memberof AccountApi
|
|
6043
|
+
*/
|
|
6044
|
+
public listSeaweedFSAccounts(requestParameters: AccountApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
6045
|
+
return AccountApiFp(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
6046
|
+
}
|
|
6047
|
+
|
|
6048
|
+
/**
|
|
6049
|
+
*
|
|
6050
|
+
* @summary listSeaweedFSPolicies
|
|
6051
|
+
* @param {AccountApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
6052
|
+
* @param {*} [options] Override http request option.
|
|
6053
|
+
* @throws {RequiredError}
|
|
6054
|
+
* @memberof AccountApi
|
|
6055
|
+
*/
|
|
6056
|
+
public listSeaweedFSPolicies(requestParameters: AccountApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
6057
|
+
return AccountApiFp(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
6058
|
+
}
|
|
6059
|
+
|
|
4528
6060
|
/**
|
|
4529
6061
|
* list MinIO service account access keys
|
|
4530
6062
|
* @summary List MinIO access keys
|
|
@@ -4549,6 +6081,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4549
6081
|
return AccountApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
4550
6082
|
}
|
|
4551
6083
|
|
|
6084
|
+
/**
|
|
6085
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
6086
|
+
* @summary putSeaweedFSPolicy
|
|
6087
|
+
* @param {AccountApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
6088
|
+
* @param {*} [options] Override http request option.
|
|
6089
|
+
* @throws {RequiredError}
|
|
6090
|
+
* @memberof AccountApi
|
|
6091
|
+
*/
|
|
6092
|
+
public putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
6093
|
+
return AccountApiFp(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
6094
|
+
}
|
|
6095
|
+
|
|
4552
6096
|
/**
|
|
4553
6097
|
* update an account in cluster
|
|
4554
6098
|
* @summary update cluster account
|
|
@@ -4657,6 +6201,30 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4657
6201
|
return AccountApiFp(this.configuration).updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(this.axios, this.basePath));
|
|
4658
6202
|
}
|
|
4659
6203
|
|
|
6204
|
+
/**
|
|
6205
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
6206
|
+
* @summary updateSeaweedFSAccount
|
|
6207
|
+
* @param {AccountApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
6208
|
+
* @param {*} [options] Override http request option.
|
|
6209
|
+
* @throws {RequiredError}
|
|
6210
|
+
* @memberof AccountApi
|
|
6211
|
+
*/
|
|
6212
|
+
public updateSeaweedFSAccount(requestParameters: AccountApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
6213
|
+
return AccountApiFp(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
6214
|
+
}
|
|
6215
|
+
|
|
6216
|
+
/**
|
|
6217
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
6218
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
6219
|
+
* @param {AccountApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
6220
|
+
* @param {*} [options] Override http request option.
|
|
6221
|
+
* @throws {RequiredError}
|
|
6222
|
+
* @memberof AccountApi
|
|
6223
|
+
*/
|
|
6224
|
+
public updateSeaweedFSAccountPrivileges(requestParameters: AccountApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
6225
|
+
return AccountApiFp(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
6226
|
+
}
|
|
6227
|
+
|
|
4660
6228
|
/**
|
|
4661
6229
|
* update a MinIO service account access key
|
|
4662
6230
|
* @summary Update MinIO access key
|