@ucloud-sdks/ucloud-sdk-js 0.2.42 → 0.2.43
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.
|
@@ -30,6 +30,24 @@ class UMemClient extends client_1.default {
|
|
|
30
30
|
const args = Object.assign({ Action: 'CheckURedisAllowance' }, (request || {}));
|
|
31
31
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* CreateScanHotBigKeys - 创建执行扫大key和热key的任务
|
|
35
|
+
*
|
|
36
|
+
* See also: https://docs.ucloud.cn/api/umem-api/create_scan_hot_big_keys
|
|
37
|
+
*/
|
|
38
|
+
createScanHotBigKeys(request) {
|
|
39
|
+
const args = Object.assign({ Action: 'CreateScanHotBigKeys' }, (request || {}));
|
|
40
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* CreateUDRedisUhproxy - 添加分布式Redis代理
|
|
44
|
+
*
|
|
45
|
+
* See also: https://docs.ucloud.cn/api/umem-api/create_ud_redis_uhproxy
|
|
46
|
+
*/
|
|
47
|
+
createUDRedisUhproxy(request) {
|
|
48
|
+
const args = Object.assign({ Action: 'CreateUDRedisUhproxy' }, (request || {}));
|
|
49
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
50
|
+
}
|
|
33
51
|
/**
|
|
34
52
|
* CreateUMemBackup - 创建分布式redis备份
|
|
35
53
|
*
|
|
@@ -75,6 +93,15 @@ class UMemClient extends client_1.default {
|
|
|
75
93
|
const args = Object.assign({ Action: 'CreateURedisGroup' }, (request || {}));
|
|
76
94
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
77
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* DeleteUDRedisProxy - 删除分布式Redis代理
|
|
98
|
+
*
|
|
99
|
+
* See also: https://docs.ucloud.cn/api/umem-api/delete_ud_redis_proxy
|
|
100
|
+
*/
|
|
101
|
+
deleteUDRedisProxy(request) {
|
|
102
|
+
const args = Object.assign({ Action: 'DeleteUDRedisProxy' }, (request || {}));
|
|
103
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
104
|
+
}
|
|
78
105
|
/**
|
|
79
106
|
* DeleteUMemSpace - 删除UMem内存空间
|
|
80
107
|
*
|
|
@@ -102,6 +129,15 @@ class UMemClient extends client_1.default {
|
|
|
102
129
|
const args = Object.assign({ Action: 'DeleteURedisGroup' }, (request || {}));
|
|
103
130
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
104
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* DescribeUDRedisProxyClientList - 查询分布式代理客户端连接信息
|
|
134
|
+
*
|
|
135
|
+
* See also: https://docs.ucloud.cn/api/umem-api/describe_ud_redis_proxy_client_list
|
|
136
|
+
*/
|
|
137
|
+
describeUDRedisProxyClientList(request) {
|
|
138
|
+
const args = Object.assign({ Action: 'DescribeUDRedisProxyClientList' }, (request || {}));
|
|
139
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
140
|
+
}
|
|
105
141
|
/**
|
|
106
142
|
* DescribeUDRedisProxyInfo - 拉取udredis所有的代理信息
|
|
107
143
|
*
|
|
@@ -166,7 +202,7 @@ class UMemClient extends client_1.default {
|
|
|
166
202
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
167
203
|
}
|
|
168
204
|
/**
|
|
169
|
-
* DescribeUMemSpace - 获取UMem
|
|
205
|
+
* DescribeUMemSpace - 获取UMem内存空间列表(已废弃,建议是使用DescribeUMem接口)
|
|
170
206
|
*
|
|
171
207
|
* See also: https://docs.ucloud.cn/api/umem-api/describe_umem_space
|
|
172
208
|
*/
|
|
@@ -238,7 +274,7 @@ class UMemClient extends client_1.default {
|
|
|
238
274
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
239
275
|
}
|
|
240
276
|
/**
|
|
241
|
-
* DescribeURedisGroup - 查询主备Redis
|
|
277
|
+
* DescribeURedisGroup - 查询主备Redis(已废弃,建议使用DescribeUMem)
|
|
242
278
|
*
|
|
243
279
|
* See also: https://docs.ucloud.cn/api/umem-api/describe_uredis_group
|
|
244
280
|
*/
|
|
@@ -247,7 +283,7 @@ class UMemClient extends client_1.default {
|
|
|
247
283
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
248
284
|
}
|
|
249
285
|
/**
|
|
250
|
-
* DescribeURedisPrice -
|
|
286
|
+
* DescribeURedisPrice - 获取URedis价格信息
|
|
251
287
|
*
|
|
252
288
|
* See also: https://docs.ucloud.cn/api/umem-api/describe_uredis_price
|
|
253
289
|
*/
|
|
@@ -309,6 +345,15 @@ class UMemClient extends client_1.default {
|
|
|
309
345
|
const args = Object.assign({ Action: 'ISolationURedisGroup' }, (request || {}));
|
|
310
346
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
311
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* ModifyUMemPassword - 更改分布式redis密码
|
|
350
|
+
*
|
|
351
|
+
* See also: https://docs.ucloud.cn/api/umem-api/modify_umem_password
|
|
352
|
+
*/
|
|
353
|
+
modifyUMemPassword(request) {
|
|
354
|
+
const args = Object.assign({ Action: 'ModifyUMemPassword' }, (request || {}));
|
|
355
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
356
|
+
}
|
|
312
357
|
/**
|
|
313
358
|
* ModifyUMemSpaceName - 修改UMem内存空间名称
|
|
314
359
|
*
|
|
@@ -318,6 +363,15 @@ class UMemClient extends client_1.default {
|
|
|
318
363
|
const args = Object.assign({ Action: 'ModifyUMemSpaceName' }, (request || {}));
|
|
319
364
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
320
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* ModifyURedisConfig - 修改主备Redis配置文件参数
|
|
368
|
+
*
|
|
369
|
+
* See also: https://docs.ucloud.cn/api/umem-api/modify_uredis_config
|
|
370
|
+
*/
|
|
371
|
+
modifyURedisConfig(request) {
|
|
372
|
+
const args = Object.assign({ Action: 'ModifyURedisConfig' }, (request || {}));
|
|
373
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
374
|
+
}
|
|
321
375
|
/**
|
|
322
376
|
* ModifyURedisGroupName - 修改主备redis名称
|
|
323
377
|
*
|
|
@@ -336,6 +390,15 @@ class UMemClient extends client_1.default {
|
|
|
336
390
|
const args = Object.assign({ Action: 'ModifyURedisGroupPassword' }, (request || {}));
|
|
337
391
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
338
392
|
}
|
|
393
|
+
/**
|
|
394
|
+
* RegisterUMemDefrag - 动态开关redis碎片整理选项
|
|
395
|
+
*
|
|
396
|
+
* See also: https://docs.ucloud.cn/api/umem-api/register_umem_defrag
|
|
397
|
+
*/
|
|
398
|
+
registerUMemDefrag(request) {
|
|
399
|
+
const args = Object.assign({ Action: 'RegisterUMemDefrag' }, (request || {}));
|
|
400
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
401
|
+
}
|
|
339
402
|
/**
|
|
340
403
|
* RemoveUDRedisData - 清除udredis实例数据
|
|
341
404
|
*
|
|
@@ -346,7 +409,16 @@ class UMemClient extends client_1.default {
|
|
|
346
409
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
347
410
|
}
|
|
348
411
|
/**
|
|
349
|
-
*
|
|
412
|
+
* ResizeUDRedisBlockSize - 更改udredis分片容量
|
|
413
|
+
*
|
|
414
|
+
* See also: https://docs.ucloud.cn/api/umem-api/resize_ud_redis_block_size
|
|
415
|
+
*/
|
|
416
|
+
resizeUDRedisBlockSize(request) {
|
|
417
|
+
const args = Object.assign({ Action: 'ResizeUDRedisBlockSize' }, (request || {}));
|
|
418
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* ResizeUMemSpace - 调整内存空间容量,只支持存量老分布式产品,不支持高性能分布式。(已废弃,不建议使用)
|
|
350
422
|
*
|
|
351
423
|
* See also: https://docs.ucloud.cn/api/umem-api/resize_umem_space
|
|
352
424
|
*/
|
|
@@ -354,6 +426,15 @@ class UMemClient extends client_1.default {
|
|
|
354
426
|
const args = Object.assign({ Action: 'ResizeUMemSpace' }, (request || {}));
|
|
355
427
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
356
428
|
}
|
|
429
|
+
/**
|
|
430
|
+
* ResizeUMemcacheGroup - 调整memcache实例的容量
|
|
431
|
+
*
|
|
432
|
+
* See also: https://docs.ucloud.cn/api/umem-api/resize_umem_cache_group
|
|
433
|
+
*/
|
|
434
|
+
resizeUMemcacheGroup(request) {
|
|
435
|
+
const args = Object.assign({ Action: 'ResizeUMemcacheGroup' }, (request || {}));
|
|
436
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
437
|
+
}
|
|
357
438
|
/**
|
|
358
439
|
* ResizeURedisGroup - 通过调用CheckURedisAllowance接口,检查资源情况,根据不同情形来调整主备redis容量,其中主要包括可用区资源不足无法扩容,主备所在宿主机资源不足需要迁移完成扩容(需要主从切换,会闪断及负载升高),以及直接扩容(业务无感知)
|
|
359
440
|
*
|
|
@@ -363,6 +444,15 @@ class UMemClient extends client_1.default {
|
|
|
363
444
|
const args = Object.assign({ Action: 'ResizeURedisGroup' }, (request || {}));
|
|
364
445
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
365
446
|
}
|
|
447
|
+
/**
|
|
448
|
+
* ResizeUhproxy - 分布式Redis代理规格调整
|
|
449
|
+
*
|
|
450
|
+
* See also: https://docs.ucloud.cn/api/umem-api/resize_uhproxy
|
|
451
|
+
*/
|
|
452
|
+
resizeUhproxy(request) {
|
|
453
|
+
const args = Object.assign({ Action: 'ResizeUhproxy' }, (request || {}));
|
|
454
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
455
|
+
}
|
|
366
456
|
/**
|
|
367
457
|
* RestartUMemcacheGroup - 重启单机Memcache
|
|
368
458
|
*
|
|
@@ -390,5 +480,14 @@ class UMemClient extends client_1.default {
|
|
|
390
480
|
const args = Object.assign({ Action: 'UpdateURedisBackupStrategy' }, (request || {}));
|
|
391
481
|
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
392
482
|
}
|
|
483
|
+
/**
|
|
484
|
+
* UpdateURedisRewriteTime - 修改主备redis重写时间
|
|
485
|
+
*
|
|
486
|
+
* See also: https://docs.ucloud.cn/api/umem-api/update_uredis_rewrite_time
|
|
487
|
+
*/
|
|
488
|
+
updateURedisRewriteTime(request) {
|
|
489
|
+
const args = Object.assign({ Action: 'UpdateURedisRewriteTime' }, (request || {}));
|
|
490
|
+
return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
|
|
491
|
+
}
|
|
393
492
|
}
|
|
394
493
|
exports.default = UMemClient;
|