kb-cloud-client-typescript 2.4.0-alpha.131 → 2.4.0-alpha.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/dolphindb-api.d.ts +89 -0
- package/dist/adminapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dolphindb-api.js +90 -0
- package/dist/adminapi/apis/dolphindb-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +89 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +90 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/dolphin-dbdrain-migration.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbdrain-migration.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-migration.js +16 -0
- package/dist/adminapi/models/dolphin-dbdrain-migration.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-preview.d.ts +62 -0
- package/dist/adminapi/models/dolphin-dbdrain-preview.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-preview.js +16 -0
- package/dist/adminapi/models/dolphin-dbdrain-preview.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-request.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbdrain-request.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbdrain-request.js +16 -0
- package/dist/adminapi/models/dolphin-dbdrain-request.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +3 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +3 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/apis/dolphindb-api.d.ts +89 -0
- package/dist/openapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/openapi/apis/dolphindb-api.js +90 -0
- package/dist/openapi/apis/dolphindb-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +89 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +90 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/dolphin-dbdrain-migration.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbdrain-migration.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-migration.js +16 -0
- package/dist/openapi/models/dolphin-dbdrain-migration.js.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-preview.d.ts +62 -0
- package/dist/openapi/models/dolphin-dbdrain-preview.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-preview.js +16 -0
- package/dist/openapi/models/dolphin-dbdrain-preview.js.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-request.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbdrain-request.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbdrain-request.js +16 -0
- package/dist/openapi/models/dolphin-dbdrain-request.js.map +1 -0
- package/dist/openapi/models/index.d.ts +3 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +3 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +3 -0
- package/src/adminapi/apis/dolphindb-api.ts +156 -0
- package/src/adminapi/apis/shared-api.ts +156 -0
- package/src/adminapi/models/dolphin-dbdrain-migration.ts +48 -0
- package/src/adminapi/models/dolphin-dbdrain-preview.ts +69 -0
- package/src/adminapi/models/dolphin-dbdrain-request.ts +36 -0
- package/src/adminapi/models/index.ts +3 -0
- package/src/adminapi.yaml +132 -12
- package/src/openapi/.openapi-generator/FILES +3 -0
- package/src/openapi/apis/dolphindb-api.ts +156 -0
- package/src/openapi/apis/shared-api.ts +156 -0
- package/src/openapi/models/dolphin-dbdrain-migration.ts +48 -0
- package/src/openapi/models/dolphin-dbdrain-preview.ts +69 -0
- package/src/openapi/models/dolphin-dbdrain-request.ts +36 -0
- package/src/openapi/models/index.ts +3 -0
- package/src/openapi.yaml +132 -12
|
@@ -4202,6 +4202,57 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4202
4202
|
options: localVarRequestOptions,
|
|
4203
4203
|
};
|
|
4204
4204
|
},
|
|
4205
|
+
/**
|
|
4206
|
+
* Read-only evacuation preview computed by an embedded DMS planner from native controller metadata. No addon planner or module upgrade is required. Does not evacuate data, reserve a plan, or remove a node. Existing HorizontalScaling/memberLeave independently checks current state and executes; capacity is not inferred from chunk size.
|
|
4207
|
+
* @summary Preview DolphinDB data node evacuation
|
|
4208
|
+
* @param {string} orgName
|
|
4209
|
+
* @param {string} clusterName
|
|
4210
|
+
* @param {DolphinDBDrainRequest} dolphinDBDrainRequest
|
|
4211
|
+
* @param {number} [offset]
|
|
4212
|
+
* @param {number} [limit]
|
|
4213
|
+
* @param {*} [options] Override http request option.
|
|
4214
|
+
* @throws {RequiredError}
|
|
4215
|
+
*/
|
|
4216
|
+
dolphinDBPreviewDrain: async (orgName, clusterName, dolphinDBDrainRequest, offset, limit, options = {}) => {
|
|
4217
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4218
|
+
(0, common_1.assertParamExists)('dolphinDBPreviewDrain', 'orgName', orgName);
|
|
4219
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4220
|
+
(0, common_1.assertParamExists)('dolphinDBPreviewDrain', 'clusterName', clusterName);
|
|
4221
|
+
// verify required parameter 'dolphinDBDrainRequest' is not null or undefined
|
|
4222
|
+
(0, common_1.assertParamExists)('dolphinDBPreviewDrain', 'dolphinDBDrainRequest', dolphinDBDrainRequest);
|
|
4223
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/drain-preview`
|
|
4224
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4225
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4226
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4227
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4228
|
+
let baseOptions;
|
|
4229
|
+
if (configuration) {
|
|
4230
|
+
baseOptions = configuration.baseOptions;
|
|
4231
|
+
}
|
|
4232
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4233
|
+
const localVarHeaderParameter = {};
|
|
4234
|
+
const localVarQueryParameter = {};
|
|
4235
|
+
// authentication BearerToken required
|
|
4236
|
+
// http bearer authentication required
|
|
4237
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4238
|
+
// authentication DigestAuth required
|
|
4239
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4240
|
+
if (offset !== undefined) {
|
|
4241
|
+
localVarQueryParameter['offset'] = offset;
|
|
4242
|
+
}
|
|
4243
|
+
if (limit !== undefined) {
|
|
4244
|
+
localVarQueryParameter['limit'] = limit;
|
|
4245
|
+
}
|
|
4246
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4247
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4248
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4249
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4250
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBDrainRequest, localVarRequestOptions, configuration);
|
|
4251
|
+
return {
|
|
4252
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4253
|
+
options: localVarRequestOptions,
|
|
4254
|
+
};
|
|
4255
|
+
},
|
|
4205
4256
|
/**
|
|
4206
4257
|
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
4207
4258
|
* @summary DolphinDB PreviewRebalance
|
|
@@ -18183,6 +18234,24 @@ const SharedApiFp = function (configuration) {
|
|
|
18183
18234
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBListUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18184
18235
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18185
18236
|
},
|
|
18237
|
+
/**
|
|
18238
|
+
* Read-only evacuation preview computed by an embedded DMS planner from native controller metadata. No addon planner or module upgrade is required. Does not evacuate data, reserve a plan, or remove a node. Existing HorizontalScaling/memberLeave independently checks current state and executes; capacity is not inferred from chunk size.
|
|
18239
|
+
* @summary Preview DolphinDB data node evacuation
|
|
18240
|
+
* @param {string} orgName
|
|
18241
|
+
* @param {string} clusterName
|
|
18242
|
+
* @param {DolphinDBDrainRequest} dolphinDBDrainRequest
|
|
18243
|
+
* @param {number} [offset]
|
|
18244
|
+
* @param {number} [limit]
|
|
18245
|
+
* @param {*} [options] Override http request option.
|
|
18246
|
+
* @throws {RequiredError}
|
|
18247
|
+
*/
|
|
18248
|
+
async dolphinDBPreviewDrain(orgName, clusterName, dolphinDBDrainRequest, offset, limit, options) {
|
|
18249
|
+
var _a, _b, _c;
|
|
18250
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBPreviewDrain(orgName, clusterName, dolphinDBDrainRequest, offset, limit, options);
|
|
18251
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18252
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBPreviewDrain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18253
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18254
|
+
},
|
|
18186
18255
|
/**
|
|
18187
18256
|
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
18188
18257
|
* @summary DolphinDB PreviewRebalance
|
|
@@ -23642,6 +23711,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
23642
23711
|
dolphinDBListUsers(requestParameters, options) {
|
|
23643
23712
|
return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
23644
23713
|
},
|
|
23714
|
+
/**
|
|
23715
|
+
* Read-only evacuation preview computed by an embedded DMS planner from native controller metadata. No addon planner or module upgrade is required. Does not evacuate data, reserve a plan, or remove a node. Existing HorizontalScaling/memberLeave independently checks current state and executes; capacity is not inferred from chunk size.
|
|
23716
|
+
* @summary Preview DolphinDB data node evacuation
|
|
23717
|
+
* @param {SharedApiDolphinDBPreviewDrainRequest} requestParameters Request parameters.
|
|
23718
|
+
* @param {*} [options] Override http request option.
|
|
23719
|
+
* @throws {RequiredError}
|
|
23720
|
+
*/
|
|
23721
|
+
dolphinDBPreviewDrain(requestParameters, options) {
|
|
23722
|
+
return localVarFp.dolphinDBPreviewDrain(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBDrainRequest, requestParameters.offset, requestParameters.limit, options).then((request) => request(axios, basePath));
|
|
23723
|
+
},
|
|
23645
23724
|
/**
|
|
23646
23725
|
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
23647
23726
|
* @summary DolphinDB PreviewRebalance
|
|
@@ -27320,6 +27399,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
27320
27399
|
dolphinDBListUsers(requestParameters, options) {
|
|
27321
27400
|
return (0, exports.SharedApiFp)(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
27322
27401
|
}
|
|
27402
|
+
/**
|
|
27403
|
+
* Read-only evacuation preview computed by an embedded DMS planner from native controller metadata. No addon planner or module upgrade is required. Does not evacuate data, reserve a plan, or remove a node. Existing HorizontalScaling/memberLeave independently checks current state and executes; capacity is not inferred from chunk size.
|
|
27404
|
+
* @summary Preview DolphinDB data node evacuation
|
|
27405
|
+
* @param {SharedApiDolphinDBPreviewDrainRequest} requestParameters Request parameters.
|
|
27406
|
+
* @param {*} [options] Override http request option.
|
|
27407
|
+
* @throws {RequiredError}
|
|
27408
|
+
* @memberof SharedApi
|
|
27409
|
+
*/
|
|
27410
|
+
dolphinDBPreviewDrain(requestParameters, options) {
|
|
27411
|
+
return (0, exports.SharedApiFp)(this.configuration).dolphinDBPreviewDrain(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBDrainRequest, requestParameters.offset, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
27412
|
+
}
|
|
27323
27413
|
/**
|
|
27324
27414
|
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
27325
27415
|
* @summary DolphinDB PreviewRebalance
|