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
|
@@ -76,6 +76,72 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
76
76
|
options: localVarRequestOptions,
|
|
77
77
|
};
|
|
78
78
|
},
|
|
79
|
+
/**
|
|
80
|
+
* 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.
|
|
81
|
+
* @summary analyze Redis keys by bounded SCAN sampling
|
|
82
|
+
* @param {string} orgName
|
|
83
|
+
* @param {string} clusterName
|
|
84
|
+
* @param {string} id
|
|
85
|
+
* @param {number} [database]
|
|
86
|
+
* @param {string} [match] Redis SCAN match pattern.
|
|
87
|
+
* @param {string} [cursor] Cursor returned by a previous analysis scan. Empty starts a new sample scan.
|
|
88
|
+
* @param {number} [sampleLimit] Maximum number of keys to sample in this analysis request.
|
|
89
|
+
* @param {number} [topN] Maximum number of top keys or namespaces to return.
|
|
90
|
+
* @param {string} [namespaceSeparator] Separator used to group key namespaces.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
analyzeRedisKeys: async (orgName, clusterName, id, database, match, cursor, sampleLimit, topN, namespaceSeparator, options = {}) => {
|
|
95
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
96
|
+
(0, common_1.assertParamExists)('analyzeRedisKeys', 'orgName', orgName);
|
|
97
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
98
|
+
(0, common_1.assertParamExists)('analyzeRedisKeys', 'clusterName', clusterName);
|
|
99
|
+
// verify required parameter 'id' is not null or undefined
|
|
100
|
+
(0, common_1.assertParamExists)('analyzeRedisKeys', 'id', id);
|
|
101
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/redis/analysis`
|
|
102
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
103
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
104
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
107
|
+
let baseOptions;
|
|
108
|
+
if (configuration) {
|
|
109
|
+
baseOptions = configuration.baseOptions;
|
|
110
|
+
}
|
|
111
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
112
|
+
const localVarHeaderParameter = {};
|
|
113
|
+
const localVarQueryParameter = {};
|
|
114
|
+
// authentication BearerToken required
|
|
115
|
+
// http bearer authentication required
|
|
116
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
117
|
+
// authentication DigestAuth required
|
|
118
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
119
|
+
if (database !== undefined) {
|
|
120
|
+
localVarQueryParameter['database'] = database;
|
|
121
|
+
}
|
|
122
|
+
if (match !== undefined) {
|
|
123
|
+
localVarQueryParameter['match'] = match;
|
|
124
|
+
}
|
|
125
|
+
if (cursor !== undefined) {
|
|
126
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
127
|
+
}
|
|
128
|
+
if (sampleLimit !== undefined) {
|
|
129
|
+
localVarQueryParameter['sampleLimit'] = sampleLimit;
|
|
130
|
+
}
|
|
131
|
+
if (topN !== undefined) {
|
|
132
|
+
localVarQueryParameter['topN'] = topN;
|
|
133
|
+
}
|
|
134
|
+
if (namespaceSeparator !== undefined) {
|
|
135
|
+
localVarQueryParameter['namespaceSeparator'] = namespaceSeparator;
|
|
136
|
+
}
|
|
137
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
140
|
+
return {
|
|
141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
};
|
|
144
|
+
},
|
|
79
145
|
/**
|
|
80
146
|
*
|
|
81
147
|
* @summary close a Redis Pub/Sub polling session
|
|
@@ -219,10 +285,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
219
285
|
* @param {string} clusterName
|
|
220
286
|
* @param {string} id
|
|
221
287
|
* @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
|
|
288
|
+
* @param {number} [database] Logical Redis database index for the polling client connection.
|
|
222
289
|
* @param {*} [options] Override http request option.
|
|
223
290
|
* @throws {RequiredError}
|
|
224
291
|
*/
|
|
225
|
-
createRedisPubSubSession: async (orgName, clusterName, id, redisPubSubSessionCreateRequest, options = {}) => {
|
|
292
|
+
createRedisPubSubSession: async (orgName, clusterName, id, redisPubSubSessionCreateRequest, database, options = {}) => {
|
|
226
293
|
// verify required parameter 'orgName' is not null or undefined
|
|
227
294
|
(0, common_1.assertParamExists)('createRedisPubSubSession', 'orgName', orgName);
|
|
228
295
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -249,6 +316,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
249
316
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
250
317
|
// authentication DigestAuth required
|
|
251
318
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
319
|
+
if (database !== undefined) {
|
|
320
|
+
localVarQueryParameter['database'] = database;
|
|
321
|
+
}
|
|
252
322
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
253
323
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
254
324
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -537,10 +607,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
537
607
|
* @param {string} clusterName
|
|
538
608
|
* @param {string} id
|
|
539
609
|
* @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
|
|
610
|
+
* @param {number} [database] Logical Redis database index for this command. Redis Cluster only supports 0.
|
|
540
611
|
* @param {*} [options] Override http request option.
|
|
541
612
|
* @throws {RequiredError}
|
|
542
613
|
*/
|
|
543
|
-
executeRedisWorkbenchCommand: async (orgName, clusterName, id, redisWorkbenchExecuteRequest, options = {}) => {
|
|
614
|
+
executeRedisWorkbenchCommand: async (orgName, clusterName, id, redisWorkbenchExecuteRequest, database, options = {}) => {
|
|
544
615
|
// verify required parameter 'orgName' is not null or undefined
|
|
545
616
|
(0, common_1.assertParamExists)('executeRedisWorkbenchCommand', 'orgName', orgName);
|
|
546
617
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -567,6 +638,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
567
638
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
568
639
|
// authentication DigestAuth required
|
|
569
640
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
641
|
+
if (database !== undefined) {
|
|
642
|
+
localVarQueryParameter['database'] = database;
|
|
643
|
+
}
|
|
570
644
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
571
645
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
572
646
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -820,10 +894,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
820
894
|
* @param {string} orgName
|
|
821
895
|
* @param {string} clusterName
|
|
822
896
|
* @param {string} id
|
|
897
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster topology only supports database 0.
|
|
823
898
|
* @param {*} [options] Override http request option.
|
|
824
899
|
* @throws {RequiredError}
|
|
825
900
|
*/
|
|
826
|
-
getRedisClusterTopology: async (orgName, clusterName, id, options = {}) => {
|
|
901
|
+
getRedisClusterTopology: async (orgName, clusterName, id, database, options = {}) => {
|
|
827
902
|
// verify required parameter 'orgName' is not null or undefined
|
|
828
903
|
(0, common_1.assertParamExists)('getRedisClusterTopology', 'orgName', orgName);
|
|
829
904
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -848,6 +923,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
848
923
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
849
924
|
// authentication DigestAuth required
|
|
850
925
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
926
|
+
if (database !== undefined) {
|
|
927
|
+
localVarQueryParameter['database'] = database;
|
|
928
|
+
}
|
|
851
929
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
852
930
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
853
931
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -862,10 +940,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
862
940
|
* @param {string} orgName
|
|
863
941
|
* @param {string} clusterName
|
|
864
942
|
* @param {string} id
|
|
943
|
+
* @param {number} [database] Current logical Redis database index for this context. Omitted uses the datasource default; Redis Cluster only supports 0.
|
|
865
944
|
* @param {*} [options] Override http request option.
|
|
866
945
|
* @throws {RequiredError}
|
|
867
946
|
*/
|
|
868
|
-
getRedisContext: async (orgName, clusterName, id, options = {}) => {
|
|
947
|
+
getRedisContext: async (orgName, clusterName, id, database, options = {}) => {
|
|
869
948
|
// verify required parameter 'orgName' is not null or undefined
|
|
870
949
|
(0, common_1.assertParamExists)('getRedisContext', 'orgName', orgName);
|
|
871
950
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -890,6 +969,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
890
969
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
891
970
|
// authentication DigestAuth required
|
|
892
971
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
972
|
+
if (database !== undefined) {
|
|
973
|
+
localVarQueryParameter['database'] = database;
|
|
974
|
+
}
|
|
893
975
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
894
976
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
895
977
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -904,12 +986,13 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
904
986
|
* @param {string} orgName
|
|
905
987
|
* @param {string} clusterName
|
|
906
988
|
* @param {string} id
|
|
989
|
+
* @param {number} [database] Logical Redis database index. INFO is server-level; the parameter is accepted for API consistency.
|
|
907
990
|
* @param {string} [section]
|
|
908
991
|
* @param {string} [nodeId]
|
|
909
992
|
* @param {*} [options] Override http request option.
|
|
910
993
|
* @throws {RequiredError}
|
|
911
994
|
*/
|
|
912
|
-
getRedisInfo: async (orgName, clusterName, id, section, nodeId, options = {}) => {
|
|
995
|
+
getRedisInfo: async (orgName, clusterName, id, database, section, nodeId, options = {}) => {
|
|
913
996
|
// verify required parameter 'orgName' is not null or undefined
|
|
914
997
|
(0, common_1.assertParamExists)('getRedisInfo', 'orgName', orgName);
|
|
915
998
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -934,6 +1017,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
934
1017
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
935
1018
|
// authentication DigestAuth required
|
|
936
1019
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1020
|
+
if (database !== undefined) {
|
|
1021
|
+
localVarQueryParameter['database'] = database;
|
|
1022
|
+
}
|
|
937
1023
|
if (section !== undefined) {
|
|
938
1024
|
localVarQueryParameter['section'] = section;
|
|
939
1025
|
}
|
|
@@ -955,10 +1041,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
955
1041
|
* @param {string} clusterName
|
|
956
1042
|
* @param {string} id
|
|
957
1043
|
* @param {RedisKeyDetailRequest} redisKeyDetailRequest
|
|
1044
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
958
1045
|
* @param {*} [options] Override http request option.
|
|
959
1046
|
* @throws {RequiredError}
|
|
960
1047
|
*/
|
|
961
|
-
getRedisKeyDetail: async (orgName, clusterName, id, redisKeyDetailRequest, options = {}) => {
|
|
1048
|
+
getRedisKeyDetail: async (orgName, clusterName, id, redisKeyDetailRequest, database, options = {}) => {
|
|
962
1049
|
// verify required parameter 'orgName' is not null or undefined
|
|
963
1050
|
(0, common_1.assertParamExists)('getRedisKeyDetail', 'orgName', orgName);
|
|
964
1051
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -985,6 +1072,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
985
1072
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
986
1073
|
// authentication DigestAuth required
|
|
987
1074
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1075
|
+
if (database !== undefined) {
|
|
1076
|
+
localVarQueryParameter['database'] = database;
|
|
1077
|
+
}
|
|
988
1078
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
989
1079
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
990
1080
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1545,6 +1635,7 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1545
1635
|
* @param {string} orgName
|
|
1546
1636
|
* @param {string} clusterName
|
|
1547
1637
|
* @param {string} id
|
|
1638
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
1548
1639
|
* @param {string} [cursor]
|
|
1549
1640
|
* @param {number} [limit]
|
|
1550
1641
|
* @param {string} [pattern]
|
|
@@ -1554,7 +1645,7 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1554
1645
|
* @param {*} [options] Override http request option.
|
|
1555
1646
|
* @throws {RequiredError}
|
|
1556
1647
|
*/
|
|
1557
|
-
listRedisKeys: async (orgName, clusterName, id, cursor, limit, pattern, type, separator, nodeId, options = {}) => {
|
|
1648
|
+
listRedisKeys: async (orgName, clusterName, id, database, cursor, limit, pattern, type, separator, nodeId, options = {}) => {
|
|
1558
1649
|
// verify required parameter 'orgName' is not null or undefined
|
|
1559
1650
|
(0, common_1.assertParamExists)('listRedisKeys', 'orgName', orgName);
|
|
1560
1651
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1579,6 +1670,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1579
1670
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1580
1671
|
// authentication DigestAuth required
|
|
1581
1672
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1673
|
+
if (database !== undefined) {
|
|
1674
|
+
localVarQueryParameter['database'] = database;
|
|
1675
|
+
}
|
|
1582
1676
|
if (cursor !== undefined) {
|
|
1583
1677
|
localVarQueryParameter['cursor'] = cursor;
|
|
1584
1678
|
}
|
|
@@ -1665,12 +1759,13 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1665
1759
|
* @param {string} orgName
|
|
1666
1760
|
* @param {string} clusterName
|
|
1667
1761
|
* @param {string} id
|
|
1762
|
+
* @param {number} [database] Logical Redis database index. SlowLog is server-level; the parameter is accepted for API consistency.
|
|
1668
1763
|
* @param {number} [limit]
|
|
1669
1764
|
* @param {string} [nodeId]
|
|
1670
1765
|
* @param {*} [options] Override http request option.
|
|
1671
1766
|
* @throws {RequiredError}
|
|
1672
1767
|
*/
|
|
1673
|
-
listRedisSlowLog: async (orgName, clusterName, id, limit, nodeId, options = {}) => {
|
|
1768
|
+
listRedisSlowLog: async (orgName, clusterName, id, database, limit, nodeId, options = {}) => {
|
|
1674
1769
|
// verify required parameter 'orgName' is not null or undefined
|
|
1675
1770
|
(0, common_1.assertParamExists)('listRedisSlowLog', 'orgName', orgName);
|
|
1676
1771
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1695,6 +1790,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
1695
1790
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1696
1791
|
// authentication DigestAuth required
|
|
1697
1792
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1793
|
+
if (database !== undefined) {
|
|
1794
|
+
localVarQueryParameter['database'] = database;
|
|
1795
|
+
}
|
|
1698
1796
|
if (limit !== undefined) {
|
|
1699
1797
|
localVarQueryParameter['limit'] = limit;
|
|
1700
1798
|
}
|
|
@@ -2843,10 +2941,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
2843
2941
|
* @param {string} clusterName
|
|
2844
2942
|
* @param {string} id
|
|
2845
2943
|
* @param {RedisKeyMutateRequest} redisKeyMutateRequest
|
|
2944
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
2846
2945
|
* @param {*} [options] Override http request option.
|
|
2847
2946
|
* @throws {RequiredError}
|
|
2848
2947
|
*/
|
|
2849
|
-
mutateRedisKey: async (orgName, clusterName, id, redisKeyMutateRequest, options = {}) => {
|
|
2948
|
+
mutateRedisKey: async (orgName, clusterName, id, redisKeyMutateRequest, database, options = {}) => {
|
|
2850
2949
|
// verify required parameter 'orgName' is not null or undefined
|
|
2851
2950
|
(0, common_1.assertParamExists)('mutateRedisKey', 'orgName', orgName);
|
|
2852
2951
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -2873,6 +2972,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
2873
2972
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2874
2973
|
// authentication DigestAuth required
|
|
2875
2974
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2975
|
+
if (database !== undefined) {
|
|
2976
|
+
localVarQueryParameter['database'] = database;
|
|
2977
|
+
}
|
|
2876
2978
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2877
2979
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2878
2980
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2890,10 +2992,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
2890
2992
|
* @param {string} clusterName
|
|
2891
2993
|
* @param {string} id
|
|
2892
2994
|
* @param {RedisPubSubPublishRequest} redisPubSubPublishRequest
|
|
2995
|
+
* @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.
|
|
2893
2996
|
* @param {*} [options] Override http request option.
|
|
2894
2997
|
* @throws {RequiredError}
|
|
2895
2998
|
*/
|
|
2896
|
-
publishRedisMessage: async (orgName, clusterName, id, redisPubSubPublishRequest, options = {}) => {
|
|
2999
|
+
publishRedisMessage: async (orgName, clusterName, id, redisPubSubPublishRequest, database, options = {}) => {
|
|
2897
3000
|
// verify required parameter 'orgName' is not null or undefined
|
|
2898
3001
|
(0, common_1.assertParamExists)('publishRedisMessage', 'orgName', orgName);
|
|
2899
3002
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -2920,6 +3023,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
2920
3023
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2921
3024
|
// authentication DigestAuth required
|
|
2922
3025
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3026
|
+
if (database !== undefined) {
|
|
3027
|
+
localVarQueryParameter['database'] = database;
|
|
3028
|
+
}
|
|
2923
3029
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2924
3030
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2925
3031
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2983,11 +3089,12 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
2983
3089
|
* @param {string} orgName
|
|
2984
3090
|
* @param {string} clusterName
|
|
2985
3091
|
* @param {string} id
|
|
3092
|
+
* @param {number} [database] Logical Redis database index. SlowLog reset is server-level; the parameter is accepted for API consistency.
|
|
2986
3093
|
* @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
|
|
2987
3094
|
* @param {*} [options] Override http request option.
|
|
2988
3095
|
* @throws {RequiredError}
|
|
2989
3096
|
*/
|
|
2990
|
-
resetRedisSlowLog: async (orgName, clusterName, id, redisDangerousOperationRequest, options = {}) => {
|
|
3097
|
+
resetRedisSlowLog: async (orgName, clusterName, id, database, redisDangerousOperationRequest, options = {}) => {
|
|
2991
3098
|
// verify required parameter 'orgName' is not null or undefined
|
|
2992
3099
|
(0, common_1.assertParamExists)('resetRedisSlowLog', 'orgName', orgName);
|
|
2993
3100
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3012,6 +3119,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
|
|
|
3012
3119
|
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
3013
3120
|
// authentication DigestAuth required
|
|
3014
3121
|
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3122
|
+
if (database !== undefined) {
|
|
3123
|
+
localVarQueryParameter['database'] = database;
|
|
3124
|
+
}
|
|
3015
3125
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3016
3126
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3017
3127
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -3275,6 +3385,28 @@ const DmsApiFp = function (configuration) {
|
|
|
3275
3385
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3276
3386
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3277
3387
|
},
|
|
3388
|
+
/**
|
|
3389
|
+
* 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.
|
|
3390
|
+
* @summary analyze Redis keys by bounded SCAN sampling
|
|
3391
|
+
* @param {string} orgName
|
|
3392
|
+
* @param {string} clusterName
|
|
3393
|
+
* @param {string} id
|
|
3394
|
+
* @param {number} [database]
|
|
3395
|
+
* @param {string} [match] Redis SCAN match pattern.
|
|
3396
|
+
* @param {string} [cursor] Cursor returned by a previous analysis scan. Empty starts a new sample scan.
|
|
3397
|
+
* @param {number} [sampleLimit] Maximum number of keys to sample in this analysis request.
|
|
3398
|
+
* @param {number} [topN] Maximum number of top keys or namespaces to return.
|
|
3399
|
+
* @param {string} [namespaceSeparator] Separator used to group key namespaces.
|
|
3400
|
+
* @param {*} [options] Override http request option.
|
|
3401
|
+
* @throws {RequiredError}
|
|
3402
|
+
*/
|
|
3403
|
+
async analyzeRedisKeys(orgName, clusterName, id, database, match, cursor, sampleLimit, topN, namespaceSeparator, options) {
|
|
3404
|
+
var _a, _b, _c;
|
|
3405
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyzeRedisKeys(orgName, clusterName, id, database, match, cursor, sampleLimit, topN, namespaceSeparator, options);
|
|
3406
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3407
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.analyzeRedisKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3408
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3409
|
+
},
|
|
3278
3410
|
/**
|
|
3279
3411
|
*
|
|
3280
3412
|
* @summary close a Redis Pub/Sub polling session
|
|
@@ -3333,12 +3465,13 @@ const DmsApiFp = function (configuration) {
|
|
|
3333
3465
|
* @param {string} clusterName
|
|
3334
3466
|
* @param {string} id
|
|
3335
3467
|
* @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
|
|
3468
|
+
* @param {number} [database] Logical Redis database index for the polling client connection.
|
|
3336
3469
|
* @param {*} [options] Override http request option.
|
|
3337
3470
|
* @throws {RequiredError}
|
|
3338
3471
|
*/
|
|
3339
|
-
async createRedisPubSubSession(orgName, clusterName, id, redisPubSubSessionCreateRequest, options) {
|
|
3472
|
+
async createRedisPubSubSession(orgName, clusterName, id, redisPubSubSessionCreateRequest, database, options) {
|
|
3340
3473
|
var _a, _b, _c;
|
|
3341
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createRedisPubSubSession(orgName, clusterName, id, redisPubSubSessionCreateRequest, options);
|
|
3474
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createRedisPubSubSession(orgName, clusterName, id, redisPubSubSessionCreateRequest, database, options);
|
|
3342
3475
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3343
3476
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.createRedisPubSubSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3344
3477
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3451,12 +3584,13 @@ const DmsApiFp = function (configuration) {
|
|
|
3451
3584
|
* @param {string} clusterName
|
|
3452
3585
|
* @param {string} id
|
|
3453
3586
|
* @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
|
|
3587
|
+
* @param {number} [database] Logical Redis database index for this command. Redis Cluster only supports 0.
|
|
3454
3588
|
* @param {*} [options] Override http request option.
|
|
3455
3589
|
* @throws {RequiredError}
|
|
3456
3590
|
*/
|
|
3457
|
-
async executeRedisWorkbenchCommand(orgName, clusterName, id, redisWorkbenchExecuteRequest, options) {
|
|
3591
|
+
async executeRedisWorkbenchCommand(orgName, clusterName, id, redisWorkbenchExecuteRequest, database, options) {
|
|
3458
3592
|
var _a, _b, _c;
|
|
3459
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.executeRedisWorkbenchCommand(orgName, clusterName, id, redisWorkbenchExecuteRequest, options);
|
|
3593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.executeRedisWorkbenchCommand(orgName, clusterName, id, redisWorkbenchExecuteRequest, database, options);
|
|
3460
3594
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3461
3595
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.executeRedisWorkbenchCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3462
3596
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3554,12 +3688,13 @@ const DmsApiFp = function (configuration) {
|
|
|
3554
3688
|
* @param {string} orgName
|
|
3555
3689
|
* @param {string} clusterName
|
|
3556
3690
|
* @param {string} id
|
|
3691
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster topology only supports database 0.
|
|
3557
3692
|
* @param {*} [options] Override http request option.
|
|
3558
3693
|
* @throws {RequiredError}
|
|
3559
3694
|
*/
|
|
3560
|
-
async getRedisClusterTopology(orgName, clusterName, id, options) {
|
|
3695
|
+
async getRedisClusterTopology(orgName, clusterName, id, database, options) {
|
|
3561
3696
|
var _a, _b, _c;
|
|
3562
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisClusterTopology(orgName, clusterName, id, options);
|
|
3697
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisClusterTopology(orgName, clusterName, id, database, options);
|
|
3563
3698
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3564
3699
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getRedisClusterTopology']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3565
3700
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3570,12 +3705,13 @@ const DmsApiFp = function (configuration) {
|
|
|
3570
3705
|
* @param {string} orgName
|
|
3571
3706
|
* @param {string} clusterName
|
|
3572
3707
|
* @param {string} id
|
|
3708
|
+
* @param {number} [database] Current logical Redis database index for this context. Omitted uses the datasource default; Redis Cluster only supports 0.
|
|
3573
3709
|
* @param {*} [options] Override http request option.
|
|
3574
3710
|
* @throws {RequiredError}
|
|
3575
3711
|
*/
|
|
3576
|
-
async getRedisContext(orgName, clusterName, id, options) {
|
|
3712
|
+
async getRedisContext(orgName, clusterName, id, database, options) {
|
|
3577
3713
|
var _a, _b, _c;
|
|
3578
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisContext(orgName, clusterName, id, options);
|
|
3714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisContext(orgName, clusterName, id, database, options);
|
|
3579
3715
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3580
3716
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getRedisContext']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3581
3717
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3586,14 +3722,15 @@ const DmsApiFp = function (configuration) {
|
|
|
3586
3722
|
* @param {string} orgName
|
|
3587
3723
|
* @param {string} clusterName
|
|
3588
3724
|
* @param {string} id
|
|
3725
|
+
* @param {number} [database] Logical Redis database index. INFO is server-level; the parameter is accepted for API consistency.
|
|
3589
3726
|
* @param {string} [section]
|
|
3590
3727
|
* @param {string} [nodeId]
|
|
3591
3728
|
* @param {*} [options] Override http request option.
|
|
3592
3729
|
* @throws {RequiredError}
|
|
3593
3730
|
*/
|
|
3594
|
-
async getRedisInfo(orgName, clusterName, id, section, nodeId, options) {
|
|
3731
|
+
async getRedisInfo(orgName, clusterName, id, database, section, nodeId, options) {
|
|
3595
3732
|
var _a, _b, _c;
|
|
3596
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisInfo(orgName, clusterName, id, section, nodeId, options);
|
|
3733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisInfo(orgName, clusterName, id, database, section, nodeId, options);
|
|
3597
3734
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3598
3735
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getRedisInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3599
3736
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3605,12 +3742,13 @@ const DmsApiFp = function (configuration) {
|
|
|
3605
3742
|
* @param {string} clusterName
|
|
3606
3743
|
* @param {string} id
|
|
3607
3744
|
* @param {RedisKeyDetailRequest} redisKeyDetailRequest
|
|
3745
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
3608
3746
|
* @param {*} [options] Override http request option.
|
|
3609
3747
|
* @throws {RequiredError}
|
|
3610
3748
|
*/
|
|
3611
|
-
async getRedisKeyDetail(orgName, clusterName, id, redisKeyDetailRequest, options) {
|
|
3749
|
+
async getRedisKeyDetail(orgName, clusterName, id, redisKeyDetailRequest, database, options) {
|
|
3612
3750
|
var _a, _b, _c;
|
|
3613
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisKeyDetail(orgName, clusterName, id, redisKeyDetailRequest, options);
|
|
3751
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRedisKeyDetail(orgName, clusterName, id, redisKeyDetailRequest, database, options);
|
|
3614
3752
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3615
3753
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getRedisKeyDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3616
3754
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3822,6 +3960,7 @@ const DmsApiFp = function (configuration) {
|
|
|
3822
3960
|
* @param {string} orgName
|
|
3823
3961
|
* @param {string} clusterName
|
|
3824
3962
|
* @param {string} id
|
|
3963
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
3825
3964
|
* @param {string} [cursor]
|
|
3826
3965
|
* @param {number} [limit]
|
|
3827
3966
|
* @param {string} [pattern]
|
|
@@ -3831,9 +3970,9 @@ const DmsApiFp = function (configuration) {
|
|
|
3831
3970
|
* @param {*} [options] Override http request option.
|
|
3832
3971
|
* @throws {RequiredError}
|
|
3833
3972
|
*/
|
|
3834
|
-
async listRedisKeys(orgName, clusterName, id, cursor, limit, pattern, type, separator, nodeId, options) {
|
|
3973
|
+
async listRedisKeys(orgName, clusterName, id, database, cursor, limit, pattern, type, separator, nodeId, options) {
|
|
3835
3974
|
var _a, _b, _c;
|
|
3836
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisKeys(orgName, clusterName, id, cursor, limit, pattern, type, separator, nodeId, options);
|
|
3975
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisKeys(orgName, clusterName, id, database, cursor, limit, pattern, type, separator, nodeId, options);
|
|
3837
3976
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3838
3977
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listRedisKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3839
3978
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3863,14 +4002,15 @@ const DmsApiFp = function (configuration) {
|
|
|
3863
4002
|
* @param {string} orgName
|
|
3864
4003
|
* @param {string} clusterName
|
|
3865
4004
|
* @param {string} id
|
|
4005
|
+
* @param {number} [database] Logical Redis database index. SlowLog is server-level; the parameter is accepted for API consistency.
|
|
3866
4006
|
* @param {number} [limit]
|
|
3867
4007
|
* @param {string} [nodeId]
|
|
3868
4008
|
* @param {*} [options] Override http request option.
|
|
3869
4009
|
* @throws {RequiredError}
|
|
3870
4010
|
*/
|
|
3871
|
-
async listRedisSlowLog(orgName, clusterName, id, limit, nodeId, options) {
|
|
4011
|
+
async listRedisSlowLog(orgName, clusterName, id, database, limit, nodeId, options) {
|
|
3872
4012
|
var _a, _b, _c;
|
|
3873
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisSlowLog(orgName, clusterName, id, limit, nodeId, options);
|
|
4013
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listRedisSlowLog(orgName, clusterName, id, database, limit, nodeId, options);
|
|
3874
4014
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3875
4015
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listRedisSlowLog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3876
4016
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4283,12 +4423,13 @@ const DmsApiFp = function (configuration) {
|
|
|
4283
4423
|
* @param {string} clusterName
|
|
4284
4424
|
* @param {string} id
|
|
4285
4425
|
* @param {RedisKeyMutateRequest} redisKeyMutateRequest
|
|
4426
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
4286
4427
|
* @param {*} [options] Override http request option.
|
|
4287
4428
|
* @throws {RequiredError}
|
|
4288
4429
|
*/
|
|
4289
|
-
async mutateRedisKey(orgName, clusterName, id, redisKeyMutateRequest, options) {
|
|
4430
|
+
async mutateRedisKey(orgName, clusterName, id, redisKeyMutateRequest, database, options) {
|
|
4290
4431
|
var _a, _b, _c;
|
|
4291
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.mutateRedisKey(orgName, clusterName, id, redisKeyMutateRequest, options);
|
|
4432
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mutateRedisKey(orgName, clusterName, id, redisKeyMutateRequest, database, options);
|
|
4292
4433
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4293
4434
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mutateRedisKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4294
4435
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4300,12 +4441,13 @@ const DmsApiFp = function (configuration) {
|
|
|
4300
4441
|
* @param {string} clusterName
|
|
4301
4442
|
* @param {string} id
|
|
4302
4443
|
* @param {RedisPubSubPublishRequest} redisPubSubPublishRequest
|
|
4444
|
+
* @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.
|
|
4303
4445
|
* @param {*} [options] Override http request option.
|
|
4304
4446
|
* @throws {RequiredError}
|
|
4305
4447
|
*/
|
|
4306
|
-
async publishRedisMessage(orgName, clusterName, id, redisPubSubPublishRequest, options) {
|
|
4448
|
+
async publishRedisMessage(orgName, clusterName, id, redisPubSubPublishRequest, database, options) {
|
|
4307
4449
|
var _a, _b, _c;
|
|
4308
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.publishRedisMessage(orgName, clusterName, id, redisPubSubPublishRequest, options);
|
|
4450
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishRedisMessage(orgName, clusterName, id, redisPubSubPublishRequest, database, options);
|
|
4309
4451
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4310
4452
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.publishRedisMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4311
4453
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4333,13 +4475,14 @@ const DmsApiFp = function (configuration) {
|
|
|
4333
4475
|
* @param {string} orgName
|
|
4334
4476
|
* @param {string} clusterName
|
|
4335
4477
|
* @param {string} id
|
|
4478
|
+
* @param {number} [database] Logical Redis database index. SlowLog reset is server-level; the parameter is accepted for API consistency.
|
|
4336
4479
|
* @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
|
|
4337
4480
|
* @param {*} [options] Override http request option.
|
|
4338
4481
|
* @throws {RequiredError}
|
|
4339
4482
|
*/
|
|
4340
|
-
async resetRedisSlowLog(orgName, clusterName, id, redisDangerousOperationRequest, options) {
|
|
4483
|
+
async resetRedisSlowLog(orgName, clusterName, id, database, redisDangerousOperationRequest, options) {
|
|
4341
4484
|
var _a, _b, _c;
|
|
4342
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.resetRedisSlowLog(orgName, clusterName, id, redisDangerousOperationRequest, options);
|
|
4485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetRedisSlowLog(orgName, clusterName, id, database, redisDangerousOperationRequest, options);
|
|
4343
4486
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4344
4487
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.resetRedisSlowLog']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4345
4488
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4447,6 +4590,16 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
4447
4590
|
alterParameter(requestParameters, options) {
|
|
4448
4591
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
4449
4592
|
},
|
|
4593
|
+
/**
|
|
4594
|
+
* 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.
|
|
4595
|
+
* @summary analyze Redis keys by bounded SCAN sampling
|
|
4596
|
+
* @param {DmsApiAnalyzeRedisKeysRequest} requestParameters Request parameters.
|
|
4597
|
+
* @param {*} [options] Override http request option.
|
|
4598
|
+
* @throws {RequiredError}
|
|
4599
|
+
*/
|
|
4600
|
+
analyzeRedisKeys(requestParameters, options) {
|
|
4601
|
+
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));
|
|
4602
|
+
},
|
|
4450
4603
|
/**
|
|
4451
4604
|
*
|
|
4452
4605
|
* @summary close a Redis Pub/Sub polling session
|
|
@@ -4486,7 +4639,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
4486
4639
|
* @throws {RequiredError}
|
|
4487
4640
|
*/
|
|
4488
4641
|
createRedisPubSubSession(requestParameters, options) {
|
|
4489
|
-
return localVarFp.createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, options).then((request) => request(axios, basePath));
|
|
4642
|
+
return localVarFp.createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
4490
4643
|
},
|
|
4491
4644
|
/**
|
|
4492
4645
|
*
|
|
@@ -4556,7 +4709,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
4556
4709
|
* @throws {RequiredError}
|
|
4557
4710
|
*/
|
|
4558
4711
|
executeRedisWorkbenchCommand(requestParameters, options) {
|
|
4559
|
-
return localVarFp.executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, options).then((request) => request(axios, basePath));
|
|
4712
|
+
return localVarFp.executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
4560
4713
|
},
|
|
4561
4714
|
/**
|
|
4562
4715
|
*
|
|
@@ -4616,7 +4769,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
4616
4769
|
* @throws {RequiredError}
|
|
4617
4770
|
*/
|
|
4618
4771
|
getRedisClusterTopology(requestParameters, options) {
|
|
4619
|
-
return localVarFp.getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
4772
|
+
return localVarFp.getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
4620
4773
|
},
|
|
4621
4774
|
/**
|
|
4622
4775
|
*
|
|
@@ -4626,7 +4779,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
4626
4779
|
* @throws {RequiredError}
|
|
4627
4780
|
*/
|
|
4628
4781
|
getRedisContext(requestParameters, options) {
|
|
4629
|
-
return localVarFp.getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
4782
|
+
return localVarFp.getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
4630
4783
|
},
|
|
4631
4784
|
/**
|
|
4632
4785
|
*
|
|
@@ -4636,7 +4789,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
4636
4789
|
* @throws {RequiredError}
|
|
4637
4790
|
*/
|
|
4638
4791
|
getRedisInfo(requestParameters, options) {
|
|
4639
|
-
return localVarFp.getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.section, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
4792
|
+
return localVarFp.getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.section, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
4640
4793
|
},
|
|
4641
4794
|
/**
|
|
4642
4795
|
*
|
|
@@ -4646,7 +4799,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
4646
4799
|
* @throws {RequiredError}
|
|
4647
4800
|
*/
|
|
4648
4801
|
getRedisKeyDetail(requestParameters, options) {
|
|
4649
|
-
return localVarFp.getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, options).then((request) => request(axios, basePath));
|
|
4802
|
+
return localVarFp.getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
4650
4803
|
},
|
|
4651
4804
|
/**
|
|
4652
4805
|
*
|
|
@@ -4776,7 +4929,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
4776
4929
|
* @throws {RequiredError}
|
|
4777
4930
|
*/
|
|
4778
4931
|
listRedisKeys(requestParameters, options) {
|
|
4779
|
-
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));
|
|
4932
|
+
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));
|
|
4780
4933
|
},
|
|
4781
4934
|
/**
|
|
4782
4935
|
*
|
|
@@ -4796,7 +4949,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
4796
4949
|
* @throws {RequiredError}
|
|
4797
4950
|
*/
|
|
4798
4951
|
listRedisSlowLog(requestParameters, options) {
|
|
4799
|
-
return localVarFp.listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
4952
|
+
return localVarFp.listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
4800
4953
|
},
|
|
4801
4954
|
/**
|
|
4802
4955
|
*
|
|
@@ -5027,7 +5180,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
5027
5180
|
* @throws {RequiredError}
|
|
5028
5181
|
*/
|
|
5029
5182
|
mutateRedisKey(requestParameters, options) {
|
|
5030
|
-
return localVarFp.mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, options).then((request) => request(axios, basePath));
|
|
5183
|
+
return localVarFp.mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5031
5184
|
},
|
|
5032
5185
|
/**
|
|
5033
5186
|
*
|
|
@@ -5037,7 +5190,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
5037
5190
|
* @throws {RequiredError}
|
|
5038
5191
|
*/
|
|
5039
5192
|
publishRedisMessage(requestParameters, options) {
|
|
5040
|
-
return localVarFp.publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, options).then((request) => request(axios, basePath));
|
|
5193
|
+
return localVarFp.publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, requestParameters.database, options).then((request) => request(axios, basePath));
|
|
5041
5194
|
},
|
|
5042
5195
|
/**
|
|
5043
5196
|
*
|
|
@@ -5057,7 +5210,7 @@ const DmsApiFactory = function (configuration, basePath, axios) {
|
|
|
5057
5210
|
* @throws {RequiredError}
|
|
5058
5211
|
*/
|
|
5059
5212
|
resetRedisSlowLog(requestParameters, options) {
|
|
5060
|
-
return localVarFp.resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisDangerousOperationRequest, options).then((request) => request(axios, basePath));
|
|
5213
|
+
return localVarFp.resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.redisDangerousOperationRequest, options).then((request) => request(axios, basePath));
|
|
5061
5214
|
},
|
|
5062
5215
|
/**
|
|
5063
5216
|
*
|
|
@@ -5130,6 +5283,17 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5130
5283
|
alterParameter(requestParameters, options) {
|
|
5131
5284
|
return (0, exports.DmsApiFp)(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
5132
5285
|
}
|
|
5286
|
+
/**
|
|
5287
|
+
* 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.
|
|
5288
|
+
* @summary analyze Redis keys by bounded SCAN sampling
|
|
5289
|
+
* @param {DmsApiAnalyzeRedisKeysRequest} requestParameters Request parameters.
|
|
5290
|
+
* @param {*} [options] Override http request option.
|
|
5291
|
+
* @throws {RequiredError}
|
|
5292
|
+
* @memberof DmsApi
|
|
5293
|
+
*/
|
|
5294
|
+
analyzeRedisKeys(requestParameters, options) {
|
|
5295
|
+
return (0, exports.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));
|
|
5296
|
+
}
|
|
5133
5297
|
/**
|
|
5134
5298
|
*
|
|
5135
5299
|
* @summary close a Redis Pub/Sub polling session
|
|
@@ -5173,7 +5337,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5173
5337
|
* @memberof DmsApi
|
|
5174
5338
|
*/
|
|
5175
5339
|
createRedisPubSubSession(requestParameters, options) {
|
|
5176
|
-
return (0, exports.DmsApiFp)(this.configuration).createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5340
|
+
return (0, exports.DmsApiFp)(this.configuration).createRedisPubSubSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubSessionCreateRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
5177
5341
|
}
|
|
5178
5342
|
/**
|
|
5179
5343
|
*
|
|
@@ -5250,7 +5414,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5250
5414
|
* @memberof DmsApi
|
|
5251
5415
|
*/
|
|
5252
5416
|
executeRedisWorkbenchCommand(requestParameters, options) {
|
|
5253
|
-
return (0, exports.DmsApiFp)(this.configuration).executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5417
|
+
return (0, exports.DmsApiFp)(this.configuration).executeRedisWorkbenchCommand(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisWorkbenchExecuteRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
5254
5418
|
}
|
|
5255
5419
|
/**
|
|
5256
5420
|
*
|
|
@@ -5316,7 +5480,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5316
5480
|
* @memberof DmsApi
|
|
5317
5481
|
*/
|
|
5318
5482
|
getRedisClusterTopology(requestParameters, options) {
|
|
5319
|
-
return (0, exports.DmsApiFp)(this.configuration).getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5483
|
+
return (0, exports.DmsApiFp)(this.configuration).getRedisClusterTopology(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
5320
5484
|
}
|
|
5321
5485
|
/**
|
|
5322
5486
|
*
|
|
@@ -5327,7 +5491,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5327
5491
|
* @memberof DmsApi
|
|
5328
5492
|
*/
|
|
5329
5493
|
getRedisContext(requestParameters, options) {
|
|
5330
|
-
return (0, exports.DmsApiFp)(this.configuration).getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5494
|
+
return (0, exports.DmsApiFp)(this.configuration).getRedisContext(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
5331
5495
|
}
|
|
5332
5496
|
/**
|
|
5333
5497
|
*
|
|
@@ -5338,7 +5502,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5338
5502
|
* @memberof DmsApi
|
|
5339
5503
|
*/
|
|
5340
5504
|
getRedisInfo(requestParameters, options) {
|
|
5341
|
-
return (0, exports.DmsApiFp)(this.configuration).getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.section, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
5505
|
+
return (0, exports.DmsApiFp)(this.configuration).getRedisInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.section, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
5342
5506
|
}
|
|
5343
5507
|
/**
|
|
5344
5508
|
*
|
|
@@ -5349,7 +5513,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5349
5513
|
* @memberof DmsApi
|
|
5350
5514
|
*/
|
|
5351
5515
|
getRedisKeyDetail(requestParameters, options) {
|
|
5352
|
-
return (0, exports.DmsApiFp)(this.configuration).getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5516
|
+
return (0, exports.DmsApiFp)(this.configuration).getRedisKeyDetail(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyDetailRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
5353
5517
|
}
|
|
5354
5518
|
/**
|
|
5355
5519
|
*
|
|
@@ -5492,7 +5656,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5492
5656
|
* @memberof DmsApi
|
|
5493
5657
|
*/
|
|
5494
5658
|
listRedisKeys(requestParameters, options) {
|
|
5495
|
-
return (0, exports.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));
|
|
5659
|
+
return (0, exports.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));
|
|
5496
5660
|
}
|
|
5497
5661
|
/**
|
|
5498
5662
|
*
|
|
@@ -5514,7 +5678,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5514
5678
|
* @memberof DmsApi
|
|
5515
5679
|
*/
|
|
5516
5680
|
listRedisSlowLog(requestParameters, options) {
|
|
5517
|
-
return (0, exports.DmsApiFp)(this.configuration).listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
5681
|
+
return (0, exports.DmsApiFp)(this.configuration).listRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.limit, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
5518
5682
|
}
|
|
5519
5683
|
/**
|
|
5520
5684
|
*
|
|
@@ -5768,7 +5932,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5768
5932
|
* @memberof DmsApi
|
|
5769
5933
|
*/
|
|
5770
5934
|
mutateRedisKey(requestParameters, options) {
|
|
5771
|
-
return (0, exports.DmsApiFp)(this.configuration).mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5935
|
+
return (0, exports.DmsApiFp)(this.configuration).mutateRedisKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisKeyMutateRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
5772
5936
|
}
|
|
5773
5937
|
/**
|
|
5774
5938
|
*
|
|
@@ -5779,7 +5943,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5779
5943
|
* @memberof DmsApi
|
|
5780
5944
|
*/
|
|
5781
5945
|
publishRedisMessage(requestParameters, options) {
|
|
5782
|
-
return (0, exports.DmsApiFp)(this.configuration).publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5946
|
+
return (0, exports.DmsApiFp)(this.configuration).publishRedisMessage(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisPubSubPublishRequest, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
|
|
5783
5947
|
}
|
|
5784
5948
|
/**
|
|
5785
5949
|
*
|
|
@@ -5801,7 +5965,7 @@ class DmsApi extends base_1.BaseAPI {
|
|
|
5801
5965
|
* @memberof DmsApi
|
|
5802
5966
|
*/
|
|
5803
5967
|
resetRedisSlowLog(requestParameters, options) {
|
|
5804
|
-
return (0, exports.DmsApiFp)(this.configuration).resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.redisDangerousOperationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5968
|
+
return (0, exports.DmsApiFp)(this.configuration).resetRedisSlowLog(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, requestParameters.redisDangerousOperationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5805
5969
|
}
|
|
5806
5970
|
/**
|
|
5807
5971
|
*
|