kb-cloud-client-typescript 2.3.0-alpha.136 → 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/dms-api.d.ts +110 -22
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +110 -55
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -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/redis-data-capabilities.d.ts +6 -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/dms-api.d.ts +110 -22
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +110 -55
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +2 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +2 -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/redis-data-capabilities.d.ts +6 -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 +2 -0
- package/src/adminapi/apis/dms-api.ts +198 -55
- package/src/adminapi/models/index.ts +2 -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/redis-data-capabilities.ts +6 -0
- package/src/adminapi/models/redis-data-context.ts +7 -1
- package/src/adminapi.yaml +171 -4
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/apis/dms-api.ts +198 -55
- package/src/openapi/models/index.ts +2 -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/redis-data-capabilities.ts +6 -0
- package/src/openapi/models/redis-data-context.ts +7 -1
- package/src/openapi.yaml +171 -4
|
@@ -467,10 +467,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
467
467
|
* @param {string} clusterName
|
|
468
468
|
* @param {string} id
|
|
469
469
|
* @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
|
|
470
|
+
* @param {number} [database] Logical Redis database index for the polling client connection.
|
|
470
471
|
* @param {*} [options] Override http request option.
|
|
471
472
|
* @throws {RequiredError}
|
|
472
473
|
*/
|
|
473
|
-
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> => {
|
|
474
475
|
// verify required parameter 'orgName' is not null or undefined
|
|
475
476
|
assertParamExists('createRedisPubSubSession', 'orgName', orgName)
|
|
476
477
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -501,6 +502,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
501
502
|
// authentication DigestAuth required
|
|
502
503
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
503
504
|
|
|
505
|
+
if (database !== undefined) {
|
|
506
|
+
localVarQueryParameter['database'] = database;
|
|
507
|
+
}
|
|
508
|
+
|
|
504
509
|
|
|
505
510
|
|
|
506
511
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -838,10 +843,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
838
843
|
* @param {string} clusterName
|
|
839
844
|
* @param {string} id
|
|
840
845
|
* @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
|
|
846
|
+
* @param {number} [database] Logical Redis database index for this command. Redis Cluster only supports 0.
|
|
841
847
|
* @param {*} [options] Override http request option.
|
|
842
848
|
* @throws {RequiredError}
|
|
843
849
|
*/
|
|
844
|
-
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> => {
|
|
845
851
|
// verify required parameter 'orgName' is not null or undefined
|
|
846
852
|
assertParamExists('executeRedisWorkbenchCommand', 'orgName', orgName)
|
|
847
853
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -872,6 +878,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
872
878
|
// authentication DigestAuth required
|
|
873
879
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
874
880
|
|
|
881
|
+
if (database !== undefined) {
|
|
882
|
+
localVarQueryParameter['database'] = database;
|
|
883
|
+
}
|
|
884
|
+
|
|
875
885
|
|
|
876
886
|
|
|
877
887
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1166,10 +1176,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1166
1176
|
* @param {string} orgName
|
|
1167
1177
|
* @param {string} clusterName
|
|
1168
1178
|
* @param {string} id
|
|
1179
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster topology only supports database 0.
|
|
1169
1180
|
* @param {*} [options] Override http request option.
|
|
1170
1181
|
* @throws {RequiredError}
|
|
1171
1182
|
*/
|
|
1172
|
-
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> => {
|
|
1173
1184
|
// verify required parameter 'orgName' is not null or undefined
|
|
1174
1185
|
assertParamExists('getRedisClusterTopology', 'orgName', orgName)
|
|
1175
1186
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1198,6 +1209,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1198
1209
|
// authentication DigestAuth required
|
|
1199
1210
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1200
1211
|
|
|
1212
|
+
if (database !== undefined) {
|
|
1213
|
+
localVarQueryParameter['database'] = database;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1201
1216
|
|
|
1202
1217
|
|
|
1203
1218
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1215,10 +1230,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1215
1230
|
* @param {string} orgName
|
|
1216
1231
|
* @param {string} clusterName
|
|
1217
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.
|
|
1218
1234
|
* @param {*} [options] Override http request option.
|
|
1219
1235
|
* @throws {RequiredError}
|
|
1220
1236
|
*/
|
|
1221
|
-
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> => {
|
|
1222
1238
|
// verify required parameter 'orgName' is not null or undefined
|
|
1223
1239
|
assertParamExists('getRedisContext', 'orgName', orgName)
|
|
1224
1240
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1247,6 +1263,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1247
1263
|
// authentication DigestAuth required
|
|
1248
1264
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1249
1265
|
|
|
1266
|
+
if (database !== undefined) {
|
|
1267
|
+
localVarQueryParameter['database'] = database;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1250
1270
|
|
|
1251
1271
|
|
|
1252
1272
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1264,12 +1284,13 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1264
1284
|
* @param {string} orgName
|
|
1265
1285
|
* @param {string} clusterName
|
|
1266
1286
|
* @param {string} id
|
|
1287
|
+
* @param {number} [database] Logical Redis database index. INFO is server-level; the parameter is accepted for API consistency.
|
|
1267
1288
|
* @param {string} [section]
|
|
1268
1289
|
* @param {string} [nodeId]
|
|
1269
1290
|
* @param {*} [options] Override http request option.
|
|
1270
1291
|
* @throws {RequiredError}
|
|
1271
1292
|
*/
|
|
1272
|
-
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> => {
|
|
1273
1294
|
// verify required parameter 'orgName' is not null or undefined
|
|
1274
1295
|
assertParamExists('getRedisInfo', 'orgName', orgName)
|
|
1275
1296
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1298,6 +1319,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1298
1319
|
// authentication DigestAuth required
|
|
1299
1320
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1300
1321
|
|
|
1322
|
+
if (database !== undefined) {
|
|
1323
|
+
localVarQueryParameter['database'] = database;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1301
1326
|
if (section !== undefined) {
|
|
1302
1327
|
localVarQueryParameter['section'] = section;
|
|
1303
1328
|
}
|
|
@@ -1324,10 +1349,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1324
1349
|
* @param {string} clusterName
|
|
1325
1350
|
* @param {string} id
|
|
1326
1351
|
* @param {RedisKeyDetailRequest} redisKeyDetailRequest
|
|
1352
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
1327
1353
|
* @param {*} [options] Override http request option.
|
|
1328
1354
|
* @throws {RequiredError}
|
|
1329
1355
|
*/
|
|
1330
|
-
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> => {
|
|
1331
1357
|
// verify required parameter 'orgName' is not null or undefined
|
|
1332
1358
|
assertParamExists('getRedisKeyDetail', 'orgName', orgName)
|
|
1333
1359
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -1358,6 +1384,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1358
1384
|
// authentication DigestAuth required
|
|
1359
1385
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1360
1386
|
|
|
1387
|
+
if (database !== undefined) {
|
|
1388
|
+
localVarQueryParameter['database'] = database;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1361
1391
|
|
|
1362
1392
|
|
|
1363
1393
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2012,6 +2042,7 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2012
2042
|
* @param {string} orgName
|
|
2013
2043
|
* @param {string} clusterName
|
|
2014
2044
|
* @param {string} id
|
|
2045
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
2015
2046
|
* @param {string} [cursor]
|
|
2016
2047
|
* @param {number} [limit]
|
|
2017
2048
|
* @param {string} [pattern]
|
|
@@ -2021,7 +2052,7 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2021
2052
|
* @param {*} [options] Override http request option.
|
|
2022
2053
|
* @throws {RequiredError}
|
|
2023
2054
|
*/
|
|
2024
|
-
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> => {
|
|
2025
2056
|
// verify required parameter 'orgName' is not null or undefined
|
|
2026
2057
|
assertParamExists('listRedisKeys', 'orgName', orgName)
|
|
2027
2058
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -2050,6 +2081,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2050
2081
|
// authentication DigestAuth required
|
|
2051
2082
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2052
2083
|
|
|
2084
|
+
if (database !== undefined) {
|
|
2085
|
+
localVarQueryParameter['database'] = database;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2053
2088
|
if (cursor !== undefined) {
|
|
2054
2089
|
localVarQueryParameter['cursor'] = cursor;
|
|
2055
2090
|
}
|
|
@@ -2154,12 +2189,13 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2154
2189
|
* @param {string} orgName
|
|
2155
2190
|
* @param {string} clusterName
|
|
2156
2191
|
* @param {string} id
|
|
2192
|
+
* @param {number} [database] Logical Redis database index. SlowLog is server-level; the parameter is accepted for API consistency.
|
|
2157
2193
|
* @param {number} [limit]
|
|
2158
2194
|
* @param {string} [nodeId]
|
|
2159
2195
|
* @param {*} [options] Override http request option.
|
|
2160
2196
|
* @throws {RequiredError}
|
|
2161
2197
|
*/
|
|
2162
|
-
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> => {
|
|
2163
2199
|
// verify required parameter 'orgName' is not null or undefined
|
|
2164
2200
|
assertParamExists('listRedisSlowLog', 'orgName', orgName)
|
|
2165
2201
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -2188,6 +2224,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2188
2224
|
// authentication DigestAuth required
|
|
2189
2225
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2190
2226
|
|
|
2227
|
+
if (database !== undefined) {
|
|
2228
|
+
localVarQueryParameter['database'] = database;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2191
2231
|
if (limit !== undefined) {
|
|
2192
2232
|
localVarQueryParameter['limit'] = limit;
|
|
2193
2233
|
}
|
|
@@ -3511,10 +3551,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3511
3551
|
* @param {string} clusterName
|
|
3512
3552
|
* @param {string} id
|
|
3513
3553
|
* @param {RedisKeyMutateRequest} redisKeyMutateRequest
|
|
3554
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
3514
3555
|
* @param {*} [options] Override http request option.
|
|
3515
3556
|
* @throws {RequiredError}
|
|
3516
3557
|
*/
|
|
3517
|
-
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> => {
|
|
3518
3559
|
// verify required parameter 'orgName' is not null or undefined
|
|
3519
3560
|
assertParamExists('mutateRedisKey', 'orgName', orgName)
|
|
3520
3561
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3545,6 +3586,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3545
3586
|
// authentication DigestAuth required
|
|
3546
3587
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3547
3588
|
|
|
3589
|
+
if (database !== undefined) {
|
|
3590
|
+
localVarQueryParameter['database'] = database;
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3548
3593
|
|
|
3549
3594
|
|
|
3550
3595
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3566,10 +3611,11 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3566
3611
|
* @param {string} clusterName
|
|
3567
3612
|
* @param {string} id
|
|
3568
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.
|
|
3569
3615
|
* @param {*} [options] Override http request option.
|
|
3570
3616
|
* @throws {RequiredError}
|
|
3571
3617
|
*/
|
|
3572
|
-
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> => {
|
|
3573
3619
|
// verify required parameter 'orgName' is not null or undefined
|
|
3574
3620
|
assertParamExists('publishRedisMessage', 'orgName', orgName)
|
|
3575
3621
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3600,6 +3646,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3600
3646
|
// authentication DigestAuth required
|
|
3601
3647
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3602
3648
|
|
|
3649
|
+
if (database !== undefined) {
|
|
3650
|
+
localVarQueryParameter['database'] = database;
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3603
3653
|
|
|
3604
3654
|
|
|
3605
3655
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3675,11 +3725,12 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3675
3725
|
* @param {string} orgName
|
|
3676
3726
|
* @param {string} clusterName
|
|
3677
3727
|
* @param {string} id
|
|
3728
|
+
* @param {number} [database] Logical Redis database index. SlowLog reset is server-level; the parameter is accepted for API consistency.
|
|
3678
3729
|
* @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
|
|
3679
3730
|
* @param {*} [options] Override http request option.
|
|
3680
3731
|
* @throws {RequiredError}
|
|
3681
3732
|
*/
|
|
3682
|
-
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> => {
|
|
3683
3734
|
// verify required parameter 'orgName' is not null or undefined
|
|
3684
3735
|
assertParamExists('resetRedisSlowLog', 'orgName', orgName)
|
|
3685
3736
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -3708,6 +3759,10 @@ export const DmsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3708
3759
|
// authentication DigestAuth required
|
|
3709
3760
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3710
3761
|
|
|
3762
|
+
if (database !== undefined) {
|
|
3763
|
+
localVarQueryParameter['database'] = database;
|
|
3764
|
+
}
|
|
3765
|
+
|
|
3711
3766
|
|
|
3712
3767
|
|
|
3713
3768
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -4090,11 +4145,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4090
4145
|
* @param {string} clusterName
|
|
4091
4146
|
* @param {string} id
|
|
4092
4147
|
* @param {RedisPubSubSessionCreateRequest} redisPubSubSessionCreateRequest
|
|
4148
|
+
* @param {number} [database] Logical Redis database index for the polling client connection.
|
|
4093
4149
|
* @param {*} [options] Override http request option.
|
|
4094
4150
|
* @throws {RequiredError}
|
|
4095
4151
|
*/
|
|
4096
|
-
async createRedisPubSubSession(orgName: string, clusterName: string, id: string, redisPubSubSessionCreateRequest: RedisPubSubSessionCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisPubSubSession>> {
|
|
4097
|
-
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);
|
|
4098
4154
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4099
4155
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.createRedisPubSubSession']?.[localVarOperationServerIndex]?.url;
|
|
4100
4156
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4201,11 +4257,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4201
4257
|
* @param {string} clusterName
|
|
4202
4258
|
* @param {string} id
|
|
4203
4259
|
* @param {RedisWorkbenchExecuteRequest} redisWorkbenchExecuteRequest
|
|
4260
|
+
* @param {number} [database] Logical Redis database index for this command. Redis Cluster only supports 0.
|
|
4204
4261
|
* @param {*} [options] Override http request option.
|
|
4205
4262
|
* @throws {RequiredError}
|
|
4206
4263
|
*/
|
|
4207
|
-
async executeRedisWorkbenchCommand(orgName: string, clusterName: string, id: string, redisWorkbenchExecuteRequest: RedisWorkbenchExecuteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisWorkbenchExecuteResponse>> {
|
|
4208
|
-
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);
|
|
4209
4266
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4210
4267
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.executeRedisWorkbenchCommand']?.[localVarOperationServerIndex]?.url;
|
|
4211
4268
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4298,11 +4355,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4298
4355
|
* @param {string} orgName
|
|
4299
4356
|
* @param {string} clusterName
|
|
4300
4357
|
* @param {string} id
|
|
4358
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster topology only supports database 0.
|
|
4301
4359
|
* @param {*} [options] Override http request option.
|
|
4302
4360
|
* @throws {RequiredError}
|
|
4303
4361
|
*/
|
|
4304
|
-
async getRedisClusterTopology(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisClusterTopology>> {
|
|
4305
|
-
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);
|
|
4306
4364
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4307
4365
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisClusterTopology']?.[localVarOperationServerIndex]?.url;
|
|
4308
4366
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4313,11 +4371,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4313
4371
|
* @param {string} orgName
|
|
4314
4372
|
* @param {string} clusterName
|
|
4315
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.
|
|
4316
4375
|
* @param {*} [options] Override http request option.
|
|
4317
4376
|
* @throws {RequiredError}
|
|
4318
4377
|
*/
|
|
4319
|
-
async getRedisContext(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisDataContext>> {
|
|
4320
|
-
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);
|
|
4321
4380
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4322
4381
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisContext']?.[localVarOperationServerIndex]?.url;
|
|
4323
4382
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4328,13 +4387,14 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4328
4387
|
* @param {string} orgName
|
|
4329
4388
|
* @param {string} clusterName
|
|
4330
4389
|
* @param {string} id
|
|
4390
|
+
* @param {number} [database] Logical Redis database index. INFO is server-level; the parameter is accepted for API consistency.
|
|
4331
4391
|
* @param {string} [section]
|
|
4332
4392
|
* @param {string} [nodeId]
|
|
4333
4393
|
* @param {*} [options] Override http request option.
|
|
4334
4394
|
* @throws {RequiredError}
|
|
4335
4395
|
*/
|
|
4336
|
-
async getRedisInfo(orgName: string, clusterName: string, id: string, section?: string, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisInfoResponse>> {
|
|
4337
|
-
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);
|
|
4338
4398
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4339
4399
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisInfo']?.[localVarOperationServerIndex]?.url;
|
|
4340
4400
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4346,11 +4406,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4346
4406
|
* @param {string} clusterName
|
|
4347
4407
|
* @param {string} id
|
|
4348
4408
|
* @param {RedisKeyDetailRequest} redisKeyDetailRequest
|
|
4409
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
4349
4410
|
* @param {*} [options] Override http request option.
|
|
4350
4411
|
* @throws {RequiredError}
|
|
4351
4412
|
*/
|
|
4352
|
-
async getRedisKeyDetail(orgName: string, clusterName: string, id: string, redisKeyDetailRequest: RedisKeyDetailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeyDetail>> {
|
|
4353
|
-
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);
|
|
4354
4415
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4355
4416
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.getRedisKeyDetail']?.[localVarOperationServerIndex]?.url;
|
|
4356
4417
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4550,6 +4611,7 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4550
4611
|
* @param {string} orgName
|
|
4551
4612
|
* @param {string} clusterName
|
|
4552
4613
|
* @param {string} id
|
|
4614
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
4553
4615
|
* @param {string} [cursor]
|
|
4554
4616
|
* @param {number} [limit]
|
|
4555
4617
|
* @param {string} [pattern]
|
|
@@ -4559,8 +4621,8 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4559
4621
|
* @param {*} [options] Override http request option.
|
|
4560
4622
|
* @throws {RequiredError}
|
|
4561
4623
|
*/
|
|
4562
|
-
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>> {
|
|
4563
|
-
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);
|
|
4564
4626
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4565
4627
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.listRedisKeys']?.[localVarOperationServerIndex]?.url;
|
|
4566
4628
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4589,13 +4651,14 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4589
4651
|
* @param {string} orgName
|
|
4590
4652
|
* @param {string} clusterName
|
|
4591
4653
|
* @param {string} id
|
|
4654
|
+
* @param {number} [database] Logical Redis database index. SlowLog is server-level; the parameter is accepted for API consistency.
|
|
4592
4655
|
* @param {number} [limit]
|
|
4593
4656
|
* @param {string} [nodeId]
|
|
4594
4657
|
* @param {*} [options] Override http request option.
|
|
4595
4658
|
* @throws {RequiredError}
|
|
4596
4659
|
*/
|
|
4597
|
-
async listRedisSlowLog(orgName: string, clusterName: string, id: string, limit?: number, nodeId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisSlowLogList>> {
|
|
4598
|
-
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);
|
|
4599
4662
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4600
4663
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.listRedisSlowLog']?.[localVarOperationServerIndex]?.url;
|
|
4601
4664
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4986,11 +5049,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
4986
5049
|
* @param {string} clusterName
|
|
4987
5050
|
* @param {string} id
|
|
4988
5051
|
* @param {RedisKeyMutateRequest} redisKeyMutateRequest
|
|
5052
|
+
* @param {number} [database] Logical Redis database index. Redis Cluster only supports 0.
|
|
4989
5053
|
* @param {*} [options] Override http request option.
|
|
4990
5054
|
* @throws {RequiredError}
|
|
4991
5055
|
*/
|
|
4992
|
-
async mutateRedisKey(orgName: string, clusterName: string, id: string, redisKeyMutateRequest: RedisKeyMutateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisKeyMutateResponse>> {
|
|
4993
|
-
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);
|
|
4994
5058
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4995
5059
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.mutateRedisKey']?.[localVarOperationServerIndex]?.url;
|
|
4996
5060
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5002,11 +5066,12 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
5002
5066
|
* @param {string} clusterName
|
|
5003
5067
|
* @param {string} id
|
|
5004
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.
|
|
5005
5070
|
* @param {*} [options] Override http request option.
|
|
5006
5071
|
* @throws {RequiredError}
|
|
5007
5072
|
*/
|
|
5008
|
-
async publishRedisMessage(orgName: string, clusterName: string, id: string, redisPubSubPublishRequest: RedisPubSubPublishRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisOperationSummary>> {
|
|
5009
|
-
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);
|
|
5010
5075
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5011
5076
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.publishRedisMessage']?.[localVarOperationServerIndex]?.url;
|
|
5012
5077
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5033,12 +5098,13 @@ export const DmsApiFp = function(configuration?: Configuration) {
|
|
|
5033
5098
|
* @param {string} orgName
|
|
5034
5099
|
* @param {string} clusterName
|
|
5035
5100
|
* @param {string} id
|
|
5101
|
+
* @param {number} [database] Logical Redis database index. SlowLog reset is server-level; the parameter is accepted for API consistency.
|
|
5036
5102
|
* @param {RedisDangerousOperationRequest} [redisDangerousOperationRequest]
|
|
5037
5103
|
* @param {*} [options] Override http request option.
|
|
5038
5104
|
* @throws {RequiredError}
|
|
5039
5105
|
*/
|
|
5040
|
-
async resetRedisSlowLog(orgName: string, clusterName: string, id: string, redisDangerousOperationRequest?: RedisDangerousOperationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RedisOperationSummary>> {
|
|
5041
|
-
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);
|
|
5042
5108
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5043
5109
|
const localVarOperationServerBasePath = operationServerMap['DmsApi.resetRedisSlowLog']?.[localVarOperationServerIndex]?.url;
|
|
5044
5110
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5190,7 +5256,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5190
5256
|
* @throws {RequiredError}
|
|
5191
5257
|
*/
|
|
5192
5258
|
createRedisPubSubSession(requestParameters: DmsApiCreateRedisPubSubSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisPubSubSession> {
|
|
5193
|
-
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));
|
|
5194
5260
|
},
|
|
5195
5261
|
/**
|
|
5196
5262
|
*
|
|
@@ -5260,7 +5326,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5260
5326
|
* @throws {RequiredError}
|
|
5261
5327
|
*/
|
|
5262
5328
|
executeRedisWorkbenchCommand(requestParameters: DmsApiExecuteRedisWorkbenchCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisWorkbenchExecuteResponse> {
|
|
5263
|
-
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));
|
|
5264
5330
|
},
|
|
5265
5331
|
/**
|
|
5266
5332
|
*
|
|
@@ -5320,7 +5386,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5320
5386
|
* @throws {RequiredError}
|
|
5321
5387
|
*/
|
|
5322
5388
|
getRedisClusterTopology(requestParameters: DmsApiGetRedisClusterTopologyRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisClusterTopology> {
|
|
5323
|
-
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));
|
|
5324
5390
|
},
|
|
5325
5391
|
/**
|
|
5326
5392
|
*
|
|
@@ -5330,7 +5396,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5330
5396
|
* @throws {RequiredError}
|
|
5331
5397
|
*/
|
|
5332
5398
|
getRedisContext(requestParameters: DmsApiGetRedisContextRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisDataContext> {
|
|
5333
|
-
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));
|
|
5334
5400
|
},
|
|
5335
5401
|
/**
|
|
5336
5402
|
*
|
|
@@ -5340,7 +5406,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5340
5406
|
* @throws {RequiredError}
|
|
5341
5407
|
*/
|
|
5342
5408
|
getRedisInfo(requestParameters: DmsApiGetRedisInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisInfoResponse> {
|
|
5343
|
-
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));
|
|
5344
5410
|
},
|
|
5345
5411
|
/**
|
|
5346
5412
|
*
|
|
@@ -5350,7 +5416,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5350
5416
|
* @throws {RequiredError}
|
|
5351
5417
|
*/
|
|
5352
5418
|
getRedisKeyDetail(requestParameters: DmsApiGetRedisKeyDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeyDetail> {
|
|
5353
|
-
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));
|
|
5354
5420
|
},
|
|
5355
5421
|
/**
|
|
5356
5422
|
*
|
|
@@ -5480,7 +5546,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5480
5546
|
* @throws {RequiredError}
|
|
5481
5547
|
*/
|
|
5482
5548
|
listRedisKeys(requestParameters: DmsApiListRedisKeysRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeySummaryList> {
|
|
5483
|
-
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));
|
|
5484
5550
|
},
|
|
5485
5551
|
/**
|
|
5486
5552
|
*
|
|
@@ -5500,7 +5566,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5500
5566
|
* @throws {RequiredError}
|
|
5501
5567
|
*/
|
|
5502
5568
|
listRedisSlowLog(requestParameters: DmsApiListRedisSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisSlowLogList> {
|
|
5503
|
-
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));
|
|
5504
5570
|
},
|
|
5505
5571
|
/**
|
|
5506
5572
|
*
|
|
@@ -5731,7 +5797,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5731
5797
|
* @throws {RequiredError}
|
|
5732
5798
|
*/
|
|
5733
5799
|
mutateRedisKey(requestParameters: DmsApiMutateRedisKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisKeyMutateResponse> {
|
|
5734
|
-
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));
|
|
5735
5801
|
},
|
|
5736
5802
|
/**
|
|
5737
5803
|
*
|
|
@@ -5741,7 +5807,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5741
5807
|
* @throws {RequiredError}
|
|
5742
5808
|
*/
|
|
5743
5809
|
publishRedisMessage(requestParameters: DmsApiPublishRedisMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisOperationSummary> {
|
|
5744
|
-
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));
|
|
5745
5811
|
},
|
|
5746
5812
|
/**
|
|
5747
5813
|
*
|
|
@@ -5761,7 +5827,7 @@ export const DmsApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
5761
5827
|
* @throws {RequiredError}
|
|
5762
5828
|
*/
|
|
5763
5829
|
resetRedisSlowLog(requestParameters: DmsApiResetRedisSlowLogRequest, options?: RawAxiosRequestConfig): AxiosPromise<RedisOperationSummary> {
|
|
5764
|
-
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));
|
|
5765
5831
|
},
|
|
5766
5832
|
/**
|
|
5767
5833
|
*
|
|
@@ -6742,6 +6808,13 @@ export interface DmsApiCreateRedisPubSubSessionRequest {
|
|
|
6742
6808
|
* @memberof DmsApiCreateRedisPubSubSession
|
|
6743
6809
|
*/
|
|
6744
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
|
|
6745
6818
|
}
|
|
6746
6819
|
|
|
6747
6820
|
/**
|
|
@@ -6980,6 +7053,13 @@ export interface DmsApiExecuteRedisWorkbenchCommandRequest {
|
|
|
6980
7053
|
* @memberof DmsApiExecuteRedisWorkbenchCommand
|
|
6981
7054
|
*/
|
|
6982
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
|
|
6983
7063
|
}
|
|
6984
7064
|
|
|
6985
7065
|
/**
|
|
@@ -7197,6 +7277,13 @@ export interface DmsApiGetRedisClusterTopologyRequest {
|
|
|
7197
7277
|
* @memberof DmsApiGetRedisClusterTopology
|
|
7198
7278
|
*/
|
|
7199
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
|
|
7200
7287
|
}
|
|
7201
7288
|
|
|
7202
7289
|
/**
|
|
@@ -7225,6 +7312,13 @@ export interface DmsApiGetRedisContextRequest {
|
|
|
7225
7312
|
* @memberof DmsApiGetRedisContext
|
|
7226
7313
|
*/
|
|
7227
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
|
|
7228
7322
|
}
|
|
7229
7323
|
|
|
7230
7324
|
/**
|
|
@@ -7254,6 +7348,13 @@ export interface DmsApiGetRedisInfoRequest {
|
|
|
7254
7348
|
*/
|
|
7255
7349
|
readonly id: string
|
|
7256
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
|
+
|
|
7257
7358
|
/**
|
|
7258
7359
|
*
|
|
7259
7360
|
* @type {string}
|
|
@@ -7302,6 +7403,13 @@ export interface DmsApiGetRedisKeyDetailRequest {
|
|
|
7302
7403
|
* @memberof DmsApiGetRedisKeyDetail
|
|
7303
7404
|
*/
|
|
7304
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
|
|
7305
7413
|
}
|
|
7306
7414
|
|
|
7307
7415
|
/**
|
|
@@ -7730,6 +7838,13 @@ export interface DmsApiListRedisKeysRequest {
|
|
|
7730
7838
|
*/
|
|
7731
7839
|
readonly id: string
|
|
7732
7840
|
|
|
7841
|
+
/**
|
|
7842
|
+
* Logical Redis database index. Redis Cluster only supports 0.
|
|
7843
|
+
* @type {number}
|
|
7844
|
+
* @memberof DmsApiListRedisKeys
|
|
7845
|
+
*/
|
|
7846
|
+
readonly database?: number
|
|
7847
|
+
|
|
7733
7848
|
/**
|
|
7734
7849
|
*
|
|
7735
7850
|
* @type {string}
|
|
@@ -7849,6 +7964,13 @@ export interface DmsApiListRedisSlowLogRequest {
|
|
|
7849
7964
|
*/
|
|
7850
7965
|
readonly id: string
|
|
7851
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
|
+
|
|
7852
7974
|
/**
|
|
7853
7975
|
*
|
|
7854
7976
|
* @type {number}
|
|
@@ -8849,6 +8971,13 @@ export interface DmsApiMutateRedisKeyRequest {
|
|
|
8849
8971
|
* @memberof DmsApiMutateRedisKey
|
|
8850
8972
|
*/
|
|
8851
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
|
|
8852
8981
|
}
|
|
8853
8982
|
|
|
8854
8983
|
/**
|
|
@@ -8884,6 +9013,13 @@ export interface DmsApiPublishRedisMessageRequest {
|
|
|
8884
9013
|
* @memberof DmsApiPublishRedisMessage
|
|
8885
9014
|
*/
|
|
8886
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
|
|
8887
9023
|
}
|
|
8888
9024
|
|
|
8889
9025
|
/**
|
|
@@ -8948,6 +9084,13 @@ export interface DmsApiResetRedisSlowLogRequest {
|
|
|
8948
9084
|
*/
|
|
8949
9085
|
readonly id: string
|
|
8950
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
|
+
|
|
8951
9094
|
/**
|
|
8952
9095
|
*
|
|
8953
9096
|
* @type {RedisDangerousOperationRequest}
|
|
@@ -9194,7 +9337,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9194
9337
|
* @memberof DmsApi
|
|
9195
9338
|
*/
|
|
9196
9339
|
public createRedisPubSubSession(requestParameters: DmsApiCreateRedisPubSubSessionRequest, options?: RawAxiosRequestConfig) {
|
|
9197
|
-
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));
|
|
9198
9341
|
}
|
|
9199
9342
|
|
|
9200
9343
|
/**
|
|
@@ -9278,7 +9421,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9278
9421
|
* @memberof DmsApi
|
|
9279
9422
|
*/
|
|
9280
9423
|
public executeRedisWorkbenchCommand(requestParameters: DmsApiExecuteRedisWorkbenchCommandRequest, options?: RawAxiosRequestConfig) {
|
|
9281
|
-
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));
|
|
9282
9425
|
}
|
|
9283
9426
|
|
|
9284
9427
|
/**
|
|
@@ -9350,7 +9493,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9350
9493
|
* @memberof DmsApi
|
|
9351
9494
|
*/
|
|
9352
9495
|
public getRedisClusterTopology(requestParameters: DmsApiGetRedisClusterTopologyRequest, options?: RawAxiosRequestConfig) {
|
|
9353
|
-
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));
|
|
9354
9497
|
}
|
|
9355
9498
|
|
|
9356
9499
|
/**
|
|
@@ -9362,7 +9505,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9362
9505
|
* @memberof DmsApi
|
|
9363
9506
|
*/
|
|
9364
9507
|
public getRedisContext(requestParameters: DmsApiGetRedisContextRequest, options?: RawAxiosRequestConfig) {
|
|
9365
|
-
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));
|
|
9366
9509
|
}
|
|
9367
9510
|
|
|
9368
9511
|
/**
|
|
@@ -9374,7 +9517,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9374
9517
|
* @memberof DmsApi
|
|
9375
9518
|
*/
|
|
9376
9519
|
public getRedisInfo(requestParameters: DmsApiGetRedisInfoRequest, options?: RawAxiosRequestConfig) {
|
|
9377
|
-
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));
|
|
9378
9521
|
}
|
|
9379
9522
|
|
|
9380
9523
|
/**
|
|
@@ -9386,7 +9529,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9386
9529
|
* @memberof DmsApi
|
|
9387
9530
|
*/
|
|
9388
9531
|
public getRedisKeyDetail(requestParameters: DmsApiGetRedisKeyDetailRequest, options?: RawAxiosRequestConfig) {
|
|
9389
|
-
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));
|
|
9390
9533
|
}
|
|
9391
9534
|
|
|
9392
9535
|
/**
|
|
@@ -9542,7 +9685,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9542
9685
|
* @memberof DmsApi
|
|
9543
9686
|
*/
|
|
9544
9687
|
public listRedisKeys(requestParameters: DmsApiListRedisKeysRequest, options?: RawAxiosRequestConfig) {
|
|
9545
|
-
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));
|
|
9546
9689
|
}
|
|
9547
9690
|
|
|
9548
9691
|
/**
|
|
@@ -9566,7 +9709,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9566
9709
|
* @memberof DmsApi
|
|
9567
9710
|
*/
|
|
9568
9711
|
public listRedisSlowLog(requestParameters: DmsApiListRedisSlowLogRequest, options?: RawAxiosRequestConfig) {
|
|
9569
|
-
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));
|
|
9570
9713
|
}
|
|
9571
9714
|
|
|
9572
9715
|
/**
|
|
@@ -9843,7 +9986,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9843
9986
|
* @memberof DmsApi
|
|
9844
9987
|
*/
|
|
9845
9988
|
public mutateRedisKey(requestParameters: DmsApiMutateRedisKeyRequest, options?: RawAxiosRequestConfig) {
|
|
9846
|
-
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));
|
|
9847
9990
|
}
|
|
9848
9991
|
|
|
9849
9992
|
/**
|
|
@@ -9855,7 +9998,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9855
9998
|
* @memberof DmsApi
|
|
9856
9999
|
*/
|
|
9857
10000
|
public publishRedisMessage(requestParameters: DmsApiPublishRedisMessageRequest, options?: RawAxiosRequestConfig) {
|
|
9858
|
-
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));
|
|
9859
10002
|
}
|
|
9860
10003
|
|
|
9861
10004
|
/**
|
|
@@ -9879,7 +10022,7 @@ export class DmsApi extends BaseAPI implements DmsApiInterface {
|
|
|
9879
10022
|
* @memberof DmsApi
|
|
9880
10023
|
*/
|
|
9881
10024
|
public resetRedisSlowLog(requestParameters: DmsApiResetRedisSlowLogRequest, options?: RawAxiosRequestConfig) {
|
|
9882
|
-
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));
|
|
9883
10026
|
}
|
|
9884
10027
|
|
|
9885
10028
|
/**
|