kb-cloud-client-typescript 2.2.124 → 2.2.126
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/engine-license-api.d.ts +3 -3
- package/dist/adminapi/apis/engine-license-api.js +2 -2
- 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/engine-option-license-file.d.ts +38 -0
- package/dist/adminapi/models/engine-option-license-file.d.ts.map +1 -0
- package/dist/adminapi/models/engine-option-license-file.js +16 -0
- package/dist/adminapi/models/engine-option-license-file.js.map +1 -0
- package/dist/adminapi/models/engine-option-license.d.ts +8 -1
- package/dist/adminapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +4 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +4 -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/engine-option-license-file.d.ts +38 -0
- package/dist/openapi/models/engine-option-license-file.d.ts.map +1 -0
- package/dist/openapi/models/engine-option-license-file.js +16 -0
- package/dist/openapi/models/engine-option-license-file.js.map +1 -0
- package/dist/openapi/models/engine-option-license.d.ts +8 -1
- package/dist/openapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +4 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +4 -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 +5 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +1674 -106
- package/src/adminapi/apis/engine-license-api.ts +3 -3
- 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/engine-option-license-file.ts +45 -0
- package/src/adminapi/models/engine-option-license.ts +10 -1
- package/src/adminapi/models/index.ts +4 -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 +581 -2
- package/src/openapi/.openapi-generator/FILES +5 -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/engine-option-license-file.ts +45 -0
- package/src/openapi/models/engine-option-license.ts +10 -1
- package/src/openapi/models/index.ts +4 -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 +580 -1
|
@@ -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 = `/admin/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
|
|
@@ -216,6 +275,112 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
216
275
|
options: localVarRequestOptions,
|
|
217
276
|
};
|
|
218
277
|
},
|
|
278
|
+
/**
|
|
279
|
+
* 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.
|
|
280
|
+
* @summary createSeaweedFSAccessKey
|
|
281
|
+
* @param {string} orgName
|
|
282
|
+
* @param {string} clusterName
|
|
283
|
+
* @param {string} accountName
|
|
284
|
+
* @param {Account} account
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
createSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, account: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
289
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
290
|
+
assertParamExists('createSeaweedFSAccessKey', 'orgName', orgName)
|
|
291
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
292
|
+
assertParamExists('createSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
293
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
294
|
+
assertParamExists('createSeaweedFSAccessKey', 'accountName', accountName)
|
|
295
|
+
// verify required parameter 'account' is not null or undefined
|
|
296
|
+
assertParamExists('createSeaweedFSAccessKey', 'account', account)
|
|
297
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
|
|
298
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
299
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
300
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
301
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
302
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
303
|
+
let baseOptions;
|
|
304
|
+
if (configuration) {
|
|
305
|
+
baseOptions = configuration.baseOptions;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
309
|
+
const localVarHeaderParameter = {} as any;
|
|
310
|
+
const localVarQueryParameter = {} as any;
|
|
311
|
+
|
|
312
|
+
// authentication BearerToken required
|
|
313
|
+
// http bearer authentication required
|
|
314
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
315
|
+
|
|
316
|
+
// authentication DigestAuth required
|
|
317
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
322
|
+
|
|
323
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
324
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
325
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
326
|
+
localVarRequestOptions.data = serializeDataIfNeeded(account, localVarRequestOptions, configuration)
|
|
327
|
+
|
|
328
|
+
return {
|
|
329
|
+
url: toPathString(localVarUrlObj),
|
|
330
|
+
options: localVarRequestOptions,
|
|
331
|
+
};
|
|
332
|
+
},
|
|
333
|
+
/**
|
|
334
|
+
* 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.
|
|
335
|
+
* @summary createSeaweedFSAccount
|
|
336
|
+
* @param {string} orgName name of the organization
|
|
337
|
+
* @param {string} clusterName name of the cluster
|
|
338
|
+
* @param {Account} body
|
|
339
|
+
* @param {*} [options] Override http request option.
|
|
340
|
+
* @throws {RequiredError}
|
|
341
|
+
*/
|
|
342
|
+
createSeaweedFSAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
343
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
344
|
+
assertParamExists('createSeaweedFSAccount', 'orgName', orgName)
|
|
345
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
346
|
+
assertParamExists('createSeaweedFSAccount', 'clusterName', clusterName)
|
|
347
|
+
// verify required parameter 'body' is not null or undefined
|
|
348
|
+
assertParamExists('createSeaweedFSAccount', 'body', body)
|
|
349
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
350
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
351
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
352
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
353
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
354
|
+
let baseOptions;
|
|
355
|
+
if (configuration) {
|
|
356
|
+
baseOptions = configuration.baseOptions;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
360
|
+
const localVarHeaderParameter = {} as any;
|
|
361
|
+
const localVarQueryParameter = {} as any;
|
|
362
|
+
|
|
363
|
+
// authentication BearerToken required
|
|
364
|
+
// http bearer authentication required
|
|
365
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
366
|
+
|
|
367
|
+
// authentication DigestAuth required
|
|
368
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
373
|
+
|
|
374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
376
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
377
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
378
|
+
|
|
379
|
+
return {
|
|
380
|
+
url: toPathString(localVarUrlObj),
|
|
381
|
+
options: localVarRequestOptions,
|
|
382
|
+
};
|
|
383
|
+
},
|
|
219
384
|
/**
|
|
220
385
|
* create a MinIO service account access key
|
|
221
386
|
* @summary Create MinIO access key
|
|
@@ -524,28 +689,28 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
524
689
|
};
|
|
525
690
|
},
|
|
526
691
|
/**
|
|
527
|
-
*
|
|
528
|
-
* @summary
|
|
529
|
-
* @param {string}
|
|
530
|
-
* @param {string}
|
|
531
|
-
* @param {string}
|
|
532
|
-
* @param {string} accessKey
|
|
692
|
+
*
|
|
693
|
+
* @summary deleteSeaweedFSAccessKey
|
|
694
|
+
* @param {string} orgName
|
|
695
|
+
* @param {string} clusterName
|
|
696
|
+
* @param {string} accountName
|
|
697
|
+
* @param {string} accessKey
|
|
533
698
|
* @param {*} [options] Override http request option.
|
|
534
699
|
* @throws {RequiredError}
|
|
535
700
|
*/
|
|
536
|
-
|
|
537
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
538
|
-
assertParamExists('deleteServiceAccount', 'engineName', engineName)
|
|
701
|
+
deleteSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
539
702
|
// verify required parameter 'orgName' is not null or undefined
|
|
540
|
-
assertParamExists('
|
|
703
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'orgName', orgName)
|
|
541
704
|
// verify required parameter 'clusterName' is not null or undefined
|
|
542
|
-
assertParamExists('
|
|
705
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
706
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
707
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accountName', accountName)
|
|
543
708
|
// verify required parameter 'accessKey' is not null or undefined
|
|
544
|
-
assertParamExists('
|
|
545
|
-
const localVarPath = `/admin/v1/data/
|
|
546
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
709
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accessKey', accessKey)
|
|
710
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
|
|
547
711
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
548
712
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
713
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
|
|
549
714
|
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
550
715
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
551
716
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -577,25 +742,25 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
577
742
|
};
|
|
578
743
|
},
|
|
579
744
|
/**
|
|
580
|
-
*
|
|
581
|
-
* @summary
|
|
582
|
-
* @param {string} orgName name of the
|
|
583
|
-
* @param {string} clusterName name of the
|
|
584
|
-
* @param {string}
|
|
745
|
+
* delete an account in cluster
|
|
746
|
+
* @summary deleteSeaweedFSAccount
|
|
747
|
+
* @param {string} orgName name of the organization
|
|
748
|
+
* @param {string} clusterName name of the cluster
|
|
749
|
+
* @param {string} accountName name of the account
|
|
585
750
|
* @param {*} [options] Override http request option.
|
|
586
751
|
* @throws {RequiredError}
|
|
587
752
|
*/
|
|
588
|
-
|
|
753
|
+
deleteSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
589
754
|
// verify required parameter 'orgName' is not null or undefined
|
|
590
|
-
assertParamExists('
|
|
755
|
+
assertParamExists('deleteSeaweedFSAccount', 'orgName', orgName)
|
|
591
756
|
// verify required parameter 'clusterName' is not null or undefined
|
|
592
|
-
assertParamExists('
|
|
593
|
-
// verify required parameter '
|
|
594
|
-
assertParamExists('
|
|
595
|
-
const localVarPath = `/admin/v1/data/
|
|
757
|
+
assertParamExists('deleteSeaweedFSAccount', 'clusterName', clusterName)
|
|
758
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
759
|
+
assertParamExists('deleteSeaweedFSAccount', 'accountName', accountName)
|
|
760
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
596
761
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
597
762
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
598
|
-
.replace(`{${"
|
|
763
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
599
764
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
600
765
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
601
766
|
let baseOptions;
|
|
@@ -603,7 +768,7 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
603
768
|
baseOptions = configuration.baseOptions;
|
|
604
769
|
}
|
|
605
770
|
|
|
606
|
-
const localVarRequestOptions = { method: '
|
|
771
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
607
772
|
const localVarHeaderParameter = {} as any;
|
|
608
773
|
const localVarQueryParameter = {} as any;
|
|
609
774
|
|
|
@@ -626,29 +791,25 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
626
791
|
};
|
|
627
792
|
},
|
|
628
793
|
/**
|
|
629
|
-
*
|
|
630
|
-
* @summary
|
|
631
|
-
* @param {string}
|
|
632
|
-
* @param {string}
|
|
633
|
-
* @param {string}
|
|
634
|
-
* @param {string} accountName name of the account
|
|
635
|
-
* @param {string} [component] name of the component
|
|
794
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
795
|
+
* @summary deleteSeaweedFSPolicy
|
|
796
|
+
* @param {string} orgName
|
|
797
|
+
* @param {string} clusterName
|
|
798
|
+
* @param {string} policyName
|
|
636
799
|
* @param {*} [options] Override http request option.
|
|
637
800
|
* @throws {RequiredError}
|
|
638
801
|
*/
|
|
639
|
-
|
|
640
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
641
|
-
assertParamExists('getRootAccountPassword', 'engineName', engineName)
|
|
802
|
+
deleteSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
642
803
|
// verify required parameter 'orgName' is not null or undefined
|
|
643
|
-
assertParamExists('
|
|
804
|
+
assertParamExists('deleteSeaweedFSPolicy', 'orgName', orgName)
|
|
644
805
|
// verify required parameter 'clusterName' is not null or undefined
|
|
645
|
-
assertParamExists('
|
|
646
|
-
// verify required parameter '
|
|
647
|
-
assertParamExists('
|
|
648
|
-
const localVarPath = `/admin/v1/data/
|
|
649
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
806
|
+
assertParamExists('deleteSeaweedFSPolicy', 'clusterName', clusterName)
|
|
807
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
808
|
+
assertParamExists('deleteSeaweedFSPolicy', 'policyName', policyName)
|
|
809
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
650
810
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
651
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
811
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
812
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
652
813
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
653
814
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
654
815
|
let baseOptions;
|
|
@@ -656,7 +817,7 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
656
817
|
baseOptions = configuration.baseOptions;
|
|
657
818
|
}
|
|
658
819
|
|
|
659
|
-
const localVarRequestOptions = { method: '
|
|
820
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
660
821
|
const localVarHeaderParameter = {} as any;
|
|
661
822
|
const localVarQueryParameter = {} as any;
|
|
662
823
|
|
|
@@ -667,14 +828,6 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
667
828
|
// authentication DigestAuth required
|
|
668
829
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
669
830
|
|
|
670
|
-
if (accountName !== undefined) {
|
|
671
|
-
localVarQueryParameter['accountName'] = accountName;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
if (component !== undefined) {
|
|
675
|
-
localVarQueryParameter['component'] = component;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
831
|
|
|
679
832
|
|
|
680
833
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -687,8 +840,8 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
687
840
|
};
|
|
688
841
|
},
|
|
689
842
|
/**
|
|
690
|
-
*
|
|
691
|
-
* @summary
|
|
843
|
+
* delete a MinIO service account access key
|
|
844
|
+
* @summary Delete MinIO access key
|
|
692
845
|
* @param {string} engineName name of the engine
|
|
693
846
|
* @param {string} orgName name of the organization
|
|
694
847
|
* @param {string} clusterName name of the cluster
|
|
@@ -696,15 +849,15 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
696
849
|
* @param {*} [options] Override http request option.
|
|
697
850
|
* @throws {RequiredError}
|
|
698
851
|
*/
|
|
699
|
-
|
|
852
|
+
deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
700
853
|
// verify required parameter 'engineName' is not null or undefined
|
|
701
|
-
assertParamExists('
|
|
854
|
+
assertParamExists('deleteServiceAccount', 'engineName', engineName)
|
|
702
855
|
// verify required parameter 'orgName' is not null or undefined
|
|
703
|
-
assertParamExists('
|
|
856
|
+
assertParamExists('deleteServiceAccount', 'orgName', orgName)
|
|
704
857
|
// verify required parameter 'clusterName' is not null or undefined
|
|
705
|
-
assertParamExists('
|
|
858
|
+
assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
|
|
706
859
|
// verify required parameter 'accessKey' is not null or undefined
|
|
707
|
-
assertParamExists('
|
|
860
|
+
assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
|
|
708
861
|
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
709
862
|
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
710
863
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
@@ -717,7 +870,7 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
717
870
|
baseOptions = configuration.baseOptions;
|
|
718
871
|
}
|
|
719
872
|
|
|
720
|
-
const localVarRequestOptions = { method: '
|
|
873
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
721
874
|
const localVarHeaderParameter = {} as any;
|
|
722
875
|
const localVarQueryParameter = {} as any;
|
|
723
876
|
|
|
@@ -740,25 +893,25 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
740
893
|
};
|
|
741
894
|
},
|
|
742
895
|
/**
|
|
743
|
-
*
|
|
744
|
-
* @summary
|
|
745
|
-
* @param {string}
|
|
746
|
-
* @param {string}
|
|
747
|
-
* @param {string}
|
|
896
|
+
* Get a Milvus native role and its privilege grants.
|
|
897
|
+
* @summary Get Milvus role
|
|
898
|
+
* @param {string} orgName name of the Org
|
|
899
|
+
* @param {string} clusterName name of the Cluster
|
|
900
|
+
* @param {string} roleName name of the Milvus role
|
|
748
901
|
* @param {*} [options] Override http request option.
|
|
749
902
|
* @throws {RequiredError}
|
|
750
903
|
*/
|
|
751
|
-
|
|
752
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
753
|
-
assertParamExists('listAccounts', 'engineName', engineName)
|
|
904
|
+
getMilvusRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
754
905
|
// verify required parameter 'orgName' is not null or undefined
|
|
755
|
-
assertParamExists('
|
|
906
|
+
assertParamExists('getMilvusRole', 'orgName', orgName)
|
|
756
907
|
// verify required parameter 'clusterName' is not null or undefined
|
|
757
|
-
assertParamExists('
|
|
758
|
-
|
|
759
|
-
|
|
908
|
+
assertParamExists('getMilvusRole', 'clusterName', clusterName)
|
|
909
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
910
|
+
assertParamExists('getMilvusRole', 'roleName', roleName)
|
|
911
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
760
912
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
761
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
913
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
914
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
762
915
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
763
916
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
764
917
|
let baseOptions;
|
|
@@ -789,19 +942,239 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
789
942
|
};
|
|
790
943
|
},
|
|
791
944
|
/**
|
|
792
|
-
*
|
|
793
|
-
* @summary
|
|
945
|
+
* get root account password
|
|
946
|
+
* @summary get root account password
|
|
947
|
+
* @param {string} engineName name of the engine
|
|
794
948
|
* @param {string} orgName name of the Org
|
|
795
949
|
* @param {string} clusterName name of the Cluster
|
|
950
|
+
* @param {string} accountName name of the account
|
|
951
|
+
* @param {string} [component] name of the component
|
|
796
952
|
* @param {*} [options] Override http request option.
|
|
797
953
|
* @throws {RequiredError}
|
|
798
954
|
*/
|
|
799
|
-
|
|
955
|
+
getRootAccountPassword: async (engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
956
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
957
|
+
assertParamExists('getRootAccountPassword', 'engineName', engineName)
|
|
800
958
|
// verify required parameter 'orgName' is not null or undefined
|
|
801
|
-
assertParamExists('
|
|
959
|
+
assertParamExists('getRootAccountPassword', 'orgName', orgName)
|
|
802
960
|
// verify required parameter 'clusterName' is not null or undefined
|
|
803
|
-
assertParamExists('
|
|
804
|
-
|
|
961
|
+
assertParamExists('getRootAccountPassword', 'clusterName', clusterName)
|
|
962
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
963
|
+
assertParamExists('getRootAccountPassword', 'accountName', accountName)
|
|
964
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
965
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
966
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
967
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
968
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
969
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
970
|
+
let baseOptions;
|
|
971
|
+
if (configuration) {
|
|
972
|
+
baseOptions = configuration.baseOptions;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
976
|
+
const localVarHeaderParameter = {} as any;
|
|
977
|
+
const localVarQueryParameter = {} as any;
|
|
978
|
+
|
|
979
|
+
// authentication BearerToken required
|
|
980
|
+
// http bearer authentication required
|
|
981
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
982
|
+
|
|
983
|
+
// authentication DigestAuth required
|
|
984
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
985
|
+
|
|
986
|
+
if (accountName !== undefined) {
|
|
987
|
+
localVarQueryParameter['accountName'] = accountName;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
if (component !== undefined) {
|
|
991
|
+
localVarQueryParameter['component'] = component;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
997
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
998
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
999
|
+
|
|
1000
|
+
return {
|
|
1001
|
+
url: toPathString(localVarUrlObj),
|
|
1002
|
+
options: localVarRequestOptions,
|
|
1003
|
+
};
|
|
1004
|
+
},
|
|
1005
|
+
/**
|
|
1006
|
+
* get root account password
|
|
1007
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
1008
|
+
* @param {string} orgName name of the Org
|
|
1009
|
+
* @param {string} clusterName name of the Cluster
|
|
1010
|
+
* @param {string} accountName name of the account
|
|
1011
|
+
* @param {string} [component] name of the component
|
|
1012
|
+
* @param {*} [options] Override http request option.
|
|
1013
|
+
* @throws {RequiredError}
|
|
1014
|
+
*/
|
|
1015
|
+
getRootSeaweedFSAccountPassword: async (orgName: string, clusterName: string, accountName: string, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1016
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1017
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'orgName', orgName)
|
|
1018
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1019
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'clusterName', clusterName)
|
|
1020
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1021
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'accountName', accountName)
|
|
1022
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
1023
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1024
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1025
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1026
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1027
|
+
let baseOptions;
|
|
1028
|
+
if (configuration) {
|
|
1029
|
+
baseOptions = configuration.baseOptions;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1033
|
+
const localVarHeaderParameter = {} as any;
|
|
1034
|
+
const localVarQueryParameter = {} as any;
|
|
1035
|
+
|
|
1036
|
+
// authentication BearerToken required
|
|
1037
|
+
// http bearer authentication required
|
|
1038
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1039
|
+
|
|
1040
|
+
// authentication DigestAuth required
|
|
1041
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1042
|
+
|
|
1043
|
+
if (accountName !== undefined) {
|
|
1044
|
+
localVarQueryParameter['accountName'] = accountName;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
if (component !== undefined) {
|
|
1048
|
+
localVarQueryParameter['component'] = component;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1054
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1055
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1056
|
+
|
|
1057
|
+
return {
|
|
1058
|
+
url: toPathString(localVarUrlObj),
|
|
1059
|
+
options: localVarRequestOptions,
|
|
1060
|
+
};
|
|
1061
|
+
},
|
|
1062
|
+
/**
|
|
1063
|
+
* get a MinIO service account access key
|
|
1064
|
+
* @summary Get MinIO access key
|
|
1065
|
+
* @param {string} engineName name of the engine
|
|
1066
|
+
* @param {string} orgName name of the organization
|
|
1067
|
+
* @param {string} clusterName name of the cluster
|
|
1068
|
+
* @param {string} accessKey MinIO access key
|
|
1069
|
+
* @param {*} [options] Override http request option.
|
|
1070
|
+
* @throws {RequiredError}
|
|
1071
|
+
*/
|
|
1072
|
+
getServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1073
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1074
|
+
assertParamExists('getServiceAccount', 'engineName', engineName)
|
|
1075
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1076
|
+
assertParamExists('getServiceAccount', 'orgName', orgName)
|
|
1077
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1078
|
+
assertParamExists('getServiceAccount', 'clusterName', clusterName)
|
|
1079
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
1080
|
+
assertParamExists('getServiceAccount', 'accessKey', accessKey)
|
|
1081
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
1082
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1083
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1084
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1085
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
1086
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1087
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1088
|
+
let baseOptions;
|
|
1089
|
+
if (configuration) {
|
|
1090
|
+
baseOptions = configuration.baseOptions;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1094
|
+
const localVarHeaderParameter = {} as any;
|
|
1095
|
+
const localVarQueryParameter = {} as any;
|
|
1096
|
+
|
|
1097
|
+
// authentication BearerToken required
|
|
1098
|
+
// http bearer authentication required
|
|
1099
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1100
|
+
|
|
1101
|
+
// authentication DigestAuth required
|
|
1102
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1107
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1108
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1109
|
+
|
|
1110
|
+
return {
|
|
1111
|
+
url: toPathString(localVarUrlObj),
|
|
1112
|
+
options: localVarRequestOptions,
|
|
1113
|
+
};
|
|
1114
|
+
},
|
|
1115
|
+
/**
|
|
1116
|
+
* list accounts in cluster
|
|
1117
|
+
* @summary List cluster accounts
|
|
1118
|
+
* @param {string} engineName name of the engine
|
|
1119
|
+
* @param {string} orgName name of the organization
|
|
1120
|
+
* @param {string} clusterName name of the cluster
|
|
1121
|
+
* @param {*} [options] Override http request option.
|
|
1122
|
+
* @throws {RequiredError}
|
|
1123
|
+
*/
|
|
1124
|
+
listAccounts: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1125
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
1126
|
+
assertParamExists('listAccounts', 'engineName', engineName)
|
|
1127
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1128
|
+
assertParamExists('listAccounts', 'orgName', orgName)
|
|
1129
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1130
|
+
assertParamExists('listAccounts', 'clusterName', clusterName)
|
|
1131
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1132
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1133
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1134
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1135
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1136
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1137
|
+
let baseOptions;
|
|
1138
|
+
if (configuration) {
|
|
1139
|
+
baseOptions = configuration.baseOptions;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1143
|
+
const localVarHeaderParameter = {} as any;
|
|
1144
|
+
const localVarQueryParameter = {} as any;
|
|
1145
|
+
|
|
1146
|
+
// authentication BearerToken required
|
|
1147
|
+
// http bearer authentication required
|
|
1148
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1149
|
+
|
|
1150
|
+
// authentication DigestAuth required
|
|
1151
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1156
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1157
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1158
|
+
|
|
1159
|
+
return {
|
|
1160
|
+
url: toPathString(localVarUrlObj),
|
|
1161
|
+
options: localVarRequestOptions,
|
|
1162
|
+
};
|
|
1163
|
+
},
|
|
1164
|
+
/**
|
|
1165
|
+
* List Milvus native roles and their privilege grants.
|
|
1166
|
+
* @summary List Milvus roles
|
|
1167
|
+
* @param {string} orgName name of the Org
|
|
1168
|
+
* @param {string} clusterName name of the Cluster
|
|
1169
|
+
* @param {*} [options] Override http request option.
|
|
1170
|
+
* @throws {RequiredError}
|
|
1171
|
+
*/
|
|
1172
|
+
listMilvusRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1173
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1174
|
+
assertParamExists('listMilvusRoles', 'orgName', orgName)
|
|
1175
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1176
|
+
assertParamExists('listMilvusRoles', 'clusterName', clusterName)
|
|
1177
|
+
const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
805
1178
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
806
1179
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
807
1180
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -914,6 +1287,96 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
914
1287
|
|
|
915
1288
|
|
|
916
1289
|
|
|
1290
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1291
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1292
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1293
|
+
|
|
1294
|
+
return {
|
|
1295
|
+
url: toPathString(localVarUrlObj),
|
|
1296
|
+
options: localVarRequestOptions,
|
|
1297
|
+
};
|
|
1298
|
+
},
|
|
1299
|
+
/**
|
|
1300
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
1301
|
+
* @summary listSeaweedFSAccounts
|
|
1302
|
+
* @param {string} orgName name of the organization
|
|
1303
|
+
* @param {string} clusterName name of the cluster
|
|
1304
|
+
* @param {*} [options] Override http request option.
|
|
1305
|
+
* @throws {RequiredError}
|
|
1306
|
+
*/
|
|
1307
|
+
listSeaweedFSAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1308
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1309
|
+
assertParamExists('listSeaweedFSAccounts', 'orgName', orgName)
|
|
1310
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1311
|
+
assertParamExists('listSeaweedFSAccounts', 'clusterName', clusterName)
|
|
1312
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1313
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1314
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1315
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1316
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1317
|
+
let baseOptions;
|
|
1318
|
+
if (configuration) {
|
|
1319
|
+
baseOptions = configuration.baseOptions;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1323
|
+
const localVarHeaderParameter = {} as any;
|
|
1324
|
+
const localVarQueryParameter = {} as any;
|
|
1325
|
+
|
|
1326
|
+
// authentication BearerToken required
|
|
1327
|
+
// http bearer authentication required
|
|
1328
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1329
|
+
|
|
1330
|
+
// authentication DigestAuth required
|
|
1331
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1336
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1337
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1338
|
+
|
|
1339
|
+
return {
|
|
1340
|
+
url: toPathString(localVarUrlObj),
|
|
1341
|
+
options: localVarRequestOptions,
|
|
1342
|
+
};
|
|
1343
|
+
},
|
|
1344
|
+
/**
|
|
1345
|
+
*
|
|
1346
|
+
* @summary listSeaweedFSPolicies
|
|
1347
|
+
* @param {string} orgName
|
|
1348
|
+
* @param {string} clusterName
|
|
1349
|
+
* @param {*} [options] Override http request option.
|
|
1350
|
+
* @throws {RequiredError}
|
|
1351
|
+
*/
|
|
1352
|
+
listSeaweedFSPolicies: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1353
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1354
|
+
assertParamExists('listSeaweedFSPolicies', 'orgName', orgName)
|
|
1355
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1356
|
+
assertParamExists('listSeaweedFSPolicies', 'clusterName', clusterName)
|
|
1357
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
|
|
1358
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1359
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1361
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1362
|
+
let baseOptions;
|
|
1363
|
+
if (configuration) {
|
|
1364
|
+
baseOptions = configuration.baseOptions;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1368
|
+
const localVarHeaderParameter = {} as any;
|
|
1369
|
+
const localVarQueryParameter = {} as any;
|
|
1370
|
+
|
|
1371
|
+
// authentication BearerToken required
|
|
1372
|
+
// http bearer authentication required
|
|
1373
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1374
|
+
|
|
1375
|
+
// authentication DigestAuth required
|
|
1376
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
|
|
917
1380
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
918
1381
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
919
1382
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1025,7 +1488,62 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1025
1488
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1026
1489
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1027
1490
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1028
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1491
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1492
|
+
|
|
1493
|
+
return {
|
|
1494
|
+
url: toPathString(localVarUrlObj),
|
|
1495
|
+
options: localVarRequestOptions,
|
|
1496
|
+
};
|
|
1497
|
+
},
|
|
1498
|
+
/**
|
|
1499
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
1500
|
+
* @summary putSeaweedFSPolicy
|
|
1501
|
+
* @param {string} orgName
|
|
1502
|
+
* @param {string} clusterName
|
|
1503
|
+
* @param {string} policyName
|
|
1504
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
1505
|
+
* @param {*} [options] Override http request option.
|
|
1506
|
+
* @throws {RequiredError}
|
|
1507
|
+
*/
|
|
1508
|
+
putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1509
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1510
|
+
assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
|
|
1511
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1512
|
+
assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
|
|
1513
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
1514
|
+
assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
|
|
1515
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
1516
|
+
assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
|
|
1517
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
1518
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1519
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1520
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
1521
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1522
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1523
|
+
let baseOptions;
|
|
1524
|
+
if (configuration) {
|
|
1525
|
+
baseOptions = configuration.baseOptions;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1529
|
+
const localVarHeaderParameter = {} as any;
|
|
1530
|
+
const localVarQueryParameter = {} as any;
|
|
1531
|
+
|
|
1532
|
+
// authentication BearerToken required
|
|
1533
|
+
// http bearer authentication required
|
|
1534
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1535
|
+
|
|
1536
|
+
// authentication DigestAuth required
|
|
1537
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1542
|
+
|
|
1543
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1544
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1545
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1546
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
1029
1547
|
|
|
1030
1548
|
return {
|
|
1031
1549
|
url: toPathString(localVarUrlObj),
|
|
@@ -1419,6 +1937,116 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1419
1937
|
options: localVarRequestOptions,
|
|
1420
1938
|
};
|
|
1421
1939
|
},
|
|
1940
|
+
/**
|
|
1941
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
1942
|
+
* @summary updateSeaweedFSAccount
|
|
1943
|
+
* @param {string} orgName name of the organization
|
|
1944
|
+
* @param {string} clusterName name of the cluster
|
|
1945
|
+
* @param {string} accountName name of the account
|
|
1946
|
+
* @param {Account} body
|
|
1947
|
+
* @param {*} [options] Override http request option.
|
|
1948
|
+
* @throws {RequiredError}
|
|
1949
|
+
*/
|
|
1950
|
+
updateSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1951
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1952
|
+
assertParamExists('updateSeaweedFSAccount', 'orgName', orgName)
|
|
1953
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1954
|
+
assertParamExists('updateSeaweedFSAccount', 'clusterName', clusterName)
|
|
1955
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1956
|
+
assertParamExists('updateSeaweedFSAccount', 'accountName', accountName)
|
|
1957
|
+
// verify required parameter 'body' is not null or undefined
|
|
1958
|
+
assertParamExists('updateSeaweedFSAccount', 'body', body)
|
|
1959
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
1960
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1961
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1962
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1963
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1964
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1965
|
+
let baseOptions;
|
|
1966
|
+
if (configuration) {
|
|
1967
|
+
baseOptions = configuration.baseOptions;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1971
|
+
const localVarHeaderParameter = {} as any;
|
|
1972
|
+
const localVarQueryParameter = {} as any;
|
|
1973
|
+
|
|
1974
|
+
// authentication BearerToken required
|
|
1975
|
+
// http bearer authentication required
|
|
1976
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1977
|
+
|
|
1978
|
+
// authentication DigestAuth required
|
|
1979
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1984
|
+
|
|
1985
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1986
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1987
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1988
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1989
|
+
|
|
1990
|
+
return {
|
|
1991
|
+
url: toPathString(localVarUrlObj),
|
|
1992
|
+
options: localVarRequestOptions,
|
|
1993
|
+
};
|
|
1994
|
+
},
|
|
1995
|
+
/**
|
|
1996
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
1997
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
1998
|
+
* @param {string} orgName name of the Org
|
|
1999
|
+
* @param {string} clusterName name of the Cluster
|
|
2000
|
+
* @param {string} accountName name of the account
|
|
2001
|
+
* @param {Array<PrivilegeListItem>} body
|
|
2002
|
+
* @param {*} [options] Override http request option.
|
|
2003
|
+
* @throws {RequiredError}
|
|
2004
|
+
*/
|
|
2005
|
+
updateSeaweedFSAccountPrivileges: async (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2006
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2007
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'orgName', orgName)
|
|
2008
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2009
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName)
|
|
2010
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2011
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'accountName', accountName)
|
|
2012
|
+
// verify required parameter 'body' is not null or undefined
|
|
2013
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'body', body)
|
|
2014
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
|
|
2015
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2016
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2017
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
2018
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2019
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2020
|
+
let baseOptions;
|
|
2021
|
+
if (configuration) {
|
|
2022
|
+
baseOptions = configuration.baseOptions;
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
2026
|
+
const localVarHeaderParameter = {} as any;
|
|
2027
|
+
const localVarQueryParameter = {} as any;
|
|
2028
|
+
|
|
2029
|
+
// authentication BearerToken required
|
|
2030
|
+
// http bearer authentication required
|
|
2031
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2032
|
+
|
|
2033
|
+
// authentication DigestAuth required
|
|
2034
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2039
|
+
|
|
2040
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2041
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2042
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2043
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2044
|
+
|
|
2045
|
+
return {
|
|
2046
|
+
url: toPathString(localVarUrlObj),
|
|
2047
|
+
options: localVarRequestOptions,
|
|
2048
|
+
};
|
|
2049
|
+
},
|
|
1422
2050
|
/**
|
|
1423
2051
|
* update a MinIO service account access key
|
|
1424
2052
|
* @summary Update MinIO access key
|
|
@@ -1488,6 +2116,22 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1488
2116
|
export const AccountApiFp = function(configuration?: Configuration) {
|
|
1489
2117
|
const localVarAxiosParamCreator = AccountApiAxiosParamCreator(configuration)
|
|
1490
2118
|
return {
|
|
2119
|
+
/**
|
|
2120
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
2121
|
+
* @summary bindSeaweedFSPolicies
|
|
2122
|
+
* @param {string} orgName
|
|
2123
|
+
* @param {string} clusterName
|
|
2124
|
+
* @param {string} accountName
|
|
2125
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
2126
|
+
* @param {*} [options] Override http request option.
|
|
2127
|
+
* @throws {RequiredError}
|
|
2128
|
+
*/
|
|
2129
|
+
async bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2130
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
|
|
2131
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2132
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.bindSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
2133
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2134
|
+
},
|
|
1491
2135
|
/**
|
|
1492
2136
|
* create an account in cluster
|
|
1493
2137
|
* @summary Create cluster account
|
|
@@ -1534,6 +2178,37 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1534
2178
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.createRabbitAccount']?.[localVarOperationServerIndex]?.url;
|
|
1535
2179
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1536
2180
|
},
|
|
2181
|
+
/**
|
|
2182
|
+
* 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.
|
|
2183
|
+
* @summary createSeaweedFSAccessKey
|
|
2184
|
+
* @param {string} orgName
|
|
2185
|
+
* @param {string} clusterName
|
|
2186
|
+
* @param {string} accountName
|
|
2187
|
+
* @param {Account} account
|
|
2188
|
+
* @param {*} [options] Override http request option.
|
|
2189
|
+
* @throws {RequiredError}
|
|
2190
|
+
*/
|
|
2191
|
+
async createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
2192
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
|
|
2193
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2194
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.createSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
2195
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2196
|
+
},
|
|
2197
|
+
/**
|
|
2198
|
+
* 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.
|
|
2199
|
+
* @summary createSeaweedFSAccount
|
|
2200
|
+
* @param {string} orgName name of the organization
|
|
2201
|
+
* @param {string} clusterName name of the cluster
|
|
2202
|
+
* @param {Account} body
|
|
2203
|
+
* @param {*} [options] Override http request option.
|
|
2204
|
+
* @throws {RequiredError}
|
|
2205
|
+
*/
|
|
2206
|
+
async createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
2207
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
|
|
2208
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2209
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.createSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
2210
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2211
|
+
},
|
|
1537
2212
|
/**
|
|
1538
2213
|
* create a MinIO service account access key
|
|
1539
2214
|
* @summary Create MinIO access key
|
|
@@ -1626,6 +2301,52 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1626
2301
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteRabbitAccount']?.[localVarOperationServerIndex]?.url;
|
|
1627
2302
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1628
2303
|
},
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @summary deleteSeaweedFSAccessKey
|
|
2307
|
+
* @param {string} orgName
|
|
2308
|
+
* @param {string} clusterName
|
|
2309
|
+
* @param {string} accountName
|
|
2310
|
+
* @param {string} accessKey
|
|
2311
|
+
* @param {*} [options] Override http request option.
|
|
2312
|
+
* @throws {RequiredError}
|
|
2313
|
+
*/
|
|
2314
|
+
async deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
|
|
2316
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2317
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
2318
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2319
|
+
},
|
|
2320
|
+
/**
|
|
2321
|
+
* delete an account in cluster
|
|
2322
|
+
* @summary deleteSeaweedFSAccount
|
|
2323
|
+
* @param {string} orgName name of the organization
|
|
2324
|
+
* @param {string} clusterName name of the cluster
|
|
2325
|
+
* @param {string} accountName name of the account
|
|
2326
|
+
* @param {*} [options] Override http request option.
|
|
2327
|
+
* @throws {RequiredError}
|
|
2328
|
+
*/
|
|
2329
|
+
async deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2330
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
|
|
2331
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2332
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
2333
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2334
|
+
},
|
|
2335
|
+
/**
|
|
2336
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
2337
|
+
* @summary deleteSeaweedFSPolicy
|
|
2338
|
+
* @param {string} orgName
|
|
2339
|
+
* @param {string} clusterName
|
|
2340
|
+
* @param {string} policyName
|
|
2341
|
+
* @param {*} [options] Override http request option.
|
|
2342
|
+
* @throws {RequiredError}
|
|
2343
|
+
*/
|
|
2344
|
+
async deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2345
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
|
|
2346
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2347
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.deleteSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
2348
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2349
|
+
},
|
|
1629
2350
|
/**
|
|
1630
2351
|
* delete a MinIO service account access key
|
|
1631
2352
|
* @summary Delete MinIO access key
|
|
@@ -1674,6 +2395,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1674
2395
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
1675
2396
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1676
2397
|
},
|
|
2398
|
+
/**
|
|
2399
|
+
* get root account password
|
|
2400
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
2401
|
+
* @param {string} orgName name of the Org
|
|
2402
|
+
* @param {string} clusterName name of the Cluster
|
|
2403
|
+
* @param {string} accountName name of the account
|
|
2404
|
+
* @param {string} [component] name of the component
|
|
2405
|
+
* @param {*} [options] Override http request option.
|
|
2406
|
+
* @throws {RequiredError}
|
|
2407
|
+
*/
|
|
2408
|
+
async getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
2409
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
|
|
2410
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2411
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.getRootSeaweedFSAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
2412
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2413
|
+
},
|
|
1677
2414
|
/**
|
|
1678
2415
|
* get a MinIO service account access key
|
|
1679
2416
|
* @summary Get MinIO access key
|
|
@@ -1747,6 +2484,34 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1747
2484
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.listRabbitAccounts']?.[localVarOperationServerIndex]?.url;
|
|
1748
2485
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1749
2486
|
},
|
|
2487
|
+
/**
|
|
2488
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
2489
|
+
* @summary listSeaweedFSAccounts
|
|
2490
|
+
* @param {string} orgName name of the organization
|
|
2491
|
+
* @param {string} clusterName name of the cluster
|
|
2492
|
+
* @param {*} [options] Override http request option.
|
|
2493
|
+
* @throws {RequiredError}
|
|
2494
|
+
*/
|
|
2495
|
+
async listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
|
|
2496
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
|
|
2497
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2498
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.listSeaweedFSAccounts']?.[localVarOperationServerIndex]?.url;
|
|
2499
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2500
|
+
},
|
|
2501
|
+
/**
|
|
2502
|
+
*
|
|
2503
|
+
* @summary listSeaweedFSPolicies
|
|
2504
|
+
* @param {string} orgName
|
|
2505
|
+
* @param {string} clusterName
|
|
2506
|
+
* @param {*} [options] Override http request option.
|
|
2507
|
+
* @throws {RequiredError}
|
|
2508
|
+
*/
|
|
2509
|
+
async listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>> {
|
|
2510
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
|
|
2511
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2512
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.listSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
2513
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2514
|
+
},
|
|
1750
2515
|
/**
|
|
1751
2516
|
* list MinIO service account access keys
|
|
1752
2517
|
* @summary List MinIO access keys
|
|
@@ -1779,6 +2544,22 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1779
2544
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
1780
2545
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1781
2546
|
},
|
|
2547
|
+
/**
|
|
2548
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
2549
|
+
* @summary putSeaweedFSPolicy
|
|
2550
|
+
* @param {string} orgName
|
|
2551
|
+
* @param {string} clusterName
|
|
2552
|
+
* @param {string} policyName
|
|
2553
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
2554
|
+
* @param {*} [options] Override http request option.
|
|
2555
|
+
* @throws {RequiredError}
|
|
2556
|
+
*/
|
|
2557
|
+
async putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2558
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
|
|
2559
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2560
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.putSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
2561
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2562
|
+
},
|
|
1782
2563
|
/**
|
|
1783
2564
|
* update an account in cluster
|
|
1784
2565
|
* @summary update cluster account
|
|
@@ -1892,6 +2673,38 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1892
2673
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateRabbitAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
1893
2674
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1894
2675
|
},
|
|
2676
|
+
/**
|
|
2677
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
2678
|
+
* @summary updateSeaweedFSAccount
|
|
2679
|
+
* @param {string} orgName name of the organization
|
|
2680
|
+
* @param {string} clusterName name of the cluster
|
|
2681
|
+
* @param {string} accountName name of the account
|
|
2682
|
+
* @param {Account} body
|
|
2683
|
+
* @param {*} [options] Override http request option.
|
|
2684
|
+
* @throws {RequiredError}
|
|
2685
|
+
*/
|
|
2686
|
+
async updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
2687
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
|
|
2688
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2689
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
2690
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2691
|
+
},
|
|
2692
|
+
/**
|
|
2693
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
2694
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
2695
|
+
* @param {string} orgName name of the Org
|
|
2696
|
+
* @param {string} clusterName name of the Cluster
|
|
2697
|
+
* @param {string} accountName name of the account
|
|
2698
|
+
* @param {Array<PrivilegeListItem>} body
|
|
2699
|
+
* @param {*} [options] Override http request option.
|
|
2700
|
+
* @throws {RequiredError}
|
|
2701
|
+
*/
|
|
2702
|
+
async updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2703
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
|
|
2704
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2705
|
+
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateSeaweedFSAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
2706
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2707
|
+
},
|
|
1895
2708
|
/**
|
|
1896
2709
|
* update a MinIO service account access key
|
|
1897
2710
|
* @summary Update MinIO access key
|
|
@@ -1919,6 +2732,16 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
1919
2732
|
export const AccountApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1920
2733
|
const localVarFp = AccountApiFp(configuration)
|
|
1921
2734
|
return {
|
|
2735
|
+
/**
|
|
2736
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
2737
|
+
* @summary bindSeaweedFSPolicies
|
|
2738
|
+
* @param {AccountApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
2739
|
+
* @param {*} [options] Override http request option.
|
|
2740
|
+
* @throws {RequiredError}
|
|
2741
|
+
*/
|
|
2742
|
+
bindSeaweedFSPolicies(requestParameters: AccountApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2743
|
+
return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
|
|
2744
|
+
},
|
|
1922
2745
|
/**
|
|
1923
2746
|
* create an account in cluster
|
|
1924
2747
|
* @summary Create cluster account
|
|
@@ -1949,6 +2772,26 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
1949
2772
|
createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1950
2773
|
return localVarFp.createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(axios, basePath));
|
|
1951
2774
|
},
|
|
2775
|
+
/**
|
|
2776
|
+
* 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.
|
|
2777
|
+
* @summary createSeaweedFSAccessKey
|
|
2778
|
+
* @param {AccountApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
2779
|
+
* @param {*} [options] Override http request option.
|
|
2780
|
+
* @throws {RequiredError}
|
|
2781
|
+
*/
|
|
2782
|
+
createSeaweedFSAccessKey(requestParameters: AccountApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
2783
|
+
return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
|
|
2784
|
+
},
|
|
2785
|
+
/**
|
|
2786
|
+
* 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.
|
|
2787
|
+
* @summary createSeaweedFSAccount
|
|
2788
|
+
* @param {AccountApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
2789
|
+
* @param {*} [options] Override http request option.
|
|
2790
|
+
* @throws {RequiredError}
|
|
2791
|
+
*/
|
|
2792
|
+
createSeaweedFSAccount(requestParameters: AccountApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
2793
|
+
return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2794
|
+
},
|
|
1952
2795
|
/**
|
|
1953
2796
|
* create a MinIO service account access key
|
|
1954
2797
|
* @summary Create MinIO access key
|
|
@@ -2009,6 +2852,36 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2009
2852
|
deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2010
2853
|
return localVarFp.deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
2011
2854
|
},
|
|
2855
|
+
/**
|
|
2856
|
+
*
|
|
2857
|
+
* @summary deleteSeaweedFSAccessKey
|
|
2858
|
+
* @param {AccountApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
2859
|
+
* @param {*} [options] Override http request option.
|
|
2860
|
+
* @throws {RequiredError}
|
|
2861
|
+
*/
|
|
2862
|
+
deleteSeaweedFSAccessKey(requestParameters: AccountApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2863
|
+
return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
2864
|
+
},
|
|
2865
|
+
/**
|
|
2866
|
+
* delete an account in cluster
|
|
2867
|
+
* @summary deleteSeaweedFSAccount
|
|
2868
|
+
* @param {AccountApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
2869
|
+
* @param {*} [options] Override http request option.
|
|
2870
|
+
* @throws {RequiredError}
|
|
2871
|
+
*/
|
|
2872
|
+
deleteSeaweedFSAccount(requestParameters: AccountApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2873
|
+
return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
2874
|
+
},
|
|
2875
|
+
/**
|
|
2876
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
2877
|
+
* @summary deleteSeaweedFSPolicy
|
|
2878
|
+
* @param {AccountApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
2879
|
+
* @param {*} [options] Override http request option.
|
|
2880
|
+
* @throws {RequiredError}
|
|
2881
|
+
*/
|
|
2882
|
+
deleteSeaweedFSPolicy(requestParameters: AccountApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2883
|
+
return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
|
|
2884
|
+
},
|
|
2012
2885
|
/**
|
|
2013
2886
|
* delete a MinIO service account access key
|
|
2014
2887
|
* @summary Delete MinIO access key
|
|
@@ -2039,6 +2912,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2039
2912
|
getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2040
2913
|
return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
2041
2914
|
},
|
|
2915
|
+
/**
|
|
2916
|
+
* get root account password
|
|
2917
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
2918
|
+
* @param {AccountApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
2919
|
+
* @param {*} [options] Override http request option.
|
|
2920
|
+
* @throws {RequiredError}
|
|
2921
|
+
*/
|
|
2922
|
+
getRootSeaweedFSAccountPassword(requestParameters: AccountApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
2923
|
+
return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
2924
|
+
},
|
|
2042
2925
|
/**
|
|
2043
2926
|
* get a MinIO service account access key
|
|
2044
2927
|
* @summary Get MinIO access key
|
|
@@ -2080,14 +2963,34 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2080
2963
|
return localVarFp.listMongoDBAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2081
2964
|
},
|
|
2082
2965
|
/**
|
|
2083
|
-
* List all RabbitMQ accounts
|
|
2084
|
-
* @summary List RabbitMQ accounts
|
|
2085
|
-
* @param {AccountApiListRabbitAccountsRequest} requestParameters Request parameters.
|
|
2966
|
+
* List all RabbitMQ accounts
|
|
2967
|
+
* @summary List RabbitMQ accounts
|
|
2968
|
+
* @param {AccountApiListRabbitAccountsRequest} requestParameters Request parameters.
|
|
2969
|
+
* @param {*} [options] Override http request option.
|
|
2970
|
+
* @throws {RequiredError}
|
|
2971
|
+
*/
|
|
2972
|
+
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList> {
|
|
2973
|
+
return localVarFp.listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2974
|
+
},
|
|
2975
|
+
/**
|
|
2976
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
2977
|
+
* @summary listSeaweedFSAccounts
|
|
2978
|
+
* @param {AccountApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
2979
|
+
* @param {*} [options] Override http request option.
|
|
2980
|
+
* @throws {RequiredError}
|
|
2981
|
+
*/
|
|
2982
|
+
listSeaweedFSAccounts(requestParameters: AccountApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
|
|
2983
|
+
return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2984
|
+
},
|
|
2985
|
+
/**
|
|
2986
|
+
*
|
|
2987
|
+
* @summary listSeaweedFSPolicies
|
|
2988
|
+
* @param {AccountApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
2086
2989
|
* @param {*} [options] Override http request option.
|
|
2087
2990
|
* @throws {RequiredError}
|
|
2088
2991
|
*/
|
|
2089
|
-
|
|
2090
|
-
return localVarFp.
|
|
2992
|
+
listSeaweedFSPolicies(requestParameters: AccountApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response> {
|
|
2993
|
+
return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
2091
2994
|
},
|
|
2092
2995
|
/**
|
|
2093
2996
|
* list MinIO service account access keys
|
|
@@ -2109,6 +3012,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2109
3012
|
putMilvusRole(requestParameters: AccountApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
2110
3013
|
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
2111
3014
|
},
|
|
3015
|
+
/**
|
|
3016
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
3017
|
+
* @summary putSeaweedFSPolicy
|
|
3018
|
+
* @param {AccountApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
3019
|
+
* @param {*} [options] Override http request option.
|
|
3020
|
+
* @throws {RequiredError}
|
|
3021
|
+
*/
|
|
3022
|
+
putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3023
|
+
return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
3024
|
+
},
|
|
2112
3025
|
/**
|
|
2113
3026
|
* update an account in cluster
|
|
2114
3027
|
* @summary update cluster account
|
|
@@ -2179,6 +3092,26 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2179
3092
|
updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2180
3093
|
return localVarFp.updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(axios, basePath));
|
|
2181
3094
|
},
|
|
3095
|
+
/**
|
|
3096
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
3097
|
+
* @summary updateSeaweedFSAccount
|
|
3098
|
+
* @param {AccountApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3099
|
+
* @param {*} [options] Override http request option.
|
|
3100
|
+
* @throws {RequiredError}
|
|
3101
|
+
*/
|
|
3102
|
+
updateSeaweedFSAccount(requestParameters: AccountApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
3103
|
+
return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
3104
|
+
},
|
|
3105
|
+
/**
|
|
3106
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
3107
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
3108
|
+
* @param {AccountApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
3109
|
+
* @param {*} [options] Override http request option.
|
|
3110
|
+
* @throws {RequiredError}
|
|
3111
|
+
*/
|
|
3112
|
+
updateSeaweedFSAccountPrivileges(requestParameters: AccountApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3113
|
+
return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
3114
|
+
},
|
|
2182
3115
|
/**
|
|
2183
3116
|
* update a MinIO service account access key
|
|
2184
3117
|
* @summary Update MinIO access key
|
|
@@ -2198,6 +3131,16 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2198
3131
|
* @interface AccountApi
|
|
2199
3132
|
*/
|
|
2200
3133
|
export interface AccountApiInterface {
|
|
3134
|
+
/**
|
|
3135
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
3136
|
+
* @summary bindSeaweedFSPolicies
|
|
3137
|
+
* @param {AccountApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
3138
|
+
* @param {*} [options] Override http request option.
|
|
3139
|
+
* @throws {RequiredError}
|
|
3140
|
+
* @memberof AccountApiInterface
|
|
3141
|
+
*/
|
|
3142
|
+
bindSeaweedFSPolicies(requestParameters: AccountApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3143
|
+
|
|
2201
3144
|
/**
|
|
2202
3145
|
* create an account in cluster
|
|
2203
3146
|
* @summary Create cluster account
|
|
@@ -2228,6 +3171,26 @@ export interface AccountApiInterface {
|
|
|
2228
3171
|
*/
|
|
2229
3172
|
createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2230
3173
|
|
|
3174
|
+
/**
|
|
3175
|
+
* 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.
|
|
3176
|
+
* @summary createSeaweedFSAccessKey
|
|
3177
|
+
* @param {AccountApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
3178
|
+
* @param {*} [options] Override http request option.
|
|
3179
|
+
* @throws {RequiredError}
|
|
3180
|
+
* @memberof AccountApiInterface
|
|
3181
|
+
*/
|
|
3182
|
+
createSeaweedFSAccessKey(requestParameters: AccountApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
3183
|
+
|
|
3184
|
+
/**
|
|
3185
|
+
* 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.
|
|
3186
|
+
* @summary createSeaweedFSAccount
|
|
3187
|
+
* @param {AccountApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3188
|
+
* @param {*} [options] Override http request option.
|
|
3189
|
+
* @throws {RequiredError}
|
|
3190
|
+
* @memberof AccountApiInterface
|
|
3191
|
+
*/
|
|
3192
|
+
createSeaweedFSAccount(requestParameters: AccountApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
3193
|
+
|
|
2231
3194
|
/**
|
|
2232
3195
|
* create a MinIO service account access key
|
|
2233
3196
|
* @summary Create MinIO access key
|
|
@@ -2288,6 +3251,36 @@ export interface AccountApiInterface {
|
|
|
2288
3251
|
*/
|
|
2289
3252
|
deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2290
3253
|
|
|
3254
|
+
/**
|
|
3255
|
+
*
|
|
3256
|
+
* @summary deleteSeaweedFSAccessKey
|
|
3257
|
+
* @param {AccountApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
3258
|
+
* @param {*} [options] Override http request option.
|
|
3259
|
+
* @throws {RequiredError}
|
|
3260
|
+
* @memberof AccountApiInterface
|
|
3261
|
+
*/
|
|
3262
|
+
deleteSeaweedFSAccessKey(requestParameters: AccountApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* delete an account in cluster
|
|
3266
|
+
* @summary deleteSeaweedFSAccount
|
|
3267
|
+
* @param {AccountApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3268
|
+
* @param {*} [options] Override http request option.
|
|
3269
|
+
* @throws {RequiredError}
|
|
3270
|
+
* @memberof AccountApiInterface
|
|
3271
|
+
*/
|
|
3272
|
+
deleteSeaweedFSAccount(requestParameters: AccountApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
3276
|
+
* @summary deleteSeaweedFSPolicy
|
|
3277
|
+
* @param {AccountApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
3278
|
+
* @param {*} [options] Override http request option.
|
|
3279
|
+
* @throws {RequiredError}
|
|
3280
|
+
* @memberof AccountApiInterface
|
|
3281
|
+
*/
|
|
3282
|
+
deleteSeaweedFSPolicy(requestParameters: AccountApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3283
|
+
|
|
2291
3284
|
/**
|
|
2292
3285
|
* delete a MinIO service account access key
|
|
2293
3286
|
* @summary Delete MinIO access key
|
|
@@ -2318,6 +3311,16 @@ export interface AccountApiInterface {
|
|
|
2318
3311
|
*/
|
|
2319
3312
|
getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
2320
3313
|
|
|
3314
|
+
/**
|
|
3315
|
+
* get root account password
|
|
3316
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
3317
|
+
* @param {AccountApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
3318
|
+
* @param {*} [options] Override http request option.
|
|
3319
|
+
* @throws {RequiredError}
|
|
3320
|
+
* @memberof AccountApiInterface
|
|
3321
|
+
*/
|
|
3322
|
+
getRootSeaweedFSAccountPassword(requestParameters: AccountApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
3323
|
+
|
|
2321
3324
|
/**
|
|
2322
3325
|
* get a MinIO service account access key
|
|
2323
3326
|
* @summary Get MinIO access key
|
|
@@ -2368,6 +3371,26 @@ export interface AccountApiInterface {
|
|
|
2368
3371
|
*/
|
|
2369
3372
|
listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
|
|
2370
3373
|
|
|
3374
|
+
/**
|
|
3375
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
3376
|
+
* @summary listSeaweedFSAccounts
|
|
3377
|
+
* @param {AccountApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
3378
|
+
* @param {*} [options] Override http request option.
|
|
3379
|
+
* @throws {RequiredError}
|
|
3380
|
+
* @memberof AccountApiInterface
|
|
3381
|
+
*/
|
|
3382
|
+
listSeaweedFSAccounts(requestParameters: AccountApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
3383
|
+
|
|
3384
|
+
/**
|
|
3385
|
+
*
|
|
3386
|
+
* @summary listSeaweedFSPolicies
|
|
3387
|
+
* @param {AccountApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
3388
|
+
* @param {*} [options] Override http request option.
|
|
3389
|
+
* @throws {RequiredError}
|
|
3390
|
+
* @memberof AccountApiInterface
|
|
3391
|
+
*/
|
|
3392
|
+
listSeaweedFSPolicies(requestParameters: AccountApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
|
|
3393
|
+
|
|
2371
3394
|
/**
|
|
2372
3395
|
* list MinIO service account access keys
|
|
2373
3396
|
* @summary List MinIO access keys
|
|
@@ -2388,6 +3411,16 @@ export interface AccountApiInterface {
|
|
|
2388
3411
|
*/
|
|
2389
3412
|
putMilvusRole(requestParameters: AccountApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
2390
3413
|
|
|
3414
|
+
/**
|
|
3415
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
3416
|
+
* @summary putSeaweedFSPolicy
|
|
3417
|
+
* @param {AccountApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
3418
|
+
* @param {*} [options] Override http request option.
|
|
3419
|
+
* @throws {RequiredError}
|
|
3420
|
+
* @memberof AccountApiInterface
|
|
3421
|
+
*/
|
|
3422
|
+
putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3423
|
+
|
|
2391
3424
|
/**
|
|
2392
3425
|
* update an account in cluster
|
|
2393
3426
|
* @summary update cluster account
|
|
@@ -2458,6 +3491,26 @@ export interface AccountApiInterface {
|
|
|
2458
3491
|
*/
|
|
2459
3492
|
updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2460
3493
|
|
|
3494
|
+
/**
|
|
3495
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
3496
|
+
* @summary updateSeaweedFSAccount
|
|
3497
|
+
* @param {AccountApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
3498
|
+
* @param {*} [options] Override http request option.
|
|
3499
|
+
* @throws {RequiredError}
|
|
3500
|
+
* @memberof AccountApiInterface
|
|
3501
|
+
*/
|
|
3502
|
+
updateSeaweedFSAccount(requestParameters: AccountApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
3503
|
+
|
|
3504
|
+
/**
|
|
3505
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
3506
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
3507
|
+
* @param {AccountApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
3508
|
+
* @param {*} [options] Override http request option.
|
|
3509
|
+
* @throws {RequiredError}
|
|
3510
|
+
* @memberof AccountApiInterface
|
|
3511
|
+
*/
|
|
3512
|
+
updateSeaweedFSAccountPrivileges(requestParameters: AccountApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3513
|
+
|
|
2461
3514
|
/**
|
|
2462
3515
|
* update a MinIO service account access key
|
|
2463
3516
|
* @summary Update MinIO access key
|
|
@@ -2470,6 +3523,41 @@ export interface AccountApiInterface {
|
|
|
2470
3523
|
|
|
2471
3524
|
}
|
|
2472
3525
|
|
|
3526
|
+
/**
|
|
3527
|
+
* Request parameters for bindSeaweedFSPolicies operation in AccountApi.
|
|
3528
|
+
* @export
|
|
3529
|
+
* @interface AccountApiBindSeaweedFSPoliciesRequest
|
|
3530
|
+
*/
|
|
3531
|
+
export interface AccountApiBindSeaweedFSPoliciesRequest {
|
|
3532
|
+
/**
|
|
3533
|
+
*
|
|
3534
|
+
* @type {string}
|
|
3535
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
3536
|
+
*/
|
|
3537
|
+
readonly orgName: string
|
|
3538
|
+
|
|
3539
|
+
/**
|
|
3540
|
+
*
|
|
3541
|
+
* @type {string}
|
|
3542
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
3543
|
+
*/
|
|
3544
|
+
readonly clusterName: string
|
|
3545
|
+
|
|
3546
|
+
/**
|
|
3547
|
+
*
|
|
3548
|
+
* @type {string}
|
|
3549
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
3550
|
+
*/
|
|
3551
|
+
readonly accountName: string
|
|
3552
|
+
|
|
3553
|
+
/**
|
|
3554
|
+
*
|
|
3555
|
+
* @type {BindSeaweedFSPoliciesRequest}
|
|
3556
|
+
* @memberof AccountApiBindSeaweedFSPolicies
|
|
3557
|
+
*/
|
|
3558
|
+
readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest
|
|
3559
|
+
}
|
|
3560
|
+
|
|
2473
3561
|
/**
|
|
2474
3562
|
* Request parameters for createAccount operation in AccountApi.
|
|
2475
3563
|
* @export
|
|
@@ -2561,6 +3649,69 @@ export interface AccountApiCreateRabbitAccountRequest {
|
|
|
2561
3649
|
readonly rbmqAccountRequest: RbmqAccountRequest
|
|
2562
3650
|
}
|
|
2563
3651
|
|
|
3652
|
+
/**
|
|
3653
|
+
* Request parameters for createSeaweedFSAccessKey operation in AccountApi.
|
|
3654
|
+
* @export
|
|
3655
|
+
* @interface AccountApiCreateSeaweedFSAccessKeyRequest
|
|
3656
|
+
*/
|
|
3657
|
+
export interface AccountApiCreateSeaweedFSAccessKeyRequest {
|
|
3658
|
+
/**
|
|
3659
|
+
*
|
|
3660
|
+
* @type {string}
|
|
3661
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
3662
|
+
*/
|
|
3663
|
+
readonly orgName: string
|
|
3664
|
+
|
|
3665
|
+
/**
|
|
3666
|
+
*
|
|
3667
|
+
* @type {string}
|
|
3668
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
3669
|
+
*/
|
|
3670
|
+
readonly clusterName: string
|
|
3671
|
+
|
|
3672
|
+
/**
|
|
3673
|
+
*
|
|
3674
|
+
* @type {string}
|
|
3675
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
3676
|
+
*/
|
|
3677
|
+
readonly accountName: string
|
|
3678
|
+
|
|
3679
|
+
/**
|
|
3680
|
+
*
|
|
3681
|
+
* @type {Account}
|
|
3682
|
+
* @memberof AccountApiCreateSeaweedFSAccessKey
|
|
3683
|
+
*/
|
|
3684
|
+
readonly account: Account
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3687
|
+
/**
|
|
3688
|
+
* Request parameters for createSeaweedFSAccount operation in AccountApi.
|
|
3689
|
+
* @export
|
|
3690
|
+
* @interface AccountApiCreateSeaweedFSAccountRequest
|
|
3691
|
+
*/
|
|
3692
|
+
export interface AccountApiCreateSeaweedFSAccountRequest {
|
|
3693
|
+
/**
|
|
3694
|
+
* name of the organization
|
|
3695
|
+
* @type {string}
|
|
3696
|
+
* @memberof AccountApiCreateSeaweedFSAccount
|
|
3697
|
+
*/
|
|
3698
|
+
readonly orgName: string
|
|
3699
|
+
|
|
3700
|
+
/**
|
|
3701
|
+
* name of the cluster
|
|
3702
|
+
* @type {string}
|
|
3703
|
+
* @memberof AccountApiCreateSeaweedFSAccount
|
|
3704
|
+
*/
|
|
3705
|
+
readonly clusterName: string
|
|
3706
|
+
|
|
3707
|
+
/**
|
|
3708
|
+
*
|
|
3709
|
+
* @type {Account}
|
|
3710
|
+
* @memberof AccountApiCreateSeaweedFSAccount
|
|
3711
|
+
*/
|
|
3712
|
+
readonly body: Account
|
|
3713
|
+
}
|
|
3714
|
+
|
|
2564
3715
|
/**
|
|
2565
3716
|
* Request parameters for createServiceAccount operation in AccountApi.
|
|
2566
3717
|
* @export
|
|
@@ -2680,67 +3831,158 @@ export interface AccountApiDeleteMongoDBAccountRequest {
|
|
|
2680
3831
|
readonly clusterName: string
|
|
2681
3832
|
|
|
2682
3833
|
/**
|
|
2683
|
-
* name of the Cluster
|
|
3834
|
+
* name of the Cluster
|
|
3835
|
+
* @type {string}
|
|
3836
|
+
* @memberof AccountApiDeleteMongoDBAccount
|
|
3837
|
+
*/
|
|
3838
|
+
readonly accountName: string
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
/**
|
|
3842
|
+
* Request parameters for deleteMssqlAccount operation in AccountApi.
|
|
3843
|
+
* @export
|
|
3844
|
+
* @interface AccountApiDeleteMssqlAccountRequest
|
|
3845
|
+
*/
|
|
3846
|
+
export interface AccountApiDeleteMssqlAccountRequest {
|
|
3847
|
+
/**
|
|
3848
|
+
* name of the organization
|
|
3849
|
+
* @type {string}
|
|
3850
|
+
* @memberof AccountApiDeleteMssqlAccount
|
|
3851
|
+
*/
|
|
3852
|
+
readonly orgName: string
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* name of the cluster
|
|
3856
|
+
* @type {string}
|
|
3857
|
+
* @memberof AccountApiDeleteMssqlAccount
|
|
3858
|
+
*/
|
|
3859
|
+
readonly clusterName: string
|
|
3860
|
+
|
|
3861
|
+
/**
|
|
3862
|
+
* name of the account
|
|
3863
|
+
* @type {string}
|
|
3864
|
+
* @memberof AccountApiDeleteMssqlAccount
|
|
3865
|
+
*/
|
|
3866
|
+
readonly account: string
|
|
3867
|
+
}
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* Request parameters for deleteRabbitAccount operation in AccountApi.
|
|
3871
|
+
* @export
|
|
3872
|
+
* @interface AccountApiDeleteRabbitAccountRequest
|
|
3873
|
+
*/
|
|
3874
|
+
export interface AccountApiDeleteRabbitAccountRequest {
|
|
3875
|
+
/**
|
|
3876
|
+
* name of the Org
|
|
3877
|
+
* @type {string}
|
|
3878
|
+
* @memberof AccountApiDeleteRabbitAccount
|
|
3879
|
+
*/
|
|
3880
|
+
readonly orgName: string
|
|
3881
|
+
|
|
3882
|
+
/**
|
|
3883
|
+
* name of the Cluster
|
|
3884
|
+
* @type {string}
|
|
3885
|
+
* @memberof AccountApiDeleteRabbitAccount
|
|
3886
|
+
*/
|
|
3887
|
+
readonly clusterName: string
|
|
3888
|
+
|
|
3889
|
+
/**
|
|
3890
|
+
* name of the Account
|
|
3891
|
+
* @type {string}
|
|
3892
|
+
* @memberof AccountApiDeleteRabbitAccount
|
|
3893
|
+
*/
|
|
3894
|
+
readonly accountName: string
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
/**
|
|
3898
|
+
* Request parameters for deleteSeaweedFSAccessKey operation in AccountApi.
|
|
3899
|
+
* @export
|
|
3900
|
+
* @interface AccountApiDeleteSeaweedFSAccessKeyRequest
|
|
3901
|
+
*/
|
|
3902
|
+
export interface AccountApiDeleteSeaweedFSAccessKeyRequest {
|
|
3903
|
+
/**
|
|
3904
|
+
*
|
|
3905
|
+
* @type {string}
|
|
3906
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
3907
|
+
*/
|
|
3908
|
+
readonly orgName: string
|
|
3909
|
+
|
|
3910
|
+
/**
|
|
3911
|
+
*
|
|
3912
|
+
* @type {string}
|
|
3913
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
3914
|
+
*/
|
|
3915
|
+
readonly clusterName: string
|
|
3916
|
+
|
|
3917
|
+
/**
|
|
3918
|
+
*
|
|
3919
|
+
* @type {string}
|
|
3920
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
3921
|
+
*/
|
|
3922
|
+
readonly accountName: string
|
|
3923
|
+
|
|
3924
|
+
/**
|
|
3925
|
+
*
|
|
2684
3926
|
* @type {string}
|
|
2685
|
-
* @memberof
|
|
3927
|
+
* @memberof AccountApiDeleteSeaweedFSAccessKey
|
|
2686
3928
|
*/
|
|
2687
|
-
readonly
|
|
3929
|
+
readonly accessKey: string
|
|
2688
3930
|
}
|
|
2689
3931
|
|
|
2690
3932
|
/**
|
|
2691
|
-
* Request parameters for
|
|
3933
|
+
* Request parameters for deleteSeaweedFSAccount operation in AccountApi.
|
|
2692
3934
|
* @export
|
|
2693
|
-
* @interface
|
|
3935
|
+
* @interface AccountApiDeleteSeaweedFSAccountRequest
|
|
2694
3936
|
*/
|
|
2695
|
-
export interface
|
|
3937
|
+
export interface AccountApiDeleteSeaweedFSAccountRequest {
|
|
2696
3938
|
/**
|
|
2697
3939
|
* name of the organization
|
|
2698
3940
|
* @type {string}
|
|
2699
|
-
* @memberof
|
|
3941
|
+
* @memberof AccountApiDeleteSeaweedFSAccount
|
|
2700
3942
|
*/
|
|
2701
3943
|
readonly orgName: string
|
|
2702
3944
|
|
|
2703
3945
|
/**
|
|
2704
3946
|
* name of the cluster
|
|
2705
3947
|
* @type {string}
|
|
2706
|
-
* @memberof
|
|
3948
|
+
* @memberof AccountApiDeleteSeaweedFSAccount
|
|
2707
3949
|
*/
|
|
2708
3950
|
readonly clusterName: string
|
|
2709
3951
|
|
|
2710
3952
|
/**
|
|
2711
3953
|
* name of the account
|
|
2712
3954
|
* @type {string}
|
|
2713
|
-
* @memberof
|
|
3955
|
+
* @memberof AccountApiDeleteSeaweedFSAccount
|
|
2714
3956
|
*/
|
|
2715
|
-
readonly
|
|
3957
|
+
readonly accountName: string
|
|
2716
3958
|
}
|
|
2717
3959
|
|
|
2718
3960
|
/**
|
|
2719
|
-
* Request parameters for
|
|
3961
|
+
* Request parameters for deleteSeaweedFSPolicy operation in AccountApi.
|
|
2720
3962
|
* @export
|
|
2721
|
-
* @interface
|
|
3963
|
+
* @interface AccountApiDeleteSeaweedFSPolicyRequest
|
|
2722
3964
|
*/
|
|
2723
|
-
export interface
|
|
3965
|
+
export interface AccountApiDeleteSeaweedFSPolicyRequest {
|
|
2724
3966
|
/**
|
|
2725
|
-
*
|
|
3967
|
+
*
|
|
2726
3968
|
* @type {string}
|
|
2727
|
-
* @memberof
|
|
3969
|
+
* @memberof AccountApiDeleteSeaweedFSPolicy
|
|
2728
3970
|
*/
|
|
2729
3971
|
readonly orgName: string
|
|
2730
3972
|
|
|
2731
3973
|
/**
|
|
2732
|
-
*
|
|
3974
|
+
*
|
|
2733
3975
|
* @type {string}
|
|
2734
|
-
* @memberof
|
|
3976
|
+
* @memberof AccountApiDeleteSeaweedFSPolicy
|
|
2735
3977
|
*/
|
|
2736
3978
|
readonly clusterName: string
|
|
2737
3979
|
|
|
2738
3980
|
/**
|
|
2739
|
-
*
|
|
3981
|
+
*
|
|
2740
3982
|
* @type {string}
|
|
2741
|
-
* @memberof
|
|
3983
|
+
* @memberof AccountApiDeleteSeaweedFSPolicy
|
|
2742
3984
|
*/
|
|
2743
|
-
readonly
|
|
3985
|
+
readonly policyName: string
|
|
2744
3986
|
}
|
|
2745
3987
|
|
|
2746
3988
|
/**
|
|
@@ -2848,6 +4090,41 @@ export interface AccountApiGetRootAccountPasswordRequest {
|
|
|
2848
4090
|
readonly component?: string
|
|
2849
4091
|
}
|
|
2850
4092
|
|
|
4093
|
+
/**
|
|
4094
|
+
* Request parameters for getRootSeaweedFSAccountPassword operation in AccountApi.
|
|
4095
|
+
* @export
|
|
4096
|
+
* @interface AccountApiGetRootSeaweedFSAccountPasswordRequest
|
|
4097
|
+
*/
|
|
4098
|
+
export interface AccountApiGetRootSeaweedFSAccountPasswordRequest {
|
|
4099
|
+
/**
|
|
4100
|
+
* name of the Org
|
|
4101
|
+
* @type {string}
|
|
4102
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
4103
|
+
*/
|
|
4104
|
+
readonly orgName: string
|
|
4105
|
+
|
|
4106
|
+
/**
|
|
4107
|
+
* name of the Cluster
|
|
4108
|
+
* @type {string}
|
|
4109
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
4110
|
+
*/
|
|
4111
|
+
readonly clusterName: string
|
|
4112
|
+
|
|
4113
|
+
/**
|
|
4114
|
+
* name of the account
|
|
4115
|
+
* @type {string}
|
|
4116
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
4117
|
+
*/
|
|
4118
|
+
readonly accountName: string
|
|
4119
|
+
|
|
4120
|
+
/**
|
|
4121
|
+
* name of the component
|
|
4122
|
+
* @type {string}
|
|
4123
|
+
* @memberof AccountApiGetRootSeaweedFSAccountPassword
|
|
4124
|
+
*/
|
|
4125
|
+
readonly component?: string
|
|
4126
|
+
}
|
|
4127
|
+
|
|
2851
4128
|
/**
|
|
2852
4129
|
* Request parameters for getServiceAccount operation in AccountApi.
|
|
2853
4130
|
* @export
|
|
@@ -2974,6 +4251,48 @@ export interface AccountApiListRabbitAccountsRequest {
|
|
|
2974
4251
|
readonly clusterName: string
|
|
2975
4252
|
}
|
|
2976
4253
|
|
|
4254
|
+
/**
|
|
4255
|
+
* Request parameters for listSeaweedFSAccounts operation in AccountApi.
|
|
4256
|
+
* @export
|
|
4257
|
+
* @interface AccountApiListSeaweedFSAccountsRequest
|
|
4258
|
+
*/
|
|
4259
|
+
export interface AccountApiListSeaweedFSAccountsRequest {
|
|
4260
|
+
/**
|
|
4261
|
+
* name of the organization
|
|
4262
|
+
* @type {string}
|
|
4263
|
+
* @memberof AccountApiListSeaweedFSAccounts
|
|
4264
|
+
*/
|
|
4265
|
+
readonly orgName: string
|
|
4266
|
+
|
|
4267
|
+
/**
|
|
4268
|
+
* name of the cluster
|
|
4269
|
+
* @type {string}
|
|
4270
|
+
* @memberof AccountApiListSeaweedFSAccounts
|
|
4271
|
+
*/
|
|
4272
|
+
readonly clusterName: string
|
|
4273
|
+
}
|
|
4274
|
+
|
|
4275
|
+
/**
|
|
4276
|
+
* Request parameters for listSeaweedFSPolicies operation in AccountApi.
|
|
4277
|
+
* @export
|
|
4278
|
+
* @interface AccountApiListSeaweedFSPoliciesRequest
|
|
4279
|
+
*/
|
|
4280
|
+
export interface AccountApiListSeaweedFSPoliciesRequest {
|
|
4281
|
+
/**
|
|
4282
|
+
*
|
|
4283
|
+
* @type {string}
|
|
4284
|
+
* @memberof AccountApiListSeaweedFSPolicies
|
|
4285
|
+
*/
|
|
4286
|
+
readonly orgName: string
|
|
4287
|
+
|
|
4288
|
+
/**
|
|
4289
|
+
*
|
|
4290
|
+
* @type {string}
|
|
4291
|
+
* @memberof AccountApiListSeaweedFSPolicies
|
|
4292
|
+
*/
|
|
4293
|
+
readonly clusterName: string
|
|
4294
|
+
}
|
|
4295
|
+
|
|
2977
4296
|
/**
|
|
2978
4297
|
* Request parameters for listServiceAccounts operation in AccountApi.
|
|
2979
4298
|
* @export
|
|
@@ -3044,6 +4363,41 @@ export interface AccountApiPutMilvusRoleRequest {
|
|
|
3044
4363
|
readonly body: MilvusRoleRequest
|
|
3045
4364
|
}
|
|
3046
4365
|
|
|
4366
|
+
/**
|
|
4367
|
+
* Request parameters for putSeaweedFSPolicy operation in AccountApi.
|
|
4368
|
+
* @export
|
|
4369
|
+
* @interface AccountApiPutSeaweedFSPolicyRequest
|
|
4370
|
+
*/
|
|
4371
|
+
export interface AccountApiPutSeaweedFSPolicyRequest {
|
|
4372
|
+
/**
|
|
4373
|
+
*
|
|
4374
|
+
* @type {string}
|
|
4375
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
4376
|
+
*/
|
|
4377
|
+
readonly orgName: string
|
|
4378
|
+
|
|
4379
|
+
/**
|
|
4380
|
+
*
|
|
4381
|
+
* @type {string}
|
|
4382
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
4383
|
+
*/
|
|
4384
|
+
readonly clusterName: string
|
|
4385
|
+
|
|
4386
|
+
/**
|
|
4387
|
+
*
|
|
4388
|
+
* @type {string}
|
|
4389
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
4390
|
+
*/
|
|
4391
|
+
readonly policyName: string
|
|
4392
|
+
|
|
4393
|
+
/**
|
|
4394
|
+
*
|
|
4395
|
+
* @type {{ [key: string]: any; }}
|
|
4396
|
+
* @memberof AccountApiPutSeaweedFSPolicy
|
|
4397
|
+
*/
|
|
4398
|
+
readonly requestBody: { [key: string]: any; }
|
|
4399
|
+
}
|
|
4400
|
+
|
|
3047
4401
|
/**
|
|
3048
4402
|
* Request parameters for updateAccount operation in AccountApi.
|
|
3049
4403
|
* @export
|
|
@@ -3296,6 +4650,76 @@ export interface AccountApiUpdateRabbitAccountPrivilegesRequest {
|
|
|
3296
4650
|
readonly rbmqPermission: RbmqPermission
|
|
3297
4651
|
}
|
|
3298
4652
|
|
|
4653
|
+
/**
|
|
4654
|
+
* Request parameters for updateSeaweedFSAccount operation in AccountApi.
|
|
4655
|
+
* @export
|
|
4656
|
+
* @interface AccountApiUpdateSeaweedFSAccountRequest
|
|
4657
|
+
*/
|
|
4658
|
+
export interface AccountApiUpdateSeaweedFSAccountRequest {
|
|
4659
|
+
/**
|
|
4660
|
+
* name of the organization
|
|
4661
|
+
* @type {string}
|
|
4662
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
4663
|
+
*/
|
|
4664
|
+
readonly orgName: string
|
|
4665
|
+
|
|
4666
|
+
/**
|
|
4667
|
+
* name of the cluster
|
|
4668
|
+
* @type {string}
|
|
4669
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
4670
|
+
*/
|
|
4671
|
+
readonly clusterName: string
|
|
4672
|
+
|
|
4673
|
+
/**
|
|
4674
|
+
* name of the account
|
|
4675
|
+
* @type {string}
|
|
4676
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
4677
|
+
*/
|
|
4678
|
+
readonly accountName: string
|
|
4679
|
+
|
|
4680
|
+
/**
|
|
4681
|
+
*
|
|
4682
|
+
* @type {Account}
|
|
4683
|
+
* @memberof AccountApiUpdateSeaweedFSAccount
|
|
4684
|
+
*/
|
|
4685
|
+
readonly body: Account
|
|
4686
|
+
}
|
|
4687
|
+
|
|
4688
|
+
/**
|
|
4689
|
+
* Request parameters for updateSeaweedFSAccountPrivileges operation in AccountApi.
|
|
4690
|
+
* @export
|
|
4691
|
+
* @interface AccountApiUpdateSeaweedFSAccountPrivilegesRequest
|
|
4692
|
+
*/
|
|
4693
|
+
export interface AccountApiUpdateSeaweedFSAccountPrivilegesRequest {
|
|
4694
|
+
/**
|
|
4695
|
+
* name of the Org
|
|
4696
|
+
* @type {string}
|
|
4697
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
4698
|
+
*/
|
|
4699
|
+
readonly orgName: string
|
|
4700
|
+
|
|
4701
|
+
/**
|
|
4702
|
+
* name of the Cluster
|
|
4703
|
+
* @type {string}
|
|
4704
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
4705
|
+
*/
|
|
4706
|
+
readonly clusterName: string
|
|
4707
|
+
|
|
4708
|
+
/**
|
|
4709
|
+
* name of the account
|
|
4710
|
+
* @type {string}
|
|
4711
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
4712
|
+
*/
|
|
4713
|
+
readonly accountName: string
|
|
4714
|
+
|
|
4715
|
+
/**
|
|
4716
|
+
*
|
|
4717
|
+
* @type {Array<PrivilegeListItem>}
|
|
4718
|
+
* @memberof AccountApiUpdateSeaweedFSAccountPrivileges
|
|
4719
|
+
*/
|
|
4720
|
+
readonly body: Array<PrivilegeListItem>
|
|
4721
|
+
}
|
|
4722
|
+
|
|
3299
4723
|
/**
|
|
3300
4724
|
* Request parameters for updateServiceAccount operation in AccountApi.
|
|
3301
4725
|
* @export
|
|
@@ -3345,6 +4769,18 @@ export interface AccountApiUpdateServiceAccountRequest {
|
|
|
3345
4769
|
* @extends {BaseAPI}
|
|
3346
4770
|
*/
|
|
3347
4771
|
export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
4772
|
+
/**
|
|
4773
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
4774
|
+
* @summary bindSeaweedFSPolicies
|
|
4775
|
+
* @param {AccountApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
4776
|
+
* @param {*} [options] Override http request option.
|
|
4777
|
+
* @throws {RequiredError}
|
|
4778
|
+
* @memberof AccountApi
|
|
4779
|
+
*/
|
|
4780
|
+
public bindSeaweedFSPolicies(requestParameters: AccountApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
4781
|
+
return AccountApiFp(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4782
|
+
}
|
|
4783
|
+
|
|
3348
4784
|
/**
|
|
3349
4785
|
* create an account in cluster
|
|
3350
4786
|
* @summary Create cluster account
|
|
@@ -3381,6 +4817,30 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3381
4817
|
return AccountApiFp(this.configuration).createRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.rbmqAccountRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3382
4818
|
}
|
|
3383
4819
|
|
|
4820
|
+
/**
|
|
4821
|
+
* 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.
|
|
4822
|
+
* @summary createSeaweedFSAccessKey
|
|
4823
|
+
* @param {AccountApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
4824
|
+
* @param {*} [options] Override http request option.
|
|
4825
|
+
* @throws {RequiredError}
|
|
4826
|
+
* @memberof AccountApi
|
|
4827
|
+
*/
|
|
4828
|
+
public createSeaweedFSAccessKey(requestParameters: AccountApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
4829
|
+
return AccountApiFp(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
4830
|
+
}
|
|
4831
|
+
|
|
4832
|
+
/**
|
|
4833
|
+
* 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.
|
|
4834
|
+
* @summary createSeaweedFSAccount
|
|
4835
|
+
* @param {AccountApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
4836
|
+
* @param {*} [options] Override http request option.
|
|
4837
|
+
* @throws {RequiredError}
|
|
4838
|
+
* @memberof AccountApi
|
|
4839
|
+
*/
|
|
4840
|
+
public createSeaweedFSAccount(requestParameters: AccountApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
4841
|
+
return AccountApiFp(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
4842
|
+
}
|
|
4843
|
+
|
|
3384
4844
|
/**
|
|
3385
4845
|
* create a MinIO service account access key
|
|
3386
4846
|
* @summary Create MinIO access key
|
|
@@ -3453,6 +4913,42 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3453
4913
|
return AccountApiFp(this.configuration).deleteRabbitAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
3454
4914
|
}
|
|
3455
4915
|
|
|
4916
|
+
/**
|
|
4917
|
+
*
|
|
4918
|
+
* @summary deleteSeaweedFSAccessKey
|
|
4919
|
+
* @param {AccountApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
4920
|
+
* @param {*} [options] Override http request option.
|
|
4921
|
+
* @throws {RequiredError}
|
|
4922
|
+
* @memberof AccountApi
|
|
4923
|
+
*/
|
|
4924
|
+
public deleteSeaweedFSAccessKey(requestParameters: AccountApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
4925
|
+
return AccountApiFp(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
4926
|
+
}
|
|
4927
|
+
|
|
4928
|
+
/**
|
|
4929
|
+
* delete an account in cluster
|
|
4930
|
+
* @summary deleteSeaweedFSAccount
|
|
4931
|
+
* @param {AccountApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
4932
|
+
* @param {*} [options] Override http request option.
|
|
4933
|
+
* @throws {RequiredError}
|
|
4934
|
+
* @memberof AccountApi
|
|
4935
|
+
*/
|
|
4936
|
+
public deleteSeaweedFSAccount(requestParameters: AccountApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
4937
|
+
return AccountApiFp(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
4938
|
+
}
|
|
4939
|
+
|
|
4940
|
+
/**
|
|
4941
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
4942
|
+
* @summary deleteSeaweedFSPolicy
|
|
4943
|
+
* @param {AccountApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
4944
|
+
* @param {*} [options] Override http request option.
|
|
4945
|
+
* @throws {RequiredError}
|
|
4946
|
+
* @memberof AccountApi
|
|
4947
|
+
*/
|
|
4948
|
+
public deleteSeaweedFSPolicy(requestParameters: AccountApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
4949
|
+
return AccountApiFp(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
|
|
4950
|
+
}
|
|
4951
|
+
|
|
3456
4952
|
/**
|
|
3457
4953
|
* delete a MinIO service account access key
|
|
3458
4954
|
* @summary Delete MinIO access key
|
|
@@ -3489,6 +4985,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3489
4985
|
return AccountApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
3490
4986
|
}
|
|
3491
4987
|
|
|
4988
|
+
/**
|
|
4989
|
+
* get root account password
|
|
4990
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
4991
|
+
* @param {AccountApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
4992
|
+
* @param {*} [options] Override http request option.
|
|
4993
|
+
* @throws {RequiredError}
|
|
4994
|
+
* @memberof AccountApi
|
|
4995
|
+
*/
|
|
4996
|
+
public getRootSeaweedFSAccountPassword(requestParameters: AccountApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
4997
|
+
return AccountApiFp(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
4998
|
+
}
|
|
4999
|
+
|
|
3492
5000
|
/**
|
|
3493
5001
|
* get a MinIO service account access key
|
|
3494
5002
|
* @summary Get MinIO access key
|
|
@@ -3549,6 +5057,30 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3549
5057
|
return AccountApiFp(this.configuration).listRabbitAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
3550
5058
|
}
|
|
3551
5059
|
|
|
5060
|
+
/**
|
|
5061
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
5062
|
+
* @summary listSeaweedFSAccounts
|
|
5063
|
+
* @param {AccountApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
5064
|
+
* @param {*} [options] Override http request option.
|
|
5065
|
+
* @throws {RequiredError}
|
|
5066
|
+
* @memberof AccountApi
|
|
5067
|
+
*/
|
|
5068
|
+
public listSeaweedFSAccounts(requestParameters: AccountApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
5069
|
+
return AccountApiFp(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
5070
|
+
}
|
|
5071
|
+
|
|
5072
|
+
/**
|
|
5073
|
+
*
|
|
5074
|
+
* @summary listSeaweedFSPolicies
|
|
5075
|
+
* @param {AccountApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
5076
|
+
* @param {*} [options] Override http request option.
|
|
5077
|
+
* @throws {RequiredError}
|
|
5078
|
+
* @memberof AccountApi
|
|
5079
|
+
*/
|
|
5080
|
+
public listSeaweedFSPolicies(requestParameters: AccountApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
5081
|
+
return AccountApiFp(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
5082
|
+
}
|
|
5083
|
+
|
|
3552
5084
|
/**
|
|
3553
5085
|
* list MinIO service account access keys
|
|
3554
5086
|
* @summary List MinIO access keys
|
|
@@ -3573,6 +5105,18 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3573
5105
|
return AccountApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
3574
5106
|
}
|
|
3575
5107
|
|
|
5108
|
+
/**
|
|
5109
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
5110
|
+
* @summary putSeaweedFSPolicy
|
|
5111
|
+
* @param {AccountApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
5112
|
+
* @param {*} [options] Override http request option.
|
|
5113
|
+
* @throws {RequiredError}
|
|
5114
|
+
* @memberof AccountApi
|
|
5115
|
+
*/
|
|
5116
|
+
public putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
5117
|
+
return AccountApiFp(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
5118
|
+
}
|
|
5119
|
+
|
|
3576
5120
|
/**
|
|
3577
5121
|
* update an account in cluster
|
|
3578
5122
|
* @summary update cluster account
|
|
@@ -3657,6 +5201,30 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
3657
5201
|
return AccountApiFp(this.configuration).updateRabbitAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPermission, options).then((request) => request(this.axios, this.basePath));
|
|
3658
5202
|
}
|
|
3659
5203
|
|
|
5204
|
+
/**
|
|
5205
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
5206
|
+
* @summary updateSeaweedFSAccount
|
|
5207
|
+
* @param {AccountApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
5208
|
+
* @param {*} [options] Override http request option.
|
|
5209
|
+
* @throws {RequiredError}
|
|
5210
|
+
* @memberof AccountApi
|
|
5211
|
+
*/
|
|
5212
|
+
public updateSeaweedFSAccount(requestParameters: AccountApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
5213
|
+
return AccountApiFp(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5214
|
+
}
|
|
5215
|
+
|
|
5216
|
+
/**
|
|
5217
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
5218
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
5219
|
+
* @param {AccountApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
5220
|
+
* @param {*} [options] Override http request option.
|
|
5221
|
+
* @throws {RequiredError}
|
|
5222
|
+
* @memberof AccountApi
|
|
5223
|
+
*/
|
|
5224
|
+
public updateSeaweedFSAccountPrivileges(requestParameters: AccountApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
5225
|
+
return AccountApiFp(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
5226
|
+
}
|
|
5227
|
+
|
|
3660
5228
|
/**
|
|
3661
5229
|
* update a MinIO service account access key
|
|
3662
5230
|
* @summary Update MinIO access key
|