kb-cloud-client-typescript 2.2.131 → 2.2.133
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
|
@@ -90,6 +90,18 @@ import type { ClusterExecutionLog } from '../models';
|
|
|
90
90
|
// @ts-ignore
|
|
91
91
|
import type { ClusterExecutionLogAggregateResponse } from '../models';
|
|
92
92
|
// @ts-ignore
|
|
93
|
+
import type { ClusterJarConfig } from '../models';
|
|
94
|
+
// @ts-ignore
|
|
95
|
+
import type { ClusterJarKind } from '../models';
|
|
96
|
+
// @ts-ignore
|
|
97
|
+
import type { ClusterJarList } from '../models';
|
|
98
|
+
// @ts-ignore
|
|
99
|
+
import type { ClusterJarPackage } from '../models';
|
|
100
|
+
// @ts-ignore
|
|
101
|
+
import type { ClusterJarPublish } from '../models';
|
|
102
|
+
// @ts-ignore
|
|
103
|
+
import type { ClusterJarTask } from '../models';
|
|
104
|
+
// @ts-ignore
|
|
93
105
|
import type { ClusterList } from '../models';
|
|
94
106
|
// @ts-ignore
|
|
95
107
|
import type { ClusterLogHitsResponse } from '../models';
|
|
@@ -2706,6 +2718,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2706
2718
|
|
|
2707
2719
|
|
|
2708
2720
|
|
|
2721
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2722
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2723
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2724
|
+
|
|
2725
|
+
return {
|
|
2726
|
+
url: toPathString(localVarUrlObj),
|
|
2727
|
+
options: localVarRequestOptions,
|
|
2728
|
+
};
|
|
2729
|
+
},
|
|
2730
|
+
/**
|
|
2731
|
+
*
|
|
2732
|
+
* @summary Delete an unpublished JAR version
|
|
2733
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
2734
|
+
* @param {string} orgName
|
|
2735
|
+
* @param {string} clusterName
|
|
2736
|
+
* @param {string} jarId
|
|
2737
|
+
* @param {*} [options] Override http request option.
|
|
2738
|
+
* @throws {RequiredError}
|
|
2739
|
+
*/
|
|
2740
|
+
deleteClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2741
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2742
|
+
assertParamExists('deleteClusterJar', 'engineName', engineName)
|
|
2743
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2744
|
+
assertParamExists('deleteClusterJar', 'orgName', orgName)
|
|
2745
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2746
|
+
assertParamExists('deleteClusterJar', 'clusterName', clusterName)
|
|
2747
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
2748
|
+
assertParamExists('deleteClusterJar', 'jarId', jarId)
|
|
2749
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
|
|
2750
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2751
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2752
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2753
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
2754
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2755
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2756
|
+
let baseOptions;
|
|
2757
|
+
if (configuration) {
|
|
2758
|
+
baseOptions = configuration.baseOptions;
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2761
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2762
|
+
const localVarHeaderParameter = {} as any;
|
|
2763
|
+
const localVarQueryParameter = {} as any;
|
|
2764
|
+
|
|
2765
|
+
// authentication BearerToken required
|
|
2766
|
+
// http bearer authentication required
|
|
2767
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2768
|
+
|
|
2769
|
+
// authentication DigestAuth required
|
|
2770
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
|
|
2709
2774
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2710
2775
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2711
2776
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4157,6 +4222,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4157
4222
|
options: localVarRequestOptions,
|
|
4158
4223
|
};
|
|
4159
4224
|
},
|
|
4225
|
+
/**
|
|
4226
|
+
*
|
|
4227
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
4228
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
4229
|
+
* @param {string} orgName
|
|
4230
|
+
* @param {string} clusterName
|
|
4231
|
+
* @param {string} jarId
|
|
4232
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
4233
|
+
* @param {*} [options] Override http request option.
|
|
4234
|
+
* @throws {RequiredError}
|
|
4235
|
+
*/
|
|
4236
|
+
distributeClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4237
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4238
|
+
assertParamExists('distributeClusterJar', 'engineName', engineName)
|
|
4239
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4240
|
+
assertParamExists('distributeClusterJar', 'orgName', orgName)
|
|
4241
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4242
|
+
assertParamExists('distributeClusterJar', 'clusterName', clusterName)
|
|
4243
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
4244
|
+
assertParamExists('distributeClusterJar', 'jarId', jarId)
|
|
4245
|
+
// verify required parameter 'clusterJarPublish' is not null or undefined
|
|
4246
|
+
assertParamExists('distributeClusterJar', 'clusterJarPublish', clusterJarPublish)
|
|
4247
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
|
|
4248
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4249
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4250
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4251
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
4252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4254
|
+
let baseOptions;
|
|
4255
|
+
if (configuration) {
|
|
4256
|
+
baseOptions = configuration.baseOptions;
|
|
4257
|
+
}
|
|
4258
|
+
|
|
4259
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4260
|
+
const localVarHeaderParameter = {} as any;
|
|
4261
|
+
const localVarQueryParameter = {} as any;
|
|
4262
|
+
|
|
4263
|
+
// authentication BearerToken required
|
|
4264
|
+
// http bearer authentication required
|
|
4265
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4266
|
+
|
|
4267
|
+
// authentication DigestAuth required
|
|
4268
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4269
|
+
|
|
4270
|
+
|
|
4271
|
+
|
|
4272
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4273
|
+
|
|
4274
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4275
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4276
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4277
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterJarPublish, localVarRequestOptions, configuration)
|
|
4278
|
+
|
|
4279
|
+
return {
|
|
4280
|
+
url: toPathString(localVarUrlObj),
|
|
4281
|
+
options: localVarRequestOptions,
|
|
4282
|
+
};
|
|
4283
|
+
},
|
|
4160
4284
|
/**
|
|
4161
4285
|
*
|
|
4162
4286
|
* @summary Restore current cluster or instance
|
|
@@ -4244,6 +4368,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4244
4368
|
|
|
4245
4369
|
|
|
4246
4370
|
|
|
4371
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4372
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4373
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4374
|
+
|
|
4375
|
+
return {
|
|
4376
|
+
url: toPathString(localVarUrlObj),
|
|
4377
|
+
options: localVarRequestOptions,
|
|
4378
|
+
};
|
|
4379
|
+
},
|
|
4380
|
+
/**
|
|
4381
|
+
*
|
|
4382
|
+
* @summary Download the original JAR
|
|
4383
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
4384
|
+
* @param {string} orgName
|
|
4385
|
+
* @param {string} clusterName
|
|
4386
|
+
* @param {string} jarId
|
|
4387
|
+
* @param {*} [options] Override http request option.
|
|
4388
|
+
* @throws {RequiredError}
|
|
4389
|
+
*/
|
|
4390
|
+
downloadClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4391
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4392
|
+
assertParamExists('downloadClusterJar', 'engineName', engineName)
|
|
4393
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4394
|
+
assertParamExists('downloadClusterJar', 'orgName', orgName)
|
|
4395
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4396
|
+
assertParamExists('downloadClusterJar', 'clusterName', clusterName)
|
|
4397
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
4398
|
+
assertParamExists('downloadClusterJar', 'jarId', jarId)
|
|
4399
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
|
|
4400
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4401
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4402
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4403
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
4404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4405
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4406
|
+
let baseOptions;
|
|
4407
|
+
if (configuration) {
|
|
4408
|
+
baseOptions = configuration.baseOptions;
|
|
4409
|
+
}
|
|
4410
|
+
|
|
4411
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4412
|
+
const localVarHeaderParameter = {} as any;
|
|
4413
|
+
const localVarQueryParameter = {} as any;
|
|
4414
|
+
|
|
4415
|
+
// authentication BearerToken required
|
|
4416
|
+
// http bearer authentication required
|
|
4417
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4418
|
+
|
|
4419
|
+
// authentication DigestAuth required
|
|
4420
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4421
|
+
|
|
4422
|
+
|
|
4423
|
+
|
|
4247
4424
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4248
4425
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4249
4426
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5351,6 +5528,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5351
5528
|
|
|
5352
5529
|
|
|
5353
5530
|
|
|
5531
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5532
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5533
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5534
|
+
|
|
5535
|
+
return {
|
|
5536
|
+
url: toPathString(localVarUrlObj),
|
|
5537
|
+
options: localVarRequestOptions,
|
|
5538
|
+
};
|
|
5539
|
+
},
|
|
5540
|
+
/**
|
|
5541
|
+
*
|
|
5542
|
+
* @summary Get external JAR capability and configuration
|
|
5543
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
5544
|
+
* @param {string} orgName
|
|
5545
|
+
* @param {string} clusterName
|
|
5546
|
+
* @param {*} [options] Override http request option.
|
|
5547
|
+
* @throws {RequiredError}
|
|
5548
|
+
*/
|
|
5549
|
+
getClusterJarConfig: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5550
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
5551
|
+
assertParamExists('getClusterJarConfig', 'engineName', engineName)
|
|
5552
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
5553
|
+
assertParamExists('getClusterJarConfig', 'orgName', orgName)
|
|
5554
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
5555
|
+
assertParamExists('getClusterJarConfig', 'clusterName', clusterName)
|
|
5556
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
|
|
5557
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
5558
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
5559
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
5560
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5561
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5562
|
+
let baseOptions;
|
|
5563
|
+
if (configuration) {
|
|
5564
|
+
baseOptions = configuration.baseOptions;
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5567
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5568
|
+
const localVarHeaderParameter = {} as any;
|
|
5569
|
+
const localVarQueryParameter = {} as any;
|
|
5570
|
+
|
|
5571
|
+
// authentication BearerToken required
|
|
5572
|
+
// http bearer authentication required
|
|
5573
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5574
|
+
|
|
5575
|
+
// authentication DigestAuth required
|
|
5576
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
5577
|
+
|
|
5578
|
+
|
|
5579
|
+
|
|
5354
5580
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5355
5581
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5356
5582
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7891,18 +8117,22 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7891
8117
|
},
|
|
7892
8118
|
/**
|
|
7893
8119
|
*
|
|
7894
|
-
* @summary List
|
|
7895
|
-
* @param {string}
|
|
7896
|
-
* @param {string}
|
|
8120
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
8121
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
8122
|
+
* @param {string} orgName
|
|
8123
|
+
* @param {string} clusterName
|
|
7897
8124
|
* @param {*} [options] Override http request option.
|
|
7898
8125
|
* @throws {RequiredError}
|
|
7899
8126
|
*/
|
|
7900
|
-
|
|
8127
|
+
listClusterJars: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8128
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
8129
|
+
assertParamExists('listClusterJars', 'engineName', engineName)
|
|
7901
8130
|
// verify required parameter 'orgName' is not null or undefined
|
|
7902
|
-
assertParamExists('
|
|
8131
|
+
assertParamExists('listClusterJars', 'orgName', orgName)
|
|
7903
8132
|
// verify required parameter 'clusterName' is not null or undefined
|
|
7904
|
-
assertParamExists('
|
|
7905
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
8133
|
+
assertParamExists('listClusterJars', 'clusterName', clusterName)
|
|
8134
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
8135
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
7906
8136
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7907
8137
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7908
8138
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7936,18 +8166,18 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7936
8166
|
},
|
|
7937
8167
|
/**
|
|
7938
8168
|
*
|
|
7939
|
-
* @summary
|
|
8169
|
+
* @summary List restore tasks
|
|
7940
8170
|
* @param {string} orgName name of the Org
|
|
7941
|
-
* @param {string} clusterName name of the cluster
|
|
8171
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
7942
8172
|
* @param {*} [options] Override http request option.
|
|
7943
8173
|
* @throws {RequiredError}
|
|
7944
8174
|
*/
|
|
7945
|
-
|
|
8175
|
+
listClusterRestore: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7946
8176
|
// verify required parameter 'orgName' is not null or undefined
|
|
7947
|
-
assertParamExists('
|
|
8177
|
+
assertParamExists('listClusterRestore', 'orgName', orgName)
|
|
7948
8178
|
// verify required parameter 'clusterName' is not null or undefined
|
|
7949
|
-
assertParamExists('
|
|
7950
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
8179
|
+
assertParamExists('listClusterRestore', 'clusterName', clusterName)
|
|
8180
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/restore`
|
|
7951
8181
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7952
8182
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7953
8183
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -7980,23 +8210,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7980
8210
|
};
|
|
7981
8211
|
},
|
|
7982
8212
|
/**
|
|
7983
|
-
*
|
|
7984
|
-
* @summary
|
|
7985
|
-
* @param {string} engineName name of the engine
|
|
8213
|
+
*
|
|
8214
|
+
* @summary list the datasource of a cluster
|
|
7986
8215
|
* @param {string} orgName name of the Org
|
|
7987
|
-
* @param {string} clusterName name of the
|
|
8216
|
+
* @param {string} clusterName name of the cluster
|
|
7988
8217
|
* @param {*} [options] Override http request option.
|
|
7989
8218
|
* @throws {RequiredError}
|
|
7990
8219
|
*/
|
|
7991
|
-
|
|
7992
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
7993
|
-
assertParamExists('listDatabases', 'engineName', engineName)
|
|
8220
|
+
listDataSourceV2: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7994
8221
|
// verify required parameter 'orgName' is not null or undefined
|
|
7995
|
-
assertParamExists('
|
|
8222
|
+
assertParamExists('listDataSourceV2', 'orgName', orgName)
|
|
7996
8223
|
// verify required parameter 'clusterName' is not null or undefined
|
|
7997
|
-
assertParamExists('
|
|
7998
|
-
const localVarPath = `/api/v1/
|
|
7999
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
8224
|
+
assertParamExists('listDataSourceV2', 'clusterName', clusterName)
|
|
8225
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource`
|
|
8000
8226
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8001
8227
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8002
8228
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8029,19 +8255,23 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8029
8255
|
};
|
|
8030
8256
|
},
|
|
8031
8257
|
/**
|
|
8032
|
-
*
|
|
8033
|
-
* @summary List
|
|
8034
|
-
* @param {string}
|
|
8035
|
-
* @param {string}
|
|
8258
|
+
* list databases for rdbms engine cluster
|
|
8259
|
+
* @summary List cluster databases
|
|
8260
|
+
* @param {string} engineName name of the engine
|
|
8261
|
+
* @param {string} orgName name of the Org
|
|
8262
|
+
* @param {string} clusterName name of the Cluster
|
|
8036
8263
|
* @param {*} [options] Override http request option.
|
|
8037
8264
|
* @throws {RequiredError}
|
|
8038
8265
|
*/
|
|
8039
|
-
|
|
8266
|
+
listDatabases: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8267
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
8268
|
+
assertParamExists('listDatabases', 'engineName', engineName)
|
|
8040
8269
|
// verify required parameter 'orgName' is not null or undefined
|
|
8041
|
-
assertParamExists('
|
|
8270
|
+
assertParamExists('listDatabases', 'orgName', orgName)
|
|
8042
8271
|
// verify required parameter 'clusterName' is not null or undefined
|
|
8043
|
-
assertParamExists('
|
|
8044
|
-
const localVarPath = `/api/v1/data/
|
|
8272
|
+
assertParamExists('listDatabases', 'clusterName', clusterName)
|
|
8273
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases`
|
|
8274
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
8045
8275
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8046
8276
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8047
8277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8075,18 +8305,18 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8075
8305
|
},
|
|
8076
8306
|
/**
|
|
8077
8307
|
*
|
|
8078
|
-
* @summary List Elasticsearch security
|
|
8308
|
+
* @summary List Elasticsearch security role mappings
|
|
8079
8309
|
* @param {string} orgName
|
|
8080
8310
|
* @param {string} clusterName
|
|
8081
8311
|
* @param {*} [options] Override http request option.
|
|
8082
8312
|
* @throws {RequiredError}
|
|
8083
8313
|
*/
|
|
8084
|
-
|
|
8314
|
+
listElasticsearchSecurityRoleMappings: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8085
8315
|
// verify required parameter 'orgName' is not null or undefined
|
|
8086
|
-
assertParamExists('
|
|
8316
|
+
assertParamExists('listElasticsearchSecurityRoleMappings', 'orgName', orgName)
|
|
8087
8317
|
// verify required parameter 'clusterName' is not null or undefined
|
|
8088
|
-
assertParamExists('
|
|
8089
|
-
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/
|
|
8318
|
+
assertParamExists('listElasticsearchSecurityRoleMappings', 'clusterName', clusterName)
|
|
8319
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings`
|
|
8090
8320
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8091
8321
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8092
8322
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -8120,18 +8350,63 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8120
8350
|
},
|
|
8121
8351
|
/**
|
|
8122
8352
|
*
|
|
8123
|
-
* @summary List Elasticsearch security
|
|
8353
|
+
* @summary List Elasticsearch security roles
|
|
8124
8354
|
* @param {string} orgName
|
|
8125
8355
|
* @param {string} clusterName
|
|
8126
8356
|
* @param {*} [options] Override http request option.
|
|
8127
8357
|
* @throws {RequiredError}
|
|
8128
8358
|
*/
|
|
8129
|
-
|
|
8359
|
+
listElasticsearchSecurityRoles: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8130
8360
|
// verify required parameter 'orgName' is not null or undefined
|
|
8131
|
-
assertParamExists('
|
|
8361
|
+
assertParamExists('listElasticsearchSecurityRoles', 'orgName', orgName)
|
|
8132
8362
|
// verify required parameter 'clusterName' is not null or undefined
|
|
8133
|
-
assertParamExists('
|
|
8134
|
-
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
8363
|
+
assertParamExists('listElasticsearchSecurityRoles', 'clusterName', clusterName)
|
|
8364
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles`
|
|
8365
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8366
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8367
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8368
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8369
|
+
let baseOptions;
|
|
8370
|
+
if (configuration) {
|
|
8371
|
+
baseOptions = configuration.baseOptions;
|
|
8372
|
+
}
|
|
8373
|
+
|
|
8374
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8375
|
+
const localVarHeaderParameter = {} as any;
|
|
8376
|
+
const localVarQueryParameter = {} as any;
|
|
8377
|
+
|
|
8378
|
+
// authentication BearerToken required
|
|
8379
|
+
// http bearer authentication required
|
|
8380
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8381
|
+
|
|
8382
|
+
// authentication DigestAuth required
|
|
8383
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
8384
|
+
|
|
8385
|
+
|
|
8386
|
+
|
|
8387
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8389
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8390
|
+
|
|
8391
|
+
return {
|
|
8392
|
+
url: toPathString(localVarUrlObj),
|
|
8393
|
+
options: localVarRequestOptions,
|
|
8394
|
+
};
|
|
8395
|
+
},
|
|
8396
|
+
/**
|
|
8397
|
+
*
|
|
8398
|
+
* @summary List Elasticsearch security users
|
|
8399
|
+
* @param {string} orgName
|
|
8400
|
+
* @param {string} clusterName
|
|
8401
|
+
* @param {*} [options] Override http request option.
|
|
8402
|
+
* @throws {RequiredError}
|
|
8403
|
+
*/
|
|
8404
|
+
listElasticsearchSecurityUsers: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8405
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8406
|
+
assertParamExists('listElasticsearchSecurityUsers', 'orgName', orgName)
|
|
8407
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8408
|
+
assertParamExists('listElasticsearchSecurityUsers', 'clusterName', clusterName)
|
|
8409
|
+
const localVarPath = `/api/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
8135
8410
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8136
8411
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
8137
8412
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -12358,6 +12633,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12358
12633
|
|
|
12359
12634
|
|
|
12360
12635
|
|
|
12636
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12637
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12638
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12639
|
+
|
|
12640
|
+
return {
|
|
12641
|
+
url: toPathString(localVarUrlObj),
|
|
12642
|
+
options: localVarRequestOptions,
|
|
12643
|
+
};
|
|
12644
|
+
},
|
|
12645
|
+
/**
|
|
12646
|
+
*
|
|
12647
|
+
* @summary Retry synchronization of published JARs
|
|
12648
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
12649
|
+
* @param {string} orgName
|
|
12650
|
+
* @param {string} clusterName
|
|
12651
|
+
* @param {string} jarId
|
|
12652
|
+
* @param {*} [options] Override http request option.
|
|
12653
|
+
* @throws {RequiredError}
|
|
12654
|
+
*/
|
|
12655
|
+
retryClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12656
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
12657
|
+
assertParamExists('retryClusterJar', 'engineName', engineName)
|
|
12658
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
12659
|
+
assertParamExists('retryClusterJar', 'orgName', orgName)
|
|
12660
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
12661
|
+
assertParamExists('retryClusterJar', 'clusterName', clusterName)
|
|
12662
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
12663
|
+
assertParamExists('retryClusterJar', 'jarId', jarId)
|
|
12664
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
|
|
12665
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
12666
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
12667
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
12668
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
12669
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12670
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12671
|
+
let baseOptions;
|
|
12672
|
+
if (configuration) {
|
|
12673
|
+
baseOptions = configuration.baseOptions;
|
|
12674
|
+
}
|
|
12675
|
+
|
|
12676
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12677
|
+
const localVarHeaderParameter = {} as any;
|
|
12678
|
+
const localVarQueryParameter = {} as any;
|
|
12679
|
+
|
|
12680
|
+
// authentication BearerToken required
|
|
12681
|
+
// http bearer authentication required
|
|
12682
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12683
|
+
|
|
12684
|
+
// authentication DigestAuth required
|
|
12685
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
12686
|
+
|
|
12687
|
+
|
|
12688
|
+
|
|
12361
12689
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12362
12690
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12363
12691
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14592,6 +14920,86 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14592
14920
|
options: localVarRequestOptions,
|
|
14593
14921
|
};
|
|
14594
14922
|
},
|
|
14923
|
+
/**
|
|
14924
|
+
*
|
|
14925
|
+
* @summary Upload an immutable JAR version
|
|
14926
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
14927
|
+
* @param {string} orgName
|
|
14928
|
+
* @param {string} clusterName
|
|
14929
|
+
* @param {string} idempotencyKey
|
|
14930
|
+
* @param {string} name
|
|
14931
|
+
* @param {ClusterJarKind} kind
|
|
14932
|
+
* @param {File} file
|
|
14933
|
+
* @param {*} [options] Override http request option.
|
|
14934
|
+
* @throws {RequiredError}
|
|
14935
|
+
*/
|
|
14936
|
+
uploadClusterJar: async (engineName: string, orgName: string, clusterName: string, idempotencyKey: string, name: string, kind: ClusterJarKind, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14937
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
14938
|
+
assertParamExists('uploadClusterJar', 'engineName', engineName)
|
|
14939
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14940
|
+
assertParamExists('uploadClusterJar', 'orgName', orgName)
|
|
14941
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14942
|
+
assertParamExists('uploadClusterJar', 'clusterName', clusterName)
|
|
14943
|
+
// verify required parameter 'idempotencyKey' is not null or undefined
|
|
14944
|
+
assertParamExists('uploadClusterJar', 'idempotencyKey', idempotencyKey)
|
|
14945
|
+
// verify required parameter 'name' is not null or undefined
|
|
14946
|
+
assertParamExists('uploadClusterJar', 'name', name)
|
|
14947
|
+
// verify required parameter 'kind' is not null or undefined
|
|
14948
|
+
assertParamExists('uploadClusterJar', 'kind', kind)
|
|
14949
|
+
// verify required parameter 'file' is not null or undefined
|
|
14950
|
+
assertParamExists('uploadClusterJar', 'file', file)
|
|
14951
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
14952
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
14953
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14954
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
14955
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14957
|
+
let baseOptions;
|
|
14958
|
+
if (configuration) {
|
|
14959
|
+
baseOptions = configuration.baseOptions;
|
|
14960
|
+
}
|
|
14961
|
+
|
|
14962
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14963
|
+
const localVarHeaderParameter = {} as any;
|
|
14964
|
+
const localVarQueryParameter = {} as any;
|
|
14965
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
14966
|
+
|
|
14967
|
+
// authentication BearerToken required
|
|
14968
|
+
// http bearer authentication required
|
|
14969
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14970
|
+
|
|
14971
|
+
// authentication DigestAuth required
|
|
14972
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14973
|
+
|
|
14974
|
+
|
|
14975
|
+
if (name !== undefined) {
|
|
14976
|
+
localVarFormParams.append('name', name as any);
|
|
14977
|
+
}
|
|
14978
|
+
|
|
14979
|
+
if (kind !== undefined) {
|
|
14980
|
+
localVarFormParams.append('kind', kind as any);
|
|
14981
|
+
}
|
|
14982
|
+
|
|
14983
|
+
if (file !== undefined) {
|
|
14984
|
+
localVarFormParams.append('file', file as any);
|
|
14985
|
+
}
|
|
14986
|
+
|
|
14987
|
+
|
|
14988
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
14989
|
+
|
|
14990
|
+
if (idempotencyKey != null) {
|
|
14991
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
14992
|
+
}
|
|
14993
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14994
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14995
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14996
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
14997
|
+
|
|
14998
|
+
return {
|
|
14999
|
+
url: toPathString(localVarUrlObj),
|
|
15000
|
+
options: localVarRequestOptions,
|
|
15001
|
+
};
|
|
15002
|
+
},
|
|
14595
15003
|
/**
|
|
14596
15004
|
*
|
|
14597
15005
|
* @summary Validate cluster creation
|
|
@@ -15427,6 +15835,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15427
15835
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteCluster']?.[localVarOperationServerIndex]?.url;
|
|
15428
15836
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15429
15837
|
},
|
|
15838
|
+
/**
|
|
15839
|
+
*
|
|
15840
|
+
* @summary Delete an unpublished JAR version
|
|
15841
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15842
|
+
* @param {string} orgName
|
|
15843
|
+
* @param {string} clusterName
|
|
15844
|
+
* @param {string} jarId
|
|
15845
|
+
* @param {*} [options] Override http request option.
|
|
15846
|
+
* @throws {RequiredError}
|
|
15847
|
+
*/
|
|
15848
|
+
async deleteClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
15850
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15851
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
15852
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15853
|
+
},
|
|
15430
15854
|
/**
|
|
15431
15855
|
*
|
|
15432
15856
|
* @summary delete the datasource
|
|
@@ -15863,6 +16287,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15863
16287
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.disableConsole']?.[localVarOperationServerIndex]?.url;
|
|
15864
16288
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15865
16289
|
},
|
|
16290
|
+
/**
|
|
16291
|
+
*
|
|
16292
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
16293
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16294
|
+
* @param {string} orgName
|
|
16295
|
+
* @param {string} clusterName
|
|
16296
|
+
* @param {string} jarId
|
|
16297
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
16298
|
+
* @param {*} [options] Override http request option.
|
|
16299
|
+
* @throws {RequiredError}
|
|
16300
|
+
*/
|
|
16301
|
+
async distributeClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
|
|
16302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
|
|
16303
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16304
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.distributeClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
16305
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16306
|
+
},
|
|
15866
16307
|
/**
|
|
15867
16308
|
*
|
|
15868
16309
|
* @summary Restore current cluster or instance
|
|
@@ -15892,6 +16333,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15892
16333
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadBackup']?.[localVarOperationServerIndex]?.url;
|
|
15893
16334
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15894
16335
|
},
|
|
16336
|
+
/**
|
|
16337
|
+
*
|
|
16338
|
+
* @summary Download the original JAR
|
|
16339
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16340
|
+
* @param {string} orgName
|
|
16341
|
+
* @param {string} clusterName
|
|
16342
|
+
* @param {string} jarId
|
|
16343
|
+
* @param {*} [options] Override http request option.
|
|
16344
|
+
* @throws {RequiredError}
|
|
16345
|
+
*/
|
|
16346
|
+
async downloadClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
16347
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
16348
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16349
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
16350
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16351
|
+
},
|
|
15895
16352
|
/**
|
|
15896
16353
|
*
|
|
15897
16354
|
* @summary Download multiple backup files
|
|
@@ -16218,6 +16675,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16218
16675
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterInstanceLog']?.[localVarOperationServerIndex]?.url;
|
|
16219
16676
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16220
16677
|
},
|
|
16678
|
+
/**
|
|
16679
|
+
*
|
|
16680
|
+
* @summary Get external JAR capability and configuration
|
|
16681
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
16682
|
+
* @param {string} orgName
|
|
16683
|
+
* @param {string} clusterName
|
|
16684
|
+
* @param {*} [options] Override http request option.
|
|
16685
|
+
* @throws {RequiredError}
|
|
16686
|
+
*/
|
|
16687
|
+
async getClusterJarConfig(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarConfig>> {
|
|
16688
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
|
|
16689
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16690
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterJarConfig']?.[localVarOperationServerIndex]?.url;
|
|
16691
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16692
|
+
},
|
|
16221
16693
|
/**
|
|
16222
16694
|
*
|
|
16223
16695
|
* @summary Get cluster parameter template
|
|
@@ -16969,6 +17441,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16969
17441
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listCluster']?.[localVarOperationServerIndex]?.url;
|
|
16970
17442
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16971
17443
|
},
|
|
17444
|
+
/**
|
|
17445
|
+
*
|
|
17446
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
17447
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
17448
|
+
* @param {string} orgName
|
|
17449
|
+
* @param {string} clusterName
|
|
17450
|
+
* @param {*} [options] Override http request option.
|
|
17451
|
+
* @throws {RequiredError}
|
|
17452
|
+
*/
|
|
17453
|
+
async listClusterJars(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarList>> {
|
|
17454
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
|
|
17455
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17456
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterJars']?.[localVarOperationServerIndex]?.url;
|
|
17457
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17458
|
+
},
|
|
16972
17459
|
/**
|
|
16973
17460
|
*
|
|
16974
17461
|
* @summary List restore tasks
|
|
@@ -18282,6 +18769,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18282
18769
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
|
|
18283
18770
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18284
18771
|
},
|
|
18772
|
+
/**
|
|
18773
|
+
*
|
|
18774
|
+
* @summary Retry synchronization of published JARs
|
|
18775
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
18776
|
+
* @param {string} orgName
|
|
18777
|
+
* @param {string} clusterName
|
|
18778
|
+
* @param {string} jarId
|
|
18779
|
+
* @param {*} [options] Override http request option.
|
|
18780
|
+
* @throws {RequiredError}
|
|
18781
|
+
*/
|
|
18782
|
+
async retryClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
|
|
18783
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
18784
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18785
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.retryClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
18786
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18787
|
+
},
|
|
18285
18788
|
/**
|
|
18286
18789
|
*
|
|
18287
18790
|
* @summary Set alert config
|
|
@@ -18936,6 +19439,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18936
19439
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.upgradeCluster']?.[localVarOperationServerIndex]?.url;
|
|
18937
19440
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18938
19441
|
},
|
|
19442
|
+
/**
|
|
19443
|
+
*
|
|
19444
|
+
* @summary Upload an immutable JAR version
|
|
19445
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
19446
|
+
* @param {string} orgName
|
|
19447
|
+
* @param {string} clusterName
|
|
19448
|
+
* @param {string} idempotencyKey
|
|
19449
|
+
* @param {string} name
|
|
19450
|
+
* @param {ClusterJarKind} kind
|
|
19451
|
+
* @param {File} file
|
|
19452
|
+
* @param {*} [options] Override http request option.
|
|
19453
|
+
* @throws {RequiredError}
|
|
19454
|
+
*/
|
|
19455
|
+
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>> {
|
|
19456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
|
|
19457
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19458
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.uploadClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
19459
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19460
|
+
},
|
|
18939
19461
|
/**
|
|
18940
19462
|
*
|
|
18941
19463
|
* @summary Validate cluster creation
|
|
@@ -19431,6 +19953,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19431
19953
|
deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
19432
19954
|
return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
|
|
19433
19955
|
},
|
|
19956
|
+
/**
|
|
19957
|
+
*
|
|
19958
|
+
* @summary Delete an unpublished JAR version
|
|
19959
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
19960
|
+
* @param {*} [options] Override http request option.
|
|
19961
|
+
* @throws {RequiredError}
|
|
19962
|
+
*/
|
|
19963
|
+
deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19964
|
+
return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
19965
|
+
},
|
|
19434
19966
|
/**
|
|
19435
19967
|
*
|
|
19436
19968
|
* @summary delete the datasource
|
|
@@ -19721,6 +20253,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19721
20253
|
disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19722
20254
|
return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
19723
20255
|
},
|
|
20256
|
+
/**
|
|
20257
|
+
*
|
|
20258
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
20259
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
20260
|
+
* @param {*} [options] Override http request option.
|
|
20261
|
+
* @throws {RequiredError}
|
|
20262
|
+
*/
|
|
20263
|
+
distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
|
|
20264
|
+
return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
|
|
20265
|
+
},
|
|
19724
20266
|
/**
|
|
19725
20267
|
*
|
|
19726
20268
|
* @summary Restore current cluster or instance
|
|
@@ -19741,6 +20283,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19741
20283
|
downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
19742
20284
|
return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
|
|
19743
20285
|
},
|
|
20286
|
+
/**
|
|
20287
|
+
*
|
|
20288
|
+
* @summary Download the original JAR
|
|
20289
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
20290
|
+
* @param {*} [options] Override http request option.
|
|
20291
|
+
* @throws {RequiredError}
|
|
20292
|
+
*/
|
|
20293
|
+
downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
20294
|
+
return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
20295
|
+
},
|
|
19744
20296
|
/**
|
|
19745
20297
|
*
|
|
19746
20298
|
* @summary Download multiple backup files
|
|
@@ -19951,6 +20503,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19951
20503
|
getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
19952
20504
|
return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
|
|
19953
20505
|
},
|
|
20506
|
+
/**
|
|
20507
|
+
*
|
|
20508
|
+
* @summary Get external JAR capability and configuration
|
|
20509
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
20510
|
+
* @param {*} [options] Override http request option.
|
|
20511
|
+
* @throws {RequiredError}
|
|
20512
|
+
*/
|
|
20513
|
+
getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig> {
|
|
20514
|
+
return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20515
|
+
},
|
|
19954
20516
|
/**
|
|
19955
20517
|
*
|
|
19956
20518
|
* @summary Get cluster parameter template
|
|
@@ -20440,6 +21002,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20440
21002
|
listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
|
|
20441
21003
|
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));
|
|
20442
21004
|
},
|
|
21005
|
+
/**
|
|
21006
|
+
*
|
|
21007
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
21008
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
21009
|
+
* @param {*} [options] Override http request option.
|
|
21010
|
+
* @throws {RequiredError}
|
|
21011
|
+
*/
|
|
21012
|
+
listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList> {
|
|
21013
|
+
return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21014
|
+
},
|
|
20443
21015
|
/**
|
|
20444
21016
|
*
|
|
20445
21017
|
* @summary List restore tasks
|
|
@@ -21297,6 +21869,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21297
21869
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
21298
21870
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
21299
21871
|
},
|
|
21872
|
+
/**
|
|
21873
|
+
*
|
|
21874
|
+
* @summary Retry synchronization of published JARs
|
|
21875
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
21876
|
+
* @param {*} [options] Override http request option.
|
|
21877
|
+
* @throws {RequiredError}
|
|
21878
|
+
*/
|
|
21879
|
+
retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
|
|
21880
|
+
return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
21881
|
+
},
|
|
21300
21882
|
/**
|
|
21301
21883
|
*
|
|
21302
21884
|
* @summary Set alert config
|
|
@@ -21716,6 +22298,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21716
22298
|
upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
21717
22299
|
return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21718
22300
|
},
|
|
22301
|
+
/**
|
|
22302
|
+
*
|
|
22303
|
+
* @summary Upload an immutable JAR version
|
|
22304
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
22305
|
+
* @param {*} [options] Override http request option.
|
|
22306
|
+
* @throws {RequiredError}
|
|
22307
|
+
*/
|
|
22308
|
+
uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage> {
|
|
22309
|
+
return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
22310
|
+
},
|
|
21719
22311
|
/**
|
|
21720
22312
|
*
|
|
21721
22313
|
* @summary Validate cluster creation
|
|
@@ -22196,6 +22788,16 @@ export interface SharedApiInterface {
|
|
|
22196
22788
|
*/
|
|
22197
22789
|
deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
22198
22790
|
|
|
22791
|
+
/**
|
|
22792
|
+
*
|
|
22793
|
+
* @summary Delete an unpublished JAR version
|
|
22794
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
22795
|
+
* @param {*} [options] Override http request option.
|
|
22796
|
+
* @throws {RequiredError}
|
|
22797
|
+
* @memberof SharedApiInterface
|
|
22798
|
+
*/
|
|
22799
|
+
deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22800
|
+
|
|
22199
22801
|
/**
|
|
22200
22802
|
*
|
|
22201
22803
|
* @summary delete the datasource
|
|
@@ -22486,6 +23088,16 @@ export interface SharedApiInterface {
|
|
|
22486
23088
|
*/
|
|
22487
23089
|
disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22488
23090
|
|
|
23091
|
+
/**
|
|
23092
|
+
*
|
|
23093
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
23094
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
23095
|
+
* @param {*} [options] Override http request option.
|
|
23096
|
+
* @throws {RequiredError}
|
|
23097
|
+
* @memberof SharedApiInterface
|
|
23098
|
+
*/
|
|
23099
|
+
distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
|
|
23100
|
+
|
|
22489
23101
|
/**
|
|
22490
23102
|
*
|
|
22491
23103
|
* @summary Restore current cluster or instance
|
|
@@ -22506,6 +23118,16 @@ export interface SharedApiInterface {
|
|
|
22506
23118
|
*/
|
|
22507
23119
|
downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
22508
23120
|
|
|
23121
|
+
/**
|
|
23122
|
+
*
|
|
23123
|
+
* @summary Download the original JAR
|
|
23124
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
23125
|
+
* @param {*} [options] Override http request option.
|
|
23126
|
+
* @throws {RequiredError}
|
|
23127
|
+
* @memberof SharedApiInterface
|
|
23128
|
+
*/
|
|
23129
|
+
downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
23130
|
+
|
|
22509
23131
|
/**
|
|
22510
23132
|
*
|
|
22511
23133
|
* @summary Download multiple backup files
|
|
@@ -22716,6 +23338,16 @@ export interface SharedApiInterface {
|
|
|
22716
23338
|
*/
|
|
22717
23339
|
getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
22718
23340
|
|
|
23341
|
+
/**
|
|
23342
|
+
*
|
|
23343
|
+
* @summary Get external JAR capability and configuration
|
|
23344
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
23345
|
+
* @param {*} [options] Override http request option.
|
|
23346
|
+
* @throws {RequiredError}
|
|
23347
|
+
* @memberof SharedApiInterface
|
|
23348
|
+
*/
|
|
23349
|
+
getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig>;
|
|
23350
|
+
|
|
22719
23351
|
/**
|
|
22720
23352
|
*
|
|
22721
23353
|
* @summary Get cluster parameter template
|
|
@@ -23205,6 +23837,16 @@ export interface SharedApiInterface {
|
|
|
23205
23837
|
*/
|
|
23206
23838
|
listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
|
|
23207
23839
|
|
|
23840
|
+
/**
|
|
23841
|
+
*
|
|
23842
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
23843
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
23844
|
+
* @param {*} [options] Override http request option.
|
|
23845
|
+
* @throws {RequiredError}
|
|
23846
|
+
* @memberof SharedApiInterface
|
|
23847
|
+
*/
|
|
23848
|
+
listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList>;
|
|
23849
|
+
|
|
23208
23850
|
/**
|
|
23209
23851
|
*
|
|
23210
23852
|
* @summary List restore tasks
|
|
@@ -24062,6 +24704,16 @@ export interface SharedApiInterface {
|
|
|
24062
24704
|
*/
|
|
24063
24705
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
|
|
24064
24706
|
|
|
24707
|
+
/**
|
|
24708
|
+
*
|
|
24709
|
+
* @summary Retry synchronization of published JARs
|
|
24710
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
24711
|
+
* @param {*} [options] Override http request option.
|
|
24712
|
+
* @throws {RequiredError}
|
|
24713
|
+
* @memberof SharedApiInterface
|
|
24714
|
+
*/
|
|
24715
|
+
retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
|
|
24716
|
+
|
|
24065
24717
|
/**
|
|
24066
24718
|
*
|
|
24067
24719
|
* @summary Set alert config
|
|
@@ -24481,6 +25133,16 @@ export interface SharedApiInterface {
|
|
|
24481
25133
|
*/
|
|
24482
25134
|
upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
24483
25135
|
|
|
25136
|
+
/**
|
|
25137
|
+
*
|
|
25138
|
+
* @summary Upload an immutable JAR version
|
|
25139
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
25140
|
+
* @param {*} [options] Override http request option.
|
|
25141
|
+
* @throws {RequiredError}
|
|
25142
|
+
* @memberof SharedApiInterface
|
|
25143
|
+
*/
|
|
25144
|
+
uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage>;
|
|
25145
|
+
|
|
24484
25146
|
/**
|
|
24485
25147
|
*
|
|
24486
25148
|
* @summary Validate cluster creation
|
|
@@ -25864,6 +26526,41 @@ export interface SharedApiDeleteClusterRequest {
|
|
|
25864
26526
|
readonly force?: boolean
|
|
25865
26527
|
}
|
|
25866
26528
|
|
|
26529
|
+
/**
|
|
26530
|
+
* Request parameters for deleteClusterJar operation in SharedApi.
|
|
26531
|
+
* @export
|
|
26532
|
+
* @interface SharedApiDeleteClusterJarRequest
|
|
26533
|
+
*/
|
|
26534
|
+
export interface SharedApiDeleteClusterJarRequest {
|
|
26535
|
+
/**
|
|
26536
|
+
* Doris or SelectDB engine of the target cluster.
|
|
26537
|
+
* @type {string}
|
|
26538
|
+
* @memberof SharedApiDeleteClusterJar
|
|
26539
|
+
*/
|
|
26540
|
+
readonly engineName: string
|
|
26541
|
+
|
|
26542
|
+
/**
|
|
26543
|
+
*
|
|
26544
|
+
* @type {string}
|
|
26545
|
+
* @memberof SharedApiDeleteClusterJar
|
|
26546
|
+
*/
|
|
26547
|
+
readonly orgName: string
|
|
26548
|
+
|
|
26549
|
+
/**
|
|
26550
|
+
*
|
|
26551
|
+
* @type {string}
|
|
26552
|
+
* @memberof SharedApiDeleteClusterJar
|
|
26553
|
+
*/
|
|
26554
|
+
readonly clusterName: string
|
|
26555
|
+
|
|
26556
|
+
/**
|
|
26557
|
+
*
|
|
26558
|
+
* @type {string}
|
|
26559
|
+
* @memberof SharedApiDeleteClusterJar
|
|
26560
|
+
*/
|
|
26561
|
+
readonly jarId: string
|
|
26562
|
+
}
|
|
26563
|
+
|
|
25867
26564
|
/**
|
|
25868
26565
|
* Request parameters for deleteDataSourceV2 operation in SharedApi.
|
|
25869
26566
|
* @export
|
|
@@ -26683,6 +27380,48 @@ export interface SharedApiDisableConsoleRequest {
|
|
|
26683
27380
|
readonly clusterName: string
|
|
26684
27381
|
}
|
|
26685
27382
|
|
|
27383
|
+
/**
|
|
27384
|
+
* Request parameters for distributeClusterJar operation in SharedApi.
|
|
27385
|
+
* @export
|
|
27386
|
+
* @interface SharedApiDistributeClusterJarRequest
|
|
27387
|
+
*/
|
|
27388
|
+
export interface SharedApiDistributeClusterJarRequest {
|
|
27389
|
+
/**
|
|
27390
|
+
* Doris or SelectDB engine of the target cluster.
|
|
27391
|
+
* @type {string}
|
|
27392
|
+
* @memberof SharedApiDistributeClusterJar
|
|
27393
|
+
*/
|
|
27394
|
+
readonly engineName: string
|
|
27395
|
+
|
|
27396
|
+
/**
|
|
27397
|
+
*
|
|
27398
|
+
* @type {string}
|
|
27399
|
+
* @memberof SharedApiDistributeClusterJar
|
|
27400
|
+
*/
|
|
27401
|
+
readonly orgName: string
|
|
27402
|
+
|
|
27403
|
+
/**
|
|
27404
|
+
*
|
|
27405
|
+
* @type {string}
|
|
27406
|
+
* @memberof SharedApiDistributeClusterJar
|
|
27407
|
+
*/
|
|
27408
|
+
readonly clusterName: string
|
|
27409
|
+
|
|
27410
|
+
/**
|
|
27411
|
+
*
|
|
27412
|
+
* @type {string}
|
|
27413
|
+
* @memberof SharedApiDistributeClusterJar
|
|
27414
|
+
*/
|
|
27415
|
+
readonly jarId: string
|
|
27416
|
+
|
|
27417
|
+
/**
|
|
27418
|
+
*
|
|
27419
|
+
* @type {ClusterJarPublish}
|
|
27420
|
+
* @memberof SharedApiDistributeClusterJar
|
|
27421
|
+
*/
|
|
27422
|
+
readonly clusterJarPublish: ClusterJarPublish
|
|
27423
|
+
}
|
|
27424
|
+
|
|
26686
27425
|
/**
|
|
26687
27426
|
* Request parameters for doRestore operation in SharedApi.
|
|
26688
27427
|
* @export
|
|
@@ -26732,6 +27471,41 @@ export interface SharedApiDownloadBackupRequest {
|
|
|
26732
27471
|
readonly backupId: string
|
|
26733
27472
|
}
|
|
26734
27473
|
|
|
27474
|
+
/**
|
|
27475
|
+
* Request parameters for downloadClusterJar operation in SharedApi.
|
|
27476
|
+
* @export
|
|
27477
|
+
* @interface SharedApiDownloadClusterJarRequest
|
|
27478
|
+
*/
|
|
27479
|
+
export interface SharedApiDownloadClusterJarRequest {
|
|
27480
|
+
/**
|
|
27481
|
+
* Doris or SelectDB engine of the target cluster.
|
|
27482
|
+
* @type {string}
|
|
27483
|
+
* @memberof SharedApiDownloadClusterJar
|
|
27484
|
+
*/
|
|
27485
|
+
readonly engineName: string
|
|
27486
|
+
|
|
27487
|
+
/**
|
|
27488
|
+
*
|
|
27489
|
+
* @type {string}
|
|
27490
|
+
* @memberof SharedApiDownloadClusterJar
|
|
27491
|
+
*/
|
|
27492
|
+
readonly orgName: string
|
|
27493
|
+
|
|
27494
|
+
/**
|
|
27495
|
+
*
|
|
27496
|
+
* @type {string}
|
|
27497
|
+
* @memberof SharedApiDownloadClusterJar
|
|
27498
|
+
*/
|
|
27499
|
+
readonly clusterName: string
|
|
27500
|
+
|
|
27501
|
+
/**
|
|
27502
|
+
*
|
|
27503
|
+
* @type {string}
|
|
27504
|
+
* @memberof SharedApiDownloadClusterJar
|
|
27505
|
+
*/
|
|
27506
|
+
readonly jarId: string
|
|
27507
|
+
}
|
|
27508
|
+
|
|
26735
27509
|
/**
|
|
26736
27510
|
* Request parameters for downloadMultipleBackups operation in SharedApi.
|
|
26737
27511
|
* @export
|
|
@@ -27397,6 +28171,34 @@ export interface SharedApiGetClusterInstanceLogRequest {
|
|
|
27397
28171
|
readonly tailLines?: number
|
|
27398
28172
|
}
|
|
27399
28173
|
|
|
28174
|
+
/**
|
|
28175
|
+
* Request parameters for getClusterJarConfig operation in SharedApi.
|
|
28176
|
+
* @export
|
|
28177
|
+
* @interface SharedApiGetClusterJarConfigRequest
|
|
28178
|
+
*/
|
|
28179
|
+
export interface SharedApiGetClusterJarConfigRequest {
|
|
28180
|
+
/**
|
|
28181
|
+
* Doris or SelectDB engine of the target cluster.
|
|
28182
|
+
* @type {string}
|
|
28183
|
+
* @memberof SharedApiGetClusterJarConfig
|
|
28184
|
+
*/
|
|
28185
|
+
readonly engineName: string
|
|
28186
|
+
|
|
28187
|
+
/**
|
|
28188
|
+
*
|
|
28189
|
+
* @type {string}
|
|
28190
|
+
* @memberof SharedApiGetClusterJarConfig
|
|
28191
|
+
*/
|
|
28192
|
+
readonly orgName: string
|
|
28193
|
+
|
|
28194
|
+
/**
|
|
28195
|
+
*
|
|
28196
|
+
* @type {string}
|
|
28197
|
+
* @memberof SharedApiGetClusterJarConfig
|
|
28198
|
+
*/
|
|
28199
|
+
readonly clusterName: string
|
|
28200
|
+
}
|
|
28201
|
+
|
|
27400
28202
|
/**
|
|
27401
28203
|
* Request parameters for getClusterParameterTemplate operation in SharedApi.
|
|
27402
28204
|
* @export
|
|
@@ -28888,6 +29690,34 @@ export interface SharedApiListClusterRequest {
|
|
|
28888
29690
|
readonly refClusterName?: string
|
|
28889
29691
|
}
|
|
28890
29692
|
|
|
29693
|
+
/**
|
|
29694
|
+
* Request parameters for listClusterJars operation in SharedApi.
|
|
29695
|
+
* @export
|
|
29696
|
+
* @interface SharedApiListClusterJarsRequest
|
|
29697
|
+
*/
|
|
29698
|
+
export interface SharedApiListClusterJarsRequest {
|
|
29699
|
+
/**
|
|
29700
|
+
* Doris or SelectDB engine of the target cluster.
|
|
29701
|
+
* @type {string}
|
|
29702
|
+
* @memberof SharedApiListClusterJars
|
|
29703
|
+
*/
|
|
29704
|
+
readonly engineName: string
|
|
29705
|
+
|
|
29706
|
+
/**
|
|
29707
|
+
*
|
|
29708
|
+
* @type {string}
|
|
29709
|
+
* @memberof SharedApiListClusterJars
|
|
29710
|
+
*/
|
|
29711
|
+
readonly orgName: string
|
|
29712
|
+
|
|
29713
|
+
/**
|
|
29714
|
+
*
|
|
29715
|
+
* @type {string}
|
|
29716
|
+
* @memberof SharedApiListClusterJars
|
|
29717
|
+
*/
|
|
29718
|
+
readonly clusterName: string
|
|
29719
|
+
}
|
|
29720
|
+
|
|
28891
29721
|
/**
|
|
28892
29722
|
* Request parameters for listClusterRestore operation in SharedApi.
|
|
28893
29723
|
* @export
|
|
@@ -31422,6 +32252,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
|
|
|
31422
32252
|
readonly clusterName: string
|
|
31423
32253
|
}
|
|
31424
32254
|
|
|
32255
|
+
/**
|
|
32256
|
+
* Request parameters for retryClusterJar operation in SharedApi.
|
|
32257
|
+
* @export
|
|
32258
|
+
* @interface SharedApiRetryClusterJarRequest
|
|
32259
|
+
*/
|
|
32260
|
+
export interface SharedApiRetryClusterJarRequest {
|
|
32261
|
+
/**
|
|
32262
|
+
* Doris or SelectDB engine of the target cluster.
|
|
32263
|
+
* @type {string}
|
|
32264
|
+
* @memberof SharedApiRetryClusterJar
|
|
32265
|
+
*/
|
|
32266
|
+
readonly engineName: string
|
|
32267
|
+
|
|
32268
|
+
/**
|
|
32269
|
+
*
|
|
32270
|
+
* @type {string}
|
|
32271
|
+
* @memberof SharedApiRetryClusterJar
|
|
32272
|
+
*/
|
|
32273
|
+
readonly orgName: string
|
|
32274
|
+
|
|
32275
|
+
/**
|
|
32276
|
+
*
|
|
32277
|
+
* @type {string}
|
|
32278
|
+
* @memberof SharedApiRetryClusterJar
|
|
32279
|
+
*/
|
|
32280
|
+
readonly clusterName: string
|
|
32281
|
+
|
|
32282
|
+
/**
|
|
32283
|
+
*
|
|
32284
|
+
* @type {string}
|
|
32285
|
+
* @memberof SharedApiRetryClusterJar
|
|
32286
|
+
*/
|
|
32287
|
+
readonly jarId: string
|
|
32288
|
+
}
|
|
32289
|
+
|
|
31425
32290
|
/**
|
|
31426
32291
|
* Request parameters for setAlertConfig operation in SharedApi.
|
|
31427
32292
|
* @export
|
|
@@ -32773,6 +33638,62 @@ export interface SharedApiUpgradeClusterRequest {
|
|
|
32773
33638
|
readonly body: OpsUpgrade
|
|
32774
33639
|
}
|
|
32775
33640
|
|
|
33641
|
+
/**
|
|
33642
|
+
* Request parameters for uploadClusterJar operation in SharedApi.
|
|
33643
|
+
* @export
|
|
33644
|
+
* @interface SharedApiUploadClusterJarRequest
|
|
33645
|
+
*/
|
|
33646
|
+
export interface SharedApiUploadClusterJarRequest {
|
|
33647
|
+
/**
|
|
33648
|
+
* Doris or SelectDB engine of the target cluster.
|
|
33649
|
+
* @type {string}
|
|
33650
|
+
* @memberof SharedApiUploadClusterJar
|
|
33651
|
+
*/
|
|
33652
|
+
readonly engineName: string
|
|
33653
|
+
|
|
33654
|
+
/**
|
|
33655
|
+
*
|
|
33656
|
+
* @type {string}
|
|
33657
|
+
* @memberof SharedApiUploadClusterJar
|
|
33658
|
+
*/
|
|
33659
|
+
readonly orgName: string
|
|
33660
|
+
|
|
33661
|
+
/**
|
|
33662
|
+
*
|
|
33663
|
+
* @type {string}
|
|
33664
|
+
* @memberof SharedApiUploadClusterJar
|
|
33665
|
+
*/
|
|
33666
|
+
readonly clusterName: string
|
|
33667
|
+
|
|
33668
|
+
/**
|
|
33669
|
+
*
|
|
33670
|
+
* @type {string}
|
|
33671
|
+
* @memberof SharedApiUploadClusterJar
|
|
33672
|
+
*/
|
|
33673
|
+
readonly idempotencyKey: string
|
|
33674
|
+
|
|
33675
|
+
/**
|
|
33676
|
+
*
|
|
33677
|
+
* @type {string}
|
|
33678
|
+
* @memberof SharedApiUploadClusterJar
|
|
33679
|
+
*/
|
|
33680
|
+
readonly name: string
|
|
33681
|
+
|
|
33682
|
+
/**
|
|
33683
|
+
*
|
|
33684
|
+
* @type {ClusterJarKind}
|
|
33685
|
+
* @memberof SharedApiUploadClusterJar
|
|
33686
|
+
*/
|
|
33687
|
+
readonly kind: ClusterJarKind
|
|
33688
|
+
|
|
33689
|
+
/**
|
|
33690
|
+
*
|
|
33691
|
+
* @type {File}
|
|
33692
|
+
* @memberof SharedApiUploadClusterJar
|
|
33693
|
+
*/
|
|
33694
|
+
readonly file: File
|
|
33695
|
+
}
|
|
33696
|
+
|
|
32776
33697
|
/**
|
|
32777
33698
|
* Request parameters for validateClusterCreation operation in SharedApi.
|
|
32778
33699
|
* @export
|
|
@@ -33386,6 +34307,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33386
34307
|
return SharedApiFp(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
|
|
33387
34308
|
}
|
|
33388
34309
|
|
|
34310
|
+
/**
|
|
34311
|
+
*
|
|
34312
|
+
* @summary Delete an unpublished JAR version
|
|
34313
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
34314
|
+
* @param {*} [options] Override http request option.
|
|
34315
|
+
* @throws {RequiredError}
|
|
34316
|
+
* @memberof SharedApi
|
|
34317
|
+
*/
|
|
34318
|
+
public deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
34319
|
+
return SharedApiFp(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
34320
|
+
}
|
|
34321
|
+
|
|
33389
34322
|
/**
|
|
33390
34323
|
*
|
|
33391
34324
|
* @summary delete the datasource
|
|
@@ -33734,6 +34667,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33734
34667
|
return SharedApiFp(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
33735
34668
|
}
|
|
33736
34669
|
|
|
34670
|
+
/**
|
|
34671
|
+
*
|
|
34672
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
34673
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
34674
|
+
* @param {*} [options] Override http request option.
|
|
34675
|
+
* @throws {RequiredError}
|
|
34676
|
+
* @memberof SharedApi
|
|
34677
|
+
*/
|
|
34678
|
+
public distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
34679
|
+
return SharedApiFp(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
|
|
34680
|
+
}
|
|
34681
|
+
|
|
33737
34682
|
/**
|
|
33738
34683
|
*
|
|
33739
34684
|
* @summary Restore current cluster or instance
|
|
@@ -33758,6 +34703,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33758
34703
|
return SharedApiFp(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
|
|
33759
34704
|
}
|
|
33760
34705
|
|
|
34706
|
+
/**
|
|
34707
|
+
*
|
|
34708
|
+
* @summary Download the original JAR
|
|
34709
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
34710
|
+
* @param {*} [options] Override http request option.
|
|
34711
|
+
* @throws {RequiredError}
|
|
34712
|
+
* @memberof SharedApi
|
|
34713
|
+
*/
|
|
34714
|
+
public downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
34715
|
+
return SharedApiFp(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
34716
|
+
}
|
|
34717
|
+
|
|
33761
34718
|
/**
|
|
33762
34719
|
*
|
|
33763
34720
|
* @summary Download multiple backup files
|
|
@@ -34010,6 +34967,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34010
34967
|
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));
|
|
34011
34968
|
}
|
|
34012
34969
|
|
|
34970
|
+
/**
|
|
34971
|
+
*
|
|
34972
|
+
* @summary Get external JAR capability and configuration
|
|
34973
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
34974
|
+
* @param {*} [options] Override http request option.
|
|
34975
|
+
* @throws {RequiredError}
|
|
34976
|
+
* @memberof SharedApi
|
|
34977
|
+
*/
|
|
34978
|
+
public getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig) {
|
|
34979
|
+
return SharedApiFp(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
34980
|
+
}
|
|
34981
|
+
|
|
34013
34982
|
/**
|
|
34014
34983
|
*
|
|
34015
34984
|
* @summary Get cluster parameter template
|
|
@@ -34597,6 +35566,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34597
35566
|
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));
|
|
34598
35567
|
}
|
|
34599
35568
|
|
|
35569
|
+
/**
|
|
35570
|
+
*
|
|
35571
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
35572
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
35573
|
+
* @param {*} [options] Override http request option.
|
|
35574
|
+
* @throws {RequiredError}
|
|
35575
|
+
* @memberof SharedApi
|
|
35576
|
+
*/
|
|
35577
|
+
public listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig) {
|
|
35578
|
+
return SharedApiFp(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
35579
|
+
}
|
|
35580
|
+
|
|
34600
35581
|
/**
|
|
34601
35582
|
*
|
|
34602
35583
|
* @summary List restore tasks
|
|
@@ -35626,6 +36607,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
35626
36607
|
return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
35627
36608
|
}
|
|
35628
36609
|
|
|
36610
|
+
/**
|
|
36611
|
+
*
|
|
36612
|
+
* @summary Retry synchronization of published JARs
|
|
36613
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
36614
|
+
* @param {*} [options] Override http request option.
|
|
36615
|
+
* @throws {RequiredError}
|
|
36616
|
+
* @memberof SharedApi
|
|
36617
|
+
*/
|
|
36618
|
+
public retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
36619
|
+
return SharedApiFp(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
36620
|
+
}
|
|
36621
|
+
|
|
35629
36622
|
/**
|
|
35630
36623
|
*
|
|
35631
36624
|
* @summary Set alert config
|
|
@@ -36129,6 +37122,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
36129
37122
|
return SharedApiFp(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36130
37123
|
}
|
|
36131
37124
|
|
|
37125
|
+
/**
|
|
37126
|
+
*
|
|
37127
|
+
* @summary Upload an immutable JAR version
|
|
37128
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
37129
|
+
* @param {*} [options] Override http request option.
|
|
37130
|
+
* @throws {RequiredError}
|
|
37131
|
+
* @memberof SharedApi
|
|
37132
|
+
*/
|
|
37133
|
+
public uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
37134
|
+
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));
|
|
37135
|
+
}
|
|
37136
|
+
|
|
36132
37137
|
/**
|
|
36133
37138
|
*
|
|
36134
37139
|
* @summary Validate cluster creation
|