tencentcloud-sdk-nodejs 4.0.258 → 4.0.259
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 +422 -96
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cat/v20180409/cat_client.ts +158 -55
- package/src/services/cat/v20180409/cat_models.ts +1535 -863
- package/src/services/cbs/v20170312/cbs_client.ts +6 -5
- package/src/services/cbs/v20170312/cbs_models.ts +112 -87
- package/src/services/cdn/v20180606/cdn_models.ts +11 -0
- package/src/services/cls/v20201016/cls_client.ts +65 -15
- package/src/services/cls/v20201016/cls_models.ts +258 -70
- package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +35 -0
- package/src/services/dlc/v20210125/dlc_client.ts +4 -4
- package/src/services/dlc/v20210125/dlc_models.ts +170 -8
- package/src/services/dnspod/v20210323/dnspod_models.ts +8 -8
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +11 -11
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +58 -58
- package/src/services/mariadb/v20170312/mariadb_client.ts +12 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +30 -0
- package/src/services/scf/v20180416/scf_client.ts +1 -1
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +10 -10
- package/src/services/thpc/v20211109/thpc_models.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +7 -2
- package/src/services/vpc/v20170312/vpc_models.ts +53 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cat/v20180409/cat_client.d.ts +35 -3
- package/tencentcloud/services/cat/v20180409/cat_client.js +51 -3
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1414 -844
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +95 -74
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +9 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +21 -5
- package/tencentcloud/services/cls/v20201016/cls_client.js +30 -6
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +228 -67
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +30 -0
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +4 -4
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +4 -4
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +141 -8
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +8 -8
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +11 -11
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +11 -11
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +58 -58
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +26 -0
- package/tencentcloud/services/scf/v20180416/scf_client.d.ts +1 -1
- package/tencentcloud/services/scf/v20180416/scf_client.js +1 -1
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +10 -10
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +6 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +45 -1
- package/test/cat.v20180409.test.js +82 -2
- package/test/cls.v20201016.test.js +44 -4
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/mariadb.v20170312.test.js +10 -0
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.cat.v20180409.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cat.v20180409.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("cat.v20180409.SuspendProbeTask", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.SuspendProbeTask({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("cat.v20180409.GetRespTimeTrendEx", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.GetRespTimeTrendEx({})
|
|
@@ -48,6 +58,16 @@ it("cat.v20180409.DescribeTasksByType", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
61
|
+
it("cat.v20180409.VerifyResult", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.VerifyResult({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
51
71
|
it("cat.v20180409.CreateTaskEx", async function () {
|
|
52
72
|
try {
|
|
53
73
|
const data = await client.CreateTaskEx({})
|
|
@@ -108,6 +128,16 @@ it("cat.v20180409.DescribeTaskDetail", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
131
|
+
it("cat.v20180409.CreateProbeTasks", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.CreateProbeTasks({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
111
141
|
it("cat.v20180409.DescribeAlarmTopic", async function () {
|
|
112
142
|
try {
|
|
113
143
|
const data = await client.DescribeAlarmTopic({})
|
|
@@ -158,6 +188,16 @@ it("cat.v20180409.GetDailyAvailRatio", async function () {
|
|
|
158
188
|
}
|
|
159
189
|
})
|
|
160
190
|
|
|
191
|
+
it("cat.v20180409.ResumeProbeTask", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.ResumeProbeTask({})
|
|
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
|
+
|
|
161
201
|
it("cat.v20180409.ModifyTaskEx", async function () {
|
|
162
202
|
try {
|
|
163
203
|
const data = await client.ModifyTaskEx({})
|
|
@@ -198,9 +238,19 @@ it("cat.v20180409.DescribeCatLogs", async function () {
|
|
|
198
238
|
}
|
|
199
239
|
})
|
|
200
240
|
|
|
201
|
-
it("cat.v20180409.
|
|
241
|
+
it("cat.v20180409.UpdateProbeTaskConfigurationList", async function () {
|
|
202
242
|
try {
|
|
203
|
-
const data = await client.
|
|
243
|
+
const data = await client.UpdateProbeTaskConfigurationList({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
251
|
+
it("cat.v20180409.DescribeDetailedSingleProbeData", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeDetailedSingleProbeData({})
|
|
204
254
|
expect(data).to.be.ok
|
|
205
255
|
} catch(error) {
|
|
206
256
|
expect(error.requestId).to.be.ok
|
|
@@ -218,6 +268,16 @@ it("cat.v20180409.BindAlarmPolicy", async function () {
|
|
|
218
268
|
}
|
|
219
269
|
})
|
|
220
270
|
|
|
271
|
+
it("cat.v20180409.DescribeProbeTasks", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeProbeTasks({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
221
281
|
it("cat.v20180409.GetResultSummary", async function () {
|
|
222
282
|
try {
|
|
223
283
|
const data = await client.GetResultSummary({})
|
|
@@ -258,6 +318,16 @@ it("cat.v20180409.RunTask", async function () {
|
|
|
258
318
|
}
|
|
259
319
|
})
|
|
260
320
|
|
|
321
|
+
it("cat.v20180409.DescribeProbeNodes", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.DescribeProbeNodes({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
261
331
|
it("cat.v20180409.GetReturnCodeInfo", async function () {
|
|
262
332
|
try {
|
|
263
333
|
const data = await client.GetReturnCodeInfo({})
|
|
@@ -278,6 +348,16 @@ it("cat.v20180409.DescribeAlarmsByTask", async function () {
|
|
|
278
348
|
}
|
|
279
349
|
})
|
|
280
350
|
|
|
351
|
+
it("cat.v20180409.DeleteProbeTask", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.DeleteProbeTask({})
|
|
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
|
+
|
|
281
361
|
it("cat.v20180409.GetTaskTotalNumber", async function () {
|
|
282
362
|
try {
|
|
283
363
|
const data = await client.GetTaskTotalNumber({})
|
|
@@ -48,6 +48,16 @@ it("cls.v20201016.GetAlarmLog", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
+
it("cls.v20201016.CreateConsumer", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.CreateConsumer({})
|
|
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("cls.v20201016.ModifyTopic", async function () {
|
|
52
62
|
try {
|
|
53
63
|
const data = await client.ModifyTopic({})
|
|
@@ -168,9 +178,9 @@ it("cls.v20201016.CreateShipper", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
171
|
-
it("cls.v20201016.
|
|
181
|
+
it("cls.v20201016.ModifyConsumer", async function () {
|
|
172
182
|
try {
|
|
173
|
-
const data = await client.
|
|
183
|
+
const data = await client.ModifyConsumer({})
|
|
174
184
|
expect(data).to.be.ok
|
|
175
185
|
} catch(error) {
|
|
176
186
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +208,9 @@ it("cls.v20201016.CreateAlarmNotice", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
201
|
-
it("cls.v20201016.
|
|
211
|
+
it("cls.v20201016.DeleteConsumer", async function () {
|
|
202
212
|
try {
|
|
203
|
-
const data = await client.
|
|
213
|
+
const data = await client.DeleteConsumer({})
|
|
204
214
|
expect(data).to.be.ok
|
|
205
215
|
} catch(error) {
|
|
206
216
|
expect(error.requestId).to.be.ok
|
|
@@ -408,6 +418,16 @@ it("cls.v20201016.CreateAsyncContextTask", async function () {
|
|
|
408
418
|
}
|
|
409
419
|
})
|
|
410
420
|
|
|
421
|
+
it("cls.v20201016.ModifyShipper", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.ModifyShipper({})
|
|
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
|
+
|
|
411
431
|
it("cls.v20201016.CreateConfig", async function () {
|
|
412
432
|
try {
|
|
413
433
|
const data = await client.CreateConfig({})
|
|
@@ -478,6 +498,26 @@ it("cls.v20201016.DescribeLogContext", async function () {
|
|
|
478
498
|
}
|
|
479
499
|
})
|
|
480
500
|
|
|
501
|
+
it("cls.v20201016.DescribeConsumer", async function () {
|
|
502
|
+
try {
|
|
503
|
+
const data = await client.DescribeConsumer({})
|
|
504
|
+
expect(data).to.be.ok
|
|
505
|
+
} catch(error) {
|
|
506
|
+
expect(error.requestId).to.be.ok
|
|
507
|
+
expect(error.code).to.be.ok
|
|
508
|
+
}
|
|
509
|
+
})
|
|
510
|
+
|
|
511
|
+
it("cls.v20201016.DescribeConfigs", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.DescribeConfigs({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
481
521
|
it("cls.v20201016.MergePartition", async function () {
|
|
482
522
|
try {
|
|
483
523
|
const data = await client.MergePartition({})
|
|
@@ -98,6 +98,16 @@ it("dcdb.v20180411.ModifyRealServerAccessStrategy", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("dcdb.v20180411.DescribeFileDownloadUrl", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeFileDownloadUrl({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("dcdb.v20180411.ModifyAccountDescription", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.ModifyAccountDescription({})
|
|
@@ -98,6 +98,16 @@ it("mariadb.v20170312.ModifyRealServerAccessStrategy", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("mariadb.v20170312.DescribeFileDownloadUrl", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeFileDownloadUrl({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("mariadb.v20170312.DescribeBackupTime", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.DescribeBackupTime({})
|