tencentcloud-sdk-nodejs 4.0.409 → 4.0.410

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +195 -0
  2. package/SERVICE_CHANGELOG.md +270 -62
  3. package/package.json +1 -1
  4. package/products.md +13 -13
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/bda/v20200324/bda_models.ts +12 -0
  7. package/src/services/cat/v20180409/cat_models.ts +1 -5
  8. package/src/services/cbs/v20170312/cbs_models.ts +31 -19
  9. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  10. package/src/services/cdn/v20180606/cdn_models.ts +12 -0
  11. package/src/services/cpdp/v20190820/cpdp_client.ts +9 -36
  12. package/src/services/cpdp/v20190820/cpdp_models.ts +19 -260
  13. package/src/services/cvm/v20170312/cvm_models.ts +2 -2
  14. package/src/services/dnspod/v20210323/dnspod_models.ts +5 -0
  15. package/src/services/faceid/v20180301/faceid_models.ts +19 -3
  16. package/src/services/tcr/v20190924/tcr_models.ts +2 -2
  17. package/src/services/tem/v20210701/tem_client.ts +72 -8
  18. package/src/services/tem/v20210701/tem_models.ts +550 -111
  19. package/src/services/teo/v20220106/teo_models.ts +9 -3
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/bda/v20200324/bda_models.d.ts +10 -0
  23. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -5
  24. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +25 -15
  25. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  26. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -0
  27. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +4 -12
  28. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +4 -16
  29. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +16 -218
  30. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
  31. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
  32. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +16 -3
  33. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +2 -2
  34. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +23 -3
  35. package/tencentcloud/services/tem/v20210701/tem_client.js +32 -2
  36. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +469 -98
  37. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +8 -3
  38. package/test/cpdp.v20190820.test.js +2 -22
  39. package/test/tem.v20210701.test.js +50 -0
@@ -8,6 +8,11 @@ on:开启
8
8
  off:关闭
9
9
  */
10
10
  Switch: string;
11
+ /**
12
+ * 支持的压缩算法列表
13
+ 注意:此字段可能返回 null,表示取不到有效值。
14
+ */
15
+ Algorithms?: Array<string>;
11
16
  }
12
17
  /**
13
18
  * web攻击日志Data
@@ -2072,7 +2077,7 @@ export interface WafConfig {
2072
2077
  */
2073
2078
  Mode: string;
2074
2079
  /**
2075
- * 门神黑白名单
2080
+ * 托管规则黑白名单
2076
2081
  */
2077
2082
  WafRules: WafRule;
2078
2083
  /**
@@ -5545,7 +5550,7 @@ export interface DeleteZoneRequest {
5545
5550
  Id: string;
5546
5551
  }
5547
5552
  /**
5548
- * Bot 规则
5553
+ * Bot 规则,下列规则ID可参考接口 DescribeBotManagedRules返回的ID信息
5549
5554
  */
5550
5555
  export interface BotManagedRule {
5551
5556
  /**
@@ -6231,7 +6236,7 @@ export interface DdosAllowBlock {
6231
6236
  */
6232
6237
  export interface DDoSGeoIp {
6233
6238
  /**
6234
- * 地域信息
6239
+ * 地域信息,ID参考接口DescribeSecurityPolicyRegions
6235
6240
  注意:此字段可能返回 null,表示取不到有效值。
6236
6241
  */
6237
6242
  RegionId?: Array<number>;
@@ -1598,16 +1598,6 @@ it("cpdp.v20190820.QueryOpenBankDownLoadUrl", async function () {
1598
1598
  }
1599
1599
  })
1600
1600
 
1601
- it("cpdp.v20190820.GetDistributeBillDownloadUrl", async function () {
1602
- try {
1603
- const data = await client.GetDistributeBillDownloadUrl({})
1604
- expect(data).to.be.ok
1605
- } catch(error) {
1606
- expect(error.requestId).to.be.ok
1607
- expect(error.code).to.be.ok
1608
- }
1609
- })
1610
-
1611
1601
  it("cpdp.v20190820.QueryOrderStatus", async function () {
1612
1602
  try {
1613
1603
  const data = await client.QueryOrderStatus({})
@@ -1618,16 +1608,6 @@ it("cpdp.v20190820.QueryOrderStatus", async function () {
1618
1608
  }
1619
1609
  })
1620
1610
 
1621
- it("cpdp.v20190820.QuerySinglePay", async function () {
1622
- try {
1623
- const data = await client.QuerySinglePay({})
1624
- expect(data).to.be.ok
1625
- } catch(error) {
1626
- expect(error.requestId).to.be.ok
1627
- expect(error.code).to.be.ok
1628
- }
1629
- })
1630
-
1631
1611
  it("cpdp.v20190820.QueryPayerInfo", async function () {
1632
1612
  try {
1633
1613
  const data = await client.QueryPayerInfo({})
@@ -1668,9 +1648,9 @@ it("cpdp.v20190820.GetPayRollAuth", async function () {
1668
1648
  }
1669
1649
  })
1670
1650
 
1671
- it("cpdp.v20190820.CreateSinglePay", async function () {
1651
+ it("cpdp.v20190820.GetDistributeBillDownloadUrl", async function () {
1672
1652
  try {
1673
- const data = await client.CreateSinglePay({})
1653
+ const data = await client.GetDistributeBillDownloadUrl({})
1674
1654
  expect(data).to.be.ok
1675
1655
  } catch(error) {
1676
1656
  expect(error.requestId).to.be.ok
@@ -38,6 +38,16 @@ it("tem.v20210701.DescribeApplicationsStatus", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("tem.v20210701.DescribePagedLogConfigList", async function () {
42
+ try {
43
+ const data = await client.DescribePagedLogConfigList({})
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
+
41
51
  it("tem.v20210701.ModifyIngress", async function () {
42
52
  try {
43
53
  const data = await client.ModifyIngress({})
@@ -78,6 +88,16 @@ it("tem.v20210701.RestartApplicationPod", async function () {
78
88
  }
79
89
  })
80
90
 
91
+ it("tem.v20210701.ModifyLogConfig", async function () {
92
+ try {
93
+ const data = await client.ModifyLogConfig({})
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
+
81
101
  it("tem.v20210701.DeleteApplication", async function () {
82
102
  try {
83
103
  const data = await client.DeleteApplication({})
@@ -158,6 +178,16 @@ it("tem.v20210701.ModifyEnvironment", async function () {
158
178
  }
159
179
  })
160
180
 
181
+ it("tem.v20210701.DescribeLogConfig", async function () {
182
+ try {
183
+ const data = await client.DescribeLogConfig({})
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
+
161
191
  it("tem.v20210701.StopApplication", async function () {
162
192
  try {
163
193
  const data = await client.StopApplication({})
@@ -168,6 +198,16 @@ it("tem.v20210701.StopApplication", async function () {
168
198
  }
169
199
  })
170
200
 
201
+ it("tem.v20210701.CreateLogConfig", async function () {
202
+ try {
203
+ const data = await client.CreateLogConfig({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
171
211
  it("tem.v20210701.DescribeApplicationInfo", async function () {
172
212
  try {
173
213
  const data = await client.DescribeApplicationInfo({})
@@ -338,6 +378,16 @@ it("tem.v20210701.RevertDeployApplication", async function () {
338
378
  }
339
379
  })
340
380
 
381
+ it("tem.v20210701.DestroyLogConfig", async function () {
382
+ try {
383
+ const data = await client.DestroyLogConfig({})
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
+
341
391
  it("tem.v20210701.DescribeRelatedIngresses", async function () {
342
392
  try {
343
393
  const data = await client.DescribeRelatedIngresses({})