tencentcloud-sdk-nodejs 4.0.289 → 4.0.293
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 +494 -0
- package/SERVICE_CHANGELOG.md +477 -37
- package/package.json +1 -1
- package/products.md +164 -164
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +4 -3
- package/src/services/batch/v20170312/batch_models.ts +15 -15
- package/src/services/cdb/v20170320/cdb_models.ts +17 -17
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +36 -4
- package/src/services/cii/v20210408/cii_client.ts +15 -0
- package/src/services/cii/v20210408/cii_models.ts +72 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +34 -10
- package/src/services/ckafka/v20190819/ckafka_models.ts +151 -46
- package/src/services/clb/v20180317/clb_client.ts +29 -15
- package/src/services/clb/v20180317/clb_models.ts +94 -0
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +209 -46
- package/src/services/cpdp/v20190820/cpdp_models.ts +2012 -541
- package/src/services/cvm/v20170312/cvm_models.ts +26 -16
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +199 -58
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +1668 -1113
- package/src/services/dcdb/v20180411/dcdb_client.ts +13 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +192 -0
- package/src/services/eb/v20210416/eb_client.ts +1 -1
- package/src/services/es/v20180416/es_models.ts +12 -0
- package/src/services/gaap/v20180529/gaap_models.ts +51 -6
- package/src/services/iecp/v20210914/iecp_client.ts +5 -5
- package/src/services/iecp/v20210914/iecp_models.ts +5 -5
- package/src/services/iotcloud/v20180614/iotcloud_client.ts +25 -1
- package/src/services/iotcloud/v20180614/iotcloud_models.ts +69 -4
- package/src/services/mariadb/v20170312/mariadb_client.ts +21 -5
- package/src/services/mariadb/v20170312/mariadb_models.ts +164 -69
- package/src/services/mna/v20210119/mna_client.ts +3 -0
- package/src/services/mna/v20210119/mna_models.ts +75 -0
- package/src/services/monitor/v20180724/monitor_models.ts +21 -2
- package/src/services/rum/v20210622/rum_models.ts +12 -12
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/src/services/ses/v20201002/ses_client.ts +1 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +66 -6
- package/src/services/tiw/v20190919/tiw_models.ts +6 -6
- package/src/services/tse/v20201207/tse_models.ts +10 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +3 -2
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +15 -15
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +17 -17
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +32 -4
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
- package/tencentcloud/services/cii/v20210408/cii_client.js +9 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +61 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +11 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +15 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +129 -41
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +10 -6
- package/tencentcloud/services/clb/v20180317/clb_client.js +13 -7
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +80 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +61 -13
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +90 -18
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1714 -463
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +24 -16
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +47 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +69 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1409 -933
- 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 +157 -0
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +1 -1
- package/tencentcloud/services/eb/v20210416/eb_client.js +1 -1
- package/tencentcloud/services/es/v20180416/es_models.d.ts +10 -0
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +43 -6
- package/tencentcloud/services/iecp/v20210914/iecp_client.d.ts +5 -5
- package/tencentcloud/services/iecp/v20210914/iecp_client.js +5 -5
- package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +5 -5
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.d.ts +9 -1
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.js +12 -0
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +60 -4
- 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 +141 -59
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +63 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +18 -2
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +12 -12
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +56 -5
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +6 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +8 -0
- package/test/cii.v20210408.test.js +10 -0
- package/test/ckafka.v20190819.test.js +22 -2
- package/test/clb.v20180317.test.js +14 -4
- package/test/cpdp.v20190820.test.js +132 -12
- package/test/cynosdb.v20190107.test.js +112 -2
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/iotcloud.v20180614.test.js +20 -0
- package/test/mariadb.v20170312.test.js +10 -0
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.cynosdb.v20190107.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cynosdb.v20190107.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("cynosdb.v20190107.ResumeServerless", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ResumeServerless({})
|
|
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("cynosdb.v20190107.DescribeBackupList", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeBackupList({})
|
|
@@ -28,6 +38,26 @@ it("cynosdb.v20190107.DescribeBackupList", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
41
|
+
it("cynosdb.v20190107.RevokeAccountPrivileges", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.RevokeAccountPrivileges({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("cynosdb.v20190107.RollBackCluster", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.RollBackCluster({})
|
|
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
|
+
|
|
31
61
|
it("cynosdb.v20190107.DescribeBackupConfig", async function () {
|
|
32
62
|
try {
|
|
33
63
|
const data = await client.DescribeBackupConfig({})
|
|
@@ -58,6 +88,16 @@ it("cynosdb.v20190107.OfflineCluster", async function () {
|
|
|
58
88
|
}
|
|
59
89
|
})
|
|
60
90
|
|
|
91
|
+
it("cynosdb.v20190107.PauseServerless", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.PauseServerless({})
|
|
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
|
+
|
|
61
101
|
it("cynosdb.v20190107.DescribeInstanceDetail", async function () {
|
|
62
102
|
try {
|
|
63
103
|
const data = await client.DescribeInstanceDetail({})
|
|
@@ -98,6 +138,26 @@ it("cynosdb.v20190107.DescribeInstances", async function () {
|
|
|
98
138
|
}
|
|
99
139
|
})
|
|
100
140
|
|
|
141
|
+
it("cynosdb.v20190107.GrantAccountPrivileges", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.GrantAccountPrivileges({})
|
|
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("cynosdb.v20190107.DescribeClusterParamLogs", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeClusterParamLogs({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
101
161
|
it("cynosdb.v20190107.ModifyMaintainPeriodConfig", async function () {
|
|
102
162
|
try {
|
|
103
163
|
const data = await client.ModifyMaintainPeriodConfig({})
|
|
@@ -108,6 +168,16 @@ it("cynosdb.v20190107.ModifyMaintainPeriodConfig", async function () {
|
|
|
108
168
|
}
|
|
109
169
|
})
|
|
110
170
|
|
|
171
|
+
it("cynosdb.v20190107.ModifyAccountParams", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyAccountParams({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
111
181
|
it("cynosdb.v20190107.OfflineInstance", async function () {
|
|
112
182
|
try {
|
|
113
183
|
const data = await client.OfflineInstance({})
|
|
@@ -158,6 +228,16 @@ it("cynosdb.v20190107.DescribeProjectSecurityGroups", async function () {
|
|
|
158
228
|
}
|
|
159
229
|
})
|
|
160
230
|
|
|
231
|
+
it("cynosdb.v20190107.AssociateSecurityGroups", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.AssociateSecurityGroups({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
161
241
|
it("cynosdb.v20190107.SetRenewFlag", async function () {
|
|
162
242
|
try {
|
|
163
243
|
const data = await client.SetRenewFlag({})
|
|
@@ -208,6 +288,16 @@ it("cynosdb.v20190107.DescribeInstanceSpecs", async function () {
|
|
|
208
288
|
}
|
|
209
289
|
})
|
|
210
290
|
|
|
291
|
+
it("cynosdb.v20190107.DescribeAccountAllGrantPrivileges", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeAccountAllGrantPrivileges({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
211
301
|
it("cynosdb.v20190107.DescribeAccounts", async function () {
|
|
212
302
|
try {
|
|
213
303
|
const data = await client.DescribeAccounts({})
|
|
@@ -258,9 +348,9 @@ it("cynosdb.v20190107.CreateClusters", async function () {
|
|
|
258
348
|
}
|
|
259
349
|
})
|
|
260
350
|
|
|
261
|
-
it("cynosdb.v20190107.
|
|
351
|
+
it("cynosdb.v20190107.ActivateInstance", async function () {
|
|
262
352
|
try {
|
|
263
|
-
const data = await client.
|
|
353
|
+
const data = await client.ActivateInstance({})
|
|
264
354
|
expect(data).to.be.ok
|
|
265
355
|
} catch(error) {
|
|
266
356
|
expect(error.requestId).to.be.ok
|
|
@@ -278,6 +368,26 @@ it("cynosdb.v20190107.DescribeDBSecurityGroups", async function () {
|
|
|
278
368
|
}
|
|
279
369
|
})
|
|
280
370
|
|
|
371
|
+
it("cynosdb.v20190107.DisassociateSecurityGroups", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DisassociateSecurityGroups({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
381
|
+
it("cynosdb.v20190107.DescribeRollbackTimeValidity", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DescribeRollbackTimeValidity({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
281
391
|
it("cynosdb.v20190107.AddInstances", async function () {
|
|
282
392
|
try {
|
|
283
393
|
const data = await client.AddInstances({})
|
|
@@ -158,6 +158,16 @@ it("dcdb.v20180411.DescribeDCDBSaleInfo", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
+
it("dcdb.v20180411.DescribeDBSlowLogs", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeDBSlowLogs({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
161
171
|
it("dcdb.v20180411.DescribeFlow", async function () {
|
|
162
172
|
try {
|
|
163
173
|
const data = await client.DescribeFlow({})
|
|
@@ -408,6 +408,16 @@ it("iotcloud.v20180614.DeleteProduct", async function () {
|
|
|
408
408
|
}
|
|
409
409
|
})
|
|
410
410
|
|
|
411
|
+
it("iotcloud.v20180614.DownloadDeviceResource", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.DownloadDeviceResource({})
|
|
414
|
+
expect(data).to.be.ok
|
|
415
|
+
} catch(error) {
|
|
416
|
+
expect(error.requestId).to.be.ok
|
|
417
|
+
expect(error.code).to.be.ok
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
411
421
|
it("iotcloud.v20180614.CreateTaskFileUrl", async function () {
|
|
412
422
|
try {
|
|
413
423
|
const data = await client.CreateTaskFileUrl({})
|
|
@@ -648,6 +658,16 @@ it("iotcloud.v20180614.DescribeProductResources", async function () {
|
|
|
648
658
|
}
|
|
649
659
|
})
|
|
650
660
|
|
|
661
|
+
it("iotcloud.v20180614.DeleteDeviceResource", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.DeleteDeviceResource({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
651
671
|
it("iotcloud.v20180614.DescribeProductTask", async function () {
|
|
652
672
|
try {
|
|
653
673
|
const data = await client.DescribeProductTask({})
|
|
@@ -58,6 +58,16 @@ it("mariadb.v20170312.DescribeInstanceNodeInfo", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("mariadb.v20170312.DescribeDatabaseObjects", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeDatabaseObjects({})
|
|
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
|
+
|
|
61
71
|
it("mariadb.v20170312.KillSession", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.KillSession({})
|