kb-cloud-client-typescript 2.4.0-alpha.69 → 2.4.0-alpha.70
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/apis/cluster-jar-api.d.ts +0 -79
- package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-jar-api.js +0 -84
- package/dist/adminapi/apis/cluster-jar-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +0 -79
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +0 -84
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/cluster-jar-package.d.ts +0 -6
- package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -1
- package/dist/adminapi/models/dms-pagination.d.ts +36 -0
- package/dist/adminapi/models/dms-pagination.d.ts.map +1 -1
- package/dist/adminapi/models/show-data-request.d.ts +13 -1
- package/dist/adminapi/models/show-data-request.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.d.ts +0 -79
- package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.js +0 -84
- package/dist/openapi/apis/cluster-jar-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +0 -79
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +0 -84
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/cluster-jar-package.d.ts +0 -6
- package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -1
- package/dist/openapi/models/dms-pagination.d.ts +36 -0
- package/dist/openapi/models/dms-pagination.d.ts.map +1 -1
- package/dist/openapi/models/show-data-request.d.ts +13 -1
- package/dist/openapi/models/show-data-request.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/cluster-jar-api.ts +0 -136
- package/src/adminapi/apis/shared-api.ts +0 -136
- package/src/adminapi/models/cluster-jar-package.ts +0 -6
- package/src/adminapi/models/dms-pagination.ts +36 -0
- package/src/adminapi/models/show-data-request.ts +13 -1
- package/src/adminapi.yaml +40 -48
- package/src/openapi/apis/cluster-jar-api.ts +0 -136
- package/src/openapi/apis/shared-api.ts +0 -136
- package/src/openapi/models/cluster-jar-package.ts +0 -6
- package/src/openapi/models/dms-pagination.ts +36 -0
- package/src/openapi/models/show-data-request.ts +13 -1
- package/src/openapi.yaml +40 -48
|
@@ -41,59 +41,6 @@ import type { ClusterJarTask } from '../models';
|
|
|
41
41
|
*/
|
|
42
42
|
export const ClusterJarApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
43
43
|
return {
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
47
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
48
|
-
* @param {string} orgName
|
|
49
|
-
* @param {string} clusterName
|
|
50
|
-
* @param {string} jarId
|
|
51
|
-
* @param {*} [options] Override http request option.
|
|
52
|
-
* @throws {RequiredError}
|
|
53
|
-
*/
|
|
54
|
-
archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
56
|
-
assertParamExists('archiveClusterJar', 'engineName', engineName)
|
|
57
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
58
|
-
assertParamExists('archiveClusterJar', 'orgName', orgName)
|
|
59
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
60
|
-
assertParamExists('archiveClusterJar', 'clusterName', clusterName)
|
|
61
|
-
// verify required parameter 'jarId' is not null or undefined
|
|
62
|
-
assertParamExists('archiveClusterJar', 'jarId', jarId)
|
|
63
|
-
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
64
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
65
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
66
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
67
|
-
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
68
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70
|
-
let baseOptions;
|
|
71
|
-
if (configuration) {
|
|
72
|
-
baseOptions = configuration.baseOptions;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
76
|
-
const localVarHeaderParameter = {} as any;
|
|
77
|
-
const localVarQueryParameter = {} as any;
|
|
78
|
-
|
|
79
|
-
// authentication BearerToken required
|
|
80
|
-
// http bearer authentication required
|
|
81
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
82
|
-
|
|
83
|
-
// authentication DigestAuth required
|
|
84
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
89
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
91
|
-
|
|
92
|
-
return {
|
|
93
|
-
url: toPathString(localVarUrlObj),
|
|
94
|
-
options: localVarRequestOptions,
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
44
|
/**
|
|
98
45
|
*
|
|
99
46
|
* @summary Delete an unpublished JAR version
|
|
@@ -500,22 +447,6 @@ export const ClusterJarApiAxiosParamCreator = function (configuration?: Configur
|
|
|
500
447
|
export const ClusterJarApiFp = function(configuration?: Configuration) {
|
|
501
448
|
const localVarAxiosParamCreator = ClusterJarApiAxiosParamCreator(configuration)
|
|
502
449
|
return {
|
|
503
|
-
/**
|
|
504
|
-
*
|
|
505
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
506
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
507
|
-
* @param {string} orgName
|
|
508
|
-
* @param {string} clusterName
|
|
509
|
-
* @param {string} jarId
|
|
510
|
-
* @param {*} [options] Override http request option.
|
|
511
|
-
* @throws {RequiredError}
|
|
512
|
-
*/
|
|
513
|
-
async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
514
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
515
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
516
|
-
const localVarOperationServerBasePath = operationServerMap['ClusterJarApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
517
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
518
|
-
},
|
|
519
450
|
/**
|
|
520
451
|
*
|
|
521
452
|
* @summary Delete an unpublished JAR version
|
|
@@ -640,16 +571,6 @@ export const ClusterJarApiFp = function(configuration?: Configuration) {
|
|
|
640
571
|
export const ClusterJarApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
641
572
|
const localVarFp = ClusterJarApiFp(configuration)
|
|
642
573
|
return {
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
646
|
-
* @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
647
|
-
* @param {*} [options] Override http request option.
|
|
648
|
-
* @throws {RequiredError}
|
|
649
|
-
*/
|
|
650
|
-
archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
651
|
-
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
652
|
-
},
|
|
653
574
|
/**
|
|
654
575
|
*
|
|
655
576
|
* @summary Delete an unpublished JAR version
|
|
@@ -729,16 +650,6 @@ export const ClusterJarApiFactory = function (configuration?: Configuration, bas
|
|
|
729
650
|
* @interface ClusterJarApi
|
|
730
651
|
*/
|
|
731
652
|
export interface ClusterJarApiInterface {
|
|
732
|
-
/**
|
|
733
|
-
*
|
|
734
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
735
|
-
* @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
736
|
-
* @param {*} [options] Override http request option.
|
|
737
|
-
* @throws {RequiredError}
|
|
738
|
-
* @memberof ClusterJarApiInterface
|
|
739
|
-
*/
|
|
740
|
-
archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
741
|
-
|
|
742
653
|
/**
|
|
743
654
|
*
|
|
744
655
|
* @summary Delete an unpublished JAR version
|
|
@@ -811,41 +722,6 @@ export interface ClusterJarApiInterface {
|
|
|
811
722
|
|
|
812
723
|
}
|
|
813
724
|
|
|
814
|
-
/**
|
|
815
|
-
* Request parameters for archiveClusterJar operation in ClusterJarApi.
|
|
816
|
-
* @export
|
|
817
|
-
* @interface ClusterJarApiArchiveClusterJarRequest
|
|
818
|
-
*/
|
|
819
|
-
export interface ClusterJarApiArchiveClusterJarRequest {
|
|
820
|
-
/**
|
|
821
|
-
* Doris or SelectDB engine of the target cluster.
|
|
822
|
-
* @type {string}
|
|
823
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
824
|
-
*/
|
|
825
|
-
readonly engineName: string
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
*
|
|
829
|
-
* @type {string}
|
|
830
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
831
|
-
*/
|
|
832
|
-
readonly orgName: string
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
*
|
|
836
|
-
* @type {string}
|
|
837
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
838
|
-
*/
|
|
839
|
-
readonly clusterName: string
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
*
|
|
843
|
-
* @type {string}
|
|
844
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
845
|
-
*/
|
|
846
|
-
readonly jarId: string
|
|
847
|
-
}
|
|
848
|
-
|
|
849
725
|
/**
|
|
850
726
|
* Request parameters for deleteClusterJar operation in ClusterJarApi.
|
|
851
727
|
* @export
|
|
@@ -1112,18 +988,6 @@ export interface ClusterJarApiUploadClusterJarRequest {
|
|
|
1112
988
|
* @extends {BaseAPI}
|
|
1113
989
|
*/
|
|
1114
990
|
export class ClusterJarApi extends BaseAPI implements ClusterJarApiInterface {
|
|
1115
|
-
/**
|
|
1116
|
-
*
|
|
1117
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
1118
|
-
* @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
1119
|
-
* @param {*} [options] Override http request option.
|
|
1120
|
-
* @throws {RequiredError}
|
|
1121
|
-
* @memberof ClusterJarApi
|
|
1122
|
-
*/
|
|
1123
|
-
public archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
1124
|
-
return ClusterJarApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
991
|
/**
|
|
1128
992
|
*
|
|
1129
993
|
* @summary Delete an unpublished JAR version
|
|
@@ -803,59 +803,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
803
803
|
options: localVarRequestOptions,
|
|
804
804
|
};
|
|
805
805
|
},
|
|
806
|
-
/**
|
|
807
|
-
*
|
|
808
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
809
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
810
|
-
* @param {string} orgName
|
|
811
|
-
* @param {string} clusterName
|
|
812
|
-
* @param {string} jarId
|
|
813
|
-
* @param {*} [options] Override http request option.
|
|
814
|
-
* @throws {RequiredError}
|
|
815
|
-
*/
|
|
816
|
-
archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
817
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
818
|
-
assertParamExists('archiveClusterJar', 'engineName', engineName)
|
|
819
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
820
|
-
assertParamExists('archiveClusterJar', 'orgName', orgName)
|
|
821
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
822
|
-
assertParamExists('archiveClusterJar', 'clusterName', clusterName)
|
|
823
|
-
// verify required parameter 'jarId' is not null or undefined
|
|
824
|
-
assertParamExists('archiveClusterJar', 'jarId', jarId)
|
|
825
|
-
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
826
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
827
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
828
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
829
|
-
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
830
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
831
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
832
|
-
let baseOptions;
|
|
833
|
-
if (configuration) {
|
|
834
|
-
baseOptions = configuration.baseOptions;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
838
|
-
const localVarHeaderParameter = {} as any;
|
|
839
|
-
const localVarQueryParameter = {} as any;
|
|
840
|
-
|
|
841
|
-
// authentication BearerToken required
|
|
842
|
-
// http bearer authentication required
|
|
843
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
844
|
-
|
|
845
|
-
// authentication DigestAuth required
|
|
846
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
851
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
852
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
853
|
-
|
|
854
|
-
return {
|
|
855
|
-
url: toPathString(localVarUrlObj),
|
|
856
|
-
options: localVarRequestOptions,
|
|
857
|
-
};
|
|
858
|
-
},
|
|
859
806
|
/**
|
|
860
807
|
* Batch add permissions to a role
|
|
861
808
|
* @summary Batch add permissions to a role
|
|
@@ -17977,22 +17924,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17977
17924
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
|
|
17978
17925
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17979
17926
|
},
|
|
17980
|
-
/**
|
|
17981
|
-
*
|
|
17982
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
17983
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
17984
|
-
* @param {string} orgName
|
|
17985
|
-
* @param {string} clusterName
|
|
17986
|
-
* @param {string} jarId
|
|
17987
|
-
* @param {*} [options] Override http request option.
|
|
17988
|
-
* @throws {RequiredError}
|
|
17989
|
-
*/
|
|
17990
|
-
async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17991
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
17992
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17993
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
17994
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17995
|
-
},
|
|
17996
17927
|
/**
|
|
17997
17928
|
* Batch add permissions to a role
|
|
17998
17929
|
* @summary Batch add permissions to a role
|
|
@@ -22978,16 +22909,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22978
22909
|
alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
22979
22910
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
22980
22911
|
},
|
|
22981
|
-
/**
|
|
22982
|
-
*
|
|
22983
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
22984
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
22985
|
-
* @param {*} [options] Override http request option.
|
|
22986
|
-
* @throws {RequiredError}
|
|
22987
|
-
*/
|
|
22988
|
-
archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22989
|
-
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
22990
|
-
},
|
|
22991
22912
|
/**
|
|
22992
22913
|
* Batch add permissions to a role
|
|
22993
22914
|
* @summary Batch add permissions to a role
|
|
@@ -26142,16 +26063,6 @@ export interface SharedApiInterface {
|
|
|
26142
26063
|
*/
|
|
26143
26064
|
alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
26144
26065
|
|
|
26145
|
-
/**
|
|
26146
|
-
*
|
|
26147
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
26148
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
26149
|
-
* @param {*} [options] Override http request option.
|
|
26150
|
-
* @throws {RequiredError}
|
|
26151
|
-
* @memberof SharedApiInterface
|
|
26152
|
-
*/
|
|
26153
|
-
archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26154
|
-
|
|
26155
26066
|
/**
|
|
26156
26067
|
* Batch add permissions to a role
|
|
26157
26068
|
* @summary Batch add permissions to a role
|
|
@@ -29581,41 +29492,6 @@ export interface SharedApiAlterParameterRequest {
|
|
|
29581
29492
|
readonly dmsObAlterParameter: DmsObAlterParameter
|
|
29582
29493
|
}
|
|
29583
29494
|
|
|
29584
|
-
/**
|
|
29585
|
-
* Request parameters for archiveClusterJar operation in SharedApi.
|
|
29586
|
-
* @export
|
|
29587
|
-
* @interface SharedApiArchiveClusterJarRequest
|
|
29588
|
-
*/
|
|
29589
|
-
export interface SharedApiArchiveClusterJarRequest {
|
|
29590
|
-
/**
|
|
29591
|
-
* Doris or SelectDB engine of the target cluster.
|
|
29592
|
-
* @type {string}
|
|
29593
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29594
|
-
*/
|
|
29595
|
-
readonly engineName: string
|
|
29596
|
-
|
|
29597
|
-
/**
|
|
29598
|
-
*
|
|
29599
|
-
* @type {string}
|
|
29600
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29601
|
-
*/
|
|
29602
|
-
readonly orgName: string
|
|
29603
|
-
|
|
29604
|
-
/**
|
|
29605
|
-
*
|
|
29606
|
-
* @type {string}
|
|
29607
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29608
|
-
*/
|
|
29609
|
-
readonly clusterName: string
|
|
29610
|
-
|
|
29611
|
-
/**
|
|
29612
|
-
*
|
|
29613
|
-
* @type {string}
|
|
29614
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29615
|
-
*/
|
|
29616
|
-
readonly jarId: string
|
|
29617
|
-
}
|
|
29618
|
-
|
|
29619
29495
|
/**
|
|
29620
29496
|
* Request parameters for batchAddRolePermissions operation in SharedApi.
|
|
29621
29497
|
* @export
|
|
@@ -40248,18 +40124,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40248
40124
|
return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
40249
40125
|
}
|
|
40250
40126
|
|
|
40251
|
-
/**
|
|
40252
|
-
*
|
|
40253
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
40254
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
40255
|
-
* @param {*} [options] Override http request option.
|
|
40256
|
-
* @throws {RequiredError}
|
|
40257
|
-
* @memberof SharedApi
|
|
40258
|
-
*/
|
|
40259
|
-
public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
40260
|
-
return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
40261
|
-
}
|
|
40262
|
-
|
|
40263
40127
|
/**
|
|
40264
40128
|
* Batch add permissions to a role
|
|
40265
40129
|
* @summary Batch add permissions to a role
|
|
@@ -20,6 +20,42 @@
|
|
|
20
20
|
* @interface DmsPagination
|
|
21
21
|
*/
|
|
22
22
|
export interface DmsPagination {
|
|
23
|
+
/**
|
|
24
|
+
* Zero-based offset of this showData page.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DmsPagination
|
|
27
|
+
*/
|
|
28
|
+
'offset'?: number | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof DmsPagination
|
|
33
|
+
*/
|
|
34
|
+
'limit'?: number | null;
|
|
35
|
+
/**
|
|
36
|
+
* Whether another showData page exists; determined by reading one extra row.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof DmsPagination
|
|
39
|
+
*/
|
|
40
|
+
'hasMore'?: boolean | null;
|
|
41
|
+
/**
|
|
42
|
+
* Present only when hasMore is true.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof DmsPagination
|
|
45
|
+
*/
|
|
46
|
+
'nextOffset'?: number | null;
|
|
47
|
+
/**
|
|
48
|
+
* Exact count returned only by countOnly requests (including zero).
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof DmsPagination
|
|
51
|
+
*/
|
|
52
|
+
'totalRows'?: number | null;
|
|
53
|
+
/**
|
|
54
|
+
* Primary-key columns used for ordering; empty means ordering is not guaranteed. Pages are not a fixed snapshot.
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof DmsPagination
|
|
57
|
+
*/
|
|
58
|
+
'orderColumns'?: Array<string>;
|
|
23
59
|
/**
|
|
24
60
|
*
|
|
25
61
|
* @type {number}
|
|
@@ -33,10 +33,22 @@ export interface ShowDataRequest {
|
|
|
33
33
|
*/
|
|
34
34
|
'table'?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Rows per batch, from 1 to 2000; defaults to 200.
|
|
37
37
|
* @type {number}
|
|
38
38
|
* @memberof ShowDataRequest
|
|
39
39
|
*/
|
|
40
40
|
'limit'?: number | null;
|
|
41
|
+
/**
|
|
42
|
+
* Zero-based offset. Include 0 for the first paged request; omit for legacy data plus total-count behavior. Paged requests do not count the table.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof ShowDataRequest
|
|
45
|
+
*/
|
|
46
|
+
'offset'?: number | null;
|
|
47
|
+
/**
|
|
48
|
+
* Only return pagination.totalRows, without loading data.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof ShowDataRequest
|
|
51
|
+
*/
|
|
52
|
+
'countOnly'?: boolean;
|
|
41
53
|
}
|
|
42
54
|
|
package/src/openapi.yaml
CHANGED
|
@@ -466,50 +466,6 @@ paths:
|
|
|
466
466
|
$ref: '#/components/responses/409'
|
|
467
467
|
'500':
|
|
468
468
|
$ref: '#/components/responses/500'
|
|
469
|
-
/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive:
|
|
470
|
-
post:
|
|
471
|
-
operationId: archiveClusterJar
|
|
472
|
-
summary: Archive a JAR while retaining published files and startup synchronization
|
|
473
|
-
tags:
|
|
474
|
-
- clusterJar
|
|
475
|
-
- shared
|
|
476
|
-
parameters:
|
|
477
|
-
- name: engineName
|
|
478
|
-
in: path
|
|
479
|
-
required: true
|
|
480
|
-
description: Doris or SelectDB engine of the target cluster.
|
|
481
|
-
schema:
|
|
482
|
-
type: string
|
|
483
|
-
- name: orgName
|
|
484
|
-
in: path
|
|
485
|
-
required: true
|
|
486
|
-
schema:
|
|
487
|
-
type: string
|
|
488
|
-
- name: clusterName
|
|
489
|
-
in: path
|
|
490
|
-
required: true
|
|
491
|
-
schema:
|
|
492
|
-
type: string
|
|
493
|
-
- name: jarId
|
|
494
|
-
in: path
|
|
495
|
-
required: true
|
|
496
|
-
schema:
|
|
497
|
-
type: string
|
|
498
|
-
responses:
|
|
499
|
-
'204':
|
|
500
|
-
description: Success
|
|
501
|
-
'400':
|
|
502
|
-
$ref: '#/components/responses/400'
|
|
503
|
-
'401':
|
|
504
|
-
$ref: '#/components/responses/401'
|
|
505
|
-
'403':
|
|
506
|
-
$ref: '#/components/responses/403'
|
|
507
|
-
'404':
|
|
508
|
-
$ref: '#/components/responses/404'
|
|
509
|
-
'409':
|
|
510
|
-
$ref: '#/components/responses/409'
|
|
511
|
-
'500':
|
|
512
|
-
$ref: '#/components/responses/500'
|
|
513
469
|
/api/v1/user:
|
|
514
470
|
get:
|
|
515
471
|
description: Get authenticated login user info
|
|
@@ -23501,8 +23457,6 @@ components:
|
|
|
23501
23457
|
type: string
|
|
23502
23458
|
published:
|
|
23503
23459
|
type: boolean
|
|
23504
|
-
archived:
|
|
23505
|
-
type: boolean
|
|
23506
23460
|
status:
|
|
23507
23461
|
type: string
|
|
23508
23462
|
synced:
|
|
@@ -23529,7 +23483,6 @@ components:
|
|
|
23529
23483
|
- size
|
|
23530
23484
|
- uri
|
|
23531
23485
|
- published
|
|
23532
|
-
- archived
|
|
23533
23486
|
- status
|
|
23534
23487
|
- synced
|
|
23535
23488
|
- total
|
|
@@ -26971,6 +26924,34 @@ components:
|
|
|
26971
26924
|
DmsPagination:
|
|
26972
26925
|
type: object
|
|
26973
26926
|
properties:
|
|
26927
|
+
offset:
|
|
26928
|
+
type: integer
|
|
26929
|
+
format: int64
|
|
26930
|
+
nullable: true
|
|
26931
|
+
description: Zero-based offset of this showData page.
|
|
26932
|
+
limit:
|
|
26933
|
+
type: integer
|
|
26934
|
+
format: int64
|
|
26935
|
+
nullable: true
|
|
26936
|
+
hasMore:
|
|
26937
|
+
type: boolean
|
|
26938
|
+
nullable: true
|
|
26939
|
+
description: Whether another showData page exists; determined by reading one extra row.
|
|
26940
|
+
nextOffset:
|
|
26941
|
+
type: integer
|
|
26942
|
+
format: int64
|
|
26943
|
+
nullable: true
|
|
26944
|
+
description: Present only when hasMore is true.
|
|
26945
|
+
totalRows:
|
|
26946
|
+
type: integer
|
|
26947
|
+
format: int64
|
|
26948
|
+
nullable: true
|
|
26949
|
+
description: Exact count returned only by countOnly requests (including zero).
|
|
26950
|
+
orderColumns:
|
|
26951
|
+
type: array
|
|
26952
|
+
items:
|
|
26953
|
+
type: string
|
|
26954
|
+
description: Primary-key columns used for ordering; empty means ordering is not guaranteed. Pages are not a fixed snapshot.
|
|
26974
26955
|
rows_count:
|
|
26975
26956
|
type: integer
|
|
26976
26957
|
page:
|
|
@@ -36196,8 +36177,19 @@ components:
|
|
|
36196
36177
|
description: the target table or view name
|
|
36197
36178
|
limit:
|
|
36198
36179
|
type: integer
|
|
36199
|
-
description:
|
|
36180
|
+
description: Rows per batch, from 1 to 2000; defaults to 200.
|
|
36181
|
+
minimum: 1
|
|
36182
|
+
maximum: 2000
|
|
36183
|
+
nullable: true
|
|
36184
|
+
offset:
|
|
36185
|
+
type: integer
|
|
36186
|
+
format: int64
|
|
36187
|
+
minimum: 0
|
|
36200
36188
|
nullable: true
|
|
36189
|
+
description: Zero-based offset. Include 0 for the first paged request; omit for legacy data plus total-count behavior. Paged requests do not count the table.
|
|
36190
|
+
countOnly:
|
|
36191
|
+
type: boolean
|
|
36192
|
+
description: Only return pagination.totalRows, without loading data.
|
|
36201
36193
|
RedisACLContext:
|
|
36202
36194
|
type: object
|
|
36203
36195
|
properties:
|