tencentcloud-sdk-nodejs-intl-en 3.0.508 → 3.0.511

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.
Files changed (29) hide show
  1. package/package.json +1 -1
  2. package/tencentcloud/as/v20180419/as_client.js +129 -9
  3. package/tencentcloud/as/v20180419/models.js +1684 -269
  4. package/tencentcloud/billing/v20180709/models.js +67 -0
  5. package/tencentcloud/cdb/v20170320/cdb_client.js +83 -17
  6. package/tencentcloud/cdb/v20170320/models.js +619 -86
  7. package/tencentcloud/cdn/v20180606/models.js +6 -5
  8. package/tencentcloud/ckafka/v20190819/ckafka_client.js +14 -1
  9. package/tencentcloud/ckafka/v20190819/models.js +121 -20
  10. package/tencentcloud/cls/v20201016/models.js +9 -1
  11. package/tencentcloud/common/sdk_version.js +1 -1
  12. package/tencentcloud/live/v20180801/live_client.js +37 -72
  13. package/tencentcloud/live/v20180801/models.js +777 -652
  14. package/tencentcloud/monitor/v20180724/models.js +58 -0
  15. package/tencentcloud/monitor/v20180724/monitor_client.js +1 -0
  16. package/tencentcloud/ocr/v20181119/models.js +201 -43
  17. package/tencentcloud/ocr/v20181119/ocr_client.js +16 -1
  18. package/tencentcloud/redis/v20180412/models.js +65 -0
  19. package/tencentcloud/redis/v20180412/redis_client.js +13 -0
  20. package/tencentcloud/tke/v20180525/models.js +451 -58
  21. package/tencentcloud/tke/v20180525/tke_client.js +548 -483
  22. package/tencentcloud/trtc/v20190722/models.js +170 -13
  23. package/tencentcloud/trtc/v20190722/trtc_client.js +30 -26
  24. package/tencentcloud/tts/v20190823/models.js +79 -0
  25. package/tencentcloud/tts/v20190823/tts_client.js +1 -0
  26. package/tencentcloud/vod/v20180717/models.js +200 -55
  27. package/tencentcloud/vod/v20180717/vod_client.js +46 -22
  28. package/tencentcloud/vpc/v20170312/models.js +812 -279
  29. package/tencentcloud/vpc/v20170312/vpc_client.js +71 -17
@@ -1131,6 +1131,48 @@ class UpdateAlertRuleStateResponse extends AbstractModel {
1131
1131
  }
1132
1132
  }
1133
1133
 
1134
+ /**
1135
+ * Monitoring type details
1136
+ * @class
1137
+ */
1138
+ class MonitorTypeInfo extends AbstractModel {
1139
+ constructor(){
1140
+ super();
1141
+
1142
+ /**
1143
+ * Monitoring type ID
1144
+ * @type {string || null}
1145
+ */
1146
+ this.Id = null;
1147
+
1148
+ /**
1149
+ * Monitoring type
1150
+ * @type {string || null}
1151
+ */
1152
+ this.Name = null;
1153
+
1154
+ /**
1155
+ * Sort order
1156
+ * @type {number || null}
1157
+ */
1158
+ this.SortId = null;
1159
+
1160
+ }
1161
+
1162
+ /**
1163
+ * @private
1164
+ */
1165
+ deserialize(params) {
1166
+ if (!params) {
1167
+ return;
1168
+ }
1169
+ this.Id = 'Id' in params ? params.Id : null;
1170
+ this.Name = 'Name' in params ? params.Name : null;
1171
+ this.SortId = 'SortId' in params ? params.SortId : null;
1172
+
1173
+ }
1174
+ }
1175
+
1134
1176
  /**
1135
1177
  * CreatePrometheusScrapeJob response structure.
1136
1178
  * @class
@@ -6870,6 +6912,12 @@ class DescribeMonitorTypesResponse extends AbstractModel {
6870
6912
  */
6871
6913
  this.MonitorTypes = null;
6872
6914
 
6915
+ /**
6916
+ * Monitoring type details
6917
+ * @type {Array.<MonitorTypeInfo> || null}
6918
+ */
6919
+ this.MonitorTypeInfos = null;
6920
+
6873
6921
  /**
6874
6922
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
6875
6923
  * @type {string || null}
@@ -6886,6 +6934,15 @@ class DescribeMonitorTypesResponse extends AbstractModel {
6886
6934
  return;
6887
6935
  }
6888
6936
  this.MonitorTypes = 'MonitorTypes' in params ? params.MonitorTypes : null;
6937
+
6938
+ if (params.MonitorTypeInfos) {
6939
+ this.MonitorTypeInfos = new Array();
6940
+ for (let z in params.MonitorTypeInfos) {
6941
+ let obj = new MonitorTypeInfo();
6942
+ obj.deserialize(params.MonitorTypeInfos[z]);
6943
+ this.MonitorTypeInfos.push(obj);
6944
+ }
6945
+ }
6889
6946
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
6890
6947
 
6891
6948
  }
@@ -13945,6 +14002,7 @@ module.exports = {
13945
14002
  PutMonitorDataResponse: PutMonitorDataResponse,
13946
14003
  DescribePolicyGroupInfoRequest: DescribePolicyGroupInfoRequest,
13947
14004
  UpdateAlertRuleStateResponse: UpdateAlertRuleStateResponse,
14005
+ MonitorTypeInfo: MonitorTypeInfo,
13948
14006
  CreatePrometheusScrapeJobResponse: CreatePrometheusScrapeJobResponse,
13949
14007
  DescribePolicyGroupInfoCallback: DescribePolicyGroupInfoCallback,
13950
14008
  AlarmHistoryMetric: AlarmHistoryMetric,
@@ -37,6 +37,7 @@ const DescribeBindingPolicyObjectListResponse = models.DescribeBindingPolicyObje
37
37
  const PutMonitorDataResponse = models.PutMonitorDataResponse;
38
38
  const DescribePolicyGroupInfoRequest = models.DescribePolicyGroupInfoRequest;
39
39
  const UpdateAlertRuleStateResponse = models.UpdateAlertRuleStateResponse;
40
+ const MonitorTypeInfo = models.MonitorTypeInfo;
40
41
  const CreatePrometheusScrapeJobResponse = models.CreatePrometheusScrapeJobResponse;
41
42
  const DescribePolicyGroupInfoCallback = models.DescribePolicyGroupInfoCallback;
42
43
  const AlarmHistoryMetric = models.AlarmHistoryMetric;
@@ -182,6 +182,146 @@ class DetectedWords extends AbstractModel {
182
182
  }
183
183
  }
184
184
 
185
+ /**
186
+ * Form recognition result.
187
+ * @class
188
+ */
189
+ class TextTable extends AbstractModel {
190
+ constructor(){
191
+ super();
192
+
193
+ /**
194
+ * Column index of the top-left corner of the cell.
195
+ * @type {number || null}
196
+ */
197
+ this.ColTl = null;
198
+
199
+ /**
200
+ * Row index of the top-left corner of the cell.
201
+ * @type {number || null}
202
+ */
203
+ this.RowTl = null;
204
+
205
+ /**
206
+ * Column index of the bottom-right corner of the cell.
207
+ * @type {number || null}
208
+ */
209
+ this.ColBr = null;
210
+
211
+ /**
212
+ * Row index of the bottom-right corner of the cell.
213
+ * @type {number || null}
214
+ */
215
+ this.RowBr = null;
216
+
217
+ /**
218
+ * Cell text
219
+ * @type {string || null}
220
+ */
221
+ this.Text = null;
222
+
223
+ /**
224
+ * Cell type. Valid values: body, header, footer
225
+ * @type {string || null}
226
+ */
227
+ this.Type = null;
228
+
229
+ /**
230
+ * Confidence. Value range: 0–100
231
+ * @type {number || null}
232
+ */
233
+ this.Confidence = null;
234
+
235
+ /**
236
+ * Text line coordinates, which are represented as 4 vertex coordinates.
237
+ * @type {Array.<Coord> || null}
238
+ */
239
+ this.Polygon = null;
240
+
241
+ /**
242
+ * Extended field
243
+ * @type {string || null}
244
+ */
245
+ this.AdvancedInfo = null;
246
+
247
+ }
248
+
249
+ /**
250
+ * @private
251
+ */
252
+ deserialize(params) {
253
+ if (!params) {
254
+ return;
255
+ }
256
+ this.ColTl = 'ColTl' in params ? params.ColTl : null;
257
+ this.RowTl = 'RowTl' in params ? params.RowTl : null;
258
+ this.ColBr = 'ColBr' in params ? params.ColBr : null;
259
+ this.RowBr = 'RowBr' in params ? params.RowBr : null;
260
+ this.Text = 'Text' in params ? params.Text : null;
261
+ this.Type = 'Type' in params ? params.Type : null;
262
+ this.Confidence = 'Confidence' in params ? params.Confidence : null;
263
+
264
+ if (params.Polygon) {
265
+ this.Polygon = new Array();
266
+ for (let z in params.Polygon) {
267
+ let obj = new Coord();
268
+ obj.deserialize(params.Polygon[z]);
269
+ this.Polygon.push(obj);
270
+ }
271
+ }
272
+ this.AdvancedInfo = 'AdvancedInfo' in params ? params.AdvancedInfo : null;
273
+
274
+ }
275
+ }
276
+
277
+ /**
278
+ * MLIDCardOCR request structure.
279
+ * @class
280
+ */
281
+ class MLIDCardOCRRequest extends AbstractModel {
282
+ constructor(){
283
+ super();
284
+
285
+ /**
286
+ * The Base64-encoded value of an image.
287
+ Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
288
+ Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
289
+ * @type {string || null}
290
+ */
291
+ this.ImageBase64 = null;
292
+
293
+ /**
294
+ * The URL of an image. (This field is not available outside the Chinese mainland.)
295
+ Supported image formats: PNG, JPG, and JPEG. GIF is currently not supported.
296
+ Supported image size: The downloaded image after Base64 encoding can be up to 7 MB. The download time of the image cannot exceed 3s.
297
+ We recommend that you store the image in Tencent Cloud for higher download speed and stability.
298
+ For a non-Tencent Cloud URL, the download speed and stability may be low.
299
+ * @type {string || null}
300
+ */
301
+ this.ImageUrl = null;
302
+
303
+ /**
304
+ * Whether to return an image. Default value: `false`.
305
+ * @type {boolean || null}
306
+ */
307
+ this.RetImage = null;
308
+
309
+ }
310
+
311
+ /**
312
+ * @private
313
+ */
314
+ deserialize(params) {
315
+ if (!params) {
316
+ return;
317
+ }
318
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
319
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
320
+ this.RetImage = 'RetImage' in params ? params.RetImage : null;
321
+
322
+ }
323
+ }
324
+
185
325
  /**
186
326
  * TableOCR request structure.
187
327
  * @class
@@ -1073,66 +1213,89 @@ Note: this field may return null, indicating that no valid values can be obtaine
1073
1213
  }
1074
1214
 
1075
1215
  /**
1076
- * Form recognition result.
1216
+ * MLIDCardOCR response structure.
1077
1217
  * @class
1078
1218
  */
1079
- class TextTable extends AbstractModel {
1219
+ class MLIDCardOCRResponse extends AbstractModel {
1080
1220
  constructor(){
1081
1221
  super();
1082
1222
 
1083
1223
  /**
1084
- * Column index of the top-left corner of the cell.
1085
- * @type {number || null}
1224
+ * ID number
1225
+ * @type {string || null}
1086
1226
  */
1087
- this.ColTl = null;
1227
+ this.ID = null;
1088
1228
 
1089
1229
  /**
1090
- * Row index of the top-left corner of the cell.
1091
- * @type {number || null}
1230
+ * Full name
1231
+ * @type {string || null}
1092
1232
  */
1093
- this.RowTl = null;
1233
+ this.Name = null;
1094
1234
 
1095
1235
  /**
1096
- * Column index of the bottom-right corner of the cell.
1097
- * @type {number || null}
1236
+ * Address
1237
+ * @type {string || null}
1098
1238
  */
1099
- this.ColBr = null;
1239
+ this.Address = null;
1100
1240
 
1101
1241
  /**
1102
- * Row index of the bottom-right corner of the cell.
1103
- * @type {number || null}
1242
+ * Gender
1243
+ * @type {string || null}
1104
1244
  */
1105
- this.RowBr = null;
1245
+ this.Sex = null;
1106
1246
 
1107
1247
  /**
1108
- * Cell text
1248
+ * Alarm codes
1249
+ -9103 Alarm for photographed certificate
1250
+ -9102 Alarm for photocopied certificate
1251
+ -9106 Alarm for covered certificate
1252
+ -9107 Alarm for blurry image
1253
+ * @type {Array.<number> || null}
1254
+ */
1255
+ this.Warn = null;
1256
+
1257
+ /**
1258
+ * Identity photo
1109
1259
  * @type {string || null}
1110
1260
  */
1111
- this.Text = null;
1261
+ this.Image = null;
1112
1262
 
1113
1263
  /**
1114
- * Cell type. Valid values: body, header, footer
1264
+ * This is an extended field,
1265
+ with the confidence of a field recognition result returned in the following format.
1266
+ {
1267
+ Field name:{
1268
+ Confidence:0.9999
1269
+ }
1270
+ }
1115
1271
  * @type {string || null}
1116
1272
  */
1117
- this.Type = null;
1273
+ this.AdvancedInfo = null;
1118
1274
 
1119
1275
  /**
1120
- * Confidence. Value range: 0–100
1121
- * @type {number || null}
1276
+ * Certificate type
1277
+ MyKad ID card
1278
+ MyPR Permanent resident card
1279
+ MyTentera Military identity card
1280
+ MyKAS Temporary ID card
1281
+ POLIS Police card
1282
+ IKAD Work permit
1283
+ MyKid Kid card
1284
+ * @type {string || null}
1122
1285
  */
1123
- this.Confidence = null;
1286
+ this.Type = null;
1124
1287
 
1125
1288
  /**
1126
- * Text line coordinates, which are represented as 4 vertex coordinates.
1127
- * @type {Array.<Coord> || null}
1289
+ * Date of birth. This field is available only for work permits (i-Kad) and ID cards (MyKad).
1290
+ * @type {string || null}
1128
1291
  */
1129
- this.Polygon = null;
1292
+ this.Birthday = null;
1130
1293
 
1131
1294
  /**
1132
- * Extended field
1295
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1133
1296
  * @type {string || null}
1134
1297
  */
1135
- this.AdvancedInfo = null;
1298
+ this.RequestId = null;
1136
1299
 
1137
1300
  }
1138
1301
 
@@ -1143,23 +1306,16 @@ class TextTable extends AbstractModel {
1143
1306
  if (!params) {
1144
1307
  return;
1145
1308
  }
1146
- this.ColTl = 'ColTl' in params ? params.ColTl : null;
1147
- this.RowTl = 'RowTl' in params ? params.RowTl : null;
1148
- this.ColBr = 'ColBr' in params ? params.ColBr : null;
1149
- this.RowBr = 'RowBr' in params ? params.RowBr : null;
1150
- this.Text = 'Text' in params ? params.Text : null;
1151
- this.Type = 'Type' in params ? params.Type : null;
1152
- this.Confidence = 'Confidence' in params ? params.Confidence : null;
1153
-
1154
- if (params.Polygon) {
1155
- this.Polygon = new Array();
1156
- for (let z in params.Polygon) {
1157
- let obj = new Coord();
1158
- obj.deserialize(params.Polygon[z]);
1159
- this.Polygon.push(obj);
1160
- }
1161
- }
1309
+ this.ID = 'ID' in params ? params.ID : null;
1310
+ this.Name = 'Name' in params ? params.Name : null;
1311
+ this.Address = 'Address' in params ? params.Address : null;
1312
+ this.Sex = 'Sex' in params ? params.Sex : null;
1313
+ this.Warn = 'Warn' in params ? params.Warn : null;
1314
+ this.Image = 'Image' in params ? params.Image : null;
1162
1315
  this.AdvancedInfo = 'AdvancedInfo' in params ? params.AdvancedInfo : null;
1316
+ this.Type = 'Type' in params ? params.Type : null;
1317
+ this.Birthday = 'Birthday' in params ? params.Birthday : null;
1318
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1163
1319
 
1164
1320
  }
1165
1321
  }
@@ -1266,6 +1422,8 @@ module.exports = {
1266
1422
  GeneralAccurateOCRRequest: GeneralAccurateOCRRequest,
1267
1423
  GeneralBasicOCRResponse: GeneralBasicOCRResponse,
1268
1424
  DetectedWords: DetectedWords,
1425
+ TextTable: TextTable,
1426
+ MLIDCardOCRRequest: MLIDCardOCRRequest,
1269
1427
  TableOCRRequest: TableOCRRequest,
1270
1428
  TableOCRResponse: TableOCRResponse,
1271
1429
  DetectedWordCoordPoint: DetectedWordCoordPoint,
@@ -1279,7 +1437,7 @@ module.exports = {
1279
1437
  TextDetection: TextDetection,
1280
1438
  MLIDPassportOCRRequest: MLIDPassportOCRRequest,
1281
1439
  HKIDCardOCRResponse: HKIDCardOCRResponse,
1282
- TextTable: TextTable,
1440
+ MLIDCardOCRResponse: MLIDCardOCRResponse,
1283
1441
  GeneralBasicOCRRequest: GeneralBasicOCRRequest,
1284
1442
 
1285
1443
  }
@@ -19,6 +19,8 @@ const AbstractClient = require('../../common/abstract_client')
19
19
  const GeneralAccurateOCRRequest = models.GeneralAccurateOCRRequest;
20
20
  const GeneralBasicOCRResponse = models.GeneralBasicOCRResponse;
21
21
  const DetectedWords = models.DetectedWords;
22
+ const TextTable = models.TextTable;
23
+ const MLIDCardOCRRequest = models.MLIDCardOCRRequest;
22
24
  const TableOCRRequest = models.TableOCRRequest;
23
25
  const TableOCRResponse = models.TableOCRResponse;
24
26
  const DetectedWordCoordPoint = models.DetectedWordCoordPoint;
@@ -32,7 +34,7 @@ const GeneralAccurateOCRResponse = models.GeneralAccurateOCRResponse;
32
34
  const TextDetection = models.TextDetection;
33
35
  const MLIDPassportOCRRequest = models.MLIDPassportOCRRequest;
34
36
  const HKIDCardOCRResponse = models.HKIDCardOCRResponse;
35
- const TextTable = models.TextTable;
37
+ const MLIDCardOCRResponse = models.MLIDCardOCRResponse;
36
38
  const GeneralBasicOCRRequest = models.GeneralBasicOCRRequest;
37
39
 
38
40
 
@@ -72,6 +74,19 @@ This API is not fully available for the time being. For more information, please
72
74
  this.request("TableOCR", req, resp, cb);
73
75
  }
74
76
 
77
+ /**
78
+ * This API is used to recognize a Malaysian identity card, including identity card number, name, gender, and address. It is also used to crop identity photos and give alarms for photographed or photocopied certificates.
79
+
80
+ This API is not fully available for the time being. For more information, contact your [Tencent Cloud sales rep](https://intl.cloud.tencent.com/contact-sales).
81
+ * @param {MLIDCardOCRRequest} req
82
+ * @param {function(string, MLIDCardOCRResponse):void} cb
83
+ * @public
84
+ */
85
+ MLIDCardOCR(req, cb) {
86
+ let resp = new MLIDCardOCRResponse();
87
+ this.request("MLIDCardOCR", req, resp, cb);
88
+ }
89
+
75
90
  /**
76
91
  * This API is used to detect and recognize characters in an image in the following 20 languages: Chinese, English, Japanese, Korean, Spanish, French, German, Portuguese, Vietnamese, Malay, Russian, Italian, Dutch, Swedish, Finnish, Danish, Norwegian, Hungarian, Thai, and Arabic. Mixed characters in English and each supported language can be recognized together.
77
92
 
@@ -4731,6 +4731,41 @@ class DescribeInstanceAccountRequest extends AbstractModel {
4731
4731
  }
4732
4732
  }
4733
4733
 
4734
+ /**
4735
+ * SwitchProxy request structure.
4736
+ * @class
4737
+ */
4738
+ class SwitchProxyRequest extends AbstractModel {
4739
+ constructor(){
4740
+ super();
4741
+
4742
+ /**
4743
+ * Instance ID
4744
+ * @type {string || null}
4745
+ */
4746
+ this.InstanceId = null;
4747
+
4748
+ /**
4749
+ * Instance ProxyID
4750
+ * @type {string || null}
4751
+ */
4752
+ this.ProxyID = null;
4753
+
4754
+ }
4755
+
4756
+ /**
4757
+ * @private
4758
+ */
4759
+ deserialize(params) {
4760
+ if (!params) {
4761
+ return;
4762
+ }
4763
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4764
+ this.ProxyID = 'ProxyID' in params ? params.ProxyID : null;
4765
+
4766
+ }
4767
+ }
4768
+
4734
4769
  /**
4735
4770
  * DescribeInstanceParamRecords request structure.
4736
4771
  * @class
@@ -6320,6 +6355,34 @@ class TendisNodes extends AbstractModel {
6320
6355
  }
6321
6356
  }
6322
6357
 
6358
+ /**
6359
+ * SwitchProxy response structure.
6360
+ * @class
6361
+ */
6362
+ class SwitchProxyResponse extends AbstractModel {
6363
+ constructor(){
6364
+ super();
6365
+
6366
+ /**
6367
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
6368
+ * @type {string || null}
6369
+ */
6370
+ this.RequestId = null;
6371
+
6372
+ }
6373
+
6374
+ /**
6375
+ * @private
6376
+ */
6377
+ deserialize(params) {
6378
+ if (!params) {
6379
+ return;
6380
+ }
6381
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
6382
+
6383
+ }
6384
+ }
6385
+
6323
6386
  /**
6324
6387
  * StartupInstance response structure.
6325
6388
  * @class
@@ -10828,6 +10891,7 @@ module.exports = {
10828
10891
  DescribeInstanceMonitorTopNCmdTookResponse: DescribeInstanceMonitorTopNCmdTookResponse,
10829
10892
  DescribeInstanceMonitorBigKeySizeDistRequest: DescribeInstanceMonitorBigKeySizeDistRequest,
10830
10893
  DescribeInstanceAccountRequest: DescribeInstanceAccountRequest,
10894
+ SwitchProxyRequest: SwitchProxyRequest,
10831
10895
  DescribeInstanceParamRecordsRequest: DescribeInstanceParamRecordsRequest,
10832
10896
  DescribeTaskListRequest: DescribeTaskListRequest,
10833
10897
  ChangeReplicaToMasterResponse: ChangeReplicaToMasterResponse,
@@ -10860,6 +10924,7 @@ module.exports = {
10860
10924
  ProductConf: ProductConf,
10861
10925
  InstanceNode: InstanceNode,
10862
10926
  TendisNodes: TendisNodes,
10927
+ SwitchProxyResponse: SwitchProxyResponse,
10863
10928
  StartupInstanceResponse: StartupInstanceResponse,
10864
10929
  DescribeInstanceDTSInstanceInfo: DescribeInstanceDTSInstanceInfo,
10865
10930
  TradeDealDetail: TradeDealDetail,
@@ -111,6 +111,7 @@ const ParamTemplateInfo = models.ParamTemplateInfo;
111
111
  const DescribeInstanceMonitorTopNCmdTookResponse = models.DescribeInstanceMonitorTopNCmdTookResponse;
112
112
  const DescribeInstanceMonitorBigKeySizeDistRequest = models.DescribeInstanceMonitorBigKeySizeDistRequest;
113
113
  const DescribeInstanceAccountRequest = models.DescribeInstanceAccountRequest;
114
+ const SwitchProxyRequest = models.SwitchProxyRequest;
114
115
  const DescribeInstanceParamRecordsRequest = models.DescribeInstanceParamRecordsRequest;
115
116
  const DescribeTaskListRequest = models.DescribeTaskListRequest;
116
117
  const ChangeReplicaToMasterResponse = models.ChangeReplicaToMasterResponse;
@@ -143,6 +144,7 @@ const ReleaseWanAddressResponse = models.ReleaseWanAddressResponse;
143
144
  const ProductConf = models.ProductConf;
144
145
  const InstanceNode = models.InstanceNode;
145
146
  const TendisNodes = models.TendisNodes;
147
+ const SwitchProxyResponse = models.SwitchProxyResponse;
146
148
  const StartupInstanceResponse = models.StartupInstanceResponse;
147
149
  const DescribeInstanceDTSInstanceInfo = models.DescribeInstanceDTSInstanceInfo;
148
150
  const TradeDealDetail = models.TradeDealDetail;
@@ -419,6 +421,17 @@ class RedisClient extends AbstractClient {
419
421
  this.request("DescribeInstanceMonitorTopNCmdTook", req, resp, cb);
420
422
  }
421
423
 
424
+ /**
425
+ * This API is used to simulate the failure of a proxy node.
426
+ * @param {SwitchProxyRequest} req
427
+ * @param {function(string, SwitchProxyResponse):void} cb
428
+ * @public
429
+ */
430
+ SwitchProxy(req, cb) {
431
+ let resp = new SwitchProxyResponse();
432
+ this.request("SwitchProxy", req, resp, cb);
433
+ }
434
+
422
435
  /**
423
436
  * This API is used to promote a replica node group of a multi-AZ deployed instance to master node group or a replica node of a single-AZ deployed instance to master node.
424
437
  * @param {ChangeReplicaToMasterRequest} req