kb-cloud-client-typescript 0.0.0-support-instance-template-ops.20260924.255 → 0.0.0-support-instance-template-ops.20260924.259
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/api.d.ts +2 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +2 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +906 -6
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +981 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/cluster-jar-api.d.ts +702 -0
- package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -0
- package/dist/adminapi/apis/cluster-jar-api.js +758 -0
- package/dist/adminapi/apis/cluster-jar-api.js.map +1 -0
- package/dist/adminapi/apis/environment-api.d.ts +95 -0
- package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
- package/dist/adminapi/apis/environment-api.js +93 -0
- package/dist/adminapi/apis/environment-api.js.map +1 -1
- package/dist/adminapi/apis/parameter-template-api.d.ts +18 -10
- package/dist/adminapi/apis/parameter-template-api.d.ts.map +1 -1
- package/dist/adminapi/apis/parameter-template-api.js +16 -11
- package/dist/adminapi/apis/parameter-template-api.js.map +1 -1
- package/dist/adminapi/apis/seaweedfs-api.d.ts +951 -0
- package/dist/adminapi/apis/seaweedfs-api.d.ts.map +1 -0
- package/dist/adminapi/apis/seaweedfs-api.js +1045 -0
- package/dist/adminapi/apis/seaweedfs-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +1577 -23
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +1685 -10
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-config.d.ts +61 -0
- package/dist/adminapi/models/cluster-jar-config.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-config.js +16 -0
- package/dist/adminapi/models/cluster-jar-config.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-kind.d.ts +22 -0
- package/dist/adminapi/models/cluster-jar-kind.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-kind.js +26 -0
- package/dist/adminapi/models/cluster-jar-kind.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-list.d.ts +32 -0
- package/dist/adminapi/models/cluster-jar-list.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-list.js +16 -0
- package/dist/adminapi/models/cluster-jar-list.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-package.d.ts +111 -0
- package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-package.js +16 -0
- package/dist/adminapi/models/cluster-jar-package.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-publish.d.ts +25 -0
- package/dist/adminapi/models/cluster-jar-publish.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-publish.js +16 -0
- package/dist/adminapi/models/cluster-jar-publish.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-replica.d.ts +61 -0
- package/dist/adminapi/models/cluster-jar-replica.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-replica.js +16 -0
- package/dist/adminapi/models/cluster-jar-replica.js.map +1 -0
- package/dist/adminapi/models/cluster-jar-task.d.ts +25 -0
- package/dist/adminapi/models/cluster-jar-task.d.ts.map +1 -0
- package/dist/adminapi/models/cluster-jar-task.js +16 -0
- package/dist/adminapi/models/cluster-jar-task.js.map +1 -0
- package/dist/adminapi/models/engine-option-history.d.ts +5 -4
- package/dist/adminapi/models/engine-option-history.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +10 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +10 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.js +16 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
- package/dist/openapi/api.d.ts +2 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +2 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +906 -6
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +981 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.d.ts +702 -0
- package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -0
- package/dist/openapi/apis/cluster-jar-api.js +758 -0
- package/dist/openapi/apis/cluster-jar-api.js.map +1 -0
- package/dist/openapi/apis/seaweedfs-api.d.ts +951 -0
- package/dist/openapi/apis/seaweedfs-api.d.ts.map +1 -0
- package/dist/openapi/apis/seaweedfs-api.js +1045 -0
- package/dist/openapi/apis/seaweedfs-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +1577 -23
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +1685 -10
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/openapi/models/cluster-jar-config.d.ts +61 -0
- package/dist/openapi/models/cluster-jar-config.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-config.js +16 -0
- package/dist/openapi/models/cluster-jar-config.js.map +1 -0
- package/dist/openapi/models/cluster-jar-kind.d.ts +22 -0
- package/dist/openapi/models/cluster-jar-kind.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-kind.js +26 -0
- package/dist/openapi/models/cluster-jar-kind.js.map +1 -0
- package/dist/openapi/models/cluster-jar-list.d.ts +32 -0
- package/dist/openapi/models/cluster-jar-list.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-list.js +16 -0
- package/dist/openapi/models/cluster-jar-list.js.map +1 -0
- package/dist/openapi/models/cluster-jar-package.d.ts +111 -0
- package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-package.js +16 -0
- package/dist/openapi/models/cluster-jar-package.js.map +1 -0
- package/dist/openapi/models/cluster-jar-publish.d.ts +25 -0
- package/dist/openapi/models/cluster-jar-publish.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-publish.js +16 -0
- package/dist/openapi/models/cluster-jar-publish.js.map +1 -0
- package/dist/openapi/models/cluster-jar-replica.d.ts +61 -0
- package/dist/openapi/models/cluster-jar-replica.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-replica.js +16 -0
- package/dist/openapi/models/cluster-jar-replica.js.map +1 -0
- package/dist/openapi/models/cluster-jar-task.d.ts +25 -0
- package/dist/openapi/models/cluster-jar-task.d.ts.map +1 -0
- package/dist/openapi/models/cluster-jar-task.js +16 -0
- package/dist/openapi/models/cluster-jar-task.js.map +1 -0
- package/dist/openapi/models/index.d.ts +10 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +10 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.js +16 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +12 -0
- package/src/adminapi/api.ts +2 -0
- package/src/adminapi/apis/account-api.ts +1623 -55
- package/src/adminapi/apis/cluster-jar-api.ts +1211 -0
- package/src/adminapi/apis/environment-api.ts +155 -0
- package/src/adminapi/apis/parameter-template-api.ts +26 -13
- package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
- package/src/adminapi/apis/shared-api.ts +2733 -24
- package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/adminapi/models/cluster-jar-config.ts +66 -0
- package/src/adminapi/models/cluster-jar-kind.ts +31 -0
- package/src/adminapi/models/cluster-jar-list.ts +39 -0
- package/src/adminapi/models/cluster-jar-package.ts +122 -0
- package/src/adminapi/models/cluster-jar-publish.ts +30 -0
- package/src/adminapi/models/cluster-jar-replica.ts +66 -0
- package/src/adminapi/models/cluster-jar-task.ts +30 -0
- package/src/adminapi/models/engine-option-history.ts +3 -6
- package/src/adminapi/models/index.ts +10 -0
- package/src/adminapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
- package/src/adminapi/models/list-seaweed-fspolicies200-response.ts +33 -0
- package/src/adminapi.yaml +1195 -23
- package/src/internalapi.yaml +2 -4
- package/src/openapi/.openapi-generator/FILES +12 -0
- package/src/openapi/api.ts +2 -0
- package/src/openapi/apis/account-api.ts +1623 -55
- package/src/openapi/apis/cluster-jar-api.ts +1211 -0
- package/src/openapi/apis/seaweedfs-api.ts +1644 -0
- package/src/openapi/apis/shared-api.ts +2733 -24
- package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/openapi/models/cluster-jar-config.ts +66 -0
- package/src/openapi/models/cluster-jar-kind.ts +31 -0
- package/src/openapi/models/cluster-jar-list.ts +39 -0
- package/src/openapi/models/cluster-jar-package.ts +122 -0
- package/src/openapi/models/cluster-jar-publish.ts +30 -0
- package/src/openapi/models/cluster-jar-replica.ts +66 -0
- package/src/openapi/models/cluster-jar-task.ts +30 -0
- package/src/openapi/models/index.ts +10 -0
- package/src/openapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
- package/src/openapi/models/list-seaweed-fspolicies200-response.ts +33 -0
- package/src/openapi.yaml +1119 -16
|
@@ -68,6 +68,8 @@ import type { BackupScheduleUpdate } from '../models';
|
|
|
68
68
|
// @ts-ignore
|
|
69
69
|
import type { BackupView } from '../models';
|
|
70
70
|
// @ts-ignore
|
|
71
|
+
import type { BindSeaweedFSPoliciesRequest } from '../models';
|
|
72
|
+
// @ts-ignore
|
|
71
73
|
import type { Broker } from '../models';
|
|
72
74
|
// @ts-ignore
|
|
73
75
|
import type { BuildBackupObjRequest } from '../models';
|
|
@@ -88,6 +90,18 @@ import type { ClusterExecutionLog } from '../models';
|
|
|
88
90
|
// @ts-ignore
|
|
89
91
|
import type { ClusterExecutionLogAggregateResponse } from '../models';
|
|
90
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
|
|
91
105
|
import type { ClusterList } from '../models';
|
|
92
106
|
// @ts-ignore
|
|
93
107
|
import type { ClusterLogHitsResponse } from '../models';
|
|
@@ -254,6 +268,8 @@ import type { ListClickhouseAccountRoles200Response } from '../models';
|
|
|
254
268
|
// @ts-ignore
|
|
255
269
|
import type { ListClickhouseAccountRoles200ResponsePrivilegesInner } from '../models';
|
|
256
270
|
// @ts-ignore
|
|
271
|
+
import type { ListSeaweedFSPolicies200Response } from '../models';
|
|
272
|
+
// @ts-ignore
|
|
257
273
|
import type { Llm } from '../models';
|
|
258
274
|
// @ts-ignore
|
|
259
275
|
import type { MetricsQueryType } from '../models';
|
|
@@ -746,6 +762,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
746
762
|
options: localVarRequestOptions,
|
|
747
763
|
};
|
|
748
764
|
},
|
|
765
|
+
/**
|
|
766
|
+
*
|
|
767
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
768
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
769
|
+
* @param {string} orgName
|
|
770
|
+
* @param {string} clusterName
|
|
771
|
+
* @param {string} jarId
|
|
772
|
+
* @param {*} [options] Override http request option.
|
|
773
|
+
* @throws {RequiredError}
|
|
774
|
+
*/
|
|
775
|
+
archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
776
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
777
|
+
assertParamExists('archiveClusterJar', 'engineName', engineName)
|
|
778
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
779
|
+
assertParamExists('archiveClusterJar', 'orgName', orgName)
|
|
780
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
781
|
+
assertParamExists('archiveClusterJar', 'clusterName', clusterName)
|
|
782
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
783
|
+
assertParamExists('archiveClusterJar', 'jarId', jarId)
|
|
784
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
785
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
786
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
787
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
788
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
789
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
790
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
791
|
+
let baseOptions;
|
|
792
|
+
if (configuration) {
|
|
793
|
+
baseOptions = configuration.baseOptions;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
797
|
+
const localVarHeaderParameter = {} as any;
|
|
798
|
+
const localVarQueryParameter = {} as any;
|
|
799
|
+
|
|
800
|
+
// authentication BearerToken required
|
|
801
|
+
// http bearer authentication required
|
|
802
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
803
|
+
|
|
804
|
+
// authentication DigestAuth required
|
|
805
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
811
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
812
|
+
|
|
813
|
+
return {
|
|
814
|
+
url: toPathString(localVarUrlObj),
|
|
815
|
+
options: localVarRequestOptions,
|
|
816
|
+
};
|
|
817
|
+
},
|
|
749
818
|
/**
|
|
750
819
|
* list the service version of the engine
|
|
751
820
|
* @summary list the service version of the engine
|
|
@@ -988,6 +1057,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
988
1057
|
options: localVarRequestOptions,
|
|
989
1058
|
};
|
|
990
1059
|
},
|
|
1060
|
+
/**
|
|
1061
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
1062
|
+
* @summary bindSeaweedFSPolicies
|
|
1063
|
+
* @param {string} orgName
|
|
1064
|
+
* @param {string} clusterName
|
|
1065
|
+
* @param {string} accountName
|
|
1066
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
1067
|
+
* @param {*} [options] Override http request option.
|
|
1068
|
+
* @throws {RequiredError}
|
|
1069
|
+
*/
|
|
1070
|
+
bindSeaweedFSPolicies: async (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1071
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
1072
|
+
assertParamExists('bindSeaweedFSPolicies', 'orgName', orgName)
|
|
1073
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
1074
|
+
assertParamExists('bindSeaweedFSPolicies', 'clusterName', clusterName)
|
|
1075
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1076
|
+
assertParamExists('bindSeaweedFSPolicies', 'accountName', accountName)
|
|
1077
|
+
// verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
|
|
1078
|
+
assertParamExists('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest)
|
|
1079
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
|
|
1080
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1081
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1082
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1083
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1084
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1085
|
+
let baseOptions;
|
|
1086
|
+
if (configuration) {
|
|
1087
|
+
baseOptions = configuration.baseOptions;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1091
|
+
const localVarHeaderParameter = {} as any;
|
|
1092
|
+
const localVarQueryParameter = {} as any;
|
|
1093
|
+
|
|
1094
|
+
// authentication BearerToken required
|
|
1095
|
+
// http bearer authentication required
|
|
1096
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1097
|
+
|
|
1098
|
+
// authentication DigestAuth required
|
|
1099
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1104
|
+
|
|
1105
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1107
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1108
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration)
|
|
1109
|
+
|
|
1110
|
+
return {
|
|
1111
|
+
url: toPathString(localVarUrlObj),
|
|
1112
|
+
options: localVarRequestOptions,
|
|
1113
|
+
};
|
|
1114
|
+
},
|
|
991
1115
|
/**
|
|
992
1116
|
*
|
|
993
1117
|
* @summary build backup object with a existing backup directory
|
|
@@ -2227,6 +2351,112 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2227
2351
|
options: localVarRequestOptions,
|
|
2228
2352
|
};
|
|
2229
2353
|
},
|
|
2354
|
+
/**
|
|
2355
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
2356
|
+
* @summary createSeaweedFSAccessKey
|
|
2357
|
+
* @param {string} orgName
|
|
2358
|
+
* @param {string} clusterName
|
|
2359
|
+
* @param {string} accountName
|
|
2360
|
+
* @param {Account} account
|
|
2361
|
+
* @param {*} [options] Override http request option.
|
|
2362
|
+
* @throws {RequiredError}
|
|
2363
|
+
*/
|
|
2364
|
+
createSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, account: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2365
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2366
|
+
assertParamExists('createSeaweedFSAccessKey', 'orgName', orgName)
|
|
2367
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2368
|
+
assertParamExists('createSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
2369
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2370
|
+
assertParamExists('createSeaweedFSAccessKey', 'accountName', accountName)
|
|
2371
|
+
// verify required parameter 'account' is not null or undefined
|
|
2372
|
+
assertParamExists('createSeaweedFSAccessKey', 'account', account)
|
|
2373
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
|
|
2374
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2375
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2376
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
2377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2378
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2379
|
+
let baseOptions;
|
|
2380
|
+
if (configuration) {
|
|
2381
|
+
baseOptions = configuration.baseOptions;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2385
|
+
const localVarHeaderParameter = {} as any;
|
|
2386
|
+
const localVarQueryParameter = {} as any;
|
|
2387
|
+
|
|
2388
|
+
// authentication BearerToken required
|
|
2389
|
+
// http bearer authentication required
|
|
2390
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2391
|
+
|
|
2392
|
+
// authentication DigestAuth required
|
|
2393
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2398
|
+
|
|
2399
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2400
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2401
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2402
|
+
localVarRequestOptions.data = serializeDataIfNeeded(account, localVarRequestOptions, configuration)
|
|
2403
|
+
|
|
2404
|
+
return {
|
|
2405
|
+
url: toPathString(localVarUrlObj),
|
|
2406
|
+
options: localVarRequestOptions,
|
|
2407
|
+
};
|
|
2408
|
+
},
|
|
2409
|
+
/**
|
|
2410
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
2411
|
+
* @summary createSeaweedFSAccount
|
|
2412
|
+
* @param {string} orgName name of the organization
|
|
2413
|
+
* @param {string} clusterName name of the cluster
|
|
2414
|
+
* @param {Account} body
|
|
2415
|
+
* @param {*} [options] Override http request option.
|
|
2416
|
+
* @throws {RequiredError}
|
|
2417
|
+
*/
|
|
2418
|
+
createSeaweedFSAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2419
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2420
|
+
assertParamExists('createSeaweedFSAccount', 'orgName', orgName)
|
|
2421
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2422
|
+
assertParamExists('createSeaweedFSAccount', 'clusterName', clusterName)
|
|
2423
|
+
// verify required parameter 'body' is not null or undefined
|
|
2424
|
+
assertParamExists('createSeaweedFSAccount', 'body', body)
|
|
2425
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
2426
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2427
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2428
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2429
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2430
|
+
let baseOptions;
|
|
2431
|
+
if (configuration) {
|
|
2432
|
+
baseOptions = configuration.baseOptions;
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2436
|
+
const localVarHeaderParameter = {} as any;
|
|
2437
|
+
const localVarQueryParameter = {} as any;
|
|
2438
|
+
|
|
2439
|
+
// authentication BearerToken required
|
|
2440
|
+
// http bearer authentication required
|
|
2441
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2442
|
+
|
|
2443
|
+
// authentication DigestAuth required
|
|
2444
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2445
|
+
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2449
|
+
|
|
2450
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2451
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2452
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2453
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2454
|
+
|
|
2455
|
+
return {
|
|
2456
|
+
url: toPathString(localVarUrlObj),
|
|
2457
|
+
options: localVarRequestOptions,
|
|
2458
|
+
};
|
|
2459
|
+
},
|
|
2230
2460
|
/**
|
|
2231
2461
|
* create a MinIO service account access key
|
|
2232
2462
|
* @summary Create MinIO access key
|
|
@@ -2858,6 +3088,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2858
3088
|
|
|
2859
3089
|
|
|
2860
3090
|
|
|
3091
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3092
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3093
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3094
|
+
|
|
3095
|
+
return {
|
|
3096
|
+
url: toPathString(localVarUrlObj),
|
|
3097
|
+
options: localVarRequestOptions,
|
|
3098
|
+
};
|
|
3099
|
+
},
|
|
3100
|
+
/**
|
|
3101
|
+
*
|
|
3102
|
+
* @summary Delete an unpublished JAR version
|
|
3103
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
3104
|
+
* @param {string} orgName
|
|
3105
|
+
* @param {string} clusterName
|
|
3106
|
+
* @param {string} jarId
|
|
3107
|
+
* @param {*} [options] Override http request option.
|
|
3108
|
+
* @throws {RequiredError}
|
|
3109
|
+
*/
|
|
3110
|
+
deleteClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3111
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
3112
|
+
assertParamExists('deleteClusterJar', 'engineName', engineName)
|
|
3113
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3114
|
+
assertParamExists('deleteClusterJar', 'orgName', orgName)
|
|
3115
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3116
|
+
assertParamExists('deleteClusterJar', 'clusterName', clusterName)
|
|
3117
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
3118
|
+
assertParamExists('deleteClusterJar', 'jarId', jarId)
|
|
3119
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}`
|
|
3120
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
3121
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3122
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3123
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
3124
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3125
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3126
|
+
let baseOptions;
|
|
3127
|
+
if (configuration) {
|
|
3128
|
+
baseOptions = configuration.baseOptions;
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3132
|
+
const localVarHeaderParameter = {} as any;
|
|
3133
|
+
const localVarQueryParameter = {} as any;
|
|
3134
|
+
|
|
3135
|
+
// authentication BearerToken required
|
|
3136
|
+
// http bearer authentication required
|
|
3137
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3138
|
+
|
|
3139
|
+
// authentication DigestAuth required
|
|
3140
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3141
|
+
|
|
3142
|
+
|
|
3143
|
+
|
|
2861
3144
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2862
3145
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2863
3146
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3948,28 +4231,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3948
4231
|
};
|
|
3949
4232
|
},
|
|
3950
4233
|
/**
|
|
3951
|
-
*
|
|
3952
|
-
* @summary
|
|
3953
|
-
* @param {string}
|
|
3954
|
-
* @param {string}
|
|
3955
|
-
* @param {string}
|
|
3956
|
-
* @param {string} accessKey
|
|
4234
|
+
*
|
|
4235
|
+
* @summary deleteSeaweedFSAccessKey
|
|
4236
|
+
* @param {string} orgName
|
|
4237
|
+
* @param {string} clusterName
|
|
4238
|
+
* @param {string} accountName
|
|
4239
|
+
* @param {string} accessKey
|
|
3957
4240
|
* @param {*} [options] Override http request option.
|
|
3958
4241
|
* @throws {RequiredError}
|
|
3959
4242
|
*/
|
|
3960
|
-
|
|
3961
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
3962
|
-
assertParamExists('deleteServiceAccount', 'engineName', engineName)
|
|
4243
|
+
deleteSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3963
4244
|
// verify required parameter 'orgName' is not null or undefined
|
|
3964
|
-
assertParamExists('
|
|
4245
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'orgName', orgName)
|
|
3965
4246
|
// verify required parameter 'clusterName' is not null or undefined
|
|
3966
|
-
assertParamExists('
|
|
4247
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
4248
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
4249
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accountName', accountName)
|
|
3967
4250
|
// verify required parameter 'accessKey' is not null or undefined
|
|
3968
|
-
assertParamExists('
|
|
3969
|
-
const localVarPath = `/admin/v1/data/
|
|
3970
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4251
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accessKey', accessKey)
|
|
4252
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
|
|
3971
4253
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3972
4254
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4255
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
|
|
3973
4256
|
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
3974
4257
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3975
4258
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4001,21 +4284,172 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4001
4284
|
};
|
|
4002
4285
|
},
|
|
4003
4286
|
/**
|
|
4004
|
-
* delete cluster
|
|
4005
|
-
* @summary
|
|
4006
|
-
* @param {string} orgName
|
|
4007
|
-
* @param {string}
|
|
4287
|
+
* delete an account in cluster
|
|
4288
|
+
* @summary deleteSeaweedFSAccount
|
|
4289
|
+
* @param {string} orgName name of the organization
|
|
4290
|
+
* @param {string} clusterName name of the cluster
|
|
4291
|
+
* @param {string} accountName name of the account
|
|
4008
4292
|
* @param {*} [options] Override http request option.
|
|
4009
4293
|
* @throws {RequiredError}
|
|
4010
4294
|
*/
|
|
4011
|
-
|
|
4295
|
+
deleteSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4012
4296
|
// verify required parameter 'orgName' is not null or undefined
|
|
4013
|
-
assertParamExists('
|
|
4014
|
-
// verify required parameter '
|
|
4015
|
-
assertParamExists('
|
|
4016
|
-
|
|
4297
|
+
assertParamExists('deleteSeaweedFSAccount', 'orgName', orgName)
|
|
4298
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4299
|
+
assertParamExists('deleteSeaweedFSAccount', 'clusterName', clusterName)
|
|
4300
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
4301
|
+
assertParamExists('deleteSeaweedFSAccount', 'accountName', accountName)
|
|
4302
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
4017
4303
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4018
|
-
.replace(`{${"
|
|
4304
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4305
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
4306
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4307
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4308
|
+
let baseOptions;
|
|
4309
|
+
if (configuration) {
|
|
4310
|
+
baseOptions = configuration.baseOptions;
|
|
4311
|
+
}
|
|
4312
|
+
|
|
4313
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
4314
|
+
const localVarHeaderParameter = {} as any;
|
|
4315
|
+
const localVarQueryParameter = {} as any;
|
|
4316
|
+
|
|
4317
|
+
// authentication BearerToken required
|
|
4318
|
+
// http bearer authentication required
|
|
4319
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4320
|
+
|
|
4321
|
+
// authentication DigestAuth required
|
|
4322
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4323
|
+
|
|
4324
|
+
|
|
4325
|
+
|
|
4326
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4327
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4328
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4329
|
+
|
|
4330
|
+
return {
|
|
4331
|
+
url: toPathString(localVarUrlObj),
|
|
4332
|
+
options: localVarRequestOptions,
|
|
4333
|
+
};
|
|
4334
|
+
},
|
|
4335
|
+
/**
|
|
4336
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
4337
|
+
* @summary deleteSeaweedFSPolicy
|
|
4338
|
+
* @param {string} orgName
|
|
4339
|
+
* @param {string} clusterName
|
|
4340
|
+
* @param {string} policyName
|
|
4341
|
+
* @param {*} [options] Override http request option.
|
|
4342
|
+
* @throws {RequiredError}
|
|
4343
|
+
*/
|
|
4344
|
+
deleteSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4345
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4346
|
+
assertParamExists('deleteSeaweedFSPolicy', 'orgName', orgName)
|
|
4347
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4348
|
+
assertParamExists('deleteSeaweedFSPolicy', 'clusterName', clusterName)
|
|
4349
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
4350
|
+
assertParamExists('deleteSeaweedFSPolicy', 'policyName', policyName)
|
|
4351
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
4352
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4353
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4354
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
4355
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4356
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4357
|
+
let baseOptions;
|
|
4358
|
+
if (configuration) {
|
|
4359
|
+
baseOptions = configuration.baseOptions;
|
|
4360
|
+
}
|
|
4361
|
+
|
|
4362
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
4363
|
+
const localVarHeaderParameter = {} as any;
|
|
4364
|
+
const localVarQueryParameter = {} as any;
|
|
4365
|
+
|
|
4366
|
+
// authentication BearerToken required
|
|
4367
|
+
// http bearer authentication required
|
|
4368
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4369
|
+
|
|
4370
|
+
// authentication DigestAuth required
|
|
4371
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4372
|
+
|
|
4373
|
+
|
|
4374
|
+
|
|
4375
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4376
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4377
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4378
|
+
|
|
4379
|
+
return {
|
|
4380
|
+
url: toPathString(localVarUrlObj),
|
|
4381
|
+
options: localVarRequestOptions,
|
|
4382
|
+
};
|
|
4383
|
+
},
|
|
4384
|
+
/**
|
|
4385
|
+
* delete a MinIO service account access key
|
|
4386
|
+
* @summary Delete MinIO access key
|
|
4387
|
+
* @param {string} engineName name of the engine
|
|
4388
|
+
* @param {string} orgName name of the organization
|
|
4389
|
+
* @param {string} clusterName name of the cluster
|
|
4390
|
+
* @param {string} accessKey MinIO access key
|
|
4391
|
+
* @param {*} [options] Override http request option.
|
|
4392
|
+
* @throws {RequiredError}
|
|
4393
|
+
*/
|
|
4394
|
+
deleteServiceAccount: async (engineName: string, orgName: string, clusterName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4395
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4396
|
+
assertParamExists('deleteServiceAccount', 'engineName', engineName)
|
|
4397
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4398
|
+
assertParamExists('deleteServiceAccount', 'orgName', orgName)
|
|
4399
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4400
|
+
assertParamExists('deleteServiceAccount', 'clusterName', clusterName)
|
|
4401
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
4402
|
+
assertParamExists('deleteServiceAccount', 'accessKey', accessKey)
|
|
4403
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}`
|
|
4404
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4405
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4406
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4407
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
4408
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4409
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4410
|
+
let baseOptions;
|
|
4411
|
+
if (configuration) {
|
|
4412
|
+
baseOptions = configuration.baseOptions;
|
|
4413
|
+
}
|
|
4414
|
+
|
|
4415
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
4416
|
+
const localVarHeaderParameter = {} as any;
|
|
4417
|
+
const localVarQueryParameter = {} as any;
|
|
4418
|
+
|
|
4419
|
+
// authentication BearerToken required
|
|
4420
|
+
// http bearer authentication required
|
|
4421
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4422
|
+
|
|
4423
|
+
// authentication DigestAuth required
|
|
4424
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4425
|
+
|
|
4426
|
+
|
|
4427
|
+
|
|
4428
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4429
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4430
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4431
|
+
|
|
4432
|
+
return {
|
|
4433
|
+
url: toPathString(localVarUrlObj),
|
|
4434
|
+
options: localVarRequestOptions,
|
|
4435
|
+
};
|
|
4436
|
+
},
|
|
4437
|
+
/**
|
|
4438
|
+
* delete cluster tag
|
|
4439
|
+
* @summary Delete tag
|
|
4440
|
+
* @param {string} orgName
|
|
4441
|
+
* @param {string} tagId
|
|
4442
|
+
* @param {*} [options] Override http request option.
|
|
4443
|
+
* @throws {RequiredError}
|
|
4444
|
+
*/
|
|
4445
|
+
deleteTag: async (orgName: string, tagId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4446
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4447
|
+
assertParamExists('deleteTag', 'orgName', orgName)
|
|
4448
|
+
// verify required parameter 'tagId' is not null or undefined
|
|
4449
|
+
assertParamExists('deleteTag', 'tagId', tagId)
|
|
4450
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/tags/{tagId}`
|
|
4451
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4452
|
+
.replace(`{${"tagId"}}`, encodeURIComponent(String(tagId)));
|
|
4019
4453
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4020
4454
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4021
4455
|
let baseOptions;
|
|
@@ -4158,6 +4592,65 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4158
4592
|
options: localVarRequestOptions,
|
|
4159
4593
|
};
|
|
4160
4594
|
},
|
|
4595
|
+
/**
|
|
4596
|
+
*
|
|
4597
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
4598
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
4599
|
+
* @param {string} orgName
|
|
4600
|
+
* @param {string} clusterName
|
|
4601
|
+
* @param {string} jarId
|
|
4602
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
4603
|
+
* @param {*} [options] Override http request option.
|
|
4604
|
+
* @throws {RequiredError}
|
|
4605
|
+
*/
|
|
4606
|
+
distributeClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4607
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4608
|
+
assertParamExists('distributeClusterJar', 'engineName', engineName)
|
|
4609
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4610
|
+
assertParamExists('distributeClusterJar', 'orgName', orgName)
|
|
4611
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4612
|
+
assertParamExists('distributeClusterJar', 'clusterName', clusterName)
|
|
4613
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
4614
|
+
assertParamExists('distributeClusterJar', 'jarId', jarId)
|
|
4615
|
+
// verify required parameter 'clusterJarPublish' is not null or undefined
|
|
4616
|
+
assertParamExists('distributeClusterJar', 'clusterJarPublish', clusterJarPublish)
|
|
4617
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/distribute`
|
|
4618
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4619
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4620
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4621
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
4622
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4623
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4624
|
+
let baseOptions;
|
|
4625
|
+
if (configuration) {
|
|
4626
|
+
baseOptions = configuration.baseOptions;
|
|
4627
|
+
}
|
|
4628
|
+
|
|
4629
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4630
|
+
const localVarHeaderParameter = {} as any;
|
|
4631
|
+
const localVarQueryParameter = {} as any;
|
|
4632
|
+
|
|
4633
|
+
// authentication BearerToken required
|
|
4634
|
+
// http bearer authentication required
|
|
4635
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4636
|
+
|
|
4637
|
+
// authentication DigestAuth required
|
|
4638
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4639
|
+
|
|
4640
|
+
|
|
4641
|
+
|
|
4642
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4643
|
+
|
|
4644
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4645
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4646
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4647
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterJarPublish, localVarRequestOptions, configuration)
|
|
4648
|
+
|
|
4649
|
+
return {
|
|
4650
|
+
url: toPathString(localVarUrlObj),
|
|
4651
|
+
options: localVarRequestOptions,
|
|
4652
|
+
};
|
|
4653
|
+
},
|
|
4161
4654
|
/**
|
|
4162
4655
|
*
|
|
4163
4656
|
* @summary Restore current cluster or instance
|
|
@@ -4245,6 +4738,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4245
4738
|
|
|
4246
4739
|
|
|
4247
4740
|
|
|
4741
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4742
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4743
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4744
|
+
|
|
4745
|
+
return {
|
|
4746
|
+
url: toPathString(localVarUrlObj),
|
|
4747
|
+
options: localVarRequestOptions,
|
|
4748
|
+
};
|
|
4749
|
+
},
|
|
4750
|
+
/**
|
|
4751
|
+
*
|
|
4752
|
+
* @summary Download the original JAR
|
|
4753
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
4754
|
+
* @param {string} orgName
|
|
4755
|
+
* @param {string} clusterName
|
|
4756
|
+
* @param {string} jarId
|
|
4757
|
+
* @param {*} [options] Override http request option.
|
|
4758
|
+
* @throws {RequiredError}
|
|
4759
|
+
*/
|
|
4760
|
+
downloadClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4761
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
4762
|
+
assertParamExists('downloadClusterJar', 'engineName', engineName)
|
|
4763
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4764
|
+
assertParamExists('downloadClusterJar', 'orgName', orgName)
|
|
4765
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4766
|
+
assertParamExists('downloadClusterJar', 'clusterName', clusterName)
|
|
4767
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
4768
|
+
assertParamExists('downloadClusterJar', 'jarId', jarId)
|
|
4769
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/download`
|
|
4770
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
4771
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4772
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
4773
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
4774
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4775
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4776
|
+
let baseOptions;
|
|
4777
|
+
if (configuration) {
|
|
4778
|
+
baseOptions = configuration.baseOptions;
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4782
|
+
const localVarHeaderParameter = {} as any;
|
|
4783
|
+
const localVarQueryParameter = {} as any;
|
|
4784
|
+
|
|
4785
|
+
// authentication BearerToken required
|
|
4786
|
+
// http bearer authentication required
|
|
4787
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4788
|
+
|
|
4789
|
+
// authentication DigestAuth required
|
|
4790
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
4791
|
+
|
|
4792
|
+
|
|
4793
|
+
|
|
4248
4794
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4249
4795
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4250
4796
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5474,6 +6020,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5474
6020
|
|
|
5475
6021
|
|
|
5476
6022
|
|
|
6023
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6024
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6025
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6026
|
+
|
|
6027
|
+
return {
|
|
6028
|
+
url: toPathString(localVarUrlObj),
|
|
6029
|
+
options: localVarRequestOptions,
|
|
6030
|
+
};
|
|
6031
|
+
},
|
|
6032
|
+
/**
|
|
6033
|
+
*
|
|
6034
|
+
* @summary Get external JAR capability and configuration
|
|
6035
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
6036
|
+
* @param {string} orgName
|
|
6037
|
+
* @param {string} clusterName
|
|
6038
|
+
* @param {*} [options] Override http request option.
|
|
6039
|
+
* @throws {RequiredError}
|
|
6040
|
+
*/
|
|
6041
|
+
getClusterJarConfig: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6042
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
6043
|
+
assertParamExists('getClusterJarConfig', 'engineName', engineName)
|
|
6044
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6045
|
+
assertParamExists('getClusterJarConfig', 'orgName', orgName)
|
|
6046
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6047
|
+
assertParamExists('getClusterJarConfig', 'clusterName', clusterName)
|
|
6048
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/config`
|
|
6049
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
6050
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6051
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
6052
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6053
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6054
|
+
let baseOptions;
|
|
6055
|
+
if (configuration) {
|
|
6056
|
+
baseOptions = configuration.baseOptions;
|
|
6057
|
+
}
|
|
6058
|
+
|
|
6059
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6060
|
+
const localVarHeaderParameter = {} as any;
|
|
6061
|
+
const localVarQueryParameter = {} as any;
|
|
6062
|
+
|
|
6063
|
+
// authentication BearerToken required
|
|
6064
|
+
// http bearer authentication required
|
|
6065
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6066
|
+
|
|
6067
|
+
// authentication DigestAuth required
|
|
6068
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6069
|
+
|
|
6070
|
+
|
|
6071
|
+
|
|
5477
6072
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5478
6073
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5479
6074
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7197,6 +7792,63 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7197
7792
|
|
|
7198
7793
|
|
|
7199
7794
|
|
|
7795
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7796
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7797
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7798
|
+
|
|
7799
|
+
return {
|
|
7800
|
+
url: toPathString(localVarUrlObj),
|
|
7801
|
+
options: localVarRequestOptions,
|
|
7802
|
+
};
|
|
7803
|
+
},
|
|
7804
|
+
/**
|
|
7805
|
+
* get root account password
|
|
7806
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
7807
|
+
* @param {string} orgName name of the Org
|
|
7808
|
+
* @param {string} clusterName name of the Cluster
|
|
7809
|
+
* @param {string} accountName name of the account
|
|
7810
|
+
* @param {string} [component] name of the component
|
|
7811
|
+
* @param {*} [options] Override http request option.
|
|
7812
|
+
* @throws {RequiredError}
|
|
7813
|
+
*/
|
|
7814
|
+
getRootSeaweedFSAccountPassword: async (orgName: string, clusterName: string, accountName: string, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7815
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7816
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'orgName', orgName)
|
|
7817
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7818
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'clusterName', clusterName)
|
|
7819
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
7820
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'accountName', accountName)
|
|
7821
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
7822
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7823
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7824
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7826
|
+
let baseOptions;
|
|
7827
|
+
if (configuration) {
|
|
7828
|
+
baseOptions = configuration.baseOptions;
|
|
7829
|
+
}
|
|
7830
|
+
|
|
7831
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7832
|
+
const localVarHeaderParameter = {} as any;
|
|
7833
|
+
const localVarQueryParameter = {} as any;
|
|
7834
|
+
|
|
7835
|
+
// authentication BearerToken required
|
|
7836
|
+
// http bearer authentication required
|
|
7837
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7838
|
+
|
|
7839
|
+
// authentication DigestAuth required
|
|
7840
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
7841
|
+
|
|
7842
|
+
if (accountName !== undefined) {
|
|
7843
|
+
localVarQueryParameter['accountName'] = accountName;
|
|
7844
|
+
}
|
|
7845
|
+
|
|
7846
|
+
if (component !== undefined) {
|
|
7847
|
+
localVarQueryParameter['component'] = component;
|
|
7848
|
+
}
|
|
7849
|
+
|
|
7850
|
+
|
|
7851
|
+
|
|
7200
7852
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7201
7853
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7202
7854
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8719,6 +9371,55 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
8719
9371
|
|
|
8720
9372
|
|
|
8721
9373
|
|
|
9374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9376
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9377
|
+
|
|
9378
|
+
return {
|
|
9379
|
+
url: toPathString(localVarUrlObj),
|
|
9380
|
+
options: localVarRequestOptions,
|
|
9381
|
+
};
|
|
9382
|
+
},
|
|
9383
|
+
/**
|
|
9384
|
+
*
|
|
9385
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
9386
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
9387
|
+
* @param {string} orgName
|
|
9388
|
+
* @param {string} clusterName
|
|
9389
|
+
* @param {*} [options] Override http request option.
|
|
9390
|
+
* @throws {RequiredError}
|
|
9391
|
+
*/
|
|
9392
|
+
listClusterJars: async (engineName: string, orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9393
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
9394
|
+
assertParamExists('listClusterJars', 'engineName', engineName)
|
|
9395
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9396
|
+
assertParamExists('listClusterJars', 'orgName', orgName)
|
|
9397
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9398
|
+
assertParamExists('listClusterJars', 'clusterName', clusterName)
|
|
9399
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
9400
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
9401
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9402
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9403
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9404
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9405
|
+
let baseOptions;
|
|
9406
|
+
if (configuration) {
|
|
9407
|
+
baseOptions = configuration.baseOptions;
|
|
9408
|
+
}
|
|
9409
|
+
|
|
9410
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9411
|
+
const localVarHeaderParameter = {} as any;
|
|
9412
|
+
const localVarQueryParameter = {} as any;
|
|
9413
|
+
|
|
9414
|
+
// authentication BearerToken required
|
|
9415
|
+
// http bearer authentication required
|
|
9416
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9417
|
+
|
|
9418
|
+
// authentication DigestAuth required
|
|
9419
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9420
|
+
|
|
9421
|
+
|
|
9422
|
+
|
|
8722
9423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8723
9424
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8724
9425
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -11121,6 +11822,96 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11121
11822
|
|
|
11122
11823
|
|
|
11123
11824
|
|
|
11825
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11826
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11827
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11828
|
+
|
|
11829
|
+
return {
|
|
11830
|
+
url: toPathString(localVarUrlObj),
|
|
11831
|
+
options: localVarRequestOptions,
|
|
11832
|
+
};
|
|
11833
|
+
},
|
|
11834
|
+
/**
|
|
11835
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
11836
|
+
* @summary listSeaweedFSAccounts
|
|
11837
|
+
* @param {string} orgName name of the organization
|
|
11838
|
+
* @param {string} clusterName name of the cluster
|
|
11839
|
+
* @param {*} [options] Override http request option.
|
|
11840
|
+
* @throws {RequiredError}
|
|
11841
|
+
*/
|
|
11842
|
+
listSeaweedFSAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11843
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11844
|
+
assertParamExists('listSeaweedFSAccounts', 'orgName', orgName)
|
|
11845
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11846
|
+
assertParamExists('listSeaweedFSAccounts', 'clusterName', clusterName)
|
|
11847
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
11848
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11849
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
11850
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11851
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11852
|
+
let baseOptions;
|
|
11853
|
+
if (configuration) {
|
|
11854
|
+
baseOptions = configuration.baseOptions;
|
|
11855
|
+
}
|
|
11856
|
+
|
|
11857
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11858
|
+
const localVarHeaderParameter = {} as any;
|
|
11859
|
+
const localVarQueryParameter = {} as any;
|
|
11860
|
+
|
|
11861
|
+
// authentication BearerToken required
|
|
11862
|
+
// http bearer authentication required
|
|
11863
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11864
|
+
|
|
11865
|
+
// authentication DigestAuth required
|
|
11866
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11867
|
+
|
|
11868
|
+
|
|
11869
|
+
|
|
11870
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11871
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11872
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11873
|
+
|
|
11874
|
+
return {
|
|
11875
|
+
url: toPathString(localVarUrlObj),
|
|
11876
|
+
options: localVarRequestOptions,
|
|
11877
|
+
};
|
|
11878
|
+
},
|
|
11879
|
+
/**
|
|
11880
|
+
*
|
|
11881
|
+
* @summary listSeaweedFSPolicies
|
|
11882
|
+
* @param {string} orgName
|
|
11883
|
+
* @param {string} clusterName
|
|
11884
|
+
* @param {*} [options] Override http request option.
|
|
11885
|
+
* @throws {RequiredError}
|
|
11886
|
+
*/
|
|
11887
|
+
listSeaweedFSPolicies: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11888
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11889
|
+
assertParamExists('listSeaweedFSPolicies', 'orgName', orgName)
|
|
11890
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11891
|
+
assertParamExists('listSeaweedFSPolicies', 'clusterName', clusterName)
|
|
11892
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
|
|
11893
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11894
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
11895
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11896
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11897
|
+
let baseOptions;
|
|
11898
|
+
if (configuration) {
|
|
11899
|
+
baseOptions = configuration.baseOptions;
|
|
11900
|
+
}
|
|
11901
|
+
|
|
11902
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11903
|
+
const localVarHeaderParameter = {} as any;
|
|
11904
|
+
const localVarQueryParameter = {} as any;
|
|
11905
|
+
|
|
11906
|
+
// authentication BearerToken required
|
|
11907
|
+
// http bearer authentication required
|
|
11908
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11909
|
+
|
|
11910
|
+
// authentication DigestAuth required
|
|
11911
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11912
|
+
|
|
11913
|
+
|
|
11914
|
+
|
|
11124
11915
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11125
11916
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11126
11917
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12201,6 +12992,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12201
12992
|
options: localVarRequestOptions,
|
|
12202
12993
|
};
|
|
12203
12994
|
},
|
|
12995
|
+
/**
|
|
12996
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
12997
|
+
* @summary putSeaweedFSPolicy
|
|
12998
|
+
* @param {string} orgName
|
|
12999
|
+
* @param {string} clusterName
|
|
13000
|
+
* @param {string} policyName
|
|
13001
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
13002
|
+
* @param {*} [options] Override http request option.
|
|
13003
|
+
* @throws {RequiredError}
|
|
13004
|
+
*/
|
|
13005
|
+
putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13006
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13007
|
+
assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
|
|
13008
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13009
|
+
assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
|
|
13010
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
13011
|
+
assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
|
|
13012
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
13013
|
+
assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
|
|
13014
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
13015
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13016
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13017
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
13018
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13019
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13020
|
+
let baseOptions;
|
|
13021
|
+
if (configuration) {
|
|
13022
|
+
baseOptions = configuration.baseOptions;
|
|
13023
|
+
}
|
|
13024
|
+
|
|
13025
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13026
|
+
const localVarHeaderParameter = {} as any;
|
|
13027
|
+
const localVarQueryParameter = {} as any;
|
|
13028
|
+
|
|
13029
|
+
// authentication BearerToken required
|
|
13030
|
+
// http bearer authentication required
|
|
13031
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13032
|
+
|
|
13033
|
+
// authentication DigestAuth required
|
|
13034
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13035
|
+
|
|
13036
|
+
|
|
13037
|
+
|
|
13038
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13039
|
+
|
|
13040
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13041
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13042
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13043
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
13044
|
+
|
|
13045
|
+
return {
|
|
13046
|
+
url: toPathString(localVarUrlObj),
|
|
13047
|
+
options: localVarRequestOptions,
|
|
13048
|
+
};
|
|
13049
|
+
},
|
|
12204
13050
|
/**
|
|
12205
13051
|
*
|
|
12206
13052
|
* @summary create a SQL query
|
|
@@ -14221,6 +15067,59 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14221
15067
|
|
|
14222
15068
|
|
|
14223
15069
|
|
|
15070
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15071
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15072
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15073
|
+
|
|
15074
|
+
return {
|
|
15075
|
+
url: toPathString(localVarUrlObj),
|
|
15076
|
+
options: localVarRequestOptions,
|
|
15077
|
+
};
|
|
15078
|
+
},
|
|
15079
|
+
/**
|
|
15080
|
+
*
|
|
15081
|
+
* @summary Retry synchronization of published JARs
|
|
15082
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
15083
|
+
* @param {string} orgName
|
|
15084
|
+
* @param {string} clusterName
|
|
15085
|
+
* @param {string} jarId
|
|
15086
|
+
* @param {*} [options] Override http request option.
|
|
15087
|
+
* @throws {RequiredError}
|
|
15088
|
+
*/
|
|
15089
|
+
retryClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15090
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
15091
|
+
assertParamExists('retryClusterJar', 'engineName', engineName)
|
|
15092
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
15093
|
+
assertParamExists('retryClusterJar', 'orgName', orgName)
|
|
15094
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
15095
|
+
assertParamExists('retryClusterJar', 'clusterName', clusterName)
|
|
15096
|
+
// verify required parameter 'jarId' is not null or undefined
|
|
15097
|
+
assertParamExists('retryClusterJar', 'jarId', jarId)
|
|
15098
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/retry`
|
|
15099
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
15100
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
15101
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
15102
|
+
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
15103
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15104
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15105
|
+
let baseOptions;
|
|
15106
|
+
if (configuration) {
|
|
15107
|
+
baseOptions = configuration.baseOptions;
|
|
15108
|
+
}
|
|
15109
|
+
|
|
15110
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15111
|
+
const localVarHeaderParameter = {} as any;
|
|
15112
|
+
const localVarQueryParameter = {} as any;
|
|
15113
|
+
|
|
15114
|
+
// authentication BearerToken required
|
|
15115
|
+
// http bearer authentication required
|
|
15116
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15117
|
+
|
|
15118
|
+
// authentication DigestAuth required
|
|
15119
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
15120
|
+
|
|
15121
|
+
|
|
15122
|
+
|
|
14224
15123
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14225
15124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14226
15125
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16259,6 +17158,116 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16259
17158
|
options: localVarRequestOptions,
|
|
16260
17159
|
};
|
|
16261
17160
|
},
|
|
17161
|
+
/**
|
|
17162
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
17163
|
+
* @summary updateSeaweedFSAccount
|
|
17164
|
+
* @param {string} orgName name of the organization
|
|
17165
|
+
* @param {string} clusterName name of the cluster
|
|
17166
|
+
* @param {string} accountName name of the account
|
|
17167
|
+
* @param {Account} body
|
|
17168
|
+
* @param {*} [options] Override http request option.
|
|
17169
|
+
* @throws {RequiredError}
|
|
17170
|
+
*/
|
|
17171
|
+
updateSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17172
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
17173
|
+
assertParamExists('updateSeaweedFSAccount', 'orgName', orgName)
|
|
17174
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
17175
|
+
assertParamExists('updateSeaweedFSAccount', 'clusterName', clusterName)
|
|
17176
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
17177
|
+
assertParamExists('updateSeaweedFSAccount', 'accountName', accountName)
|
|
17178
|
+
// verify required parameter 'body' is not null or undefined
|
|
17179
|
+
assertParamExists('updateSeaweedFSAccount', 'body', body)
|
|
17180
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
17181
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
17182
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
17183
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
17184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17185
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17186
|
+
let baseOptions;
|
|
17187
|
+
if (configuration) {
|
|
17188
|
+
baseOptions = configuration.baseOptions;
|
|
17189
|
+
}
|
|
17190
|
+
|
|
17191
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
17192
|
+
const localVarHeaderParameter = {} as any;
|
|
17193
|
+
const localVarQueryParameter = {} as any;
|
|
17194
|
+
|
|
17195
|
+
// authentication BearerToken required
|
|
17196
|
+
// http bearer authentication required
|
|
17197
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17198
|
+
|
|
17199
|
+
// authentication DigestAuth required
|
|
17200
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
17201
|
+
|
|
17202
|
+
|
|
17203
|
+
|
|
17204
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17205
|
+
|
|
17206
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17207
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17208
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17209
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
17210
|
+
|
|
17211
|
+
return {
|
|
17212
|
+
url: toPathString(localVarUrlObj),
|
|
17213
|
+
options: localVarRequestOptions,
|
|
17214
|
+
};
|
|
17215
|
+
},
|
|
17216
|
+
/**
|
|
17217
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
17218
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
17219
|
+
* @param {string} orgName name of the Org
|
|
17220
|
+
* @param {string} clusterName name of the Cluster
|
|
17221
|
+
* @param {string} accountName name of the account
|
|
17222
|
+
* @param {Array<PrivilegeListItem>} body
|
|
17223
|
+
* @param {*} [options] Override http request option.
|
|
17224
|
+
* @throws {RequiredError}
|
|
17225
|
+
*/
|
|
17226
|
+
updateSeaweedFSAccountPrivileges: async (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17227
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
17228
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'orgName', orgName)
|
|
17229
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
17230
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName)
|
|
17231
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
17232
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'accountName', accountName)
|
|
17233
|
+
// verify required parameter 'body' is not null or undefined
|
|
17234
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'body', body)
|
|
17235
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
|
|
17236
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
17237
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
17238
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
17239
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17240
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17241
|
+
let baseOptions;
|
|
17242
|
+
if (configuration) {
|
|
17243
|
+
baseOptions = configuration.baseOptions;
|
|
17244
|
+
}
|
|
17245
|
+
|
|
17246
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
17247
|
+
const localVarHeaderParameter = {} as any;
|
|
17248
|
+
const localVarQueryParameter = {} as any;
|
|
17249
|
+
|
|
17250
|
+
// authentication BearerToken required
|
|
17251
|
+
// http bearer authentication required
|
|
17252
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17253
|
+
|
|
17254
|
+
// authentication DigestAuth required
|
|
17255
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
17256
|
+
|
|
17257
|
+
|
|
17258
|
+
|
|
17259
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17260
|
+
|
|
17261
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17262
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17263
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17264
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
17265
|
+
|
|
17266
|
+
return {
|
|
17267
|
+
url: toPathString(localVarUrlObj),
|
|
17268
|
+
options: localVarRequestOptions,
|
|
17269
|
+
};
|
|
17270
|
+
},
|
|
16262
17271
|
/**
|
|
16263
17272
|
* update a MinIO service account access key
|
|
16264
17273
|
* @summary Update MinIO access key
|
|
@@ -16521,6 +17530,86 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16521
17530
|
options: localVarRequestOptions,
|
|
16522
17531
|
};
|
|
16523
17532
|
},
|
|
17533
|
+
/**
|
|
17534
|
+
*
|
|
17535
|
+
* @summary Upload an immutable JAR version
|
|
17536
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
17537
|
+
* @param {string} orgName
|
|
17538
|
+
* @param {string} clusterName
|
|
17539
|
+
* @param {string} idempotencyKey
|
|
17540
|
+
* @param {string} name
|
|
17541
|
+
* @param {ClusterJarKind} kind
|
|
17542
|
+
* @param {File} file
|
|
17543
|
+
* @param {*} [options] Override http request option.
|
|
17544
|
+
* @throws {RequiredError}
|
|
17545
|
+
*/
|
|
17546
|
+
uploadClusterJar: async (engineName: string, orgName: string, clusterName: string, idempotencyKey: string, name: string, kind: ClusterJarKind, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17547
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
17548
|
+
assertParamExists('uploadClusterJar', 'engineName', engineName)
|
|
17549
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
17550
|
+
assertParamExists('uploadClusterJar', 'orgName', orgName)
|
|
17551
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
17552
|
+
assertParamExists('uploadClusterJar', 'clusterName', clusterName)
|
|
17553
|
+
// verify required parameter 'idempotencyKey' is not null or undefined
|
|
17554
|
+
assertParamExists('uploadClusterJar', 'idempotencyKey', idempotencyKey)
|
|
17555
|
+
// verify required parameter 'name' is not null or undefined
|
|
17556
|
+
assertParamExists('uploadClusterJar', 'name', name)
|
|
17557
|
+
// verify required parameter 'kind' is not null or undefined
|
|
17558
|
+
assertParamExists('uploadClusterJar', 'kind', kind)
|
|
17559
|
+
// verify required parameter 'file' is not null or undefined
|
|
17560
|
+
assertParamExists('uploadClusterJar', 'file', file)
|
|
17561
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars`
|
|
17562
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
17563
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
17564
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
17565
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17566
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17567
|
+
let baseOptions;
|
|
17568
|
+
if (configuration) {
|
|
17569
|
+
baseOptions = configuration.baseOptions;
|
|
17570
|
+
}
|
|
17571
|
+
|
|
17572
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
17573
|
+
const localVarHeaderParameter = {} as any;
|
|
17574
|
+
const localVarQueryParameter = {} as any;
|
|
17575
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
17576
|
+
|
|
17577
|
+
// authentication BearerToken required
|
|
17578
|
+
// http bearer authentication required
|
|
17579
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17580
|
+
|
|
17581
|
+
// authentication DigestAuth required
|
|
17582
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
17583
|
+
|
|
17584
|
+
|
|
17585
|
+
if (name !== undefined) {
|
|
17586
|
+
localVarFormParams.append('name', name as any);
|
|
17587
|
+
}
|
|
17588
|
+
|
|
17589
|
+
if (kind !== undefined) {
|
|
17590
|
+
localVarFormParams.append('kind', kind as any);
|
|
17591
|
+
}
|
|
17592
|
+
|
|
17593
|
+
if (file !== undefined) {
|
|
17594
|
+
localVarFormParams.append('file', file as any);
|
|
17595
|
+
}
|
|
17596
|
+
|
|
17597
|
+
|
|
17598
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
17599
|
+
|
|
17600
|
+
if (idempotencyKey != null) {
|
|
17601
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
17602
|
+
}
|
|
17603
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17604
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17605
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17606
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
17607
|
+
|
|
17608
|
+
return {
|
|
17609
|
+
url: toPathString(localVarUrlObj),
|
|
17610
|
+
options: localVarRequestOptions,
|
|
17611
|
+
};
|
|
17612
|
+
},
|
|
16524
17613
|
/**
|
|
16525
17614
|
*
|
|
16526
17615
|
* @summary Validate cluster creation
|
|
@@ -16812,6 +17901,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16812
17901
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
|
|
16813
17902
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16814
17903
|
},
|
|
17904
|
+
/**
|
|
17905
|
+
*
|
|
17906
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
17907
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
17908
|
+
* @param {string} orgName
|
|
17909
|
+
* @param {string} clusterName
|
|
17910
|
+
* @param {string} jarId
|
|
17911
|
+
* @param {*} [options] Override http request option.
|
|
17912
|
+
* @throws {RequiredError}
|
|
17913
|
+
*/
|
|
17914
|
+
async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17915
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
17916
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17917
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
17918
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17919
|
+
},
|
|
16815
17920
|
/**
|
|
16816
17921
|
* list the service version of the engine
|
|
16817
17922
|
* @summary list the service version of the engine
|
|
@@ -16884,6 +17989,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16884
17989
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.batchUpdateOrgParameters']?.[localVarOperationServerIndex]?.url;
|
|
16885
17990
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16886
17991
|
},
|
|
17992
|
+
/**
|
|
17993
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
17994
|
+
* @summary bindSeaweedFSPolicies
|
|
17995
|
+
* @param {string} orgName
|
|
17996
|
+
* @param {string} clusterName
|
|
17997
|
+
* @param {string} accountName
|
|
17998
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
17999
|
+
* @param {*} [options] Override http request option.
|
|
18000
|
+
* @throws {RequiredError}
|
|
18001
|
+
*/
|
|
18002
|
+
async bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18003
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
|
|
18004
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18005
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.bindSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
18006
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18007
|
+
},
|
|
16887
18008
|
/**
|
|
16888
18009
|
*
|
|
16889
18010
|
* @summary build backup object with a existing backup directory
|
|
@@ -17248,6 +18369,37 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17248
18369
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
|
|
17249
18370
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17250
18371
|
},
|
|
18372
|
+
/**
|
|
18373
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
18374
|
+
* @summary createSeaweedFSAccessKey
|
|
18375
|
+
* @param {string} orgName
|
|
18376
|
+
* @param {string} clusterName
|
|
18377
|
+
* @param {string} accountName
|
|
18378
|
+
* @param {Account} account
|
|
18379
|
+
* @param {*} [options] Override http request option.
|
|
18380
|
+
* @throws {RequiredError}
|
|
18381
|
+
*/
|
|
18382
|
+
async createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
18383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
|
|
18384
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18385
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
18386
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18387
|
+
},
|
|
18388
|
+
/**
|
|
18389
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
18390
|
+
* @summary createSeaweedFSAccount
|
|
18391
|
+
* @param {string} orgName name of the organization
|
|
18392
|
+
* @param {string} clusterName name of the cluster
|
|
18393
|
+
* @param {Account} body
|
|
18394
|
+
* @param {*} [options] Override http request option.
|
|
18395
|
+
* @throws {RequiredError}
|
|
18396
|
+
*/
|
|
18397
|
+
async createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
18398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
|
|
18399
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18400
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
18401
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18402
|
+
},
|
|
17251
18403
|
/**
|
|
17252
18404
|
* create a MinIO service account access key
|
|
17253
18405
|
* @summary Create MinIO access key
|
|
@@ -17441,6 +18593,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17441
18593
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteCluster']?.[localVarOperationServerIndex]?.url;
|
|
17442
18594
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17443
18595
|
},
|
|
18596
|
+
/**
|
|
18597
|
+
*
|
|
18598
|
+
* @summary Delete an unpublished JAR version
|
|
18599
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
18600
|
+
* @param {string} orgName
|
|
18601
|
+
* @param {string} clusterName
|
|
18602
|
+
* @param {string} jarId
|
|
18603
|
+
* @param {*} [options] Override http request option.
|
|
18604
|
+
* @throws {RequiredError}
|
|
18605
|
+
*/
|
|
18606
|
+
async deleteClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18607
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
18608
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18609
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
18610
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18611
|
+
},
|
|
17444
18612
|
/**
|
|
17445
18613
|
*
|
|
17446
18614
|
* @summary delete the datasource
|
|
@@ -17769,6 +18937,52 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17769
18937
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
17770
18938
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17771
18939
|
},
|
|
18940
|
+
/**
|
|
18941
|
+
*
|
|
18942
|
+
* @summary deleteSeaweedFSAccessKey
|
|
18943
|
+
* @param {string} orgName
|
|
18944
|
+
* @param {string} clusterName
|
|
18945
|
+
* @param {string} accountName
|
|
18946
|
+
* @param {string} accessKey
|
|
18947
|
+
* @param {*} [options] Override http request option.
|
|
18948
|
+
* @throws {RequiredError}
|
|
18949
|
+
*/
|
|
18950
|
+
async deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18951
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
|
|
18952
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18953
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
18954
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18955
|
+
},
|
|
18956
|
+
/**
|
|
18957
|
+
* delete an account in cluster
|
|
18958
|
+
* @summary deleteSeaweedFSAccount
|
|
18959
|
+
* @param {string} orgName name of the organization
|
|
18960
|
+
* @param {string} clusterName name of the cluster
|
|
18961
|
+
* @param {string} accountName name of the account
|
|
18962
|
+
* @param {*} [options] Override http request option.
|
|
18963
|
+
* @throws {RequiredError}
|
|
18964
|
+
*/
|
|
18965
|
+
async deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18966
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
|
|
18967
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18968
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
18969
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18970
|
+
},
|
|
18971
|
+
/**
|
|
18972
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
18973
|
+
* @summary deleteSeaweedFSPolicy
|
|
18974
|
+
* @param {string} orgName
|
|
18975
|
+
* @param {string} clusterName
|
|
18976
|
+
* @param {string} policyName
|
|
18977
|
+
* @param {*} [options] Override http request option.
|
|
18978
|
+
* @throws {RequiredError}
|
|
18979
|
+
*/
|
|
18980
|
+
async deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18981
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
|
|
18982
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18983
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
18984
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18985
|
+
},
|
|
17772
18986
|
/**
|
|
17773
18987
|
* delete a MinIO service account access key
|
|
17774
18988
|
* @summary Delete MinIO access key
|
|
@@ -17831,6 +19045,23 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17831
19045
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.disableConsole']?.[localVarOperationServerIndex]?.url;
|
|
17832
19046
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17833
19047
|
},
|
|
19048
|
+
/**
|
|
19049
|
+
*
|
|
19050
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
19051
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
19052
|
+
* @param {string} orgName
|
|
19053
|
+
* @param {string} clusterName
|
|
19054
|
+
* @param {string} jarId
|
|
19055
|
+
* @param {ClusterJarPublish} clusterJarPublish
|
|
19056
|
+
* @param {*} [options] Override http request option.
|
|
19057
|
+
* @throws {RequiredError}
|
|
19058
|
+
*/
|
|
19059
|
+
async distributeClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, clusterJarPublish: ClusterJarPublish, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
|
|
19060
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.distributeClusterJar(engineName, orgName, clusterName, jarId, clusterJarPublish, options);
|
|
19061
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19062
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.distributeClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
19063
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19064
|
+
},
|
|
17834
19065
|
/**
|
|
17835
19066
|
*
|
|
17836
19067
|
* @summary Restore current cluster or instance
|
|
@@ -17860,6 +19091,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17860
19091
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadBackup']?.[localVarOperationServerIndex]?.url;
|
|
17861
19092
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17862
19093
|
},
|
|
19094
|
+
/**
|
|
19095
|
+
*
|
|
19096
|
+
* @summary Download the original JAR
|
|
19097
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
19098
|
+
* @param {string} orgName
|
|
19099
|
+
* @param {string} clusterName
|
|
19100
|
+
* @param {string} jarId
|
|
19101
|
+
* @param {*} [options] Override http request option.
|
|
19102
|
+
* @throws {RequiredError}
|
|
19103
|
+
*/
|
|
19104
|
+
async downloadClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
19105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
19106
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19107
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.downloadClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
19108
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19109
|
+
},
|
|
17863
19110
|
/**
|
|
17864
19111
|
*
|
|
17865
19112
|
* @summary Download multiple backup files
|
|
@@ -18210,6 +19457,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18210
19457
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterInstanceLog']?.[localVarOperationServerIndex]?.url;
|
|
18211
19458
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18212
19459
|
},
|
|
19460
|
+
/**
|
|
19461
|
+
*
|
|
19462
|
+
* @summary Get external JAR capability and configuration
|
|
19463
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
19464
|
+
* @param {string} orgName
|
|
19465
|
+
* @param {string} clusterName
|
|
19466
|
+
* @param {*} [options] Override http request option.
|
|
19467
|
+
* @throws {RequiredError}
|
|
19468
|
+
*/
|
|
19469
|
+
async getClusterJarConfig(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarConfig>> {
|
|
19470
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterJarConfig(engineName, orgName, clusterName, options);
|
|
19471
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19472
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getClusterJarConfig']?.[localVarOperationServerIndex]?.url;
|
|
19473
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19474
|
+
},
|
|
18213
19475
|
/**
|
|
18214
19476
|
*
|
|
18215
19477
|
* @summary Get cluster parameter template
|
|
@@ -18726,6 +19988,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18726
19988
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
18727
19989
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18728
19990
|
},
|
|
19991
|
+
/**
|
|
19992
|
+
* get root account password
|
|
19993
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
19994
|
+
* @param {string} orgName name of the Org
|
|
19995
|
+
* @param {string} clusterName name of the Cluster
|
|
19996
|
+
* @param {string} accountName name of the account
|
|
19997
|
+
* @param {string} [component] name of the component
|
|
19998
|
+
* @param {*} [options] Override http request option.
|
|
19999
|
+
* @throws {RequiredError}
|
|
20000
|
+
*/
|
|
20001
|
+
async getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
20002
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
|
|
20003
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20004
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootSeaweedFSAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
20005
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20006
|
+
},
|
|
18729
20007
|
/**
|
|
18730
20008
|
*
|
|
18731
20009
|
* @summary list all databases or schema of the cluster
|
|
@@ -19157,6 +20435,21 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
19157
20435
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listCluster']?.[localVarOperationServerIndex]?.url;
|
|
19158
20436
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19159
20437
|
},
|
|
20438
|
+
/**
|
|
20439
|
+
*
|
|
20440
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
20441
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
20442
|
+
* @param {string} orgName
|
|
20443
|
+
* @param {string} clusterName
|
|
20444
|
+
* @param {*} [options] Override http request option.
|
|
20445
|
+
* @throws {RequiredError}
|
|
20446
|
+
*/
|
|
20447
|
+
async listClusterJars(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarList>> {
|
|
20448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterJars(engineName, orgName, clusterName, options);
|
|
20449
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20450
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusterJars']?.[localVarOperationServerIndex]?.url;
|
|
20451
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20452
|
+
},
|
|
19160
20453
|
/**
|
|
19161
20454
|
*
|
|
19162
20455
|
* @summary List restore tasks
|
|
@@ -19878,6 +21171,34 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
19878
21171
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
|
|
19879
21172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19880
21173
|
},
|
|
21174
|
+
/**
|
|
21175
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
21176
|
+
* @summary listSeaweedFSAccounts
|
|
21177
|
+
* @param {string} orgName name of the organization
|
|
21178
|
+
* @param {string} clusterName name of the cluster
|
|
21179
|
+
* @param {*} [options] Override http request option.
|
|
21180
|
+
* @throws {RequiredError}
|
|
21181
|
+
*/
|
|
21182
|
+
async listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
|
|
21183
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
|
|
21184
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21185
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSAccounts']?.[localVarOperationServerIndex]?.url;
|
|
21186
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21187
|
+
},
|
|
21188
|
+
/**
|
|
21189
|
+
*
|
|
21190
|
+
* @summary listSeaweedFSPolicies
|
|
21191
|
+
* @param {string} orgName
|
|
21192
|
+
* @param {string} clusterName
|
|
21193
|
+
* @param {*} [options] Override http request option.
|
|
21194
|
+
* @throws {RequiredError}
|
|
21195
|
+
*/
|
|
21196
|
+
async listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>> {
|
|
21197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
|
|
21198
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21199
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
21200
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21201
|
+
},
|
|
19881
21202
|
/**
|
|
19882
21203
|
* list MinIO service account access keys
|
|
19883
21204
|
* @summary List MinIO access keys
|
|
@@ -20196,6 +21517,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20196
21517
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putElasticsearchSecurityUser']?.[localVarOperationServerIndex]?.url;
|
|
20197
21518
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20198
21519
|
},
|
|
21520
|
+
/**
|
|
21521
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
21522
|
+
* @summary putSeaweedFSPolicy
|
|
21523
|
+
* @param {string} orgName
|
|
21524
|
+
* @param {string} clusterName
|
|
21525
|
+
* @param {string} policyName
|
|
21526
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
21527
|
+
* @param {*} [options] Override http request option.
|
|
21528
|
+
* @throws {RequiredError}
|
|
21529
|
+
*/
|
|
21530
|
+
async putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21531
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
|
|
21532
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21533
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
21534
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21535
|
+
},
|
|
20199
21536
|
/**
|
|
20200
21537
|
*
|
|
20201
21538
|
* @summary create a SQL query
|
|
@@ -20718,6 +22055,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
20718
22055
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.restoreRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
|
|
20719
22056
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20720
22057
|
},
|
|
22058
|
+
/**
|
|
22059
|
+
*
|
|
22060
|
+
* @summary Retry synchronization of published JARs
|
|
22061
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
22062
|
+
* @param {string} orgName
|
|
22063
|
+
* @param {string} clusterName
|
|
22064
|
+
* @param {string} jarId
|
|
22065
|
+
* @param {*} [options] Override http request option.
|
|
22066
|
+
* @throws {RequiredError}
|
|
22067
|
+
*/
|
|
22068
|
+
async retryClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterJarTask>> {
|
|
22069
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.retryClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
22070
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22071
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.retryClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
22072
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22073
|
+
},
|
|
20721
22074
|
/**
|
|
20722
22075
|
*
|
|
20723
22076
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -21315,6 +22668,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21315
22668
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
21316
22669
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21317
22670
|
},
|
|
22671
|
+
/**
|
|
22672
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
22673
|
+
* @summary updateSeaweedFSAccount
|
|
22674
|
+
* @param {string} orgName name of the organization
|
|
22675
|
+
* @param {string} clusterName name of the cluster
|
|
22676
|
+
* @param {string} accountName name of the account
|
|
22677
|
+
* @param {Account} body
|
|
22678
|
+
* @param {*} [options] Override http request option.
|
|
22679
|
+
* @throws {RequiredError}
|
|
22680
|
+
*/
|
|
22681
|
+
async updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
22682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
|
|
22683
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22684
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
22685
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22686
|
+
},
|
|
22687
|
+
/**
|
|
22688
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
22689
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
22690
|
+
* @param {string} orgName name of the Org
|
|
22691
|
+
* @param {string} clusterName name of the Cluster
|
|
22692
|
+
* @param {string} accountName name of the account
|
|
22693
|
+
* @param {Array<PrivilegeListItem>} body
|
|
22694
|
+
* @param {*} [options] Override http request option.
|
|
22695
|
+
* @throws {RequiredError}
|
|
22696
|
+
*/
|
|
22697
|
+
async updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
22698
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
|
|
22699
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22700
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
22701
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22702
|
+
},
|
|
21318
22703
|
/**
|
|
21319
22704
|
* update a MinIO service account access key
|
|
21320
22705
|
* @summary Update MinIO access key
|
|
@@ -21391,6 +22776,25 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21391
22776
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.upgradeCluster']?.[localVarOperationServerIndex]?.url;
|
|
21392
22777
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21393
22778
|
},
|
|
22779
|
+
/**
|
|
22780
|
+
*
|
|
22781
|
+
* @summary Upload an immutable JAR version
|
|
22782
|
+
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
22783
|
+
* @param {string} orgName
|
|
22784
|
+
* @param {string} clusterName
|
|
22785
|
+
* @param {string} idempotencyKey
|
|
22786
|
+
* @param {string} name
|
|
22787
|
+
* @param {ClusterJarKind} kind
|
|
22788
|
+
* @param {File} file
|
|
22789
|
+
* @param {*} [options] Override http request option.
|
|
22790
|
+
* @throws {RequiredError}
|
|
22791
|
+
*/
|
|
22792
|
+
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>> {
|
|
22793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadClusterJar(engineName, orgName, clusterName, idempotencyKey, name, kind, file, options);
|
|
22794
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22795
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.uploadClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
22796
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22797
|
+
},
|
|
21394
22798
|
/**
|
|
21395
22799
|
*
|
|
21396
22800
|
* @summary Validate cluster creation
|
|
@@ -21500,6 +22904,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21500
22904
|
alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
21501
22905
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
21502
22906
|
},
|
|
22907
|
+
/**
|
|
22908
|
+
*
|
|
22909
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
22910
|
+
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
22911
|
+
* @param {*} [options] Override http request option.
|
|
22912
|
+
* @throws {RequiredError}
|
|
22913
|
+
*/
|
|
22914
|
+
archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22915
|
+
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
22916
|
+
},
|
|
21503
22917
|
/**
|
|
21504
22918
|
* list the service version of the engine
|
|
21505
22919
|
* @summary list the service version of the engine
|
|
@@ -21550,6 +22964,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21550
22964
|
batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>> {
|
|
21551
22965
|
return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
21552
22966
|
},
|
|
22967
|
+
/**
|
|
22968
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
22969
|
+
* @summary bindSeaweedFSPolicies
|
|
22970
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
22971
|
+
* @param {*} [options] Override http request option.
|
|
22972
|
+
* @throws {RequiredError}
|
|
22973
|
+
*/
|
|
22974
|
+
bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22975
|
+
return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
|
|
22976
|
+
},
|
|
21553
22977
|
/**
|
|
21554
22978
|
*
|
|
21555
22979
|
* @summary build backup object with a existing backup directory
|
|
@@ -21791,6 +23215,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21791
23215
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
21792
23216
|
return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
|
|
21793
23217
|
},
|
|
23218
|
+
/**
|
|
23219
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
23220
|
+
* @summary createSeaweedFSAccessKey
|
|
23221
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
23222
|
+
* @param {*} [options] Override http request option.
|
|
23223
|
+
* @throws {RequiredError}
|
|
23224
|
+
*/
|
|
23225
|
+
createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
23226
|
+
return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
|
|
23227
|
+
},
|
|
23228
|
+
/**
|
|
23229
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
23230
|
+
* @summary createSeaweedFSAccount
|
|
23231
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
23232
|
+
* @param {*} [options] Override http request option.
|
|
23233
|
+
* @throws {RequiredError}
|
|
23234
|
+
*/
|
|
23235
|
+
createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
23236
|
+
return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23237
|
+
},
|
|
21794
23238
|
/**
|
|
21795
23239
|
* create a MinIO service account access key
|
|
21796
23240
|
* @summary Create MinIO access key
|
|
@@ -21921,6 +23365,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
21921
23365
|
deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
21922
23366
|
return localVarFp.deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(axios, basePath));
|
|
21923
23367
|
},
|
|
23368
|
+
/**
|
|
23369
|
+
*
|
|
23370
|
+
* @summary Delete an unpublished JAR version
|
|
23371
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
23372
|
+
* @param {*} [options] Override http request option.
|
|
23373
|
+
* @throws {RequiredError}
|
|
23374
|
+
*/
|
|
23375
|
+
deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23376
|
+
return localVarFp.deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
23377
|
+
},
|
|
21924
23378
|
/**
|
|
21925
23379
|
*
|
|
21926
23380
|
* @summary delete the datasource
|
|
@@ -22141,6 +23595,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22141
23595
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22142
23596
|
return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
22143
23597
|
},
|
|
23598
|
+
/**
|
|
23599
|
+
*
|
|
23600
|
+
* @summary deleteSeaweedFSAccessKey
|
|
23601
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
23602
|
+
* @param {*} [options] Override http request option.
|
|
23603
|
+
* @throws {RequiredError}
|
|
23604
|
+
*/
|
|
23605
|
+
deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23606
|
+
return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
23607
|
+
},
|
|
23608
|
+
/**
|
|
23609
|
+
* delete an account in cluster
|
|
23610
|
+
* @summary deleteSeaweedFSAccount
|
|
23611
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
23612
|
+
* @param {*} [options] Override http request option.
|
|
23613
|
+
* @throws {RequiredError}
|
|
23614
|
+
*/
|
|
23615
|
+
deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23616
|
+
return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
23617
|
+
},
|
|
23618
|
+
/**
|
|
23619
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
23620
|
+
* @summary deleteSeaweedFSPolicy
|
|
23621
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
23622
|
+
* @param {*} [options] Override http request option.
|
|
23623
|
+
* @throws {RequiredError}
|
|
23624
|
+
*/
|
|
23625
|
+
deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23626
|
+
return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
|
|
23627
|
+
},
|
|
22144
23628
|
/**
|
|
22145
23629
|
* delete a MinIO service account access key
|
|
22146
23630
|
* @summary Delete MinIO access key
|
|
@@ -22181,6 +23665,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22181
23665
|
disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22182
23666
|
return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22183
23667
|
},
|
|
23668
|
+
/**
|
|
23669
|
+
*
|
|
23670
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
23671
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
23672
|
+
* @param {*} [options] Override http request option.
|
|
23673
|
+
* @throws {RequiredError}
|
|
23674
|
+
*/
|
|
23675
|
+
distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
|
|
23676
|
+
return localVarFp.distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(axios, basePath));
|
|
23677
|
+
},
|
|
22184
23678
|
/**
|
|
22185
23679
|
*
|
|
22186
23680
|
* @summary Restore current cluster or instance
|
|
@@ -22201,6 +23695,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22201
23695
|
downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
22202
23696
|
return localVarFp.downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(axios, basePath));
|
|
22203
23697
|
},
|
|
23698
|
+
/**
|
|
23699
|
+
*
|
|
23700
|
+
* @summary Download the original JAR
|
|
23701
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
23702
|
+
* @param {*} [options] Override http request option.
|
|
23703
|
+
* @throws {RequiredError}
|
|
23704
|
+
*/
|
|
23705
|
+
downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
23706
|
+
return localVarFp.downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
23707
|
+
},
|
|
22204
23708
|
/**
|
|
22205
23709
|
*
|
|
22206
23710
|
* @summary Download multiple backup files
|
|
@@ -22411,6 +23915,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22411
23915
|
getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
22412
23916
|
return localVarFp.getClusterInstanceLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.workloadName, requestParameters.workloadType, requestParameters.previous, requestParameters.sinceSeconds, requestParameters.tailLines, options).then((request) => request(axios, basePath));
|
|
22413
23917
|
},
|
|
23918
|
+
/**
|
|
23919
|
+
*
|
|
23920
|
+
* @summary Get external JAR capability and configuration
|
|
23921
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
23922
|
+
* @param {*} [options] Override http request option.
|
|
23923
|
+
* @throws {RequiredError}
|
|
23924
|
+
*/
|
|
23925
|
+
getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig> {
|
|
23926
|
+
return localVarFp.getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23927
|
+
},
|
|
22414
23928
|
/**
|
|
22415
23929
|
*
|
|
22416
23930
|
* @summary Get cluster parameter template
|
|
@@ -22750,6 +24264,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22750
24264
|
getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
22751
24265
|
return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
22752
24266
|
},
|
|
24267
|
+
/**
|
|
24268
|
+
* get root account password
|
|
24269
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
24270
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
24271
|
+
* @param {*} [options] Override http request option.
|
|
24272
|
+
* @throws {RequiredError}
|
|
24273
|
+
*/
|
|
24274
|
+
getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
24275
|
+
return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
24276
|
+
},
|
|
22753
24277
|
/**
|
|
22754
24278
|
*
|
|
22755
24279
|
* @summary list all databases or schema of the cluster
|
|
@@ -23009,6 +24533,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23009
24533
|
listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
|
|
23010
24534
|
return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
|
|
23011
24535
|
},
|
|
24536
|
+
/**
|
|
24537
|
+
*
|
|
24538
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
24539
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
24540
|
+
* @param {*} [options] Override http request option.
|
|
24541
|
+
* @throws {RequiredError}
|
|
24542
|
+
*/
|
|
24543
|
+
listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList> {
|
|
24544
|
+
return localVarFp.listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
24545
|
+
},
|
|
23012
24546
|
/**
|
|
23013
24547
|
*
|
|
23014
24548
|
* @summary List restore tasks
|
|
@@ -23496,6 +25030,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23496
25030
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
|
|
23497
25031
|
return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
23498
25032
|
},
|
|
25033
|
+
/**
|
|
25034
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
25035
|
+
* @summary listSeaweedFSAccounts
|
|
25036
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
25037
|
+
* @param {*} [options] Override http request option.
|
|
25038
|
+
* @throws {RequiredError}
|
|
25039
|
+
*/
|
|
25040
|
+
listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
|
|
25041
|
+
return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
25042
|
+
},
|
|
25043
|
+
/**
|
|
25044
|
+
*
|
|
25045
|
+
* @summary listSeaweedFSPolicies
|
|
25046
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
25047
|
+
* @param {*} [options] Override http request option.
|
|
25048
|
+
* @throws {RequiredError}
|
|
25049
|
+
*/
|
|
25050
|
+
listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response> {
|
|
25051
|
+
return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
25052
|
+
},
|
|
23499
25053
|
/**
|
|
23500
25054
|
* list MinIO service account access keys
|
|
23501
25055
|
* @summary List MinIO access keys
|
|
@@ -23706,6 +25260,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23706
25260
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23707
25261
|
return localVarFp.putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
23708
25262
|
},
|
|
25263
|
+
/**
|
|
25264
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
25265
|
+
* @summary putSeaweedFSPolicy
|
|
25266
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
25267
|
+
* @param {*} [options] Override http request option.
|
|
25268
|
+
* @throws {RequiredError}
|
|
25269
|
+
*/
|
|
25270
|
+
putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
25271
|
+
return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
25272
|
+
},
|
|
23709
25273
|
/**
|
|
23710
25274
|
*
|
|
23711
25275
|
* @summary create a SQL query
|
|
@@ -23965,6 +25529,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
23965
25529
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster> {
|
|
23966
25530
|
return localVarFp.restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23967
25531
|
},
|
|
25532
|
+
/**
|
|
25533
|
+
*
|
|
25534
|
+
* @summary Retry synchronization of published JARs
|
|
25535
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
25536
|
+
* @param {*} [options] Override http request option.
|
|
25537
|
+
* @throws {RequiredError}
|
|
25538
|
+
*/
|
|
25539
|
+
retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask> {
|
|
25540
|
+
return localVarFp.retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
25541
|
+
},
|
|
23968
25542
|
/**
|
|
23969
25543
|
*
|
|
23970
25544
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -24345,6 +25919,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24345
25919
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
24346
25920
|
return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
|
|
24347
25921
|
},
|
|
25922
|
+
/**
|
|
25923
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
25924
|
+
* @summary updateSeaweedFSAccount
|
|
25925
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
25926
|
+
* @param {*} [options] Override http request option.
|
|
25927
|
+
* @throws {RequiredError}
|
|
25928
|
+
*/
|
|
25929
|
+
updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
25930
|
+
return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
25931
|
+
},
|
|
25932
|
+
/**
|
|
25933
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
25934
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
25935
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
25936
|
+
* @param {*} [options] Override http request option.
|
|
25937
|
+
* @throws {RequiredError}
|
|
25938
|
+
*/
|
|
25939
|
+
updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
25940
|
+
return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
25941
|
+
},
|
|
24348
25942
|
/**
|
|
24349
25943
|
* update a MinIO service account access key
|
|
24350
25944
|
* @summary Update MinIO access key
|
|
@@ -24394,6 +25988,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24394
25988
|
upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName> {
|
|
24395
25989
|
return localVarFp.upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
24396
25990
|
},
|
|
25991
|
+
/**
|
|
25992
|
+
*
|
|
25993
|
+
* @summary Upload an immutable JAR version
|
|
25994
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
25995
|
+
* @param {*} [options] Override http request option.
|
|
25996
|
+
* @throws {RequiredError}
|
|
25997
|
+
*/
|
|
25998
|
+
uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage> {
|
|
25999
|
+
return localVarFp.uploadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.idempotencyKey, requestParameters.name, requestParameters.kind, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
26000
|
+
},
|
|
24397
26001
|
/**
|
|
24398
26002
|
*
|
|
24399
26003
|
* @summary Validate cluster creation
|
|
@@ -24482,6 +26086,16 @@ export interface SharedApiInterface {
|
|
|
24482
26086
|
*/
|
|
24483
26087
|
alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
24484
26088
|
|
|
26089
|
+
/**
|
|
26090
|
+
*
|
|
26091
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
26092
|
+
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
26093
|
+
* @param {*} [options] Override http request option.
|
|
26094
|
+
* @throws {RequiredError}
|
|
26095
|
+
* @memberof SharedApiInterface
|
|
26096
|
+
*/
|
|
26097
|
+
archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26098
|
+
|
|
24485
26099
|
/**
|
|
24486
26100
|
* list the service version of the engine
|
|
24487
26101
|
* @summary list the service version of the engine
|
|
@@ -24532,6 +26146,16 @@ export interface SharedApiInterface {
|
|
|
24532
26146
|
*/
|
|
24533
26147
|
batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>>;
|
|
24534
26148
|
|
|
26149
|
+
/**
|
|
26150
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
26151
|
+
* @summary bindSeaweedFSPolicies
|
|
26152
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
26153
|
+
* @param {*} [options] Override http request option.
|
|
26154
|
+
* @throws {RequiredError}
|
|
26155
|
+
* @memberof SharedApiInterface
|
|
26156
|
+
*/
|
|
26157
|
+
bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26158
|
+
|
|
24535
26159
|
/**
|
|
24536
26160
|
*
|
|
24537
26161
|
* @summary build backup object with a existing backup directory
|
|
@@ -24773,6 +26397,26 @@ export interface SharedApiInterface {
|
|
|
24773
26397
|
*/
|
|
24774
26398
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
24775
26399
|
|
|
26400
|
+
/**
|
|
26401
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
26402
|
+
* @summary createSeaweedFSAccessKey
|
|
26403
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
26404
|
+
* @param {*} [options] Override http request option.
|
|
26405
|
+
* @throws {RequiredError}
|
|
26406
|
+
* @memberof SharedApiInterface
|
|
26407
|
+
*/
|
|
26408
|
+
createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
26409
|
+
|
|
26410
|
+
/**
|
|
26411
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
26412
|
+
* @summary createSeaweedFSAccount
|
|
26413
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
26414
|
+
* @param {*} [options] Override http request option.
|
|
26415
|
+
* @throws {RequiredError}
|
|
26416
|
+
* @memberof SharedApiInterface
|
|
26417
|
+
*/
|
|
26418
|
+
createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
26419
|
+
|
|
24776
26420
|
/**
|
|
24777
26421
|
* create a MinIO service account access key
|
|
24778
26422
|
* @summary Create MinIO access key
|
|
@@ -24903,6 +26547,16 @@ export interface SharedApiInterface {
|
|
|
24903
26547
|
*/
|
|
24904
26548
|
deleteCluster(requestParameters: SharedApiDeleteClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
24905
26549
|
|
|
26550
|
+
/**
|
|
26551
|
+
*
|
|
26552
|
+
* @summary Delete an unpublished JAR version
|
|
26553
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
26554
|
+
* @param {*} [options] Override http request option.
|
|
26555
|
+
* @throws {RequiredError}
|
|
26556
|
+
* @memberof SharedApiInterface
|
|
26557
|
+
*/
|
|
26558
|
+
deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26559
|
+
|
|
24906
26560
|
/**
|
|
24907
26561
|
*
|
|
24908
26562
|
* @summary delete the datasource
|
|
@@ -25123,6 +26777,36 @@ export interface SharedApiInterface {
|
|
|
25123
26777
|
*/
|
|
25124
26778
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25125
26779
|
|
|
26780
|
+
/**
|
|
26781
|
+
*
|
|
26782
|
+
* @summary deleteSeaweedFSAccessKey
|
|
26783
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
26784
|
+
* @param {*} [options] Override http request option.
|
|
26785
|
+
* @throws {RequiredError}
|
|
26786
|
+
* @memberof SharedApiInterface
|
|
26787
|
+
*/
|
|
26788
|
+
deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26789
|
+
|
|
26790
|
+
/**
|
|
26791
|
+
* delete an account in cluster
|
|
26792
|
+
* @summary deleteSeaweedFSAccount
|
|
26793
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
26794
|
+
* @param {*} [options] Override http request option.
|
|
26795
|
+
* @throws {RequiredError}
|
|
26796
|
+
* @memberof SharedApiInterface
|
|
26797
|
+
*/
|
|
26798
|
+
deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26799
|
+
|
|
26800
|
+
/**
|
|
26801
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
26802
|
+
* @summary deleteSeaweedFSPolicy
|
|
26803
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
26804
|
+
* @param {*} [options] Override http request option.
|
|
26805
|
+
* @throws {RequiredError}
|
|
26806
|
+
* @memberof SharedApiInterface
|
|
26807
|
+
*/
|
|
26808
|
+
deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26809
|
+
|
|
25126
26810
|
/**
|
|
25127
26811
|
* delete a MinIO service account access key
|
|
25128
26812
|
* @summary Delete MinIO access key
|
|
@@ -25163,6 +26847,16 @@ export interface SharedApiInterface {
|
|
|
25163
26847
|
*/
|
|
25164
26848
|
disableConsole(requestParameters: SharedApiDisableConsoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25165
26849
|
|
|
26850
|
+
/**
|
|
26851
|
+
*
|
|
26852
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
26853
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
26854
|
+
* @param {*} [options] Override http request option.
|
|
26855
|
+
* @throws {RequiredError}
|
|
26856
|
+
* @memberof SharedApiInterface
|
|
26857
|
+
*/
|
|
26858
|
+
distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
|
|
26859
|
+
|
|
25166
26860
|
/**
|
|
25167
26861
|
*
|
|
25168
26862
|
* @summary Restore current cluster or instance
|
|
@@ -25183,6 +26877,16 @@ export interface SharedApiInterface {
|
|
|
25183
26877
|
*/
|
|
25184
26878
|
downloadBackup(requestParameters: SharedApiDownloadBackupRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
25185
26879
|
|
|
26880
|
+
/**
|
|
26881
|
+
*
|
|
26882
|
+
* @summary Download the original JAR
|
|
26883
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
26884
|
+
* @param {*} [options] Override http request option.
|
|
26885
|
+
* @throws {RequiredError}
|
|
26886
|
+
* @memberof SharedApiInterface
|
|
26887
|
+
*/
|
|
26888
|
+
downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
26889
|
+
|
|
25186
26890
|
/**
|
|
25187
26891
|
*
|
|
25188
26892
|
* @summary Download multiple backup files
|
|
@@ -25393,6 +27097,16 @@ export interface SharedApiInterface {
|
|
|
25393
27097
|
*/
|
|
25394
27098
|
getClusterInstanceLog(requestParameters: SharedApiGetClusterInstanceLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
25395
27099
|
|
|
27100
|
+
/**
|
|
27101
|
+
*
|
|
27102
|
+
* @summary Get external JAR capability and configuration
|
|
27103
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
27104
|
+
* @param {*} [options] Override http request option.
|
|
27105
|
+
* @throws {RequiredError}
|
|
27106
|
+
* @memberof SharedApiInterface
|
|
27107
|
+
*/
|
|
27108
|
+
getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarConfig>;
|
|
27109
|
+
|
|
25396
27110
|
/**
|
|
25397
27111
|
*
|
|
25398
27112
|
* @summary Get cluster parameter template
|
|
@@ -25732,6 +27446,16 @@ export interface SharedApiInterface {
|
|
|
25732
27446
|
*/
|
|
25733
27447
|
getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
25734
27448
|
|
|
27449
|
+
/**
|
|
27450
|
+
* get root account password
|
|
27451
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
27452
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
27453
|
+
* @param {*} [options] Override http request option.
|
|
27454
|
+
* @throws {RequiredError}
|
|
27455
|
+
* @memberof SharedApiInterface
|
|
27456
|
+
*/
|
|
27457
|
+
getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
27458
|
+
|
|
25735
27459
|
/**
|
|
25736
27460
|
*
|
|
25737
27461
|
* @summary list all databases or schema of the cluster
|
|
@@ -25991,6 +27715,16 @@ export interface SharedApiInterface {
|
|
|
25991
27715
|
*/
|
|
25992
27716
|
listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList>;
|
|
25993
27717
|
|
|
27718
|
+
/**
|
|
27719
|
+
*
|
|
27720
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
27721
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
27722
|
+
* @param {*} [options] Override http request option.
|
|
27723
|
+
* @throws {RequiredError}
|
|
27724
|
+
* @memberof SharedApiInterface
|
|
27725
|
+
*/
|
|
27726
|
+
listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarList>;
|
|
27727
|
+
|
|
25994
27728
|
/**
|
|
25995
27729
|
*
|
|
25996
27730
|
* @summary List restore tasks
|
|
@@ -26478,6 +28212,26 @@ export interface SharedApiInterface {
|
|
|
26478
28212
|
*/
|
|
26479
28213
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
|
|
26480
28214
|
|
|
28215
|
+
/**
|
|
28216
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
28217
|
+
* @summary listSeaweedFSAccounts
|
|
28218
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
28219
|
+
* @param {*} [options] Override http request option.
|
|
28220
|
+
* @throws {RequiredError}
|
|
28221
|
+
* @memberof SharedApiInterface
|
|
28222
|
+
*/
|
|
28223
|
+
listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
28224
|
+
|
|
28225
|
+
/**
|
|
28226
|
+
*
|
|
28227
|
+
* @summary listSeaweedFSPolicies
|
|
28228
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
28229
|
+
* @param {*} [options] Override http request option.
|
|
28230
|
+
* @throws {RequiredError}
|
|
28231
|
+
* @memberof SharedApiInterface
|
|
28232
|
+
*/
|
|
28233
|
+
listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
|
|
28234
|
+
|
|
26481
28235
|
/**
|
|
26482
28236
|
* list MinIO service account access keys
|
|
26483
28237
|
* @summary List MinIO access keys
|
|
@@ -26688,6 +28442,16 @@ export interface SharedApiInterface {
|
|
|
26688
28442
|
*/
|
|
26689
28443
|
putElasticsearchSecurityUser(requestParameters: SharedApiPutElasticsearchSecurityUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26690
28444
|
|
|
28445
|
+
/**
|
|
28446
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
28447
|
+
* @summary putSeaweedFSPolicy
|
|
28448
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
28449
|
+
* @param {*} [options] Override http request option.
|
|
28450
|
+
* @throws {RequiredError}
|
|
28451
|
+
* @memberof SharedApiInterface
|
|
28452
|
+
*/
|
|
28453
|
+
putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
28454
|
+
|
|
26691
28455
|
/**
|
|
26692
28456
|
*
|
|
26693
28457
|
* @summary create a SQL query
|
|
@@ -26947,6 +28711,16 @@ export interface SharedApiInterface {
|
|
|
26947
28711
|
*/
|
|
26948
28712
|
restoreRecycleBinCluster(requestParameters: SharedApiRestoreRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Cluster>;
|
|
26949
28713
|
|
|
28714
|
+
/**
|
|
28715
|
+
*
|
|
28716
|
+
* @summary Retry synchronization of published JARs
|
|
28717
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
28718
|
+
* @param {*} [options] Override http request option.
|
|
28719
|
+
* @throws {RequiredError}
|
|
28720
|
+
* @memberof SharedApiInterface
|
|
28721
|
+
*/
|
|
28722
|
+
retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarTask>;
|
|
28723
|
+
|
|
26950
28724
|
/**
|
|
26951
28725
|
*
|
|
26952
28726
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -27327,6 +29101,26 @@ export interface SharedApiInterface {
|
|
|
27327
29101
|
*/
|
|
27328
29102
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
27329
29103
|
|
|
29104
|
+
/**
|
|
29105
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
29106
|
+
* @summary updateSeaweedFSAccount
|
|
29107
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
29108
|
+
* @param {*} [options] Override http request option.
|
|
29109
|
+
* @throws {RequiredError}
|
|
29110
|
+
* @memberof SharedApiInterface
|
|
29111
|
+
*/
|
|
29112
|
+
updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
29113
|
+
|
|
29114
|
+
/**
|
|
29115
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
29116
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
29117
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
29118
|
+
* @param {*} [options] Override http request option.
|
|
29119
|
+
* @throws {RequiredError}
|
|
29120
|
+
* @memberof SharedApiInterface
|
|
29121
|
+
*/
|
|
29122
|
+
updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
29123
|
+
|
|
27330
29124
|
/**
|
|
27331
29125
|
* update a MinIO service account access key
|
|
27332
29126
|
* @summary Update MinIO access key
|
|
@@ -27376,6 +29170,16 @@ export interface SharedApiInterface {
|
|
|
27376
29170
|
*/
|
|
27377
29171
|
upgradeCluster(requestParameters: SharedApiUpgradeClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
|
|
27378
29172
|
|
|
29173
|
+
/**
|
|
29174
|
+
*
|
|
29175
|
+
* @summary Upload an immutable JAR version
|
|
29176
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
29177
|
+
* @param {*} [options] Override http request option.
|
|
29178
|
+
* @throws {RequiredError}
|
|
29179
|
+
* @memberof SharedApiInterface
|
|
29180
|
+
*/
|
|
29181
|
+
uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterJarPackage>;
|
|
29182
|
+
|
|
27379
29183
|
/**
|
|
27380
29184
|
*
|
|
27381
29185
|
* @summary Validate cluster creation
|
|
@@ -27656,6 +29460,41 @@ export interface SharedApiAlterParameterRequest {
|
|
|
27656
29460
|
readonly dmsObAlterParameter: DmsObAlterParameter
|
|
27657
29461
|
}
|
|
27658
29462
|
|
|
29463
|
+
/**
|
|
29464
|
+
* Request parameters for archiveClusterJar operation in SharedApi.
|
|
29465
|
+
* @export
|
|
29466
|
+
* @interface SharedApiArchiveClusterJarRequest
|
|
29467
|
+
*/
|
|
29468
|
+
export interface SharedApiArchiveClusterJarRequest {
|
|
29469
|
+
/**
|
|
29470
|
+
* Doris or SelectDB engine of the target cluster.
|
|
29471
|
+
* @type {string}
|
|
29472
|
+
* @memberof SharedApiArchiveClusterJar
|
|
29473
|
+
*/
|
|
29474
|
+
readonly engineName: string
|
|
29475
|
+
|
|
29476
|
+
/**
|
|
29477
|
+
*
|
|
29478
|
+
* @type {string}
|
|
29479
|
+
* @memberof SharedApiArchiveClusterJar
|
|
29480
|
+
*/
|
|
29481
|
+
readonly orgName: string
|
|
29482
|
+
|
|
29483
|
+
/**
|
|
29484
|
+
*
|
|
29485
|
+
* @type {string}
|
|
29486
|
+
* @memberof SharedApiArchiveClusterJar
|
|
29487
|
+
*/
|
|
29488
|
+
readonly clusterName: string
|
|
29489
|
+
|
|
29490
|
+
/**
|
|
29491
|
+
*
|
|
29492
|
+
* @type {string}
|
|
29493
|
+
* @memberof SharedApiArchiveClusterJar
|
|
29494
|
+
*/
|
|
29495
|
+
readonly jarId: string
|
|
29496
|
+
}
|
|
29497
|
+
|
|
27659
29498
|
/**
|
|
27660
29499
|
* Request parameters for availableServiceVersion operation in SharedApi.
|
|
27661
29500
|
* @export
|
|
@@ -27775,6 +29614,41 @@ export interface SharedApiBatchUpdateOrgParametersRequest {
|
|
|
27775
29614
|
readonly orgParameter: Array<OrgParameter>
|
|
27776
29615
|
}
|
|
27777
29616
|
|
|
29617
|
+
/**
|
|
29618
|
+
* Request parameters for bindSeaweedFSPolicies operation in SharedApi.
|
|
29619
|
+
* @export
|
|
29620
|
+
* @interface SharedApiBindSeaweedFSPoliciesRequest
|
|
29621
|
+
*/
|
|
29622
|
+
export interface SharedApiBindSeaweedFSPoliciesRequest {
|
|
29623
|
+
/**
|
|
29624
|
+
*
|
|
29625
|
+
* @type {string}
|
|
29626
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
29627
|
+
*/
|
|
29628
|
+
readonly orgName: string
|
|
29629
|
+
|
|
29630
|
+
/**
|
|
29631
|
+
*
|
|
29632
|
+
* @type {string}
|
|
29633
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
29634
|
+
*/
|
|
29635
|
+
readonly clusterName: string
|
|
29636
|
+
|
|
29637
|
+
/**
|
|
29638
|
+
*
|
|
29639
|
+
* @type {string}
|
|
29640
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
29641
|
+
*/
|
|
29642
|
+
readonly accountName: string
|
|
29643
|
+
|
|
29644
|
+
/**
|
|
29645
|
+
*
|
|
29646
|
+
* @type {BindSeaweedFSPoliciesRequest}
|
|
29647
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
29648
|
+
*/
|
|
29649
|
+
readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest
|
|
29650
|
+
}
|
|
29651
|
+
|
|
27778
29652
|
/**
|
|
27779
29653
|
* Request parameters for buildBackupObj operation in SharedApi.
|
|
27780
29654
|
* @export
|
|
@@ -28468,6 +30342,69 @@ export interface SharedApiCreateRoleRequest {
|
|
|
28468
30342
|
readonly roleCreate: RoleCreate
|
|
28469
30343
|
}
|
|
28470
30344
|
|
|
30345
|
+
/**
|
|
30346
|
+
* Request parameters for createSeaweedFSAccessKey operation in SharedApi.
|
|
30347
|
+
* @export
|
|
30348
|
+
* @interface SharedApiCreateSeaweedFSAccessKeyRequest
|
|
30349
|
+
*/
|
|
30350
|
+
export interface SharedApiCreateSeaweedFSAccessKeyRequest {
|
|
30351
|
+
/**
|
|
30352
|
+
*
|
|
30353
|
+
* @type {string}
|
|
30354
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
30355
|
+
*/
|
|
30356
|
+
readonly orgName: string
|
|
30357
|
+
|
|
30358
|
+
/**
|
|
30359
|
+
*
|
|
30360
|
+
* @type {string}
|
|
30361
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
30362
|
+
*/
|
|
30363
|
+
readonly clusterName: string
|
|
30364
|
+
|
|
30365
|
+
/**
|
|
30366
|
+
*
|
|
30367
|
+
* @type {string}
|
|
30368
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
30369
|
+
*/
|
|
30370
|
+
readonly accountName: string
|
|
30371
|
+
|
|
30372
|
+
/**
|
|
30373
|
+
*
|
|
30374
|
+
* @type {Account}
|
|
30375
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
30376
|
+
*/
|
|
30377
|
+
readonly account: Account
|
|
30378
|
+
}
|
|
30379
|
+
|
|
30380
|
+
/**
|
|
30381
|
+
* Request parameters for createSeaweedFSAccount operation in SharedApi.
|
|
30382
|
+
* @export
|
|
30383
|
+
* @interface SharedApiCreateSeaweedFSAccountRequest
|
|
30384
|
+
*/
|
|
30385
|
+
export interface SharedApiCreateSeaweedFSAccountRequest {
|
|
30386
|
+
/**
|
|
30387
|
+
* name of the organization
|
|
30388
|
+
* @type {string}
|
|
30389
|
+
* @memberof SharedApiCreateSeaweedFSAccount
|
|
30390
|
+
*/
|
|
30391
|
+
readonly orgName: string
|
|
30392
|
+
|
|
30393
|
+
/**
|
|
30394
|
+
* name of the cluster
|
|
30395
|
+
* @type {string}
|
|
30396
|
+
* @memberof SharedApiCreateSeaweedFSAccount
|
|
30397
|
+
*/
|
|
30398
|
+
readonly clusterName: string
|
|
30399
|
+
|
|
30400
|
+
/**
|
|
30401
|
+
*
|
|
30402
|
+
* @type {Account}
|
|
30403
|
+
* @memberof SharedApiCreateSeaweedFSAccount
|
|
30404
|
+
*/
|
|
30405
|
+
readonly body: Account
|
|
30406
|
+
}
|
|
30407
|
+
|
|
28471
30408
|
/**
|
|
28472
30409
|
* Request parameters for createServiceAccount operation in SharedApi.
|
|
28473
30410
|
* @export
|
|
@@ -28818,6 +30755,41 @@ export interface SharedApiDeleteClusterRequest {
|
|
|
28818
30755
|
readonly force?: boolean
|
|
28819
30756
|
}
|
|
28820
30757
|
|
|
30758
|
+
/**
|
|
30759
|
+
* Request parameters for deleteClusterJar operation in SharedApi.
|
|
30760
|
+
* @export
|
|
30761
|
+
* @interface SharedApiDeleteClusterJarRequest
|
|
30762
|
+
*/
|
|
30763
|
+
export interface SharedApiDeleteClusterJarRequest {
|
|
30764
|
+
/**
|
|
30765
|
+
* Doris or SelectDB engine of the target cluster.
|
|
30766
|
+
* @type {string}
|
|
30767
|
+
* @memberof SharedApiDeleteClusterJar
|
|
30768
|
+
*/
|
|
30769
|
+
readonly engineName: string
|
|
30770
|
+
|
|
30771
|
+
/**
|
|
30772
|
+
*
|
|
30773
|
+
* @type {string}
|
|
30774
|
+
* @memberof SharedApiDeleteClusterJar
|
|
30775
|
+
*/
|
|
30776
|
+
readonly orgName: string
|
|
30777
|
+
|
|
30778
|
+
/**
|
|
30779
|
+
*
|
|
30780
|
+
* @type {string}
|
|
30781
|
+
* @memberof SharedApiDeleteClusterJar
|
|
30782
|
+
*/
|
|
30783
|
+
readonly clusterName: string
|
|
30784
|
+
|
|
30785
|
+
/**
|
|
30786
|
+
*
|
|
30787
|
+
* @type {string}
|
|
30788
|
+
* @memberof SharedApiDeleteClusterJar
|
|
30789
|
+
*/
|
|
30790
|
+
readonly jarId: string
|
|
30791
|
+
}
|
|
30792
|
+
|
|
28821
30793
|
/**
|
|
28822
30794
|
* Request parameters for deleteDataSourceV2 operation in SharedApi.
|
|
28823
30795
|
* @export
|
|
@@ -29420,6 +31392,97 @@ export interface SharedApiDeleteRoleByNameRequest {
|
|
|
29420
31392
|
readonly roleName: string
|
|
29421
31393
|
}
|
|
29422
31394
|
|
|
31395
|
+
/**
|
|
31396
|
+
* Request parameters for deleteSeaweedFSAccessKey operation in SharedApi.
|
|
31397
|
+
* @export
|
|
31398
|
+
* @interface SharedApiDeleteSeaweedFSAccessKeyRequest
|
|
31399
|
+
*/
|
|
31400
|
+
export interface SharedApiDeleteSeaweedFSAccessKeyRequest {
|
|
31401
|
+
/**
|
|
31402
|
+
*
|
|
31403
|
+
* @type {string}
|
|
31404
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
31405
|
+
*/
|
|
31406
|
+
readonly orgName: string
|
|
31407
|
+
|
|
31408
|
+
/**
|
|
31409
|
+
*
|
|
31410
|
+
* @type {string}
|
|
31411
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
31412
|
+
*/
|
|
31413
|
+
readonly clusterName: string
|
|
31414
|
+
|
|
31415
|
+
/**
|
|
31416
|
+
*
|
|
31417
|
+
* @type {string}
|
|
31418
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
31419
|
+
*/
|
|
31420
|
+
readonly accountName: string
|
|
31421
|
+
|
|
31422
|
+
/**
|
|
31423
|
+
*
|
|
31424
|
+
* @type {string}
|
|
31425
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
31426
|
+
*/
|
|
31427
|
+
readonly accessKey: string
|
|
31428
|
+
}
|
|
31429
|
+
|
|
31430
|
+
/**
|
|
31431
|
+
* Request parameters for deleteSeaweedFSAccount operation in SharedApi.
|
|
31432
|
+
* @export
|
|
31433
|
+
* @interface SharedApiDeleteSeaweedFSAccountRequest
|
|
31434
|
+
*/
|
|
31435
|
+
export interface SharedApiDeleteSeaweedFSAccountRequest {
|
|
31436
|
+
/**
|
|
31437
|
+
* name of the organization
|
|
31438
|
+
* @type {string}
|
|
31439
|
+
* @memberof SharedApiDeleteSeaweedFSAccount
|
|
31440
|
+
*/
|
|
31441
|
+
readonly orgName: string
|
|
31442
|
+
|
|
31443
|
+
/**
|
|
31444
|
+
* name of the cluster
|
|
31445
|
+
* @type {string}
|
|
31446
|
+
* @memberof SharedApiDeleteSeaweedFSAccount
|
|
31447
|
+
*/
|
|
31448
|
+
readonly clusterName: string
|
|
31449
|
+
|
|
31450
|
+
/**
|
|
31451
|
+
* name of the account
|
|
31452
|
+
* @type {string}
|
|
31453
|
+
* @memberof SharedApiDeleteSeaweedFSAccount
|
|
31454
|
+
*/
|
|
31455
|
+
readonly accountName: string
|
|
31456
|
+
}
|
|
31457
|
+
|
|
31458
|
+
/**
|
|
31459
|
+
* Request parameters for deleteSeaweedFSPolicy operation in SharedApi.
|
|
31460
|
+
* @export
|
|
31461
|
+
* @interface SharedApiDeleteSeaweedFSPolicyRequest
|
|
31462
|
+
*/
|
|
31463
|
+
export interface SharedApiDeleteSeaweedFSPolicyRequest {
|
|
31464
|
+
/**
|
|
31465
|
+
*
|
|
31466
|
+
* @type {string}
|
|
31467
|
+
* @memberof SharedApiDeleteSeaweedFSPolicy
|
|
31468
|
+
*/
|
|
31469
|
+
readonly orgName: string
|
|
31470
|
+
|
|
31471
|
+
/**
|
|
31472
|
+
*
|
|
31473
|
+
* @type {string}
|
|
31474
|
+
* @memberof SharedApiDeleteSeaweedFSPolicy
|
|
31475
|
+
*/
|
|
31476
|
+
readonly clusterName: string
|
|
31477
|
+
|
|
31478
|
+
/**
|
|
31479
|
+
*
|
|
31480
|
+
* @type {string}
|
|
31481
|
+
* @memberof SharedApiDeleteSeaweedFSPolicy
|
|
31482
|
+
*/
|
|
31483
|
+
readonly policyName: string
|
|
31484
|
+
}
|
|
31485
|
+
|
|
29423
31486
|
/**
|
|
29424
31487
|
* Request parameters for deleteServiceAccount operation in SharedApi.
|
|
29425
31488
|
* @export
|
|
@@ -29546,6 +31609,48 @@ export interface SharedApiDisableConsoleRequest {
|
|
|
29546
31609
|
readonly clusterName: string
|
|
29547
31610
|
}
|
|
29548
31611
|
|
|
31612
|
+
/**
|
|
31613
|
+
* Request parameters for distributeClusterJar operation in SharedApi.
|
|
31614
|
+
* @export
|
|
31615
|
+
* @interface SharedApiDistributeClusterJarRequest
|
|
31616
|
+
*/
|
|
31617
|
+
export interface SharedApiDistributeClusterJarRequest {
|
|
31618
|
+
/**
|
|
31619
|
+
* Doris or SelectDB engine of the target cluster.
|
|
31620
|
+
* @type {string}
|
|
31621
|
+
* @memberof SharedApiDistributeClusterJar
|
|
31622
|
+
*/
|
|
31623
|
+
readonly engineName: string
|
|
31624
|
+
|
|
31625
|
+
/**
|
|
31626
|
+
*
|
|
31627
|
+
* @type {string}
|
|
31628
|
+
* @memberof SharedApiDistributeClusterJar
|
|
31629
|
+
*/
|
|
31630
|
+
readonly orgName: string
|
|
31631
|
+
|
|
31632
|
+
/**
|
|
31633
|
+
*
|
|
31634
|
+
* @type {string}
|
|
31635
|
+
* @memberof SharedApiDistributeClusterJar
|
|
31636
|
+
*/
|
|
31637
|
+
readonly clusterName: string
|
|
31638
|
+
|
|
31639
|
+
/**
|
|
31640
|
+
*
|
|
31641
|
+
* @type {string}
|
|
31642
|
+
* @memberof SharedApiDistributeClusterJar
|
|
31643
|
+
*/
|
|
31644
|
+
readonly jarId: string
|
|
31645
|
+
|
|
31646
|
+
/**
|
|
31647
|
+
*
|
|
31648
|
+
* @type {ClusterJarPublish}
|
|
31649
|
+
* @memberof SharedApiDistributeClusterJar
|
|
31650
|
+
*/
|
|
31651
|
+
readonly clusterJarPublish: ClusterJarPublish
|
|
31652
|
+
}
|
|
31653
|
+
|
|
29549
31654
|
/**
|
|
29550
31655
|
* Request parameters for doRestore operation in SharedApi.
|
|
29551
31656
|
* @export
|
|
@@ -29595,6 +31700,41 @@ export interface SharedApiDownloadBackupRequest {
|
|
|
29595
31700
|
readonly backupId: string
|
|
29596
31701
|
}
|
|
29597
31702
|
|
|
31703
|
+
/**
|
|
31704
|
+
* Request parameters for downloadClusterJar operation in SharedApi.
|
|
31705
|
+
* @export
|
|
31706
|
+
* @interface SharedApiDownloadClusterJarRequest
|
|
31707
|
+
*/
|
|
31708
|
+
export interface SharedApiDownloadClusterJarRequest {
|
|
31709
|
+
/**
|
|
31710
|
+
* Doris or SelectDB engine of the target cluster.
|
|
31711
|
+
* @type {string}
|
|
31712
|
+
* @memberof SharedApiDownloadClusterJar
|
|
31713
|
+
*/
|
|
31714
|
+
readonly engineName: string
|
|
31715
|
+
|
|
31716
|
+
/**
|
|
31717
|
+
*
|
|
31718
|
+
* @type {string}
|
|
31719
|
+
* @memberof SharedApiDownloadClusterJar
|
|
31720
|
+
*/
|
|
31721
|
+
readonly orgName: string
|
|
31722
|
+
|
|
31723
|
+
/**
|
|
31724
|
+
*
|
|
31725
|
+
* @type {string}
|
|
31726
|
+
* @memberof SharedApiDownloadClusterJar
|
|
31727
|
+
*/
|
|
31728
|
+
readonly clusterName: string
|
|
31729
|
+
|
|
31730
|
+
/**
|
|
31731
|
+
*
|
|
31732
|
+
* @type {string}
|
|
31733
|
+
* @memberof SharedApiDownloadClusterJar
|
|
31734
|
+
*/
|
|
31735
|
+
readonly jarId: string
|
|
31736
|
+
}
|
|
31737
|
+
|
|
29598
31738
|
/**
|
|
29599
31739
|
* Request parameters for downloadMultipleBackups operation in SharedApi.
|
|
29600
31740
|
* @export
|
|
@@ -30428,6 +32568,34 @@ export interface SharedApiGetClusterInstanceLogRequest {
|
|
|
30428
32568
|
readonly tailLines?: number
|
|
30429
32569
|
}
|
|
30430
32570
|
|
|
32571
|
+
/**
|
|
32572
|
+
* Request parameters for getClusterJarConfig operation in SharedApi.
|
|
32573
|
+
* @export
|
|
32574
|
+
* @interface SharedApiGetClusterJarConfigRequest
|
|
32575
|
+
*/
|
|
32576
|
+
export interface SharedApiGetClusterJarConfigRequest {
|
|
32577
|
+
/**
|
|
32578
|
+
* Doris or SelectDB engine of the target cluster.
|
|
32579
|
+
* @type {string}
|
|
32580
|
+
* @memberof SharedApiGetClusterJarConfig
|
|
32581
|
+
*/
|
|
32582
|
+
readonly engineName: string
|
|
32583
|
+
|
|
32584
|
+
/**
|
|
32585
|
+
*
|
|
32586
|
+
* @type {string}
|
|
32587
|
+
* @memberof SharedApiGetClusterJarConfig
|
|
32588
|
+
*/
|
|
32589
|
+
readonly orgName: string
|
|
32590
|
+
|
|
32591
|
+
/**
|
|
32592
|
+
*
|
|
32593
|
+
* @type {string}
|
|
32594
|
+
* @memberof SharedApiGetClusterJarConfig
|
|
32595
|
+
*/
|
|
32596
|
+
readonly clusterName: string
|
|
32597
|
+
}
|
|
32598
|
+
|
|
30431
32599
|
/**
|
|
30432
32600
|
* Request parameters for getClusterParameterTemplate operation in SharedApi.
|
|
30433
32601
|
* @export
|
|
@@ -31429,6 +33597,41 @@ export interface SharedApiGetRootAccountPasswordRequest {
|
|
|
31429
33597
|
readonly component?: string
|
|
31430
33598
|
}
|
|
31431
33599
|
|
|
33600
|
+
/**
|
|
33601
|
+
* Request parameters for getRootSeaweedFSAccountPassword operation in SharedApi.
|
|
33602
|
+
* @export
|
|
33603
|
+
* @interface SharedApiGetRootSeaweedFSAccountPasswordRequest
|
|
33604
|
+
*/
|
|
33605
|
+
export interface SharedApiGetRootSeaweedFSAccountPasswordRequest {
|
|
33606
|
+
/**
|
|
33607
|
+
* name of the Org
|
|
33608
|
+
* @type {string}
|
|
33609
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
33610
|
+
*/
|
|
33611
|
+
readonly orgName: string
|
|
33612
|
+
|
|
33613
|
+
/**
|
|
33614
|
+
* name of the Cluster
|
|
33615
|
+
* @type {string}
|
|
33616
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
33617
|
+
*/
|
|
33618
|
+
readonly clusterName: string
|
|
33619
|
+
|
|
33620
|
+
/**
|
|
33621
|
+
* name of the account
|
|
33622
|
+
* @type {string}
|
|
33623
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
33624
|
+
*/
|
|
33625
|
+
readonly accountName: string
|
|
33626
|
+
|
|
33627
|
+
/**
|
|
33628
|
+
* name of the component
|
|
33629
|
+
* @type {string}
|
|
33630
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
33631
|
+
*/
|
|
33632
|
+
readonly component?: string
|
|
33633
|
+
}
|
|
33634
|
+
|
|
31432
33635
|
/**
|
|
31433
33636
|
* Request parameters for getSchemaList operation in SharedApi.
|
|
31434
33637
|
* @export
|
|
@@ -32437,6 +34640,34 @@ export interface SharedApiListClusterRequest {
|
|
|
32437
34640
|
readonly includeEndpoints?: boolean
|
|
32438
34641
|
}
|
|
32439
34642
|
|
|
34643
|
+
/**
|
|
34644
|
+
* Request parameters for listClusterJars operation in SharedApi.
|
|
34645
|
+
* @export
|
|
34646
|
+
* @interface SharedApiListClusterJarsRequest
|
|
34647
|
+
*/
|
|
34648
|
+
export interface SharedApiListClusterJarsRequest {
|
|
34649
|
+
/**
|
|
34650
|
+
* Doris or SelectDB engine of the target cluster.
|
|
34651
|
+
* @type {string}
|
|
34652
|
+
* @memberof SharedApiListClusterJars
|
|
34653
|
+
*/
|
|
34654
|
+
readonly engineName: string
|
|
34655
|
+
|
|
34656
|
+
/**
|
|
34657
|
+
*
|
|
34658
|
+
* @type {string}
|
|
34659
|
+
* @memberof SharedApiListClusterJars
|
|
34660
|
+
*/
|
|
34661
|
+
readonly orgName: string
|
|
34662
|
+
|
|
34663
|
+
/**
|
|
34664
|
+
*
|
|
34665
|
+
* @type {string}
|
|
34666
|
+
* @memberof SharedApiListClusterJars
|
|
34667
|
+
*/
|
|
34668
|
+
readonly clusterName: string
|
|
34669
|
+
}
|
|
34670
|
+
|
|
32440
34671
|
/**
|
|
32441
34672
|
* Request parameters for listClusterRestore operation in SharedApi.
|
|
32442
34673
|
* @export
|
|
@@ -33690,6 +35921,48 @@ export interface SharedApiListRolesRequest {
|
|
|
33690
35921
|
readonly orgName: string
|
|
33691
35922
|
}
|
|
33692
35923
|
|
|
35924
|
+
/**
|
|
35925
|
+
* Request parameters for listSeaweedFSAccounts operation in SharedApi.
|
|
35926
|
+
* @export
|
|
35927
|
+
* @interface SharedApiListSeaweedFSAccountsRequest
|
|
35928
|
+
*/
|
|
35929
|
+
export interface SharedApiListSeaweedFSAccountsRequest {
|
|
35930
|
+
/**
|
|
35931
|
+
* name of the organization
|
|
35932
|
+
* @type {string}
|
|
35933
|
+
* @memberof SharedApiListSeaweedFSAccounts
|
|
35934
|
+
*/
|
|
35935
|
+
readonly orgName: string
|
|
35936
|
+
|
|
35937
|
+
/**
|
|
35938
|
+
* name of the cluster
|
|
35939
|
+
* @type {string}
|
|
35940
|
+
* @memberof SharedApiListSeaweedFSAccounts
|
|
35941
|
+
*/
|
|
35942
|
+
readonly clusterName: string
|
|
35943
|
+
}
|
|
35944
|
+
|
|
35945
|
+
/**
|
|
35946
|
+
* Request parameters for listSeaweedFSPolicies operation in SharedApi.
|
|
35947
|
+
* @export
|
|
35948
|
+
* @interface SharedApiListSeaweedFSPoliciesRequest
|
|
35949
|
+
*/
|
|
35950
|
+
export interface SharedApiListSeaweedFSPoliciesRequest {
|
|
35951
|
+
/**
|
|
35952
|
+
*
|
|
35953
|
+
* @type {string}
|
|
35954
|
+
* @memberof SharedApiListSeaweedFSPolicies
|
|
35955
|
+
*/
|
|
35956
|
+
readonly orgName: string
|
|
35957
|
+
|
|
35958
|
+
/**
|
|
35959
|
+
*
|
|
35960
|
+
* @type {string}
|
|
35961
|
+
* @memberof SharedApiListSeaweedFSPolicies
|
|
35962
|
+
*/
|
|
35963
|
+
readonly clusterName: string
|
|
35964
|
+
}
|
|
35965
|
+
|
|
33693
35966
|
/**
|
|
33694
35967
|
* Request parameters for listServiceAccounts operation in SharedApi.
|
|
33695
35968
|
* @export
|
|
@@ -34285,6 +36558,41 @@ export interface SharedApiPutElasticsearchSecurityUserRequest {
|
|
|
34285
36558
|
readonly body: ESPutSecurityUserRequest
|
|
34286
36559
|
}
|
|
34287
36560
|
|
|
36561
|
+
/**
|
|
36562
|
+
* Request parameters for putSeaweedFSPolicy operation in SharedApi.
|
|
36563
|
+
* @export
|
|
36564
|
+
* @interface SharedApiPutSeaweedFSPolicyRequest
|
|
36565
|
+
*/
|
|
36566
|
+
export interface SharedApiPutSeaweedFSPolicyRequest {
|
|
36567
|
+
/**
|
|
36568
|
+
*
|
|
36569
|
+
* @type {string}
|
|
36570
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
36571
|
+
*/
|
|
36572
|
+
readonly orgName: string
|
|
36573
|
+
|
|
36574
|
+
/**
|
|
36575
|
+
*
|
|
36576
|
+
* @type {string}
|
|
36577
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
36578
|
+
*/
|
|
36579
|
+
readonly clusterName: string
|
|
36580
|
+
|
|
36581
|
+
/**
|
|
36582
|
+
*
|
|
36583
|
+
* @type {string}
|
|
36584
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
36585
|
+
*/
|
|
36586
|
+
readonly policyName: string
|
|
36587
|
+
|
|
36588
|
+
/**
|
|
36589
|
+
*
|
|
36590
|
+
* @type {{ [key: string]: any; }}
|
|
36591
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
36592
|
+
*/
|
|
36593
|
+
readonly requestBody: { [key: string]: any; }
|
|
36594
|
+
}
|
|
36595
|
+
|
|
34288
36596
|
/**
|
|
34289
36597
|
* Request parameters for query operation in SharedApi.
|
|
34290
36598
|
* @export
|
|
@@ -35930,6 +38238,41 @@ export interface SharedApiRestoreRecycleBinClusterRequest {
|
|
|
35930
38238
|
readonly clusterName: string
|
|
35931
38239
|
}
|
|
35932
38240
|
|
|
38241
|
+
/**
|
|
38242
|
+
* Request parameters for retryClusterJar operation in SharedApi.
|
|
38243
|
+
* @export
|
|
38244
|
+
* @interface SharedApiRetryClusterJarRequest
|
|
38245
|
+
*/
|
|
38246
|
+
export interface SharedApiRetryClusterJarRequest {
|
|
38247
|
+
/**
|
|
38248
|
+
* Doris or SelectDB engine of the target cluster.
|
|
38249
|
+
* @type {string}
|
|
38250
|
+
* @memberof SharedApiRetryClusterJar
|
|
38251
|
+
*/
|
|
38252
|
+
readonly engineName: string
|
|
38253
|
+
|
|
38254
|
+
/**
|
|
38255
|
+
*
|
|
38256
|
+
* @type {string}
|
|
38257
|
+
* @memberof SharedApiRetryClusterJar
|
|
38258
|
+
*/
|
|
38259
|
+
readonly orgName: string
|
|
38260
|
+
|
|
38261
|
+
/**
|
|
38262
|
+
*
|
|
38263
|
+
* @type {string}
|
|
38264
|
+
* @memberof SharedApiRetryClusterJar
|
|
38265
|
+
*/
|
|
38266
|
+
readonly clusterName: string
|
|
38267
|
+
|
|
38268
|
+
/**
|
|
38269
|
+
*
|
|
38270
|
+
* @type {string}
|
|
38271
|
+
* @memberof SharedApiRetryClusterJar
|
|
38272
|
+
*/
|
|
38273
|
+
readonly jarId: string
|
|
38274
|
+
}
|
|
38275
|
+
|
|
35933
38276
|
/**
|
|
35934
38277
|
* Request parameters for revokeClickhouseRolePrivileges operation in SharedApi.
|
|
35935
38278
|
* @export
|
|
@@ -37183,6 +39526,76 @@ export interface SharedApiUpdateRoleByNameRequest {
|
|
|
37183
39526
|
readonly roleUpdate: RoleUpdate
|
|
37184
39527
|
}
|
|
37185
39528
|
|
|
39529
|
+
/**
|
|
39530
|
+
* Request parameters for updateSeaweedFSAccount operation in SharedApi.
|
|
39531
|
+
* @export
|
|
39532
|
+
* @interface SharedApiUpdateSeaweedFSAccountRequest
|
|
39533
|
+
*/
|
|
39534
|
+
export interface SharedApiUpdateSeaweedFSAccountRequest {
|
|
39535
|
+
/**
|
|
39536
|
+
* name of the organization
|
|
39537
|
+
* @type {string}
|
|
39538
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
39539
|
+
*/
|
|
39540
|
+
readonly orgName: string
|
|
39541
|
+
|
|
39542
|
+
/**
|
|
39543
|
+
* name of the cluster
|
|
39544
|
+
* @type {string}
|
|
39545
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
39546
|
+
*/
|
|
39547
|
+
readonly clusterName: string
|
|
39548
|
+
|
|
39549
|
+
/**
|
|
39550
|
+
* name of the account
|
|
39551
|
+
* @type {string}
|
|
39552
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
39553
|
+
*/
|
|
39554
|
+
readonly accountName: string
|
|
39555
|
+
|
|
39556
|
+
/**
|
|
39557
|
+
*
|
|
39558
|
+
* @type {Account}
|
|
39559
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
39560
|
+
*/
|
|
39561
|
+
readonly body: Account
|
|
39562
|
+
}
|
|
39563
|
+
|
|
39564
|
+
/**
|
|
39565
|
+
* Request parameters for updateSeaweedFSAccountPrivileges operation in SharedApi.
|
|
39566
|
+
* @export
|
|
39567
|
+
* @interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest
|
|
39568
|
+
*/
|
|
39569
|
+
export interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest {
|
|
39570
|
+
/**
|
|
39571
|
+
* name of the Org
|
|
39572
|
+
* @type {string}
|
|
39573
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
39574
|
+
*/
|
|
39575
|
+
readonly orgName: string
|
|
39576
|
+
|
|
39577
|
+
/**
|
|
39578
|
+
* name of the Cluster
|
|
39579
|
+
* @type {string}
|
|
39580
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
39581
|
+
*/
|
|
39582
|
+
readonly clusterName: string
|
|
39583
|
+
|
|
39584
|
+
/**
|
|
39585
|
+
* name of the account
|
|
39586
|
+
* @type {string}
|
|
39587
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
39588
|
+
*/
|
|
39589
|
+
readonly accountName: string
|
|
39590
|
+
|
|
39591
|
+
/**
|
|
39592
|
+
*
|
|
39593
|
+
* @type {Array<PrivilegeListItem>}
|
|
39594
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
39595
|
+
*/
|
|
39596
|
+
readonly body: Array<PrivilegeListItem>
|
|
39597
|
+
}
|
|
39598
|
+
|
|
37186
39599
|
/**
|
|
37187
39600
|
* Request parameters for updateServiceAccount operation in SharedApi.
|
|
37188
39601
|
* @export
|
|
@@ -37337,6 +39750,62 @@ export interface SharedApiUpgradeClusterRequest {
|
|
|
37337
39750
|
readonly body: OpsUpgrade
|
|
37338
39751
|
}
|
|
37339
39752
|
|
|
39753
|
+
/**
|
|
39754
|
+
* Request parameters for uploadClusterJar operation in SharedApi.
|
|
39755
|
+
* @export
|
|
39756
|
+
* @interface SharedApiUploadClusterJarRequest
|
|
39757
|
+
*/
|
|
39758
|
+
export interface SharedApiUploadClusterJarRequest {
|
|
39759
|
+
/**
|
|
39760
|
+
* Doris or SelectDB engine of the target cluster.
|
|
39761
|
+
* @type {string}
|
|
39762
|
+
* @memberof SharedApiUploadClusterJar
|
|
39763
|
+
*/
|
|
39764
|
+
readonly engineName: string
|
|
39765
|
+
|
|
39766
|
+
/**
|
|
39767
|
+
*
|
|
39768
|
+
* @type {string}
|
|
39769
|
+
* @memberof SharedApiUploadClusterJar
|
|
39770
|
+
*/
|
|
39771
|
+
readonly orgName: string
|
|
39772
|
+
|
|
39773
|
+
/**
|
|
39774
|
+
*
|
|
39775
|
+
* @type {string}
|
|
39776
|
+
* @memberof SharedApiUploadClusterJar
|
|
39777
|
+
*/
|
|
39778
|
+
readonly clusterName: string
|
|
39779
|
+
|
|
39780
|
+
/**
|
|
39781
|
+
*
|
|
39782
|
+
* @type {string}
|
|
39783
|
+
* @memberof SharedApiUploadClusterJar
|
|
39784
|
+
*/
|
|
39785
|
+
readonly idempotencyKey: string
|
|
39786
|
+
|
|
39787
|
+
/**
|
|
39788
|
+
*
|
|
39789
|
+
* @type {string}
|
|
39790
|
+
* @memberof SharedApiUploadClusterJar
|
|
39791
|
+
*/
|
|
39792
|
+
readonly name: string
|
|
39793
|
+
|
|
39794
|
+
/**
|
|
39795
|
+
*
|
|
39796
|
+
* @type {ClusterJarKind}
|
|
39797
|
+
* @memberof SharedApiUploadClusterJar
|
|
39798
|
+
*/
|
|
39799
|
+
readonly kind: ClusterJarKind
|
|
39800
|
+
|
|
39801
|
+
/**
|
|
39802
|
+
*
|
|
39803
|
+
* @type {File}
|
|
39804
|
+
* @memberof SharedApiUploadClusterJar
|
|
39805
|
+
*/
|
|
39806
|
+
readonly file: File
|
|
39807
|
+
}
|
|
39808
|
+
|
|
37340
39809
|
/**
|
|
37341
39810
|
* Request parameters for validateClusterCreation operation in SharedApi.
|
|
37342
39811
|
* @export
|
|
@@ -37503,6 +39972,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37503
39972
|
return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
37504
39973
|
}
|
|
37505
39974
|
|
|
39975
|
+
/**
|
|
39976
|
+
*
|
|
39977
|
+
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
39978
|
+
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
39979
|
+
* @param {*} [options] Override http request option.
|
|
39980
|
+
* @throws {RequiredError}
|
|
39981
|
+
* @memberof SharedApi
|
|
39982
|
+
*/
|
|
39983
|
+
public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
39984
|
+
return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
39985
|
+
}
|
|
39986
|
+
|
|
37506
39987
|
/**
|
|
37507
39988
|
* list the service version of the engine
|
|
37508
39989
|
* @summary list the service version of the engine
|
|
@@ -37563,6 +40044,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37563
40044
|
return SharedApiFp(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
37564
40045
|
}
|
|
37565
40046
|
|
|
40047
|
+
/**
|
|
40048
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
40049
|
+
* @summary bindSeaweedFSPolicies
|
|
40050
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
40051
|
+
* @param {*} [options] Override http request option.
|
|
40052
|
+
* @throws {RequiredError}
|
|
40053
|
+
* @memberof SharedApi
|
|
40054
|
+
*/
|
|
40055
|
+
public bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
40056
|
+
return SharedApiFp(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
40057
|
+
}
|
|
40058
|
+
|
|
37566
40059
|
/**
|
|
37567
40060
|
*
|
|
37568
40061
|
* @summary build backup object with a existing backup directory
|
|
@@ -37852,6 +40345,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
37852
40345
|
return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
|
|
37853
40346
|
}
|
|
37854
40347
|
|
|
40348
|
+
/**
|
|
40349
|
+
* Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
|
|
40350
|
+
* @summary createSeaweedFSAccessKey
|
|
40351
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
40352
|
+
* @param {*} [options] Override http request option.
|
|
40353
|
+
* @throws {RequiredError}
|
|
40354
|
+
* @memberof SharedApi
|
|
40355
|
+
*/
|
|
40356
|
+
public createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
40357
|
+
return SharedApiFp(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
40358
|
+
}
|
|
40359
|
+
|
|
40360
|
+
/**
|
|
40361
|
+
* Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
|
|
40362
|
+
* @summary createSeaweedFSAccount
|
|
40363
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
40364
|
+
* @param {*} [options] Override http request option.
|
|
40365
|
+
* @throws {RequiredError}
|
|
40366
|
+
* @memberof SharedApi
|
|
40367
|
+
*/
|
|
40368
|
+
public createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
40369
|
+
return SharedApiFp(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40370
|
+
}
|
|
40371
|
+
|
|
37855
40372
|
/**
|
|
37856
40373
|
* create a MinIO service account access key
|
|
37857
40374
|
* @summary Create MinIO access key
|
|
@@ -38008,6 +40525,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38008
40525
|
return SharedApiFp(this.configuration).deleteCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.force, options).then((request) => request(this.axios, this.basePath));
|
|
38009
40526
|
}
|
|
38010
40527
|
|
|
40528
|
+
/**
|
|
40529
|
+
*
|
|
40530
|
+
* @summary Delete an unpublished JAR version
|
|
40531
|
+
* @param {SharedApiDeleteClusterJarRequest} requestParameters Request parameters.
|
|
40532
|
+
* @param {*} [options] Override http request option.
|
|
40533
|
+
* @throws {RequiredError}
|
|
40534
|
+
* @memberof SharedApi
|
|
40535
|
+
*/
|
|
40536
|
+
public deleteClusterJar(requestParameters: SharedApiDeleteClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
40537
|
+
return SharedApiFp(this.configuration).deleteClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
40538
|
+
}
|
|
40539
|
+
|
|
38011
40540
|
/**
|
|
38012
40541
|
*
|
|
38013
40542
|
* @summary delete the datasource
|
|
@@ -38272,6 +40801,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38272
40801
|
return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
38273
40802
|
}
|
|
38274
40803
|
|
|
40804
|
+
/**
|
|
40805
|
+
*
|
|
40806
|
+
* @summary deleteSeaweedFSAccessKey
|
|
40807
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
40808
|
+
* @param {*} [options] Override http request option.
|
|
40809
|
+
* @throws {RequiredError}
|
|
40810
|
+
* @memberof SharedApi
|
|
40811
|
+
*/
|
|
40812
|
+
public deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
40813
|
+
return SharedApiFp(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
40814
|
+
}
|
|
40815
|
+
|
|
40816
|
+
/**
|
|
40817
|
+
* delete an account in cluster
|
|
40818
|
+
* @summary deleteSeaweedFSAccount
|
|
40819
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
40820
|
+
* @param {*} [options] Override http request option.
|
|
40821
|
+
* @throws {RequiredError}
|
|
40822
|
+
* @memberof SharedApi
|
|
40823
|
+
*/
|
|
40824
|
+
public deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
40825
|
+
return SharedApiFp(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
40826
|
+
}
|
|
40827
|
+
|
|
40828
|
+
/**
|
|
40829
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
40830
|
+
* @summary deleteSeaweedFSPolicy
|
|
40831
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
40832
|
+
* @param {*} [options] Override http request option.
|
|
40833
|
+
* @throws {RequiredError}
|
|
40834
|
+
* @memberof SharedApi
|
|
40835
|
+
*/
|
|
40836
|
+
public deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
40837
|
+
return SharedApiFp(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
|
|
40838
|
+
}
|
|
40839
|
+
|
|
38275
40840
|
/**
|
|
38276
40841
|
* delete a MinIO service account access key
|
|
38277
40842
|
* @summary Delete MinIO access key
|
|
@@ -38320,6 +40885,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38320
40885
|
return SharedApiFp(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
38321
40886
|
}
|
|
38322
40887
|
|
|
40888
|
+
/**
|
|
40889
|
+
*
|
|
40890
|
+
* @summary Publish a JAR with optimistic manifest version checking
|
|
40891
|
+
* @param {SharedApiDistributeClusterJarRequest} requestParameters Request parameters.
|
|
40892
|
+
* @param {*} [options] Override http request option.
|
|
40893
|
+
* @throws {RequiredError}
|
|
40894
|
+
* @memberof SharedApi
|
|
40895
|
+
*/
|
|
40896
|
+
public distributeClusterJar(requestParameters: SharedApiDistributeClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
40897
|
+
return SharedApiFp(this.configuration).distributeClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, requestParameters.clusterJarPublish, options).then((request) => request(this.axios, this.basePath));
|
|
40898
|
+
}
|
|
40899
|
+
|
|
38323
40900
|
/**
|
|
38324
40901
|
*
|
|
38325
40902
|
* @summary Restore current cluster or instance
|
|
@@ -38344,6 +40921,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38344
40921
|
return SharedApiFp(this.configuration).downloadBackup(requestParameters.orgName, requestParameters.backupId, options).then((request) => request(this.axios, this.basePath));
|
|
38345
40922
|
}
|
|
38346
40923
|
|
|
40924
|
+
/**
|
|
40925
|
+
*
|
|
40926
|
+
* @summary Download the original JAR
|
|
40927
|
+
* @param {SharedApiDownloadClusterJarRequest} requestParameters Request parameters.
|
|
40928
|
+
* @param {*} [options] Override http request option.
|
|
40929
|
+
* @throws {RequiredError}
|
|
40930
|
+
* @memberof SharedApi
|
|
40931
|
+
*/
|
|
40932
|
+
public downloadClusterJar(requestParameters: SharedApiDownloadClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
40933
|
+
return SharedApiFp(this.configuration).downloadClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
40934
|
+
}
|
|
40935
|
+
|
|
38347
40936
|
/**
|
|
38348
40937
|
*
|
|
38349
40938
|
* @summary Download multiple backup files
|
|
@@ -38596,6 +41185,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
38596
41185
|
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));
|
|
38597
41186
|
}
|
|
38598
41187
|
|
|
41188
|
+
/**
|
|
41189
|
+
*
|
|
41190
|
+
* @summary Get external JAR capability and configuration
|
|
41191
|
+
* @param {SharedApiGetClusterJarConfigRequest} requestParameters Request parameters.
|
|
41192
|
+
* @param {*} [options] Override http request option.
|
|
41193
|
+
* @throws {RequiredError}
|
|
41194
|
+
* @memberof SharedApi
|
|
41195
|
+
*/
|
|
41196
|
+
public getClusterJarConfig(requestParameters: SharedApiGetClusterJarConfigRequest, options?: RawAxiosRequestConfig) {
|
|
41197
|
+
return SharedApiFp(this.configuration).getClusterJarConfig(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
41198
|
+
}
|
|
41199
|
+
|
|
38599
41200
|
/**
|
|
38600
41201
|
*
|
|
38601
41202
|
* @summary Get cluster parameter template
|
|
@@ -39003,6 +41604,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39003
41604
|
return SharedApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
39004
41605
|
}
|
|
39005
41606
|
|
|
41607
|
+
/**
|
|
41608
|
+
* get root account password
|
|
41609
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
41610
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
41611
|
+
* @param {*} [options] Override http request option.
|
|
41612
|
+
* @throws {RequiredError}
|
|
41613
|
+
* @memberof SharedApi
|
|
41614
|
+
*/
|
|
41615
|
+
public getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
41616
|
+
return SharedApiFp(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
41617
|
+
}
|
|
41618
|
+
|
|
39006
41619
|
/**
|
|
39007
41620
|
*
|
|
39008
41621
|
* @summary list all databases or schema of the cluster
|
|
@@ -39314,6 +41927,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39314
41927
|
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, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
|
|
39315
41928
|
}
|
|
39316
41929
|
|
|
41930
|
+
/**
|
|
41931
|
+
*
|
|
41932
|
+
* @summary List external JAR versions with metadata and per-instance synchronization state
|
|
41933
|
+
* @param {SharedApiListClusterJarsRequest} requestParameters Request parameters.
|
|
41934
|
+
* @param {*} [options] Override http request option.
|
|
41935
|
+
* @throws {RequiredError}
|
|
41936
|
+
* @memberof SharedApi
|
|
41937
|
+
*/
|
|
41938
|
+
public listClusterJars(requestParameters: SharedApiListClusterJarsRequest, options?: RawAxiosRequestConfig) {
|
|
41939
|
+
return SharedApiFp(this.configuration).listClusterJars(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
41940
|
+
}
|
|
41941
|
+
|
|
39317
41942
|
/**
|
|
39318
41943
|
*
|
|
39319
41944
|
* @summary List restore tasks
|
|
@@ -39899,6 +42524,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39899
42524
|
return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
39900
42525
|
}
|
|
39901
42526
|
|
|
42527
|
+
/**
|
|
42528
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
42529
|
+
* @summary listSeaweedFSAccounts
|
|
42530
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
42531
|
+
* @param {*} [options] Override http request option.
|
|
42532
|
+
* @throws {RequiredError}
|
|
42533
|
+
* @memberof SharedApi
|
|
42534
|
+
*/
|
|
42535
|
+
public listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
42536
|
+
return SharedApiFp(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
42537
|
+
}
|
|
42538
|
+
|
|
42539
|
+
/**
|
|
42540
|
+
*
|
|
42541
|
+
* @summary listSeaweedFSPolicies
|
|
42542
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
42543
|
+
* @param {*} [options] Override http request option.
|
|
42544
|
+
* @throws {RequiredError}
|
|
42545
|
+
* @memberof SharedApi
|
|
42546
|
+
*/
|
|
42547
|
+
public listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
42548
|
+
return SharedApiFp(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
42549
|
+
}
|
|
42550
|
+
|
|
39902
42551
|
/**
|
|
39903
42552
|
* list MinIO service account access keys
|
|
39904
42553
|
* @summary List MinIO access keys
|
|
@@ -40151,6 +42800,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40151
42800
|
return SharedApiFp(this.configuration).putElasticsearchSecurityUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.username, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40152
42801
|
}
|
|
40153
42802
|
|
|
42803
|
+
/**
|
|
42804
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
42805
|
+
* @summary putSeaweedFSPolicy
|
|
42806
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
42807
|
+
* @param {*} [options] Override http request option.
|
|
42808
|
+
* @throws {RequiredError}
|
|
42809
|
+
* @memberof SharedApi
|
|
42810
|
+
*/
|
|
42811
|
+
public putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
42812
|
+
return SharedApiFp(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
42813
|
+
}
|
|
42814
|
+
|
|
40154
42815
|
/**
|
|
40155
42816
|
*
|
|
40156
42817
|
* @summary create a SQL query
|
|
@@ -40462,6 +43123,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40462
43123
|
return SharedApiFp(this.configuration).restoreRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
40463
43124
|
}
|
|
40464
43125
|
|
|
43126
|
+
/**
|
|
43127
|
+
*
|
|
43128
|
+
* @summary Retry synchronization of published JARs
|
|
43129
|
+
* @param {SharedApiRetryClusterJarRequest} requestParameters Request parameters.
|
|
43130
|
+
* @param {*} [options] Override http request option.
|
|
43131
|
+
* @throws {RequiredError}
|
|
43132
|
+
* @memberof SharedApi
|
|
43133
|
+
*/
|
|
43134
|
+
public retryClusterJar(requestParameters: SharedApiRetryClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
43135
|
+
return SharedApiFp(this.configuration).retryClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
43136
|
+
}
|
|
43137
|
+
|
|
40465
43138
|
/**
|
|
40466
43139
|
*
|
|
40467
43140
|
* @summary Revoke privileges from a ClickHouse role
|
|
@@ -40918,6 +43591,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40918
43591
|
return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
40919
43592
|
}
|
|
40920
43593
|
|
|
43594
|
+
/**
|
|
43595
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
43596
|
+
* @summary updateSeaweedFSAccount
|
|
43597
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
43598
|
+
* @param {*} [options] Override http request option.
|
|
43599
|
+
* @throws {RequiredError}
|
|
43600
|
+
* @memberof SharedApi
|
|
43601
|
+
*/
|
|
43602
|
+
public updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
43603
|
+
return SharedApiFp(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
43604
|
+
}
|
|
43605
|
+
|
|
43606
|
+
/**
|
|
43607
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
43608
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
43609
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
43610
|
+
* @param {*} [options] Override http request option.
|
|
43611
|
+
* @throws {RequiredError}
|
|
43612
|
+
* @memberof SharedApi
|
|
43613
|
+
*/
|
|
43614
|
+
public updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
43615
|
+
return SharedApiFp(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
43616
|
+
}
|
|
43617
|
+
|
|
40921
43618
|
/**
|
|
40922
43619
|
* update a MinIO service account access key
|
|
40923
43620
|
* @summary Update MinIO access key
|
|
@@ -40977,6 +43674,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
40977
43674
|
return SharedApiFp(this.configuration).upgradeCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
40978
43675
|
}
|
|
40979
43676
|
|
|
43677
|
+
/**
|
|
43678
|
+
*
|
|
43679
|
+
* @summary Upload an immutable JAR version
|
|
43680
|
+
* @param {SharedApiUploadClusterJarRequest} requestParameters Request parameters.
|
|
43681
|
+
* @param {*} [options] Override http request option.
|
|
43682
|
+
* @throws {RequiredError}
|
|
43683
|
+
* @memberof SharedApi
|
|
43684
|
+
*/
|
|
43685
|
+
public uploadClusterJar(requestParameters: SharedApiUploadClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
43686
|
+
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));
|
|
43687
|
+
}
|
|
43688
|
+
|
|
40980
43689
|
/**
|
|
40981
43690
|
*
|
|
40982
43691
|
* @summary Validate cluster creation
|