tencentcloud-sdk-nodejs-redis 4.0.454 → 4.0.456
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/CHANGELOG.md +317 -0
- package/SERVICE_CHANGELOG.md +363 -57
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/services/redis/v20180412/redis_client.ts +499 -475
- package/src/services/redis/v20180412/redis_models.ts +78 -22
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +171 -163
- package/tencentcloud/services/redis/v20180412/redis_client.js +255 -243
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +71 -22
|
@@ -28,172 +28,178 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
28
28
|
super("redis.tencentcloudapi.com", "2018-04-12", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 设置实例输入模式
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async ModifyInstanceReadOnly(req, cb) {
|
|
34
|
+
return this.request("ModifyInstanceReadOnly", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 查询实例大Key大小分布
|
|
38
38
|
*/
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
39
|
+
async DescribeInstanceMonitorBigKeySizeDist(req, cb) {
|
|
40
|
+
return this.request("DescribeInstanceMonitorBigKeySizeDist", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* 查询任务列表信息
|
|
44
44
|
*/
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
45
|
+
async DescribeTaskList(req, cb) {
|
|
46
|
+
return this.request("DescribeTaskList", req, cb);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 移除复制组成员 注:接口下线中,请使用 RemoveReplicationInstance
|
|
50
50
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
51
|
+
async DeleteReplicationInstance(req, cb) {
|
|
52
|
+
return this.request("DeleteReplicationInstance", req, cb);
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* 回收站实例立即下线
|
|
56
56
|
*/
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
57
|
+
async CleanUpInstance(req, cb) {
|
|
58
|
+
return this.request("CleanUpInstance", req, cb);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 查看实例子账号信息
|
|
62
62
|
*/
|
|
63
|
-
async
|
|
64
|
-
return this.request("
|
|
63
|
+
async DescribeInstanceAccount(req, cb) {
|
|
64
|
+
return this.request("DescribeInstanceAccount", req, cb);
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* 该接口仅支持多AZ实例副本组提主和单AZ副本提主
|
|
68
68
|
*/
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
69
|
+
async ChangeReplicaToMaster(req, cb) {
|
|
70
|
+
return this.request("ChangeReplicaToMaster", req, cb);
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* 查询实例访问命令
|
|
74
74
|
*/
|
|
75
|
-
async
|
|
76
|
-
return this.request("
|
|
75
|
+
async DescribeInstanceMonitorTopNCmd(req, cb) {
|
|
76
|
+
return this.request("DescribeInstanceMonitorTopNCmd", req, cb);
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* 将原本实例升级到高版本实例,或者将主从版实例升级到集群版实例
|
|
80
80
|
*/
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
81
|
+
async UpgradeInstanceVersion(req, cb) {
|
|
82
|
+
return this.request("UpgradeInstanceVersion", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* 本接口查询指定可用区和实例类型下 Redis 的售卖规格, 如果用户不在购买白名单中,将不能查询该可用区或该类型的售卖规格详情。申请购买某地域白名单可以提交工单
|
|
86
86
|
*/
|
|
87
|
-
async
|
|
88
|
-
return this.request("
|
|
87
|
+
async DescribeProductInfo(req, cb) {
|
|
88
|
+
return this.request("DescribeProductInfo", req, cb);
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* 用于查询任务结果
|
|
92
92
|
*/
|
|
93
|
-
async
|
|
94
|
-
return this.request("
|
|
93
|
+
async DescribeTaskInfo(req, cb) {
|
|
94
|
+
return this.request("DescribeTaskInfo", req, cb);
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
|
|
98
98
|
*/
|
|
99
|
-
async
|
|
100
|
-
return this.request("
|
|
99
|
+
async ModifyDBInstanceSecurityGroups(req, cb) {
|
|
100
|
+
return this.request("ModifyDBInstanceSecurityGroups", req, cb);
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* 修改实例子账号
|
|
104
104
|
*/
|
|
105
|
-
async
|
|
106
|
-
return this.request("
|
|
105
|
+
async ModifyInstanceAccount(req, cb) {
|
|
106
|
+
return this.request("ModifyInstanceAccount", req, cb);
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* 查询实例安全组信息
|
|
110
110
|
*/
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
111
|
+
async DescribeInstanceSecurityGroup(req, cb) {
|
|
112
|
+
return this.request("DescribeInstanceSecurityGroup", req, cb);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 升级实例支持多AZ
|
|
116
116
|
*/
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
117
|
+
async UpgradeVersionToMultiAvailabilityZones(req, cb) {
|
|
118
|
+
return this.request("UpgradeVersionToMultiAvailabilityZones", req, cb);
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* 本接口(ModifyInstanceParams)用于修改Redis实例的参数配置。
|
|
122
122
|
*/
|
|
123
|
-
async
|
|
124
|
-
return this.request("
|
|
123
|
+
async ModifyInstanceParams(req, cb) {
|
|
124
|
+
return this.request("ModifyInstanceParams", req, cb);
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* 清空Redis实例的实例数据。
|
|
128
128
|
*/
|
|
129
|
-
async
|
|
130
|
-
return this.request("
|
|
129
|
+
async ClearInstance(req, cb) {
|
|
130
|
+
return this.request("ClearInstance", req, cb);
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* 开通外网
|
|
134
134
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
135
|
+
async AllocateWanAddress(req, cb) {
|
|
136
|
+
return this.request("AllocateWanAddress", req, cb);
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* 删除实例子账号
|
|
140
140
|
*/
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
141
|
+
async DeleteInstanceAccount(req, cb) {
|
|
142
|
+
return this.request("DeleteInstanceAccount", req, cb);
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* 修改实例的连接配置,包括带宽和最大连接数。
|
|
146
146
|
*/
|
|
147
|
-
async
|
|
148
|
-
return this.request("
|
|
147
|
+
async ModifyConnectionConfig(req, cb) {
|
|
148
|
+
return this.request("ModifyConnectionConfig", req, cb);
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* 修改实例相关信息
|
|
152
152
|
*/
|
|
153
|
-
async
|
|
154
|
-
return this.request("
|
|
153
|
+
async ModifyInstance(req, cb) {
|
|
154
|
+
return this.request("ModifyInstance", req, cb);
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
|
-
*
|
|
157
|
+
* 复制组实例更换角色
|
|
158
158
|
*/
|
|
159
|
-
async
|
|
160
|
-
return this.request("
|
|
159
|
+
async ChangeInstanceRole(req, cb) {
|
|
160
|
+
return this.request("ChangeInstanceRole", req, cb);
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* 查询实例节点信息
|
|
164
164
|
*/
|
|
165
|
-
async
|
|
166
|
-
return this.request("
|
|
165
|
+
async DescribeInstanceNodeInfo(req, cb) {
|
|
166
|
+
return this.request("DescribeInstanceNodeInfo", req, cb);
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
*
|
|
169
|
+
* 创建实例子账号
|
|
170
170
|
*/
|
|
171
|
-
async
|
|
172
|
-
return this.request("
|
|
171
|
+
async CreateInstanceAccount(req, cb) {
|
|
172
|
+
return this.request("CreateInstanceAccount", req, cb);
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* 实例proxy版本升级
|
|
176
176
|
*/
|
|
177
|
-
async
|
|
178
|
-
return this.request("
|
|
177
|
+
async UpgradeProxyVersion(req, cb) {
|
|
178
|
+
return this.request("UpgradeProxyVersion", req, cb);
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
*
|
|
181
|
+
* 查询实例CPU耗时
|
|
182
182
|
*/
|
|
183
|
-
async
|
|
184
|
-
return this.request("
|
|
183
|
+
async DescribeInstanceMonitorTopNCmdTook(req, cb) {
|
|
184
|
+
return this.request("DescribeInstanceMonitorTopNCmdTook", req, cb);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* 设置自动备份配置
|
|
188
188
|
*/
|
|
189
|
-
async
|
|
190
|
-
return this.request("
|
|
189
|
+
async ModifyAutoBackupConfig(req, cb) {
|
|
190
|
+
return this.request("ModifyAutoBackupConfig", req, cb);
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
*
|
|
193
|
+
* 删除参数模板
|
|
194
194
|
*/
|
|
195
|
-
async
|
|
196
|
-
return this.request("
|
|
195
|
+
async DeleteParamTemplate(req, cb) {
|
|
196
|
+
return this.request("DeleteParamTemplate", req, cb);
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* 添加复制组成员
|
|
200
|
+
*/
|
|
201
|
+
async AddReplicationInstance(req, cb) {
|
|
202
|
+
return this.request("AddReplicationInstance", req, cb);
|
|
197
203
|
}
|
|
198
204
|
/**
|
|
199
205
|
* 创建参数模板。
|
|
@@ -208,202 +214,196 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
208
214
|
return this.request("DisableReplicaReadonly", req, cb);
|
|
209
215
|
}
|
|
210
216
|
/**
|
|
211
|
-
*
|
|
212
|
-
*/
|
|
213
|
-
async DescribeAutoBackupConfig(req, cb) {
|
|
214
|
-
return this.request("DescribeAutoBackupConfig", req, cb);
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* 修改实例网络配置
|
|
217
|
+
* 查询实例DTS信息
|
|
218
218
|
*/
|
|
219
|
-
async
|
|
220
|
-
return this.request("
|
|
219
|
+
async DescribeInstanceDTSInfo(req, cb) {
|
|
220
|
+
return this.request("DescribeInstanceDTSInfo", req, cb);
|
|
221
221
|
}
|
|
222
222
|
/**
|
|
223
|
-
*
|
|
223
|
+
* 查询实例扩容价格
|
|
224
224
|
*/
|
|
225
|
-
async
|
|
226
|
-
return this.request("
|
|
225
|
+
async InquiryPriceUpgradeInstance(req, cb) {
|
|
226
|
+
return this.request("InquiryPriceUpgradeInstance", req, cb);
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
229
|
+
* 续费实例
|
|
230
230
|
*/
|
|
231
|
-
async
|
|
232
|
-
return this.request("
|
|
231
|
+
async RenewInstance(req, cb) {
|
|
232
|
+
return this.request("RenewInstance", req, cb);
|
|
233
233
|
}
|
|
234
234
|
/**
|
|
235
|
-
*
|
|
235
|
+
* 查询备份Rdb下载地址(接口灰度中,需要加白名单使用)
|
|
236
236
|
*/
|
|
237
|
-
async
|
|
238
|
-
return this.request("
|
|
237
|
+
async DescribeBackupUrl(req, cb) {
|
|
238
|
+
return this.request("DescribeBackupUrl", req, cb);
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
|
-
*
|
|
241
|
+
* 本接口(DescribeProjectSecurityGroups)用于查询项目的安全组详情。
|
|
242
242
|
*/
|
|
243
|
-
async
|
|
244
|
-
return this.request("
|
|
243
|
+
async DescribeProjectSecurityGroups(req, cb) {
|
|
244
|
+
return this.request("DescribeProjectSecurityGroups", req, cb);
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* 查询Tendis慢查询
|
|
248
248
|
*/
|
|
249
|
-
async
|
|
250
|
-
return this.request("
|
|
249
|
+
async DescribeTendisSlowLog(req, cb) {
|
|
250
|
+
return this.request("DescribeTendisSlowLog", req, cb);
|
|
251
251
|
}
|
|
252
252
|
/**
|
|
253
|
-
*
|
|
253
|
+
* 修改参数模板
|
|
254
254
|
*/
|
|
255
|
-
async
|
|
256
|
-
return this.request("
|
|
255
|
+
async ModifyParamTemplate(req, cb) {
|
|
256
|
+
return this.request("ModifyParamTemplate", req, cb);
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
|
-
*
|
|
259
|
+
* 查询新购实例价格
|
|
260
260
|
*/
|
|
261
|
-
async
|
|
262
|
-
return this.request("
|
|
261
|
+
async InquiryPriceCreateInstance(req, cb) {
|
|
262
|
+
return this.request("InquiryPriceCreateInstance", req, cb);
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
|
-
*
|
|
265
|
+
* 查询实例参数列表
|
|
266
266
|
*/
|
|
267
|
-
async
|
|
268
|
-
return this.request("
|
|
267
|
+
async DescribeInstanceParams(req, cb) {
|
|
268
|
+
return this.request("DescribeInstanceParams", req, cb);
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
271
|
-
*
|
|
271
|
+
* 查询实例大Key类型分布
|
|
272
272
|
*/
|
|
273
|
-
async
|
|
274
|
-
return this.request("
|
|
273
|
+
async DescribeInstanceMonitorBigKeyTypeDist(req, cb) {
|
|
274
|
+
return this.request("DescribeInstanceMonitorBigKeyTypeDist", req, cb);
|
|
275
275
|
}
|
|
276
276
|
/**
|
|
277
|
-
*
|
|
277
|
+
* 关闭外网
|
|
278
278
|
*/
|
|
279
|
-
async
|
|
280
|
-
return this.request("
|
|
279
|
+
async ReleaseWanAddress(req, cb) {
|
|
280
|
+
return this.request("ReleaseWanAddress", req, cb);
|
|
281
281
|
}
|
|
282
282
|
/**
|
|
283
|
-
*
|
|
283
|
+
* 本接口(DisassociateSecurityGroups)用于安全组批量解绑实例。
|
|
284
284
|
*/
|
|
285
|
-
async
|
|
286
|
-
return this.request("
|
|
285
|
+
async DisassociateSecurityGroups(req, cb) {
|
|
286
|
+
return this.request("DisassociateSecurityGroups", req, cb);
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
|
-
*
|
|
289
|
+
* 手动备份Redis实例
|
|
290
290
|
*/
|
|
291
|
-
async
|
|
292
|
-
return this.request("
|
|
291
|
+
async ManualBackupInstance(req, cb) {
|
|
292
|
+
return this.request("ManualBackupInstance", req, cb);
|
|
293
293
|
}
|
|
294
294
|
/**
|
|
295
|
-
*
|
|
295
|
+
* Proxy模拟故障接口
|
|
296
296
|
*/
|
|
297
|
-
async
|
|
298
|
-
return this.request("
|
|
297
|
+
async SwitchProxy(req, cb) {
|
|
298
|
+
return this.request("SwitchProxy", req, cb);
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
|
-
*
|
|
301
|
+
* 恢复 CRS 实例
|
|
302
302
|
*/
|
|
303
|
-
async
|
|
304
|
-
return this.request("
|
|
303
|
+
async RestoreInstance(req, cb) {
|
|
304
|
+
return this.request("RestoreInstance", req, cb);
|
|
305
305
|
}
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
307
|
+
* 查询参数修改历史列表
|
|
308
308
|
*/
|
|
309
|
-
async
|
|
310
|
-
return this.request("
|
|
309
|
+
async DescribeInstanceParamRecords(req, cb) {
|
|
310
|
+
return this.request("DescribeInstanceParamRecords", req, cb);
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
|
-
*
|
|
313
|
+
* 查询参数模板详情。
|
|
314
314
|
*/
|
|
315
|
-
async
|
|
316
|
-
return this.request("
|
|
315
|
+
async DescribeParamTemplateInfo(req, cb) {
|
|
316
|
+
return this.request("DescribeParamTemplateInfo", req, cb);
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
|
-
*
|
|
319
|
+
* 按量计费实例销毁
|
|
320
320
|
*/
|
|
321
|
-
async
|
|
322
|
-
return this.request("
|
|
321
|
+
async DestroyPostpaidInstance(req, cb) {
|
|
322
|
+
return this.request("DestroyPostpaidInstance", req, cb);
|
|
323
323
|
}
|
|
324
324
|
/**
|
|
325
|
-
*
|
|
325
|
+
* 查询实例访问的耗时分布
|
|
326
326
|
*/
|
|
327
|
-
async
|
|
328
|
-
return this.request("
|
|
327
|
+
async DescribeInstanceMonitorTookDist(req, cb) {
|
|
328
|
+
return this.request("DescribeInstanceMonitorTookDist", req, cb);
|
|
329
329
|
}
|
|
330
330
|
/**
|
|
331
|
-
*
|
|
331
|
+
* 查询参数模板列表
|
|
332
332
|
*/
|
|
333
|
-
async
|
|
334
|
-
return this.request("
|
|
333
|
+
async DescribeParamTemplates(req, cb) {
|
|
334
|
+
return this.request("DescribeParamTemplates", req, cb);
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
|
-
*
|
|
337
|
+
* 查询 CRS 实例备份列表
|
|
338
338
|
*/
|
|
339
|
-
async
|
|
340
|
-
return this.request("
|
|
339
|
+
async DescribeInstanceBackups(req, cb) {
|
|
340
|
+
return this.request("DescribeInstanceBackups", req, cb);
|
|
341
341
|
}
|
|
342
342
|
/**
|
|
343
|
-
*
|
|
343
|
+
* 重置密码
|
|
344
344
|
*/
|
|
345
|
-
async
|
|
346
|
-
return this.request("
|
|
345
|
+
async ResetPassword(req, cb) {
|
|
346
|
+
return this.request("ResetPassword", req, cb);
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
|
-
*
|
|
349
|
+
* 实例小版本升级
|
|
350
350
|
*/
|
|
351
|
-
async
|
|
352
|
-
return this.request("
|
|
351
|
+
async UpgradeSmallVersion(req, cb) {
|
|
352
|
+
return this.request("UpgradeSmallVersion", req, cb);
|
|
353
353
|
}
|
|
354
354
|
/**
|
|
355
|
-
*
|
|
355
|
+
* 创建复制组
|
|
356
356
|
*/
|
|
357
|
-
async
|
|
358
|
-
return this.request("
|
|
357
|
+
async CreateReplicationGroup(req, cb) {
|
|
358
|
+
return this.request("CreateReplicationGroup", req, cb);
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
|
-
*
|
|
361
|
+
* 查询实例访问来源信息
|
|
362
362
|
*/
|
|
363
|
-
async
|
|
364
|
-
return this.request("
|
|
363
|
+
async DescribeInstanceMonitorSIP(req, cb) {
|
|
364
|
+
return this.request("DescribeInstanceMonitorSIP", req, cb);
|
|
365
365
|
}
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* 查询项目安全组信息
|
|
368
368
|
*/
|
|
369
|
-
async
|
|
370
|
-
return this.request("
|
|
369
|
+
async DescribeProjectSecurityGroup(req, cb) {
|
|
370
|
+
return this.request("DescribeProjectSecurityGroup", req, cb);
|
|
371
371
|
}
|
|
372
372
|
/**
|
|
373
|
-
*
|
|
373
|
+
* 查询实例热Key
|
|
374
374
|
*/
|
|
375
|
-
async
|
|
376
|
-
return this.request("
|
|
375
|
+
async DescribeInstanceMonitorHotKey(req, cb) {
|
|
376
|
+
return this.request("DescribeInstanceMonitorHotKey", req, cb);
|
|
377
377
|
}
|
|
378
378
|
/**
|
|
379
|
-
*
|
|
379
|
+
* 修改redis密码
|
|
380
380
|
*/
|
|
381
|
-
async
|
|
382
|
-
return this.request("
|
|
381
|
+
async ModfiyInstancePassword(req, cb) {
|
|
382
|
+
return this.request("ModfiyInstancePassword", req, cb);
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
385
|
+
* 启用读写分离
|
|
386
386
|
*/
|
|
387
|
-
async
|
|
388
|
-
return this.request("
|
|
387
|
+
async EnableReplicaReadonly(req, cb) {
|
|
388
|
+
return this.request("EnableReplicaReadonly", req, cb);
|
|
389
389
|
}
|
|
390
390
|
/**
|
|
391
|
-
*
|
|
391
|
+
* 本接口 (AssociateSecurityGroups) 用于安全组批量绑定多个指定实例。
|
|
392
392
|
*/
|
|
393
|
-
async
|
|
394
|
-
return this.request("
|
|
393
|
+
async AssociateSecurityGroups(req, cb) {
|
|
394
|
+
return this.request("AssociateSecurityGroups", req, cb);
|
|
395
395
|
}
|
|
396
396
|
/**
|
|
397
|
-
*
|
|
397
|
+
* 查询实例大Key
|
|
398
398
|
*/
|
|
399
|
-
async
|
|
400
|
-
return this.request("
|
|
399
|
+
async DescribeInstanceMonitorBigKey(req, cb) {
|
|
400
|
+
return this.request("DescribeInstanceMonitorBigKey", req, cb);
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
403
|
-
*
|
|
403
|
+
* 模拟故障
|
|
404
404
|
*/
|
|
405
|
-
async
|
|
406
|
-
return this.request("
|
|
405
|
+
async KillMasterGroup(req, cb) {
|
|
406
|
+
return this.request("KillMasterGroup", req, cb);
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
409
|
* 查询Redis实例列表信息。该接口已废弃。
|
|
@@ -412,52 +412,52 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
412
412
|
return this.request("DescribeCommonDBInstances", req, cb);
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
|
-
*
|
|
415
|
+
* 本接口(DescribeSlowLog)查询实例慢查询记录。
|
|
416
416
|
*/
|
|
417
|
-
async
|
|
418
|
-
return this.request("
|
|
417
|
+
async DescribeSlowLog(req, cb) {
|
|
418
|
+
return this.request("DescribeSlowLog", req, cb);
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
|
-
*
|
|
421
|
+
* 查询Redis节点详细信息
|
|
422
422
|
*/
|
|
423
|
-
async
|
|
424
|
-
return this.request("
|
|
423
|
+
async DescribeInstanceZoneInfo(req, cb) {
|
|
424
|
+
return this.request("DescribeInstanceZoneInfo", req, cb);
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
|
-
*
|
|
427
|
+
* 在通过DTS支持跨可用区灾备的场景中,通过该接口交换实例VIP完成实例灾备切换。交换VIP后目标实例可写,源和目标实例VIP互换,同时源与目标实例间DTS同步任务断开
|
|
428
428
|
*/
|
|
429
|
-
async
|
|
430
|
-
return this.request("
|
|
429
|
+
async SwitchInstanceVip(req, cb) {
|
|
430
|
+
return this.request("SwitchInstanceVip", req, cb);
|
|
431
431
|
}
|
|
432
432
|
/**
|
|
433
|
-
*
|
|
433
|
+
* 查询复制组
|
|
434
434
|
*/
|
|
435
|
-
async
|
|
436
|
-
return this.request("
|
|
435
|
+
async DescribeReplicationGroup(req, cb) {
|
|
436
|
+
return this.request("DescribeReplicationGroup", req, cb);
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
439
|
-
*
|
|
439
|
+
* 查询实例续费价格(包年包月)
|
|
440
440
|
*/
|
|
441
|
-
async
|
|
442
|
-
return this.request("
|
|
441
|
+
async InquiryPriceRenewInstance(req, cb) {
|
|
442
|
+
return this.request("InquiryPriceRenewInstance", req, cb);
|
|
443
443
|
}
|
|
444
444
|
/**
|
|
445
|
-
*
|
|
445
|
+
* 修改实例维护时间窗时间,需要进行版本升级或者架构升级的实例,会在维护时间窗内进行时间切换。注意:已经发起版本升级或者架构升级的实例,无法修改维护时间窗。
|
|
446
446
|
*/
|
|
447
|
-
async
|
|
448
|
-
return this.request("
|
|
447
|
+
async ModifyMaintenanceWindow(req, cb) {
|
|
448
|
+
return this.request("ModifyMaintenanceWindow", req, cb);
|
|
449
449
|
}
|
|
450
450
|
/**
|
|
451
|
-
*
|
|
451
|
+
* 修改实例网络配置
|
|
452
452
|
*/
|
|
453
|
-
async
|
|
454
|
-
return this.request("
|
|
453
|
+
async ModifyNetworkConfig(req, cb) {
|
|
454
|
+
return this.request("ModifyNetworkConfig", req, cb);
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
457
|
-
*
|
|
457
|
+
* 获取集群版实例分片信息
|
|
458
458
|
*/
|
|
459
|
-
async
|
|
460
|
-
return this.request("
|
|
459
|
+
async DescribeInstanceShards(req, cb) {
|
|
460
|
+
return this.request("DescribeInstanceShards", req, cb);
|
|
461
461
|
}
|
|
462
462
|
/**
|
|
463
463
|
* 包年包月实例退还
|
|
@@ -466,70 +466,82 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
466
466
|
return this.request("DestroyPrepaidInstance", req, cb);
|
|
467
467
|
}
|
|
468
468
|
/**
|
|
469
|
-
*
|
|
469
|
+
* 查询Redis实例列表
|
|
470
470
|
*/
|
|
471
|
-
async
|
|
472
|
-
return this.request("
|
|
471
|
+
async DescribeInstances(req, cb) {
|
|
472
|
+
return this.request("DescribeInstances", req, cb);
|
|
473
473
|
}
|
|
474
474
|
/**
|
|
475
|
-
*
|
|
475
|
+
* 开启SSL
|
|
476
476
|
*/
|
|
477
|
-
async
|
|
478
|
-
return this.request("
|
|
477
|
+
async OpenSSL(req, cb) {
|
|
478
|
+
return this.request("OpenSSL", req, cb);
|
|
479
479
|
}
|
|
480
480
|
/**
|
|
481
|
-
*
|
|
481
|
+
* 获取备份配置
|
|
482
482
|
*/
|
|
483
|
-
async
|
|
484
|
-
return this.request("
|
|
483
|
+
async DescribeAutoBackupConfig(req, cb) {
|
|
484
|
+
return this.request("DescribeAutoBackupConfig", req, cb);
|
|
485
485
|
}
|
|
486
486
|
/**
|
|
487
|
-
*
|
|
487
|
+
* 实例解隔离
|
|
488
488
|
*/
|
|
489
|
-
async
|
|
490
|
-
return this.request("
|
|
489
|
+
async StartupInstance(req, cb) {
|
|
490
|
+
return this.request("StartupInstance", req, cb);
|
|
491
491
|
}
|
|
492
492
|
/**
|
|
493
|
-
*
|
|
493
|
+
* 本接口(DescribeProxySlowLog)用于查询代理慢查询。
|
|
494
494
|
*/
|
|
495
|
-
async
|
|
496
|
-
return this.request("
|
|
495
|
+
async DescribeProxySlowLog(req, cb) {
|
|
496
|
+
return this.request("DescribeProxySlowLog", req, cb);
|
|
497
497
|
}
|
|
498
498
|
/**
|
|
499
|
-
*
|
|
499
|
+
* 复制组实例切主
|
|
500
500
|
*/
|
|
501
|
-
async
|
|
502
|
-
return this.request("
|
|
501
|
+
async ChangeMasterInstance(req, cb) {
|
|
502
|
+
return this.request("ChangeMasterInstance", req, cb);
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
|
-
*
|
|
505
|
+
* 升级实例
|
|
506
506
|
*/
|
|
507
|
-
async
|
|
508
|
-
return this.request("
|
|
507
|
+
async UpgradeInstance(req, cb) {
|
|
508
|
+
return this.request("UpgradeInstance", req, cb);
|
|
509
509
|
}
|
|
510
510
|
/**
|
|
511
|
-
*
|
|
511
|
+
* 本接口(DescribeDBSecurityGroups)用于查询实例的安全组详情。
|
|
512
512
|
*/
|
|
513
|
-
async
|
|
514
|
-
return this.request("
|
|
513
|
+
async DescribeDBSecurityGroups(req, cb) {
|
|
514
|
+
return this.request("DescribeDBSecurityGroups", req, cb);
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
|
-
*
|
|
517
|
+
* 应用参数模板到实例
|
|
518
518
|
*/
|
|
519
|
-
async
|
|
520
|
-
return this.request("
|
|
519
|
+
async ApplyParamsTemplate(req, cb) {
|
|
520
|
+
return this.request("ApplyParamsTemplate", req, cb);
|
|
521
521
|
}
|
|
522
522
|
/**
|
|
523
|
-
*
|
|
523
|
+
* 查询实例维护时间窗,在实例需要进行版本升级或者架构升级的时候,会在维护时间窗时间内进行切换
|
|
524
524
|
*/
|
|
525
|
-
async
|
|
526
|
-
return this.request("
|
|
525
|
+
async DescribeMaintenanceWindow(req, cb) {
|
|
526
|
+
return this.request("DescribeMaintenanceWindow", req, cb);
|
|
527
527
|
}
|
|
528
528
|
/**
|
|
529
|
-
*
|
|
529
|
+
* 本接口(CreateInstances)用于创建redis实例。
|
|
530
530
|
*/
|
|
531
|
-
async
|
|
532
|
-
return this.request("
|
|
531
|
+
async CreateInstances(req, cb) {
|
|
532
|
+
return this.request("CreateInstances", req, cb);
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* 查询订单信息
|
|
536
|
+
*/
|
|
537
|
+
async DescribeInstanceDealDetail(req, cb) {
|
|
538
|
+
return this.request("DescribeInstanceDealDetail", req, cb);
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* 关闭SSL
|
|
542
|
+
*/
|
|
543
|
+
async CloseSSL(req, cb) {
|
|
544
|
+
return this.request("CloseSSL", req, cb);
|
|
533
545
|
}
|
|
534
546
|
}
|
|
535
547
|
exports.Client = Client;
|