tencentcloud-sdk-nodejs 4.0.299 → 4.0.300
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 +368 -0
- package/SERVICE_CHANGELOG.md +667 -123
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +1 -1
- package/src/services/api/v20201106/api_client.ts +13 -0
- package/src/services/api/v20201106/api_models.ts +45 -0
- package/src/services/apigateway/v20180808/apigateway_models.ts +5 -0
- package/src/services/cdb/v20170320/cdb_models.ts +6 -0
- package/src/services/clb/v20180317/clb_client.ts +20 -8
- package/src/services/clb/v20180317/clb_models.ts +25 -0
- package/src/services/cmq/v20190304/cmq_models.ts +94 -82
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +5 -0
- package/src/services/emr/v20190103/emr_client.ts +1 -0
- package/src/services/emr/v20190103/emr_models.ts +46 -0
- package/src/services/ivld/v20210903/ivld_client.ts +78 -4
- package/src/services/ivld/v20210903/ivld_models.ts +156 -38
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +6 -7
- package/src/services/mongodb/v20190725/mongodb_client.ts +72 -60
- package/src/services/mongodb/v20190725/mongodb_models.ts +1022 -997
- package/src/services/monitor/v20180724/monitor_models.ts +7 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +84 -2
- package/src/services/postgres/v20170312/postgres_client.ts +85 -37
- package/src/services/postgres/v20170312/postgres_models.ts +258 -84
- package/src/services/sslpod/v20190605/sslpod_models.ts +7 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +41 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.js +1 -1
- package/tencentcloud/services/api/v20201106/api_client.d.ts +5 -1
- package/tencentcloud/services/api/v20201106/api_client.js +6 -0
- package/tencentcloud/services/api/v20201106/api_models.d.ts +39 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +4 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -0
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +8 -4
- package/tencentcloud/services/clb/v20180317/clb_client.js +10 -4
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -0
- package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +89 -79
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +4 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +39 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +52 -2
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +57 -1
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +134 -34
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +5 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +5 -6
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +965 -943
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +6 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +68 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -13
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -18
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +219 -71
- package/tencentcloud/services/sslpod/v20190605/sslpod_models.d.ts +6 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +34 -1
- package/test/api.v20201106.test.js +10 -0
- package/test/clb.v20180317.test.js +12 -2
- package/test/ivld.v20210903.test.js +30 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/postgres.v20170312.test.js +58 -18
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.postgres.v20170312.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("postgres.v20170312.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("postgres.v20170312.CreateReadOnlyGroupNetworkAccess", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateReadOnlyGroupNetworkAccess({})
|
|
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("postgres.v20170312.ModifyDBInstancesProject", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.ModifyDBInstancesProject({})
|
|
@@ -38,6 +48,36 @@ it("postgres.v20170312.DescribeOrders", async function () {
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
51
|
+
it("postgres.v20170312.DescribeDBInstances", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeDBInstances({})
|
|
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
|
+
|
|
61
|
+
it("postgres.v20170312.DeleteReadOnlyGroupNetworkAccess", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteReadOnlyGroupNetworkAccess({})
|
|
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
|
+
|
|
71
|
+
it("postgres.v20170312.UpgradeDBInstance", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.UpgradeDBInstance({})
|
|
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
|
+
|
|
41
81
|
it("postgres.v20170312.ModifyDBInstanceParameters", async function () {
|
|
42
82
|
try {
|
|
43
83
|
const data = await client.ModifyDBInstanceParameters({})
|
|
@@ -138,9 +178,19 @@ it("postgres.v20170312.InquiryPriceCreateDBInstances", async function () {
|
|
|
138
178
|
}
|
|
139
179
|
})
|
|
140
180
|
|
|
141
|
-
it("postgres.v20170312.
|
|
181
|
+
it("postgres.v20170312.OpenDBExtranetAccess", async function () {
|
|
142
182
|
try {
|
|
143
|
-
const data = await client.
|
|
183
|
+
const data = await client.OpenDBExtranetAccess({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
191
|
+
it("postgres.v20170312.DeleteDBInstanceNetworkAccess", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DeleteDBInstanceNetworkAccess({})
|
|
144
194
|
expect(data).to.be.ok
|
|
145
195
|
} catch(error) {
|
|
146
196
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +278,9 @@ it("postgres.v20170312.ModifyDBInstanceName", async function () {
|
|
|
228
278
|
}
|
|
229
279
|
})
|
|
230
280
|
|
|
231
|
-
it("postgres.v20170312.
|
|
281
|
+
it("postgres.v20170312.InquiryPriceUpgradeDBInstance", async function () {
|
|
232
282
|
try {
|
|
233
|
-
const data = await client.
|
|
283
|
+
const data = await client.InquiryPriceUpgradeDBInstance({})
|
|
234
284
|
expect(data).to.be.ok
|
|
235
285
|
} catch(error) {
|
|
236
286
|
expect(error.requestId).to.be.ok
|
|
@@ -268,9 +318,9 @@ it("postgres.v20170312.CreateServerlessDBInstance", async function () {
|
|
|
268
318
|
}
|
|
269
319
|
})
|
|
270
320
|
|
|
271
|
-
it("postgres.v20170312.
|
|
321
|
+
it("postgres.v20170312.DescribeDBInstanceParameters", async function () {
|
|
272
322
|
try {
|
|
273
|
-
const data = await client.
|
|
323
|
+
const data = await client.DescribeDBInstanceParameters({})
|
|
274
324
|
expect(data).to.be.ok
|
|
275
325
|
} catch(error) {
|
|
276
326
|
expect(error.requestId).to.be.ok
|
|
@@ -298,16 +348,6 @@ it("postgres.v20170312.RestartDBInstance", async function () {
|
|
|
298
348
|
}
|
|
299
349
|
})
|
|
300
350
|
|
|
301
|
-
it("postgres.v20170312.OpenDBExtranetAccess", async function () {
|
|
302
|
-
try {
|
|
303
|
-
const data = await client.OpenDBExtranetAccess({})
|
|
304
|
-
expect(data).to.be.ok
|
|
305
|
-
} catch(error) {
|
|
306
|
-
expect(error.requestId).to.be.ok
|
|
307
|
-
expect(error.code).to.be.ok
|
|
308
|
-
}
|
|
309
|
-
})
|
|
310
|
-
|
|
311
351
|
it("postgres.v20170312.IsolateDBInstances", async function () {
|
|
312
352
|
try {
|
|
313
353
|
const data = await client.IsolateDBInstances({})
|
|
@@ -338,9 +378,9 @@ it("postgres.v20170312.InitDBInstances", async function () {
|
|
|
338
378
|
}
|
|
339
379
|
})
|
|
340
380
|
|
|
341
|
-
it("postgres.v20170312.
|
|
381
|
+
it("postgres.v20170312.CreateDBInstanceNetworkAccess", async function () {
|
|
342
382
|
try {
|
|
343
|
-
const data = await client.
|
|
383
|
+
const data = await client.CreateDBInstanceNetworkAccess({})
|
|
344
384
|
expect(data).to.be.ok
|
|
345
385
|
} catch(error) {
|
|
346
386
|
expect(error.requestId).to.be.ok
|