kb-cloud-client-typescript 0.0.0-support-instance-template-ops.20260924.255 → 0.0.0-support-instance-template-ops.20260924.259
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 +2 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +2 -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/cluster-jar-api.d.ts +702 -0
- package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -0
- package/dist/adminapi/apis/cluster-jar-api.js +758 -0
- package/dist/adminapi/apis/cluster-jar-api.js.map +1 -0
- package/dist/adminapi/apis/environment-api.d.ts +95 -0
- package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
- package/dist/adminapi/apis/environment-api.js +93 -0
- package/dist/adminapi/apis/environment-api.js.map +1 -1
- package/dist/adminapi/apis/parameter-template-api.d.ts +18 -10
- package/dist/adminapi/apis/parameter-template-api.d.ts.map +1 -1
- package/dist/adminapi/apis/parameter-template-api.js +16 -11
- package/dist/adminapi/apis/parameter-template-api.js.map +1 -1
- package/dist/adminapi/apis/seaweedfs-api.d.ts +951 -0
- package/dist/adminapi/apis/seaweedfs-api.d.ts.map +1 -0
- package/dist/adminapi/apis/seaweedfs-api.js +1045 -0
- package/dist/adminapi/apis/seaweedfs-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +1577 -23
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1685 -10
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-config.d.ts +61 -0
- package/dist/adminapi/models/cluster-jar-config.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-config.js +16 -0
- package/dist/adminapi/models/cluster-jar-config.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-kind.d.ts +22 -0
- package/dist/adminapi/models/cluster-jar-kind.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-kind.js +26 -0
- package/dist/adminapi/models/cluster-jar-kind.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-list.d.ts +32 -0
- package/dist/adminapi/models/cluster-jar-list.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-list.js +16 -0
- package/dist/adminapi/models/cluster-jar-list.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-package.d.ts +111 -0
- package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-package.js +16 -0
- package/dist/adminapi/models/cluster-jar-package.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-publish.d.ts +25 -0
- package/dist/adminapi/models/cluster-jar-publish.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-publish.js +16 -0
- package/dist/adminapi/models/cluster-jar-publish.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-replica.d.ts +61 -0
- package/dist/adminapi/models/cluster-jar-replica.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-replica.js +16 -0
- package/dist/adminapi/models/cluster-jar-replica.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-task.d.ts +25 -0
- package/dist/adminapi/models/cluster-jar-task.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-task.js +16 -0
- package/dist/adminapi/models/cluster-jar-task.js.map +1 -0
- package/dist/adminapi/models/engine-option-history.d.ts +5 -4
- package/dist/adminapi/models/engine-option-history.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +10 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +10 -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 +2 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +2 -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/cluster-jar-api.d.ts +702 -0
- package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
- package/dist/openapi/apis/cluster-jar-api.js +758 -0
- package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
- 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 +1577 -23
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1685 -10
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/openapi/models/cluster-jar-config.d.ts +61 -0
- package/dist/openapi/models/cluster-jar-config.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-config.js +16 -0
- package/dist/openapi/models/cluster-jar-config.js.map +1 -0
- package/dist/openapi/models/cluster-jar-kind.d.ts +22 -0
- package/dist/openapi/models/cluster-jar-kind.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-kind.js +26 -0
- package/dist/openapi/models/cluster-jar-kind.js.map +1 -0
- package/dist/openapi/models/cluster-jar-list.d.ts +32 -0
- package/dist/openapi/models/cluster-jar-list.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-list.js +16 -0
- package/dist/openapi/models/cluster-jar-list.js.map +1 -0
- package/dist/openapi/models/cluster-jar-package.d.ts +111 -0
- package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-package.js +16 -0
- package/dist/openapi/models/cluster-jar-package.js.map +1 -0
- package/dist/openapi/models/cluster-jar-publish.d.ts +25 -0
- package/dist/openapi/models/cluster-jar-publish.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-publish.js +16 -0
- package/dist/openapi/models/cluster-jar-publish.js.map +1 -0
- package/dist/openapi/models/cluster-jar-replica.d.ts +61 -0
- package/dist/openapi/models/cluster-jar-replica.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-replica.js +16 -0
- package/dist/openapi/models/cluster-jar-replica.js.map +1 -0
- package/dist/openapi/models/cluster-jar-task.d.ts +25 -0
- package/dist/openapi/models/cluster-jar-task.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-task.js +16 -0
- package/dist/openapi/models/cluster-jar-task.js.map +1 -0
- package/dist/openapi/models/index.d.ts +10 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +10 -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 +12 -0
- package/src/adminapi/api.ts +2 -0
- package/src/adminapi/apis/account-api.ts +1623 -55
- package/src/adminapi/apis/cluster-jar-api.ts +1211 -0
- package/src/adminapi/apis/environment-api.ts +155 -0
- package/src/adminapi/apis/parameter-template-api.ts +26 -13
- package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
- package/src/adminapi/apis/shared-api.ts +2733 -24
- package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/adminapi/models/cluster-jar-config.ts +66 -0
- package/src/adminapi/models/cluster-jar-kind.ts +31 -0
- package/src/adminapi/models/cluster-jar-list.ts +39 -0
- package/src/adminapi/models/cluster-jar-package.ts +122 -0
- package/src/adminapi/models/cluster-jar-publish.ts +30 -0
- package/src/adminapi/models/cluster-jar-replica.ts +66 -0
- package/src/adminapi/models/cluster-jar-task.ts +30 -0
- package/src/adminapi/models/engine-option-history.ts +3 -6
- package/src/adminapi/models/index.ts +10 -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 +1195 -23
- package/src/internalapi.yaml +2 -4
- package/src/openapi/.openapi-generator/FILES +12 -0
- package/src/openapi/api.ts +2 -0
- package/src/openapi/apis/account-api.ts +1623 -55
- package/src/openapi/apis/cluster-jar-api.ts +1211 -0
- package/src/openapi/apis/seaweedfs-api.ts +1644 -0
- package/src/openapi/apis/shared-api.ts +2733 -24
- package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/openapi/models/cluster-jar-config.ts +66 -0
- package/src/openapi/models/cluster-jar-kind.ts +31 -0
- package/src/openapi/models/cluster-jar-list.ts +39 -0
- package/src/openapi/models/cluster-jar-package.ts +122 -0
- package/src/openapi/models/cluster-jar-publish.ts +30 -0
- package/src/openapi/models/cluster-jar-replica.ts +66 -0
- package/src/openapi/models/cluster-jar-task.ts +30 -0
- package/src/openapi/models/index.ts +10 -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 +1119 -16
|
@@ -327,6 +327,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
327
327
|
options: localVarRequestOptions,
|
|
328
328
|
};
|
|
329
329
|
},
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
333
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
334
|
+
* @param {string} orgName
|
|
335
|
+
* @param {string} clusterName
|
|
336
|
+
* @param {string} jarId
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
archiveClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
341
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
342
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'engineName', engineName);
|
|
343
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
344
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'orgName', orgName);
|
|
345
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
346
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'clusterName', clusterName);
|
|
347
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
348
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'jarId', jarId);
|
|
349
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
350
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
351
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
352
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
353
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
354
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
355
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
356
|
+
let baseOptions;
|
|
357
|
+
if (configuration) {
|
|
358
|
+
baseOptions = configuration.baseOptions;
|
|
359
|
+
}
|
|
360
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
361
|
+
const localVarHeaderParameter = {};
|
|
362
|
+
const localVarQueryParameter = {};
|
|
363
|
+
// authentication BearerToken required
|
|
364
|
+
// http bearer authentication required
|
|
365
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
366
|
+
// authentication DigestAuth required
|
|
367
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
368
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
370
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
371
|
+
return {
|
|
372
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
373
|
+
options: localVarRequestOptions,
|
|
374
|
+
};
|
|
375
|
+
},
|
|
330
376
|
/**
|
|
331
377
|
* Batch add permissions to a role
|
|
332
378
|
* @summary Batch add permissions to a role
|
|
@@ -452,6 +498,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
452
498
|
options: localVarRequestOptions,
|
|
453
499
|
};
|
|
454
500
|
},
|
|
501
|
+
/**
|
|
502
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
503
|
+
* @summary bindSeaweedFSPolicies
|
|
504
|
+
* @param {string} orgName
|
|
505
|
+
* @param {string} clusterName
|
|
506
|
+
* @param {string} accountName
|
|
507
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
508
|
+
* @param {*} [options] Override http request option.
|
|
509
|
+
* @throws {RequiredError}
|
|
510
|
+
*/
|
|
511
|
+
bindSeaweedFSPolicies: async (orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options = {}) => {
|
|
512
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
513
|
+
(0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'orgName', orgName);
|
|
514
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
515
|
+
(0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'clusterName', clusterName);
|
|
516
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
517
|
+
(0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'accountName', accountName);
|
|
518
|
+
// verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
|
|
519
|
+
(0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest);
|
|
520
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
|
|
521
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
522
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
523
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
524
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
525
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
526
|
+
let baseOptions;
|
|
527
|
+
if (configuration) {
|
|
528
|
+
baseOptions = configuration.baseOptions;
|
|
529
|
+
}
|
|
530
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
531
|
+
const localVarHeaderParameter = {};
|
|
532
|
+
const localVarQueryParameter = {};
|
|
533
|
+
// authentication BearerToken required
|
|
534
|
+
// http bearer authentication required
|
|
535
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
536
|
+
// authentication DigestAuth required
|
|
537
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
538
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
539
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
540
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
541
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
542
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration);
|
|
543
|
+
return {
|
|
544
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
545
|
+
options: localVarRequestOptions,
|
|
546
|
+
};
|
|
547
|
+
},
|
|
455
548
|
/**
|
|
456
549
|
*
|
|
457
550
|
* @summary build backup object with a existing backup directory
|
|
@@ -1462,6 +1555,96 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
1462
1555
|
options: localVarRequestOptions,
|
|
1463
1556
|
};
|
|
1464
1557
|
},
|
|
1558
|
+
/**
|
|
1559
|
+
* 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.
|
|
1560
|
+
* @summary createSeaweedFSAccessKey
|
|
1561
|
+
* @param {string} orgName
|
|
1562
|
+
* @param {string} clusterName
|
|
1563
|
+
* @param {string} accountName
|
|
1564
|
+
* @param {Account} account
|
|
1565
|
+
* @param {*} [options] Override http request option.
|
|
1566
|
+
* @throws {RequiredError}
|
|
1567
|
+
*/
|
|
1568
|
+
createSeaweedFSAccessKey: async (orgName, clusterName, accountName, account, options = {}) => {
|
|
1569
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1570
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'orgName', orgName);
|
|
1571
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1572
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'clusterName', clusterName);
|
|
1573
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1574
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'accountName', accountName);
|
|
1575
|
+
// verify required parameter 'account' is not null or undefined
|
|
1576
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'account', account);
|
|
1577
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
|
|
1578
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1579
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1580
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1581
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1582
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1583
|
+
let baseOptions;
|
|
1584
|
+
if (configuration) {
|
|
1585
|
+
baseOptions = configuration.baseOptions;
|
|
1586
|
+
}
|
|
1587
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1588
|
+
const localVarHeaderParameter = {};
|
|
1589
|
+
const localVarQueryParameter = {};
|
|
1590
|
+
// authentication BearerToken required
|
|
1591
|
+
// http bearer authentication required
|
|
1592
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1593
|
+
// authentication DigestAuth required
|
|
1594
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1595
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1596
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1597
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1598
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1599
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(account, localVarRequestOptions, configuration);
|
|
1600
|
+
return {
|
|
1601
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1602
|
+
options: localVarRequestOptions,
|
|
1603
|
+
};
|
|
1604
|
+
},
|
|
1605
|
+
/**
|
|
1606
|
+
* 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.
|
|
1607
|
+
* @summary createSeaweedFSAccount
|
|
1608
|
+
* @param {string} orgName name of the organization
|
|
1609
|
+
* @param {string} clusterName name of the cluster
|
|
1610
|
+
* @param {Account} body
|
|
1611
|
+
* @param {*} [options] Override http request option.
|
|
1612
|
+
* @throws {RequiredError}
|
|
1613
|
+
*/
|
|
1614
|
+
createSeaweedFSAccount: async (orgName, clusterName, body, options = {}) => {
|
|
1615
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1616
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccount', 'orgName', orgName);
|
|
1617
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1618
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccount', 'clusterName', clusterName);
|
|
1619
|
+
// verify required parameter 'body' is not null or undefined
|
|
1620
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccount', 'body', body);
|
|
1621
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1622
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1623
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1624
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1625
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1626
|
+
let baseOptions;
|
|
1627
|
+
if (configuration) {
|
|
1628
|
+
baseOptions = configuration.baseOptions;
|
|
1629
|
+
}
|
|
1630
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1631
|
+
const localVarHeaderParameter = {};
|
|
1632
|
+
const localVarQueryParameter = {};
|
|
1633
|
+
// authentication BearerToken required
|
|
1634
|
+
// http bearer authentication required
|
|
1635
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1636
|
+
// authentication DigestAuth required
|
|
1637
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1638
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1639
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1640
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1641
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1642
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1643
|
+
return {
|
|
1644
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1645
|
+
options: localVarRequestOptions,
|
|
1646
|
+
};
|
|
1647
|
+
},
|
|
1465
1648
|
/**
|
|
1466
1649
|
* create a MinIO service account access key
|
|
1467
1650
|
* @summary Create MinIO access key
|
|
@@ -2118,6 +2301,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
2118
2301
|
options: localVarRequestOptions,
|
|
2119
2302
|
};
|
|
2120
2303
|
},
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @summary Delete an unpublished JAR version
|
|
2307
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
2308
|
+
* @param {string} orgName
|
|
2309
|
+
* @param {string} clusterName
|
|
2310
|
+
* @param {string} jarId
|
|
2311
|
+
* @param {*} [options] Override http request option.
|
|
2312
|
+
* @throws {RequiredError}
|
|
2313
|
+
*/
|
|
2314
|
+
deleteClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
2315
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2316
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'engineName', engineName);
|
|
2317
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2318
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'orgName', orgName);
|
|
2319
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2320
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'clusterName', clusterName);
|
|
2321
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
2322
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'jarId', jarId);
|
|
2323
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
|
|
2324
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2325
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2326
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2327
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
2328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2329
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2330
|
+
let baseOptions;
|
|
2331
|
+
if (configuration) {
|
|
2332
|
+
baseOptions = configuration.baseOptions;
|
|
2333
|
+
}
|
|
2334
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2335
|
+
const localVarHeaderParameter = {};
|
|
2336
|
+
const localVarQueryParameter = {};
|
|
2337
|
+
// authentication BearerToken required
|
|
2338
|
+
// http bearer authentication required
|
|
2339
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2340
|
+
// authentication DigestAuth required
|
|
2341
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2342
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2343
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2344
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2345
|
+
return {
|
|
2346
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2347
|
+
options: localVarRequestOptions,
|
|
2348
|
+
};
|
|
2349
|
+
},
|
|
2121
2350
|
/**
|
|
2122
2351
|
*
|
|
2123
2352
|
* @summary delete the datasource
|
|
@@ -3040,6 +3269,136 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3040
3269
|
options: localVarRequestOptions,
|
|
3041
3270
|
};
|
|
3042
3271
|
},
|
|
3272
|
+
/**
|
|
3273
|
+
*
|
|
3274
|
+
* @summary deleteSeaweedFSAccessKey
|
|
3275
|
+
* @param {string} orgName
|
|
3276
|
+
* @param {string} clusterName
|
|
3277
|
+
* @param {string} accountName
|
|
3278
|
+
* @param {string} accessKey
|
|
3279
|
+
* @param {*} [options] Override http request option.
|
|
3280
|
+
* @throws {RequiredError}
|
|
3281
|
+
*/
|
|
3282
|
+
deleteSeaweedFSAccessKey: async (orgName, clusterName, accountName, accessKey, options = {}) => {
|
|
3283
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3284
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'orgName', orgName);
|
|
3285
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3286
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'clusterName', clusterName);
|
|
3287
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
3288
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'accountName', accountName);
|
|
3289
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
3290
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'accessKey', accessKey);
|
|
3291
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
|
|
3292
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3293
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3294
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
|
|
3295
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
3296
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3297
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3298
|
+
let baseOptions;
|
|
3299
|
+
if (configuration) {
|
|
3300
|
+
baseOptions = configuration.baseOptions;
|
|
3301
|
+
}
|
|
3302
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3303
|
+
const localVarHeaderParameter = {};
|
|
3304
|
+
const localVarQueryParameter = {};
|
|
3305
|
+
// authentication BearerToken required
|
|
3306
|
+
// http bearer authentication required
|
|
3307
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3308
|
+
// authentication DigestAuth required
|
|
3309
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3310
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3311
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3312
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3313
|
+
return {
|
|
3314
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3315
|
+
options: localVarRequestOptions,
|
|
3316
|
+
};
|
|
3317
|
+
},
|
|
3318
|
+
/**
|
|
3319
|
+
* delete an account in cluster
|
|
3320
|
+
* @summary deleteSeaweedFSAccount
|
|
3321
|
+
* @param {string} orgName name of the organization
|
|
3322
|
+
* @param {string} clusterName name of the cluster
|
|
3323
|
+
* @param {string} accountName name of the account
|
|
3324
|
+
* @param {*} [options] Override http request option.
|
|
3325
|
+
* @throws {RequiredError}
|
|
3326
|
+
*/
|
|
3327
|
+
deleteSeaweedFSAccount: async (orgName, clusterName, accountName, options = {}) => {
|
|
3328
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3329
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'orgName', orgName);
|
|
3330
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3331
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'clusterName', clusterName);
|
|
3332
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
3333
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'accountName', accountName);
|
|
3334
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
3335
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3336
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3337
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
3338
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3339
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3340
|
+
let baseOptions;
|
|
3341
|
+
if (configuration) {
|
|
3342
|
+
baseOptions = configuration.baseOptions;
|
|
3343
|
+
}
|
|
3344
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3345
|
+
const localVarHeaderParameter = {};
|
|
3346
|
+
const localVarQueryParameter = {};
|
|
3347
|
+
// authentication BearerToken required
|
|
3348
|
+
// http bearer authentication required
|
|
3349
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3350
|
+
// authentication DigestAuth required
|
|
3351
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3352
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3353
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3354
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3355
|
+
return {
|
|
3356
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3357
|
+
options: localVarRequestOptions,
|
|
3358
|
+
};
|
|
3359
|
+
},
|
|
3360
|
+
/**
|
|
3361
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
3362
|
+
* @summary deleteSeaweedFSPolicy
|
|
3363
|
+
* @param {string} orgName
|
|
3364
|
+
* @param {string} clusterName
|
|
3365
|
+
* @param {string} policyName
|
|
3366
|
+
* @param {*} [options] Override http request option.
|
|
3367
|
+
* @throws {RequiredError}
|
|
3368
|
+
*/
|
|
3369
|
+
deleteSeaweedFSPolicy: async (orgName, clusterName, policyName, options = {}) => {
|
|
3370
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3371
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'orgName', orgName);
|
|
3372
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3373
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'clusterName', clusterName);
|
|
3374
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
3375
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'policyName', policyName);
|
|
3376
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
3377
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3378
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3379
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
3380
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3381
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3382
|
+
let baseOptions;
|
|
3383
|
+
if (configuration) {
|
|
3384
|
+
baseOptions = configuration.baseOptions;
|
|
3385
|
+
}
|
|
3386
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3387
|
+
const localVarHeaderParameter = {};
|
|
3388
|
+
const localVarQueryParameter = {};
|
|
3389
|
+
// authentication BearerToken required
|
|
3390
|
+
// http bearer authentication required
|
|
3391
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3392
|
+
// authentication DigestAuth required
|
|
3393
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3394
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3395
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3396
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3397
|
+
return {
|
|
3398
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3399
|
+
options: localVarRequestOptions,
|
|
3400
|
+
};
|
|
3401
|
+
},
|
|
3043
3402
|
/**
|
|
3044
3403
|
* delete a MinIO service account access key
|
|
3045
3404
|
* @summary Delete MinIO access key
|
|
@@ -3220,6 +3579,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3220
3579
|
options: localVarRequestOptions,
|
|
3221
3580
|
};
|
|
3222
3581
|
},
|
|
3582
|
+
/**
|
|
3583
|
+
*
|
|
3584
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
3585
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
3586
|
+
* @param {string} orgName
|
|
3587
|
+
* @param {string} clusterName
|
|
3588
|
+
* @param {string} jarId
|
|
3589
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
3590
|
+
* @param {*} [options] Override http request option.
|
|
3591
|
+
* @throws {RequiredError}
|
|
3592
|
+
*/
|
|
3593
|
+
distributeClusterJar: async (engineName, orgName, clusterName, jarId, clusterJarPublish, options = {}) => {
|
|
3594
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3595
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'engineName', engineName);
|
|
3596
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3597
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'orgName', orgName);
|
|
3598
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3599
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'clusterName', clusterName);
|
|
3600
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
3601
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'jarId', jarId);
|
|
3602
|
+
// verify required parameter 'clusterJarPublish' is not null or undefined
|
|
3603
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'clusterJarPublish', clusterJarPublish);
|
|
3604
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
|
|
3605
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3606
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3607
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3608
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
3609
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3610
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3611
|
+
let baseOptions;
|
|
3612
|
+
if (configuration) {
|
|
3613
|
+
baseOptions = configuration.baseOptions;
|
|
3614
|
+
}
|
|
3615
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3616
|
+
const localVarHeaderParameter = {};
|
|
3617
|
+
const localVarQueryParameter = {};
|
|
3618
|
+
// authentication BearerToken required
|
|
3619
|
+
// http bearer authentication required
|
|
3620
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3621
|
+
// authentication DigestAuth required
|
|
3622
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3623
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3624
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3625
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3626
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3627
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterJarPublish, localVarRequestOptions, configuration);
|
|
3628
|
+
return {
|
|
3629
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3630
|
+
options: localVarRequestOptions,
|
|
3631
|
+
};
|
|
3632
|
+
},
|
|
3223
3633
|
/**
|
|
3224
3634
|
*
|
|
3225
3635
|
* @summary Restore current cluster or instance
|
|
@@ -3301,6 +3711,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3301
3711
|
options: localVarRequestOptions,
|
|
3302
3712
|
};
|
|
3303
3713
|
},
|
|
3714
|
+
/**
|
|
3715
|
+
*
|
|
3716
|
+
* @summary Download the original JAR
|
|
3717
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
3718
|
+
* @param {string} orgName
|
|
3719
|
+
* @param {string} clusterName
|
|
3720
|
+
* @param {string} jarId
|
|
3721
|
+
* @param {*} [options] Override http request option.
|
|
3722
|
+
* @throws {RequiredError}
|
|
3723
|
+
*/
|
|
3724
|
+
downloadClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
3725
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3726
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'engineName', engineName);
|
|
3727
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3728
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'orgName', orgName);
|
|
3729
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3730
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'clusterName', clusterName);
|
|
3731
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
3732
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'jarId', jarId);
|
|
3733
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
|
|
3734
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3735
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3736
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3737
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
3738
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3739
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3740
|
+
let baseOptions;
|
|
3741
|
+
if (configuration) {
|
|
3742
|
+
baseOptions = configuration.baseOptions;
|
|
3743
|
+
}
|
|
3744
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3745
|
+
const localVarHeaderParameter = {};
|
|
3746
|
+
const localVarQueryParameter = {};
|
|
3747
|
+
// authentication BearerToken required
|
|
3748
|
+
// http bearer authentication required
|
|
3749
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3750
|
+
// authentication DigestAuth required
|
|
3751
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3752
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3754
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3755
|
+
return {
|
|
3756
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3757
|
+
options: localVarRequestOptions,
|
|
3758
|
+
};
|
|
3759
|
+
},
|
|
3304
3760
|
/**
|
|
3305
3761
|
*
|
|
3306
3762
|
* @summary Download multiple backup files
|
|
@@ -4533,6 +4989,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4533
4989
|
options: localVarRequestOptions,
|
|
4534
4990
|
};
|
|
4535
4991
|
},
|
|
4992
|
+
/**
|
|
4993
|
+
*
|
|
4994
|
+
* @summary Get external JAR capability and configuration
|
|
4995
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
4996
|
+
* @param {string} orgName
|
|
4997
|
+
* @param {string} clusterName
|
|
4998
|
+
* @param {*} [options] Override http request option.
|
|
4999
|
+
* @throws {RequiredError}
|
|
5000
|
+
*/
|
|
5001
|
+
getClusterJarConfig: async (engineName, orgName, clusterName, options = {}) => {
|
|
5002
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
5003
|
+
(0, common_1.assertParamExists)('getClusterJarConfig', 'engineName', engineName);
|
|
5004
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5005
|
+
(0, common_1.assertParamExists)('getClusterJarConfig', 'orgName', orgName);
|
|
5006
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5007
|
+
(0, common_1.assertParamExists)('getClusterJarConfig', 'clusterName', clusterName);
|
|
5008
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
|
|
5009
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5010
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5011
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5012
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5013
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5014
|
+
let baseOptions;
|
|
5015
|
+
if (configuration) {
|
|
5016
|
+
baseOptions = configuration.baseOptions;
|
|
5017
|
+
}
|
|
5018
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5019
|
+
const localVarHeaderParameter = {};
|
|
5020
|
+
const localVarQueryParameter = {};
|
|
5021
|
+
// authentication BearerToken required
|
|
5022
|
+
// http bearer authentication required
|
|
5023
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5024
|
+
// authentication DigestAuth required
|
|
5025
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5026
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5028
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5029
|
+
return {
|
|
5030
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5031
|
+
options: localVarRequestOptions,
|
|
5032
|
+
};
|
|
5033
|
+
},
|
|
4536
5034
|
/**
|
|
4537
5035
|
*
|
|
4538
5036
|
* @summary Get cluster parameter template
|
|
@@ -5919,17 +6417,65 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5919
6417
|
* @param {*} [options] Override http request option.
|
|
5920
6418
|
* @throws {RequiredError}
|
|
5921
6419
|
*/
|
|
5922
|
-
getRootAccountPassword: async (engineName, orgName, clusterName, accountName, component, options = {}) => {
|
|
5923
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
5924
|
-
(0, common_1.assertParamExists)('getRootAccountPassword', 'engineName', engineName);
|
|
6420
|
+
getRootAccountPassword: async (engineName, orgName, clusterName, accountName, component, options = {}) => {
|
|
6421
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
6422
|
+
(0, common_1.assertParamExists)('getRootAccountPassword', 'engineName', engineName);
|
|
6423
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6424
|
+
(0, common_1.assertParamExists)('getRootAccountPassword', 'orgName', orgName);
|
|
6425
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6426
|
+
(0, common_1.assertParamExists)('getRootAccountPassword', 'clusterName', clusterName);
|
|
6427
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
6428
|
+
(0, common_1.assertParamExists)('getRootAccountPassword', 'accountName', accountName);
|
|
6429
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
6430
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
6431
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6432
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
6433
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6434
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6435
|
+
let baseOptions;
|
|
6436
|
+
if (configuration) {
|
|
6437
|
+
baseOptions = configuration.baseOptions;
|
|
6438
|
+
}
|
|
6439
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6440
|
+
const localVarHeaderParameter = {};
|
|
6441
|
+
const localVarQueryParameter = {};
|
|
6442
|
+
// authentication BearerToken required
|
|
6443
|
+
// http bearer authentication required
|
|
6444
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6445
|
+
// authentication DigestAuth required
|
|
6446
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6447
|
+
if (accountName !== undefined) {
|
|
6448
|
+
localVarQueryParameter['accountName'] = accountName;
|
|
6449
|
+
}
|
|
6450
|
+
if (component !== undefined) {
|
|
6451
|
+
localVarQueryParameter['component'] = component;
|
|
6452
|
+
}
|
|
6453
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6454
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6455
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6456
|
+
return {
|
|
6457
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6458
|
+
options: localVarRequestOptions,
|
|
6459
|
+
};
|
|
6460
|
+
},
|
|
6461
|
+
/**
|
|
6462
|
+
* get root account password
|
|
6463
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
6464
|
+
* @param {string} orgName name of the Org
|
|
6465
|
+
* @param {string} clusterName name of the Cluster
|
|
6466
|
+
* @param {string} accountName name of the account
|
|
6467
|
+
* @param {string} [component] name of the component
|
|
6468
|
+
* @param {*} [options] Override http request option.
|
|
6469
|
+
* @throws {RequiredError}
|
|
6470
|
+
*/
|
|
6471
|
+
getRootSeaweedFSAccountPassword: async (orgName, clusterName, accountName, component, options = {}) => {
|
|
5925
6472
|
// verify required parameter 'orgName' is not null or undefined
|
|
5926
|
-
(0, common_1.assertParamExists)('
|
|
6473
|
+
(0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'orgName', orgName);
|
|
5927
6474
|
// verify required parameter 'clusterName' is not null or undefined
|
|
5928
|
-
(0, common_1.assertParamExists)('
|
|
6475
|
+
(0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'clusterName', clusterName);
|
|
5929
6476
|
// verify required parameter 'accountName' is not null or undefined
|
|
5930
|
-
(0, common_1.assertParamExists)('
|
|
5931
|
-
const localVarPath = `/api/v1/data/
|
|
5932
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
6477
|
+
(0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'accountName', accountName);
|
|
6478
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
5933
6479
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5934
6480
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5935
6481
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7175,6 +7721,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
7175
7721
|
options: localVarRequestOptions,
|
|
7176
7722
|
};
|
|
7177
7723
|
},
|
|
7724
|
+
/**
|
|
7725
|
+
*
|
|
7726
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
7727
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
7728
|
+
* @param {string} orgName
|
|
7729
|
+
* @param {string} clusterName
|
|
7730
|
+
* @param {*} [options] Override http request option.
|
|
7731
|
+
* @throws {RequiredError}
|
|
7732
|
+
*/
|
|
7733
|
+
listClusterJars: async (engineName, orgName, clusterName, options = {}) => {
|
|
7734
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
7735
|
+
(0, common_1.assertParamExists)('listClusterJars', 'engineName', engineName);
|
|
7736
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7737
|
+
(0, common_1.assertParamExists)('listClusterJars', 'orgName', orgName);
|
|
7738
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7739
|
+
(0, common_1.assertParamExists)('listClusterJars', 'clusterName', clusterName);
|
|
7740
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
7741
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
7742
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7743
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7744
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7745
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7746
|
+
let baseOptions;
|
|
7747
|
+
if (configuration) {
|
|
7748
|
+
baseOptions = configuration.baseOptions;
|
|
7749
|
+
}
|
|
7750
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7751
|
+
const localVarHeaderParameter = {};
|
|
7752
|
+
const localVarQueryParameter = {};
|
|
7753
|
+
// authentication BearerToken required
|
|
7754
|
+
// http bearer authentication required
|
|
7755
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7756
|
+
// authentication DigestAuth required
|
|
7757
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7758
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7759
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7760
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7761
|
+
return {
|
|
7762
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7763
|
+
options: localVarRequestOptions,
|
|
7764
|
+
};
|
|
7765
|
+
},
|
|
7178
7766
|
/**
|
|
7179
7767
|
*
|
|
7180
7768
|
* @summary List restore tasks
|
|
@@ -8995,6 +9583,82 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8995
9583
|
options: localVarRequestOptions,
|
|
8996
9584
|
};
|
|
8997
9585
|
},
|
|
9586
|
+
/**
|
|
9587
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
9588
|
+
* @summary listSeaweedFSAccounts
|
|
9589
|
+
* @param {string} orgName name of the organization
|
|
9590
|
+
* @param {string} clusterName name of the cluster
|
|
9591
|
+
* @param {*} [options] Override http request option.
|
|
9592
|
+
* @throws {RequiredError}
|
|
9593
|
+
*/
|
|
9594
|
+
listSeaweedFSAccounts: async (orgName, clusterName, options = {}) => {
|
|
9595
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9596
|
+
(0, common_1.assertParamExists)('listSeaweedFSAccounts', 'orgName', orgName);
|
|
9597
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9598
|
+
(0, common_1.assertParamExists)('listSeaweedFSAccounts', 'clusterName', clusterName);
|
|
9599
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
9600
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9601
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9602
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9603
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9604
|
+
let baseOptions;
|
|
9605
|
+
if (configuration) {
|
|
9606
|
+
baseOptions = configuration.baseOptions;
|
|
9607
|
+
}
|
|
9608
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9609
|
+
const localVarHeaderParameter = {};
|
|
9610
|
+
const localVarQueryParameter = {};
|
|
9611
|
+
// authentication BearerToken required
|
|
9612
|
+
// http bearer authentication required
|
|
9613
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9614
|
+
// authentication DigestAuth required
|
|
9615
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9616
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9617
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9618
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9619
|
+
return {
|
|
9620
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9621
|
+
options: localVarRequestOptions,
|
|
9622
|
+
};
|
|
9623
|
+
},
|
|
9624
|
+
/**
|
|
9625
|
+
*
|
|
9626
|
+
* @summary listSeaweedFSPolicies
|
|
9627
|
+
* @param {string} orgName
|
|
9628
|
+
* @param {string} clusterName
|
|
9629
|
+
* @param {*} [options] Override http request option.
|
|
9630
|
+
* @throws {RequiredError}
|
|
9631
|
+
*/
|
|
9632
|
+
listSeaweedFSPolicies: async (orgName, clusterName, options = {}) => {
|
|
9633
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9634
|
+
(0, common_1.assertParamExists)('listSeaweedFSPolicies', 'orgName', orgName);
|
|
9635
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9636
|
+
(0, common_1.assertParamExists)('listSeaweedFSPolicies', 'clusterName', clusterName);
|
|
9637
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
|
|
9638
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9639
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9640
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9641
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9642
|
+
let baseOptions;
|
|
9643
|
+
if (configuration) {
|
|
9644
|
+
baseOptions = configuration.baseOptions;
|
|
9645
|
+
}
|
|
9646
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9647
|
+
const localVarHeaderParameter = {};
|
|
9648
|
+
const localVarQueryParameter = {};
|
|
9649
|
+
// authentication BearerToken required
|
|
9650
|
+
// http bearer authentication required
|
|
9651
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9652
|
+
// authentication DigestAuth required
|
|
9653
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9654
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9655
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9656
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9657
|
+
return {
|
|
9658
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9659
|
+
options: localVarRequestOptions,
|
|
9660
|
+
};
|
|
9661
|
+
},
|
|
8998
9662
|
/**
|
|
8999
9663
|
* list MinIO service account access keys
|
|
9000
9664
|
* @summary List MinIO access keys
|
|
@@ -9901,6 +10565,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9901
10565
|
options: localVarRequestOptions,
|
|
9902
10566
|
};
|
|
9903
10567
|
},
|
|
10568
|
+
/**
|
|
10569
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
10570
|
+
* @summary putSeaweedFSPolicy
|
|
10571
|
+
* @param {string} orgName
|
|
10572
|
+
* @param {string} clusterName
|
|
10573
|
+
* @param {string} policyName
|
|
10574
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
10575
|
+
* @param {*} [options] Override http request option.
|
|
10576
|
+
* @throws {RequiredError}
|
|
10577
|
+
*/
|
|
10578
|
+
putSeaweedFSPolicy: async (orgName, clusterName, policyName, requestBody, options = {}) => {
|
|
10579
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10580
|
+
(0, common_1.assertParamExists)('putSeaweedFSPolicy', 'orgName', orgName);
|
|
10581
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10582
|
+
(0, common_1.assertParamExists)('putSeaweedFSPolicy', 'clusterName', clusterName);
|
|
10583
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
10584
|
+
(0, common_1.assertParamExists)('putSeaweedFSPolicy', 'policyName', policyName);
|
|
10585
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
10586
|
+
(0, common_1.assertParamExists)('putSeaweedFSPolicy', 'requestBody', requestBody);
|
|
10587
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
10588
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10589
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10590
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
10591
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10592
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10593
|
+
let baseOptions;
|
|
10594
|
+
if (configuration) {
|
|
10595
|
+
baseOptions = configuration.baseOptions;
|
|
10596
|
+
}
|
|
10597
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
10598
|
+
const localVarHeaderParameter = {};
|
|
10599
|
+
const localVarQueryParameter = {};
|
|
10600
|
+
// authentication BearerToken required
|
|
10601
|
+
// http bearer authentication required
|
|
10602
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10603
|
+
// authentication DigestAuth required
|
|
10604
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10605
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10606
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10607
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10608
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10609
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
10610
|
+
return {
|
|
10611
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10612
|
+
options: localVarRequestOptions,
|
|
10613
|
+
};
|
|
10614
|
+
},
|
|
9904
10615
|
/**
|
|
9905
10616
|
*
|
|
9906
10617
|
* @summary create a SQL query
|
|
@@ -11591,6 +12302,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
11591
12302
|
options: localVarRequestOptions,
|
|
11592
12303
|
};
|
|
11593
12304
|
},
|
|
12305
|
+
/**
|
|
12306
|
+
*
|
|
12307
|
+
* @summary Retry synchronization of published JARs
|
|
12308
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
12309
|
+
* @param {string} orgName
|
|
12310
|
+
* @param {string} clusterName
|
|
12311
|
+
* @param {string} jarId
|
|
12312
|
+
* @param {*} [options] Override http request option.
|
|
12313
|
+
* @throws {RequiredError}
|
|
12314
|
+
*/
|
|
12315
|
+
retryClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
12316
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
12317
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'engineName', engineName);
|
|
12318
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12319
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'orgName', orgName);
|
|
12320
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12321
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'clusterName', clusterName);
|
|
12322
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
12323
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'jarId', jarId);
|
|
12324
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
|
|
12325
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
12326
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12327
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12328
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
12329
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12330
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12331
|
+
let baseOptions;
|
|
12332
|
+
if (configuration) {
|
|
12333
|
+
baseOptions = configuration.baseOptions;
|
|
12334
|
+
}
|
|
12335
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
12336
|
+
const localVarHeaderParameter = {};
|
|
12337
|
+
const localVarQueryParameter = {};
|
|
12338
|
+
// authentication BearerToken required
|
|
12339
|
+
// http bearer authentication required
|
|
12340
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12341
|
+
// authentication DigestAuth required
|
|
12342
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12343
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12344
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12345
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12346
|
+
return {
|
|
12347
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12348
|
+
options: localVarRequestOptions,
|
|
12349
|
+
};
|
|
12350
|
+
},
|
|
11594
12351
|
/**
|
|
11595
12352
|
*
|
|
11596
12353
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -13436,7 +14193,101 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
13436
14193
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13437
14194
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13438
14195
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13439
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(roleUpdate, localVarRequestOptions, configuration);
|
|
14196
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(roleUpdate, localVarRequestOptions, configuration);
|
|
14197
|
+
return {
|
|
14198
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14199
|
+
options: localVarRequestOptions,
|
|
14200
|
+
};
|
|
14201
|
+
},
|
|
14202
|
+
/**
|
|
14203
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
14204
|
+
* @summary updateSeaweedFSAccount
|
|
14205
|
+
* @param {string} orgName name of the organization
|
|
14206
|
+
* @param {string} clusterName name of the cluster
|
|
14207
|
+
* @param {string} accountName name of the account
|
|
14208
|
+
* @param {Account} body
|
|
14209
|
+
* @param {*} [options] Override http request option.
|
|
14210
|
+
* @throws {RequiredError}
|
|
14211
|
+
*/
|
|
14212
|
+
updateSeaweedFSAccount: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
14213
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14214
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccount', 'orgName', orgName);
|
|
14215
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14216
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccount', 'clusterName', clusterName);
|
|
14217
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
14218
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccount', 'accountName', accountName);
|
|
14219
|
+
// verify required parameter 'body' is not null or undefined
|
|
14220
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccount', 'body', body);
|
|
14221
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
14222
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14223
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
14224
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
14225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14226
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14227
|
+
let baseOptions;
|
|
14228
|
+
if (configuration) {
|
|
14229
|
+
baseOptions = configuration.baseOptions;
|
|
14230
|
+
}
|
|
14231
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
14232
|
+
const localVarHeaderParameter = {};
|
|
14233
|
+
const localVarQueryParameter = {};
|
|
14234
|
+
// authentication BearerToken required
|
|
14235
|
+
// http bearer authentication required
|
|
14236
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14237
|
+
// authentication DigestAuth required
|
|
14238
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14239
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14240
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14241
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14242
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14243
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
14244
|
+
return {
|
|
14245
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14246
|
+
options: localVarRequestOptions,
|
|
14247
|
+
};
|
|
14248
|
+
},
|
|
14249
|
+
/**
|
|
14250
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
14251
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
14252
|
+
* @param {string} orgName name of the Org
|
|
14253
|
+
* @param {string} clusterName name of the Cluster
|
|
14254
|
+
* @param {string} accountName name of the account
|
|
14255
|
+
* @param {Array<PrivilegeListItem>} body
|
|
14256
|
+
* @param {*} [options] Override http request option.
|
|
14257
|
+
* @throws {RequiredError}
|
|
14258
|
+
*/
|
|
14259
|
+
updateSeaweedFSAccountPrivileges: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
14260
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14261
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'orgName', orgName);
|
|
14262
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14263
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName);
|
|
14264
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
14265
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'accountName', accountName);
|
|
14266
|
+
// verify required parameter 'body' is not null or undefined
|
|
14267
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'body', body);
|
|
14268
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
|
|
14269
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14270
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
14271
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
14272
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14273
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14274
|
+
let baseOptions;
|
|
14275
|
+
if (configuration) {
|
|
14276
|
+
baseOptions = configuration.baseOptions;
|
|
14277
|
+
}
|
|
14278
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
14279
|
+
const localVarHeaderParameter = {};
|
|
14280
|
+
const localVarQueryParameter = {};
|
|
14281
|
+
// authentication BearerToken required
|
|
14282
|
+
// http bearer authentication required
|
|
14283
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14284
|
+
// authentication DigestAuth required
|
|
14285
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14286
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14287
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14288
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14289
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14290
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
13440
14291
|
return {
|
|
13441
14292
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13442
14293
|
options: localVarRequestOptions,
|
|
@@ -13664,6 +14515,75 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
13664
14515
|
options: localVarRequestOptions,
|
|
13665
14516
|
};
|
|
13666
14517
|
},
|
|
14518
|
+
/**
|
|
14519
|
+
*
|
|
14520
|
+
* @summary Upload an immutable JAR version
|
|
14521
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
14522
|
+
* @param {string} orgName
|
|
14523
|
+
* @param {string} clusterName
|
|
14524
|
+
* @param {string} idempotencyKey
|
|
14525
|
+
* @param {string} name
|
|
14526
|
+
* @param {ClusterJarKind} kind
|
|
14527
|
+
* @param {File} file
|
|
14528
|
+
* @param {*} [options] Override http request option.
|
|
14529
|
+
* @throws {RequiredError}
|
|
14530
|
+
*/
|
|
14531
|
+
uploadClusterJar: async (engineName, orgName, clusterName, idempotencyKey, name, kind, file, options = {}) => {
|
|
14532
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
14533
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'engineName', engineName);
|
|
14534
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14535
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'orgName', orgName);
|
|
14536
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14537
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'clusterName', clusterName);
|
|
14538
|
+
// verify required parameter 'idempotencyKey' is not null or undefined
|
|
14539
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'idempotencyKey', idempotencyKey);
|
|
14540
|
+
// verify required parameter 'name' is not null or undefined
|
|
14541
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'name', name);
|
|
14542
|
+
// verify required parameter 'kind' is not null or undefined
|
|
14543
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'kind', kind);
|
|
14544
|
+
// verify required parameter 'file' is not null or undefined
|
|
14545
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'file', file);
|
|
14546
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
14547
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
14548
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14549
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
14550
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14551
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14552
|
+
let baseOptions;
|
|
14553
|
+
if (configuration) {
|
|
14554
|
+
baseOptions = configuration.baseOptions;
|
|
14555
|
+
}
|
|
14556
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
14557
|
+
const localVarHeaderParameter = {};
|
|
14558
|
+
const localVarQueryParameter = {};
|
|
14559
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
14560
|
+
// authentication BearerToken required
|
|
14561
|
+
// http bearer authentication required
|
|
14562
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14563
|
+
// authentication DigestAuth required
|
|
14564
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14565
|
+
if (name !== undefined) {
|
|
14566
|
+
localVarFormParams.append('name', name);
|
|
14567
|
+
}
|
|
14568
|
+
if (kind !== undefined) {
|
|
14569
|
+
localVarFormParams.append('kind', kind);
|
|
14570
|
+
}
|
|
14571
|
+
if (file !== undefined) {
|
|
14572
|
+
localVarFormParams.append('file', file);
|
|
14573
|
+
}
|
|
14574
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
14575
|
+
if (idempotencyKey != null) {
|
|
14576
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
14577
|
+
}
|
|
14578
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14579
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14580
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14581
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
14582
|
+
return {
|
|
14583
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14584
|
+
options: localVarRequestOptions,
|
|
14585
|
+
};
|
|
14586
|
+
},
|
|
13667
14587
|
/**
|
|
13668
14588
|
*
|
|
13669
14589
|
* @summary Validate cluster creation
|
|
@@ -13938,6 +14858,23 @@ const SharedApiFp = function (configuration) {
|
|
|
13938
14858
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13939
14859
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13940
14860
|
},
|
|
14861
|
+
/**
|
|
14862
|
+
*
|
|
14863
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
14864
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
14865
|
+
* @param {string} orgName
|
|
14866
|
+
* @param {string} clusterName
|
|
14867
|
+
* @param {string} jarId
|
|
14868
|
+
* @param {*} [options] Override http request option.
|
|
14869
|
+
* @throws {RequiredError}
|
|
14870
|
+
*/
|
|
14871
|
+
async archiveClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
14872
|
+
var _a, _b, _c;
|
|
14873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
14874
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14875
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.archiveClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14876
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14877
|
+
},
|
|
13941
14878
|
/**
|
|
13942
14879
|
* Batch add permissions to a role
|
|
13943
14880
|
* @summary Batch add permissions to a role
|
|
@@ -13985,6 +14922,23 @@ const SharedApiFp = function (configuration) {
|
|
|
13985
14922
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.batchUpdateOrgParameters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13986
14923
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13987
14924
|
},
|
|
14925
|
+
/**
|
|
14926
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
14927
|
+
* @summary bindSeaweedFSPolicies
|
|
14928
|
+
* @param {string} orgName
|
|
14929
|
+
* @param {string} clusterName
|
|
14930
|
+
* @param {string} accountName
|
|
14931
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
14932
|
+
* @param {*} [options] Override http request option.
|
|
14933
|
+
* @throws {RequiredError}
|
|
14934
|
+
*/
|
|
14935
|
+
async bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options) {
|
|
14936
|
+
var _a, _b, _c;
|
|
14937
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
|
|
14938
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14939
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.bindSeaweedFSPolicies']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14940
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14941
|
+
},
|
|
13988
14942
|
/**
|
|
13989
14943
|
*
|
|
13990
14944
|
* @summary build backup object with a existing backup directory
|
|
@@ -14359,6 +15313,39 @@ const SharedApiFp = function (configuration) {
|
|
|
14359
15313
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14360
15314
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14361
15315
|
},
|
|
15316
|
+
/**
|
|
15317
|
+
* 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.
|
|
15318
|
+
* @summary createSeaweedFSAccessKey
|
|
15319
|
+
* @param {string} orgName
|
|
15320
|
+
* @param {string} clusterName
|
|
15321
|
+
* @param {string} accountName
|
|
15322
|
+
* @param {Account} account
|
|
15323
|
+
* @param {*} [options] Override http request option.
|
|
15324
|
+
* @throws {RequiredError}
|
|
15325
|
+
*/
|
|
15326
|
+
async createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options) {
|
|
15327
|
+
var _a, _b, _c;
|
|
15328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
|
|
15329
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15330
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createSeaweedFSAccessKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15331
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15332
|
+
},
|
|
15333
|
+
/**
|
|
15334
|
+
* 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.
|
|
15335
|
+
* @summary createSeaweedFSAccount
|
|
15336
|
+
* @param {string} orgName name of the organization
|
|
15337
|
+
* @param {string} clusterName name of the cluster
|
|
15338
|
+
* @param {Account} body
|
|
15339
|
+
* @param {*} [options] Override http request option.
|
|
15340
|
+
* @throws {RequiredError}
|
|
15341
|
+
*/
|
|
15342
|
+
async createSeaweedFSAccount(orgName, clusterName, body, options) {
|
|
15343
|
+
var _a, _b, _c;
|
|
15344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
|
|
15345
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15346
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createSeaweedFSAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15347
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15348
|
+
},
|
|
14362
15349
|
/**
|
|
14363
15350
|
* create a MinIO service account access key
|
|
14364
15351
|
* @summary Create MinIO access key
|
|
@@ -14610,6 +15597,23 @@ const SharedApiFp = function (configuration) {
|
|
|
14610
15597
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14611
15598
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14612
15599
|
},
|
|
15600
|
+
/**
|
|
15601
|
+
*
|
|
15602
|
+
* @summary Delete an unpublished JAR version
|
|
15603
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15604
|
+
* @param {string} orgName
|
|
15605
|
+
* @param {string} clusterName
|
|
15606
|
+
* @param {string} jarId
|
|
15607
|
+
* @param {*} [options] Override http request option.
|
|
15608
|
+
* @throws {RequiredError}
|
|
15609
|
+
*/
|
|
15610
|
+
async deleteClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
15611
|
+
var _a, _b, _c;
|
|
15612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
15613
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15614
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15615
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15616
|
+
},
|
|
14613
15617
|
/**
|
|
14614
15618
|
*
|
|
14615
15619
|
* @summary delete the datasource
|
|
@@ -14960,6 +15964,55 @@ const SharedApiFp = function (configuration) {
|
|
|
14960
15964
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteRoleByName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14961
15965
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14962
15966
|
},
|
|
15967
|
+
/**
|
|
15968
|
+
*
|
|
15969
|
+
* @summary deleteSeaweedFSAccessKey
|
|
15970
|
+
* @param {string} orgName
|
|
15971
|
+
* @param {string} clusterName
|
|
15972
|
+
* @param {string} accountName
|
|
15973
|
+
* @param {string} accessKey
|
|
15974
|
+
* @param {*} [options] Override http request option.
|
|
15975
|
+
* @throws {RequiredError}
|
|
15976
|
+
*/
|
|
15977
|
+
async deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options) {
|
|
15978
|
+
var _a, _b, _c;
|
|
15979
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
|
|
15980
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15981
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteSeaweedFSAccessKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15982
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15983
|
+
},
|
|
15984
|
+
/**
|
|
15985
|
+
* delete an account in cluster
|
|
15986
|
+
* @summary deleteSeaweedFSAccount
|
|
15987
|
+
* @param {string} orgName name of the organization
|
|
15988
|
+
* @param {string} clusterName name of the cluster
|
|
15989
|
+
* @param {string} accountName name of the account
|
|
15990
|
+
* @param {*} [options] Override http request option.
|
|
15991
|
+
* @throws {RequiredError}
|
|
15992
|
+
*/
|
|
15993
|
+
async deleteSeaweedFSAccount(orgName, clusterName, accountName, options) {
|
|
15994
|
+
var _a, _b, _c;
|
|
15995
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
|
|
15996
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15997
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteSeaweedFSAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15998
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15999
|
+
},
|
|
16000
|
+
/**
|
|
16001
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
16002
|
+
* @summary deleteSeaweedFSPolicy
|
|
16003
|
+
* @param {string} orgName
|
|
16004
|
+
* @param {string} clusterName
|
|
16005
|
+
* @param {string} policyName
|
|
16006
|
+
* @param {*} [options] Override http request option.
|
|
16007
|
+
* @throws {RequiredError}
|
|
16008
|
+
*/
|
|
16009
|
+
async deleteSeaweedFSPolicy(orgName, clusterName, policyName, options) {
|
|
16010
|
+
var _a, _b, _c;
|
|
16011
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
|
|
16012
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16013
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteSeaweedFSPolicy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16014
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16015
|
+
},
|
|
14963
16016
|
/**
|
|
14964
16017
|
* delete a MinIO service account access key
|
|
14965
16018
|
* @summary Delete MinIO access key
|
|
@@ -15026,6 +16079,24 @@ const SharedApiFp = function (configuration) {
|
|
|
15026
16079
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.disableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15027
16080
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15028
16081
|
},
|
|
16082
|
+
/**
|
|
16083
|
+
*
|
|
16084
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
16085
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16086
|
+
* @param {string} orgName
|
|
16087
|
+
* @param {string} clusterName
|
|
16088
|
+
* @param {string} jarId
|
|
16089
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
16090
|
+
* @param {*} [options] Override http request option.
|
|
16091
|
+
* @throws {RequiredError}
|
|
16092
|
+
*/
|
|
16093
|
+
async distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options) {
|
|
16094
|
+
var _a, _b, _c;
|
|
16095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
|
|
16096
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16097
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.distributeClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16098
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16099
|
+
},
|
|
15029
16100
|
/**
|
|
15030
16101
|
*
|
|
15031
16102
|
* @summary Restore current cluster or instance
|
|
@@ -15057,6 +16128,23 @@ const SharedApiFp = function (configuration) {
|
|
|
15057
16128
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.downloadBackup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15058
16129
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15059
16130
|
},
|
|
16131
|
+
/**
|
|
16132
|
+
*
|
|
16133
|
+
* @summary Download the original JAR
|
|
16134
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16135
|
+
* @param {string} orgName
|
|
16136
|
+
* @param {string} clusterName
|
|
16137
|
+
* @param {string} jarId
|
|
16138
|
+
* @param {*} [options] Override http request option.
|
|
16139
|
+
* @throws {RequiredError}
|
|
16140
|
+
*/
|
|
16141
|
+
async downloadClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
16142
|
+
var _a, _b, _c;
|
|
16143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
16144
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16145
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.downloadClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16146
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16147
|
+
},
|
|
15060
16148
|
/**
|
|
15061
16149
|
*
|
|
15062
16150
|
* @summary Download multiple backup files
|
|
@@ -15493,6 +16581,22 @@ const SharedApiFp = function (configuration) {
|
|
|
15493
16581
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterInstanceLog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15494
16582
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15495
16583
|
},
|
|
16584
|
+
/**
|
|
16585
|
+
*
|
|
16586
|
+
* @summary Get external JAR capability and configuration
|
|
16587
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16588
|
+
* @param {string} orgName
|
|
16589
|
+
* @param {string} clusterName
|
|
16590
|
+
* @param {*} [options] Override http request option.
|
|
16591
|
+
* @throws {RequiredError}
|
|
16592
|
+
*/
|
|
16593
|
+
async getClusterJarConfig(engineName, orgName, clusterName, options) {
|
|
16594
|
+
var _a, _b, _c;
|
|
16595
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
|
|
16596
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16597
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterJarConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16598
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16599
|
+
},
|
|
15496
16600
|
/**
|
|
15497
16601
|
*
|
|
15498
16602
|
* @summary Get cluster parameter template
|
|
@@ -16028,6 +17132,23 @@ const SharedApiFp = function (configuration) {
|
|
|
16028
17132
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getRootAccountPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16029
17133
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16030
17134
|
},
|
|
17135
|
+
/**
|
|
17136
|
+
* get root account password
|
|
17137
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
17138
|
+
* @param {string} orgName name of the Org
|
|
17139
|
+
* @param {string} clusterName name of the Cluster
|
|
17140
|
+
* @param {string} accountName name of the account
|
|
17141
|
+
* @param {string} [component] name of the component
|
|
17142
|
+
* @param {*} [options] Override http request option.
|
|
17143
|
+
* @throws {RequiredError}
|
|
17144
|
+
*/
|
|
17145
|
+
async getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options) {
|
|
17146
|
+
var _a, _b, _c;
|
|
17147
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
|
|
17148
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17149
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getRootSeaweedFSAccountPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17150
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17151
|
+
},
|
|
16031
17152
|
/**
|
|
16032
17153
|
*
|
|
16033
17154
|
* @summary list all databases or schema of the cluster
|
|
@@ -16458,6 +17579,22 @@ const SharedApiFp = function (configuration) {
|
|
|
16458
17579
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16459
17580
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16460
17581
|
},
|
|
17582
|
+
/**
|
|
17583
|
+
*
|
|
17584
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
17585
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
17586
|
+
* @param {string} orgName
|
|
17587
|
+
* @param {string} clusterName
|
|
17588
|
+
* @param {*} [options] Override http request option.
|
|
17589
|
+
* @throws {RequiredError}
|
|
17590
|
+
*/
|
|
17591
|
+
async listClusterJars(engineName, orgName, clusterName, options) {
|
|
17592
|
+
var _a, _b, _c;
|
|
17593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
|
|
17594
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17595
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClusterJars']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17596
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17597
|
+
},
|
|
16461
17598
|
/**
|
|
16462
17599
|
*
|
|
16463
17600
|
* @summary List restore tasks
|
|
@@ -17152,6 +18289,36 @@ const SharedApiFp = function (configuration) {
|
|
|
17152
18289
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17153
18290
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17154
18291
|
},
|
|
18292
|
+
/**
|
|
18293
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
18294
|
+
* @summary listSeaweedFSAccounts
|
|
18295
|
+
* @param {string} orgName name of the organization
|
|
18296
|
+
* @param {string} clusterName name of the cluster
|
|
18297
|
+
* @param {*} [options] Override http request option.
|
|
18298
|
+
* @throws {RequiredError}
|
|
18299
|
+
*/
|
|
18300
|
+
async listSeaweedFSAccounts(orgName, clusterName, options) {
|
|
18301
|
+
var _a, _b, _c;
|
|
18302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
|
|
18303
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18304
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listSeaweedFSAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18305
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18306
|
+
},
|
|
18307
|
+
/**
|
|
18308
|
+
*
|
|
18309
|
+
* @summary listSeaweedFSPolicies
|
|
18310
|
+
* @param {string} orgName
|
|
18311
|
+
* @param {string} clusterName
|
|
18312
|
+
* @param {*} [options] Override http request option.
|
|
18313
|
+
* @throws {RequiredError}
|
|
18314
|
+
*/
|
|
18315
|
+
async listSeaweedFSPolicies(orgName, clusterName, options) {
|
|
18316
|
+
var _a, _b, _c;
|
|
18317
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
|
|
18318
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18319
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listSeaweedFSPolicies']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18320
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18321
|
+
},
|
|
17155
18322
|
/**
|
|
17156
18323
|
* list MinIO service account access keys
|
|
17157
18324
|
* @summary List MinIO access keys
|
|
@@ -17491,6 +18658,23 @@ const SharedApiFp = function (configuration) {
|
|
|
17491
18658
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putElasticsearchSecurityUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17492
18659
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17493
18660
|
},
|
|
18661
|
+
/**
|
|
18662
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
18663
|
+
* @summary putSeaweedFSPolicy
|
|
18664
|
+
* @param {string} orgName
|
|
18665
|
+
* @param {string} clusterName
|
|
18666
|
+
* @param {string} policyName
|
|
18667
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
18668
|
+
* @param {*} [options] Override http request option.
|
|
18669
|
+
* @throws {RequiredError}
|
|
18670
|
+
*/
|
|
18671
|
+
async putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options) {
|
|
18672
|
+
var _a, _b, _c;
|
|
18673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
|
|
18674
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18675
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.putSeaweedFSPolicy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18676
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18677
|
+
},
|
|
17494
18678
|
/**
|
|
17495
18679
|
*
|
|
17496
18680
|
* @summary create a SQL query
|
|
@@ -18039,6 +19223,23 @@ const SharedApiFp = function (configuration) {
|
|
|
18039
19223
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.restoreRecycleBinCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18040
19224
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18041
19225
|
},
|
|
19226
|
+
/**
|
|
19227
|
+
*
|
|
19228
|
+
* @summary Retry synchronization of published JARs
|
|
19229
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
19230
|
+
* @param {string} orgName
|
|
19231
|
+
* @param {string} clusterName
|
|
19232
|
+
* @param {string} jarId
|
|
19233
|
+
* @param {*} [options] Override http request option.
|
|
19234
|
+
* @throws {RequiredError}
|
|
19235
|
+
*/
|
|
19236
|
+
async retryClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
19237
|
+
var _a, _b, _c;
|
|
19238
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
19239
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19240
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.retryClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19241
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19242
|
+
},
|
|
18042
19243
|
/**
|
|
18043
19244
|
*
|
|
18044
19245
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -18718,7 +19919,41 @@ const SharedApiFp = function (configuration) {
|
|
|
18718
19919
|
var _a, _b, _c;
|
|
18719
19920
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRoleByName(orgName, roleName, roleUpdate, options);
|
|
18720
19921
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18721
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateRoleByName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19922
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateRoleByName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19923
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19924
|
+
},
|
|
19925
|
+
/**
|
|
19926
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
19927
|
+
* @summary updateSeaweedFSAccount
|
|
19928
|
+
* @param {string} orgName name of the organization
|
|
19929
|
+
* @param {string} clusterName name of the cluster
|
|
19930
|
+
* @param {string} accountName name of the account
|
|
19931
|
+
* @param {Account} body
|
|
19932
|
+
* @param {*} [options] Override http request option.
|
|
19933
|
+
* @throws {RequiredError}
|
|
19934
|
+
*/
|
|
19935
|
+
async updateSeaweedFSAccount(orgName, clusterName, accountName, body, options) {
|
|
19936
|
+
var _a, _b, _c;
|
|
19937
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
|
|
19938
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19939
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateSeaweedFSAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19940
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19941
|
+
},
|
|
19942
|
+
/**
|
|
19943
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
19944
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
19945
|
+
* @param {string} orgName name of the Org
|
|
19946
|
+
* @param {string} clusterName name of the Cluster
|
|
19947
|
+
* @param {string} accountName name of the account
|
|
19948
|
+
* @param {Array<PrivilegeListItem>} body
|
|
19949
|
+
* @param {*} [options] Override http request option.
|
|
19950
|
+
* @throws {RequiredError}
|
|
19951
|
+
*/
|
|
19952
|
+
async updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options) {
|
|
19953
|
+
var _a, _b, _c;
|
|
19954
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
|
|
19955
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19956
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.updateSeaweedFSAccountPrivileges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18722
19957
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18723
19958
|
},
|
|
18724
19959
|
/**
|
|
@@ -18802,6 +20037,26 @@ const SharedApiFp = function (configuration) {
|
|
|
18802
20037
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.upgradeCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18803
20038
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18804
20039
|
},
|
|
20040
|
+
/**
|
|
20041
|
+
*
|
|
20042
|
+
* @summary Upload an immutable JAR version
|
|
20043
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
20044
|
+
* @param {string} orgName
|
|
20045
|
+
* @param {string} clusterName
|
|
20046
|
+
* @param {string} idempotencyKey
|
|
20047
|
+
* @param {string} name
|
|
20048
|
+
* @param {ClusterJarKind} kind
|
|
20049
|
+
* @param {File} file
|
|
20050
|
+
* @param {*} [options] Override http request option.
|
|
20051
|
+
* @throws {RequiredError}
|
|
20052
|
+
*/
|
|
20053
|
+
async uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options) {
|
|
20054
|
+
var _a, _b, _c;
|
|
20055
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
|
|
20056
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20057
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.uploadClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20058
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20059
|
+
},
|
|
18805
20060
|
/**
|
|
18806
20061
|
*
|
|
18807
20062
|
* @summary Validate cluster creation
|
|
@@ -18916,6 +20171,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18916
20171
|
alterParameter(requestParameters, options) {
|
|
18917
20172
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
18918
20173
|
},
|
|
20174
|
+
/**
|
|
20175
|
+
*
|
|
20176
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
20177
|
+
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
20178
|
+
* @param {*} [options] Override http request option.
|
|
20179
|
+
* @throws {RequiredError}
|
|
20180
|
+
*/
|
|
20181
|
+
archiveClusterJar(requestParameters, options) {
|
|
20182
|
+
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20183
|
+
},
|
|
18919
20184
|
/**
|
|
18920
20185
|
* Batch add permissions to a role
|
|
18921
20186
|
* @summary Batch add permissions to a role
|
|
@@ -18946,6 +20211,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18946
20211
|
batchUpdateOrgParameters(requestParameters, options) {
|
|
18947
20212
|
return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
18948
20213
|
},
|
|
20214
|
+
/**
|
|
20215
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
20216
|
+
* @summary bindSeaweedFSPolicies
|
|
20217
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
20218
|
+
* @param {*} [options] Override http request option.
|
|
20219
|
+
* @throws {RequiredError}
|
|
20220
|
+
*/
|
|
20221
|
+
bindSeaweedFSPolicies(requestParameters, options) {
|
|
20222
|
+
return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
|
|
20223
|
+
},
|
|
18949
20224
|
/**
|
|
18950
20225
|
*
|
|
18951
20226
|
* @summary build backup object with a existing backup directory
|
|
@@ -19177,6 +20452,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19177
20452
|
createRole(requestParameters, options) {
|
|
19178
20453
|
return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
|
|
19179
20454
|
},
|
|
20455
|
+
/**
|
|
20456
|
+
* 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.
|
|
20457
|
+
* @summary createSeaweedFSAccessKey
|
|
20458
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
20459
|
+
* @param {*} [options] Override http request option.
|
|
20460
|
+
* @throws {RequiredError}
|
|
20461
|
+
*/
|
|
20462
|
+
createSeaweedFSAccessKey(requestParameters, options) {
|
|
20463
|
+
return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
|
|
20464
|
+
},
|
|
20465
|
+
/**
|
|
20466
|
+
* 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.
|
|
20467
|
+
* @summary createSeaweedFSAccount
|
|
20468
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
20469
|
+
* @param {*} [options] Override http request option.
|
|
20470
|
+
* @throws {RequiredError}
|
|
20471
|
+
*/
|
|
20472
|
+
createSeaweedFSAccount(requestParameters, options) {
|
|
20473
|
+
return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20474
|
+
},
|
|
19180
20475
|
/**
|
|
19181
20476
|
* create a MinIO service account access key
|
|
19182
20477
|
* @summary Create MinIO access key
|
|
@@ -19337,6 +20632,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19337
20632
|
deleteCluster(requestParameters, options) {
|
|
19338
20633
|
return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
|
|
19339
20634
|
},
|
|
20635
|
+
/**
|
|
20636
|
+
*
|
|
20637
|
+
* @summary Delete an unpublished JAR version
|
|
20638
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
20639
|
+
* @param {*} [options] Override http request option.
|
|
20640
|
+
* @throws {RequiredError}
|
|
20641
|
+
*/
|
|
20642
|
+
deleteClusterJar(requestParameters, options) {
|
|
20643
|
+
return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20644
|
+
},
|
|
19340
20645
|
/**
|
|
19341
20646
|
*
|
|
19342
20647
|
* @summary delete the datasource
|
|
@@ -19557,6 +20862,36 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19557
20862
|
deleteRoleByName(requestParameters, options) {
|
|
19558
20863
|
return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
19559
20864
|
},
|
|
20865
|
+
/**
|
|
20866
|
+
*
|
|
20867
|
+
* @summary deleteSeaweedFSAccessKey
|
|
20868
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
20869
|
+
* @param {*} [options] Override http request option.
|
|
20870
|
+
* @throws {RequiredError}
|
|
20871
|
+
*/
|
|
20872
|
+
deleteSeaweedFSAccessKey(requestParameters, options) {
|
|
20873
|
+
return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
20874
|
+
},
|
|
20875
|
+
/**
|
|
20876
|
+
* delete an account in cluster
|
|
20877
|
+
* @summary deleteSeaweedFSAccount
|
|
20878
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
20879
|
+
* @param {*} [options] Override http request option.
|
|
20880
|
+
* @throws {RequiredError}
|
|
20881
|
+
*/
|
|
20882
|
+
deleteSeaweedFSAccount(requestParameters, options) {
|
|
20883
|
+
return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
20884
|
+
},
|
|
20885
|
+
/**
|
|
20886
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
20887
|
+
* @summary deleteSeaweedFSPolicy
|
|
20888
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
20889
|
+
* @param {*} [options] Override http request option.
|
|
20890
|
+
* @throws {RequiredError}
|
|
20891
|
+
*/
|
|
20892
|
+
deleteSeaweedFSPolicy(requestParameters, options) {
|
|
20893
|
+
return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
|
|
20894
|
+
},
|
|
19560
20895
|
/**
|
|
19561
20896
|
* delete a MinIO service account access key
|
|
19562
20897
|
* @summary Delete MinIO access key
|
|
@@ -19597,6 +20932,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19597
20932
|
disableConsole(requestParameters, options) {
|
|
19598
20933
|
return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
19599
20934
|
},
|
|
20935
|
+
/**
|
|
20936
|
+
*
|
|
20937
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
20938
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
20939
|
+
* @param {*} [options] Override http request option.
|
|
20940
|
+
* @throws {RequiredError}
|
|
20941
|
+
*/
|
|
20942
|
+
distributeClusterJar(requestParameters, options) {
|
|
20943
|
+
return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
|
|
20944
|
+
},
|
|
19600
20945
|
/**
|
|
19601
20946
|
*
|
|
19602
20947
|
* @summary Restore current cluster or instance
|
|
@@ -19617,6 +20962,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19617
20962
|
downloadBackup(requestParameters, options) {
|
|
19618
20963
|
return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
|
|
19619
20964
|
},
|
|
20965
|
+
/**
|
|
20966
|
+
*
|
|
20967
|
+
* @summary Download the original JAR
|
|
20968
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
20969
|
+
* @param {*} [options] Override http request option.
|
|
20970
|
+
* @throws {RequiredError}
|
|
20971
|
+
*/
|
|
20972
|
+
downloadClusterJar(requestParameters, options) {
|
|
20973
|
+
return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20974
|
+
},
|
|
19620
20975
|
/**
|
|
19621
20976
|
*
|
|
19622
20977
|
* @summary Download multiple backup files
|
|
@@ -19856,6 +21211,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19856
21211
|
getClusterInstanceLog(requestParameters, options) {
|
|
19857
21212
|
return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
|
|
19858
21213
|
},
|
|
21214
|
+
/**
|
|
21215
|
+
*
|
|
21216
|
+
* @summary Get external JAR capability and configuration
|
|
21217
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
21218
|
+
* @param {*} [options] Override http request option.
|
|
21219
|
+
* @throws {RequiredError}
|
|
21220
|
+
*/
|
|
21221
|
+
getClusterJarConfig(requestParameters, options) {
|
|
21222
|
+
return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21223
|
+
},
|
|
19859
21224
|
/**
|
|
19860
21225
|
*
|
|
19861
21226
|
* @summary Get cluster parameter template
|
|
@@ -20185,6 +21550,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20185
21550
|
getRootAccountPassword(requestParameters, options) {
|
|
20186
21551
|
return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
20187
21552
|
},
|
|
21553
|
+
/**
|
|
21554
|
+
* get root account password
|
|
21555
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
21556
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
21557
|
+
* @param {*} [options] Override http request option.
|
|
21558
|
+
* @throws {RequiredError}
|
|
21559
|
+
*/
|
|
21560
|
+
getRootSeaweedFSAccountPassword(requestParameters, options) {
|
|
21561
|
+
return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
21562
|
+
},
|
|
20188
21563
|
/**
|
|
20189
21564
|
*
|
|
20190
21565
|
* @summary list all databases or schema of the cluster
|
|
@@ -20425,6 +21800,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20425
21800
|
listCluster(requestParameters, options) {
|
|
20426
21801
|
return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
|
|
20427
21802
|
},
|
|
21803
|
+
/**
|
|
21804
|
+
*
|
|
21805
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
21806
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
21807
|
+
* @param {*} [options] Override http request option.
|
|
21808
|
+
* @throws {RequiredError}
|
|
21809
|
+
*/
|
|
21810
|
+
listClusterJars(requestParameters, options) {
|
|
21811
|
+
return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21812
|
+
},
|
|
20428
21813
|
/**
|
|
20429
21814
|
*
|
|
20430
21815
|
* @summary List restore tasks
|
|
@@ -20863,6 +22248,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20863
22248
|
listRoles(requestParameters, options) {
|
|
20864
22249
|
return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
20865
22250
|
},
|
|
22251
|
+
/**
|
|
22252
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
22253
|
+
* @summary listSeaweedFSAccounts
|
|
22254
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
22255
|
+
* @param {*} [options] Override http request option.
|
|
22256
|
+
* @throws {RequiredError}
|
|
22257
|
+
*/
|
|
22258
|
+
listSeaweedFSAccounts(requestParameters, options) {
|
|
22259
|
+
return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22260
|
+
},
|
|
22261
|
+
/**
|
|
22262
|
+
*
|
|
22263
|
+
* @summary listSeaweedFSPolicies
|
|
22264
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
22265
|
+
* @param {*} [options] Override http request option.
|
|
22266
|
+
* @throws {RequiredError}
|
|
22267
|
+
*/
|
|
22268
|
+
listSeaweedFSPolicies(requestParameters, options) {
|
|
22269
|
+
return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22270
|
+
},
|
|
20866
22271
|
/**
|
|
20867
22272
|
* list MinIO service account access keys
|
|
20868
22273
|
* @summary List MinIO access keys
|
|
@@ -21073,6 +22478,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21073
22478
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
21074
22479
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21075
22480
|
},
|
|
22481
|
+
/**
|
|
22482
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
22483
|
+
* @summary putSeaweedFSPolicy
|
|
22484
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
22485
|
+
* @param {*} [options] Override http request option.
|
|
22486
|
+
* @throws {RequiredError}
|
|
22487
|
+
*/
|
|
22488
|
+
putSeaweedFSPolicy(requestParameters, options) {
|
|
22489
|
+
return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
22490
|
+
},
|
|
21076
22491
|
/**
|
|
21077
22492
|
*
|
|
21078
22493
|
* @summary create a SQL query
|
|
@@ -21332,6 +22747,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21332
22747
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
21333
22748
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21334
22749
|
},
|
|
22750
|
+
/**
|
|
22751
|
+
*
|
|
22752
|
+
* @summary Retry synchronization of published JARs
|
|
22753
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
22754
|
+
* @param {*} [options] Override http request option.
|
|
22755
|
+
* @throws {RequiredError}
|
|
22756
|
+
*/
|
|
22757
|
+
retryClusterJar(requestParameters, options) {
|
|
22758
|
+
return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
22759
|
+
},
|
|
21335
22760
|
/**
|
|
21336
22761
|
*
|
|
21337
22762
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -21742,6 +23167,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21742
23167
|
updateRoleByName(requestParameters, options) {
|
|
21743
23168
|
return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
|
|
21744
23169
|
},
|
|
23170
|
+
/**
|
|
23171
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
23172
|
+
* @summary updateSeaweedFSAccount
|
|
23173
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
23174
|
+
* @param {*} [options] Override http request option.
|
|
23175
|
+
* @throws {RequiredError}
|
|
23176
|
+
*/
|
|
23177
|
+
updateSeaweedFSAccount(requestParameters, options) {
|
|
23178
|
+
return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23179
|
+
},
|
|
23180
|
+
/**
|
|
23181
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
23182
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
23183
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
23184
|
+
* @param {*} [options] Override http request option.
|
|
23185
|
+
* @throws {RequiredError}
|
|
23186
|
+
*/
|
|
23187
|
+
updateSeaweedFSAccountPrivileges(requestParameters, options) {
|
|
23188
|
+
return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23189
|
+
},
|
|
21745
23190
|
/**
|
|
21746
23191
|
* update a MinIO service account access key
|
|
21747
23192
|
* @summary Update MinIO access key
|
|
@@ -21791,6 +23236,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21791
23236
|
upgradeCluster(requestParameters, options) {
|
|
21792
23237
|
return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21793
23238
|
},
|
|
23239
|
+
/**
|
|
23240
|
+
*
|
|
23241
|
+
* @summary Upload an immutable JAR version
|
|
23242
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
23243
|
+
* @param {*} [options] Override http request option.
|
|
23244
|
+
* @throws {RequiredError}
|
|
23245
|
+
*/
|
|
23246
|
+
uploadClusterJar(requestParameters, options) {
|
|
23247
|
+
return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
23248
|
+
},
|
|
21794
23249
|
/**
|
|
21795
23250
|
*
|
|
21796
23251
|
* @summary Validate cluster creation
|
|
@@ -21885,6 +23340,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21885
23340
|
alterParameter(requestParameters, options) {
|
|
21886
23341
|
return (0, exports.SharedApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
21887
23342
|
}
|
|
23343
|
+
/**
|
|
23344
|
+
*
|
|
23345
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
23346
|
+
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
23347
|
+
* @param {*} [options] Override http request option.
|
|
23348
|
+
* @throws {RequiredError}
|
|
23349
|
+
* @memberof SharedApi
|
|
23350
|
+
*/
|
|
23351
|
+
archiveClusterJar(requestParameters, options) {
|
|
23352
|
+
return (0, exports.SharedApiFp)(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
23353
|
+
}
|
|
21888
23354
|
/**
|
|
21889
23355
|
* Batch add permissions to a role
|
|
21890
23356
|
* @summary Batch add permissions to a role
|
|
@@ -21918,6 +23384,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21918
23384
|
batchUpdateOrgParameters(requestParameters, options) {
|
|
21919
23385
|
return (0, exports.SharedApiFp)(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
21920
23386
|
}
|
|
23387
|
+
/**
|
|
23388
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
23389
|
+
* @summary bindSeaweedFSPolicies
|
|
23390
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
23391
|
+
* @param {*} [options] Override http request option.
|
|
23392
|
+
* @throws {RequiredError}
|
|
23393
|
+
* @memberof SharedApi
|
|
23394
|
+
*/
|
|
23395
|
+
bindSeaweedFSPolicies(requestParameters, options) {
|
|
23396
|
+
return (0, exports.SharedApiFp)(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23397
|
+
}
|
|
21921
23398
|
/**
|
|
21922
23399
|
*
|
|
21923
23400
|
* @summary build backup object with a existing backup directory
|
|
@@ -22172,6 +23649,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22172
23649
|
createRole(requestParameters, options) {
|
|
22173
23650
|
return (0, exports.SharedApiFp)(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
|
|
22174
23651
|
}
|
|
23652
|
+
/**
|
|
23653
|
+
* 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.
|
|
23654
|
+
* @summary createSeaweedFSAccessKey
|
|
23655
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
23656
|
+
* @param {*} [options] Override http request option.
|
|
23657
|
+
* @throws {RequiredError}
|
|
23658
|
+
* @memberof SharedApi
|
|
23659
|
+
*/
|
|
23660
|
+
createSeaweedFSAccessKey(requestParameters, options) {
|
|
23661
|
+
return (0, exports.SharedApiFp)(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
23662
|
+
}
|
|
23663
|
+
/**
|
|
23664
|
+
* 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.
|
|
23665
|
+
* @summary createSeaweedFSAccount
|
|
23666
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
23667
|
+
* @param {*} [options] Override http request option.
|
|
23668
|
+
* @throws {RequiredError}
|
|
23669
|
+
* @memberof SharedApi
|
|
23670
|
+
*/
|
|
23671
|
+
createSeaweedFSAccount(requestParameters, options) {
|
|
23672
|
+
return (0, exports.SharedApiFp)(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23673
|
+
}
|
|
22175
23674
|
/**
|
|
22176
23675
|
* create a MinIO service account access key
|
|
22177
23676
|
* @summary Create MinIO access key
|
|
@@ -22348,6 +23847,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22348
23847
|
deleteCluster(requestParameters, options) {
|
|
22349
23848
|
return (0, exports.SharedApiFp)(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
|
|
22350
23849
|
}
|
|
23850
|
+
/**
|
|
23851
|
+
*
|
|
23852
|
+
* @summary Delete an unpublished JAR version
|
|
23853
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
23854
|
+
* @param {*} [options] Override http request option.
|
|
23855
|
+
* @throws {RequiredError}
|
|
23856
|
+
* @memberof SharedApi
|
|
23857
|
+
*/
|
|
23858
|
+
deleteClusterJar(requestParameters, options) {
|
|
23859
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
23860
|
+
}
|
|
22351
23861
|
/**
|
|
22352
23862
|
*
|
|
22353
23863
|
* @summary delete the datasource
|
|
@@ -22590,6 +24100,39 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22590
24100
|
deleteRoleByName(requestParameters, options) {
|
|
22591
24101
|
return (0, exports.SharedApiFp)(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
22592
24102
|
}
|
|
24103
|
+
/**
|
|
24104
|
+
*
|
|
24105
|
+
* @summary deleteSeaweedFSAccessKey
|
|
24106
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
24107
|
+
* @param {*} [options] Override http request option.
|
|
24108
|
+
* @throws {RequiredError}
|
|
24109
|
+
* @memberof SharedApi
|
|
24110
|
+
*/
|
|
24111
|
+
deleteSeaweedFSAccessKey(requestParameters, options) {
|
|
24112
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
24113
|
+
}
|
|
24114
|
+
/**
|
|
24115
|
+
* delete an account in cluster
|
|
24116
|
+
* @summary deleteSeaweedFSAccount
|
|
24117
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
24118
|
+
* @param {*} [options] Override http request option.
|
|
24119
|
+
* @throws {RequiredError}
|
|
24120
|
+
* @memberof SharedApi
|
|
24121
|
+
*/
|
|
24122
|
+
deleteSeaweedFSAccount(requestParameters, options) {
|
|
24123
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
24124
|
+
}
|
|
24125
|
+
/**
|
|
24126
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
24127
|
+
* @summary deleteSeaweedFSPolicy
|
|
24128
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
24129
|
+
* @param {*} [options] Override http request option.
|
|
24130
|
+
* @throws {RequiredError}
|
|
24131
|
+
* @memberof SharedApi
|
|
24132
|
+
*/
|
|
24133
|
+
deleteSeaweedFSPolicy(requestParameters, options) {
|
|
24134
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
|
|
24135
|
+
}
|
|
22593
24136
|
/**
|
|
22594
24137
|
* delete a MinIO service account access key
|
|
22595
24138
|
* @summary Delete MinIO access key
|
|
@@ -22634,6 +24177,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22634
24177
|
disableConsole(requestParameters, options) {
|
|
22635
24178
|
return (0, exports.SharedApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
22636
24179
|
}
|
|
24180
|
+
/**
|
|
24181
|
+
*
|
|
24182
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
24183
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
24184
|
+
* @param {*} [options] Override http request option.
|
|
24185
|
+
* @throws {RequiredError}
|
|
24186
|
+
* @memberof SharedApi
|
|
24187
|
+
*/
|
|
24188
|
+
distributeClusterJar(requestParameters, options) {
|
|
24189
|
+
return (0, exports.SharedApiFp)(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
|
|
24190
|
+
}
|
|
22637
24191
|
/**
|
|
22638
24192
|
*
|
|
22639
24193
|
* @summary Restore current cluster or instance
|
|
@@ -22656,6 +24210,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22656
24210
|
downloadBackup(requestParameters, options) {
|
|
22657
24211
|
return (0, exports.SharedApiFp)(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
|
|
22658
24212
|
}
|
|
24213
|
+
/**
|
|
24214
|
+
*
|
|
24215
|
+
* @summary Download the original JAR
|
|
24216
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
24217
|
+
* @param {*} [options] Override http request option.
|
|
24218
|
+
* @throws {RequiredError}
|
|
24219
|
+
* @memberof SharedApi
|
|
24220
|
+
*/
|
|
24221
|
+
downloadClusterJar(requestParameters, options) {
|
|
24222
|
+
return (0, exports.SharedApiFp)(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
24223
|
+
}
|
|
22659
24224
|
/**
|
|
22660
24225
|
*
|
|
22661
24226
|
* @summary Download multiple backup files
|
|
@@ -22919,6 +24484,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22919
24484
|
getClusterInstanceLog(requestParameters, options) {
|
|
22920
24485
|
return (0, exports.SharedApiFp)(this.configuration).getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(this.axios, this.basePath));
|
|
22921
24486
|
}
|
|
24487
|
+
/**
|
|
24488
|
+
*
|
|
24489
|
+
* @summary Get external JAR capability and configuration
|
|
24490
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
24491
|
+
* @param {*} [options] Override http request option.
|
|
24492
|
+
* @throws {RequiredError}
|
|
24493
|
+
* @memberof SharedApi
|
|
24494
|
+
*/
|
|
24495
|
+
getClusterJarConfig(requestParameters, options) {
|
|
24496
|
+
return (0, exports.SharedApiFp)(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
24497
|
+
}
|
|
22922
24498
|
/**
|
|
22923
24499
|
*
|
|
22924
24500
|
* @summary Get cluster parameter template
|
|
@@ -23281,6 +24857,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23281
24857
|
getRootAccountPassword(requestParameters, options) {
|
|
23282
24858
|
return (0, exports.SharedApiFp)(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
23283
24859
|
}
|
|
24860
|
+
/**
|
|
24861
|
+
* get root account password
|
|
24862
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
24863
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
24864
|
+
* @param {*} [options] Override http request option.
|
|
24865
|
+
* @throws {RequiredError}
|
|
24866
|
+
* @memberof SharedApi
|
|
24867
|
+
*/
|
|
24868
|
+
getRootSeaweedFSAccountPassword(requestParameters, options) {
|
|
24869
|
+
return (0, exports.SharedApiFp)(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
24870
|
+
}
|
|
23284
24871
|
/**
|
|
23285
24872
|
*
|
|
23286
24873
|
* @summary list all databases or schema of the cluster
|
|
@@ -23545,6 +25132,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23545
25132
|
listCluster(requestParameters, options) {
|
|
23546
25133
|
return (0, exports.SharedApiFp)(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
|
|
23547
25134
|
}
|
|
25135
|
+
/**
|
|
25136
|
+
*
|
|
25137
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
25138
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
25139
|
+
* @param {*} [options] Override http request option.
|
|
25140
|
+
* @throws {RequiredError}
|
|
25141
|
+
* @memberof SharedApi
|
|
25142
|
+
*/
|
|
25143
|
+
listClusterJars(requestParameters, options) {
|
|
25144
|
+
return (0, exports.SharedApiFp)(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25145
|
+
}
|
|
23548
25146
|
/**
|
|
23549
25147
|
*
|
|
23550
25148
|
* @summary List restore tasks
|
|
@@ -24027,6 +25625,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24027
25625
|
listRoles(requestParameters, options) {
|
|
24028
25626
|
return (0, exports.SharedApiFp)(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
24029
25627
|
}
|
|
25628
|
+
/**
|
|
25629
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
25630
|
+
* @summary listSeaweedFSAccounts
|
|
25631
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
25632
|
+
* @param {*} [options] Override http request option.
|
|
25633
|
+
* @throws {RequiredError}
|
|
25634
|
+
* @memberof SharedApi
|
|
25635
|
+
*/
|
|
25636
|
+
listSeaweedFSAccounts(requestParameters, options) {
|
|
25637
|
+
return (0, exports.SharedApiFp)(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25638
|
+
}
|
|
25639
|
+
/**
|
|
25640
|
+
*
|
|
25641
|
+
* @summary listSeaweedFSPolicies
|
|
25642
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
25643
|
+
* @param {*} [options] Override http request option.
|
|
25644
|
+
* @throws {RequiredError}
|
|
25645
|
+
* @memberof SharedApi
|
|
25646
|
+
*/
|
|
25647
|
+
listSeaweedFSPolicies(requestParameters, options) {
|
|
25648
|
+
return (0, exports.SharedApiFp)(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25649
|
+
}
|
|
24030
25650
|
/**
|
|
24031
25651
|
* list MinIO service account access keys
|
|
24032
25652
|
* @summary List MinIO access keys
|
|
@@ -24258,6 +25878,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24258
25878
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
24259
25879
|
return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24260
25880
|
}
|
|
25881
|
+
/**
|
|
25882
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
25883
|
+
* @summary putSeaweedFSPolicy
|
|
25884
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
25885
|
+
* @param {*} [options] Override http request option.
|
|
25886
|
+
* @throws {RequiredError}
|
|
25887
|
+
* @memberof SharedApi
|
|
25888
|
+
*/
|
|
25889
|
+
putSeaweedFSPolicy(requestParameters, options) {
|
|
25890
|
+
return (0, exports.SharedApiFp)(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
25891
|
+
}
|
|
24261
25892
|
/**
|
|
24262
25893
|
*
|
|
24263
25894
|
* @summary create a SQL query
|
|
@@ -24543,6 +26174,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24543
26174
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
24544
26175
|
return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
24545
26176
|
}
|
|
26177
|
+
/**
|
|
26178
|
+
*
|
|
26179
|
+
* @summary Retry synchronization of published JARs
|
|
26180
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
26181
|
+
* @param {*} [options] Override http request option.
|
|
26182
|
+
* @throws {RequiredError}
|
|
26183
|
+
* @memberof SharedApi
|
|
26184
|
+
*/
|
|
26185
|
+
retryClusterJar(requestParameters, options) {
|
|
26186
|
+
return (0, exports.SharedApiFp)(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
26187
|
+
}
|
|
24546
26188
|
/**
|
|
24547
26189
|
*
|
|
24548
26190
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -24994,6 +26636,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24994
26636
|
updateRoleByName(requestParameters, options) {
|
|
24995
26637
|
return (0, exports.SharedApiFp)(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
24996
26638
|
}
|
|
26639
|
+
/**
|
|
26640
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
26641
|
+
* @summary updateSeaweedFSAccount
|
|
26642
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
26643
|
+
* @param {*} [options] Override http request option.
|
|
26644
|
+
* @throws {RequiredError}
|
|
26645
|
+
* @memberof SharedApi
|
|
26646
|
+
*/
|
|
26647
|
+
updateSeaweedFSAccount(requestParameters, options) {
|
|
26648
|
+
return (0, exports.SharedApiFp)(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
26649
|
+
}
|
|
26650
|
+
/**
|
|
26651
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
26652
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
26653
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
26654
|
+
* @param {*} [options] Override http request option.
|
|
26655
|
+
* @throws {RequiredError}
|
|
26656
|
+
* @memberof SharedApi
|
|
26657
|
+
*/
|
|
26658
|
+
updateSeaweedFSAccountPrivileges(requestParameters, options) {
|
|
26659
|
+
return (0, exports.SharedApiFp)(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
26660
|
+
}
|
|
24997
26661
|
/**
|
|
24998
26662
|
* update a MinIO service account access key
|
|
24999
26663
|
* @summary Update MinIO access key
|
|
@@ -25048,6 +26712,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25048
26712
|
upgradeCluster(requestParameters, options) {
|
|
25049
26713
|
return (0, exports.SharedApiFp)(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
25050
26714
|
}
|
|
26715
|
+
/**
|
|
26716
|
+
*
|
|
26717
|
+
* @summary Upload an immutable JAR version
|
|
26718
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
26719
|
+
* @param {*} [options] Override http request option.
|
|
26720
|
+
* @throws {RequiredError}
|
|
26721
|
+
* @memberof SharedApi
|
|
26722
|
+
*/
|
|
26723
|
+
uploadClusterJar(requestParameters, options) {
|
|
26724
|
+
return (0, exports.SharedApiFp)(this.configuration).uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
26725
|
+
}
|
|
25051
26726
|
/**
|
|
25052
26727
|
*
|
|
25053
26728
|
* @summary Validate cluster creation
|