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
|
@@ -279,6 +279,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
279
279
|
options: localVarRequestOptions,
|
|
280
280
|
};
|
|
281
281
|
},
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
285
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
286
|
+
* @param {string} orgName
|
|
287
|
+
* @param {string} clusterName
|
|
288
|
+
* @param {string} jarId
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
archiveClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
293
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
294
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'engineName', engineName);
|
|
295
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
296
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'orgName', orgName);
|
|
297
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
298
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'clusterName', clusterName);
|
|
299
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
300
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'jarId', jarId);
|
|
301
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
302
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
303
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
304
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
305
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
306
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
307
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
308
|
+
let baseOptions;
|
|
309
|
+
if (configuration) {
|
|
310
|
+
baseOptions = configuration.baseOptions;
|
|
311
|
+
}
|
|
312
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
313
|
+
const localVarHeaderParameter = {};
|
|
314
|
+
const localVarQueryParameter = {};
|
|
315
|
+
// authentication BearerToken required
|
|
316
|
+
// http bearer authentication required
|
|
317
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
318
|
+
// authentication DigestAuth required
|
|
319
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
320
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
322
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
323
|
+
return {
|
|
324
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
325
|
+
options: localVarRequestOptions,
|
|
326
|
+
};
|
|
327
|
+
},
|
|
282
328
|
/**
|
|
283
329
|
* list the service version of the engine
|
|
284
330
|
* @summary list the service version of the engine
|
|
@@ -481,6 +527,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
481
527
|
options: localVarRequestOptions,
|
|
482
528
|
};
|
|
483
529
|
},
|
|
530
|
+
/**
|
|
531
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
532
|
+
* @summary bindSeaweedFSPolicies
|
|
533
|
+
* @param {string} orgName
|
|
534
|
+
* @param {string} clusterName
|
|
535
|
+
* @param {string} accountName
|
|
536
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
537
|
+
* @param {*} [options] Override http request option.
|
|
538
|
+
* @throws {RequiredError}
|
|
539
|
+
*/
|
|
540
|
+
bindSeaweedFSPolicies: async (orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options = {}) => {
|
|
541
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
542
|
+
(0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'orgName', orgName);
|
|
543
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
544
|
+
(0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'clusterName', clusterName);
|
|
545
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
546
|
+
(0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'accountName', accountName);
|
|
547
|
+
// verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
|
|
548
|
+
(0, common_1.assertParamExists)('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest);
|
|
549
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
|
|
550
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
551
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
552
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
553
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
554
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
555
|
+
let baseOptions;
|
|
556
|
+
if (configuration) {
|
|
557
|
+
baseOptions = configuration.baseOptions;
|
|
558
|
+
}
|
|
559
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
560
|
+
const localVarHeaderParameter = {};
|
|
561
|
+
const localVarQueryParameter = {};
|
|
562
|
+
// authentication BearerToken required
|
|
563
|
+
// http bearer authentication required
|
|
564
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
565
|
+
// authentication DigestAuth required
|
|
566
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
567
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
568
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
569
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
570
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
571
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration);
|
|
572
|
+
return {
|
|
573
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
574
|
+
options: localVarRequestOptions,
|
|
575
|
+
};
|
|
576
|
+
},
|
|
484
577
|
/**
|
|
485
578
|
*
|
|
486
579
|
* @summary build backup object with a existing backup directory
|
|
@@ -1526,6 +1619,96 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
1526
1619
|
options: localVarRequestOptions,
|
|
1527
1620
|
};
|
|
1528
1621
|
},
|
|
1622
|
+
/**
|
|
1623
|
+
* 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.
|
|
1624
|
+
* @summary createSeaweedFSAccessKey
|
|
1625
|
+
* @param {string} orgName
|
|
1626
|
+
* @param {string} clusterName
|
|
1627
|
+
* @param {string} accountName
|
|
1628
|
+
* @param {Account} account
|
|
1629
|
+
* @param {*} [options] Override http request option.
|
|
1630
|
+
* @throws {RequiredError}
|
|
1631
|
+
*/
|
|
1632
|
+
createSeaweedFSAccessKey: async (orgName, clusterName, accountName, account, options = {}) => {
|
|
1633
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1634
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'orgName', orgName);
|
|
1635
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1636
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'clusterName', clusterName);
|
|
1637
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1638
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'accountName', accountName);
|
|
1639
|
+
// verify required parameter 'account' is not null or undefined
|
|
1640
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccessKey', 'account', account);
|
|
1641
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
|
|
1642
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1643
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1644
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1645
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1646
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1647
|
+
let baseOptions;
|
|
1648
|
+
if (configuration) {
|
|
1649
|
+
baseOptions = configuration.baseOptions;
|
|
1650
|
+
}
|
|
1651
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1652
|
+
const localVarHeaderParameter = {};
|
|
1653
|
+
const localVarQueryParameter = {};
|
|
1654
|
+
// authentication BearerToken required
|
|
1655
|
+
// http bearer authentication required
|
|
1656
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1657
|
+
// authentication DigestAuth required
|
|
1658
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1659
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1660
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1661
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1662
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1663
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(account, localVarRequestOptions, configuration);
|
|
1664
|
+
return {
|
|
1665
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1666
|
+
options: localVarRequestOptions,
|
|
1667
|
+
};
|
|
1668
|
+
},
|
|
1669
|
+
/**
|
|
1670
|
+
* 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.
|
|
1671
|
+
* @summary createSeaweedFSAccount
|
|
1672
|
+
* @param {string} orgName name of the organization
|
|
1673
|
+
* @param {string} clusterName name of the cluster
|
|
1674
|
+
* @param {Account} body
|
|
1675
|
+
* @param {*} [options] Override http request option.
|
|
1676
|
+
* @throws {RequiredError}
|
|
1677
|
+
*/
|
|
1678
|
+
createSeaweedFSAccount: async (orgName, clusterName, body, options = {}) => {
|
|
1679
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1680
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccount', 'orgName', orgName);
|
|
1681
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1682
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccount', 'clusterName', clusterName);
|
|
1683
|
+
// verify required parameter 'body' is not null or undefined
|
|
1684
|
+
(0, common_1.assertParamExists)('createSeaweedFSAccount', 'body', body);
|
|
1685
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
1686
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1687
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1688
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1689
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1690
|
+
let baseOptions;
|
|
1691
|
+
if (configuration) {
|
|
1692
|
+
baseOptions = configuration.baseOptions;
|
|
1693
|
+
}
|
|
1694
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1695
|
+
const localVarHeaderParameter = {};
|
|
1696
|
+
const localVarQueryParameter = {};
|
|
1697
|
+
// authentication BearerToken required
|
|
1698
|
+
// http bearer authentication required
|
|
1699
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1700
|
+
// authentication DigestAuth required
|
|
1701
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1702
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1703
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1704
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1705
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1706
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
1707
|
+
return {
|
|
1708
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1709
|
+
options: localVarRequestOptions,
|
|
1710
|
+
};
|
|
1711
|
+
},
|
|
1529
1712
|
/**
|
|
1530
1713
|
* create a MinIO service account access key
|
|
1531
1714
|
* @summary Create MinIO access key
|
|
@@ -2068,6 +2251,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
2068
2251
|
options: localVarRequestOptions,
|
|
2069
2252
|
};
|
|
2070
2253
|
},
|
|
2254
|
+
/**
|
|
2255
|
+
*
|
|
2256
|
+
* @summary Delete an unpublished JAR version
|
|
2257
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
2258
|
+
* @param {string} orgName
|
|
2259
|
+
* @param {string} clusterName
|
|
2260
|
+
* @param {string} jarId
|
|
2261
|
+
* @param {*} [options] Override http request option.
|
|
2262
|
+
* @throws {RequiredError}
|
|
2263
|
+
*/
|
|
2264
|
+
deleteClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
2265
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2266
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'engineName', engineName);
|
|
2267
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2268
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'orgName', orgName);
|
|
2269
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2270
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'clusterName', clusterName);
|
|
2271
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
2272
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'jarId', jarId);
|
|
2273
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
|
|
2274
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2275
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2276
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2277
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
2278
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2279
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2280
|
+
let baseOptions;
|
|
2281
|
+
if (configuration) {
|
|
2282
|
+
baseOptions = configuration.baseOptions;
|
|
2283
|
+
}
|
|
2284
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2285
|
+
const localVarHeaderParameter = {};
|
|
2286
|
+
const localVarQueryParameter = {};
|
|
2287
|
+
// authentication BearerToken required
|
|
2288
|
+
// http bearer authentication required
|
|
2289
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2290
|
+
// authentication DigestAuth required
|
|
2291
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2292
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2293
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2294
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2295
|
+
return {
|
|
2296
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2297
|
+
options: localVarRequestOptions,
|
|
2298
|
+
};
|
|
2299
|
+
},
|
|
2071
2300
|
/**
|
|
2072
2301
|
*
|
|
2073
2302
|
* @summary delete the datasource
|
|
@@ -2990,6 +3219,136 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
2990
3219
|
options: localVarRequestOptions,
|
|
2991
3220
|
};
|
|
2992
3221
|
},
|
|
3222
|
+
/**
|
|
3223
|
+
*
|
|
3224
|
+
* @summary deleteSeaweedFSAccessKey
|
|
3225
|
+
* @param {string} orgName
|
|
3226
|
+
* @param {string} clusterName
|
|
3227
|
+
* @param {string} accountName
|
|
3228
|
+
* @param {string} accessKey
|
|
3229
|
+
* @param {*} [options] Override http request option.
|
|
3230
|
+
* @throws {RequiredError}
|
|
3231
|
+
*/
|
|
3232
|
+
deleteSeaweedFSAccessKey: async (orgName, clusterName, accountName, accessKey, options = {}) => {
|
|
3233
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3234
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'orgName', orgName);
|
|
3235
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3236
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'clusterName', clusterName);
|
|
3237
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
3238
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'accountName', accountName);
|
|
3239
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
3240
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccessKey', 'accessKey', accessKey);
|
|
3241
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
|
|
3242
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3243
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3244
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
|
|
3245
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
3246
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3247
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3248
|
+
let baseOptions;
|
|
3249
|
+
if (configuration) {
|
|
3250
|
+
baseOptions = configuration.baseOptions;
|
|
3251
|
+
}
|
|
3252
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3253
|
+
const localVarHeaderParameter = {};
|
|
3254
|
+
const localVarQueryParameter = {};
|
|
3255
|
+
// authentication BearerToken required
|
|
3256
|
+
// http bearer authentication required
|
|
3257
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3258
|
+
// authentication DigestAuth required
|
|
3259
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3260
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3261
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3262
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3263
|
+
return {
|
|
3264
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3265
|
+
options: localVarRequestOptions,
|
|
3266
|
+
};
|
|
3267
|
+
},
|
|
3268
|
+
/**
|
|
3269
|
+
* delete an account in cluster
|
|
3270
|
+
* @summary deleteSeaweedFSAccount
|
|
3271
|
+
* @param {string} orgName name of the organization
|
|
3272
|
+
* @param {string} clusterName name of the cluster
|
|
3273
|
+
* @param {string} accountName name of the account
|
|
3274
|
+
* @param {*} [options] Override http request option.
|
|
3275
|
+
* @throws {RequiredError}
|
|
3276
|
+
*/
|
|
3277
|
+
deleteSeaweedFSAccount: async (orgName, clusterName, accountName, options = {}) => {
|
|
3278
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3279
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'orgName', orgName);
|
|
3280
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3281
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'clusterName', clusterName);
|
|
3282
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
3283
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSAccount', 'accountName', accountName);
|
|
3284
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
3285
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3286
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3287
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
3288
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3289
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3290
|
+
let baseOptions;
|
|
3291
|
+
if (configuration) {
|
|
3292
|
+
baseOptions = configuration.baseOptions;
|
|
3293
|
+
}
|
|
3294
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3295
|
+
const localVarHeaderParameter = {};
|
|
3296
|
+
const localVarQueryParameter = {};
|
|
3297
|
+
// authentication BearerToken required
|
|
3298
|
+
// http bearer authentication required
|
|
3299
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3300
|
+
// authentication DigestAuth required
|
|
3301
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3302
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3303
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3304
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3305
|
+
return {
|
|
3306
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3307
|
+
options: localVarRequestOptions,
|
|
3308
|
+
};
|
|
3309
|
+
},
|
|
3310
|
+
/**
|
|
3311
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
3312
|
+
* @summary deleteSeaweedFSPolicy
|
|
3313
|
+
* @param {string} orgName
|
|
3314
|
+
* @param {string} clusterName
|
|
3315
|
+
* @param {string} policyName
|
|
3316
|
+
* @param {*} [options] Override http request option.
|
|
3317
|
+
* @throws {RequiredError}
|
|
3318
|
+
*/
|
|
3319
|
+
deleteSeaweedFSPolicy: async (orgName, clusterName, policyName, options = {}) => {
|
|
3320
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3321
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'orgName', orgName);
|
|
3322
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3323
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'clusterName', clusterName);
|
|
3324
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
3325
|
+
(0, common_1.assertParamExists)('deleteSeaweedFSPolicy', 'policyName', policyName);
|
|
3326
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
3327
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3328
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3329
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
3330
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3331
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3332
|
+
let baseOptions;
|
|
3333
|
+
if (configuration) {
|
|
3334
|
+
baseOptions = configuration.baseOptions;
|
|
3335
|
+
}
|
|
3336
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3337
|
+
const localVarHeaderParameter = {};
|
|
3338
|
+
const localVarQueryParameter = {};
|
|
3339
|
+
// authentication BearerToken required
|
|
3340
|
+
// http bearer authentication required
|
|
3341
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3342
|
+
// authentication DigestAuth required
|
|
3343
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3344
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3346
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3347
|
+
return {
|
|
3348
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3349
|
+
options: localVarRequestOptions,
|
|
3350
|
+
};
|
|
3351
|
+
},
|
|
2993
3352
|
/**
|
|
2994
3353
|
* delete a MinIO service account access key
|
|
2995
3354
|
* @summary Delete MinIO access key
|
|
@@ -3170,6 +3529,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3170
3529
|
options: localVarRequestOptions,
|
|
3171
3530
|
};
|
|
3172
3531
|
},
|
|
3532
|
+
/**
|
|
3533
|
+
*
|
|
3534
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
3535
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
3536
|
+
* @param {string} orgName
|
|
3537
|
+
* @param {string} clusterName
|
|
3538
|
+
* @param {string} jarId
|
|
3539
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
3540
|
+
* @param {*} [options] Override http request option.
|
|
3541
|
+
* @throws {RequiredError}
|
|
3542
|
+
*/
|
|
3543
|
+
distributeClusterJar: async (engineName, orgName, clusterName, jarId, clusterJarPublish, options = {}) => {
|
|
3544
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3545
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'engineName', engineName);
|
|
3546
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3547
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'orgName', orgName);
|
|
3548
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3549
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'clusterName', clusterName);
|
|
3550
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
3551
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'jarId', jarId);
|
|
3552
|
+
// verify required parameter 'clusterJarPublish' is not null or undefined
|
|
3553
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'clusterJarPublish', clusterJarPublish);
|
|
3554
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
|
|
3555
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3556
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3557
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3558
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
3559
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3560
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3561
|
+
let baseOptions;
|
|
3562
|
+
if (configuration) {
|
|
3563
|
+
baseOptions = configuration.baseOptions;
|
|
3564
|
+
}
|
|
3565
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3566
|
+
const localVarHeaderParameter = {};
|
|
3567
|
+
const localVarQueryParameter = {};
|
|
3568
|
+
// authentication BearerToken required
|
|
3569
|
+
// http bearer authentication required
|
|
3570
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3571
|
+
// authentication DigestAuth required
|
|
3572
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3573
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3574
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3575
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3576
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3577
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterJarPublish, localVarRequestOptions, configuration);
|
|
3578
|
+
return {
|
|
3579
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3580
|
+
options: localVarRequestOptions,
|
|
3581
|
+
};
|
|
3582
|
+
},
|
|
3173
3583
|
/**
|
|
3174
3584
|
*
|
|
3175
3585
|
* @summary Restore current cluster or instance
|
|
@@ -3251,6 +3661,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3251
3661
|
options: localVarRequestOptions,
|
|
3252
3662
|
};
|
|
3253
3663
|
},
|
|
3664
|
+
/**
|
|
3665
|
+
*
|
|
3666
|
+
* @summary Download the original JAR
|
|
3667
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
3668
|
+
* @param {string} orgName
|
|
3669
|
+
* @param {string} clusterName
|
|
3670
|
+
* @param {string} jarId
|
|
3671
|
+
* @param {*} [options] Override http request option.
|
|
3672
|
+
* @throws {RequiredError}
|
|
3673
|
+
*/
|
|
3674
|
+
downloadClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
3675
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3676
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'engineName', engineName);
|
|
3677
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3678
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'orgName', orgName);
|
|
3679
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3680
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'clusterName', clusterName);
|
|
3681
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
3682
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'jarId', jarId);
|
|
3683
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
|
|
3684
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3685
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3686
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3687
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
3688
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3689
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3690
|
+
let baseOptions;
|
|
3691
|
+
if (configuration) {
|
|
3692
|
+
baseOptions = configuration.baseOptions;
|
|
3693
|
+
}
|
|
3694
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3695
|
+
const localVarHeaderParameter = {};
|
|
3696
|
+
const localVarQueryParameter = {};
|
|
3697
|
+
// authentication BearerToken required
|
|
3698
|
+
// http bearer authentication required
|
|
3699
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3700
|
+
// authentication DigestAuth required
|
|
3701
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3702
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3703
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3704
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3705
|
+
return {
|
|
3706
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3707
|
+
options: localVarRequestOptions,
|
|
3708
|
+
};
|
|
3709
|
+
},
|
|
3254
3710
|
/**
|
|
3255
3711
|
*
|
|
3256
3712
|
* @summary Download multiple backup files
|
|
@@ -4284,6 +4740,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4284
4740
|
options: localVarRequestOptions,
|
|
4285
4741
|
};
|
|
4286
4742
|
},
|
|
4743
|
+
/**
|
|
4744
|
+
*
|
|
4745
|
+
* @summary Get external JAR capability and configuration
|
|
4746
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
4747
|
+
* @param {string} orgName
|
|
4748
|
+
* @param {string} clusterName
|
|
4749
|
+
* @param {*} [options] Override http request option.
|
|
4750
|
+
* @throws {RequiredError}
|
|
4751
|
+
*/
|
|
4752
|
+
getClusterJarConfig: async (engineName, orgName, clusterName, options = {}) => {
|
|
4753
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4754
|
+
(0, common_1.assertParamExists)('getClusterJarConfig', 'engineName', engineName);
|
|
4755
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4756
|
+
(0, common_1.assertParamExists)('getClusterJarConfig', 'orgName', orgName);
|
|
4757
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4758
|
+
(0, common_1.assertParamExists)('getClusterJarConfig', 'clusterName', clusterName);
|
|
4759
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
|
|
4760
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4761
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4762
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4763
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4764
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4765
|
+
let baseOptions;
|
|
4766
|
+
if (configuration) {
|
|
4767
|
+
baseOptions = configuration.baseOptions;
|
|
4768
|
+
}
|
|
4769
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4770
|
+
const localVarHeaderParameter = {};
|
|
4771
|
+
const localVarQueryParameter = {};
|
|
4772
|
+
// authentication BearerToken required
|
|
4773
|
+
// http bearer authentication required
|
|
4774
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4775
|
+
// authentication DigestAuth required
|
|
4776
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4777
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4778
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4779
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4780
|
+
return {
|
|
4781
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4782
|
+
options: localVarRequestOptions,
|
|
4783
|
+
};
|
|
4784
|
+
},
|
|
4287
4785
|
/**
|
|
4288
4786
|
*
|
|
4289
4787
|
* @summary Get cluster parameter template
|
|
@@ -5708,17 +6206,65 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
5708
6206
|
* @param {*} [options] Override http request option.
|
|
5709
6207
|
* @throws {RequiredError}
|
|
5710
6208
|
*/
|
|
5711
|
-
getRootAccountPassword: async (engineName, orgName, clusterName, accountName, component, options = {}) => {
|
|
5712
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
5713
|
-
(0, common_1.assertParamExists)('getRootAccountPassword', 'engineName', engineName);
|
|
6209
|
+
getRootAccountPassword: async (engineName, orgName, clusterName, accountName, component, options = {}) => {
|
|
6210
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
6211
|
+
(0, common_1.assertParamExists)('getRootAccountPassword', 'engineName', engineName);
|
|
6212
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6213
|
+
(0, common_1.assertParamExists)('getRootAccountPassword', 'orgName', orgName);
|
|
6214
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6215
|
+
(0, common_1.assertParamExists)('getRootAccountPassword', 'clusterName', clusterName);
|
|
6216
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
6217
|
+
(0, common_1.assertParamExists)('getRootAccountPassword', 'accountName', accountName);
|
|
6218
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
6219
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
6220
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6221
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
6222
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6223
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6224
|
+
let baseOptions;
|
|
6225
|
+
if (configuration) {
|
|
6226
|
+
baseOptions = configuration.baseOptions;
|
|
6227
|
+
}
|
|
6228
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6229
|
+
const localVarHeaderParameter = {};
|
|
6230
|
+
const localVarQueryParameter = {};
|
|
6231
|
+
// authentication BearerToken required
|
|
6232
|
+
// http bearer authentication required
|
|
6233
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6234
|
+
// authentication DigestAuth required
|
|
6235
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6236
|
+
if (accountName !== undefined) {
|
|
6237
|
+
localVarQueryParameter['accountName'] = accountName;
|
|
6238
|
+
}
|
|
6239
|
+
if (component !== undefined) {
|
|
6240
|
+
localVarQueryParameter['component'] = component;
|
|
6241
|
+
}
|
|
6242
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6243
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6244
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6245
|
+
return {
|
|
6246
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6247
|
+
options: localVarRequestOptions,
|
|
6248
|
+
};
|
|
6249
|
+
},
|
|
6250
|
+
/**
|
|
6251
|
+
* get root account password
|
|
6252
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
6253
|
+
* @param {string} orgName name of the Org
|
|
6254
|
+
* @param {string} clusterName name of the Cluster
|
|
6255
|
+
* @param {string} accountName name of the account
|
|
6256
|
+
* @param {string} [component] name of the component
|
|
6257
|
+
* @param {*} [options] Override http request option.
|
|
6258
|
+
* @throws {RequiredError}
|
|
6259
|
+
*/
|
|
6260
|
+
getRootSeaweedFSAccountPassword: async (orgName, clusterName, accountName, component, options = {}) => {
|
|
5714
6261
|
// verify required parameter 'orgName' is not null or undefined
|
|
5715
|
-
(0, common_1.assertParamExists)('
|
|
6262
|
+
(0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'orgName', orgName);
|
|
5716
6263
|
// verify required parameter 'clusterName' is not null or undefined
|
|
5717
|
-
(0, common_1.assertParamExists)('
|
|
6264
|
+
(0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'clusterName', clusterName);
|
|
5718
6265
|
// verify required parameter 'accountName' is not null or undefined
|
|
5719
|
-
(0, common_1.assertParamExists)('
|
|
5720
|
-
const localVarPath = `/admin/v1/data/
|
|
5721
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
6266
|
+
(0, common_1.assertParamExists)('getRootSeaweedFSAccountPassword', 'accountName', accountName);
|
|
6267
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
5722
6268
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5723
6269
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5724
6270
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7028,6 +7574,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
7028
7574
|
options: localVarRequestOptions,
|
|
7029
7575
|
};
|
|
7030
7576
|
},
|
|
7577
|
+
/**
|
|
7578
|
+
*
|
|
7579
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
7580
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
7581
|
+
* @param {string} orgName
|
|
7582
|
+
* @param {string} clusterName
|
|
7583
|
+
* @param {*} [options] Override http request option.
|
|
7584
|
+
* @throws {RequiredError}
|
|
7585
|
+
*/
|
|
7586
|
+
listClusterJars: async (engineName, orgName, clusterName, options = {}) => {
|
|
7587
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
7588
|
+
(0, common_1.assertParamExists)('listClusterJars', 'engineName', engineName);
|
|
7589
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7590
|
+
(0, common_1.assertParamExists)('listClusterJars', 'orgName', orgName);
|
|
7591
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7592
|
+
(0, common_1.assertParamExists)('listClusterJars', 'clusterName', clusterName);
|
|
7593
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
7594
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
7595
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7596
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7597
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7598
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7599
|
+
let baseOptions;
|
|
7600
|
+
if (configuration) {
|
|
7601
|
+
baseOptions = configuration.baseOptions;
|
|
7602
|
+
}
|
|
7603
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7604
|
+
const localVarHeaderParameter = {};
|
|
7605
|
+
const localVarQueryParameter = {};
|
|
7606
|
+
// authentication BearerToken required
|
|
7607
|
+
// http bearer authentication required
|
|
7608
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7609
|
+
// authentication DigestAuth required
|
|
7610
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7611
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7612
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7613
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7614
|
+
return {
|
|
7615
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7616
|
+
options: localVarRequestOptions,
|
|
7617
|
+
};
|
|
7618
|
+
},
|
|
7031
7619
|
/**
|
|
7032
7620
|
*
|
|
7033
7621
|
* @summary List restore tasks
|
|
@@ -9042,6 +9630,82 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9042
9630
|
options: localVarRequestOptions,
|
|
9043
9631
|
};
|
|
9044
9632
|
},
|
|
9633
|
+
/**
|
|
9634
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
9635
|
+
* @summary listSeaweedFSAccounts
|
|
9636
|
+
* @param {string} orgName name of the organization
|
|
9637
|
+
* @param {string} clusterName name of the cluster
|
|
9638
|
+
* @param {*} [options] Override http request option.
|
|
9639
|
+
* @throws {RequiredError}
|
|
9640
|
+
*/
|
|
9641
|
+
listSeaweedFSAccounts: async (orgName, clusterName, options = {}) => {
|
|
9642
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9643
|
+
(0, common_1.assertParamExists)('listSeaweedFSAccounts', 'orgName', orgName);
|
|
9644
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9645
|
+
(0, common_1.assertParamExists)('listSeaweedFSAccounts', 'clusterName', clusterName);
|
|
9646
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
9647
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9648
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9649
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9650
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9651
|
+
let baseOptions;
|
|
9652
|
+
if (configuration) {
|
|
9653
|
+
baseOptions = configuration.baseOptions;
|
|
9654
|
+
}
|
|
9655
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9656
|
+
const localVarHeaderParameter = {};
|
|
9657
|
+
const localVarQueryParameter = {};
|
|
9658
|
+
// authentication BearerToken required
|
|
9659
|
+
// http bearer authentication required
|
|
9660
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9661
|
+
// authentication DigestAuth required
|
|
9662
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9663
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9664
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9665
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9666
|
+
return {
|
|
9667
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9668
|
+
options: localVarRequestOptions,
|
|
9669
|
+
};
|
|
9670
|
+
},
|
|
9671
|
+
/**
|
|
9672
|
+
*
|
|
9673
|
+
* @summary listSeaweedFSPolicies
|
|
9674
|
+
* @param {string} orgName
|
|
9675
|
+
* @param {string} clusterName
|
|
9676
|
+
* @param {*} [options] Override http request option.
|
|
9677
|
+
* @throws {RequiredError}
|
|
9678
|
+
*/
|
|
9679
|
+
listSeaweedFSPolicies: async (orgName, clusterName, options = {}) => {
|
|
9680
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9681
|
+
(0, common_1.assertParamExists)('listSeaweedFSPolicies', 'orgName', orgName);
|
|
9682
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9683
|
+
(0, common_1.assertParamExists)('listSeaweedFSPolicies', 'clusterName', clusterName);
|
|
9684
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
|
|
9685
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9686
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9687
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9688
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9689
|
+
let baseOptions;
|
|
9690
|
+
if (configuration) {
|
|
9691
|
+
baseOptions = configuration.baseOptions;
|
|
9692
|
+
}
|
|
9693
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9694
|
+
const localVarHeaderParameter = {};
|
|
9695
|
+
const localVarQueryParameter = {};
|
|
9696
|
+
// authentication BearerToken required
|
|
9697
|
+
// http bearer authentication required
|
|
9698
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9699
|
+
// authentication DigestAuth required
|
|
9700
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9701
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9702
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9703
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9704
|
+
return {
|
|
9705
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9706
|
+
options: localVarRequestOptions,
|
|
9707
|
+
};
|
|
9708
|
+
},
|
|
9045
9709
|
/**
|
|
9046
9710
|
* list MinIO service account access keys
|
|
9047
9711
|
* @summary List MinIO access keys
|
|
@@ -9948,6 +10612,53 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9948
10612
|
options: localVarRequestOptions,
|
|
9949
10613
|
};
|
|
9950
10614
|
},
|
|
10615
|
+
/**
|
|
10616
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
10617
|
+
* @summary putSeaweedFSPolicy
|
|
10618
|
+
* @param {string} orgName
|
|
10619
|
+
* @param {string} clusterName
|
|
10620
|
+
* @param {string} policyName
|
|
10621
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
10622
|
+
* @param {*} [options] Override http request option.
|
|
10623
|
+
* @throws {RequiredError}
|
|
10624
|
+
*/
|
|
10625
|
+
putSeaweedFSPolicy: async (orgName, clusterName, policyName, requestBody, options = {}) => {
|
|
10626
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10627
|
+
(0, common_1.assertParamExists)('putSeaweedFSPolicy', 'orgName', orgName);
|
|
10628
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10629
|
+
(0, common_1.assertParamExists)('putSeaweedFSPolicy', 'clusterName', clusterName);
|
|
10630
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
10631
|
+
(0, common_1.assertParamExists)('putSeaweedFSPolicy', 'policyName', policyName);
|
|
10632
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
10633
|
+
(0, common_1.assertParamExists)('putSeaweedFSPolicy', 'requestBody', requestBody);
|
|
10634
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
10635
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10636
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10637
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
10638
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10639
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10640
|
+
let baseOptions;
|
|
10641
|
+
if (configuration) {
|
|
10642
|
+
baseOptions = configuration.baseOptions;
|
|
10643
|
+
}
|
|
10644
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
10645
|
+
const localVarHeaderParameter = {};
|
|
10646
|
+
const localVarQueryParameter = {};
|
|
10647
|
+
// authentication BearerToken required
|
|
10648
|
+
// http bearer authentication required
|
|
10649
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10650
|
+
// authentication DigestAuth required
|
|
10651
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10652
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10653
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10654
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10655
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10656
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
10657
|
+
return {
|
|
10658
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10659
|
+
options: localVarRequestOptions,
|
|
10660
|
+
};
|
|
10661
|
+
},
|
|
9951
10662
|
/**
|
|
9952
10663
|
*
|
|
9953
10664
|
* @summary create a SQL query
|
|
@@ -11638,6 +12349,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
11638
12349
|
options: localVarRequestOptions,
|
|
11639
12350
|
};
|
|
11640
12351
|
},
|
|
12352
|
+
/**
|
|
12353
|
+
*
|
|
12354
|
+
* @summary Retry synchronization of published JARs
|
|
12355
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
12356
|
+
* @param {string} orgName
|
|
12357
|
+
* @param {string} clusterName
|
|
12358
|
+
* @param {string} jarId
|
|
12359
|
+
* @param {*} [options] Override http request option.
|
|
12360
|
+
* @throws {RequiredError}
|
|
12361
|
+
*/
|
|
12362
|
+
retryClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
12363
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
12364
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'engineName', engineName);
|
|
12365
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12366
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'orgName', orgName);
|
|
12367
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12368
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'clusterName', clusterName);
|
|
12369
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
12370
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'jarId', jarId);
|
|
12371
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
|
|
12372
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
12373
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12374
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12375
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
12376
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12377
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12378
|
+
let baseOptions;
|
|
12379
|
+
if (configuration) {
|
|
12380
|
+
baseOptions = configuration.baseOptions;
|
|
12381
|
+
}
|
|
12382
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
12383
|
+
const localVarHeaderParameter = {};
|
|
12384
|
+
const localVarQueryParameter = {};
|
|
12385
|
+
// authentication BearerToken required
|
|
12386
|
+
// http bearer authentication required
|
|
12387
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12388
|
+
// authentication DigestAuth required
|
|
12389
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12390
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12392
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12393
|
+
return {
|
|
12394
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12395
|
+
options: localVarRequestOptions,
|
|
12396
|
+
};
|
|
12397
|
+
},
|
|
11641
12398
|
/**
|
|
11642
12399
|
*
|
|
11643
12400
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -13359,7 +14116,101 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
13359
14116
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13360
14117
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13361
14118
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13362
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(roleUpdate, localVarRequestOptions, configuration);
|
|
14119
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(roleUpdate, localVarRequestOptions, configuration);
|
|
14120
|
+
return {
|
|
14121
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14122
|
+
options: localVarRequestOptions,
|
|
14123
|
+
};
|
|
14124
|
+
},
|
|
14125
|
+
/**
|
|
14126
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
14127
|
+
* @summary updateSeaweedFSAccount
|
|
14128
|
+
* @param {string} orgName name of the organization
|
|
14129
|
+
* @param {string} clusterName name of the cluster
|
|
14130
|
+
* @param {string} accountName name of the account
|
|
14131
|
+
* @param {Account} body
|
|
14132
|
+
* @param {*} [options] Override http request option.
|
|
14133
|
+
* @throws {RequiredError}
|
|
14134
|
+
*/
|
|
14135
|
+
updateSeaweedFSAccount: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
14136
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14137
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccount', 'orgName', orgName);
|
|
14138
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14139
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccount', 'clusterName', clusterName);
|
|
14140
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
14141
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccount', 'accountName', accountName);
|
|
14142
|
+
// verify required parameter 'body' is not null or undefined
|
|
14143
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccount', 'body', body);
|
|
14144
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
14145
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14146
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
14147
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
14148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14149
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14150
|
+
let baseOptions;
|
|
14151
|
+
if (configuration) {
|
|
14152
|
+
baseOptions = configuration.baseOptions;
|
|
14153
|
+
}
|
|
14154
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
14155
|
+
const localVarHeaderParameter = {};
|
|
14156
|
+
const localVarQueryParameter = {};
|
|
14157
|
+
// authentication BearerToken required
|
|
14158
|
+
// http bearer authentication required
|
|
14159
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14160
|
+
// authentication DigestAuth required
|
|
14161
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14162
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14163
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14164
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14165
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14166
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
14167
|
+
return {
|
|
14168
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14169
|
+
options: localVarRequestOptions,
|
|
14170
|
+
};
|
|
14171
|
+
},
|
|
14172
|
+
/**
|
|
14173
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
14174
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
14175
|
+
* @param {string} orgName name of the Org
|
|
14176
|
+
* @param {string} clusterName name of the Cluster
|
|
14177
|
+
* @param {string} accountName name of the account
|
|
14178
|
+
* @param {Array<PrivilegeListItem>} body
|
|
14179
|
+
* @param {*} [options] Override http request option.
|
|
14180
|
+
* @throws {RequiredError}
|
|
14181
|
+
*/
|
|
14182
|
+
updateSeaweedFSAccountPrivileges: async (orgName, clusterName, accountName, body, options = {}) => {
|
|
14183
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14184
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'orgName', orgName);
|
|
14185
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14186
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName);
|
|
14187
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
14188
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'accountName', accountName);
|
|
14189
|
+
// verify required parameter 'body' is not null or undefined
|
|
14190
|
+
(0, common_1.assertParamExists)('updateSeaweedFSAccountPrivileges', 'body', body);
|
|
14191
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
|
|
14192
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14193
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
14194
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
14195
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14196
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14197
|
+
let baseOptions;
|
|
14198
|
+
if (configuration) {
|
|
14199
|
+
baseOptions = configuration.baseOptions;
|
|
14200
|
+
}
|
|
14201
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
14202
|
+
const localVarHeaderParameter = {};
|
|
14203
|
+
const localVarQueryParameter = {};
|
|
14204
|
+
// authentication BearerToken required
|
|
14205
|
+
// http bearer authentication required
|
|
14206
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14207
|
+
// authentication DigestAuth required
|
|
14208
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14209
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14210
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14211
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14212
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14213
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
13363
14214
|
return {
|
|
13364
14215
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13365
14216
|
options: localVarRequestOptions,
|
|
@@ -13587,6 +14438,75 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
13587
14438
|
options: localVarRequestOptions,
|
|
13588
14439
|
};
|
|
13589
14440
|
},
|
|
14441
|
+
/**
|
|
14442
|
+
*
|
|
14443
|
+
* @summary Upload an immutable JAR version
|
|
14444
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
14445
|
+
* @param {string} orgName
|
|
14446
|
+
* @param {string} clusterName
|
|
14447
|
+
* @param {string} idempotencyKey
|
|
14448
|
+
* @param {string} name
|
|
14449
|
+
* @param {ClusterJarKind} kind
|
|
14450
|
+
* @param {File} file
|
|
14451
|
+
* @param {*} [options] Override http request option.
|
|
14452
|
+
* @throws {RequiredError}
|
|
14453
|
+
*/
|
|
14454
|
+
uploadClusterJar: async (engineName, orgName, clusterName, idempotencyKey, name, kind, file, options = {}) => {
|
|
14455
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
14456
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'engineName', engineName);
|
|
14457
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14458
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'orgName', orgName);
|
|
14459
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14460
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'clusterName', clusterName);
|
|
14461
|
+
// verify required parameter 'idempotencyKey' is not null or undefined
|
|
14462
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'idempotencyKey', idempotencyKey);
|
|
14463
|
+
// verify required parameter 'name' is not null or undefined
|
|
14464
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'name', name);
|
|
14465
|
+
// verify required parameter 'kind' is not null or undefined
|
|
14466
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'kind', kind);
|
|
14467
|
+
// verify required parameter 'file' is not null or undefined
|
|
14468
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'file', file);
|
|
14469
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
14470
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
14471
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14472
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
14473
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14474
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14475
|
+
let baseOptions;
|
|
14476
|
+
if (configuration) {
|
|
14477
|
+
baseOptions = configuration.baseOptions;
|
|
14478
|
+
}
|
|
14479
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
14480
|
+
const localVarHeaderParameter = {};
|
|
14481
|
+
const localVarQueryParameter = {};
|
|
14482
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
14483
|
+
// authentication BearerToken required
|
|
14484
|
+
// http bearer authentication required
|
|
14485
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14486
|
+
// authentication DigestAuth required
|
|
14487
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14488
|
+
if (name !== undefined) {
|
|
14489
|
+
localVarFormParams.append('name', name);
|
|
14490
|
+
}
|
|
14491
|
+
if (kind !== undefined) {
|
|
14492
|
+
localVarFormParams.append('kind', kind);
|
|
14493
|
+
}
|
|
14494
|
+
if (file !== undefined) {
|
|
14495
|
+
localVarFormParams.append('file', file);
|
|
14496
|
+
}
|
|
14497
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
14498
|
+
if (idempotencyKey != null) {
|
|
14499
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
14500
|
+
}
|
|
14501
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14502
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14503
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14504
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
14505
|
+
return {
|
|
14506
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14507
|
+
options: localVarRequestOptions,
|
|
14508
|
+
};
|
|
14509
|
+
},
|
|
13590
14510
|
/**
|
|
13591
14511
|
*
|
|
13592
14512
|
* @summary Validate cluster creation
|
|
@@ -13850,6 +14770,23 @@ const SharedApiFp = function (configuration) {
|
|
|
13850
14770
|
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;
|
|
13851
14771
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13852
14772
|
},
|
|
14773
|
+
/**
|
|
14774
|
+
*
|
|
14775
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
14776
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
14777
|
+
* @param {string} orgName
|
|
14778
|
+
* @param {string} clusterName
|
|
14779
|
+
* @param {string} jarId
|
|
14780
|
+
* @param {*} [options] Override http request option.
|
|
14781
|
+
* @throws {RequiredError}
|
|
14782
|
+
*/
|
|
14783
|
+
async archiveClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
14784
|
+
var _a, _b, _c;
|
|
14785
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
14786
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14787
|
+
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;
|
|
14788
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14789
|
+
},
|
|
13853
14790
|
/**
|
|
13854
14791
|
* list the service version of the engine
|
|
13855
14792
|
* @summary list the service version of the engine
|
|
@@ -13927,6 +14864,23 @@ const SharedApiFp = function (configuration) {
|
|
|
13927
14864
|
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;
|
|
13928
14865
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13929
14866
|
},
|
|
14867
|
+
/**
|
|
14868
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
14869
|
+
* @summary bindSeaweedFSPolicies
|
|
14870
|
+
* @param {string} orgName
|
|
14871
|
+
* @param {string} clusterName
|
|
14872
|
+
* @param {string} accountName
|
|
14873
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
14874
|
+
* @param {*} [options] Override http request option.
|
|
14875
|
+
* @throws {RequiredError}
|
|
14876
|
+
*/
|
|
14877
|
+
async bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options) {
|
|
14878
|
+
var _a, _b, _c;
|
|
14879
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
|
|
14880
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14881
|
+
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;
|
|
14882
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14883
|
+
},
|
|
13930
14884
|
/**
|
|
13931
14885
|
*
|
|
13932
14886
|
* @summary build backup object with a existing backup directory
|
|
@@ -14315,6 +15269,39 @@ const SharedApiFp = function (configuration) {
|
|
|
14315
15269
|
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;
|
|
14316
15270
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14317
15271
|
},
|
|
15272
|
+
/**
|
|
15273
|
+
* 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.
|
|
15274
|
+
* @summary createSeaweedFSAccessKey
|
|
15275
|
+
* @param {string} orgName
|
|
15276
|
+
* @param {string} clusterName
|
|
15277
|
+
* @param {string} accountName
|
|
15278
|
+
* @param {Account} account
|
|
15279
|
+
* @param {*} [options] Override http request option.
|
|
15280
|
+
* @throws {RequiredError}
|
|
15281
|
+
*/
|
|
15282
|
+
async createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options) {
|
|
15283
|
+
var _a, _b, _c;
|
|
15284
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
|
|
15285
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15286
|
+
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;
|
|
15287
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15288
|
+
},
|
|
15289
|
+
/**
|
|
15290
|
+
* 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.
|
|
15291
|
+
* @summary createSeaweedFSAccount
|
|
15292
|
+
* @param {string} orgName name of the organization
|
|
15293
|
+
* @param {string} clusterName name of the cluster
|
|
15294
|
+
* @param {Account} body
|
|
15295
|
+
* @param {*} [options] Override http request option.
|
|
15296
|
+
* @throws {RequiredError}
|
|
15297
|
+
*/
|
|
15298
|
+
async createSeaweedFSAccount(orgName, clusterName, body, options) {
|
|
15299
|
+
var _a, _b, _c;
|
|
15300
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
|
|
15301
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15302
|
+
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;
|
|
15303
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15304
|
+
},
|
|
14318
15305
|
/**
|
|
14319
15306
|
* create a MinIO service account access key
|
|
14320
15307
|
* @summary Create MinIO access key
|
|
@@ -14521,6 +15508,23 @@ const SharedApiFp = function (configuration) {
|
|
|
14521
15508
|
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;
|
|
14522
15509
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14523
15510
|
},
|
|
15511
|
+
/**
|
|
15512
|
+
*
|
|
15513
|
+
* @summary Delete an unpublished JAR version
|
|
15514
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15515
|
+
* @param {string} orgName
|
|
15516
|
+
* @param {string} clusterName
|
|
15517
|
+
* @param {string} jarId
|
|
15518
|
+
* @param {*} [options] Override http request option.
|
|
15519
|
+
* @throws {RequiredError}
|
|
15520
|
+
*/
|
|
15521
|
+
async deleteClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
15522
|
+
var _a, _b, _c;
|
|
15523
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
15524
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15525
|
+
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;
|
|
15526
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15527
|
+
},
|
|
14524
15528
|
/**
|
|
14525
15529
|
*
|
|
14526
15530
|
* @summary delete the datasource
|
|
@@ -14871,6 +15875,55 @@ const SharedApiFp = function (configuration) {
|
|
|
14871
15875
|
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;
|
|
14872
15876
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14873
15877
|
},
|
|
15878
|
+
/**
|
|
15879
|
+
*
|
|
15880
|
+
* @summary deleteSeaweedFSAccessKey
|
|
15881
|
+
* @param {string} orgName
|
|
15882
|
+
* @param {string} clusterName
|
|
15883
|
+
* @param {string} accountName
|
|
15884
|
+
* @param {string} accessKey
|
|
15885
|
+
* @param {*} [options] Override http request option.
|
|
15886
|
+
* @throws {RequiredError}
|
|
15887
|
+
*/
|
|
15888
|
+
async deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options) {
|
|
15889
|
+
var _a, _b, _c;
|
|
15890
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
|
|
15891
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15892
|
+
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;
|
|
15893
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15894
|
+
},
|
|
15895
|
+
/**
|
|
15896
|
+
* delete an account in cluster
|
|
15897
|
+
* @summary deleteSeaweedFSAccount
|
|
15898
|
+
* @param {string} orgName name of the organization
|
|
15899
|
+
* @param {string} clusterName name of the cluster
|
|
15900
|
+
* @param {string} accountName name of the account
|
|
15901
|
+
* @param {*} [options] Override http request option.
|
|
15902
|
+
* @throws {RequiredError}
|
|
15903
|
+
*/
|
|
15904
|
+
async deleteSeaweedFSAccount(orgName, clusterName, accountName, options) {
|
|
15905
|
+
var _a, _b, _c;
|
|
15906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
|
|
15907
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15908
|
+
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;
|
|
15909
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15910
|
+
},
|
|
15911
|
+
/**
|
|
15912
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
15913
|
+
* @summary deleteSeaweedFSPolicy
|
|
15914
|
+
* @param {string} orgName
|
|
15915
|
+
* @param {string} clusterName
|
|
15916
|
+
* @param {string} policyName
|
|
15917
|
+
* @param {*} [options] Override http request option.
|
|
15918
|
+
* @throws {RequiredError}
|
|
15919
|
+
*/
|
|
15920
|
+
async deleteSeaweedFSPolicy(orgName, clusterName, policyName, options) {
|
|
15921
|
+
var _a, _b, _c;
|
|
15922
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
|
|
15923
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15924
|
+
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;
|
|
15925
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15926
|
+
},
|
|
14874
15927
|
/**
|
|
14875
15928
|
* delete a MinIO service account access key
|
|
14876
15929
|
* @summary Delete MinIO access key
|
|
@@ -14937,6 +15990,24 @@ const SharedApiFp = function (configuration) {
|
|
|
14937
15990
|
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;
|
|
14938
15991
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14939
15992
|
},
|
|
15993
|
+
/**
|
|
15994
|
+
*
|
|
15995
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
15996
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15997
|
+
* @param {string} orgName
|
|
15998
|
+
* @param {string} clusterName
|
|
15999
|
+
* @param {string} jarId
|
|
16000
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
16001
|
+
* @param {*} [options] Override http request option.
|
|
16002
|
+
* @throws {RequiredError}
|
|
16003
|
+
*/
|
|
16004
|
+
async distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options) {
|
|
16005
|
+
var _a, _b, _c;
|
|
16006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
|
|
16007
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16008
|
+
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;
|
|
16009
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16010
|
+
},
|
|
14940
16011
|
/**
|
|
14941
16012
|
*
|
|
14942
16013
|
* @summary Restore current cluster or instance
|
|
@@ -14968,6 +16039,23 @@ const SharedApiFp = function (configuration) {
|
|
|
14968
16039
|
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;
|
|
14969
16040
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14970
16041
|
},
|
|
16042
|
+
/**
|
|
16043
|
+
*
|
|
16044
|
+
* @summary Download the original JAR
|
|
16045
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16046
|
+
* @param {string} orgName
|
|
16047
|
+
* @param {string} clusterName
|
|
16048
|
+
* @param {string} jarId
|
|
16049
|
+
* @param {*} [options] Override http request option.
|
|
16050
|
+
* @throws {RequiredError}
|
|
16051
|
+
*/
|
|
16052
|
+
async downloadClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
16053
|
+
var _a, _b, _c;
|
|
16054
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
16055
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16056
|
+
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;
|
|
16057
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16058
|
+
},
|
|
14971
16059
|
/**
|
|
14972
16060
|
*
|
|
14973
16061
|
* @summary Download multiple backup files
|
|
@@ -15339,6 +16427,22 @@ const SharedApiFp = function (configuration) {
|
|
|
15339
16427
|
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;
|
|
15340
16428
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15341
16429
|
},
|
|
16430
|
+
/**
|
|
16431
|
+
*
|
|
16432
|
+
* @summary Get external JAR capability and configuration
|
|
16433
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16434
|
+
* @param {string} orgName
|
|
16435
|
+
* @param {string} clusterName
|
|
16436
|
+
* @param {*} [options] Override http request option.
|
|
16437
|
+
* @throws {RequiredError}
|
|
16438
|
+
*/
|
|
16439
|
+
async getClusterJarConfig(engineName, orgName, clusterName, options) {
|
|
16440
|
+
var _a, _b, _c;
|
|
16441
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
|
|
16442
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16443
|
+
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;
|
|
16444
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16445
|
+
},
|
|
15342
16446
|
/**
|
|
15343
16447
|
*
|
|
15344
16448
|
* @summary Get cluster parameter template
|
|
@@ -15889,6 +16993,23 @@ const SharedApiFp = function (configuration) {
|
|
|
15889
16993
|
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;
|
|
15890
16994
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15891
16995
|
},
|
|
16996
|
+
/**
|
|
16997
|
+
* get root account password
|
|
16998
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
16999
|
+
* @param {string} orgName name of the Org
|
|
17000
|
+
* @param {string} clusterName name of the Cluster
|
|
17001
|
+
* @param {string} accountName name of the account
|
|
17002
|
+
* @param {string} [component] name of the component
|
|
17003
|
+
* @param {*} [options] Override http request option.
|
|
17004
|
+
* @throws {RequiredError}
|
|
17005
|
+
*/
|
|
17006
|
+
async getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options) {
|
|
17007
|
+
var _a, _b, _c;
|
|
17008
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
|
|
17009
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17010
|
+
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;
|
|
17011
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17012
|
+
},
|
|
15892
17013
|
/**
|
|
15893
17014
|
*
|
|
15894
17015
|
* @summary list all databases or schema of the cluster
|
|
@@ -16346,6 +17467,22 @@ const SharedApiFp = function (configuration) {
|
|
|
16346
17467
|
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;
|
|
16347
17468
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16348
17469
|
},
|
|
17470
|
+
/**
|
|
17471
|
+
*
|
|
17472
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
17473
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
17474
|
+
* @param {string} orgName
|
|
17475
|
+
* @param {string} clusterName
|
|
17476
|
+
* @param {*} [options] Override http request option.
|
|
17477
|
+
* @throws {RequiredError}
|
|
17478
|
+
*/
|
|
17479
|
+
async listClusterJars(engineName, orgName, clusterName, options) {
|
|
17480
|
+
var _a, _b, _c;
|
|
17481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
|
|
17482
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17483
|
+
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;
|
|
17484
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17485
|
+
},
|
|
16349
17486
|
/**
|
|
16350
17487
|
*
|
|
16351
17488
|
* @summary List restore tasks
|
|
@@ -17116,6 +18253,36 @@ const SharedApiFp = function (configuration) {
|
|
|
17116
18253
|
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;
|
|
17117
18254
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17118
18255
|
},
|
|
18256
|
+
/**
|
|
18257
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
18258
|
+
* @summary listSeaweedFSAccounts
|
|
18259
|
+
* @param {string} orgName name of the organization
|
|
18260
|
+
* @param {string} clusterName name of the cluster
|
|
18261
|
+
* @param {*} [options] Override http request option.
|
|
18262
|
+
* @throws {RequiredError}
|
|
18263
|
+
*/
|
|
18264
|
+
async listSeaweedFSAccounts(orgName, clusterName, options) {
|
|
18265
|
+
var _a, _b, _c;
|
|
18266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
|
|
18267
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18268
|
+
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;
|
|
18269
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18270
|
+
},
|
|
18271
|
+
/**
|
|
18272
|
+
*
|
|
18273
|
+
* @summary listSeaweedFSPolicies
|
|
18274
|
+
* @param {string} orgName
|
|
18275
|
+
* @param {string} clusterName
|
|
18276
|
+
* @param {*} [options] Override http request option.
|
|
18277
|
+
* @throws {RequiredError}
|
|
18278
|
+
*/
|
|
18279
|
+
async listSeaweedFSPolicies(orgName, clusterName, options) {
|
|
18280
|
+
var _a, _b, _c;
|
|
18281
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
|
|
18282
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18283
|
+
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;
|
|
18284
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18285
|
+
},
|
|
17119
18286
|
/**
|
|
17120
18287
|
* list MinIO service account access keys
|
|
17121
18288
|
* @summary List MinIO access keys
|
|
@@ -17455,6 +18622,23 @@ const SharedApiFp = function (configuration) {
|
|
|
17455
18622
|
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;
|
|
17456
18623
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17457
18624
|
},
|
|
18625
|
+
/**
|
|
18626
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
18627
|
+
* @summary putSeaweedFSPolicy
|
|
18628
|
+
* @param {string} orgName
|
|
18629
|
+
* @param {string} clusterName
|
|
18630
|
+
* @param {string} policyName
|
|
18631
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
18632
|
+
* @param {*} [options] Override http request option.
|
|
18633
|
+
* @throws {RequiredError}
|
|
18634
|
+
*/
|
|
18635
|
+
async putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options) {
|
|
18636
|
+
var _a, _b, _c;
|
|
18637
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
|
|
18638
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18639
|
+
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;
|
|
18640
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18641
|
+
},
|
|
17458
18642
|
/**
|
|
17459
18643
|
*
|
|
17460
18644
|
* @summary create a SQL query
|
|
@@ -18003,6 +19187,23 @@ const SharedApiFp = function (configuration) {
|
|
|
18003
19187
|
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;
|
|
18004
19188
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18005
19189
|
},
|
|
19190
|
+
/**
|
|
19191
|
+
*
|
|
19192
|
+
* @summary Retry synchronization of published JARs
|
|
19193
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
19194
|
+
* @param {string} orgName
|
|
19195
|
+
* @param {string} clusterName
|
|
19196
|
+
* @param {string} jarId
|
|
19197
|
+
* @param {*} [options] Override http request option.
|
|
19198
|
+
* @throws {RequiredError}
|
|
19199
|
+
*/
|
|
19200
|
+
async retryClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
19201
|
+
var _a, _b, _c;
|
|
19202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
19203
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19204
|
+
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;
|
|
19205
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19206
|
+
},
|
|
18006
19207
|
/**
|
|
18007
19208
|
*
|
|
18008
19209
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -18635,7 +19836,41 @@ const SharedApiFp = function (configuration) {
|
|
|
18635
19836
|
var _a, _b, _c;
|
|
18636
19837
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRoleByName(orgName, roleName, roleUpdate, options);
|
|
18637
19838
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18638
|
-
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;
|
|
19839
|
+
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;
|
|
19840
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19841
|
+
},
|
|
19842
|
+
/**
|
|
19843
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
19844
|
+
* @summary updateSeaweedFSAccount
|
|
19845
|
+
* @param {string} orgName name of the organization
|
|
19846
|
+
* @param {string} clusterName name of the cluster
|
|
19847
|
+
* @param {string} accountName name of the account
|
|
19848
|
+
* @param {Account} body
|
|
19849
|
+
* @param {*} [options] Override http request option.
|
|
19850
|
+
* @throws {RequiredError}
|
|
19851
|
+
*/
|
|
19852
|
+
async updateSeaweedFSAccount(orgName, clusterName, accountName, body, options) {
|
|
19853
|
+
var _a, _b, _c;
|
|
19854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
|
|
19855
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19856
|
+
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;
|
|
19857
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19858
|
+
},
|
|
19859
|
+
/**
|
|
19860
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
19861
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
19862
|
+
* @param {string} orgName name of the Org
|
|
19863
|
+
* @param {string} clusterName name of the Cluster
|
|
19864
|
+
* @param {string} accountName name of the account
|
|
19865
|
+
* @param {Array<PrivilegeListItem>} body
|
|
19866
|
+
* @param {*} [options] Override http request option.
|
|
19867
|
+
* @throws {RequiredError}
|
|
19868
|
+
*/
|
|
19869
|
+
async updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options) {
|
|
19870
|
+
var _a, _b, _c;
|
|
19871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
|
|
19872
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19873
|
+
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;
|
|
18639
19874
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18640
19875
|
},
|
|
18641
19876
|
/**
|
|
@@ -18719,6 +19954,26 @@ const SharedApiFp = function (configuration) {
|
|
|
18719
19954
|
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;
|
|
18720
19955
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18721
19956
|
},
|
|
19957
|
+
/**
|
|
19958
|
+
*
|
|
19959
|
+
* @summary Upload an immutable JAR version
|
|
19960
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
19961
|
+
* @param {string} orgName
|
|
19962
|
+
* @param {string} clusterName
|
|
19963
|
+
* @param {string} idempotencyKey
|
|
19964
|
+
* @param {string} name
|
|
19965
|
+
* @param {ClusterJarKind} kind
|
|
19966
|
+
* @param {File} file
|
|
19967
|
+
* @param {*} [options] Override http request option.
|
|
19968
|
+
* @throws {RequiredError}
|
|
19969
|
+
*/
|
|
19970
|
+
async uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options) {
|
|
19971
|
+
var _a, _b, _c;
|
|
19972
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
|
|
19973
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19974
|
+
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;
|
|
19975
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19976
|
+
},
|
|
18722
19977
|
/**
|
|
18723
19978
|
*
|
|
18724
19979
|
* @summary Validate cluster creation
|
|
@@ -18832,6 +20087,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18832
20087
|
alterParameter(requestParameters, options) {
|
|
18833
20088
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
18834
20089
|
},
|
|
20090
|
+
/**
|
|
20091
|
+
*
|
|
20092
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
20093
|
+
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
20094
|
+
* @param {*} [options] Override http request option.
|
|
20095
|
+
* @throws {RequiredError}
|
|
20096
|
+
*/
|
|
20097
|
+
archiveClusterJar(requestParameters, options) {
|
|
20098
|
+
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20099
|
+
},
|
|
18835
20100
|
/**
|
|
18836
20101
|
* list the service version of the engine
|
|
18837
20102
|
* @summary list the service version of the engine
|
|
@@ -18882,6 +20147,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
18882
20147
|
batchUpdateOrgParameters(requestParameters, options) {
|
|
18883
20148
|
return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
18884
20149
|
},
|
|
20150
|
+
/**
|
|
20151
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
20152
|
+
* @summary bindSeaweedFSPolicies
|
|
20153
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
20154
|
+
* @param {*} [options] Override http request option.
|
|
20155
|
+
* @throws {RequiredError}
|
|
20156
|
+
*/
|
|
20157
|
+
bindSeaweedFSPolicies(requestParameters, options) {
|
|
20158
|
+
return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
|
|
20159
|
+
},
|
|
18885
20160
|
/**
|
|
18886
20161
|
*
|
|
18887
20162
|
* @summary build backup object with a existing backup directory
|
|
@@ -19123,6 +20398,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19123
20398
|
createRole(requestParameters, options) {
|
|
19124
20399
|
return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
|
|
19125
20400
|
},
|
|
20401
|
+
/**
|
|
20402
|
+
* 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.
|
|
20403
|
+
* @summary createSeaweedFSAccessKey
|
|
20404
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
20405
|
+
* @param {*} [options] Override http request option.
|
|
20406
|
+
* @throws {RequiredError}
|
|
20407
|
+
*/
|
|
20408
|
+
createSeaweedFSAccessKey(requestParameters, options) {
|
|
20409
|
+
return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
|
|
20410
|
+
},
|
|
20411
|
+
/**
|
|
20412
|
+
* 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.
|
|
20413
|
+
* @summary createSeaweedFSAccount
|
|
20414
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
20415
|
+
* @param {*} [options] Override http request option.
|
|
20416
|
+
* @throws {RequiredError}
|
|
20417
|
+
*/
|
|
20418
|
+
createSeaweedFSAccount(requestParameters, options) {
|
|
20419
|
+
return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20420
|
+
},
|
|
19126
20421
|
/**
|
|
19127
20422
|
* create a MinIO service account access key
|
|
19128
20423
|
* @summary Create MinIO access key
|
|
@@ -19253,6 +20548,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19253
20548
|
deleteCluster(requestParameters, options) {
|
|
19254
20549
|
return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
|
|
19255
20550
|
},
|
|
20551
|
+
/**
|
|
20552
|
+
*
|
|
20553
|
+
* @summary Delete an unpublished JAR version
|
|
20554
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
20555
|
+
* @param {*} [options] Override http request option.
|
|
20556
|
+
* @throws {RequiredError}
|
|
20557
|
+
*/
|
|
20558
|
+
deleteClusterJar(requestParameters, options) {
|
|
20559
|
+
return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20560
|
+
},
|
|
19256
20561
|
/**
|
|
19257
20562
|
*
|
|
19258
20563
|
* @summary delete the datasource
|
|
@@ -19473,6 +20778,36 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19473
20778
|
deleteRoleByName(requestParameters, options) {
|
|
19474
20779
|
return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
19475
20780
|
},
|
|
20781
|
+
/**
|
|
20782
|
+
*
|
|
20783
|
+
* @summary deleteSeaweedFSAccessKey
|
|
20784
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
20785
|
+
* @param {*} [options] Override http request option.
|
|
20786
|
+
* @throws {RequiredError}
|
|
20787
|
+
*/
|
|
20788
|
+
deleteSeaweedFSAccessKey(requestParameters, options) {
|
|
20789
|
+
return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
20790
|
+
},
|
|
20791
|
+
/**
|
|
20792
|
+
* delete an account in cluster
|
|
20793
|
+
* @summary deleteSeaweedFSAccount
|
|
20794
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
20795
|
+
* @param {*} [options] Override http request option.
|
|
20796
|
+
* @throws {RequiredError}
|
|
20797
|
+
*/
|
|
20798
|
+
deleteSeaweedFSAccount(requestParameters, options) {
|
|
20799
|
+
return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
20800
|
+
},
|
|
20801
|
+
/**
|
|
20802
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
20803
|
+
* @summary deleteSeaweedFSPolicy
|
|
20804
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
20805
|
+
* @param {*} [options] Override http request option.
|
|
20806
|
+
* @throws {RequiredError}
|
|
20807
|
+
*/
|
|
20808
|
+
deleteSeaweedFSPolicy(requestParameters, options) {
|
|
20809
|
+
return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
|
|
20810
|
+
},
|
|
19476
20811
|
/**
|
|
19477
20812
|
* delete a MinIO service account access key
|
|
19478
20813
|
* @summary Delete MinIO access key
|
|
@@ -19513,6 +20848,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19513
20848
|
disableConsole(requestParameters, options) {
|
|
19514
20849
|
return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
19515
20850
|
},
|
|
20851
|
+
/**
|
|
20852
|
+
*
|
|
20853
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
20854
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
20855
|
+
* @param {*} [options] Override http request option.
|
|
20856
|
+
* @throws {RequiredError}
|
|
20857
|
+
*/
|
|
20858
|
+
distributeClusterJar(requestParameters, options) {
|
|
20859
|
+
return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
|
|
20860
|
+
},
|
|
19516
20861
|
/**
|
|
19517
20862
|
*
|
|
19518
20863
|
* @summary Restore current cluster or instance
|
|
@@ -19533,6 +20878,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19533
20878
|
downloadBackup(requestParameters, options) {
|
|
19534
20879
|
return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
|
|
19535
20880
|
},
|
|
20881
|
+
/**
|
|
20882
|
+
*
|
|
20883
|
+
* @summary Download the original JAR
|
|
20884
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
20885
|
+
* @param {*} [options] Override http request option.
|
|
20886
|
+
* @throws {RequiredError}
|
|
20887
|
+
*/
|
|
20888
|
+
downloadClusterJar(requestParameters, options) {
|
|
20889
|
+
return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20890
|
+
},
|
|
19536
20891
|
/**
|
|
19537
20892
|
*
|
|
19538
20893
|
* @summary Download multiple backup files
|
|
@@ -19743,6 +21098,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19743
21098
|
getClusterInstanceLog(requestParameters, options) {
|
|
19744
21099
|
return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
|
|
19745
21100
|
},
|
|
21101
|
+
/**
|
|
21102
|
+
*
|
|
21103
|
+
* @summary Get external JAR capability and configuration
|
|
21104
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
21105
|
+
* @param {*} [options] Override http request option.
|
|
21106
|
+
* @throws {RequiredError}
|
|
21107
|
+
*/
|
|
21108
|
+
getClusterJarConfig(requestParameters, options) {
|
|
21109
|
+
return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21110
|
+
},
|
|
19746
21111
|
/**
|
|
19747
21112
|
*
|
|
19748
21113
|
* @summary Get cluster parameter template
|
|
@@ -20082,6 +21447,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20082
21447
|
getRootAccountPassword(requestParameters, options) {
|
|
20083
21448
|
return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
20084
21449
|
},
|
|
21450
|
+
/**
|
|
21451
|
+
* get root account password
|
|
21452
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
21453
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
21454
|
+
* @param {*} [options] Override http request option.
|
|
21455
|
+
* @throws {RequiredError}
|
|
21456
|
+
*/
|
|
21457
|
+
getRootSeaweedFSAccountPassword(requestParameters, options) {
|
|
21458
|
+
return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
21459
|
+
},
|
|
20085
21460
|
/**
|
|
20086
21461
|
*
|
|
20087
21462
|
* @summary list all databases or schema of the cluster
|
|
@@ -20341,6 +21716,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20341
21716
|
listCluster(requestParameters, options) {
|
|
20342
21717
|
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));
|
|
20343
21718
|
},
|
|
21719
|
+
/**
|
|
21720
|
+
*
|
|
21721
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
21722
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
21723
|
+
* @param {*} [options] Override http request option.
|
|
21724
|
+
* @throws {RequiredError}
|
|
21725
|
+
*/
|
|
21726
|
+
listClusterJars(requestParameters, options) {
|
|
21727
|
+
return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21728
|
+
},
|
|
20344
21729
|
/**
|
|
20345
21730
|
*
|
|
20346
21731
|
* @summary List restore tasks
|
|
@@ -20828,6 +22213,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20828
22213
|
listRoles(requestParameters, options) {
|
|
20829
22214
|
return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
20830
22215
|
},
|
|
22216
|
+
/**
|
|
22217
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
22218
|
+
* @summary listSeaweedFSAccounts
|
|
22219
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
22220
|
+
* @param {*} [options] Override http request option.
|
|
22221
|
+
* @throws {RequiredError}
|
|
22222
|
+
*/
|
|
22223
|
+
listSeaweedFSAccounts(requestParameters, options) {
|
|
22224
|
+
return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22225
|
+
},
|
|
22226
|
+
/**
|
|
22227
|
+
*
|
|
22228
|
+
* @summary listSeaweedFSPolicies
|
|
22229
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
22230
|
+
* @param {*} [options] Override http request option.
|
|
22231
|
+
* @throws {RequiredError}
|
|
22232
|
+
*/
|
|
22233
|
+
listSeaweedFSPolicies(requestParameters, options) {
|
|
22234
|
+
return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22235
|
+
},
|
|
20831
22236
|
/**
|
|
20832
22237
|
* list MinIO service account access keys
|
|
20833
22238
|
* @summary List MinIO access keys
|
|
@@ -21038,6 +22443,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21038
22443
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
21039
22444
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21040
22445
|
},
|
|
22446
|
+
/**
|
|
22447
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
22448
|
+
* @summary putSeaweedFSPolicy
|
|
22449
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
22450
|
+
* @param {*} [options] Override http request option.
|
|
22451
|
+
* @throws {RequiredError}
|
|
22452
|
+
*/
|
|
22453
|
+
putSeaweedFSPolicy(requestParameters, options) {
|
|
22454
|
+
return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
22455
|
+
},
|
|
21041
22456
|
/**
|
|
21042
22457
|
*
|
|
21043
22458
|
* @summary create a SQL query
|
|
@@ -21297,6 +22712,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21297
22712
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
21298
22713
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21299
22714
|
},
|
|
22715
|
+
/**
|
|
22716
|
+
*
|
|
22717
|
+
* @summary Retry synchronization of published JARs
|
|
22718
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
22719
|
+
* @param {*} [options] Override http request option.
|
|
22720
|
+
* @throws {RequiredError}
|
|
22721
|
+
*/
|
|
22722
|
+
retryClusterJar(requestParameters, options) {
|
|
22723
|
+
return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
22724
|
+
},
|
|
21300
22725
|
/**
|
|
21301
22726
|
*
|
|
21302
22727
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -21677,6 +23102,26 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21677
23102
|
updateRoleByName(requestParameters, options) {
|
|
21678
23103
|
return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
|
|
21679
23104
|
},
|
|
23105
|
+
/**
|
|
23106
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
23107
|
+
* @summary updateSeaweedFSAccount
|
|
23108
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
23109
|
+
* @param {*} [options] Override http request option.
|
|
23110
|
+
* @throws {RequiredError}
|
|
23111
|
+
*/
|
|
23112
|
+
updateSeaweedFSAccount(requestParameters, options) {
|
|
23113
|
+
return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23114
|
+
},
|
|
23115
|
+
/**
|
|
23116
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
23117
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
23118
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
23119
|
+
* @param {*} [options] Override http request option.
|
|
23120
|
+
* @throws {RequiredError}
|
|
23121
|
+
*/
|
|
23122
|
+
updateSeaweedFSAccountPrivileges(requestParameters, options) {
|
|
23123
|
+
return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23124
|
+
},
|
|
21680
23125
|
/**
|
|
21681
23126
|
* update a MinIO service account access key
|
|
21682
23127
|
* @summary Update MinIO access key
|
|
@@ -21726,6 +23171,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21726
23171
|
upgradeCluster(requestParameters, options) {
|
|
21727
23172
|
return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21728
23173
|
},
|
|
23174
|
+
/**
|
|
23175
|
+
*
|
|
23176
|
+
* @summary Upload an immutable JAR version
|
|
23177
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
23178
|
+
* @param {*} [options] Override http request option.
|
|
23179
|
+
* @throws {RequiredError}
|
|
23180
|
+
*/
|
|
23181
|
+
uploadClusterJar(requestParameters, options) {
|
|
23182
|
+
return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
23183
|
+
},
|
|
21729
23184
|
/**
|
|
21730
23185
|
*
|
|
21731
23186
|
* @summary Validate cluster creation
|
|
@@ -21819,6 +23274,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21819
23274
|
alterParameter(requestParameters, options) {
|
|
21820
23275
|
return (0, exports.SharedApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
21821
23276
|
}
|
|
23277
|
+
/**
|
|
23278
|
+
*
|
|
23279
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
23280
|
+
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
23281
|
+
* @param {*} [options] Override http request option.
|
|
23282
|
+
* @throws {RequiredError}
|
|
23283
|
+
* @memberof SharedApi
|
|
23284
|
+
*/
|
|
23285
|
+
archiveClusterJar(requestParameters, options) {
|
|
23286
|
+
return (0, exports.SharedApiFp)(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
23287
|
+
}
|
|
21822
23288
|
/**
|
|
21823
23289
|
* list the service version of the engine
|
|
21824
23290
|
* @summary list the service version of the engine
|
|
@@ -21874,6 +23340,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
21874
23340
|
batchUpdateOrgParameters(requestParameters, options) {
|
|
21875
23341
|
return (0, exports.SharedApiFp)(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
21876
23342
|
}
|
|
23343
|
+
/**
|
|
23344
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
23345
|
+
* @summary bindSeaweedFSPolicies
|
|
23346
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
23347
|
+
* @param {*} [options] Override http request option.
|
|
23348
|
+
* @throws {RequiredError}
|
|
23349
|
+
* @memberof SharedApi
|
|
23350
|
+
*/
|
|
23351
|
+
bindSeaweedFSPolicies(requestParameters, options) {
|
|
23352
|
+
return (0, exports.SharedApiFp)(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23353
|
+
}
|
|
21877
23354
|
/**
|
|
21878
23355
|
*
|
|
21879
23356
|
* @summary build backup object with a existing backup directory
|
|
@@ -22139,6 +23616,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22139
23616
|
createRole(requestParameters, options) {
|
|
22140
23617
|
return (0, exports.SharedApiFp)(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
|
|
22141
23618
|
}
|
|
23619
|
+
/**
|
|
23620
|
+
* 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.
|
|
23621
|
+
* @summary createSeaweedFSAccessKey
|
|
23622
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
23623
|
+
* @param {*} [options] Override http request option.
|
|
23624
|
+
* @throws {RequiredError}
|
|
23625
|
+
* @memberof SharedApi
|
|
23626
|
+
*/
|
|
23627
|
+
createSeaweedFSAccessKey(requestParameters, options) {
|
|
23628
|
+
return (0, exports.SharedApiFp)(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
23629
|
+
}
|
|
23630
|
+
/**
|
|
23631
|
+
* 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.
|
|
23632
|
+
* @summary createSeaweedFSAccount
|
|
23633
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
23634
|
+
* @param {*} [options] Override http request option.
|
|
23635
|
+
* @throws {RequiredError}
|
|
23636
|
+
* @memberof SharedApi
|
|
23637
|
+
*/
|
|
23638
|
+
createSeaweedFSAccount(requestParameters, options) {
|
|
23639
|
+
return (0, exports.SharedApiFp)(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
23640
|
+
}
|
|
22142
23641
|
/**
|
|
22143
23642
|
* create a MinIO service account access key
|
|
22144
23643
|
* @summary Create MinIO access key
|
|
@@ -22282,6 +23781,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22282
23781
|
deleteCluster(requestParameters, options) {
|
|
22283
23782
|
return (0, exports.SharedApiFp)(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
|
|
22284
23783
|
}
|
|
23784
|
+
/**
|
|
23785
|
+
*
|
|
23786
|
+
* @summary Delete an unpublished JAR version
|
|
23787
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
23788
|
+
* @param {*} [options] Override http request option.
|
|
23789
|
+
* @throws {RequiredError}
|
|
23790
|
+
* @memberof SharedApi
|
|
23791
|
+
*/
|
|
23792
|
+
deleteClusterJar(requestParameters, options) {
|
|
23793
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
23794
|
+
}
|
|
22285
23795
|
/**
|
|
22286
23796
|
*
|
|
22287
23797
|
* @summary delete the datasource
|
|
@@ -22524,6 +24034,39 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22524
24034
|
deleteRoleByName(requestParameters, options) {
|
|
22525
24035
|
return (0, exports.SharedApiFp)(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
22526
24036
|
}
|
|
24037
|
+
/**
|
|
24038
|
+
*
|
|
24039
|
+
* @summary deleteSeaweedFSAccessKey
|
|
24040
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
24041
|
+
* @param {*} [options] Override http request option.
|
|
24042
|
+
* @throws {RequiredError}
|
|
24043
|
+
* @memberof SharedApi
|
|
24044
|
+
*/
|
|
24045
|
+
deleteSeaweedFSAccessKey(requestParameters, options) {
|
|
24046
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
24047
|
+
}
|
|
24048
|
+
/**
|
|
24049
|
+
* delete an account in cluster
|
|
24050
|
+
* @summary deleteSeaweedFSAccount
|
|
24051
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
24052
|
+
* @param {*} [options] Override http request option.
|
|
24053
|
+
* @throws {RequiredError}
|
|
24054
|
+
* @memberof SharedApi
|
|
24055
|
+
*/
|
|
24056
|
+
deleteSeaweedFSAccount(requestParameters, options) {
|
|
24057
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
24058
|
+
}
|
|
24059
|
+
/**
|
|
24060
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
24061
|
+
* @summary deleteSeaweedFSPolicy
|
|
24062
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
24063
|
+
* @param {*} [options] Override http request option.
|
|
24064
|
+
* @throws {RequiredError}
|
|
24065
|
+
* @memberof SharedApi
|
|
24066
|
+
*/
|
|
24067
|
+
deleteSeaweedFSPolicy(requestParameters, options) {
|
|
24068
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
|
|
24069
|
+
}
|
|
22527
24070
|
/**
|
|
22528
24071
|
* delete a MinIO service account access key
|
|
22529
24072
|
* @summary Delete MinIO access key
|
|
@@ -22568,6 +24111,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22568
24111
|
disableConsole(requestParameters, options) {
|
|
22569
24112
|
return (0, exports.SharedApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
22570
24113
|
}
|
|
24114
|
+
/**
|
|
24115
|
+
*
|
|
24116
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
24117
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
24118
|
+
* @param {*} [options] Override http request option.
|
|
24119
|
+
* @throws {RequiredError}
|
|
24120
|
+
* @memberof SharedApi
|
|
24121
|
+
*/
|
|
24122
|
+
distributeClusterJar(requestParameters, options) {
|
|
24123
|
+
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));
|
|
24124
|
+
}
|
|
22571
24125
|
/**
|
|
22572
24126
|
*
|
|
22573
24127
|
* @summary Restore current cluster or instance
|
|
@@ -22590,6 +24144,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22590
24144
|
downloadBackup(requestParameters, options) {
|
|
22591
24145
|
return (0, exports.SharedApiFp)(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
|
|
22592
24146
|
}
|
|
24147
|
+
/**
|
|
24148
|
+
*
|
|
24149
|
+
* @summary Download the original JAR
|
|
24150
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
24151
|
+
* @param {*} [options] Override http request option.
|
|
24152
|
+
* @throws {RequiredError}
|
|
24153
|
+
* @memberof SharedApi
|
|
24154
|
+
*/
|
|
24155
|
+
downloadClusterJar(requestParameters, options) {
|
|
24156
|
+
return (0, exports.SharedApiFp)(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
24157
|
+
}
|
|
22593
24158
|
/**
|
|
22594
24159
|
*
|
|
22595
24160
|
* @summary Download multiple backup files
|
|
@@ -22821,6 +24386,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22821
24386
|
getClusterInstanceLog(requestParameters, options) {
|
|
22822
24387
|
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));
|
|
22823
24388
|
}
|
|
24389
|
+
/**
|
|
24390
|
+
*
|
|
24391
|
+
* @summary Get external JAR capability and configuration
|
|
24392
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
24393
|
+
* @param {*} [options] Override http request option.
|
|
24394
|
+
* @throws {RequiredError}
|
|
24395
|
+
* @memberof SharedApi
|
|
24396
|
+
*/
|
|
24397
|
+
getClusterJarConfig(requestParameters, options) {
|
|
24398
|
+
return (0, exports.SharedApiFp)(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
24399
|
+
}
|
|
22824
24400
|
/**
|
|
22825
24401
|
*
|
|
22826
24402
|
* @summary Get cluster parameter template
|
|
@@ -23194,6 +24770,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23194
24770
|
getRootAccountPassword(requestParameters, options) {
|
|
23195
24771
|
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));
|
|
23196
24772
|
}
|
|
24773
|
+
/**
|
|
24774
|
+
* get root account password
|
|
24775
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
24776
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
24777
|
+
* @param {*} [options] Override http request option.
|
|
24778
|
+
* @throws {RequiredError}
|
|
24779
|
+
* @memberof SharedApi
|
|
24780
|
+
*/
|
|
24781
|
+
getRootSeaweedFSAccountPassword(requestParameters, options) {
|
|
24782
|
+
return (0, exports.SharedApiFp)(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
24783
|
+
}
|
|
23197
24784
|
/**
|
|
23198
24785
|
*
|
|
23199
24786
|
* @summary list all databases or schema of the cluster
|
|
@@ -23479,6 +25066,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23479
25066
|
listCluster(requestParameters, options) {
|
|
23480
25067
|
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));
|
|
23481
25068
|
}
|
|
25069
|
+
/**
|
|
25070
|
+
*
|
|
25071
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
25072
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
25073
|
+
* @param {*} [options] Override http request option.
|
|
25074
|
+
* @throws {RequiredError}
|
|
25075
|
+
* @memberof SharedApi
|
|
25076
|
+
*/
|
|
25077
|
+
listClusterJars(requestParameters, options) {
|
|
25078
|
+
return (0, exports.SharedApiFp)(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25079
|
+
}
|
|
23482
25080
|
/**
|
|
23483
25081
|
*
|
|
23484
25082
|
* @summary List restore tasks
|
|
@@ -24015,6 +25613,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24015
25613
|
listRoles(requestParameters, options) {
|
|
24016
25614
|
return (0, exports.SharedApiFp)(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
24017
25615
|
}
|
|
25616
|
+
/**
|
|
25617
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
25618
|
+
* @summary listSeaweedFSAccounts
|
|
25619
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
25620
|
+
* @param {*} [options] Override http request option.
|
|
25621
|
+
* @throws {RequiredError}
|
|
25622
|
+
* @memberof SharedApi
|
|
25623
|
+
*/
|
|
25624
|
+
listSeaweedFSAccounts(requestParameters, options) {
|
|
25625
|
+
return (0, exports.SharedApiFp)(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25626
|
+
}
|
|
25627
|
+
/**
|
|
25628
|
+
*
|
|
25629
|
+
* @summary listSeaweedFSPolicies
|
|
25630
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
25631
|
+
* @param {*} [options] Override http request option.
|
|
25632
|
+
* @throws {RequiredError}
|
|
25633
|
+
* @memberof SharedApi
|
|
25634
|
+
*/
|
|
25635
|
+
listSeaweedFSPolicies(requestParameters, options) {
|
|
25636
|
+
return (0, exports.SharedApiFp)(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25637
|
+
}
|
|
24018
25638
|
/**
|
|
24019
25639
|
* list MinIO service account access keys
|
|
24020
25640
|
* @summary List MinIO access keys
|
|
@@ -24246,6 +25866,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24246
25866
|
putElasticsearchSecurityUser(requestParameters, options) {
|
|
24247
25867
|
return (0, exports.SharedApiFp)(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
24248
25868
|
}
|
|
25869
|
+
/**
|
|
25870
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
25871
|
+
* @summary putSeaweedFSPolicy
|
|
25872
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
25873
|
+
* @param {*} [options] Override http request option.
|
|
25874
|
+
* @throws {RequiredError}
|
|
25875
|
+
* @memberof SharedApi
|
|
25876
|
+
*/
|
|
25877
|
+
putSeaweedFSPolicy(requestParameters, options) {
|
|
25878
|
+
return (0, exports.SharedApiFp)(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
25879
|
+
}
|
|
24249
25880
|
/**
|
|
24250
25881
|
*
|
|
24251
25882
|
* @summary create a SQL query
|
|
@@ -24531,6 +26162,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24531
26162
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
24532
26163
|
return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
24533
26164
|
}
|
|
26165
|
+
/**
|
|
26166
|
+
*
|
|
26167
|
+
* @summary Retry synchronization of published JARs
|
|
26168
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
26169
|
+
* @param {*} [options] Override http request option.
|
|
26170
|
+
* @throws {RequiredError}
|
|
26171
|
+
* @memberof SharedApi
|
|
26172
|
+
*/
|
|
26173
|
+
retryClusterJar(requestParameters, options) {
|
|
26174
|
+
return (0, exports.SharedApiFp)(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
26175
|
+
}
|
|
24534
26176
|
/**
|
|
24535
26177
|
*
|
|
24536
26178
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -24949,6 +26591,28 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24949
26591
|
updateRoleByName(requestParameters, options) {
|
|
24950
26592
|
return (0, exports.SharedApiFp)(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
24951
26593
|
}
|
|
26594
|
+
/**
|
|
26595
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
26596
|
+
* @summary updateSeaweedFSAccount
|
|
26597
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
26598
|
+
* @param {*} [options] Override http request option.
|
|
26599
|
+
* @throws {RequiredError}
|
|
26600
|
+
* @memberof SharedApi
|
|
26601
|
+
*/
|
|
26602
|
+
updateSeaweedFSAccount(requestParameters, options) {
|
|
26603
|
+
return (0, exports.SharedApiFp)(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
26604
|
+
}
|
|
26605
|
+
/**
|
|
26606
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
26607
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
26608
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
26609
|
+
* @param {*} [options] Override http request option.
|
|
26610
|
+
* @throws {RequiredError}
|
|
26611
|
+
* @memberof SharedApi
|
|
26612
|
+
*/
|
|
26613
|
+
updateSeaweedFSAccountPrivileges(requestParameters, options) {
|
|
26614
|
+
return (0, exports.SharedApiFp)(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
26615
|
+
}
|
|
24952
26616
|
/**
|
|
24953
26617
|
* update a MinIO service account access key
|
|
24954
26618
|
* @summary Update MinIO access key
|
|
@@ -25003,6 +26667,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25003
26667
|
upgradeCluster(requestParameters, options) {
|
|
25004
26668
|
return (0, exports.SharedApiFp)(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
25005
26669
|
}
|
|
26670
|
+
/**
|
|
26671
|
+
*
|
|
26672
|
+
* @summary Upload an immutable JAR version
|
|
26673
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
26674
|
+
* @param {*} [options] Override http request option.
|
|
26675
|
+
* @throws {RequiredError}
|
|
26676
|
+
* @memberof SharedApi
|
|
26677
|
+
*/
|
|
26678
|
+
uploadClusterJar(requestParameters, options) {
|
|
26679
|
+
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));
|
|
26680
|
+
}
|
|
25006
26681
|
/**
|
|
25007
26682
|
*
|
|
25008
26683
|
* @summary Validate cluster creation
|