tencentcloud-sdk-nodejs 4.0.539 → 4.0.540
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 +393 -0
- package/SERVICE_CHANGELOG.md +579 -100
- package/package.json +1 -1
- package/products.md +20 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +4 -4
- package/src/services/bma/v20221115/bma_client.ts +100 -9
- package/src/services/bma/v20221115/bma_models.ts +745 -22
- package/src/services/cdb/v20170320/cdb_client.ts +22 -0
- package/src/services/cdb/v20170320/cdb_models.ts +30 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
- package/src/services/clb/v20180317/clb_client.ts +21 -9
- package/src/services/clb/v20180317/clb_models.ts +45 -0
- package/src/services/cwp/v20180228/cwp_client.ts +18 -6
- package/src/services/cwp/v20180228/cwp_models.ts +31 -0
- package/src/services/dlc/v20210125/dlc_models.ts +26 -2
- package/src/services/dts/v20211206/dts_models.ts +17 -5
- package/src/services/eb/v20210416/eb_models.ts +16 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +12 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +40 -0
- package/src/services/lcic/v20220817/lcic_models.ts +15 -0
- package/src/services/monitor/v20180724/monitor_models.ts +4 -4
- package/src/services/tcb/v20180608/tcb_models.ts +20 -10
- package/src/services/tem/v20210701/tem_models.ts +42 -0
- package/src/services/tke/v20180525/tke_models.ts +10 -0
- package/src/services/tsf/v20180326/tsf_models.ts +5 -0
- package/src/services/vod/v20180717/vod_client.ts +23 -5
- package/src/services/vod/v20180717/vod_models.ts +753 -126
- package/src/services/vpc/v20170312/vpc_models.ts +7 -2
- 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 +4 -4
- package/tencentcloud/services/bma/v20221115/bma_client.d.ts +31 -3
- package/tencentcloud/services/bma/v20221115/bma_client.js +45 -3
- package/tencentcloud/services/bma/v20221115/bma_models.d.ts +626 -19
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +15 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +16 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +26 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +9 -5
- package/tencentcloud/services/clb/v20180317/clb_client.js +11 -5
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +38 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +7 -3
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +9 -3
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +27 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +22 -2
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +15 -5
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +13 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +34 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +12 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +4 -4
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +18 -10
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +35 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +8 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +4 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +664 -118
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -2
- package/test/bma.v20221115.test.js +72 -2
- package/test/cdb.v20170320.test.js +10 -0
- package/test/clb.v20180317.test.js +12 -2
- package/test/cwp.v20180228.test.js +12 -2
- package/test/essbasic.v20210526.test.js +10 -0
|
@@ -5634,6 +5634,10 @@ export interface CreateBandwidthPackageRequest {
|
|
|
5634
5634
|
* 带宽包协议类型。当前支持'ipv4'和'ipv6'协议带宽包,默认值是'ipv4'。
|
|
5635
5635
|
*/
|
|
5636
5636
|
Protocol?: string;
|
|
5637
|
+
/**
|
|
5638
|
+
* 预付费包月带宽包的购买时长,单位: 月,取值范围: 1~60。
|
|
5639
|
+
*/
|
|
5640
|
+
TimeSpan?: number;
|
|
5637
5641
|
}
|
|
5638
5642
|
/**
|
|
5639
5643
|
* DescribeIp6Addresses返回参数结构体
|
|
@@ -11322,11 +11326,11 @@ export interface CreateBandwidthPackageResponse {
|
|
|
11322
11326
|
/**
|
|
11323
11327
|
* 带宽包唯一ID。
|
|
11324
11328
|
*/
|
|
11325
|
-
BandwidthPackageId
|
|
11329
|
+
BandwidthPackageId?: string;
|
|
11326
11330
|
/**
|
|
11327
11331
|
* 带宽包唯一ID列表(申请数量大于1时有效)。
|
|
11328
11332
|
*/
|
|
11329
|
-
BandwidthPackageIds
|
|
11333
|
+
BandwidthPackageIds?: Array<string>;
|
|
11330
11334
|
/**
|
|
11331
11335
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11332
11336
|
*/
|
|
@@ -18,6 +18,26 @@ const client = new tencentcloud.bma.v20221115.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("bma.v20221115.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("bma.v20221115.DescribeBPWhiteLists", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeBPWhiteLists({})
|
|
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
|
+
|
|
31
|
+
it("bma.v20221115.CreateBPWhiteList", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateBPWhiteList({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
21
41
|
it("bma.v20221115.CreateBPFakeAPP", async function () {
|
|
22
42
|
try {
|
|
23
43
|
const data = await client.CreateBPFakeAPP({})
|
|
@@ -28,9 +48,9 @@ it("bma.v20221115.CreateBPFakeAPP", async function () {
|
|
|
28
48
|
}
|
|
29
49
|
})
|
|
30
50
|
|
|
31
|
-
it("bma.v20221115.
|
|
51
|
+
it("bma.v20221115.DeleteBPWhiteList", async function () {
|
|
32
52
|
try {
|
|
33
|
-
const data = await client.
|
|
53
|
+
const data = await client.DeleteBPWhiteList({})
|
|
34
54
|
expect(data).to.be.ok
|
|
35
55
|
} catch(error) {
|
|
36
56
|
expect(error.requestId).to.be.ok
|
|
@@ -48,6 +68,26 @@ it("bma.v20221115.CreateBPFakeURLs", async function () {
|
|
|
48
68
|
}
|
|
49
69
|
})
|
|
50
70
|
|
|
71
|
+
it("bma.v20221115.CreateBPBrand", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateBPBrand({})
|
|
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
|
+
|
|
81
|
+
it("bma.v20221115.DescribeBPBrands", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeBPBrands({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
51
91
|
it("bma.v20221115.CreateBPFakeAPPList", async function () {
|
|
52
92
|
try {
|
|
53
93
|
const data = await client.CreateBPFakeAPPList({})
|
|
@@ -58,4 +98,34 @@ it("bma.v20221115.CreateBPFakeAPPList", async function () {
|
|
|
58
98
|
}
|
|
59
99
|
})
|
|
60
100
|
|
|
101
|
+
it("bma.v20221115.DescribeBPFakeAPPList", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeBPFakeAPPList({})
|
|
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
|
+
|
|
111
|
+
it("bma.v20221115.DescribeBPFakeURLs", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeBPFakeURLs({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
it("bma.v20221115.CreateBPFakeURL", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.CreateBPFakeURL({})
|
|
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
|
+
|
|
61
131
|
})
|
|
@@ -288,6 +288,16 @@ it("cdb.v20170320.DescribeAuditPolicies", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
+
it("cdb.v20170320.OpenDBInstanceEncryption", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.OpenDBInstanceEncryption({})
|
|
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
|
+
|
|
291
301
|
it("cdb.v20170320.DescribeTagsOfInstanceIds", async function () {
|
|
292
302
|
try {
|
|
293
303
|
const data = await client.DescribeTagsOfInstanceIds({})
|
|
@@ -218,9 +218,9 @@ it("clb.v20180317.DeleteLoadBalancerListeners", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
-
it("clb.v20180317.
|
|
221
|
+
it("clb.v20180317.ModifyFunctionTargets", async function () {
|
|
222
222
|
try {
|
|
223
|
-
const data = await client.
|
|
223
|
+
const data = await client.ModifyFunctionTargets({})
|
|
224
224
|
expect(data).to.be.ok
|
|
225
225
|
} catch(error) {
|
|
226
226
|
expect(error.requestId).to.be.ok
|
|
@@ -488,6 +488,16 @@ it("clb.v20180317.DescribeClsLogSet", async function () {
|
|
|
488
488
|
}
|
|
489
489
|
})
|
|
490
490
|
|
|
491
|
+
it("clb.v20180317.SetLoadBalancerSecurityGroups", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.SetLoadBalancerSecurityGroups({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
491
501
|
it("clb.v20180317.DescribeCustomizedConfigList", async function () {
|
|
492
502
|
try {
|
|
493
503
|
const data = await client.DescribeCustomizedConfigList({})
|
|
@@ -1008,9 +1008,9 @@ it("cwp.v20180228.UpdateBaselineStrategy", async function () {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
})
|
|
1010
1010
|
|
|
1011
|
-
it("cwp.v20180228.
|
|
1011
|
+
it("cwp.v20180228.ModifyMachineRemark", async function () {
|
|
1012
1012
|
try {
|
|
1013
|
-
const data = await client.
|
|
1013
|
+
const data = await client.ModifyMachineRemark({})
|
|
1014
1014
|
expect(data).to.be.ok
|
|
1015
1015
|
} catch(error) {
|
|
1016
1016
|
expect(error.requestId).to.be.ok
|
|
@@ -1638,6 +1638,16 @@ it("cwp.v20180228.ModifyLicenseBinds", async function () {
|
|
|
1638
1638
|
}
|
|
1639
1639
|
})
|
|
1640
1640
|
|
|
1641
|
+
it("cwp.v20180228.ScanVulSetting", async function () {
|
|
1642
|
+
try {
|
|
1643
|
+
const data = await client.ScanVulSetting({})
|
|
1644
|
+
expect(data).to.be.ok
|
|
1645
|
+
} catch(error) {
|
|
1646
|
+
expect(error.requestId).to.be.ok
|
|
1647
|
+
expect(error.code).to.be.ok
|
|
1648
|
+
}
|
|
1649
|
+
})
|
|
1650
|
+
|
|
1641
1651
|
it("cwp.v20180228.DescribeAssetEnvList", async function () {
|
|
1642
1652
|
try {
|
|
1643
1653
|
const data = await client.DescribeAssetEnvList({})
|
|
@@ -208,6 +208,16 @@ it("essbasic.v20210526.CreateChannelFlowEvidenceReport", async function () {
|
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
210
|
|
|
211
|
+
it("essbasic.v20210526.ChannelUpdateSealStatus", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.ChannelUpdateSealStatus({})
|
|
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
|
+
|
|
211
221
|
it("essbasic.v20210526.ChannelVerifyPdf", async function () {
|
|
212
222
|
try {
|
|
213
223
|
const data = await client.ChannelVerifyPdf({})
|