kb-cloud-client-typescript 2.3.68 → 2.3.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/backup-api.d.ts +3 -3
- package/dist/adminapi/apis/backup-api.js +2 -2
- package/dist/adminapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/adminapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/adminapi/apis/diagnostics-api.js +84 -0
- package/dist/adminapi/apis/diagnostics-api.js.map +1 -1
- package/dist/adminapi/apis/dolphindb-api.d.ts +225 -0
- package/dist/adminapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dolphindb-api.js +243 -0
- package/dist/adminapi/apis/dolphindb-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +227 -3
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +245 -2
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/dolphin-dbdistribution.d.ts +39 -0
- package/dist/adminapi/models/dolphin-dbdistribution.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbdistribution.js +16 -0
- package/dist/adminapi/models/dolphin-dbdistribution.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbmigration.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbmigration.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbmigration.js +16 -0
- package/dist/adminapi/models/dolphin-dbmigration.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.js +16 -0
- package/dist/adminapi/models/dolphin-dbrebalance-preview.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.js +16 -0
- package/dist/adminapi/models/dolphin-dbrebalance-request.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.js +16 -0
- package/dist/adminapi/models/dolphin-dbreplica-distribution.js.map +1 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts +43 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.js +16 -0
- package/dist/adminapi/models/dolphin-dbvolume-usage.js.map +1 -0
- package/dist/adminapi/models/environment-delete.d.ts +6 -0
- package/dist/adminapi/models/environment-delete.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +7 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +7 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/selected-object-conversion-strategy.d.ts +22 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.js +26 -0
- package/dist/adminapi/models/selected-object-conversion-strategy.js.map +1 -0
- package/dist/adminapi/models/selected-object-option-tree.d.ts +1 -1
- package/dist/adminapi/models/selected-object-option.d.ts +7 -0
- package/dist/adminapi/models/selected-object-option.d.ts.map +1 -1
- package/dist/openapi/apis/backup-api.d.ts +3 -3
- package/dist/openapi/apis/backup-api.js +2 -2
- package/dist/openapi/apis/diagnostics-api.d.ts +79 -0
- package/dist/openapi/apis/diagnostics-api.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.js +84 -0
- package/dist/openapi/apis/diagnostics-api.js.map +1 -1
- package/dist/openapi/apis/dolphindb-api.d.ts +225 -0
- package/dist/openapi/apis/dolphindb-api.d.ts.map +1 -1
- package/dist/openapi/apis/dolphindb-api.js +243 -0
- package/dist/openapi/apis/dolphindb-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +227 -3
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +245 -2
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/dolphin-dbdistribution.d.ts +39 -0
- package/dist/openapi/models/dolphin-dbdistribution.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbdistribution.js +16 -0
- package/dist/openapi/models/dolphin-dbdistribution.js.map +1 -0
- package/dist/openapi/models/dolphin-dbmigration.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbmigration.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbmigration.js +16 -0
- package/dist/openapi/models/dolphin-dbmigration.js.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts +50 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.js +16 -0
- package/dist/openapi/models/dolphin-dbrebalance-preview.js.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.js +16 -0
- package/dist/openapi/models/dolphin-dbrebalance-request.js.map +1 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts +31 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.js +16 -0
- package/dist/openapi/models/dolphin-dbreplica-distribution.js.map +1 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.d.ts +43 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.d.ts.map +1 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.js +16 -0
- package/dist/openapi/models/dolphin-dbvolume-usage.js.map +1 -0
- package/dist/openapi/models/index.d.ts +7 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +7 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/selected-object-conversion-strategy.d.ts +22 -0
- package/dist/openapi/models/selected-object-conversion-strategy.d.ts.map +1 -0
- package/dist/openapi/models/selected-object-conversion-strategy.js +26 -0
- package/dist/openapi/models/selected-object-conversion-strategy.js.map +1 -0
- package/dist/openapi/models/selected-object-option-tree.d.ts +1 -1
- package/dist/openapi/models/selected-object-option.d.ts +7 -0
- package/dist/openapi/models/selected-object-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +7 -0
- package/src/adminapi/apis/backup-api.ts +3 -3
- package/src/adminapi/apis/diagnostics-api.ts +138 -0
- package/src/adminapi/apis/dolphindb-api.ts +397 -0
- package/src/adminapi/apis/shared-api.ts +398 -3
- package/src/adminapi/models/dolphin-dbdistribution.ts +48 -0
- package/src/adminapi/models/dolphin-dbmigration.ts +48 -0
- package/src/adminapi/models/dolphin-dbrebalance-preview.ts +57 -0
- package/src/adminapi/models/dolphin-dbrebalance-request.ts +36 -0
- package/src/adminapi/models/dolphin-dbreplica-distribution.ts +36 -0
- package/src/adminapi/models/dolphin-dbvolume-usage.ts +48 -0
- package/src/adminapi/models/environment-delete.ts +6 -0
- package/src/adminapi/models/index.ts +7 -0
- package/src/adminapi/models/selected-object-conversion-strategy.ts +31 -0
- package/src/adminapi/models/selected-object-option-tree.ts +1 -1
- package/src/adminapi/models/selected-object-option.ts +11 -0
- package/src/adminapi.yaml +319 -28
- package/src/openapi/.openapi-generator/FILES +7 -0
- package/src/openapi/apis/backup-api.ts +3 -3
- package/src/openapi/apis/diagnostics-api.ts +138 -0
- package/src/openapi/apis/dolphindb-api.ts +397 -0
- package/src/openapi/apis/shared-api.ts +398 -3
- package/src/openapi/models/dolphin-dbdistribution.ts +48 -0
- package/src/openapi/models/dolphin-dbmigration.ts +48 -0
- package/src/openapi/models/dolphin-dbrebalance-preview.ts +57 -0
- package/src/openapi/models/dolphin-dbrebalance-request.ts +36 -0
- package/src/openapi/models/dolphin-dbreplica-distribution.ts +36 -0
- package/src/openapi/models/dolphin-dbvolume-usage.ts +48 -0
- package/src/openapi/models/index.ts +7 -0
- package/src/openapi/models/selected-object-conversion-strategy.ts +31 -0
- package/src/openapi/models/selected-object-option-tree.ts +1 -1
- package/src/openapi/models/selected-object-option.ts +11 -0
- package/src/openapi.yaml +316 -28
|
@@ -3771,6 +3771,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3771
3771
|
options: localVarRequestOptions,
|
|
3772
3772
|
};
|
|
3773
3773
|
},
|
|
3774
|
+
/**
|
|
3775
|
+
* Submit the built-in dolphindb-rebalance Custom Ops through the platform scheduler. Returns the unified taskId; use platform task APIs for history and status. A timeout or cancellation does not cancel native migrations. Do not automatically resubmit a timed-out request.
|
|
3776
|
+
* @summary DolphinDB CreateRebalance
|
|
3777
|
+
* @param {string} orgName
|
|
3778
|
+
* @param {string} clusterName
|
|
3779
|
+
* @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
|
|
3780
|
+
* @param {*} [options] Override http request option.
|
|
3781
|
+
* @throws {RequiredError}
|
|
3782
|
+
*/
|
|
3783
|
+
dolphinDBCreateRebalance: async (orgName, clusterName, dolphinDBRebalanceRequest, options = {}) => {
|
|
3784
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3785
|
+
(0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'orgName', orgName);
|
|
3786
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3787
|
+
(0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'clusterName', clusterName);
|
|
3788
|
+
// verify required parameter 'dolphinDBRebalanceRequest' is not null or undefined
|
|
3789
|
+
(0, common_1.assertParamExists)('dolphinDBCreateRebalance', 'dolphinDBRebalanceRequest', dolphinDBRebalanceRequest);
|
|
3790
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/operations`
|
|
3791
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3792
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
3793
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3794
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3795
|
+
let baseOptions;
|
|
3796
|
+
if (configuration) {
|
|
3797
|
+
baseOptions = configuration.baseOptions;
|
|
3798
|
+
}
|
|
3799
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3800
|
+
const localVarHeaderParameter = {};
|
|
3801
|
+
const localVarQueryParameter = {};
|
|
3802
|
+
// authentication BearerToken required
|
|
3803
|
+
// http bearer authentication required
|
|
3804
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3805
|
+
// authentication DigestAuth required
|
|
3806
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3807
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3808
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3809
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3810
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3811
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dolphinDBRebalanceRequest, localVarRequestOptions, configuration);
|
|
3812
|
+
return {
|
|
3813
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3814
|
+
options: localVarRequestOptions,
|
|
3815
|
+
};
|
|
3816
|
+
},
|
|
3774
3817
|
/**
|
|
3775
3818
|
*
|
|
3776
3819
|
* @summary DolphinDB CreateUser
|
|
@@ -3936,6 +3979,44 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
3936
3979
|
options: localVarRequestOptions,
|
|
3937
3980
|
};
|
|
3938
3981
|
},
|
|
3982
|
+
/**
|
|
3983
|
+
* Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
|
|
3984
|
+
* @summary DolphinDB GetDistribution
|
|
3985
|
+
* @param {string} orgName
|
|
3986
|
+
* @param {string} clusterName
|
|
3987
|
+
* @param {*} [options] Override http request option.
|
|
3988
|
+
* @throws {RequiredError}
|
|
3989
|
+
*/
|
|
3990
|
+
dolphinDBGetDistribution: async (orgName, clusterName, options = {}) => {
|
|
3991
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3992
|
+
(0, common_1.assertParamExists)('dolphinDBGetDistribution', 'orgName', orgName);
|
|
3993
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3994
|
+
(0, common_1.assertParamExists)('dolphinDBGetDistribution', 'clusterName', clusterName);
|
|
3995
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/distribution`
|
|
3996
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3997
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
3998
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3999
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4000
|
+
let baseOptions;
|
|
4001
|
+
if (configuration) {
|
|
4002
|
+
baseOptions = configuration.baseOptions;
|
|
4003
|
+
}
|
|
4004
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4005
|
+
const localVarHeaderParameter = {};
|
|
4006
|
+
const localVarQueryParameter = {};
|
|
4007
|
+
// authentication BearerToken required
|
|
4008
|
+
// http bearer authentication required
|
|
4009
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4010
|
+
// authentication DigestAuth required
|
|
4011
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4012
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4013
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4014
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4015
|
+
return {
|
|
4016
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4017
|
+
options: localVarRequestOptions,
|
|
4018
|
+
};
|
|
4019
|
+
},
|
|
3939
4020
|
/**
|
|
3940
4021
|
*
|
|
3941
4022
|
* @summary DolphinDB GetPermissions
|
|
@@ -4058,6 +4139,56 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
4058
4139
|
options: localVarRequestOptions,
|
|
4059
4140
|
};
|
|
4060
4141
|
},
|
|
4142
|
+
/**
|
|
4143
|
+
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
4144
|
+
* @summary DolphinDB PreviewRebalance
|
|
4145
|
+
* @param {string} orgName
|
|
4146
|
+
* @param {string} clusterName
|
|
4147
|
+
* @param {number} [offset]
|
|
4148
|
+
* @param {number} [limit]
|
|
4149
|
+
* @param {number} [updatedBeforeDays]
|
|
4150
|
+
* @param {*} [options] Override http request option.
|
|
4151
|
+
* @throws {RequiredError}
|
|
4152
|
+
*/
|
|
4153
|
+
dolphinDBPreviewRebalance: async (orgName, clusterName, offset, limit, updatedBeforeDays, options = {}) => {
|
|
4154
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
4155
|
+
(0, common_1.assertParamExists)('dolphinDBPreviewRebalance', 'orgName', orgName);
|
|
4156
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
4157
|
+
(0, common_1.assertParamExists)('dolphinDBPreviewRebalance', 'clusterName', clusterName);
|
|
4158
|
+
const localVarPath = `/admin/v1/data/dolphindb/organizations/{orgName}/clusters/{clusterName}/rebalance/preview`
|
|
4159
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
4160
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
4161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4162
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4163
|
+
let baseOptions;
|
|
4164
|
+
if (configuration) {
|
|
4165
|
+
baseOptions = configuration.baseOptions;
|
|
4166
|
+
}
|
|
4167
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4168
|
+
const localVarHeaderParameter = {};
|
|
4169
|
+
const localVarQueryParameter = {};
|
|
4170
|
+
// authentication BearerToken required
|
|
4171
|
+
// http bearer authentication required
|
|
4172
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4173
|
+
// authentication DigestAuth required
|
|
4174
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4175
|
+
if (offset !== undefined) {
|
|
4176
|
+
localVarQueryParameter['offset'] = offset;
|
|
4177
|
+
}
|
|
4178
|
+
if (limit !== undefined) {
|
|
4179
|
+
localVarQueryParameter['limit'] = limit;
|
|
4180
|
+
}
|
|
4181
|
+
if (updatedBeforeDays !== undefined) {
|
|
4182
|
+
localVarQueryParameter['updatedBeforeDays'] = updatedBeforeDays;
|
|
4183
|
+
}
|
|
4184
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4186
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4187
|
+
return {
|
|
4188
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4189
|
+
options: localVarRequestOptions,
|
|
4190
|
+
};
|
|
4191
|
+
},
|
|
4061
4192
|
/**
|
|
4062
4193
|
*
|
|
4063
4194
|
* @summary Download full backup
|
|
@@ -9411,7 +9542,7 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
9411
9542
|
* @summary List objects tree for selective backup
|
|
9412
9543
|
* @param {string} orgName name of the org
|
|
9413
9544
|
* @param {string} clusterName name of the cluster
|
|
9414
|
-
* @param {string} [database]
|
|
9545
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
9415
9546
|
* @param {*} [options] Override http request option.
|
|
9416
9547
|
* @throws {RequiredError}
|
|
9417
9548
|
*/
|
|
@@ -16857,6 +16988,22 @@ const SharedApiFp = function (configuration) {
|
|
|
16857
16988
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBCreateGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16858
16989
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16859
16990
|
},
|
|
16991
|
+
/**
|
|
16992
|
+
* Submit the built-in dolphindb-rebalance Custom Ops through the platform scheduler. Returns the unified taskId; use platform task APIs for history and status. A timeout or cancellation does not cancel native migrations. Do not automatically resubmit a timed-out request.
|
|
16993
|
+
* @summary DolphinDB CreateRebalance
|
|
16994
|
+
* @param {string} orgName
|
|
16995
|
+
* @param {string} clusterName
|
|
16996
|
+
* @param {DolphinDBRebalanceRequest} dolphinDBRebalanceRequest
|
|
16997
|
+
* @param {*} [options] Override http request option.
|
|
16998
|
+
* @throws {RequiredError}
|
|
16999
|
+
*/
|
|
17000
|
+
async dolphinDBCreateRebalance(orgName, clusterName, dolphinDBRebalanceRequest, options) {
|
|
17001
|
+
var _a, _b, _c;
|
|
17002
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBCreateRebalance(orgName, clusterName, dolphinDBRebalanceRequest, options);
|
|
17003
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17004
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBCreateRebalance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17005
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17006
|
+
},
|
|
16860
17007
|
/**
|
|
16861
17008
|
*
|
|
16862
17009
|
* @summary DolphinDB CreateUser
|
|
@@ -16920,6 +17067,21 @@ const SharedApiFp = function (configuration) {
|
|
|
16920
17067
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBGetCapabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16921
17068
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16922
17069
|
},
|
|
17070
|
+
/**
|
|
17071
|
+
* Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
|
|
17072
|
+
* @summary DolphinDB GetDistribution
|
|
17073
|
+
* @param {string} orgName
|
|
17074
|
+
* @param {string} clusterName
|
|
17075
|
+
* @param {*} [options] Override http request option.
|
|
17076
|
+
* @throws {RequiredError}
|
|
17077
|
+
*/
|
|
17078
|
+
async dolphinDBGetDistribution(orgName, clusterName, options) {
|
|
17079
|
+
var _a, _b, _c;
|
|
17080
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBGetDistribution(orgName, clusterName, options);
|
|
17081
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17082
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBGetDistribution']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17083
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17084
|
+
},
|
|
16923
17085
|
/**
|
|
16924
17086
|
*
|
|
16925
17087
|
* @summary DolphinDB GetPermissions
|
|
@@ -16967,6 +17129,24 @@ const SharedApiFp = function (configuration) {
|
|
|
16967
17129
|
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;
|
|
16968
17130
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16969
17131
|
},
|
|
17132
|
+
/**
|
|
17133
|
+
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
17134
|
+
* @summary DolphinDB PreviewRebalance
|
|
17135
|
+
* @param {string} orgName
|
|
17136
|
+
* @param {string} clusterName
|
|
17137
|
+
* @param {number} [offset]
|
|
17138
|
+
* @param {number} [limit]
|
|
17139
|
+
* @param {number} [updatedBeforeDays]
|
|
17140
|
+
* @param {*} [options] Override http request option.
|
|
17141
|
+
* @throws {RequiredError}
|
|
17142
|
+
*/
|
|
17143
|
+
async dolphinDBPreviewRebalance(orgName, clusterName, offset, limit, updatedBeforeDays, options) {
|
|
17144
|
+
var _a, _b, _c;
|
|
17145
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.dolphinDBPreviewRebalance(orgName, clusterName, offset, limit, updatedBeforeDays, options);
|
|
17146
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17147
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.dolphinDBPreviewRebalance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17148
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17149
|
+
},
|
|
16970
17150
|
/**
|
|
16971
17151
|
*
|
|
16972
17152
|
* @summary Download full backup
|
|
@@ -18951,7 +19131,7 @@ const SharedApiFp = function (configuration) {
|
|
|
18951
19131
|
* @summary List objects tree for selective backup
|
|
18952
19132
|
* @param {string} orgName name of the org
|
|
18953
19133
|
* @param {string} clusterName name of the cluster
|
|
18954
|
-
* @param {string} [database]
|
|
19134
|
+
* @param {string} [database] Database name for engines configured to switch the object tree by database.
|
|
18955
19135
|
* @param {*} [options] Override http request option.
|
|
18956
19136
|
* @throws {RequiredError}
|
|
18957
19137
|
*/
|
|
@@ -21971,6 +22151,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
21971
22151
|
dolphinDBCreateGroup(requestParameters, options) {
|
|
21972
22152
|
return localVarFp.dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(axios, basePath));
|
|
21973
22153
|
},
|
|
22154
|
+
/**
|
|
22155
|
+
* Submit the built-in dolphindb-rebalance Custom Ops through the platform scheduler. Returns the unified taskId; use platform task APIs for history and status. A timeout or cancellation does not cancel native migrations. Do not automatically resubmit a timed-out request.
|
|
22156
|
+
* @summary DolphinDB CreateRebalance
|
|
22157
|
+
* @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
|
|
22158
|
+
* @param {*} [options] Override http request option.
|
|
22159
|
+
* @throws {RequiredError}
|
|
22160
|
+
*/
|
|
22161
|
+
dolphinDBCreateRebalance(requestParameters, options) {
|
|
22162
|
+
return localVarFp.dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(axios, basePath));
|
|
22163
|
+
},
|
|
21974
22164
|
/**
|
|
21975
22165
|
*
|
|
21976
22166
|
* @summary DolphinDB CreateUser
|
|
@@ -22011,6 +22201,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
22011
22201
|
dolphinDBGetCapabilities(requestParameters, options) {
|
|
22012
22202
|
return localVarFp.dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22013
22203
|
},
|
|
22204
|
+
/**
|
|
22205
|
+
* Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
|
|
22206
|
+
* @summary DolphinDB GetDistribution
|
|
22207
|
+
* @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
|
|
22208
|
+
* @param {*} [options] Override http request option.
|
|
22209
|
+
* @throws {RequiredError}
|
|
22210
|
+
*/
|
|
22211
|
+
dolphinDBGetDistribution(requestParameters, options) {
|
|
22212
|
+
return localVarFp.dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22213
|
+
},
|
|
22014
22214
|
/**
|
|
22015
22215
|
*
|
|
22016
22216
|
* @summary DolphinDB GetPermissions
|
|
@@ -22041,6 +22241,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
22041
22241
|
dolphinDBListUsers(requestParameters, options) {
|
|
22042
22242
|
return localVarFp.dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
22043
22243
|
},
|
|
22244
|
+
/**
|
|
22245
|
+
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
22246
|
+
* @summary DolphinDB PreviewRebalance
|
|
22247
|
+
* @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
|
|
22248
|
+
* @param {*} [options] Override http request option.
|
|
22249
|
+
* @throws {RequiredError}
|
|
22250
|
+
*/
|
|
22251
|
+
dolphinDBPreviewRebalance(requestParameters, options) {
|
|
22252
|
+
return localVarFp.dolphinDBPreviewRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.updatedBeforeDays, options).then((request) => request(axios, basePath));
|
|
22253
|
+
},
|
|
22044
22254
|
/**
|
|
22045
22255
|
*
|
|
22046
22256
|
* @summary Download full backup
|
|
@@ -25420,6 +25630,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25420
25630
|
dolphinDBCreateGroup(requestParameters, options) {
|
|
25421
25631
|
return (0, exports.SharedApiFp)(this.configuration).dolphinDBCreateGroup(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBGroupCreate, options).then((request) => request(this.axios, this.basePath));
|
|
25422
25632
|
}
|
|
25633
|
+
/**
|
|
25634
|
+
* Submit the built-in dolphindb-rebalance Custom Ops through the platform scheduler. Returns the unified taskId; use platform task APIs for history and status. A timeout or cancellation does not cancel native migrations. Do not automatically resubmit a timed-out request.
|
|
25635
|
+
* @summary DolphinDB CreateRebalance
|
|
25636
|
+
* @param {SharedApiDolphinDBCreateRebalanceRequest} requestParameters Request parameters.
|
|
25637
|
+
* @param {*} [options] Override http request option.
|
|
25638
|
+
* @throws {RequiredError}
|
|
25639
|
+
* @memberof SharedApi
|
|
25640
|
+
*/
|
|
25641
|
+
dolphinDBCreateRebalance(requestParameters, options) {
|
|
25642
|
+
return (0, exports.SharedApiFp)(this.configuration).dolphinDBCreateRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.dolphinDBRebalanceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25643
|
+
}
|
|
25423
25644
|
/**
|
|
25424
25645
|
*
|
|
25425
25646
|
* @summary DolphinDB CreateUser
|
|
@@ -25464,6 +25685,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25464
25685
|
dolphinDBGetCapabilities(requestParameters, options) {
|
|
25465
25686
|
return (0, exports.SharedApiFp)(this.configuration).dolphinDBGetCapabilities(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25466
25687
|
}
|
|
25688
|
+
/**
|
|
25689
|
+
* Filesystem bytes and physical chunk replica counts (including metadata/unready replicas). Not logical data size or healthy-copy counts.
|
|
25690
|
+
* @summary DolphinDB GetDistribution
|
|
25691
|
+
* @param {SharedApiDolphinDBGetDistributionRequest} requestParameters Request parameters.
|
|
25692
|
+
* @param {*} [options] Override http request option.
|
|
25693
|
+
* @throws {RequiredError}
|
|
25694
|
+
* @memberof SharedApi
|
|
25695
|
+
*/
|
|
25696
|
+
dolphinDBGetDistribution(requestParameters, options) {
|
|
25697
|
+
return (0, exports.SharedApiFp)(this.configuration).dolphinDBGetDistribution(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25698
|
+
}
|
|
25467
25699
|
/**
|
|
25468
25700
|
*
|
|
25469
25701
|
* @summary DolphinDB GetPermissions
|
|
@@ -25497,6 +25729,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
25497
25729
|
dolphinDBListUsers(requestParameters, options) {
|
|
25498
25730
|
return (0, exports.SharedApiFp)(this.configuration).dolphinDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
25499
25731
|
}
|
|
25732
|
+
/**
|
|
25733
|
+
* Read-only preview recalculated on every request. Execution recomputes the actual plan. This operation does not scale the cluster or drain a node.
|
|
25734
|
+
* @summary DolphinDB PreviewRebalance
|
|
25735
|
+
* @param {SharedApiDolphinDBPreviewRebalanceRequest} requestParameters Request parameters.
|
|
25736
|
+
* @param {*} [options] Override http request option.
|
|
25737
|
+
* @throws {RequiredError}
|
|
25738
|
+
* @memberof SharedApi
|
|
25739
|
+
*/
|
|
25740
|
+
dolphinDBPreviewRebalance(requestParameters, options) {
|
|
25741
|
+
return (0, exports.SharedApiFp)(this.configuration).dolphinDBPreviewRebalance(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.updatedBeforeDays, options).then((request) => request(this.axios, this.basePath));
|
|
25742
|
+
}
|
|
25500
25743
|
/**
|
|
25501
25744
|
*
|
|
25502
25745
|
* @summary Download full backup
|