kb-cloud-client-typescript 2.2.130 → 2.2.132
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/cluster-jar-api.d.ts +623 -0
- package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -0
- package/dist/adminapi/apis/cluster-jar-api.js +674 -0
- package/dist/adminapi/apis/cluster-jar-api.js.map +1 -0
- package/dist/adminapi/apis/compute-group-api.d.ts +947 -0
- package/dist/adminapi/apis/compute-group-api.d.ts.map +1 -0
- package/dist/adminapi/apis/compute-group-api.js +1005 -0
- package/dist/adminapi/apis/compute-group-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +575 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +610 -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 +105 -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/compute-group-account-list.d.ts +26 -0
- package/dist/adminapi/models/compute-group-account-list.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-account-list.js +16 -0
- package/dist/adminapi/models/compute-group-account-list.js.map +1 -0
- package/dist/adminapi/models/compute-group-account.d.ts +61 -0
- package/dist/adminapi/models/compute-group-account.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-account.js +16 -0
- package/dist/adminapi/models/compute-group-account.js.map +1 -0
- package/dist/adminapi/models/compute-group-backend.d.ts +73 -0
- package/dist/adminapi/models/compute-group-backend.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-backend.js +16 -0
- package/dist/adminapi/models/compute-group-backend.js.map +1 -0
- package/dist/adminapi/models/compute-group-create.d.ts +37 -0
- package/dist/adminapi/models/compute-group-create.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-create.js +16 -0
- package/dist/adminapi/models/compute-group-create.js.map +1 -0
- package/dist/adminapi/models/compute-group-list.d.ts +38 -0
- package/dist/adminapi/models/compute-group-list.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-list.js +16 -0
- package/dist/adminapi/models/compute-group-list.js.map +1 -0
- package/dist/adminapi/models/compute-group-scale.d.ts +31 -0
- package/dist/adminapi/models/compute-group-scale.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-scale.js +16 -0
- package/dist/adminapi/models/compute-group-scale.js.map +1 -0
- package/dist/adminapi/models/compute-group.d.ts +110 -0
- package/dist/adminapi/models/compute-group.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group.js +16 -0
- package/dist/adminapi/models/compute-group.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +14 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +14 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
- package/dist/adminapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
- 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/cluster-jar-api.d.ts +623 -0
- package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
- package/dist/openapi/apis/cluster-jar-api.js +674 -0
- package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
- package/dist/openapi/apis/compute-group-api.d.ts +947 -0
- package/dist/openapi/apis/compute-group-api.d.ts.map +1 -0
- package/dist/openapi/apis/compute-group-api.js +1005 -0
- package/dist/openapi/apis/compute-group-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +575 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +610 -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 +105 -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/compute-group-account-list.d.ts +26 -0
- package/dist/openapi/models/compute-group-account-list.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-account-list.js +16 -0
- package/dist/openapi/models/compute-group-account-list.js.map +1 -0
- package/dist/openapi/models/compute-group-account.d.ts +61 -0
- package/dist/openapi/models/compute-group-account.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-account.js +16 -0
- package/dist/openapi/models/compute-group-account.js.map +1 -0
- package/dist/openapi/models/compute-group-backend.d.ts +73 -0
- package/dist/openapi/models/compute-group-backend.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-backend.js +16 -0
- package/dist/openapi/models/compute-group-backend.js.map +1 -0
- package/dist/openapi/models/compute-group-create.d.ts +37 -0
- package/dist/openapi/models/compute-group-create.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-create.js +16 -0
- package/dist/openapi/models/compute-group-create.js.map +1 -0
- package/dist/openapi/models/compute-group-list.d.ts +38 -0
- package/dist/openapi/models/compute-group-list.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-list.js +16 -0
- package/dist/openapi/models/compute-group-list.js.map +1 -0
- package/dist/openapi/models/compute-group-scale.d.ts +31 -0
- package/dist/openapi/models/compute-group-scale.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-scale.js +16 -0
- package/dist/openapi/models/compute-group-scale.js.map +1 -0
- package/dist/openapi/models/compute-group.d.ts +110 -0
- package/dist/openapi/models/compute-group.d.ts.map +1 -0
- package/dist/openapi/models/compute-group.js +16 -0
- package/dist/openapi/models/compute-group.js.map +1 -0
- package/dist/openapi/models/index.d.ts +14 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +14 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts +18 -0
- package/dist/openapi/models/mode-object-storage-additional-helm-value-path.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +16 -0
- package/src/adminapi/api.ts +2 -0
- package/src/adminapi/apis/cluster-jar-api.ts +1075 -0
- package/src/adminapi/apis/compute-group-api.ts +1618 -0
- package/src/adminapi/apis/shared-api.ts +1005 -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 +116 -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/compute-group-account-list.ts +33 -0
- package/src/adminapi/models/compute-group-account.ts +66 -0
- package/src/adminapi/models/compute-group-backend.ts +78 -0
- package/src/adminapi/models/compute-group-create.ts +42 -0
- package/src/adminapi/models/compute-group-list.ts +45 -0
- package/src/adminapi/models/compute-group-scale.ts +36 -0
- package/src/adminapi/models/compute-group.ts +117 -0
- package/src/adminapi/models/index.ts +14 -0
- package/src/adminapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
- package/src/adminapi.yaml +1178 -15
- package/src/openapi/.openapi-generator/FILES +16 -0
- package/src/openapi/api.ts +2 -0
- package/src/openapi/apis/cluster-jar-api.ts +1075 -0
- package/src/openapi/apis/compute-group-api.ts +1618 -0
- package/src/openapi/apis/shared-api.ts +1047 -42
- 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 +116 -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/compute-group-account-list.ts +33 -0
- package/src/openapi/models/compute-group-account.ts +66 -0
- package/src/openapi/models/compute-group-backend.ts +78 -0
- package/src/openapi/models/compute-group-create.ts +42 -0
- package/src/openapi/models/compute-group-list.ts +45 -0
- package/src/openapi/models/compute-group-scale.ts +36 -0
- package/src/openapi/models/compute-group.ts +117 -0
- package/src/openapi/models/index.ts +14 -0
- package/src/openapi/models/mode-object-storage-additional-helm-value-path.ts +18 -0
- package/src/openapi.yaml +5416 -4253
|
@@ -88,6 +88,18 @@ import type { ClusterCreate } from '../models';
|
|
|
88
88
|
// @ts-ignore
|
|
89
89
|
import type { ClusterExecutionLog } from '../models';
|
|
90
90
|
// @ts-ignore
|
|
91
|
+
import type { ClusterJarConfig } from '../models';
|
|
92
|
+
// @ts-ignore
|
|
93
|
+
import type { ClusterJarKind } from '../models';
|
|
94
|
+
// @ts-ignore
|
|
95
|
+
import type { ClusterJarList } from '../models';
|
|
96
|
+
// @ts-ignore
|
|
97
|
+
import type { ClusterJarPackage } from '../models';
|
|
98
|
+
// @ts-ignore
|
|
99
|
+
import type { ClusterJarPublish } from '../models';
|
|
100
|
+
// @ts-ignore
|
|
101
|
+
import type { ClusterJarTask } from '../models';
|
|
102
|
+
// @ts-ignore
|
|
91
103
|
import type { ClusterList } from '../models';
|
|
92
104
|
// @ts-ignore
|
|
93
105
|
import type { ClusterLogHitsResponse } from '../models';
|
|
@@ -2466,6 +2478,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2466
2478
|
|
|
2467
2479
|
|
|
2468
2480
|
|
|
2481
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2482
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2483
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2484
|
+
|
|
2485
|
+
return {
|
|
2486
|
+
url: toPathString(localVarUrlObj),
|
|
2487
|
+
options: localVarRequestOptions,
|
|
2488
|
+
};
|
|
2489
|
+
},
|
|
2490
|
+
/**
|
|
2491
|
+
*
|
|
2492
|
+
* @summary Delete an unpublished JAR version
|
|
2493
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
2494
|
+
* @param {string} orgName
|
|
2495
|
+
* @param {string} clusterName
|
|
2496
|
+
* @param {string} jarId
|
|
2497
|
+
* @param {*} [options] Override http request option.
|
|
2498
|
+
* @throws {RequiredError}
|
|
2499
|
+
*/
|
|
2500
|
+
deleteClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2501
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2502
|
+
assertParamExists('deleteClusterJar', 'engineName', engineName)
|
|
2503
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2504
|
+
assertParamExists('deleteClusterJar', 'orgName', orgName)
|
|
2505
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2506
|
+
assertParamExists('deleteClusterJar', 'clusterName', clusterName)
|
|
2507
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
2508
|
+
assertParamExists('deleteClusterJar', 'jarId', jarId)
|
|
2509
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
|
|
2510
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2511
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2512
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2513
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
2514
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2515
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2516
|
+
let baseOptions;
|
|
2517
|
+
if (configuration) {
|
|
2518
|
+
baseOptions = configuration.baseOptions;
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2522
|
+
const localVarHeaderParameter = {} as any;
|
|
2523
|
+
const localVarQueryParameter = {} as any;
|
|
2524
|
+
|
|
2525
|
+
// authentication BearerToken required
|
|
2526
|
+
// http bearer authentication required
|
|
2527
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2528
|
+
|
|
2529
|
+
// authentication DigestAuth required
|
|
2530
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
|
|
2469
2534
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2470
2535
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2471
2536
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3819,6 +3884,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3819
3884
|
options: localVarRequestOptions,
|
|
3820
3885
|
};
|
|
3821
3886
|
},
|
|
3887
|
+
/**
|
|
3888
|
+
*
|
|
3889
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
3890
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
3891
|
+
* @param {string} orgName
|
|
3892
|
+
* @param {string} clusterName
|
|
3893
|
+
* @param {string} jarId
|
|
3894
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
3895
|
+
* @param {*} [options] Override http request option.
|
|
3896
|
+
* @throws {RequiredError}
|
|
3897
|
+
*/
|
|
3898
|
+
distributeClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3899
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3900
|
+
assertParamExists('distributeClusterJar', 'engineName', engineName)
|
|
3901
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3902
|
+
assertParamExists('distributeClusterJar', 'orgName', orgName)
|
|
3903
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3904
|
+
assertParamExists('distributeClusterJar', 'clusterName', clusterName)
|
|
3905
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
3906
|
+
assertParamExists('distributeClusterJar', 'jarId', jarId)
|
|
3907
|
+
// verify required parameter 'clusterJarPublish' is not null or undefined
|
|
3908
|
+
assertParamExists('distributeClusterJar', 'clusterJarPublish', clusterJarPublish)
|
|
3909
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
|
|
3910
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3911
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3912
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3913
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
3914
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3915
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3916
|
+
let baseOptions;
|
|
3917
|
+
if (configuration) {
|
|
3918
|
+
baseOptions = configuration.baseOptions;
|
|
3919
|
+
}
|
|
3920
|
+
|
|
3921
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3922
|
+
const localVarHeaderParameter = {} as any;
|
|
3923
|
+
const localVarQueryParameter = {} as any;
|
|
3924
|
+
|
|
3925
|
+
// authentication BearerToken required
|
|
3926
|
+
// http bearer authentication required
|
|
3927
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3928
|
+
|
|
3929
|
+
// authentication DigestAuth required
|
|
3930
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3931
|
+
|
|
3932
|
+
|
|
3933
|
+
|
|
3934
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3935
|
+
|
|
3936
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3937
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3938
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3939
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterJarPublish, localVarRequestOptions, configuration)
|
|
3940
|
+
|
|
3941
|
+
return {
|
|
3942
|
+
url: toPathString(localVarUrlObj),
|
|
3943
|
+
options: localVarRequestOptions,
|
|
3944
|
+
};
|
|
3945
|
+
},
|
|
3822
3946
|
/**
|
|
3823
3947
|
*
|
|
3824
3948
|
* @summary Restore current cluster or instance
|
|
@@ -3906,6 +4030,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3906
4030
|
|
|
3907
4031
|
|
|
3908
4032
|
|
|
4033
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4034
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4035
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4036
|
+
|
|
4037
|
+
return {
|
|
4038
|
+
url: toPathString(localVarUrlObj),
|
|
4039
|
+
options: localVarRequestOptions,
|
|
4040
|
+
};
|
|
4041
|
+
},
|
|
4042
|
+
/**
|
|
4043
|
+
*
|
|
4044
|
+
* @summary Download the original JAR
|
|
4045
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
4046
|
+
* @param {string} orgName
|
|
4047
|
+
* @param {string} clusterName
|
|
4048
|
+
* @param {string} jarId
|
|
4049
|
+
* @param {*} [options] Override http request option.
|
|
4050
|
+
* @throws {RequiredError}
|
|
4051
|
+
*/
|
|
4052
|
+
downloadClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4053
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4054
|
+
assertParamExists('downloadClusterJar', 'engineName', engineName)
|
|
4055
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4056
|
+
assertParamExists('downloadClusterJar', 'orgName', orgName)
|
|
4057
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4058
|
+
assertParamExists('downloadClusterJar', 'clusterName', clusterName)
|
|
4059
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
4060
|
+
assertParamExists('downloadClusterJar', 'jarId', jarId)
|
|
4061
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
|
|
4062
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4063
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4064
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4065
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
4066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4068
|
+
let baseOptions;
|
|
4069
|
+
if (configuration) {
|
|
4070
|
+
baseOptions = configuration.baseOptions;
|
|
4071
|
+
}
|
|
4072
|
+
|
|
4073
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4074
|
+
const localVarHeaderParameter = {} as any;
|
|
4075
|
+
const localVarQueryParameter = {} as any;
|
|
4076
|
+
|
|
4077
|
+
// authentication BearerToken required
|
|
4078
|
+
// http bearer authentication required
|
|
4079
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4080
|
+
|
|
4081
|
+
// authentication DigestAuth required
|
|
4082
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4083
|
+
|
|
4084
|
+
|
|
4085
|
+
|
|
3909
4086
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3910
4087
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3911
4088
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4841,6 +5018,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4841
5018
|
|
|
4842
5019
|
|
|
4843
5020
|
|
|
5021
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5022
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5023
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5024
|
+
|
|
5025
|
+
return {
|
|
5026
|
+
url: toPathString(localVarUrlObj),
|
|
5027
|
+
options: localVarRequestOptions,
|
|
5028
|
+
};
|
|
5029
|
+
},
|
|
5030
|
+
/**
|
|
5031
|
+
*
|
|
5032
|
+
* @summary Get external JAR capability and configuration
|
|
5033
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
5034
|
+
* @param {string} orgName
|
|
5035
|
+
* @param {string} clusterName
|
|
5036
|
+
* @param {*} [options] Override http request option.
|
|
5037
|
+
* @throws {RequiredError}
|
|
5038
|
+
*/
|
|
5039
|
+
getClusterJarConfig: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5040
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
5041
|
+
assertParamExists('getClusterJarConfig', 'engineName', engineName)
|
|
5042
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5043
|
+
assertParamExists('getClusterJarConfig', 'orgName', orgName)
|
|
5044
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5045
|
+
assertParamExists('getClusterJarConfig', 'clusterName', clusterName)
|
|
5046
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
|
|
5047
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5048
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5049
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5050
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5051
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5052
|
+
let baseOptions;
|
|
5053
|
+
if (configuration) {
|
|
5054
|
+
baseOptions = configuration.baseOptions;
|
|
5055
|
+
}
|
|
5056
|
+
|
|
5057
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5058
|
+
const localVarHeaderParameter = {} as any;
|
|
5059
|
+
const localVarQueryParameter = {} as any;
|
|
5060
|
+
|
|
5061
|
+
// authentication BearerToken required
|
|
5062
|
+
// http bearer authentication required
|
|
5063
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5064
|
+
|
|
5065
|
+
// authentication DigestAuth required
|
|
5066
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5067
|
+
|
|
5068
|
+
|
|
5069
|
+
|
|
4844
5070
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4845
5071
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4846
5072
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7450,6 +7676,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7450
7676
|
|
|
7451
7677
|
|
|
7452
7678
|
|
|
7679
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7680
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7681
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7682
|
+
|
|
7683
|
+
return {
|
|
7684
|
+
url: toPathString(localVarUrlObj),
|
|
7685
|
+
options: localVarRequestOptions,
|
|
7686
|
+
};
|
|
7687
|
+
},
|
|
7688
|
+
/**
|
|
7689
|
+
*
|
|
7690
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
7691
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
7692
|
+
* @param {string} orgName
|
|
7693
|
+
* @param {string} clusterName
|
|
7694
|
+
* @param {*} [options] Override http request option.
|
|
7695
|
+
* @throws {RequiredError}
|
|
7696
|
+
*/
|
|
7697
|
+
listClusterJars: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7698
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
7699
|
+
assertParamExists('listClusterJars', 'engineName', engineName)
|
|
7700
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7701
|
+
assertParamExists('listClusterJars', 'orgName', orgName)
|
|
7702
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7703
|
+
assertParamExists('listClusterJars', 'clusterName', clusterName)
|
|
7704
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
7705
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
7706
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7707
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7708
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7709
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7710
|
+
let baseOptions;
|
|
7711
|
+
if (configuration) {
|
|
7712
|
+
baseOptions = configuration.baseOptions;
|
|
7713
|
+
}
|
|
7714
|
+
|
|
7715
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7716
|
+
const localVarHeaderParameter = {} as any;
|
|
7717
|
+
const localVarQueryParameter = {} as any;
|
|
7718
|
+
|
|
7719
|
+
// authentication BearerToken required
|
|
7720
|
+
// http bearer authentication required
|
|
7721
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7722
|
+
|
|
7723
|
+
// authentication DigestAuth required
|
|
7724
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
7725
|
+
|
|
7726
|
+
|
|
7727
|
+
|
|
7453
7728
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7454
7729
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7455
7730
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12113,6 +12388,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12113
12388
|
|
|
12114
12389
|
|
|
12115
12390
|
|
|
12391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12393
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12394
|
+
|
|
12395
|
+
return {
|
|
12396
|
+
url: toPathString(localVarUrlObj),
|
|
12397
|
+
options: localVarRequestOptions,
|
|
12398
|
+
};
|
|
12399
|
+
},
|
|
12400
|
+
/**
|
|
12401
|
+
*
|
|
12402
|
+
* @summary Retry synchronization of published JARs
|
|
12403
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
12404
|
+
* @param {string} orgName
|
|
12405
|
+
* @param {string} clusterName
|
|
12406
|
+
* @param {string} jarId
|
|
12407
|
+
* @param {*} [options] Override http request option.
|
|
12408
|
+
* @throws {RequiredError}
|
|
12409
|
+
*/
|
|
12410
|
+
retryClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12411
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
12412
|
+
assertParamExists('retryClusterJar', 'engineName', engineName)
|
|
12413
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12414
|
+
assertParamExists('retryClusterJar', 'orgName', orgName)
|
|
12415
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12416
|
+
assertParamExists('retryClusterJar', 'clusterName', clusterName)
|
|
12417
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
12418
|
+
assertParamExists('retryClusterJar', 'jarId', jarId)
|
|
12419
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
|
|
12420
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
12421
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12422
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12423
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
12424
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12425
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12426
|
+
let baseOptions;
|
|
12427
|
+
if (configuration) {
|
|
12428
|
+
baseOptions = configuration.baseOptions;
|
|
12429
|
+
}
|
|
12430
|
+
|
|
12431
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12432
|
+
const localVarHeaderParameter = {} as any;
|
|
12433
|
+
const localVarQueryParameter = {} as any;
|
|
12434
|
+
|
|
12435
|
+
// authentication BearerToken required
|
|
12436
|
+
// http bearer authentication required
|
|
12437
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12438
|
+
|
|
12439
|
+
// authentication DigestAuth required
|
|
12440
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12441
|
+
|
|
12442
|
+
|
|
12443
|
+
|
|
12116
12444
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12117
12445
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12118
12446
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14038,6 +14366,86 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14038
14366
|
options: localVarRequestOptions,
|
|
14039
14367
|
};
|
|
14040
14368
|
},
|
|
14369
|
+
/**
|
|
14370
|
+
*
|
|
14371
|
+
* @summary Upload an immutable JAR version
|
|
14372
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
14373
|
+
* @param {string} orgName
|
|
14374
|
+
* @param {string} clusterName
|
|
14375
|
+
* @param {string} idempotencyKey
|
|
14376
|
+
* @param {string} name
|
|
14377
|
+
* @param {ClusterJarKind} kind
|
|
14378
|
+
* @param {File} file
|
|
14379
|
+
* @param {*} [options] Override http request option.
|
|
14380
|
+
* @throws {RequiredError}
|
|
14381
|
+
*/
|
|
14382
|
+
uploadClusterJar: async (engineName: string, orgName: string, clusterName: string, idempotencyKey: string, name: string, kind: ClusterJarKind, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14383
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
14384
|
+
assertParamExists('uploadClusterJar', 'engineName', engineName)
|
|
14385
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14386
|
+
assertParamExists('uploadClusterJar', 'orgName', orgName)
|
|
14387
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14388
|
+
assertParamExists('uploadClusterJar', 'clusterName', clusterName)
|
|
14389
|
+
// verify required parameter 'idempotencyKey' is not null or undefined
|
|
14390
|
+
assertParamExists('uploadClusterJar', 'idempotencyKey', idempotencyKey)
|
|
14391
|
+
// verify required parameter 'name' is not null or undefined
|
|
14392
|
+
assertParamExists('uploadClusterJar', 'name', name)
|
|
14393
|
+
// verify required parameter 'kind' is not null or undefined
|
|
14394
|
+
assertParamExists('uploadClusterJar', 'kind', kind)
|
|
14395
|
+
// verify required parameter 'file' is not null or undefined
|
|
14396
|
+
assertParamExists('uploadClusterJar', 'file', file)
|
|
14397
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
14398
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
14399
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14400
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
14401
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14402
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14403
|
+
let baseOptions;
|
|
14404
|
+
if (configuration) {
|
|
14405
|
+
baseOptions = configuration.baseOptions;
|
|
14406
|
+
}
|
|
14407
|
+
|
|
14408
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14409
|
+
const localVarHeaderParameter = {} as any;
|
|
14410
|
+
const localVarQueryParameter = {} as any;
|
|
14411
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
14412
|
+
|
|
14413
|
+
// authentication BearerToken required
|
|
14414
|
+
// http bearer authentication required
|
|
14415
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14416
|
+
|
|
14417
|
+
// authentication DigestAuth required
|
|
14418
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14419
|
+
|
|
14420
|
+
|
|
14421
|
+
if (name !== undefined) {
|
|
14422
|
+
localVarFormParams.append('name', name as any);
|
|
14423
|
+
}
|
|
14424
|
+
|
|
14425
|
+
if (kind !== undefined) {
|
|
14426
|
+
localVarFormParams.append('kind', kind as any);
|
|
14427
|
+
}
|
|
14428
|
+
|
|
14429
|
+
if (file !== undefined) {
|
|
14430
|
+
localVarFormParams.append('file', file as any);
|
|
14431
|
+
}
|
|
14432
|
+
|
|
14433
|
+
|
|
14434
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
14435
|
+
|
|
14436
|
+
if (idempotencyKey != null) {
|
|
14437
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
14438
|
+
}
|
|
14439
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14440
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14441
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14442
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
14443
|
+
|
|
14444
|
+
return {
|
|
14445
|
+
url: toPathString(localVarUrlObj),
|
|
14446
|
+
options: localVarRequestOptions,
|
|
14447
|
+
};
|
|
14448
|
+
},
|
|
14041
14449
|
/**
|
|
14042
14450
|
*
|
|
14043
14451
|
* @summary Validate cluster creation
|
|
@@ -14808,6 +15216,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14808
15216
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteCluster']?.[localVarOperationServerIndex]?.url;
|
|
14809
15217
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14810
15218
|
},
|
|
15219
|
+
/**
|
|
15220
|
+
*
|
|
15221
|
+
* @summary Delete an unpublished JAR version
|
|
15222
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15223
|
+
* @param {string} orgName
|
|
15224
|
+
* @param {string} clusterName
|
|
15225
|
+
* @param {string} jarId
|
|
15226
|
+
* @param {*} [options] Override http request option.
|
|
15227
|
+
* @throws {RequiredError}
|
|
15228
|
+
*/
|
|
15229
|
+
async deleteClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15230
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
15231
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15232
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
15233
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15234
|
+
},
|
|
14811
15235
|
/**
|
|
14812
15236
|
*
|
|
14813
15237
|
* @summary delete the datasource
|
|
@@ -15214,6 +15638,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15214
15638
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.disableConsole']?.[localVarOperationServerIndex]?.url;
|
|
15215
15639
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15216
15640
|
},
|
|
15641
|
+
/**
|
|
15642
|
+
*
|
|
15643
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
15644
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15645
|
+
* @param {string} orgName
|
|
15646
|
+
* @param {string} clusterName
|
|
15647
|
+
* @param {string} jarId
|
|
15648
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
15649
|
+
* @param {*} [options] Override http request option.
|
|
15650
|
+
* @throws {RequiredError}
|
|
15651
|
+
*/
|
|
15652
|
+
async distributeClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
|
|
15653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
|
|
15654
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15655
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.distributeClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
15656
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15657
|
+
},
|
|
15217
15658
|
/**
|
|
15218
15659
|
*
|
|
15219
15660
|
* @summary Restore current cluster or instance
|
|
@@ -15243,6 +15684,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15243
15684
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadBackup']?.[localVarOperationServerIndex]?.url;
|
|
15244
15685
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15245
15686
|
},
|
|
15687
|
+
/**
|
|
15688
|
+
*
|
|
15689
|
+
* @summary Download the original JAR
|
|
15690
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15691
|
+
* @param {string} orgName
|
|
15692
|
+
* @param {string} clusterName
|
|
15693
|
+
* @param {string} jarId
|
|
15694
|
+
* @param {*} [options] Override http request option.
|
|
15695
|
+
* @throws {RequiredError}
|
|
15696
|
+
*/
|
|
15697
|
+
async downloadClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
15698
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
15699
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15700
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
15701
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15702
|
+
},
|
|
15246
15703
|
/**
|
|
15247
15704
|
*
|
|
15248
15705
|
* @summary Download multiple backup files
|
|
@@ -15521,6 +15978,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15521
15978
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterInstanceLog']?.[localVarOperationServerIndex]?.url;
|
|
15522
15979
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15523
15980
|
},
|
|
15981
|
+
/**
|
|
15982
|
+
*
|
|
15983
|
+
* @summary Get external JAR capability and configuration
|
|
15984
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15985
|
+
* @param {string} orgName
|
|
15986
|
+
* @param {string} clusterName
|
|
15987
|
+
* @param {*} [options] Override http request option.
|
|
15988
|
+
* @throws {RequiredError}
|
|
15989
|
+
*/
|
|
15990
|
+
async getClusterJarConfig(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarConfig>> {
|
|
15991
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
|
|
15992
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15993
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterJarConfig']?.[localVarOperationServerIndex]?.url;
|
|
15994
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15995
|
+
},
|
|
15524
15996
|
/**
|
|
15525
15997
|
*
|
|
15526
15998
|
* @summary Get cluster parameter template
|
|
@@ -16297,6 +16769,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16297
16769
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listCluster']?.[localVarOperationServerIndex]?.url;
|
|
16298
16770
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16299
16771
|
},
|
|
16772
|
+
/**
|
|
16773
|
+
*
|
|
16774
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
16775
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16776
|
+
* @param {string} orgName
|
|
16777
|
+
* @param {string} clusterName
|
|
16778
|
+
* @param {*} [options] Override http request option.
|
|
16779
|
+
* @throws {RequiredError}
|
|
16780
|
+
*/
|
|
16781
|
+
async listClusterJars(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarList>> {
|
|
16782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
|
|
16783
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16784
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterJars']?.[localVarOperationServerIndex]?.url;
|
|
16785
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16786
|
+
},
|
|
16300
16787
|
/**
|
|
16301
16788
|
*
|
|
16302
16789
|
* @summary List restore tasks
|
|
@@ -17665,6 +18152,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17665
18152
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
|
|
17666
18153
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17667
18154
|
},
|
|
18155
|
+
/**
|
|
18156
|
+
*
|
|
18157
|
+
* @summary Retry synchronization of published JARs
|
|
18158
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
18159
|
+
* @param {string} orgName
|
|
18160
|
+
* @param {string} clusterName
|
|
18161
|
+
* @param {string} jarId
|
|
18162
|
+
* @param {*} [options] Override http request option.
|
|
18163
|
+
* @throws {RequiredError}
|
|
18164
|
+
*/
|
|
18165
|
+
async retryClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
|
|
18166
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
18167
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18168
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.retryClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
18169
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18170
|
+
},
|
|
17668
18171
|
/**
|
|
17669
18172
|
*
|
|
17670
18173
|
* @summary Set cluster alert disabled or enabled
|
|
@@ -18228,6 +18731,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18228
18731
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.upgradeCluster']?.[localVarOperationServerIndex]?.url;
|
|
18229
18732
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18230
18733
|
},
|
|
18734
|
+
/**
|
|
18735
|
+
*
|
|
18736
|
+
* @summary Upload an immutable JAR version
|
|
18737
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
18738
|
+
* @param {string} orgName
|
|
18739
|
+
* @param {string} clusterName
|
|
18740
|
+
* @param {string} idempotencyKey
|
|
18741
|
+
* @param {string} name
|
|
18742
|
+
* @param {ClusterJarKind} kind
|
|
18743
|
+
* @param {File} file
|
|
18744
|
+
* @param {*} [options] Override http request option.
|
|
18745
|
+
* @throws {RequiredError}
|
|
18746
|
+
*/
|
|
18747
|
+
async uploadClusterJar(engineName: string, orgName: string, clusterName: string, idempotencyKey: string, name: string, kind: ClusterJarKind, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarPackage>> {
|
|
18748
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
|
|
18749
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18750
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.uploadClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
18751
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18752
|
+
},
|
|
18231
18753
|
/**
|
|
18232
18754
|
*
|
|
18233
18755
|
* @summary Validate cluster creation
|
|
@@ -18692,6 +19214,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18692
19214
|
deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
18693
19215
|
return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
|
|
18694
19216
|
},
|
|
19217
|
+
/**
|
|
19218
|
+
*
|
|
19219
|
+
* @summary Delete an unpublished JAR version
|
|
19220
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
19221
|
+
* @param {*} [options] Override http request option.
|
|
19222
|
+
* @throws {RequiredError}
|
|
19223
|
+
*/
|
|
19224
|
+
deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19225
|
+
return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
19226
|
+
},
|
|
18695
19227
|
/**
|
|
18696
19228
|
*
|
|
18697
19229
|
* @summary delete the datasource
|
|
@@ -18962,6 +19494,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18962
19494
|
disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18963
19495
|
return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
18964
19496
|
},
|
|
19497
|
+
/**
|
|
19498
|
+
*
|
|
19499
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
19500
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
19501
|
+
* @param {*} [options] Override http request option.
|
|
19502
|
+
* @throws {RequiredError}
|
|
19503
|
+
*/
|
|
19504
|
+
distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
|
|
19505
|
+
return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
|
|
19506
|
+
},
|
|
18965
19507
|
/**
|
|
18966
19508
|
*
|
|
18967
19509
|
* @summary Restore current cluster or instance
|
|
@@ -18982,6 +19524,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18982
19524
|
downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
18983
19525
|
return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
|
|
18984
19526
|
},
|
|
19527
|
+
/**
|
|
19528
|
+
*
|
|
19529
|
+
* @summary Download the original JAR
|
|
19530
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
19531
|
+
* @param {*} [options] Override http request option.
|
|
19532
|
+
* @throws {RequiredError}
|
|
19533
|
+
*/
|
|
19534
|
+
downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
19535
|
+
return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
19536
|
+
},
|
|
18985
19537
|
/**
|
|
18986
19538
|
*
|
|
18987
19539
|
* @summary Download multiple backup files
|
|
@@ -19163,6 +19715,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19163
19715
|
getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
19164
19716
|
return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
|
|
19165
19717
|
},
|
|
19718
|
+
/**
|
|
19719
|
+
*
|
|
19720
|
+
* @summary Get external JAR capability and configuration
|
|
19721
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
19722
|
+
* @param {*} [options] Override http request option.
|
|
19723
|
+
* @throws {RequiredError}
|
|
19724
|
+
*/
|
|
19725
|
+
getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig> {
|
|
19726
|
+
return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
19727
|
+
},
|
|
19166
19728
|
/**
|
|
19167
19729
|
*
|
|
19168
19730
|
* @summary Get cluster parameter template
|
|
@@ -19671,6 +20233,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19671
20233
|
listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
|
|
19672
20234
|
return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, options).then((request) => request(axios, basePath));
|
|
19673
20235
|
},
|
|
20236
|
+
/**
|
|
20237
|
+
*
|
|
20238
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
20239
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
20240
|
+
* @param {*} [options] Override http request option.
|
|
20241
|
+
* @throws {RequiredError}
|
|
20242
|
+
*/
|
|
20243
|
+
listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList> {
|
|
20244
|
+
return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20245
|
+
},
|
|
19674
20246
|
/**
|
|
19675
20247
|
*
|
|
19676
20248
|
* @summary List restore tasks
|
|
@@ -20567,6 +21139,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20567
21139
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
20568
21140
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20569
21141
|
},
|
|
21142
|
+
/**
|
|
21143
|
+
*
|
|
21144
|
+
* @summary Retry synchronization of published JARs
|
|
21145
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
21146
|
+
* @param {*} [options] Override http request option.
|
|
21147
|
+
* @throws {RequiredError}
|
|
21148
|
+
*/
|
|
21149
|
+
retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
|
|
21150
|
+
return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
21151
|
+
},
|
|
20570
21152
|
/**
|
|
20571
21153
|
*
|
|
20572
21154
|
* @summary Set cluster alert disabled or enabled
|
|
@@ -20926,6 +21508,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20926
21508
|
upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
20927
21509
|
return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20928
21510
|
},
|
|
21511
|
+
/**
|
|
21512
|
+
*
|
|
21513
|
+
* @summary Upload an immutable JAR version
|
|
21514
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
21515
|
+
* @param {*} [options] Override http request option.
|
|
21516
|
+
* @throws {RequiredError}
|
|
21517
|
+
*/
|
|
21518
|
+
uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage> {
|
|
21519
|
+
return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
21520
|
+
},
|
|
20929
21521
|
/**
|
|
20930
21522
|
*
|
|
20931
21523
|
* @summary Validate cluster creation
|
|
@@ -21375,6 +21967,16 @@ export interface SharedApiInterface {
|
|
|
21375
21967
|
*/
|
|
21376
21968
|
deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
21377
21969
|
|
|
21970
|
+
/**
|
|
21971
|
+
*
|
|
21972
|
+
* @summary Delete an unpublished JAR version
|
|
21973
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
21974
|
+
* @param {*} [options] Override http request option.
|
|
21975
|
+
* @throws {RequiredError}
|
|
21976
|
+
* @memberof SharedApiInterface
|
|
21977
|
+
*/
|
|
21978
|
+
deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21979
|
+
|
|
21378
21980
|
/**
|
|
21379
21981
|
*
|
|
21380
21982
|
* @summary delete the datasource
|
|
@@ -21645,6 +22247,16 @@ export interface SharedApiInterface {
|
|
|
21645
22247
|
*/
|
|
21646
22248
|
disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21647
22249
|
|
|
22250
|
+
/**
|
|
22251
|
+
*
|
|
22252
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
22253
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
22254
|
+
* @param {*} [options] Override http request option.
|
|
22255
|
+
* @throws {RequiredError}
|
|
22256
|
+
* @memberof SharedApiInterface
|
|
22257
|
+
*/
|
|
22258
|
+
distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
|
|
22259
|
+
|
|
21648
22260
|
/**
|
|
21649
22261
|
*
|
|
21650
22262
|
* @summary Restore current cluster or instance
|
|
@@ -21665,6 +22277,16 @@ export interface SharedApiInterface {
|
|
|
21665
22277
|
*/
|
|
21666
22278
|
downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
21667
22279
|
|
|
22280
|
+
/**
|
|
22281
|
+
*
|
|
22282
|
+
* @summary Download the original JAR
|
|
22283
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
22284
|
+
* @param {*} [options] Override http request option.
|
|
22285
|
+
* @throws {RequiredError}
|
|
22286
|
+
* @memberof SharedApiInterface
|
|
22287
|
+
*/
|
|
22288
|
+
downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
22289
|
+
|
|
21668
22290
|
/**
|
|
21669
22291
|
*
|
|
21670
22292
|
* @summary Download multiple backup files
|
|
@@ -21846,6 +22468,16 @@ export interface SharedApiInterface {
|
|
|
21846
22468
|
*/
|
|
21847
22469
|
getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
21848
22470
|
|
|
22471
|
+
/**
|
|
22472
|
+
*
|
|
22473
|
+
* @summary Get external JAR capability and configuration
|
|
22474
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
22475
|
+
* @param {*} [options] Override http request option.
|
|
22476
|
+
* @throws {RequiredError}
|
|
22477
|
+
* @memberof SharedApiInterface
|
|
22478
|
+
*/
|
|
22479
|
+
getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig>;
|
|
22480
|
+
|
|
21849
22481
|
/**
|
|
21850
22482
|
*
|
|
21851
22483
|
* @summary Get cluster parameter template
|
|
@@ -22354,6 +22986,16 @@ export interface SharedApiInterface {
|
|
|
22354
22986
|
*/
|
|
22355
22987
|
listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
|
|
22356
22988
|
|
|
22989
|
+
/**
|
|
22990
|
+
*
|
|
22991
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
22992
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
22993
|
+
* @param {*} [options] Override http request option.
|
|
22994
|
+
* @throws {RequiredError}
|
|
22995
|
+
* @memberof SharedApiInterface
|
|
22996
|
+
*/
|
|
22997
|
+
listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList>;
|
|
22998
|
+
|
|
22357
22999
|
/**
|
|
22358
23000
|
*
|
|
22359
23001
|
* @summary List restore tasks
|
|
@@ -23250,6 +23892,16 @@ export interface SharedApiInterface {
|
|
|
23250
23892
|
*/
|
|
23251
23893
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
|
|
23252
23894
|
|
|
23895
|
+
/**
|
|
23896
|
+
*
|
|
23897
|
+
* @summary Retry synchronization of published JARs
|
|
23898
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
23899
|
+
* @param {*} [options] Override http request option.
|
|
23900
|
+
* @throws {RequiredError}
|
|
23901
|
+
* @memberof SharedApiInterface
|
|
23902
|
+
*/
|
|
23903
|
+
retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
|
|
23904
|
+
|
|
23253
23905
|
/**
|
|
23254
23906
|
*
|
|
23255
23907
|
* @summary Set cluster alert disabled or enabled
|
|
@@ -23609,6 +24261,16 @@ export interface SharedApiInterface {
|
|
|
23609
24261
|
*/
|
|
23610
24262
|
upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
23611
24263
|
|
|
24264
|
+
/**
|
|
24265
|
+
*
|
|
24266
|
+
* @summary Upload an immutable JAR version
|
|
24267
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
24268
|
+
* @param {*} [options] Override http request option.
|
|
24269
|
+
* @throws {RequiredError}
|
|
24270
|
+
* @memberof SharedApiInterface
|
|
24271
|
+
*/
|
|
24272
|
+
uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage>;
|
|
24273
|
+
|
|
23612
24274
|
/**
|
|
23613
24275
|
*
|
|
23614
24276
|
* @summary Validate cluster creation
|
|
@@ -24761,6 +25423,41 @@ export interface SharedApiDeleteClusterRequest {
|
|
|
24761
25423
|
readonly force?: boolean
|
|
24762
25424
|
}
|
|
24763
25425
|
|
|
25426
|
+
/**
|
|
25427
|
+
* Request parameters for deleteClusterJar operation in SharedApi.
|
|
25428
|
+
* @export
|
|
25429
|
+
* @interface SharedApiDeleteClusterJarRequest
|
|
25430
|
+
*/
|
|
25431
|
+
export interface SharedApiDeleteClusterJarRequest {
|
|
25432
|
+
/**
|
|
25433
|
+
* Doris or SelectDB engine of the target cluster.
|
|
25434
|
+
* @type {string}
|
|
25435
|
+
* @memberof SharedApiDeleteClusterJar
|
|
25436
|
+
*/
|
|
25437
|
+
readonly engineName: string
|
|
25438
|
+
|
|
25439
|
+
/**
|
|
25440
|
+
*
|
|
25441
|
+
* @type {string}
|
|
25442
|
+
* @memberof SharedApiDeleteClusterJar
|
|
25443
|
+
*/
|
|
25444
|
+
readonly orgName: string
|
|
25445
|
+
|
|
25446
|
+
/**
|
|
25447
|
+
*
|
|
25448
|
+
* @type {string}
|
|
25449
|
+
* @memberof SharedApiDeleteClusterJar
|
|
25450
|
+
*/
|
|
25451
|
+
readonly clusterName: string
|
|
25452
|
+
|
|
25453
|
+
/**
|
|
25454
|
+
*
|
|
25455
|
+
* @type {string}
|
|
25456
|
+
* @memberof SharedApiDeleteClusterJar
|
|
25457
|
+
*/
|
|
25458
|
+
readonly jarId: string
|
|
25459
|
+
}
|
|
25460
|
+
|
|
24764
25461
|
/**
|
|
24765
25462
|
* Request parameters for deleteDataSourceV2 operation in SharedApi.
|
|
24766
25463
|
* @export
|
|
@@ -25524,6 +26221,48 @@ export interface SharedApiDisableConsoleRequest {
|
|
|
25524
26221
|
readonly clusterName: string
|
|
25525
26222
|
}
|
|
25526
26223
|
|
|
26224
|
+
/**
|
|
26225
|
+
* Request parameters for distributeClusterJar operation in SharedApi.
|
|
26226
|
+
* @export
|
|
26227
|
+
* @interface SharedApiDistributeClusterJarRequest
|
|
26228
|
+
*/
|
|
26229
|
+
export interface SharedApiDistributeClusterJarRequest {
|
|
26230
|
+
/**
|
|
26231
|
+
* Doris or SelectDB engine of the target cluster.
|
|
26232
|
+
* @type {string}
|
|
26233
|
+
* @memberof SharedApiDistributeClusterJar
|
|
26234
|
+
*/
|
|
26235
|
+
readonly engineName: string
|
|
26236
|
+
|
|
26237
|
+
/**
|
|
26238
|
+
*
|
|
26239
|
+
* @type {string}
|
|
26240
|
+
* @memberof SharedApiDistributeClusterJar
|
|
26241
|
+
*/
|
|
26242
|
+
readonly orgName: string
|
|
26243
|
+
|
|
26244
|
+
/**
|
|
26245
|
+
*
|
|
26246
|
+
* @type {string}
|
|
26247
|
+
* @memberof SharedApiDistributeClusterJar
|
|
26248
|
+
*/
|
|
26249
|
+
readonly clusterName: string
|
|
26250
|
+
|
|
26251
|
+
/**
|
|
26252
|
+
*
|
|
26253
|
+
* @type {string}
|
|
26254
|
+
* @memberof SharedApiDistributeClusterJar
|
|
26255
|
+
*/
|
|
26256
|
+
readonly jarId: string
|
|
26257
|
+
|
|
26258
|
+
/**
|
|
26259
|
+
*
|
|
26260
|
+
* @type {ClusterJarPublish}
|
|
26261
|
+
* @memberof SharedApiDistributeClusterJar
|
|
26262
|
+
*/
|
|
26263
|
+
readonly clusterJarPublish: ClusterJarPublish
|
|
26264
|
+
}
|
|
26265
|
+
|
|
25527
26266
|
/**
|
|
25528
26267
|
* Request parameters for doRestore operation in SharedApi.
|
|
25529
26268
|
* @export
|
|
@@ -25573,6 +26312,41 @@ export interface SharedApiDownloadBackupRequest {
|
|
|
25573
26312
|
readonly backupId: string
|
|
25574
26313
|
}
|
|
25575
26314
|
|
|
26315
|
+
/**
|
|
26316
|
+
* Request parameters for downloadClusterJar operation in SharedApi.
|
|
26317
|
+
* @export
|
|
26318
|
+
* @interface SharedApiDownloadClusterJarRequest
|
|
26319
|
+
*/
|
|
26320
|
+
export interface SharedApiDownloadClusterJarRequest {
|
|
26321
|
+
/**
|
|
26322
|
+
* Doris or SelectDB engine of the target cluster.
|
|
26323
|
+
* @type {string}
|
|
26324
|
+
* @memberof SharedApiDownloadClusterJar
|
|
26325
|
+
*/
|
|
26326
|
+
readonly engineName: string
|
|
26327
|
+
|
|
26328
|
+
/**
|
|
26329
|
+
*
|
|
26330
|
+
* @type {string}
|
|
26331
|
+
* @memberof SharedApiDownloadClusterJar
|
|
26332
|
+
*/
|
|
26333
|
+
readonly orgName: string
|
|
26334
|
+
|
|
26335
|
+
/**
|
|
26336
|
+
*
|
|
26337
|
+
* @type {string}
|
|
26338
|
+
* @memberof SharedApiDownloadClusterJar
|
|
26339
|
+
*/
|
|
26340
|
+
readonly clusterName: string
|
|
26341
|
+
|
|
26342
|
+
/**
|
|
26343
|
+
*
|
|
26344
|
+
* @type {string}
|
|
26345
|
+
* @memberof SharedApiDownloadClusterJar
|
|
26346
|
+
*/
|
|
26347
|
+
readonly jarId: string
|
|
26348
|
+
}
|
|
26349
|
+
|
|
25576
26350
|
/**
|
|
25577
26351
|
* Request parameters for downloadMultipleBackups operation in SharedApi.
|
|
25578
26352
|
* @export
|
|
@@ -26126,6 +26900,34 @@ export interface SharedApiGetClusterInstanceLogRequest {
|
|
|
26126
26900
|
readonly tailLines?: number
|
|
26127
26901
|
}
|
|
26128
26902
|
|
|
26903
|
+
/**
|
|
26904
|
+
* Request parameters for getClusterJarConfig operation in SharedApi.
|
|
26905
|
+
* @export
|
|
26906
|
+
* @interface SharedApiGetClusterJarConfigRequest
|
|
26907
|
+
*/
|
|
26908
|
+
export interface SharedApiGetClusterJarConfigRequest {
|
|
26909
|
+
/**
|
|
26910
|
+
* Doris or SelectDB engine of the target cluster.
|
|
26911
|
+
* @type {string}
|
|
26912
|
+
* @memberof SharedApiGetClusterJarConfig
|
|
26913
|
+
*/
|
|
26914
|
+
readonly engineName: string
|
|
26915
|
+
|
|
26916
|
+
/**
|
|
26917
|
+
*
|
|
26918
|
+
* @type {string}
|
|
26919
|
+
* @memberof SharedApiGetClusterJarConfig
|
|
26920
|
+
*/
|
|
26921
|
+
readonly orgName: string
|
|
26922
|
+
|
|
26923
|
+
/**
|
|
26924
|
+
*
|
|
26925
|
+
* @type {string}
|
|
26926
|
+
* @memberof SharedApiGetClusterJarConfig
|
|
26927
|
+
*/
|
|
26928
|
+
readonly clusterName: string
|
|
26929
|
+
}
|
|
26930
|
+
|
|
26129
26931
|
/**
|
|
26130
26932
|
* Request parameters for getClusterParameterTemplate operation in SharedApi.
|
|
26131
26933
|
* @export
|
|
@@ -27631,6 +28433,34 @@ export interface SharedApiListClusterRequest {
|
|
|
27631
28433
|
readonly refClusterName?: string
|
|
27632
28434
|
}
|
|
27633
28435
|
|
|
28436
|
+
/**
|
|
28437
|
+
* Request parameters for listClusterJars operation in SharedApi.
|
|
28438
|
+
* @export
|
|
28439
|
+
* @interface SharedApiListClusterJarsRequest
|
|
28440
|
+
*/
|
|
28441
|
+
export interface SharedApiListClusterJarsRequest {
|
|
28442
|
+
/**
|
|
28443
|
+
* Doris or SelectDB engine of the target cluster.
|
|
28444
|
+
* @type {string}
|
|
28445
|
+
* @memberof SharedApiListClusterJars
|
|
28446
|
+
*/
|
|
28447
|
+
readonly engineName: string
|
|
28448
|
+
|
|
28449
|
+
/**
|
|
28450
|
+
*
|
|
28451
|
+
* @type {string}
|
|
28452
|
+
* @memberof SharedApiListClusterJars
|
|
28453
|
+
*/
|
|
28454
|
+
readonly orgName: string
|
|
28455
|
+
|
|
28456
|
+
/**
|
|
28457
|
+
*
|
|
28458
|
+
* @type {string}
|
|
28459
|
+
* @memberof SharedApiListClusterJars
|
|
28460
|
+
*/
|
|
28461
|
+
readonly clusterName: string
|
|
28462
|
+
}
|
|
28463
|
+
|
|
27634
28464
|
/**
|
|
27635
28465
|
* Request parameters for listClusterRestore operation in SharedApi.
|
|
27636
28466
|
* @export
|
|
@@ -30235,6 +31065,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
|
|
|
30235
31065
|
readonly clusterName: string
|
|
30236
31066
|
}
|
|
30237
31067
|
|
|
31068
|
+
/**
|
|
31069
|
+
* Request parameters for retryClusterJar operation in SharedApi.
|
|
31070
|
+
* @export
|
|
31071
|
+
* @interface SharedApiRetryClusterJarRequest
|
|
31072
|
+
*/
|
|
31073
|
+
export interface SharedApiRetryClusterJarRequest {
|
|
31074
|
+
/**
|
|
31075
|
+
* Doris or SelectDB engine of the target cluster.
|
|
31076
|
+
* @type {string}
|
|
31077
|
+
* @memberof SharedApiRetryClusterJar
|
|
31078
|
+
*/
|
|
31079
|
+
readonly engineName: string
|
|
31080
|
+
|
|
31081
|
+
/**
|
|
31082
|
+
*
|
|
31083
|
+
* @type {string}
|
|
31084
|
+
* @memberof SharedApiRetryClusterJar
|
|
31085
|
+
*/
|
|
31086
|
+
readonly orgName: string
|
|
31087
|
+
|
|
31088
|
+
/**
|
|
31089
|
+
*
|
|
31090
|
+
* @type {string}
|
|
31091
|
+
* @memberof SharedApiRetryClusterJar
|
|
31092
|
+
*/
|
|
31093
|
+
readonly clusterName: string
|
|
31094
|
+
|
|
31095
|
+
/**
|
|
31096
|
+
*
|
|
31097
|
+
* @type {string}
|
|
31098
|
+
* @memberof SharedApiRetryClusterJar
|
|
31099
|
+
*/
|
|
31100
|
+
readonly jarId: string
|
|
31101
|
+
}
|
|
31102
|
+
|
|
30238
31103
|
/**
|
|
30239
31104
|
* Request parameters for setClusterAlertDisabled operation in SharedApi.
|
|
30240
31105
|
* @export
|
|
@@ -31411,6 +32276,62 @@ export interface SharedApiUpgradeClusterRequest {
|
|
|
31411
32276
|
readonly body: OpsUpgrade
|
|
31412
32277
|
}
|
|
31413
32278
|
|
|
32279
|
+
/**
|
|
32280
|
+
* Request parameters for uploadClusterJar operation in SharedApi.
|
|
32281
|
+
* @export
|
|
32282
|
+
* @interface SharedApiUploadClusterJarRequest
|
|
32283
|
+
*/
|
|
32284
|
+
export interface SharedApiUploadClusterJarRequest {
|
|
32285
|
+
/**
|
|
32286
|
+
* Doris or SelectDB engine of the target cluster.
|
|
32287
|
+
* @type {string}
|
|
32288
|
+
* @memberof SharedApiUploadClusterJar
|
|
32289
|
+
*/
|
|
32290
|
+
readonly engineName: string
|
|
32291
|
+
|
|
32292
|
+
/**
|
|
32293
|
+
*
|
|
32294
|
+
* @type {string}
|
|
32295
|
+
* @memberof SharedApiUploadClusterJar
|
|
32296
|
+
*/
|
|
32297
|
+
readonly orgName: string
|
|
32298
|
+
|
|
32299
|
+
/**
|
|
32300
|
+
*
|
|
32301
|
+
* @type {string}
|
|
32302
|
+
* @memberof SharedApiUploadClusterJar
|
|
32303
|
+
*/
|
|
32304
|
+
readonly clusterName: string
|
|
32305
|
+
|
|
32306
|
+
/**
|
|
32307
|
+
*
|
|
32308
|
+
* @type {string}
|
|
32309
|
+
* @memberof SharedApiUploadClusterJar
|
|
32310
|
+
*/
|
|
32311
|
+
readonly idempotencyKey: string
|
|
32312
|
+
|
|
32313
|
+
/**
|
|
32314
|
+
*
|
|
32315
|
+
* @type {string}
|
|
32316
|
+
* @memberof SharedApiUploadClusterJar
|
|
32317
|
+
*/
|
|
32318
|
+
readonly name: string
|
|
32319
|
+
|
|
32320
|
+
/**
|
|
32321
|
+
*
|
|
32322
|
+
* @type {ClusterJarKind}
|
|
32323
|
+
* @memberof SharedApiUploadClusterJar
|
|
32324
|
+
*/
|
|
32325
|
+
readonly kind: ClusterJarKind
|
|
32326
|
+
|
|
32327
|
+
/**
|
|
32328
|
+
*
|
|
32329
|
+
* @type {File}
|
|
32330
|
+
* @memberof SharedApiUploadClusterJar
|
|
32331
|
+
*/
|
|
32332
|
+
readonly file: File
|
|
32333
|
+
}
|
|
32334
|
+
|
|
31414
32335
|
/**
|
|
31415
32336
|
* Request parameters for validateClusterCreation operation in SharedApi.
|
|
31416
32337
|
* @export
|
|
@@ -31987,6 +32908,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31987
32908
|
return SharedApiFp(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
|
|
31988
32909
|
}
|
|
31989
32910
|
|
|
32911
|
+
/**
|
|
32912
|
+
*
|
|
32913
|
+
* @summary Delete an unpublished JAR version
|
|
32914
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
32915
|
+
* @param {*} [options] Override http request option.
|
|
32916
|
+
* @throws {RequiredError}
|
|
32917
|
+
* @memberof SharedApi
|
|
32918
|
+
*/
|
|
32919
|
+
public deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
32920
|
+
return SharedApiFp(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
32921
|
+
}
|
|
32922
|
+
|
|
31990
32923
|
/**
|
|
31991
32924
|
*
|
|
31992
32925
|
* @summary delete the datasource
|
|
@@ -32311,6 +33244,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32311
33244
|
return SharedApiFp(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
32312
33245
|
}
|
|
32313
33246
|
|
|
33247
|
+
/**
|
|
33248
|
+
*
|
|
33249
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
33250
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
33251
|
+
* @param {*} [options] Override http request option.
|
|
33252
|
+
* @throws {RequiredError}
|
|
33253
|
+
* @memberof SharedApi
|
|
33254
|
+
*/
|
|
33255
|
+
public distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
33256
|
+
return SharedApiFp(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
|
|
33257
|
+
}
|
|
33258
|
+
|
|
32314
33259
|
/**
|
|
32315
33260
|
*
|
|
32316
33261
|
* @summary Restore current cluster or instance
|
|
@@ -32335,6 +33280,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32335
33280
|
return SharedApiFp(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
|
|
32336
33281
|
}
|
|
32337
33282
|
|
|
33283
|
+
/**
|
|
33284
|
+
*
|
|
33285
|
+
* @summary Download the original JAR
|
|
33286
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
33287
|
+
* @param {*} [options] Override http request option.
|
|
33288
|
+
* @throws {RequiredError}
|
|
33289
|
+
* @memberof SharedApi
|
|
33290
|
+
*/
|
|
33291
|
+
public downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
33292
|
+
return SharedApiFp(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
33293
|
+
}
|
|
33294
|
+
|
|
32338
33295
|
/**
|
|
32339
33296
|
*
|
|
32340
33297
|
* @summary Download multiple backup files
|
|
@@ -32552,6 +33509,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32552
33509
|
return 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));
|
|
32553
33510
|
}
|
|
32554
33511
|
|
|
33512
|
+
/**
|
|
33513
|
+
*
|
|
33514
|
+
* @summary Get external JAR capability and configuration
|
|
33515
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
33516
|
+
* @param {*} [options] Override http request option.
|
|
33517
|
+
* @throws {RequiredError}
|
|
33518
|
+
* @memberof SharedApi
|
|
33519
|
+
*/
|
|
33520
|
+
public getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig) {
|
|
33521
|
+
return SharedApiFp(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
33522
|
+
}
|
|
33523
|
+
|
|
32555
33524
|
/**
|
|
32556
33525
|
*
|
|
32557
33526
|
* @summary Get cluster parameter template
|
|
@@ -33162,6 +34131,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33162
34131
|
return SharedApiFp(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, options).then((request) => request(this.axios, this.basePath));
|
|
33163
34132
|
}
|
|
33164
34133
|
|
|
34134
|
+
/**
|
|
34135
|
+
*
|
|
34136
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
34137
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
34138
|
+
* @param {*} [options] Override http request option.
|
|
34139
|
+
* @throws {RequiredError}
|
|
34140
|
+
* @memberof SharedApi
|
|
34141
|
+
*/
|
|
34142
|
+
public listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig) {
|
|
34143
|
+
return SharedApiFp(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
34144
|
+
}
|
|
34145
|
+
|
|
33165
34146
|
/**
|
|
33166
34147
|
*
|
|
33167
34148
|
* @summary List restore tasks
|
|
@@ -34238,6 +35219,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34238
35219
|
return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
34239
35220
|
}
|
|
34240
35221
|
|
|
35222
|
+
/**
|
|
35223
|
+
*
|
|
35224
|
+
* @summary Retry synchronization of published JARs
|
|
35225
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
35226
|
+
* @param {*} [options] Override http request option.
|
|
35227
|
+
* @throws {RequiredError}
|
|
35228
|
+
* @memberof SharedApi
|
|
35229
|
+
*/
|
|
35230
|
+
public retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
35231
|
+
return SharedApiFp(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
35232
|
+
}
|
|
35233
|
+
|
|
34241
35234
|
/**
|
|
34242
35235
|
*
|
|
34243
35236
|
* @summary Set cluster alert disabled or enabled
|
|
@@ -34669,6 +35662,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34669
35662
|
return SharedApiFp(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
34670
35663
|
}
|
|
34671
35664
|
|
|
35665
|
+
/**
|
|
35666
|
+
*
|
|
35667
|
+
* @summary Upload an immutable JAR version
|
|
35668
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
35669
|
+
* @param {*} [options] Override http request option.
|
|
35670
|
+
* @throws {RequiredError}
|
|
35671
|
+
* @memberof SharedApi
|
|
35672
|
+
*/
|
|
35673
|
+
public uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
35674
|
+
return 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));
|
|
35675
|
+
}
|
|
35676
|
+
|
|
34672
35677
|
/**
|
|
34673
35678
|
*
|
|
34674
35679
|
* @summary Validate cluster creation
|