kb-cloud-client-typescript 2.3.0-alpha.135 → 2.3.0-alpha.137
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/diagnostics-api.d.ts +6 -6
- package/dist/adminapi/apis/diagnostics-api.js +4 -4
- package/dist/adminapi/apis/dms-api.d.ts +230 -22
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +219 -55
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +11 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +11 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-criticality.d.ts +24 -0
- package/dist/adminapi/models/inspection-criticality.d.ts.map +1 -0
- package/dist/adminapi/models/inspection-criticality.js +28 -0
- package/dist/adminapi/models/inspection-criticality.js.map +1 -0
- package/dist/adminapi/models/inspection-script-category.d.ts +7 -4
- package/dist/adminapi/models/inspection-script-category.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-script-category.js +7 -4
- package/dist/adminapi/models/inspection-script-category.js.map +1 -1
- package/dist/adminapi/models/inspection-script.d.ts +38 -0
- package/dist/adminapi/models/inspection-script.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-task-item.d.ts +58 -0
- package/dist/adminapi/models/inspection-task-item.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-task.d.ts +25 -1
- package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-threshold-direction.d.ts +23 -0
- package/dist/adminapi/models/inspection-threshold-direction.d.ts.map +1 -0
- package/dist/adminapi/models/inspection-threshold-direction.js +27 -0
- package/dist/adminapi/models/inspection-threshold-direction.js.map +1 -0
- package/dist/adminapi/models/performance-trend-range.d.ts +1 -1
- package/dist/adminapi/models/performance-trend-series.d.ts +1 -1
- package/dist/adminapi/models/performance-trend-summary.d.ts +1 -1
- package/dist/adminapi/models/redis-analysis-expiration-group.d.ts +55 -0
- package/dist/adminapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-expiration-group.js +16 -0
- package/dist/adminapi/models/redis-analysis-expiration-group.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-filter.d.ts +31 -0
- package/dist/adminapi/models/redis-analysis-filter.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-filter.js +16 -0
- package/dist/adminapi/models/redis-analysis-filter.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-key.d.ts +61 -0
- package/dist/adminapi/models/redis-analysis-key.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-key.js +16 -0
- package/dist/adminapi/models/redis-analysis-key.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts +56 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-progress.d.ts +85 -0
- package/dist/adminapi/models/redis-analysis-progress.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-progress.js +16 -0
- package/dist/adminapi/models/redis-analysis-progress.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-response.d.ts +115 -0
- package/dist/adminapi/models/redis-analysis-response.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-response.js +16 -0
- package/dist/adminapi/models/redis-analysis-response.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.d.ts +32 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.js.map +1 -0
- package/dist/adminapi/models/redis-data-capabilities.d.ts +12 -0
- package/dist/adminapi/models/redis-data-capabilities.d.ts.map +1 -1
- package/dist/adminapi/models/redis-data-context.d.ts +7 -1
- package/dist/adminapi/models/redis-data-context.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +6 -6
- package/dist/openapi/apis/diagnostics-api.js +4 -4
- package/dist/openapi/apis/dms-api.d.ts +230 -22
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +219 -55
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +11 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +11 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-criticality.d.ts +24 -0
- package/dist/openapi/models/inspection-criticality.d.ts.map +1 -0
- package/dist/openapi/models/inspection-criticality.js +28 -0
- package/dist/openapi/models/inspection-criticality.js.map +1 -0
- package/dist/openapi/models/inspection-script-category.d.ts +7 -4
- package/dist/openapi/models/inspection-script-category.d.ts.map +1 -1
- package/dist/openapi/models/inspection-script-category.js +7 -4
- package/dist/openapi/models/inspection-script-category.js.map +1 -1
- package/dist/openapi/models/inspection-script.d.ts +38 -0
- package/dist/openapi/models/inspection-script.d.ts.map +1 -1
- package/dist/openapi/models/inspection-task-item.d.ts +58 -0
- package/dist/openapi/models/inspection-task-item.d.ts.map +1 -1
- package/dist/openapi/models/inspection-task.d.ts +25 -1
- package/dist/openapi/models/inspection-task.d.ts.map +1 -1
- package/dist/openapi/models/inspection-threshold-direction.d.ts +23 -0
- package/dist/openapi/models/inspection-threshold-direction.d.ts.map +1 -0
- package/dist/openapi/models/inspection-threshold-direction.js +27 -0
- package/dist/openapi/models/inspection-threshold-direction.js.map +1 -0
- package/dist/openapi/models/performance-trend-range.d.ts +1 -1
- package/dist/openapi/models/performance-trend-series.d.ts +1 -1
- package/dist/openapi/models/performance-trend-summary.d.ts +1 -1
- package/dist/openapi/models/redis-analysis-expiration-group.d.ts +55 -0
- package/dist/openapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-expiration-group.js +16 -0
- package/dist/openapi/models/redis-analysis-expiration-group.js.map +1 -0
- package/dist/openapi/models/redis-analysis-filter.d.ts +31 -0
- package/dist/openapi/models/redis-analysis-filter.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-filter.js +16 -0
- package/dist/openapi/models/redis-analysis-filter.js.map +1 -0
- package/dist/openapi/models/redis-analysis-key.d.ts +61 -0
- package/dist/openapi/models/redis-analysis-key.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-key.js +16 -0
- package/dist/openapi/models/redis-analysis-key.js.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.d.ts +56 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.js.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
- package/dist/openapi/models/redis-analysis-progress.d.ts +85 -0
- package/dist/openapi/models/redis-analysis-progress.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-progress.js +16 -0
- package/dist/openapi/models/redis-analysis-progress.js.map +1 -0
- package/dist/openapi/models/redis-analysis-response.d.ts +115 -0
- package/dist/openapi/models/redis-analysis-response.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-response.js +16 -0
- package/dist/openapi/models/redis-analysis-response.js.map +1 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.js.map +1 -0
- package/dist/openapi/models/redis-analysis-typed-summary.d.ts +32 -0
- package/dist/openapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-typed-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-typed-summary.js.map +1 -0
- package/dist/openapi/models/redis-data-capabilities.d.ts +12 -0
- package/dist/openapi/models/redis-data-capabilities.d.ts.map +1 -1
- package/dist/openapi/models/redis-data-context.d.ts +7 -1
- package/dist/openapi/models/redis-data-context.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +11 -0
- package/src/adminapi/apis/diagnostics-api.ts +6 -6
- package/src/adminapi/apis/dms-api.ts +402 -55
- package/src/adminapi/models/index.ts +11 -0
- package/src/adminapi/models/inspection-criticality.ts +33 -0
- package/src/adminapi/models/inspection-script-category.ts +7 -4
- package/src/adminapi/models/inspection-script.ts +42 -0
- package/src/adminapi/models/inspection-task-item.ts +62 -0
- package/src/adminapi/models/inspection-task.ts +25 -1
- package/src/adminapi/models/inspection-threshold-direction.ts +32 -0
- package/src/adminapi/models/performance-trend-range.ts +1 -1
- package/src/adminapi/models/performance-trend-series.ts +1 -1
- package/src/adminapi/models/performance-trend-summary.ts +1 -1
- package/src/adminapi/models/redis-analysis-expiration-group.ts +60 -0
- package/src/adminapi/models/redis-analysis-filter.ts +36 -0
- package/src/adminapi/models/redis-analysis-key.ts +66 -0
- package/src/adminapi/models/redis-analysis-namespace-summary.ts +63 -0
- package/src/adminapi/models/redis-analysis-namespace-type-summary.ts +54 -0
- package/src/adminapi/models/redis-analysis-progress.ts +90 -0
- package/src/adminapi/models/redis-analysis-response.ts +132 -0
- package/src/adminapi/models/redis-analysis-simple-type-summary.ts +42 -0
- package/src/adminapi/models/redis-analysis-typed-summary.ts +39 -0
- package/src/adminapi/models/redis-data-capabilities.ts +12 -0
- package/src/adminapi/models/redis-data-context.ts +7 -1
- package/src/adminapi.yaml +475 -9
- package/src/openapi/.openapi-generator/FILES +11 -0
- package/src/openapi/apis/diagnostics-api.ts +6 -6
- package/src/openapi/apis/dms-api.ts +402 -55
- package/src/openapi/models/index.ts +11 -0
- package/src/openapi/models/inspection-criticality.ts +33 -0
- package/src/openapi/models/inspection-script-category.ts +7 -4
- package/src/openapi/models/inspection-script.ts +42 -0
- package/src/openapi/models/inspection-task-item.ts +62 -0
- package/src/openapi/models/inspection-task.ts +25 -1
- package/src/openapi/models/inspection-threshold-direction.ts +32 -0
- package/src/openapi/models/performance-trend-range.ts +1 -1
- package/src/openapi/models/performance-trend-series.ts +1 -1
- package/src/openapi/models/performance-trend-summary.ts +1 -1
- package/src/openapi/models/redis-analysis-expiration-group.ts +60 -0
- package/src/openapi/models/redis-analysis-filter.ts +36 -0
- package/src/openapi/models/redis-analysis-key.ts +66 -0
- package/src/openapi/models/redis-analysis-namespace-summary.ts +63 -0
- package/src/openapi/models/redis-analysis-namespace-type-summary.ts +54 -0
- package/src/openapi/models/redis-analysis-progress.ts +90 -0
- package/src/openapi/models/redis-analysis-response.ts +132 -0
- package/src/openapi/models/redis-analysis-simple-type-summary.ts +42 -0
- package/src/openapi/models/redis-analysis-typed-summary.ts +39 -0
- package/src/openapi/models/redis-data-capabilities.ts +12 -0
- package/src/openapi/models/redis-data-context.ts +7 -1
- package/src/openapi.yaml +475 -9
|
@@ -124,6 +124,8 @@ import type { MongoWriteResult } from '../models';
|
|
|
124
124
|
// @ts-ignore
|
|
125
125
|
import type { ParameterHistoryList } from '../models';
|
|
126
126
|
// @ts-ignore
|
|
127
|
+
import type { RedisAnalysisResponse } from '../models';
|
|
128
|
+
// @ts-ignore
|
|
127
129
|
import type { RedisClusterTopology } from '../models';
|
|
128
130
|
// @ts-ignore
|
|
129
131
|
import type { RedisDangerousOperationRequest } from '../models';
|
|
@@ -220,6 +222,85 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
220
222
|
options: localVarRequestOptions,
|
|
221
223
|
};
|
|
222
224
|
},
|
|
225
|
+
/**
|
|
226
|
+
* Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
|
|
227
|
+
* @summary analyze Redis keys by bounded SCAN sampling
|
|
228
|
+
* @param {string} orgName
|
|
229
|
+
* @param {string} clusterName
|
|
230
|
+
* @param {string} id
|
|
231
|
+
* @param {number} [database]
|
|
232
|
+
* @param {string} [match] Redis SCAN match pattern.
|
|
233
|
+
* @param {string} [cursor] Cursor returned by a previous analysis scan. Empty starts a new sample scan.
|
|
234
|
+
* @param {number} [sampleLimit] Maximum number of keys to sample in this analysis request.
|
|
235
|
+
* @param {number} [topN] Maximum number of top keys or namespaces to return.
|
|
236
|
+
* @param {string} [namespaceSeparator] Separator used to group key namespaces.
|
|
237
|
+
* @param {*} [options] Override http request option.
|
|
238
|
+
* @throws {RequiredError}
|
|
239
|
+
*/
|
|
240
|
+
analyzeRedisKeys: async (orgName: string, clusterName: string, id: string, database?: number, match?: string, cursor?: string, sampleLimit?: number, topN?: number, namespaceSeparator?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
241
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
242
|
+
assertParamExists('analyzeRedisKeys', 'orgName', orgName)
|
|
243
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
244
|
+
assertParamExists('analyzeRedisKeys', 'clusterName', clusterName)
|
|
245
|
+
// verify required parameter 'id' is not null or undefined
|
|
246
|
+
assertParamExists('analyzeRedisKeys', 'id', id)
|
|
247
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/analysis`
|
|
248
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
249
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
250
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
251
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
252
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
253
|
+
let baseOptions;
|
|
254
|
+
if (configuration) {
|
|
255
|
+
baseOptions = configuration.baseOptions;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
259
|
+
const localVarHeaderParameter = {} as any;
|
|
260
|
+
const localVarQueryParameter = {} as any;
|
|
261
|
+
|
|
262
|
+
// authentication BearerToken required
|
|
263
|
+
// http bearer authentication required
|
|
264
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
265
|
+
|
|
266
|
+
// authentication DigestAuth required
|
|
267
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
268
|
+
|
|
269
|
+
if (database !== undefined) {
|
|
270
|
+
localVarQueryParameter['database'] = database;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
if (match !== undefined) {
|
|
274
|
+
localVarQueryParameter['match'] = match;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
if (cursor !== undefined) {
|
|
278
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
if (sampleLimit !== undefined) {
|
|
282
|
+
localVarQueryParameter['sampleLimit'] = sampleLimit;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
if (topN !== undefined) {
|
|
286
|
+
localVarQueryParameter['topN'] = topN;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
if (namespaceSeparator !== undefined) {
|
|
290
|
+
localVarQueryParameter['namespaceSeparator'] = namespaceSeparator;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
297
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
298
|
+
|
|
299
|
+
return {
|
|
300
|
+
url: toPathString(localVarUrlObj),
|
|
301
|
+
options: localVarRequestOptions,
|
|
302
|
+
};
|
|
303
|
+
},
|
|
223
304
|
/**
|
|
224
305
|
*
|
|
225
306
|
* @summary close a Redis Pub/Sub polling session
|
|
@@ -386,10 +467,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
386
467
|
* @param {string} clusterName
|
|
387
468
|
* @param {string} id
|
|
388
469
|
* @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
|
|
470
|
+
* @param {number} [database] Logical Redis database index for the polling client connection.
|
|
389
471
|
* @param {*} [options] Override http request option.
|
|
390
472
|
* @throws {RequiredError}
|
|
391
473
|
*/
|
|
392
|
-
createRedisPubSubSession: async (orgName: string, clusterName: string, id: string, redisPubSubSessionCreateRequest: RedisPubSubSessionCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
474
|
+
createRedisPubSubSession: async (orgName: string, clusterName: string, id: string, redisPubSubSessionCreateRequest: RedisPubSubSessionCreateRequest, database?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
393
475
|
// verify required parameter 'orgName' is not null or undefined
|
|
394
476
|
assertParamExists('createRedisPubSubSession', 'orgName', orgName)
|
|
395
477
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -420,6 +502,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
420
502
|
// authentication DigestAuth required
|
|
421
503
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
422
504
|
|
|
505
|
+
if (database !== undefined) {
|
|
506
|
+
localVarQueryParameter['database'] = database;
|
|
507
|
+
}
|
|
508
|
+
|
|
423
509
|
|
|
424
510
|
|
|
425
511
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -757,10 +843,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
757
843
|
* @param {string} clusterName
|
|
758
844
|
* @param {string} id
|
|
759
845
|
* @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
|
|
846
|
+
* @param {number} [database] Logical Redis database index for this command. Redis Cluster only supports 0.
|
|
760
847
|
* @param {*} [options] Override http request option.
|
|
761
848
|
* @throws {RequiredError}
|
|
762
849
|
*/
|
|
763
|
-
executeRedisWorkbenchCommand: async (orgName: string, clusterName: string, id: string, redisWorkbenchExecuteRequest: RedisWorkbenchExecuteRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
850
|
+
executeRedisWorkbenchCommand: async (orgName: string, clusterName: string, id: string, redisWorkbenchExecuteRequest: RedisWorkbenchExecuteRequest, database?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
764
851
|
// verify required parameter 'orgName' is not null or undefined
|
|
765
852
|
assertParamExists('executeRedisWorkbenchCommand', 'orgName', orgName)
|
|
766
853
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -791,6 +878,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
791
878
|
// authentication DigestAuth required
|
|
792
879
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
793
880
|
|
|
881
|
+
if (database !== undefined) {
|
|
882
|
+
localVarQueryParameter['database'] = database;
|
|
883
|
+
}
|
|
884
|
+
|
|
794
885
|
|
|
795
886
|
|
|
796
887
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1085,10 +1176,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1085
1176
|
* @param {string} orgName
|
|
1086
1177
|
* @param {string} clusterName
|
|
1087
1178
|
* @param {string} id
|
|
1179
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster topology only supports database 0.
|
|
1088
1180
|
* @param {*} [options] Override http request option.
|
|
1089
1181
|
* @throws {RequiredError}
|
|
1090
1182
|
*/
|
|
1091
|
-
getRedisClusterTopology: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1183
|
+
getRedisClusterTopology: async (orgName: string, clusterName: string, id: string, database?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1092
1184
|
// verify required parameter 'orgName' is not null or undefined
|
|
1093
1185
|
assertParamExists('getRedisClusterTopology', 'orgName', orgName)
|
|
1094
1186
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1117,6 +1209,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1117
1209
|
// authentication DigestAuth required
|
|
1118
1210
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1119
1211
|
|
|
1212
|
+
if (database !== undefined) {
|
|
1213
|
+
localVarQueryParameter['database'] = database;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1120
1216
|
|
|
1121
1217
|
|
|
1122
1218
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1134,10 +1230,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1134
1230
|
* @param {string} orgName
|
|
1135
1231
|
* @param {string} clusterName
|
|
1136
1232
|
* @param {string} id
|
|
1233
|
+
* @param {number} [database] Current logical Redis database index for this context. Omitted uses the datasource default; Redis Cluster only supports 0.
|
|
1137
1234
|
* @param {*} [options] Override http request option.
|
|
1138
1235
|
* @throws {RequiredError}
|
|
1139
1236
|
*/
|
|
1140
|
-
getRedisContext: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1237
|
+
getRedisContext: async (orgName: string, clusterName: string, id: string, database?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1141
1238
|
// verify required parameter 'orgName' is not null or undefined
|
|
1142
1239
|
assertParamExists('getRedisContext', 'orgName', orgName)
|
|
1143
1240
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1166,6 +1263,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1166
1263
|
// authentication DigestAuth required
|
|
1167
1264
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1168
1265
|
|
|
1266
|
+
if (database !== undefined) {
|
|
1267
|
+
localVarQueryParameter['database'] = database;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1169
1270
|
|
|
1170
1271
|
|
|
1171
1272
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1183,12 +1284,13 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1183
1284
|
* @param {string} orgName
|
|
1184
1285
|
* @param {string} clusterName
|
|
1185
1286
|
* @param {string} id
|
|
1287
|
+
* @param {number} [database] Logical Redis database index. INFO is server-level; the parameter is accepted for API consistency.
|
|
1186
1288
|
* @param {string} [section]
|
|
1187
1289
|
* @param {string} [nodeId]
|
|
1188
1290
|
* @param {*} [options] Override http request option.
|
|
1189
1291
|
* @throws {RequiredError}
|
|
1190
1292
|
*/
|
|
1191
|
-
getRedisInfo: async (orgName: string, clusterName: string, id: string, section?: string, nodeId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1293
|
+
getRedisInfo: async (orgName: string, clusterName: string, id: string, database?: number, section?: string, nodeId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1192
1294
|
// verify required parameter 'orgName' is not null or undefined
|
|
1193
1295
|
assertParamExists('getRedisInfo', 'orgName', orgName)
|
|
1194
1296
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1217,6 +1319,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1217
1319
|
// authentication DigestAuth required
|
|
1218
1320
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1219
1321
|
|
|
1322
|
+
if (database !== undefined) {
|
|
1323
|
+
localVarQueryParameter['database'] = database;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1220
1326
|
if (section !== undefined) {
|
|
1221
1327
|
localVarQueryParameter['section'] = section;
|
|
1222
1328
|
}
|
|
@@ -1243,10 +1349,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1243
1349
|
* @param {string} clusterName
|
|
1244
1350
|
* @param {string} id
|
|
1245
1351
|
* @param {RedisKeyDetailRequest} redisKeyDetailRequest
|
|
1352
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
1246
1353
|
* @param {*} [options] Override http request option.
|
|
1247
1354
|
* @throws {RequiredError}
|
|
1248
1355
|
*/
|
|
1249
|
-
getRedisKeyDetail: async (orgName: string, clusterName: string, id: string, redisKeyDetailRequest: RedisKeyDetailRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1356
|
+
getRedisKeyDetail: async (orgName: string, clusterName: string, id: string, redisKeyDetailRequest: RedisKeyDetailRequest, database?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1250
1357
|
// verify required parameter 'orgName' is not null or undefined
|
|
1251
1358
|
assertParamExists('getRedisKeyDetail', 'orgName', orgName)
|
|
1252
1359
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1277,6 +1384,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1277
1384
|
// authentication DigestAuth required
|
|
1278
1385
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1279
1386
|
|
|
1387
|
+
if (database !== undefined) {
|
|
1388
|
+
localVarQueryParameter['database'] = database;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1280
1391
|
|
|
1281
1392
|
|
|
1282
1393
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1931,6 +2042,7 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1931
2042
|
* @param {string} orgName
|
|
1932
2043
|
* @param {string} clusterName
|
|
1933
2044
|
* @param {string} id
|
|
2045
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
1934
2046
|
* @param {string} [cursor]
|
|
1935
2047
|
* @param {number} [limit]
|
|
1936
2048
|
* @param {string} [pattern]
|
|
@@ -1940,7 +2052,7 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1940
2052
|
* @param {*} [options] Override http request option.
|
|
1941
2053
|
* @throws {RequiredError}
|
|
1942
2054
|
*/
|
|
1943
|
-
listRedisKeys: async (orgName: string, clusterName: string, id: string, cursor?: string, limit?: number, pattern?: string, type?: string, separator?: string, nodeId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2055
|
+
listRedisKeys: async (orgName: string, clusterName: string, id: string, database?: number, cursor?: string, limit?: number, pattern?: string, type?: string, separator?: string, nodeId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1944
2056
|
// verify required parameter 'orgName' is not null or undefined
|
|
1945
2057
|
assertParamExists('listRedisKeys', 'orgName', orgName)
|
|
1946
2058
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1969,6 +2081,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1969
2081
|
// authentication DigestAuth required
|
|
1970
2082
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1971
2083
|
|
|
2084
|
+
if (database !== undefined) {
|
|
2085
|
+
localVarQueryParameter['database'] = database;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
1972
2088
|
if (cursor !== undefined) {
|
|
1973
2089
|
localVarQueryParameter['cursor'] = cursor;
|
|
1974
2090
|
}
|
|
@@ -2073,12 +2189,13 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2073
2189
|
* @param {string} orgName
|
|
2074
2190
|
* @param {string} clusterName
|
|
2075
2191
|
* @param {string} id
|
|
2192
|
+
* @param {number} [database] Logical Redis database index. SlowLog is server-level; the parameter is accepted for API consistency.
|
|
2076
2193
|
* @param {number} [limit]
|
|
2077
2194
|
* @param {string} [nodeId]
|
|
2078
2195
|
* @param {*} [options] Override http request option.
|
|
2079
2196
|
* @throws {RequiredError}
|
|
2080
2197
|
*/
|
|
2081
|
-
listRedisSlowLog: async (orgName: string, clusterName: string, id: string, limit?: number, nodeId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2198
|
+
listRedisSlowLog: async (orgName: string, clusterName: string, id: string, database?: number, limit?: number, nodeId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2082
2199
|
// verify required parameter 'orgName' is not null or undefined
|
|
2083
2200
|
assertParamExists('listRedisSlowLog', 'orgName', orgName)
|
|
2084
2201
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -2107,6 +2224,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2107
2224
|
// authentication DigestAuth required
|
|
2108
2225
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2109
2226
|
|
|
2227
|
+
if (database !== undefined) {
|
|
2228
|
+
localVarQueryParameter['database'] = database;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2110
2231
|
if (limit !== undefined) {
|
|
2111
2232
|
localVarQueryParameter['limit'] = limit;
|
|
2112
2233
|
}
|
|
@@ -3430,10 +3551,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3430
3551
|
* @param {string} clusterName
|
|
3431
3552
|
* @param {string} id
|
|
3432
3553
|
* @param {RedisKeyMutateRequest} redisKeyMutateRequest
|
|
3554
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
3433
3555
|
* @param {*} [options] Override http request option.
|
|
3434
3556
|
* @throws {RequiredError}
|
|
3435
3557
|
*/
|
|
3436
|
-
mutateRedisKey: async (orgName: string, clusterName: string, id: string, redisKeyMutateRequest: RedisKeyMutateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3558
|
+
mutateRedisKey: async (orgName: string, clusterName: string, id: string, redisKeyMutateRequest: RedisKeyMutateRequest, database?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3437
3559
|
// verify required parameter 'orgName' is not null or undefined
|
|
3438
3560
|
assertParamExists('mutateRedisKey', 'orgName', orgName)
|
|
3439
3561
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3464,6 +3586,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3464
3586
|
// authentication DigestAuth required
|
|
3465
3587
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3466
3588
|
|
|
3589
|
+
if (database !== undefined) {
|
|
3590
|
+
localVarQueryParameter['database'] = database;
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3467
3593
|
|
|
3468
3594
|
|
|
3469
3595
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3485,10 +3611,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3485
3611
|
* @param {string} clusterName
|
|
3486
3612
|
* @param {string} id
|
|
3487
3613
|
* @param {RedisPubSubPublishRequest} redisPubSubPublishRequest
|
|
3614
|
+
* @param {number} [database] Logical Redis database index for this Pub/Sub client. Redis Pub/Sub is server-level, but the client connection is still scoped to the selected DB for consistency.
|
|
3488
3615
|
* @param {*} [options] Override http request option.
|
|
3489
3616
|
* @throws {RequiredError}
|
|
3490
3617
|
*/
|
|
3491
|
-
publishRedisMessage: async (orgName: string, clusterName: string, id: string, redisPubSubPublishRequest: RedisPubSubPublishRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3618
|
+
publishRedisMessage: async (orgName: string, clusterName: string, id: string, redisPubSubPublishRequest: RedisPubSubPublishRequest, database?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3492
3619
|
// verify required parameter 'orgName' is not null or undefined
|
|
3493
3620
|
assertParamExists('publishRedisMessage', 'orgName', orgName)
|
|
3494
3621
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3519,6 +3646,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3519
3646
|
// authentication DigestAuth required
|
|
3520
3647
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3521
3648
|
|
|
3649
|
+
if (database !== undefined) {
|
|
3650
|
+
localVarQueryParameter['database'] = database;
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3522
3653
|
|
|
3523
3654
|
|
|
3524
3655
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3594,11 +3725,12 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3594
3725
|
* @param {string} orgName
|
|
3595
3726
|
* @param {string} clusterName
|
|
3596
3727
|
* @param {string} id
|
|
3728
|
+
* @param {number} [database] Logical Redis database index. SlowLog reset is server-level; the parameter is accepted for API consistency.
|
|
3597
3729
|
* @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
|
|
3598
3730
|
* @param {*} [options] Override http request option.
|
|
3599
3731
|
* @throws {RequiredError}
|
|
3600
3732
|
*/
|
|
3601
|
-
resetRedisSlowLog: async (orgName: string, clusterName: string, id: string, redisDangerousOperationRequest?: RedisDangerousOperationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3733
|
+
resetRedisSlowLog: async (orgName: string, clusterName: string, id: string, database?: number, redisDangerousOperationRequest?: RedisDangerousOperationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3602
3734
|
// verify required parameter 'orgName' is not null or undefined
|
|
3603
3735
|
assertParamExists('resetRedisSlowLog', 'orgName', orgName)
|
|
3604
3736
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3627,6 +3759,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3627
3759
|
// authentication DigestAuth required
|
|
3628
3760
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3629
3761
|
|
|
3762
|
+
if (database !== undefined) {
|
|
3763
|
+
localVarQueryParameter['database'] = database;
|
|
3764
|
+
}
|
|
3765
|
+
|
|
3630
3766
|
|
|
3631
3767
|
|
|
3632
3768
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3933,6 +4069,27 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
3933
4069
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.alterParameter']?.[localVarOperationServerIndex]?.url;
|
|
3934
4070
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3935
4071
|
},
|
|
4072
|
+
/**
|
|
4073
|
+
* Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
|
|
4074
|
+
* @summary analyze Redis keys by bounded SCAN sampling
|
|
4075
|
+
* @param {string} orgName
|
|
4076
|
+
* @param {string} clusterName
|
|
4077
|
+
* @param {string} id
|
|
4078
|
+
* @param {number} [database]
|
|
4079
|
+
* @param {string} [match] Redis SCAN match pattern.
|
|
4080
|
+
* @param {string} [cursor] Cursor returned by a previous analysis scan. Empty starts a new sample scan.
|
|
4081
|
+
* @param {number} [sampleLimit] Maximum number of keys to sample in this analysis request.
|
|
4082
|
+
* @param {number} [topN] Maximum number of top keys or namespaces to return.
|
|
4083
|
+
* @param {string} [namespaceSeparator] Separator used to group key namespaces.
|
|
4084
|
+
* @param {*} [options] Override http request option.
|
|
4085
|
+
* @throws {RequiredError}
|
|
4086
|
+
*/
|
|
4087
|
+
async analyzeRedisKeys(orgName: string, clusterName: string, id: string, database?: number, match?: string, cursor?: string, sampleLimit?: number, topN?: number, namespaceSeparator?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisAnalysisResponse>> {
|
|
4088
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyzeRedisKeys(orgName, clusterName, id, database, match, cursor, sampleLimit, topN, namespaceSeparator, options);
|
|
4089
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4090
|
+
const localVarOperationServerBasePath = operationServerMap['DmsApi.analyzeRedisKeys']?.[localVarOperationServerIndex]?.url;
|
|
4091
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4092
|
+
},
|
|
3936
4093
|
/**
|
|
3937
4094
|
*
|
|
3938
4095
|
* @summary close a Redis Pub/Sub polling session
|
|
@@ -3988,11 +4145,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
3988
4145
|
* @param {string} clusterName
|
|
3989
4146
|
* @param {string} id
|
|
3990
4147
|
* @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
|
|
4148
|
+
* @param {number} [database] Logical Redis database index for the polling client connection.
|
|
3991
4149
|
* @param {*} [options] Override http request option.
|
|
3992
4150
|
* @throws {RequiredError}
|
|
3993
4151
|
*/
|
|
3994
|
-
async createRedisPubSubSession(orgName: string, clusterName: string, id: string, redisPubSubSessionCreateRequest: RedisPubSubSessionCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisPubSubSession>> {
|
|
3995
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createRedisPubSubSession(orgName, clusterName, id, redisPubSubSessionCreateRequest, options);
|
|
4152
|
+
async createRedisPubSubSession(orgName: string, clusterName: string, id: string, redisPubSubSessionCreateRequest: RedisPubSubSessionCreateRequest, database?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisPubSubSession>> {
|
|
4153
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createRedisPubSubSession(orgName, clusterName, id, redisPubSubSessionCreateRequest, database, options);
|
|
3996
4154
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3997
4155
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.createRedisPubSubSession']?.[localVarOperationServerIndex]?.url;
|
|
3998
4156
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4099,11 +4257,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4099
4257
|
* @param {string} clusterName
|
|
4100
4258
|
* @param {string} id
|
|
4101
4259
|
* @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
|
|
4260
|
+
* @param {number} [database] Logical Redis database index for this command. Redis Cluster only supports 0.
|
|
4102
4261
|
* @param {*} [options] Override http request option.
|
|
4103
4262
|
* @throws {RequiredError}
|
|
4104
4263
|
*/
|
|
4105
|
-
async executeRedisWorkbenchCommand(orgName: string, clusterName: string, id: string, redisWorkbenchExecuteRequest: RedisWorkbenchExecuteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisWorkbenchExecuteResponse>> {
|
|
4106
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.executeRedisWorkbenchCommand(orgName, clusterName, id, redisWorkbenchExecuteRequest, options);
|
|
4264
|
+
async executeRedisWorkbenchCommand(orgName: string, clusterName: string, id: string, redisWorkbenchExecuteRequest: RedisWorkbenchExecuteRequest, database?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisWorkbenchExecuteResponse>> {
|
|
4265
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeRedisWorkbenchCommand(orgName, clusterName, id, redisWorkbenchExecuteRequest, database, options);
|
|
4107
4266
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4108
4267
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.executeRedisWorkbenchCommand']?.[localVarOperationServerIndex]?.url;
|
|
4109
4268
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4196,11 +4355,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4196
4355
|
* @param {string} orgName
|
|
4197
4356
|
* @param {string} clusterName
|
|
4198
4357
|
* @param {string} id
|
|
4358
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster topology only supports database 0.
|
|
4199
4359
|
* @param {*} [options] Override http request option.
|
|
4200
4360
|
* @throws {RequiredError}
|
|
4201
4361
|
*/
|
|
4202
|
-
async getRedisClusterTopology(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisClusterTopology>> {
|
|
4203
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisClusterTopology(orgName, clusterName, id, options);
|
|
4362
|
+
async getRedisClusterTopology(orgName: string, clusterName: string, id: string, database?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisClusterTopology>> {
|
|
4363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisClusterTopology(orgName, clusterName, id, database, options);
|
|
4204
4364
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4205
4365
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisClusterTopology']?.[localVarOperationServerIndex]?.url;
|
|
4206
4366
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4211,11 +4371,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4211
4371
|
* @param {string} orgName
|
|
4212
4372
|
* @param {string} clusterName
|
|
4213
4373
|
* @param {string} id
|
|
4374
|
+
* @param {number} [database] Current logical Redis database index for this context. Omitted uses the datasource default; Redis Cluster only supports 0.
|
|
4214
4375
|
* @param {*} [options] Override http request option.
|
|
4215
4376
|
* @throws {RequiredError}
|
|
4216
4377
|
*/
|
|
4217
|
-
async getRedisContext(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisDataContext>> {
|
|
4218
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisContext(orgName, clusterName, id, options);
|
|
4378
|
+
async getRedisContext(orgName: string, clusterName: string, id: string, database?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisDataContext>> {
|
|
4379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisContext(orgName, clusterName, id, database, options);
|
|
4219
4380
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4220
4381
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisContext']?.[localVarOperationServerIndex]?.url;
|
|
4221
4382
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4226,13 +4387,14 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4226
4387
|
* @param {string} orgName
|
|
4227
4388
|
* @param {string} clusterName
|
|
4228
4389
|
* @param {string} id
|
|
4390
|
+
* @param {number} [database] Logical Redis database index. INFO is server-level; the parameter is accepted for API consistency.
|
|
4229
4391
|
* @param {string} [section]
|
|
4230
4392
|
* @param {string} [nodeId]
|
|
4231
4393
|
* @param {*} [options] Override http request option.
|
|
4232
4394
|
* @throws {RequiredError}
|
|
4233
4395
|
*/
|
|
4234
|
-
async getRedisInfo(orgName: string, clusterName: string, id: string, section?: string, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisInfoResponse>> {
|
|
4235
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisInfo(orgName, clusterName, id, section, nodeId, options);
|
|
4396
|
+
async getRedisInfo(orgName: string, clusterName: string, id: string, database?: number, section?: string, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisInfoResponse>> {
|
|
4397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisInfo(orgName, clusterName, id, database, section, nodeId, options);
|
|
4236
4398
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4237
4399
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisInfo']?.[localVarOperationServerIndex]?.url;
|
|
4238
4400
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4244,11 +4406,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4244
4406
|
* @param {string} clusterName
|
|
4245
4407
|
* @param {string} id
|
|
4246
4408
|
* @param {RedisKeyDetailRequest} redisKeyDetailRequest
|
|
4409
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
4247
4410
|
* @param {*} [options] Override http request option.
|
|
4248
4411
|
* @throws {RequiredError}
|
|
4249
4412
|
*/
|
|
4250
|
-
async getRedisKeyDetail(orgName: string, clusterName: string, id: string, redisKeyDetailRequest: RedisKeyDetailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeyDetail>> {
|
|
4251
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisKeyDetail(orgName, clusterName, id, redisKeyDetailRequest, options);
|
|
4413
|
+
async getRedisKeyDetail(orgName: string, clusterName: string, id: string, redisKeyDetailRequest: RedisKeyDetailRequest, database?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeyDetail>> {
|
|
4414
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisKeyDetail(orgName, clusterName, id, redisKeyDetailRequest, database, options);
|
|
4252
4415
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4253
4416
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisKeyDetail']?.[localVarOperationServerIndex]?.url;
|
|
4254
4417
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4448,6 +4611,7 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4448
4611
|
* @param {string} orgName
|
|
4449
4612
|
* @param {string} clusterName
|
|
4450
4613
|
* @param {string} id
|
|
4614
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
4451
4615
|
* @param {string} [cursor]
|
|
4452
4616
|
* @param {number} [limit]
|
|
4453
4617
|
* @param {string} [pattern]
|
|
@@ -4457,8 +4621,8 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4457
4621
|
* @param {*} [options] Override http request option.
|
|
4458
4622
|
* @throws {RequiredError}
|
|
4459
4623
|
*/
|
|
4460
|
-
async listRedisKeys(orgName: string, clusterName: string, id: string, cursor?: string, limit?: number, pattern?: string, type?: string, separator?: string, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeySummaryList>> {
|
|
4461
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisKeys(orgName, clusterName, id, cursor, limit, pattern, type, separator, nodeId, options);
|
|
4624
|
+
async listRedisKeys(orgName: string, clusterName: string, id: string, database?: number, cursor?: string, limit?: number, pattern?: string, type?: string, separator?: string, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeySummaryList>> {
|
|
4625
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisKeys(orgName, clusterName, id, database, cursor, limit, pattern, type, separator, nodeId, options);
|
|
4462
4626
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4463
4627
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.listRedisKeys']?.[localVarOperationServerIndex]?.url;
|
|
4464
4628
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4487,13 +4651,14 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4487
4651
|
* @param {string} orgName
|
|
4488
4652
|
* @param {string} clusterName
|
|
4489
4653
|
* @param {string} id
|
|
4654
|
+
* @param {number} [database] Logical Redis database index. SlowLog is server-level; the parameter is accepted for API consistency.
|
|
4490
4655
|
* @param {number} [limit]
|
|
4491
4656
|
* @param {string} [nodeId]
|
|
4492
4657
|
* @param {*} [options] Override http request option.
|
|
4493
4658
|
* @throws {RequiredError}
|
|
4494
4659
|
*/
|
|
4495
|
-
async listRedisSlowLog(orgName: string, clusterName: string, id: string, limit?: number, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisSlowLogList>> {
|
|
4496
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisSlowLog(orgName, clusterName, id, limit, nodeId, options);
|
|
4660
|
+
async listRedisSlowLog(orgName: string, clusterName: string, id: string, database?: number, limit?: number, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisSlowLogList>> {
|
|
4661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisSlowLog(orgName, clusterName, id, database, limit, nodeId, options);
|
|
4497
4662
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4498
4663
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.listRedisSlowLog']?.[localVarOperationServerIndex]?.url;
|
|
4499
4664
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4884,11 +5049,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4884
5049
|
* @param {string} clusterName
|
|
4885
5050
|
* @param {string} id
|
|
4886
5051
|
* @param {RedisKeyMutateRequest} redisKeyMutateRequest
|
|
5052
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
4887
5053
|
* @param {*} [options] Override http request option.
|
|
4888
5054
|
* @throws {RequiredError}
|
|
4889
5055
|
*/
|
|
4890
|
-
async mutateRedisKey(orgName: string, clusterName: string, id: string, redisKeyMutateRequest: RedisKeyMutateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeyMutateResponse>> {
|
|
4891
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.mutateRedisKey(orgName, clusterName, id, redisKeyMutateRequest, options);
|
|
5056
|
+
async mutateRedisKey(orgName: string, clusterName: string, id: string, redisKeyMutateRequest: RedisKeyMutateRequest, database?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeyMutateResponse>> {
|
|
5057
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mutateRedisKey(orgName, clusterName, id, redisKeyMutateRequest, database, options);
|
|
4892
5058
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4893
5059
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.mutateRedisKey']?.[localVarOperationServerIndex]?.url;
|
|
4894
5060
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4900,11 +5066,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4900
5066
|
* @param {string} clusterName
|
|
4901
5067
|
* @param {string} id
|
|
4902
5068
|
* @param {RedisPubSubPublishRequest} redisPubSubPublishRequest
|
|
5069
|
+
* @param {number} [database] Logical Redis database index for this Pub/Sub client. Redis Pub/Sub is server-level, but the client connection is still scoped to the selected DB for consistency.
|
|
4903
5070
|
* @param {*} [options] Override http request option.
|
|
4904
5071
|
* @throws {RequiredError}
|
|
4905
5072
|
*/
|
|
4906
|
-
async publishRedisMessage(orgName: string, clusterName: string, id: string, redisPubSubPublishRequest: RedisPubSubPublishRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisOperationSummary>> {
|
|
4907
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.publishRedisMessage(orgName, clusterName, id, redisPubSubPublishRequest, options);
|
|
5073
|
+
async publishRedisMessage(orgName: string, clusterName: string, id: string, redisPubSubPublishRequest: RedisPubSubPublishRequest, database?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisOperationSummary>> {
|
|
5074
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishRedisMessage(orgName, clusterName, id, redisPubSubPublishRequest, database, options);
|
|
4908
5075
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4909
5076
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.publishRedisMessage']?.[localVarOperationServerIndex]?.url;
|
|
4910
5077
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4931,12 +5098,13 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4931
5098
|
* @param {string} orgName
|
|
4932
5099
|
* @param {string} clusterName
|
|
4933
5100
|
* @param {string} id
|
|
5101
|
+
* @param {number} [database] Logical Redis database index. SlowLog reset is server-level; the parameter is accepted for API consistency.
|
|
4934
5102
|
* @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
|
|
4935
5103
|
* @param {*} [options] Override http request option.
|
|
4936
5104
|
* @throws {RequiredError}
|
|
4937
5105
|
*/
|
|
4938
|
-
async resetRedisSlowLog(orgName: string, clusterName: string, id: string, redisDangerousOperationRequest?: RedisDangerousOperationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisOperationSummary>> {
|
|
4939
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.resetRedisSlowLog(orgName, clusterName, id, redisDangerousOperationRequest, options);
|
|
5106
|
+
async resetRedisSlowLog(orgName: string, clusterName: string, id: string, database?: number, redisDangerousOperationRequest?: RedisDangerousOperationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisOperationSummary>> {
|
|
5107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetRedisSlowLog(orgName, clusterName, id, database, redisDangerousOperationRequest, options);
|
|
4940
5108
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4941
5109
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.resetRedisSlowLog']?.[localVarOperationServerIndex]?.url;
|
|
4942
5110
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5039,6 +5207,16 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5039
5207
|
alterParameter(requestParameters: DmsApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
5040
5208
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
5041
5209
|
},
|
|
5210
|
+
/**
|
|
5211
|
+
* Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
|
|
5212
|
+
* @summary analyze Redis keys by bounded SCAN sampling
|
|
5213
|
+
* @param {DmsApiAnalyzeRedisKeysRequest} requestParameters Request parameters.
|
|
5214
|
+
* @param {*} [options] Override http request option.
|
|
5215
|
+
* @throws {RequiredError}
|
|
5216
|
+
*/
|
|
5217
|
+
analyzeRedisKeys(requestParameters: DmsApiAnalyzeRedisKeysRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisAnalysisResponse> {
|
|
5218
|
+
return localVarFp.analyzeRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.match, requestParameters.cursor, requestParameters.sampleLimit, requestParameters.topN, requestParameters.namespaceSeparator, options).then((request) => request(axios, basePath));
|
|
5219
|
+
},
|
|
5042
5220
|
/**
|
|
5043
5221
|
*
|
|
5044
5222
|
* @summary close a Redis Pub/Sub polling session
|
|
@@ -5078,7 +5256,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5078
5256
|
* @throws {RequiredError}
|
|
5079
5257
|
*/
|
|
5080
5258
|
createRedisPubSubSession(requestParameters: DmsApiCreateRedisPubSubSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisPubSubSession> {
|
|
5081
|
-
return localVarFp.createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, options).then((request) => request(axios, basePath));
|
|
5259
|
+
return localVarFp.createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5082
5260
|
},
|
|
5083
5261
|
/**
|
|
5084
5262
|
*
|
|
@@ -5148,7 +5326,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5148
5326
|
* @throws {RequiredError}
|
|
5149
5327
|
*/
|
|
5150
5328
|
executeRedisWorkbenchCommand(requestParameters: DmsApiExecuteRedisWorkbenchCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisWorkbenchExecuteResponse> {
|
|
5151
|
-
return localVarFp.executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, options).then((request) => request(axios, basePath));
|
|
5329
|
+
return localVarFp.executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5152
5330
|
},
|
|
5153
5331
|
/**
|
|
5154
5332
|
*
|
|
@@ -5208,7 +5386,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5208
5386
|
* @throws {RequiredError}
|
|
5209
5387
|
*/
|
|
5210
5388
|
getRedisClusterTopology(requestParameters: DmsApiGetRedisClusterTopologyRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisClusterTopology> {
|
|
5211
|
-
return localVarFp.getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5389
|
+
return localVarFp.getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5212
5390
|
},
|
|
5213
5391
|
/**
|
|
5214
5392
|
*
|
|
@@ -5218,7 +5396,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5218
5396
|
* @throws {RequiredError}
|
|
5219
5397
|
*/
|
|
5220
5398
|
getRedisContext(requestParameters: DmsApiGetRedisContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisDataContext> {
|
|
5221
|
-
return localVarFp.getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5399
|
+
return localVarFp.getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5222
5400
|
},
|
|
5223
5401
|
/**
|
|
5224
5402
|
*
|
|
@@ -5228,7 +5406,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5228
5406
|
* @throws {RequiredError}
|
|
5229
5407
|
*/
|
|
5230
5408
|
getRedisInfo(requestParameters: DmsApiGetRedisInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisInfoResponse> {
|
|
5231
|
-
return localVarFp.getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.section, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
5409
|
+
return localVarFp.getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.section, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
5232
5410
|
},
|
|
5233
5411
|
/**
|
|
5234
5412
|
*
|
|
@@ -5238,7 +5416,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5238
5416
|
* @throws {RequiredError}
|
|
5239
5417
|
*/
|
|
5240
5418
|
getRedisKeyDetail(requestParameters: DmsApiGetRedisKeyDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeyDetail> {
|
|
5241
|
-
return localVarFp.getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, options).then((request) => request(axios, basePath));
|
|
5419
|
+
return localVarFp.getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5242
5420
|
},
|
|
5243
5421
|
/**
|
|
5244
5422
|
*
|
|
@@ -5368,7 +5546,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5368
5546
|
* @throws {RequiredError}
|
|
5369
5547
|
*/
|
|
5370
5548
|
listRedisKeys(requestParameters: DmsApiListRedisKeysRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeySummaryList> {
|
|
5371
|
-
return localVarFp.listRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.cursor, requestParameters.limit, requestParameters.pattern, requestParameters.type, requestParameters.separator, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
5549
|
+
return localVarFp.listRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.cursor, requestParameters.limit, requestParameters.pattern, requestParameters.type, requestParameters.separator, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
5372
5550
|
},
|
|
5373
5551
|
/**
|
|
5374
5552
|
*
|
|
@@ -5388,7 +5566,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5388
5566
|
* @throws {RequiredError}
|
|
5389
5567
|
*/
|
|
5390
5568
|
listRedisSlowLog(requestParameters: DmsApiListRedisSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisSlowLogList> {
|
|
5391
|
-
return localVarFp.listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
5569
|
+
return localVarFp.listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
5392
5570
|
},
|
|
5393
5571
|
/**
|
|
5394
5572
|
*
|
|
@@ -5619,7 +5797,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5619
5797
|
* @throws {RequiredError}
|
|
5620
5798
|
*/
|
|
5621
5799
|
mutateRedisKey(requestParameters: DmsApiMutateRedisKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeyMutateResponse> {
|
|
5622
|
-
return localVarFp.mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, options).then((request) => request(axios, basePath));
|
|
5800
|
+
return localVarFp.mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5623
5801
|
},
|
|
5624
5802
|
/**
|
|
5625
5803
|
*
|
|
@@ -5629,7 +5807,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5629
5807
|
* @throws {RequiredError}
|
|
5630
5808
|
*/
|
|
5631
5809
|
publishRedisMessage(requestParameters: DmsApiPublishRedisMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisOperationSummary> {
|
|
5632
|
-
return localVarFp.publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, options).then((request) => request(axios, basePath));
|
|
5810
|
+
return localVarFp.publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5633
5811
|
},
|
|
5634
5812
|
/**
|
|
5635
5813
|
*
|
|
@@ -5649,7 +5827,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5649
5827
|
* @throws {RequiredError}
|
|
5650
5828
|
*/
|
|
5651
5829
|
resetRedisSlowLog(requestParameters: DmsApiResetRedisSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisOperationSummary> {
|
|
5652
|
-
return localVarFp.resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisDangerousOperationRequest, options).then((request) => request(axios, basePath));
|
|
5830
|
+
return localVarFp.resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.redisDangerousOperationRequest, options).then((request) => request(axios, basePath));
|
|
5653
5831
|
},
|
|
5654
5832
|
/**
|
|
5655
5833
|
*
|
|
@@ -5720,6 +5898,16 @@ export interface DmsApiInterface {
|
|
|
5720
5898
|
*/
|
|
5721
5899
|
alterParameter(requestParameters: DmsApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
5722
5900
|
|
|
5901
|
+
/**
|
|
5902
|
+
* Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
|
|
5903
|
+
* @summary analyze Redis keys by bounded SCAN sampling
|
|
5904
|
+
* @param {DmsApiAnalyzeRedisKeysRequest} requestParameters Request parameters.
|
|
5905
|
+
* @param {*} [options] Override http request option.
|
|
5906
|
+
* @throws {RequiredError}
|
|
5907
|
+
* @memberof DmsApiInterface
|
|
5908
|
+
*/
|
|
5909
|
+
analyzeRedisKeys(requestParameters: DmsApiAnalyzeRedisKeysRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisAnalysisResponse>;
|
|
5910
|
+
|
|
5723
5911
|
/**
|
|
5724
5912
|
*
|
|
5725
5913
|
* @summary close a Redis Pub/Sub polling session
|
|
@@ -6419,6 +6607,76 @@ export interface DmsApiAlterParameterRequest {
|
|
|
6419
6607
|
readonly dmsObAlterParameter: DmsObAlterParameter
|
|
6420
6608
|
}
|
|
6421
6609
|
|
|
6610
|
+
/**
|
|
6611
|
+
* Request parameters for analyzeRedisKeys operation in DmsApi.
|
|
6612
|
+
* @export
|
|
6613
|
+
* @interface DmsApiAnalyzeRedisKeysRequest
|
|
6614
|
+
*/
|
|
6615
|
+
export interface DmsApiAnalyzeRedisKeysRequest {
|
|
6616
|
+
/**
|
|
6617
|
+
*
|
|
6618
|
+
* @type {string}
|
|
6619
|
+
* @memberof DmsApiAnalyzeRedisKeys
|
|
6620
|
+
*/
|
|
6621
|
+
readonly orgName: string
|
|
6622
|
+
|
|
6623
|
+
/**
|
|
6624
|
+
*
|
|
6625
|
+
* @type {string}
|
|
6626
|
+
* @memberof DmsApiAnalyzeRedisKeys
|
|
6627
|
+
*/
|
|
6628
|
+
readonly clusterName: string
|
|
6629
|
+
|
|
6630
|
+
/**
|
|
6631
|
+
*
|
|
6632
|
+
* @type {string}
|
|
6633
|
+
* @memberof DmsApiAnalyzeRedisKeys
|
|
6634
|
+
*/
|
|
6635
|
+
readonly id: string
|
|
6636
|
+
|
|
6637
|
+
/**
|
|
6638
|
+
*
|
|
6639
|
+
* @type {number}
|
|
6640
|
+
* @memberof DmsApiAnalyzeRedisKeys
|
|
6641
|
+
*/
|
|
6642
|
+
readonly database?: number
|
|
6643
|
+
|
|
6644
|
+
/**
|
|
6645
|
+
* Redis SCAN match pattern.
|
|
6646
|
+
* @type {string}
|
|
6647
|
+
* @memberof DmsApiAnalyzeRedisKeys
|
|
6648
|
+
*/
|
|
6649
|
+
readonly match?: string
|
|
6650
|
+
|
|
6651
|
+
/**
|
|
6652
|
+
* Cursor returned by a previous analysis scan. Empty starts a new sample scan.
|
|
6653
|
+
* @type {string}
|
|
6654
|
+
* @memberof DmsApiAnalyzeRedisKeys
|
|
6655
|
+
*/
|
|
6656
|
+
readonly cursor?: string
|
|
6657
|
+
|
|
6658
|
+
/**
|
|
6659
|
+
* Maximum number of keys to sample in this analysis request.
|
|
6660
|
+
* @type {number}
|
|
6661
|
+
* @memberof DmsApiAnalyzeRedisKeys
|
|
6662
|
+
*/
|
|
6663
|
+
readonly sampleLimit?: number
|
|
6664
|
+
|
|
6665
|
+
/**
|
|
6666
|
+
* Maximum number of top keys or namespaces to return.
|
|
6667
|
+
* @type {number}
|
|
6668
|
+
* @memberof DmsApiAnalyzeRedisKeys
|
|
6669
|
+
*/
|
|
6670
|
+
readonly topN?: number
|
|
6671
|
+
|
|
6672
|
+
/**
|
|
6673
|
+
* Separator used to group key namespaces.
|
|
6674
|
+
* @type {string}
|
|
6675
|
+
* @memberof DmsApiAnalyzeRedisKeys
|
|
6676
|
+
*/
|
|
6677
|
+
readonly namespaceSeparator?: string
|
|
6678
|
+
}
|
|
6679
|
+
|
|
6422
6680
|
/**
|
|
6423
6681
|
* Request parameters for closeRedisPubSubSession operation in DmsApi.
|
|
6424
6682
|
* @export
|
|
@@ -6550,6 +6808,13 @@ export interface DmsApiCreateRedisPubSubSessionRequest {
|
|
|
6550
6808
|
* @memberof DmsApiCreateRedisPubSubSession
|
|
6551
6809
|
*/
|
|
6552
6810
|
readonly redisPubSubSessionCreateRequest: RedisPubSubSessionCreateRequest
|
|
6811
|
+
|
|
6812
|
+
/**
|
|
6813
|
+
* Logical Redis database index for the polling client connection.
|
|
6814
|
+
* @type {number}
|
|
6815
|
+
* @memberof DmsApiCreateRedisPubSubSession
|
|
6816
|
+
*/
|
|
6817
|
+
readonly database?: number
|
|
6553
6818
|
}
|
|
6554
6819
|
|
|
6555
6820
|
/**
|
|
@@ -6788,6 +7053,13 @@ export interface DmsApiExecuteRedisWorkbenchCommandRequest {
|
|
|
6788
7053
|
* @memberof DmsApiExecuteRedisWorkbenchCommand
|
|
6789
7054
|
*/
|
|
6790
7055
|
readonly redisWorkbenchExecuteRequest: RedisWorkbenchExecuteRequest
|
|
7056
|
+
|
|
7057
|
+
/**
|
|
7058
|
+
* Logical Redis database index for this command. Redis Cluster only supports 0.
|
|
7059
|
+
* @type {number}
|
|
7060
|
+
* @memberof DmsApiExecuteRedisWorkbenchCommand
|
|
7061
|
+
*/
|
|
7062
|
+
readonly database?: number
|
|
6791
7063
|
}
|
|
6792
7064
|
|
|
6793
7065
|
/**
|
|
@@ -7005,6 +7277,13 @@ export interface DmsApiGetRedisClusterTopologyRequest {
|
|
|
7005
7277
|
* @memberof DmsApiGetRedisClusterTopology
|
|
7006
7278
|
*/
|
|
7007
7279
|
readonly id: string
|
|
7280
|
+
|
|
7281
|
+
/**
|
|
7282
|
+
* Logical Redis database index. Redis Cluster topology only supports database 0.
|
|
7283
|
+
* @type {number}
|
|
7284
|
+
* @memberof DmsApiGetRedisClusterTopology
|
|
7285
|
+
*/
|
|
7286
|
+
readonly database?: number
|
|
7008
7287
|
}
|
|
7009
7288
|
|
|
7010
7289
|
/**
|
|
@@ -7033,6 +7312,13 @@ export interface DmsApiGetRedisContextRequest {
|
|
|
7033
7312
|
* @memberof DmsApiGetRedisContext
|
|
7034
7313
|
*/
|
|
7035
7314
|
readonly id: string
|
|
7315
|
+
|
|
7316
|
+
/**
|
|
7317
|
+
* Current logical Redis database index for this context. Omitted uses the datasource default; Redis Cluster only supports 0.
|
|
7318
|
+
* @type {number}
|
|
7319
|
+
* @memberof DmsApiGetRedisContext
|
|
7320
|
+
*/
|
|
7321
|
+
readonly database?: number
|
|
7036
7322
|
}
|
|
7037
7323
|
|
|
7038
7324
|
/**
|
|
@@ -7062,6 +7348,13 @@ export interface DmsApiGetRedisInfoRequest {
|
|
|
7062
7348
|
*/
|
|
7063
7349
|
readonly id: string
|
|
7064
7350
|
|
|
7351
|
+
/**
|
|
7352
|
+
* Logical Redis database index. INFO is server-level; the parameter is accepted for API consistency.
|
|
7353
|
+
* @type {number}
|
|
7354
|
+
* @memberof DmsApiGetRedisInfo
|
|
7355
|
+
*/
|
|
7356
|
+
readonly database?: number
|
|
7357
|
+
|
|
7065
7358
|
/**
|
|
7066
7359
|
*
|
|
7067
7360
|
* @type {string}
|
|
@@ -7110,6 +7403,13 @@ export interface DmsApiGetRedisKeyDetailRequest {
|
|
|
7110
7403
|
* @memberof DmsApiGetRedisKeyDetail
|
|
7111
7404
|
*/
|
|
7112
7405
|
readonly redisKeyDetailRequest: RedisKeyDetailRequest
|
|
7406
|
+
|
|
7407
|
+
/**
|
|
7408
|
+
* Logical Redis database index. Redis Cluster only supports 0.
|
|
7409
|
+
* @type {number}
|
|
7410
|
+
* @memberof DmsApiGetRedisKeyDetail
|
|
7411
|
+
*/
|
|
7412
|
+
readonly database?: number
|
|
7113
7413
|
}
|
|
7114
7414
|
|
|
7115
7415
|
/**
|
|
@@ -7538,6 +7838,13 @@ export interface DmsApiListRedisKeysRequest {
|
|
|
7538
7838
|
*/
|
|
7539
7839
|
readonly id: string
|
|
7540
7840
|
|
|
7841
|
+
/**
|
|
7842
|
+
* Logical Redis database index. Redis Cluster only supports 0.
|
|
7843
|
+
* @type {number}
|
|
7844
|
+
* @memberof DmsApiListRedisKeys
|
|
7845
|
+
*/
|
|
7846
|
+
readonly database?: number
|
|
7847
|
+
|
|
7541
7848
|
/**
|
|
7542
7849
|
*
|
|
7543
7850
|
* @type {string}
|
|
@@ -7657,6 +7964,13 @@ export interface DmsApiListRedisSlowLogRequest {
|
|
|
7657
7964
|
*/
|
|
7658
7965
|
readonly id: string
|
|
7659
7966
|
|
|
7967
|
+
/**
|
|
7968
|
+
* Logical Redis database index. SlowLog is server-level; the parameter is accepted for API consistency.
|
|
7969
|
+
* @type {number}
|
|
7970
|
+
* @memberof DmsApiListRedisSlowLog
|
|
7971
|
+
*/
|
|
7972
|
+
readonly database?: number
|
|
7973
|
+
|
|
7660
7974
|
/**
|
|
7661
7975
|
*
|
|
7662
7976
|
* @type {number}
|
|
@@ -8657,6 +8971,13 @@ export interface DmsApiMutateRedisKeyRequest {
|
|
|
8657
8971
|
* @memberof DmsApiMutateRedisKey
|
|
8658
8972
|
*/
|
|
8659
8973
|
readonly redisKeyMutateRequest: RedisKeyMutateRequest
|
|
8974
|
+
|
|
8975
|
+
/**
|
|
8976
|
+
* Logical Redis database index. Redis Cluster only supports 0.
|
|
8977
|
+
* @type {number}
|
|
8978
|
+
* @memberof DmsApiMutateRedisKey
|
|
8979
|
+
*/
|
|
8980
|
+
readonly database?: number
|
|
8660
8981
|
}
|
|
8661
8982
|
|
|
8662
8983
|
/**
|
|
@@ -8692,6 +9013,13 @@ export interface DmsApiPublishRedisMessageRequest {
|
|
|
8692
9013
|
* @memberof DmsApiPublishRedisMessage
|
|
8693
9014
|
*/
|
|
8694
9015
|
readonly redisPubSubPublishRequest: RedisPubSubPublishRequest
|
|
9016
|
+
|
|
9017
|
+
/**
|
|
9018
|
+
* Logical Redis database index for this Pub/Sub client. Redis Pub/Sub is server-level, but the client connection is still scoped to the selected DB for consistency.
|
|
9019
|
+
* @type {number}
|
|
9020
|
+
* @memberof DmsApiPublishRedisMessage
|
|
9021
|
+
*/
|
|
9022
|
+
readonly database?: number
|
|
8695
9023
|
}
|
|
8696
9024
|
|
|
8697
9025
|
/**
|
|
@@ -8756,6 +9084,13 @@ export interface DmsApiResetRedisSlowLogRequest {
|
|
|
8756
9084
|
*/
|
|
8757
9085
|
readonly id: string
|
|
8758
9086
|
|
|
9087
|
+
/**
|
|
9088
|
+
* Logical Redis database index. SlowLog reset is server-level; the parameter is accepted for API consistency.
|
|
9089
|
+
* @type {number}
|
|
9090
|
+
* @memberof DmsApiResetRedisSlowLog
|
|
9091
|
+
*/
|
|
9092
|
+
readonly database?: number
|
|
9093
|
+
|
|
8759
9094
|
/**
|
|
8760
9095
|
*
|
|
8761
9096
|
* @type {RedisDangerousOperationRequest}
|
|
@@ -8944,6 +9279,18 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
8944
9279
|
return DmsApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
8945
9280
|
}
|
|
8946
9281
|
|
|
9282
|
+
/**
|
|
9283
|
+
* Returns an instant sample analysis for Redis keys. The result is not a persisted or full historical report; callers must use progress.complete, progress.processed, progress.sampleLimit, and generatedAt to present the sampling boundary.
|
|
9284
|
+
* @summary analyze Redis keys by bounded SCAN sampling
|
|
9285
|
+
* @param {DmsApiAnalyzeRedisKeysRequest} requestParameters Request parameters.
|
|
9286
|
+
* @param {*} [options] Override http request option.
|
|
9287
|
+
* @throws {RequiredError}
|
|
9288
|
+
* @memberof DmsApi
|
|
9289
|
+
*/
|
|
9290
|
+
public analyzeRedisKeys(requestParameters: DmsApiAnalyzeRedisKeysRequest, options?: RawAxiosRequestConfig) {
|
|
9291
|
+
return DmsApiFp(this.configuration).analyzeRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.match, requestParameters.cursor, requestParameters.sampleLimit, requestParameters.topN, requestParameters.namespaceSeparator, options).then((request) => request(this.axios, this.basePath));
|
|
9292
|
+
}
|
|
9293
|
+
|
|
8947
9294
|
/**
|
|
8948
9295
|
*
|
|
8949
9296
|
* @summary close a Redis Pub/Sub polling session
|
|
@@ -8990,7 +9337,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
8990
9337
|
* @memberof DmsApi
|
|
8991
9338
|
*/
|
|
8992
9339
|
public createRedisPubSubSession(requestParameters: DmsApiCreateRedisPubSubSessionRequest, options?: RawAxiosRequestConfig) {
|
|
8993
|
-
return DmsApiFp(this.configuration).createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9340
|
+
return DmsApiFp(this.configuration).createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
8994
9341
|
}
|
|
8995
9342
|
|
|
8996
9343
|
/**
|
|
@@ -9074,7 +9421,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9074
9421
|
* @memberof DmsApi
|
|
9075
9422
|
*/
|
|
9076
9423
|
public executeRedisWorkbenchCommand(requestParameters: DmsApiExecuteRedisWorkbenchCommandRequest, options?: RawAxiosRequestConfig) {
|
|
9077
|
-
return DmsApiFp(this.configuration).executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9424
|
+
return DmsApiFp(this.configuration).executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
9078
9425
|
}
|
|
9079
9426
|
|
|
9080
9427
|
/**
|
|
@@ -9146,7 +9493,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9146
9493
|
* @memberof DmsApi
|
|
9147
9494
|
*/
|
|
9148
9495
|
public getRedisClusterTopology(requestParameters: DmsApiGetRedisClusterTopologyRequest, options?: RawAxiosRequestConfig) {
|
|
9149
|
-
return DmsApiFp(this.configuration).getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
9496
|
+
return DmsApiFp(this.configuration).getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
9150
9497
|
}
|
|
9151
9498
|
|
|
9152
9499
|
/**
|
|
@@ -9158,7 +9505,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9158
9505
|
* @memberof DmsApi
|
|
9159
9506
|
*/
|
|
9160
9507
|
public getRedisContext(requestParameters: DmsApiGetRedisContextRequest, options?: RawAxiosRequestConfig) {
|
|
9161
|
-
return DmsApiFp(this.configuration).getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
9508
|
+
return DmsApiFp(this.configuration).getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
9162
9509
|
}
|
|
9163
9510
|
|
|
9164
9511
|
/**
|
|
@@ -9170,7 +9517,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9170
9517
|
* @memberof DmsApi
|
|
9171
9518
|
*/
|
|
9172
9519
|
public getRedisInfo(requestParameters: DmsApiGetRedisInfoRequest, options?: RawAxiosRequestConfig) {
|
|
9173
|
-
return DmsApiFp(this.configuration).getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.section, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
9520
|
+
return DmsApiFp(this.configuration).getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.section, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
9174
9521
|
}
|
|
9175
9522
|
|
|
9176
9523
|
/**
|
|
@@ -9182,7 +9529,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9182
9529
|
* @memberof DmsApi
|
|
9183
9530
|
*/
|
|
9184
9531
|
public getRedisKeyDetail(requestParameters: DmsApiGetRedisKeyDetailRequest, options?: RawAxiosRequestConfig) {
|
|
9185
|
-
return DmsApiFp(this.configuration).getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9532
|
+
return DmsApiFp(this.configuration).getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
9186
9533
|
}
|
|
9187
9534
|
|
|
9188
9535
|
/**
|
|
@@ -9338,7 +9685,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9338
9685
|
* @memberof DmsApi
|
|
9339
9686
|
*/
|
|
9340
9687
|
public listRedisKeys(requestParameters: DmsApiListRedisKeysRequest, options?: RawAxiosRequestConfig) {
|
|
9341
|
-
return DmsApiFp(this.configuration).listRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.cursor, requestParameters.limit, requestParameters.pattern, requestParameters.type, requestParameters.separator, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
9688
|
+
return DmsApiFp(this.configuration).listRedisKeys(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.cursor, requestParameters.limit, requestParameters.pattern, requestParameters.type, requestParameters.separator, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
9342
9689
|
}
|
|
9343
9690
|
|
|
9344
9691
|
/**
|
|
@@ -9362,7 +9709,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9362
9709
|
* @memberof DmsApi
|
|
9363
9710
|
*/
|
|
9364
9711
|
public listRedisSlowLog(requestParameters: DmsApiListRedisSlowLogRequest, options?: RawAxiosRequestConfig) {
|
|
9365
|
-
return DmsApiFp(this.configuration).listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
9712
|
+
return DmsApiFp(this.configuration).listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
9366
9713
|
}
|
|
9367
9714
|
|
|
9368
9715
|
/**
|
|
@@ -9639,7 +9986,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9639
9986
|
* @memberof DmsApi
|
|
9640
9987
|
*/
|
|
9641
9988
|
public mutateRedisKey(requestParameters: DmsApiMutateRedisKeyRequest, options?: RawAxiosRequestConfig) {
|
|
9642
|
-
return DmsApiFp(this.configuration).mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9989
|
+
return DmsApiFp(this.configuration).mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
9643
9990
|
}
|
|
9644
9991
|
|
|
9645
9992
|
/**
|
|
@@ -9651,7 +9998,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9651
9998
|
* @memberof DmsApi
|
|
9652
9999
|
*/
|
|
9653
10000
|
public publishRedisMessage(requestParameters: DmsApiPublishRedisMessageRequest, options?: RawAxiosRequestConfig) {
|
|
9654
|
-
return DmsApiFp(this.configuration).publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10001
|
+
return DmsApiFp(this.configuration).publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
9655
10002
|
}
|
|
9656
10003
|
|
|
9657
10004
|
/**
|
|
@@ -9675,7 +10022,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9675
10022
|
* @memberof DmsApi
|
|
9676
10023
|
*/
|
|
9677
10024
|
public resetRedisSlowLog(requestParameters: DmsApiResetRedisSlowLogRequest, options?: RawAxiosRequestConfig) {
|
|
9678
|
-
return DmsApiFp(this.configuration).resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisDangerousOperationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10025
|
+
return DmsApiFp(this.configuration).resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.redisDangerousOperationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9679
10026
|
}
|
|
9680
10027
|
|
|
9681
10028
|
/**
|