tencentcloud-sdk-nodejs 4.0.328 → 4.0.331
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 +443 -0
- package/SERVICE_CHANGELOG.md +689 -11
- package/package.json +1 -1
- package/products.md +23 -22
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +5 -5
- package/src/services/apigateway/v20180808/apigateway_models.ts +129 -88
- package/src/services/car/index.ts +5 -0
- package/src/services/car/v20220110/car_client.ts +67 -0
- package/src/services/car/v20220110/car_models.ts +106 -0
- package/src/services/car/v20220110/index.ts +6 -0
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/cdn/v20180606/cdn_client.ts +3 -1
- package/src/services/cdn/v20180606/cdn_models.ts +67 -9
- package/src/services/ckafka/v20190819/ckafka_models.ts +12 -2
- package/src/services/clb/v20180317/clb_models.ts +5 -4
- package/src/services/cls/v20201016/cls_models.ts +12 -0
- package/src/services/cvm/v20170312/cvm_models.ts +17 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +145 -34
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +646 -91
- package/src/services/dlc/v20210125/dlc_models.ts +24 -1
- package/src/services/domain/v20180808/domain_client.ts +15 -2
- package/src/services/domain/v20180808/domain_models.ts +202 -30
- package/src/services/ess/v20201111/ess_models.ts +4 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +11 -6
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +32 -1
- package/src/services/rce/v20201103/rce_models.ts +11 -0
- package/src/services/redis/v20180412/redis_client.ts +37 -13
- package/src/services/redis/v20180412/redis_models.ts +113 -53
- package/src/services/tcss/v20201101/tcss_models.ts +83 -13
- package/src/services/vod/v20180717/vod_models.ts +22 -2
- package/src/services/waf/v20180125/waf_client.ts +14 -0
- package/src/services/waf/v20180125/waf_models.ts +73 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +5 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +5 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +121 -88
- package/tencentcloud/services/car/index.d.ts +6 -0
- package/tencentcloud/services/car/index.js +7 -0
- package/tencentcloud/services/car/v20220110/car_client.d.ts +22 -0
- package/tencentcloud/services/car/v20220110/car_client.js +49 -0
- package/tencentcloud/services/car/v20220110/car_models.d.ts +78 -0
- package/tencentcloud/services/car/v20220110/car_models.js +18 -0
- package/tencentcloud/services/car/v20220110/index.d.ts +6 -0
- package/tencentcloud/services/car/v20220110/index.js +9 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +57 -8
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +10 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -4
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +10 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +14 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +47 -11
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +69 -15
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +534 -69
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -1
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +179 -30
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +3 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -5
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +27 -1
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +9 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +13 -5
- package/tencentcloud/services/redis/v20180412/redis_client.js +18 -6
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +96 -44
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +70 -11
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +18 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +62 -2
- package/test/car.v20220110.test.js +51 -0
- package/test/dbbrain.v20210527.test.js +100 -10
- package/test/domain.v20180808.test.js +10 -0
- package/test/redis.v20180412.test.js +24 -4
- package/test/waf.v20180125.test.js +10 -0
|
@@ -48,6 +48,16 @@ it("dbbrain.v20210527.CreateSchedulerMailProfile", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("dbbrain.v20210527.DescribeSqlTemplate", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeSqlTemplate({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
51
61
|
it("dbbrain.v20210527.DescribeTopSpaceSchemas", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.DescribeTopSpaceSchemas({})
|
|
@@ -68,9 +78,9 @@ it("dbbrain.v20210527.DescribeMySqlProcessList", async function () {
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
71
|
-
it("dbbrain.v20210527.
|
|
81
|
+
it("dbbrain.v20210527.CreateMailProfile", async function () {
|
|
72
82
|
try {
|
|
73
|
-
const data = await client.
|
|
83
|
+
const data = await client.CreateMailProfile({})
|
|
74
84
|
expect(data).to.be.ok
|
|
75
85
|
} catch(error) {
|
|
76
86
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +138,19 @@ it("dbbrain.v20210527.DescribeSlowLogUserHostStats", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("dbbrain.v20210527.
|
|
141
|
+
it("dbbrain.v20210527.DescribeSlowLogTopSqls", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribeSlowLogTopSqls({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("dbbrain.v20210527.CreateSqlFilter", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.CreateSqlFilter({})
|
|
134
154
|
expect(data).to.be.ok
|
|
135
155
|
} catch(error) {
|
|
136
156
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +168,9 @@ it("dbbrain.v20210527.DescribeDBSpaceStatus", async function () {
|
|
|
148
168
|
}
|
|
149
169
|
})
|
|
150
170
|
|
|
151
|
-
it("dbbrain.v20210527.
|
|
171
|
+
it("dbbrain.v20210527.CreateProxySessionKillTask", async function () {
|
|
152
172
|
try {
|
|
153
|
-
const data = await client.
|
|
173
|
+
const data = await client.CreateProxySessionKillTask({})
|
|
154
174
|
expect(data).to.be.ok
|
|
155
175
|
} catch(error) {
|
|
156
176
|
expect(error.requestId).to.be.ok
|
|
@@ -168,6 +188,16 @@ it("dbbrain.v20210527.DescribeHealthScore", async function () {
|
|
|
168
188
|
}
|
|
169
189
|
})
|
|
170
190
|
|
|
191
|
+
it("dbbrain.v20210527.CancelKillTask", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.CancelKillTask({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
171
201
|
it("dbbrain.v20210527.CreateSecurityAuditLogExportTask", async function () {
|
|
172
202
|
try {
|
|
173
203
|
const data = await client.CreateSecurityAuditLogExportTask({})
|
|
@@ -178,6 +208,16 @@ it("dbbrain.v20210527.CreateSecurityAuditLogExportTask", async function () {
|
|
|
178
208
|
}
|
|
179
209
|
})
|
|
180
210
|
|
|
211
|
+
it("dbbrain.v20210527.DescribeUserSqlAdvice", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DescribeUserSqlAdvice({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
181
221
|
it("dbbrain.v20210527.DeleteSecurityAuditLogExportTasks", async function () {
|
|
182
222
|
try {
|
|
183
223
|
const data = await client.DeleteSecurityAuditLogExportTasks({})
|
|
@@ -188,9 +228,9 @@ it("dbbrain.v20210527.DeleteSecurityAuditLogExportTasks", async function () {
|
|
|
188
228
|
}
|
|
189
229
|
})
|
|
190
230
|
|
|
191
|
-
it("dbbrain.v20210527.
|
|
231
|
+
it("dbbrain.v20210527.DescribeRedisTopBigKeys", async function () {
|
|
192
232
|
try {
|
|
193
|
-
const data = await client.
|
|
233
|
+
const data = await client.DescribeRedisTopBigKeys({})
|
|
194
234
|
expect(data).to.be.ok
|
|
195
235
|
} catch(error) {
|
|
196
236
|
expect(error.requestId).to.be.ok
|
|
@@ -238,6 +278,16 @@ it("dbbrain.v20210527.DescribeDBDiagHistory", async function () {
|
|
|
238
278
|
}
|
|
239
279
|
})
|
|
240
280
|
|
|
281
|
+
it("dbbrain.v20210527.ModifySqlFilters", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.ModifySqlFilters({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
241
291
|
it("dbbrain.v20210527.CreateDBDiagReportTask", async function () {
|
|
242
292
|
try {
|
|
243
293
|
const data = await client.CreateDBDiagReportTask({})
|
|
@@ -258,6 +308,16 @@ it("dbbrain.v20210527.DescribeDiagDBInstances", async function () {
|
|
|
258
308
|
}
|
|
259
309
|
})
|
|
260
310
|
|
|
311
|
+
it("dbbrain.v20210527.DeleteSqlFilters", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.DeleteSqlFilters({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
261
321
|
it("dbbrain.v20210527.AddUserContact", async function () {
|
|
262
322
|
try {
|
|
263
323
|
const data = await client.AddUserContact({})
|
|
@@ -288,9 +348,29 @@ it("dbbrain.v20210527.CreateKillTask", async function () {
|
|
|
288
348
|
}
|
|
289
349
|
})
|
|
290
350
|
|
|
291
|
-
it("dbbrain.v20210527.
|
|
351
|
+
it("dbbrain.v20210527.DescribeNoPrimaryKeyTables", async function () {
|
|
292
352
|
try {
|
|
293
|
-
const data = await client.
|
|
353
|
+
const data = await client.DescribeNoPrimaryKeyTables({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
361
|
+
it("dbbrain.v20210527.DescribeTopSpaceTables", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeTopSpaceTables({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
371
|
+
it("dbbrain.v20210527.DescribeSqlFilters", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DescribeSqlFilters({})
|
|
294
374
|
expect(data).to.be.ok
|
|
295
375
|
} catch(error) {
|
|
296
376
|
expect(error.requestId).to.be.ok
|
|
@@ -338,6 +418,16 @@ it("dbbrain.v20210527.CreateDBDiagReportUrl", async function () {
|
|
|
338
418
|
}
|
|
339
419
|
})
|
|
340
420
|
|
|
421
|
+
it("dbbrain.v20210527.VerifyUserAccount", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.VerifyUserAccount({})
|
|
424
|
+
expect(data).to.be.ok
|
|
425
|
+
} catch(error) {
|
|
426
|
+
expect(error.requestId).to.be.ok
|
|
427
|
+
expect(error.code).to.be.ok
|
|
428
|
+
}
|
|
429
|
+
})
|
|
430
|
+
|
|
341
431
|
it("dbbrain.v20210527.DescribeProxySessionKillTasks", async function () {
|
|
342
432
|
try {
|
|
343
433
|
const data = await client.DescribeProxySessionKillTasks({})
|
|
@@ -248,6 +248,16 @@ it("domain.v20180808.SendPhoneEmailCode", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
+
it("domain.v20180808.DescribeDomainSimpleInfo", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeDomainSimpleInfo({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
251
261
|
it("domain.v20180808.DescribeDomainPriceList", async function () {
|
|
252
262
|
try {
|
|
253
263
|
const data = await client.DescribeDomainPriceList({})
|
|
@@ -88,6 +88,16 @@ it("redis.v20180412.DescribeParamTemplates", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("redis.v20180412.ReleaseWanAddress", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ReleaseWanAddress({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
91
101
|
it("redis.v20180412.DescribeSlowLog", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.DescribeSlowLog({})
|
|
@@ -408,9 +418,9 @@ it("redis.v20180412.DescribeTaskInfo", async function () {
|
|
|
408
418
|
}
|
|
409
419
|
})
|
|
410
420
|
|
|
411
|
-
it("redis.v20180412.
|
|
421
|
+
it("redis.v20180412.AllocateWanAddress", async function () {
|
|
412
422
|
try {
|
|
413
|
-
const data = await client.
|
|
423
|
+
const data = await client.AllocateWanAddress({})
|
|
414
424
|
expect(data).to.be.ok
|
|
415
425
|
} catch(error) {
|
|
416
426
|
expect(error.requestId).to.be.ok
|
|
@@ -518,6 +528,16 @@ it("redis.v20180412.DescribeInstanceMonitorBigKey", async function () {
|
|
|
518
528
|
}
|
|
519
529
|
})
|
|
520
530
|
|
|
531
|
+
it("redis.v20180412.SwitchInstanceVip", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.SwitchInstanceVip({})
|
|
534
|
+
expect(data).to.be.ok
|
|
535
|
+
} catch(error) {
|
|
536
|
+
expect(error.requestId).to.be.ok
|
|
537
|
+
expect(error.code).to.be.ok
|
|
538
|
+
}
|
|
539
|
+
})
|
|
540
|
+
|
|
521
541
|
it("redis.v20180412.DescribeInstanceSecurityGroup", async function () {
|
|
522
542
|
try {
|
|
523
543
|
const data = await client.DescribeInstanceSecurityGroup({})
|
|
@@ -768,9 +788,9 @@ it("redis.v20180412.DescribeInstanceMonitorTookDist", async function () {
|
|
|
768
788
|
}
|
|
769
789
|
})
|
|
770
790
|
|
|
771
|
-
it("redis.v20180412.
|
|
791
|
+
it("redis.v20180412.DescribeBackupUrl", async function () {
|
|
772
792
|
try {
|
|
773
|
-
const data = await client.
|
|
793
|
+
const data = await client.DescribeBackupUrl({})
|
|
774
794
|
expect(data).to.be.ok
|
|
775
795
|
} catch(error) {
|
|
776
796
|
expect(error.requestId).to.be.ok
|
|
@@ -68,6 +68,16 @@ it("waf.v20180125.DeleteDomainWhiteRules", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("waf.v20180125.DescribeDomains", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeDomains({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
71
81
|
it("waf.v20180125.DescribeAccessIndex", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeAccessIndex({})
|