tencentcloud-sdk-nodejs 4.0.493 → 4.0.495
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 +282 -0
- package/SERVICE_CHANGELOG.md +433 -7
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +7 -7
- package/src/services/batch/v20170312/batch_models.ts +6 -0
- package/src/services/cdb/v20170320/cdb_models.ts +8 -2
- package/src/services/ckafka/v20190819/ckafka_client.ts +48 -17
- package/src/services/ckafka/v20190819/ckafka_models.ts +642 -257
- package/src/services/cme/v20191029/cme_models.ts +15 -15
- package/src/services/cpdp/v20190820/cpdp_models.ts +59 -3
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +54 -6
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +162 -0
- package/src/services/dts/v20211206/dts_models.ts +53 -17
- package/src/services/gme/v20180711/gme_client.ts +3 -1
- package/src/services/gme/v20180711/gme_models.ts +7 -7
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +22 -0
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +28 -6
- package/src/services/monitor/v20180724/monitor_client.ts +14 -1
- package/src/services/monitor/v20180724/monitor_models.ts +63 -7
- package/src/services/scf/v20180416/scf_models.ts +9 -6
- package/src/services/tke/v20180525/tke_client.ts +16 -2
- package/src/services/tke/v20180525/tke_models.ts +175 -37
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +7 -7
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +5 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +7 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +13 -5
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +18 -6
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +514 -189
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +15 -15
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +48 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +19 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +27 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +139 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +47 -17
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +3 -1
- package/tencentcloud/services/gme/v20180711/gme_client.js +3 -1
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +7 -7
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +18 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +25 -6
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +54 -6
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +3 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +148 -32
- package/test/ckafka.v20190819.test.js +24 -4
- package/test/cynosdb.v20190107.test.js +42 -2
- package/test/monitor.v20180724.test.js +10 -0
- package/test/tke.v20180525.test.js +10 -0
|
@@ -68,6 +68,16 @@ it("ckafka.v20190819.DescribeConnectResource", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("ckafka.v20190819.CreateInstancePost", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateInstancePost({})
|
|
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("ckafka.v20190819.DescribeTopicSubscribeGroup", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeTopicSubscribeGroup({})
|
|
@@ -148,9 +158,9 @@ it("ckafka.v20190819.CreateTopicIpWhiteList", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("ckafka.v20190819.
|
|
161
|
+
it("ckafka.v20190819.DeleteConnectResource", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.DeleteConnectResource({})
|
|
154
164
|
expect(data).to.be.ok
|
|
155
165
|
} catch(error) {
|
|
156
166
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +218,9 @@ it("ckafka.v20190819.CreateRoute", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
211
|
-
it("ckafka.v20190819.
|
|
221
|
+
it("ckafka.v20190819.DeleteDatahubTask", async function () {
|
|
212
222
|
try {
|
|
213
|
-
const data = await client.
|
|
223
|
+
const data = await client.DeleteDatahubTask({})
|
|
214
224
|
expect(data).to.be.ok
|
|
215
225
|
} catch(error) {
|
|
216
226
|
expect(error.requestId).to.be.ok
|
|
@@ -668,4 +678,14 @@ it("ckafka.v20190819.ModifyPassword", async function () {
|
|
|
668
678
|
}
|
|
669
679
|
})
|
|
670
680
|
|
|
681
|
+
it("ckafka.v20190819.InquireCkafkaPrice", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.InquireCkafkaPrice({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
671
691
|
})
|
|
@@ -138,9 +138,9 @@ it("cynosdb.v20190107.OfflineCluster", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("cynosdb.v20190107.
|
|
141
|
+
it("cynosdb.v20190107.SearchClusterDatabases", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.SearchClusterDatabases({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -168,6 +168,16 @@ it("cynosdb.v20190107.DeleteAuditLogFile", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("cynosdb.v20190107.ResetAccountPassword", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ResetAccountPassword({})
|
|
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
|
+
|
|
171
181
|
it("cynosdb.v20190107.DescribeInstanceDetail", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.DescribeInstanceDetail({})
|
|
@@ -318,6 +328,16 @@ it("cynosdb.v20190107.DescribeMaintainPeriod", async function () {
|
|
|
318
328
|
}
|
|
319
329
|
})
|
|
320
330
|
|
|
331
|
+
it("cynosdb.v20190107.SwitchProxyVpc", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.SwitchProxyVpc({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
321
341
|
it("cynosdb.v20190107.DescribeClusters", async function () {
|
|
322
342
|
try {
|
|
323
343
|
const data = await client.DescribeClusters({})
|
|
@@ -598,6 +618,26 @@ it("cynosdb.v20190107.ExportInstanceSlowQueries", async function () {
|
|
|
598
618
|
}
|
|
599
619
|
})
|
|
600
620
|
|
|
621
|
+
it("cynosdb.v20190107.SetRenewFlag", async function () {
|
|
622
|
+
try {
|
|
623
|
+
const data = await client.SetRenewFlag({})
|
|
624
|
+
expect(data).to.be.ok
|
|
625
|
+
} catch(error) {
|
|
626
|
+
expect(error.requestId).to.be.ok
|
|
627
|
+
expect(error.code).to.be.ok
|
|
628
|
+
}
|
|
629
|
+
})
|
|
630
|
+
|
|
631
|
+
it("cynosdb.v20190107.SearchClusterTables", async function () {
|
|
632
|
+
try {
|
|
633
|
+
const data = await client.SearchClusterTables({})
|
|
634
|
+
expect(data).to.be.ok
|
|
635
|
+
} catch(error) {
|
|
636
|
+
expect(error.requestId).to.be.ok
|
|
637
|
+
expect(error.code).to.be.ok
|
|
638
|
+
}
|
|
639
|
+
})
|
|
640
|
+
|
|
601
641
|
it("cynosdb.v20190107.SwitchClusterZone", async function () {
|
|
602
642
|
try {
|
|
603
643
|
const data = await client.SwitchClusterZone({})
|
|
@@ -118,6 +118,16 @@ it("monitor.v20180724.UpdateSSOAccount", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("monitor.v20180724.DescribePrometheusZones", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribePrometheusZones({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
121
131
|
it("monitor.v20180724.DescribeGrafanaEnvironments", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.DescribeGrafanaEnvironments({})
|
|
@@ -1438,6 +1438,16 @@ it("tke.v20180525.DeleteClusterEndpoint", async function () {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
})
|
|
1440
1440
|
|
|
1441
|
+
it("tke.v20180525.CreateClusterRelease", async function () {
|
|
1442
|
+
try {
|
|
1443
|
+
const data = await client.CreateClusterRelease({})
|
|
1444
|
+
expect(data).to.be.ok
|
|
1445
|
+
} catch(error) {
|
|
1446
|
+
expect(error.requestId).to.be.ok
|
|
1447
|
+
expect(error.code).to.be.ok
|
|
1448
|
+
}
|
|
1449
|
+
})
|
|
1450
|
+
|
|
1441
1451
|
it("tke.v20180525.GetClusterLevelPrice", async function () {
|
|
1442
1452
|
try {
|
|
1443
1453
|
const data = await client.GetClusterLevelPrice({})
|