kb-cloud-client-typescript 2.4.0-alpha.64 → 2.4.0-alpha.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/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/shared-api.d.ts +654 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +694 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- 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 +7 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +7 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/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/shared-api.d.ts +654 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +694 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- 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 +7 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +7 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +8 -0
- package/src/adminapi/api.ts +1 -0
- 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/shared-api.ts +1141 -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 +7 -0
- package/src/adminapi.yaml +682 -72
- package/src/internalapi.yaml +2 -4
- package/src/openapi/.openapi-generator/FILES +8 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/cluster-jar-api.ts +1211 -0
- package/src/openapi/apis/shared-api.ts +1165 -24
- 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 +7 -0
- package/src/openapi.yaml +606 -65
|
@@ -327,6 +327,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
327
327
|
options: localVarRequestOptions,
|
|
328
328
|
};
|
|
329
329
|
},
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
333
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
334
|
+
* @param {string} orgName
|
|
335
|
+
* @param {string} clusterName
|
|
336
|
+
* @param {string} jarId
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
archiveClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
341
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
342
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'engineName', engineName);
|
|
343
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
344
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'orgName', orgName);
|
|
345
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
346
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'clusterName', clusterName);
|
|
347
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
348
|
+
(0, common_1.assertParamExists)('archiveClusterJar', 'jarId', jarId);
|
|
349
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
350
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
351
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
352
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
353
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
354
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
355
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
356
|
+
let baseOptions;
|
|
357
|
+
if (configuration) {
|
|
358
|
+
baseOptions = configuration.baseOptions;
|
|
359
|
+
}
|
|
360
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
361
|
+
const localVarHeaderParameter = {};
|
|
362
|
+
const localVarQueryParameter = {};
|
|
363
|
+
// authentication BearerToken required
|
|
364
|
+
// http bearer authentication required
|
|
365
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
366
|
+
// authentication DigestAuth required
|
|
367
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
368
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
370
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
371
|
+
return {
|
|
372
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
373
|
+
options: localVarRequestOptions,
|
|
374
|
+
};
|
|
375
|
+
},
|
|
330
376
|
/**
|
|
331
377
|
* Batch add permissions to a role
|
|
332
378
|
* @summary Batch add permissions to a role
|
|
@@ -2255,6 +2301,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
2255
2301
|
options: localVarRequestOptions,
|
|
2256
2302
|
};
|
|
2257
2303
|
},
|
|
2304
|
+
/**
|
|
2305
|
+
*
|
|
2306
|
+
* @summary Delete an unpublished JAR version
|
|
2307
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
2308
|
+
* @param {string} orgName
|
|
2309
|
+
* @param {string} clusterName
|
|
2310
|
+
* @param {string} jarId
|
|
2311
|
+
* @param {*} [options] Override http request option.
|
|
2312
|
+
* @throws {RequiredError}
|
|
2313
|
+
*/
|
|
2314
|
+
deleteClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
2315
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2316
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'engineName', engineName);
|
|
2317
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2318
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'orgName', orgName);
|
|
2319
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2320
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'clusterName', clusterName);
|
|
2321
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
2322
|
+
(0, common_1.assertParamExists)('deleteClusterJar', 'jarId', jarId);
|
|
2323
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
|
|
2324
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2325
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2326
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2327
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
2328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2329
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2330
|
+
let baseOptions;
|
|
2331
|
+
if (configuration) {
|
|
2332
|
+
baseOptions = configuration.baseOptions;
|
|
2333
|
+
}
|
|
2334
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
2335
|
+
const localVarHeaderParameter = {};
|
|
2336
|
+
const localVarQueryParameter = {};
|
|
2337
|
+
// authentication BearerToken required
|
|
2338
|
+
// http bearer authentication required
|
|
2339
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2340
|
+
// authentication DigestAuth required
|
|
2341
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2342
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2343
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2344
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2345
|
+
return {
|
|
2346
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2347
|
+
options: localVarRequestOptions,
|
|
2348
|
+
};
|
|
2349
|
+
},
|
|
2258
2350
|
/**
|
|
2259
2351
|
*
|
|
2260
2352
|
* @summary delete the datasource
|
|
@@ -3487,6 +3579,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3487
3579
|
options: localVarRequestOptions,
|
|
3488
3580
|
};
|
|
3489
3581
|
},
|
|
3582
|
+
/**
|
|
3583
|
+
*
|
|
3584
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
3585
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
3586
|
+
* @param {string} orgName
|
|
3587
|
+
* @param {string} clusterName
|
|
3588
|
+
* @param {string} jarId
|
|
3589
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
3590
|
+
* @param {*} [options] Override http request option.
|
|
3591
|
+
* @throws {RequiredError}
|
|
3592
|
+
*/
|
|
3593
|
+
distributeClusterJar: async (engineName, orgName, clusterName, jarId, clusterJarPublish, options = {}) => {
|
|
3594
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3595
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'engineName', engineName);
|
|
3596
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3597
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'orgName', orgName);
|
|
3598
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3599
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'clusterName', clusterName);
|
|
3600
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
3601
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'jarId', jarId);
|
|
3602
|
+
// verify required parameter 'clusterJarPublish' is not null or undefined
|
|
3603
|
+
(0, common_1.assertParamExists)('distributeClusterJar', 'clusterJarPublish', clusterJarPublish);
|
|
3604
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
|
|
3605
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3606
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3607
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3608
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
3609
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3610
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3611
|
+
let baseOptions;
|
|
3612
|
+
if (configuration) {
|
|
3613
|
+
baseOptions = configuration.baseOptions;
|
|
3614
|
+
}
|
|
3615
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3616
|
+
const localVarHeaderParameter = {};
|
|
3617
|
+
const localVarQueryParameter = {};
|
|
3618
|
+
// authentication BearerToken required
|
|
3619
|
+
// http bearer authentication required
|
|
3620
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3621
|
+
// authentication DigestAuth required
|
|
3622
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3623
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3624
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3625
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3626
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3627
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterJarPublish, localVarRequestOptions, configuration);
|
|
3628
|
+
return {
|
|
3629
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3630
|
+
options: localVarRequestOptions,
|
|
3631
|
+
};
|
|
3632
|
+
},
|
|
3490
3633
|
/**
|
|
3491
3634
|
*
|
|
3492
3635
|
* @summary Restore current cluster or instance
|
|
@@ -3568,6 +3711,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3568
3711
|
options: localVarRequestOptions,
|
|
3569
3712
|
};
|
|
3570
3713
|
},
|
|
3714
|
+
/**
|
|
3715
|
+
*
|
|
3716
|
+
* @summary Download the original JAR
|
|
3717
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
3718
|
+
* @param {string} orgName
|
|
3719
|
+
* @param {string} clusterName
|
|
3720
|
+
* @param {string} jarId
|
|
3721
|
+
* @param {*} [options] Override http request option.
|
|
3722
|
+
* @throws {RequiredError}
|
|
3723
|
+
*/
|
|
3724
|
+
downloadClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
3725
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3726
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'engineName', engineName);
|
|
3727
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3728
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'orgName', orgName);
|
|
3729
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3730
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'clusterName', clusterName);
|
|
3731
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
3732
|
+
(0, common_1.assertParamExists)('downloadClusterJar', 'jarId', jarId);
|
|
3733
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
|
|
3734
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3735
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3736
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3737
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
3738
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3739
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3740
|
+
let baseOptions;
|
|
3741
|
+
if (configuration) {
|
|
3742
|
+
baseOptions = configuration.baseOptions;
|
|
3743
|
+
}
|
|
3744
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3745
|
+
const localVarHeaderParameter = {};
|
|
3746
|
+
const localVarQueryParameter = {};
|
|
3747
|
+
// authentication BearerToken required
|
|
3748
|
+
// http bearer authentication required
|
|
3749
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3750
|
+
// authentication DigestAuth required
|
|
3751
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3752
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3754
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3755
|
+
return {
|
|
3756
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3757
|
+
options: localVarRequestOptions,
|
|
3758
|
+
};
|
|
3759
|
+
},
|
|
3571
3760
|
/**
|
|
3572
3761
|
*
|
|
3573
3762
|
* @summary Download multiple backup files
|
|
@@ -4800,6 +4989,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4800
4989
|
options: localVarRequestOptions,
|
|
4801
4990
|
};
|
|
4802
4991
|
},
|
|
4992
|
+
/**
|
|
4993
|
+
*
|
|
4994
|
+
* @summary Get external JAR capability and configuration
|
|
4995
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
4996
|
+
* @param {string} orgName
|
|
4997
|
+
* @param {string} clusterName
|
|
4998
|
+
* @param {*} [options] Override http request option.
|
|
4999
|
+
* @throws {RequiredError}
|
|
5000
|
+
*/
|
|
5001
|
+
getClusterJarConfig: async (engineName, orgName, clusterName, options = {}) => {
|
|
5002
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
5003
|
+
(0, common_1.assertParamExists)('getClusterJarConfig', 'engineName', engineName);
|
|
5004
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5005
|
+
(0, common_1.assertParamExists)('getClusterJarConfig', 'orgName', orgName);
|
|
5006
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5007
|
+
(0, common_1.assertParamExists)('getClusterJarConfig', 'clusterName', clusterName);
|
|
5008
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
|
|
5009
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5010
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5011
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5012
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5013
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5014
|
+
let baseOptions;
|
|
5015
|
+
if (configuration) {
|
|
5016
|
+
baseOptions = configuration.baseOptions;
|
|
5017
|
+
}
|
|
5018
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5019
|
+
const localVarHeaderParameter = {};
|
|
5020
|
+
const localVarQueryParameter = {};
|
|
5021
|
+
// authentication BearerToken required
|
|
5022
|
+
// http bearer authentication required
|
|
5023
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5024
|
+
// authentication DigestAuth required
|
|
5025
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5026
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5028
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5029
|
+
return {
|
|
5030
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5031
|
+
options: localVarRequestOptions,
|
|
5032
|
+
};
|
|
5033
|
+
},
|
|
4803
5034
|
/**
|
|
4804
5035
|
*
|
|
4805
5036
|
* @summary Get cluster parameter template
|
|
@@ -7490,6 +7721,48 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
7490
7721
|
options: localVarRequestOptions,
|
|
7491
7722
|
};
|
|
7492
7723
|
},
|
|
7724
|
+
/**
|
|
7725
|
+
*
|
|
7726
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
7727
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
7728
|
+
* @param {string} orgName
|
|
7729
|
+
* @param {string} clusterName
|
|
7730
|
+
* @param {*} [options] Override http request option.
|
|
7731
|
+
* @throws {RequiredError}
|
|
7732
|
+
*/
|
|
7733
|
+
listClusterJars: async (engineName, orgName, clusterName, options = {}) => {
|
|
7734
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
7735
|
+
(0, common_1.assertParamExists)('listClusterJars', 'engineName', engineName);
|
|
7736
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7737
|
+
(0, common_1.assertParamExists)('listClusterJars', 'orgName', orgName);
|
|
7738
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7739
|
+
(0, common_1.assertParamExists)('listClusterJars', 'clusterName', clusterName);
|
|
7740
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
7741
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
7742
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7743
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7744
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7745
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7746
|
+
let baseOptions;
|
|
7747
|
+
if (configuration) {
|
|
7748
|
+
baseOptions = configuration.baseOptions;
|
|
7749
|
+
}
|
|
7750
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7751
|
+
const localVarHeaderParameter = {};
|
|
7752
|
+
const localVarQueryParameter = {};
|
|
7753
|
+
// authentication BearerToken required
|
|
7754
|
+
// http bearer authentication required
|
|
7755
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7756
|
+
// authentication DigestAuth required
|
|
7757
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7758
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7759
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7760
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7761
|
+
return {
|
|
7762
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7763
|
+
options: localVarRequestOptions,
|
|
7764
|
+
};
|
|
7765
|
+
},
|
|
7493
7766
|
/**
|
|
7494
7767
|
*
|
|
7495
7768
|
* @summary List restore tasks
|
|
@@ -12029,6 +12302,52 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
12029
12302
|
options: localVarRequestOptions,
|
|
12030
12303
|
};
|
|
12031
12304
|
},
|
|
12305
|
+
/**
|
|
12306
|
+
*
|
|
12307
|
+
* @summary Retry synchronization of published JARs
|
|
12308
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
12309
|
+
* @param {string} orgName
|
|
12310
|
+
* @param {string} clusterName
|
|
12311
|
+
* @param {string} jarId
|
|
12312
|
+
* @param {*} [options] Override http request option.
|
|
12313
|
+
* @throws {RequiredError}
|
|
12314
|
+
*/
|
|
12315
|
+
retryClusterJar: async (engineName, orgName, clusterName, jarId, options = {}) => {
|
|
12316
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
12317
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'engineName', engineName);
|
|
12318
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12319
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'orgName', orgName);
|
|
12320
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12321
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'clusterName', clusterName);
|
|
12322
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
12323
|
+
(0, common_1.assertParamExists)('retryClusterJar', 'jarId', jarId);
|
|
12324
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
|
|
12325
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
12326
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12327
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12328
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
12329
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12330
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12331
|
+
let baseOptions;
|
|
12332
|
+
if (configuration) {
|
|
12333
|
+
baseOptions = configuration.baseOptions;
|
|
12334
|
+
}
|
|
12335
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
12336
|
+
const localVarHeaderParameter = {};
|
|
12337
|
+
const localVarQueryParameter = {};
|
|
12338
|
+
// authentication BearerToken required
|
|
12339
|
+
// http bearer authentication required
|
|
12340
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12341
|
+
// authentication DigestAuth required
|
|
12342
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12343
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12344
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12345
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12346
|
+
return {
|
|
12347
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12348
|
+
options: localVarRequestOptions,
|
|
12349
|
+
};
|
|
12350
|
+
},
|
|
12032
12351
|
/**
|
|
12033
12352
|
*
|
|
12034
12353
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -14196,6 +14515,75 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
14196
14515
|
options: localVarRequestOptions,
|
|
14197
14516
|
};
|
|
14198
14517
|
},
|
|
14518
|
+
/**
|
|
14519
|
+
*
|
|
14520
|
+
* @summary Upload an immutable JAR version
|
|
14521
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
14522
|
+
* @param {string} orgName
|
|
14523
|
+
* @param {string} clusterName
|
|
14524
|
+
* @param {string} idempotencyKey
|
|
14525
|
+
* @param {string} name
|
|
14526
|
+
* @param {ClusterJarKind} kind
|
|
14527
|
+
* @param {File} file
|
|
14528
|
+
* @param {*} [options] Override http request option.
|
|
14529
|
+
* @throws {RequiredError}
|
|
14530
|
+
*/
|
|
14531
|
+
uploadClusterJar: async (engineName, orgName, clusterName, idempotencyKey, name, kind, file, options = {}) => {
|
|
14532
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
14533
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'engineName', engineName);
|
|
14534
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14535
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'orgName', orgName);
|
|
14536
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14537
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'clusterName', clusterName);
|
|
14538
|
+
// verify required parameter 'idempotencyKey' is not null or undefined
|
|
14539
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'idempotencyKey', idempotencyKey);
|
|
14540
|
+
// verify required parameter 'name' is not null or undefined
|
|
14541
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'name', name);
|
|
14542
|
+
// verify required parameter 'kind' is not null or undefined
|
|
14543
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'kind', kind);
|
|
14544
|
+
// verify required parameter 'file' is not null or undefined
|
|
14545
|
+
(0, common_1.assertParamExists)('uploadClusterJar', 'file', file);
|
|
14546
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
14547
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
14548
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14549
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
14550
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14551
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14552
|
+
let baseOptions;
|
|
14553
|
+
if (configuration) {
|
|
14554
|
+
baseOptions = configuration.baseOptions;
|
|
14555
|
+
}
|
|
14556
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
14557
|
+
const localVarHeaderParameter = {};
|
|
14558
|
+
const localVarQueryParameter = {};
|
|
14559
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
14560
|
+
// authentication BearerToken required
|
|
14561
|
+
// http bearer authentication required
|
|
14562
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14563
|
+
// authentication DigestAuth required
|
|
14564
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14565
|
+
if (name !== undefined) {
|
|
14566
|
+
localVarFormParams.append('name', name);
|
|
14567
|
+
}
|
|
14568
|
+
if (kind !== undefined) {
|
|
14569
|
+
localVarFormParams.append('kind', kind);
|
|
14570
|
+
}
|
|
14571
|
+
if (file !== undefined) {
|
|
14572
|
+
localVarFormParams.append('file', file);
|
|
14573
|
+
}
|
|
14574
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
14575
|
+
if (idempotencyKey != null) {
|
|
14576
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
14577
|
+
}
|
|
14578
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14579
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14580
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14581
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
14582
|
+
return {
|
|
14583
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14584
|
+
options: localVarRequestOptions,
|
|
14585
|
+
};
|
|
14586
|
+
},
|
|
14199
14587
|
/**
|
|
14200
14588
|
*
|
|
14201
14589
|
* @summary Validate cluster creation
|
|
@@ -14470,6 +14858,23 @@ const SharedApiFp = function (configuration) {
|
|
|
14470
14858
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14471
14859
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14472
14860
|
},
|
|
14861
|
+
/**
|
|
14862
|
+
*
|
|
14863
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
14864
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
14865
|
+
* @param {string} orgName
|
|
14866
|
+
* @param {string} clusterName
|
|
14867
|
+
* @param {string} jarId
|
|
14868
|
+
* @param {*} [options] Override http request option.
|
|
14869
|
+
* @throws {RequiredError}
|
|
14870
|
+
*/
|
|
14871
|
+
async archiveClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
14872
|
+
var _a, _b, _c;
|
|
14873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
14874
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14875
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.archiveClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14876
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14877
|
+
},
|
|
14473
14878
|
/**
|
|
14474
14879
|
* Batch add permissions to a role
|
|
14475
14880
|
* @summary Batch add permissions to a role
|
|
@@ -15192,6 +15597,23 @@ const SharedApiFp = function (configuration) {
|
|
|
15192
15597
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15193
15598
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15194
15599
|
},
|
|
15600
|
+
/**
|
|
15601
|
+
*
|
|
15602
|
+
* @summary Delete an unpublished JAR version
|
|
15603
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15604
|
+
* @param {string} orgName
|
|
15605
|
+
* @param {string} clusterName
|
|
15606
|
+
* @param {string} jarId
|
|
15607
|
+
* @param {*} [options] Override http request option.
|
|
15608
|
+
* @throws {RequiredError}
|
|
15609
|
+
*/
|
|
15610
|
+
async deleteClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
15611
|
+
var _a, _b, _c;
|
|
15612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
15613
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15614
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15615
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15616
|
+
},
|
|
15195
15617
|
/**
|
|
15196
15618
|
*
|
|
15197
15619
|
* @summary delete the datasource
|
|
@@ -15657,6 +16079,24 @@ const SharedApiFp = function (configuration) {
|
|
|
15657
16079
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.disableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15658
16080
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15659
16081
|
},
|
|
16082
|
+
/**
|
|
16083
|
+
*
|
|
16084
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
16085
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16086
|
+
* @param {string} orgName
|
|
16087
|
+
* @param {string} clusterName
|
|
16088
|
+
* @param {string} jarId
|
|
16089
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
16090
|
+
* @param {*} [options] Override http request option.
|
|
16091
|
+
* @throws {RequiredError}
|
|
16092
|
+
*/
|
|
16093
|
+
async distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options) {
|
|
16094
|
+
var _a, _b, _c;
|
|
16095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
|
|
16096
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16097
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.distributeClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16098
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16099
|
+
},
|
|
15660
16100
|
/**
|
|
15661
16101
|
*
|
|
15662
16102
|
* @summary Restore current cluster or instance
|
|
@@ -15688,6 +16128,23 @@ const SharedApiFp = function (configuration) {
|
|
|
15688
16128
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.downloadBackup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15689
16129
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15690
16130
|
},
|
|
16131
|
+
/**
|
|
16132
|
+
*
|
|
16133
|
+
* @summary Download the original JAR
|
|
16134
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16135
|
+
* @param {string} orgName
|
|
16136
|
+
* @param {string} clusterName
|
|
16137
|
+
* @param {string} jarId
|
|
16138
|
+
* @param {*} [options] Override http request option.
|
|
16139
|
+
* @throws {RequiredError}
|
|
16140
|
+
*/
|
|
16141
|
+
async downloadClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
16142
|
+
var _a, _b, _c;
|
|
16143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
16144
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16145
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.downloadClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16146
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16147
|
+
},
|
|
15691
16148
|
/**
|
|
15692
16149
|
*
|
|
15693
16150
|
* @summary Download multiple backup files
|
|
@@ -16124,6 +16581,22 @@ const SharedApiFp = function (configuration) {
|
|
|
16124
16581
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterInstanceLog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16125
16582
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16126
16583
|
},
|
|
16584
|
+
/**
|
|
16585
|
+
*
|
|
16586
|
+
* @summary Get external JAR capability and configuration
|
|
16587
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16588
|
+
* @param {string} orgName
|
|
16589
|
+
* @param {string} clusterName
|
|
16590
|
+
* @param {*} [options] Override http request option.
|
|
16591
|
+
* @throws {RequiredError}
|
|
16592
|
+
*/
|
|
16593
|
+
async getClusterJarConfig(engineName, orgName, clusterName, options) {
|
|
16594
|
+
var _a, _b, _c;
|
|
16595
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
|
|
16596
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16597
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.getClusterJarConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16598
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16599
|
+
},
|
|
16127
16600
|
/**
|
|
16128
16601
|
*
|
|
16129
16602
|
* @summary Get cluster parameter template
|
|
@@ -17106,6 +17579,22 @@ const SharedApiFp = function (configuration) {
|
|
|
17106
17579
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17107
17580
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17108
17581
|
},
|
|
17582
|
+
/**
|
|
17583
|
+
*
|
|
17584
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
17585
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
17586
|
+
* @param {string} orgName
|
|
17587
|
+
* @param {string} clusterName
|
|
17588
|
+
* @param {*} [options] Override http request option.
|
|
17589
|
+
* @throws {RequiredError}
|
|
17590
|
+
*/
|
|
17591
|
+
async listClusterJars(engineName, orgName, clusterName, options) {
|
|
17592
|
+
var _a, _b, _c;
|
|
17593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
|
|
17594
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17595
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClusterJars']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17596
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17597
|
+
},
|
|
17109
17598
|
/**
|
|
17110
17599
|
*
|
|
17111
17600
|
* @summary List restore tasks
|
|
@@ -18734,6 +19223,23 @@ const SharedApiFp = function (configuration) {
|
|
|
18734
19223
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.restoreRecycleBinCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18735
19224
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18736
19225
|
},
|
|
19226
|
+
/**
|
|
19227
|
+
*
|
|
19228
|
+
* @summary Retry synchronization of published JARs
|
|
19229
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
19230
|
+
* @param {string} orgName
|
|
19231
|
+
* @param {string} clusterName
|
|
19232
|
+
* @param {string} jarId
|
|
19233
|
+
* @param {*} [options] Override http request option.
|
|
19234
|
+
* @throws {RequiredError}
|
|
19235
|
+
*/
|
|
19236
|
+
async retryClusterJar(engineName, orgName, clusterName, jarId, options) {
|
|
19237
|
+
var _a, _b, _c;
|
|
19238
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
19239
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19240
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.retryClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19241
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19242
|
+
},
|
|
18737
19243
|
/**
|
|
18738
19244
|
*
|
|
18739
19245
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -19531,6 +20037,26 @@ const SharedApiFp = function (configuration) {
|
|
|
19531
20037
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.upgradeCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19532
20038
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19533
20039
|
},
|
|
20040
|
+
/**
|
|
20041
|
+
*
|
|
20042
|
+
* @summary Upload an immutable JAR version
|
|
20043
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
20044
|
+
* @param {string} orgName
|
|
20045
|
+
* @param {string} clusterName
|
|
20046
|
+
* @param {string} idempotencyKey
|
|
20047
|
+
* @param {string} name
|
|
20048
|
+
* @param {ClusterJarKind} kind
|
|
20049
|
+
* @param {File} file
|
|
20050
|
+
* @param {*} [options] Override http request option.
|
|
20051
|
+
* @throws {RequiredError}
|
|
20052
|
+
*/
|
|
20053
|
+
async uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options) {
|
|
20054
|
+
var _a, _b, _c;
|
|
20055
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
|
|
20056
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20057
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.uploadClusterJar']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20058
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20059
|
+
},
|
|
19534
20060
|
/**
|
|
19535
20061
|
*
|
|
19536
20062
|
* @summary Validate cluster creation
|
|
@@ -19645,6 +20171,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19645
20171
|
alterParameter(requestParameters, options) {
|
|
19646
20172
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
19647
20173
|
},
|
|
20174
|
+
/**
|
|
20175
|
+
*
|
|
20176
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
20177
|
+
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
20178
|
+
* @param {*} [options] Override http request option.
|
|
20179
|
+
* @throws {RequiredError}
|
|
20180
|
+
*/
|
|
20181
|
+
archiveClusterJar(requestParameters, options) {
|
|
20182
|
+
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20183
|
+
},
|
|
19648
20184
|
/**
|
|
19649
20185
|
* Batch add permissions to a role
|
|
19650
20186
|
* @summary Batch add permissions to a role
|
|
@@ -20096,6 +20632,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20096
20632
|
deleteCluster(requestParameters, options) {
|
|
20097
20633
|
return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
|
|
20098
20634
|
},
|
|
20635
|
+
/**
|
|
20636
|
+
*
|
|
20637
|
+
* @summary Delete an unpublished JAR version
|
|
20638
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
20639
|
+
* @param {*} [options] Override http request option.
|
|
20640
|
+
* @throws {RequiredError}
|
|
20641
|
+
*/
|
|
20642
|
+
deleteClusterJar(requestParameters, options) {
|
|
20643
|
+
return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20644
|
+
},
|
|
20099
20645
|
/**
|
|
20100
20646
|
*
|
|
20101
20647
|
* @summary delete the datasource
|
|
@@ -20386,6 +20932,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20386
20932
|
disableConsole(requestParameters, options) {
|
|
20387
20933
|
return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20388
20934
|
},
|
|
20935
|
+
/**
|
|
20936
|
+
*
|
|
20937
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
20938
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
20939
|
+
* @param {*} [options] Override http request option.
|
|
20940
|
+
* @throws {RequiredError}
|
|
20941
|
+
*/
|
|
20942
|
+
distributeClusterJar(requestParameters, options) {
|
|
20943
|
+
return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
|
|
20944
|
+
},
|
|
20389
20945
|
/**
|
|
20390
20946
|
*
|
|
20391
20947
|
* @summary Restore current cluster or instance
|
|
@@ -20406,6 +20962,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20406
20962
|
downloadBackup(requestParameters, options) {
|
|
20407
20963
|
return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
|
|
20408
20964
|
},
|
|
20965
|
+
/**
|
|
20966
|
+
*
|
|
20967
|
+
* @summary Download the original JAR
|
|
20968
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
20969
|
+
* @param {*} [options] Override http request option.
|
|
20970
|
+
* @throws {RequiredError}
|
|
20971
|
+
*/
|
|
20972
|
+
downloadClusterJar(requestParameters, options) {
|
|
20973
|
+
return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20974
|
+
},
|
|
20409
20975
|
/**
|
|
20410
20976
|
*
|
|
20411
20977
|
* @summary Download multiple backup files
|
|
@@ -20645,6 +21211,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
20645
21211
|
getClusterInstanceLog(requestParameters, options) {
|
|
20646
21212
|
return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
|
|
20647
21213
|
},
|
|
21214
|
+
/**
|
|
21215
|
+
*
|
|
21216
|
+
* @summary Get external JAR capability and configuration
|
|
21217
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
21218
|
+
* @param {*} [options] Override http request option.
|
|
21219
|
+
* @throws {RequiredError}
|
|
21220
|
+
*/
|
|
21221
|
+
getClusterJarConfig(requestParameters, options) {
|
|
21222
|
+
return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21223
|
+
},
|
|
20648
21224
|
/**
|
|
20649
21225
|
*
|
|
20650
21226
|
* @summary Get cluster parameter template
|
|
@@ -21224,6 +21800,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21224
21800
|
listCluster(requestParameters, options) {
|
|
21225
21801
|
return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
|
|
21226
21802
|
},
|
|
21803
|
+
/**
|
|
21804
|
+
*
|
|
21805
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
21806
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
21807
|
+
* @param {*} [options] Override http request option.
|
|
21808
|
+
* @throws {RequiredError}
|
|
21809
|
+
*/
|
|
21810
|
+
listClusterJars(requestParameters, options) {
|
|
21811
|
+
return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21812
|
+
},
|
|
21227
21813
|
/**
|
|
21228
21814
|
*
|
|
21229
21815
|
* @summary List restore tasks
|
|
@@ -22161,6 +22747,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
22161
22747
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
22162
22748
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22163
22749
|
},
|
|
22750
|
+
/**
|
|
22751
|
+
*
|
|
22752
|
+
* @summary Retry synchronization of published JARs
|
|
22753
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
22754
|
+
* @param {*} [options] Override http request option.
|
|
22755
|
+
* @throws {RequiredError}
|
|
22756
|
+
*/
|
|
22757
|
+
retryClusterJar(requestParameters, options) {
|
|
22758
|
+
return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
22759
|
+
},
|
|
22164
22760
|
/**
|
|
22165
22761
|
*
|
|
22166
22762
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -22640,6 +23236,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
22640
23236
|
upgradeCluster(requestParameters, options) {
|
|
22641
23237
|
return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
22642
23238
|
},
|
|
23239
|
+
/**
|
|
23240
|
+
*
|
|
23241
|
+
* @summary Upload an immutable JAR version
|
|
23242
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
23243
|
+
* @param {*} [options] Override http request option.
|
|
23244
|
+
* @throws {RequiredError}
|
|
23245
|
+
*/
|
|
23246
|
+
uploadClusterJar(requestParameters, options) {
|
|
23247
|
+
return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
23248
|
+
},
|
|
22643
23249
|
/**
|
|
22644
23250
|
*
|
|
22645
23251
|
* @summary Validate cluster creation
|
|
@@ -22734,6 +23340,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22734
23340
|
alterParameter(requestParameters, options) {
|
|
22735
23341
|
return (0, exports.SharedApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
22736
23342
|
}
|
|
23343
|
+
/**
|
|
23344
|
+
*
|
|
23345
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
23346
|
+
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
23347
|
+
* @param {*} [options] Override http request option.
|
|
23348
|
+
* @throws {RequiredError}
|
|
23349
|
+
* @memberof SharedApi
|
|
23350
|
+
*/
|
|
23351
|
+
archiveClusterJar(requestParameters, options) {
|
|
23352
|
+
return (0, exports.SharedApiFp)(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
23353
|
+
}
|
|
22737
23354
|
/**
|
|
22738
23355
|
* Batch add permissions to a role
|
|
22739
23356
|
* @summary Batch add permissions to a role
|
|
@@ -23230,6 +23847,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23230
23847
|
deleteCluster(requestParameters, options) {
|
|
23231
23848
|
return (0, exports.SharedApiFp)(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
|
|
23232
23849
|
}
|
|
23850
|
+
/**
|
|
23851
|
+
*
|
|
23852
|
+
* @summary Delete an unpublished JAR version
|
|
23853
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
23854
|
+
* @param {*} [options] Override http request option.
|
|
23855
|
+
* @throws {RequiredError}
|
|
23856
|
+
* @memberof SharedApi
|
|
23857
|
+
*/
|
|
23858
|
+
deleteClusterJar(requestParameters, options) {
|
|
23859
|
+
return (0, exports.SharedApiFp)(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
23860
|
+
}
|
|
23233
23861
|
/**
|
|
23234
23862
|
*
|
|
23235
23863
|
* @summary delete the datasource
|
|
@@ -23549,6 +24177,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23549
24177
|
disableConsole(requestParameters, options) {
|
|
23550
24178
|
return (0, exports.SharedApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
23551
24179
|
}
|
|
24180
|
+
/**
|
|
24181
|
+
*
|
|
24182
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
24183
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
24184
|
+
* @param {*} [options] Override http request option.
|
|
24185
|
+
* @throws {RequiredError}
|
|
24186
|
+
* @memberof SharedApi
|
|
24187
|
+
*/
|
|
24188
|
+
distributeClusterJar(requestParameters, options) {
|
|
24189
|
+
return (0, exports.SharedApiFp)(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
|
|
24190
|
+
}
|
|
23552
24191
|
/**
|
|
23553
24192
|
*
|
|
23554
24193
|
* @summary Restore current cluster or instance
|
|
@@ -23571,6 +24210,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23571
24210
|
downloadBackup(requestParameters, options) {
|
|
23572
24211
|
return (0, exports.SharedApiFp)(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
|
|
23573
24212
|
}
|
|
24213
|
+
/**
|
|
24214
|
+
*
|
|
24215
|
+
* @summary Download the original JAR
|
|
24216
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
24217
|
+
* @param {*} [options] Override http request option.
|
|
24218
|
+
* @throws {RequiredError}
|
|
24219
|
+
* @memberof SharedApi
|
|
24220
|
+
*/
|
|
24221
|
+
downloadClusterJar(requestParameters, options) {
|
|
24222
|
+
return (0, exports.SharedApiFp)(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
24223
|
+
}
|
|
23574
24224
|
/**
|
|
23575
24225
|
*
|
|
23576
24226
|
* @summary Download multiple backup files
|
|
@@ -23834,6 +24484,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
23834
24484
|
getClusterInstanceLog(requestParameters, options) {
|
|
23835
24485
|
return (0, exports.SharedApiFp)(this.configuration).getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(this.axios, this.basePath));
|
|
23836
24486
|
}
|
|
24487
|
+
/**
|
|
24488
|
+
*
|
|
24489
|
+
* @summary Get external JAR capability and configuration
|
|
24490
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
24491
|
+
* @param {*} [options] Override http request option.
|
|
24492
|
+
* @throws {RequiredError}
|
|
24493
|
+
* @memberof SharedApi
|
|
24494
|
+
*/
|
|
24495
|
+
getClusterJarConfig(requestParameters, options) {
|
|
24496
|
+
return (0, exports.SharedApiFp)(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
24497
|
+
}
|
|
23837
24498
|
/**
|
|
23838
24499
|
*
|
|
23839
24500
|
* @summary Get cluster parameter template
|
|
@@ -24471,6 +25132,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
24471
25132
|
listCluster(requestParameters, options) {
|
|
24472
25133
|
return (0, exports.SharedApiFp)(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
|
|
24473
25134
|
}
|
|
25135
|
+
/**
|
|
25136
|
+
*
|
|
25137
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
25138
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
25139
|
+
* @param {*} [options] Override http request option.
|
|
25140
|
+
* @throws {RequiredError}
|
|
25141
|
+
* @memberof SharedApi
|
|
25142
|
+
*/
|
|
25143
|
+
listClusterJars(requestParameters, options) {
|
|
25144
|
+
return (0, exports.SharedApiFp)(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25145
|
+
}
|
|
24474
25146
|
/**
|
|
24475
25147
|
*
|
|
24476
25148
|
* @summary List restore tasks
|
|
@@ -25502,6 +26174,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25502
26174
|
restoreRecycleBinCluster(requestParameters, options) {
|
|
25503
26175
|
return (0, exports.SharedApiFp)(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25504
26176
|
}
|
|
26177
|
+
/**
|
|
26178
|
+
*
|
|
26179
|
+
* @summary Retry synchronization of published JARs
|
|
26180
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
26181
|
+
* @param {*} [options] Override http request option.
|
|
26182
|
+
* @throws {RequiredError}
|
|
26183
|
+
* @memberof SharedApi
|
|
26184
|
+
*/
|
|
26185
|
+
retryClusterJar(requestParameters, options) {
|
|
26186
|
+
return (0, exports.SharedApiFp)(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
26187
|
+
}
|
|
25505
26188
|
/**
|
|
25506
26189
|
*
|
|
25507
26190
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -26029,6 +26712,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
26029
26712
|
upgradeCluster(requestParameters, options) {
|
|
26030
26713
|
return (0, exports.SharedApiFp)(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
26031
26714
|
}
|
|
26715
|
+
/**
|
|
26716
|
+
*
|
|
26717
|
+
* @summary Upload an immutable JAR version
|
|
26718
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
26719
|
+
* @param {*} [options] Override http request option.
|
|
26720
|
+
* @throws {RequiredError}
|
|
26721
|
+
* @memberof SharedApi
|
|
26722
|
+
*/
|
|
26723
|
+
uploadClusterJar(requestParameters, options) {
|
|
26724
|
+
return (0, exports.SharedApiFp)(this.configuration).uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
26725
|
+
}
|
|
26032
26726
|
/**
|
|
26033
26727
|
*
|
|
26034
26728
|
* @summary Validate cluster creation
|