tencentcloud-sdk-nodejs 4.0.947 → 4.0.949

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 (46) hide show
  1. package/CHANGELOG.md +183 -0
  2. package/SERVICE_CHANGELOG.md +232 -142
  3. package/package.json +1 -1
  4. package/products.md +11 -11
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_models.ts +18 -6
  7. package/src/services/ca/v20230228/ca_models.ts +5 -5
  8. package/src/services/ccc/v20200210/ccc_client.ts +40 -15
  9. package/src/services/ccc/v20200210/ccc_models.ts +90 -0
  10. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +1 -1
  11. package/src/services/cvm/v20170312/cvm_client.ts +14 -2
  12. package/src/services/cvm/v20170312/cvm_models.ts +91 -27
  13. package/src/services/cynosdb/v20190107/cynosdb_client.ts +42 -42
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +6 -3
  15. package/src/services/mqtt/v20240516/mqtt_models.ts +1 -1
  16. package/src/services/mrs/v20200910/mrs_client.ts +3 -1
  17. package/src/services/mrs/v20200910/mrs_models.ts +41 -5
  18. package/src/services/teo/v20220901/teo_client.ts +167 -30
  19. package/src/services/teo/v20220901/teo_models.ts +658 -199
  20. package/src/services/tke/v20180525/tke_models.ts +2 -2
  21. package/src/services/vpc/v20170312/vpc_client.ts +1 -0
  22. package/src/services/vpc/v20170312/vpc_models.ts +20 -0
  23. package/tencentcloud/common/sdk_version.d.ts +1 -1
  24. package/tencentcloud/common/sdk_version.js +1 -1
  25. package/tencentcloud/services/as/v20180419/as_models.d.ts +18 -6
  26. package/tencentcloud/services/ca/v20230228/ca_models.d.ts +5 -5
  27. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +15 -7
  28. package/tencentcloud/services/ccc/v20200210/ccc_client.js +20 -8
  29. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +85 -0
  30. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +1 -1
  31. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +5 -1
  32. package/tencentcloud/services/cvm/v20170312/cvm_client.js +6 -0
  33. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +89 -27
  34. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +42 -42
  35. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +42 -42
  36. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +6 -3
  37. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +1 -1
  38. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +39 -5
  39. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +52 -7
  40. package/tencentcloud/services/teo/v20220901/teo_client.js +76 -9
  41. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +631 -198
  42. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
  43. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +19 -0
  44. package/test/ccc.v20200210.test.js +24 -4
  45. package/test/cvm.v20170312.test.js +10 -0
  46. package/test/teo.v20220901.test.js +116 -6
@@ -11524,7 +11524,7 @@ export interface PrometheusTarget {
11524
11524
  */
11525
11525
  export interface LoginSettings {
11526
11526
  /**
11527
- * 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
11527
+ * 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
11528
11528
  注意:此字段可能返回 null,表示取不到有效值。
11529
11529
  */
11530
11530
  Password?: string;
@@ -11534,7 +11534,7 @@ export interface LoginSettings {
11534
11534
  */
11535
11535
  KeyIds?: Array<string>;
11536
11536
  /**
11537
- * 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:<br><li>TRUE:表示保持镜像的登录设置<br><li>FALSE:表示不保持镜像的登录设置<br><br>默认取值:FALSE
11537
+ * 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false
11538
11538
  注意:此字段可能返回 null,表示取不到有效值。
11539
11539
  */
11540
11540
  KeepImageLogin?: string;
@@ -253,6 +253,10 @@ export interface CreateVpcPeeringConnectionRequest {
253
253
  * 服务分级:PT、AU、AG。
254
254
  */
255
255
  QosLevel?: string;
256
+ /**
257
+ * 标签键值对
258
+ */
259
+ Tags?: Array<Tags>;
256
260
  }
257
261
  /**
258
262
  * DescribeBandwidthPackageResources请求参数结构体
@@ -11259,6 +11263,21 @@ export interface UsedDetail {
11259
11263
  */
11260
11264
  Deadline: string;
11261
11265
  }
11266
+ /**
11267
+ * 标签描述信息
11268
+ */
11269
+ export interface Tags {
11270
+ /**
11271
+ * 标签键
11272
+ 注意:此字段可能返回 null,表示取不到有效值。
11273
+ */
11274
+ Key?: string;
11275
+ /**
11276
+ * 标签值
11277
+ 注意:此字段可能返回 null,表示取不到有效值。
11278
+ */
11279
+ Value?: string;
11280
+ }
11262
11281
  /**
11263
11282
  * InquirePriceCreateDirectConnectGateway请求参数结构体
11264
11283
  */
@@ -58,6 +58,16 @@ it("ccc.v20200210.CreateAICall", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("ccc.v20200210.StopAutoCalloutTask", async function () {
62
+ try {
63
+ const data = await client.StopAutoCalloutTask({})
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("ccc.v20200210.DisableCCCPhoneNumber", async function () {
62
72
  try {
63
73
  const data = await client.DisableCCCPhoneNumber({})
@@ -88,6 +98,16 @@ it("ccc.v20200210.DeleteExtension", async function () {
88
98
  }
89
99
  })
90
100
 
101
+ it("ccc.v20200210.DescribeChatMessages", async function () {
102
+ try {
103
+ const data = await client.DescribeChatMessages({})
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
+
91
111
  it("ccc.v20200210.BindStaffSkillGroupList", async function () {
92
112
  try {
93
113
  const data = await client.BindStaffSkillGroupList({})
@@ -288,9 +308,9 @@ it("ccc.v20200210.UnbindNumberCallOutSkillGroup", async function () {
288
308
  }
289
309
  })
290
310
 
291
- it("ccc.v20200210.StopAutoCalloutTask", async function () {
311
+ it("ccc.v20200210.ModifyOwnNumberApply", async function () {
292
312
  try {
293
- const data = await client.StopAutoCalloutTask({})
313
+ const data = await client.ModifyOwnNumberApply({})
294
314
  expect(data).to.be.ok
295
315
  } catch(error) {
296
316
  expect(error.requestId).to.be.ok
@@ -328,9 +348,9 @@ it("ccc.v20200210.UploadIvrAudio", async function () {
328
348
  }
329
349
  })
330
350
 
331
- it("ccc.v20200210.DescribeChatMessages", async function () {
351
+ it("ccc.v20200210.CreateOwnNumberApply", async function () {
332
352
  try {
333
- const data = await client.DescribeChatMessages({})
353
+ const data = await client.CreateOwnNumberApply({})
334
354
  expect(data).to.be.ok
335
355
  } catch(error) {
336
356
  expect(error.requestId).to.be.ok
@@ -738,6 +738,16 @@ it("cvm.v20170312.InquiryPriceRenewHosts", async function () {
738
738
  }
739
739
  })
740
740
 
741
+ it("cvm.v20170312.DescribeImageFromFamily", async function () {
742
+ try {
743
+ const data = await client.DescribeImageFromFamily({})
744
+ expect(data).to.be.ok
745
+ } catch(error) {
746
+ expect(error.requestId).to.be.ok
747
+ expect(error.code).to.be.ok
748
+ }
749
+ })
750
+
741
751
  it("cvm.v20170312.StopInstances", async function () {
742
752
  try {
743
753
  const data = await client.StopInstances({})
@@ -28,6 +28,16 @@ it("teo.v20220901.DestroyPlan", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("teo.v20220901.DeleteFunction", async function () {
32
+ try {
33
+ const data = await client.DeleteFunction({})
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
+
31
41
  it("teo.v20220901.CreatePurgeTask", async function () {
32
42
  try {
33
43
  const data = await client.CreatePurgeTask({})
@@ -98,6 +108,26 @@ it("teo.v20220901.VerifyOwnership", async function () {
98
108
  }
99
109
  })
100
110
 
111
+ it("teo.v20220901.CreateFunctionRule", async function () {
112
+ try {
113
+ const data = await client.CreateFunctionRule({})
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("teo.v20220901.DeleteFunctionRules", async function () {
122
+ try {
123
+ const data = await client.DeleteFunctionRules({})
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
+
101
131
  it("teo.v20220901.IdentifyZone", async function () {
102
132
  try {
103
133
  const data = await client.IdentifyZone({})
@@ -128,6 +158,16 @@ it("teo.v20220901.DescribeAccelerationDomains", async function () {
128
158
  }
129
159
  })
130
160
 
161
+ it("teo.v20220901.DescribeFunctionRuntimeEnvironment", async function () {
162
+ try {
163
+ const data = await client.DescribeFunctionRuntimeEnvironment({})
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
+
131
171
  it("teo.v20220901.ModifyOriginGroup", async function () {
132
172
  try {
133
173
  const data = await client.ModifyOriginGroup({})
@@ -428,9 +468,9 @@ it("teo.v20220901.CreateL4ProxyRules", async function () {
428
468
  }
429
469
  })
430
470
 
431
- it("teo.v20220901.DescribeTopL7CacheData", async function () {
471
+ it("teo.v20220901.DescribeTimingL4Data", async function () {
432
472
  try {
433
- const data = await client.DescribeTopL7CacheData({})
473
+ const data = await client.DescribeTimingL4Data({})
434
474
  expect(data).to.be.ok
435
475
  } catch(error) {
436
476
  expect(error.requestId).to.be.ok
@@ -438,9 +478,9 @@ it("teo.v20220901.DescribeTopL7CacheData", async function () {
438
478
  }
439
479
  })
440
480
 
441
- it("teo.v20220901.DescribeTimingL4Data", async function () {
481
+ it("teo.v20220901.DescribeTopL7CacheData", async function () {
442
482
  try {
443
- const data = await client.DescribeTimingL4Data({})
483
+ const data = await client.DescribeTopL7CacheData({})
444
484
  expect(data).to.be.ok
445
485
  } catch(error) {
446
486
  expect(error.requestId).to.be.ok
@@ -578,6 +618,16 @@ it("teo.v20220901.DescribeTimingL7AnalysisData", async function () {
578
618
  }
579
619
  })
580
620
 
621
+ it("teo.v20220901.CreateFunction", async function () {
622
+ try {
623
+ const data = await client.CreateFunction({})
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
+
581
631
  it("teo.v20220901.DescribeApplicationProxies", async function () {
582
632
  try {
583
633
  const data = await client.DescribeApplicationProxies({})
@@ -618,6 +668,16 @@ it("teo.v20220901.CreateConfigGroupVersion", async function () {
618
668
  }
619
669
  })
620
670
 
671
+ it("teo.v20220901.ModifyFunction", async function () {
672
+ try {
673
+ const data = await client.ModifyFunction({})
674
+ expect(data).to.be.ok
675
+ } catch(error) {
676
+ expect(error.requestId).to.be.ok
677
+ expect(error.code).to.be.ok
678
+ }
679
+ })
680
+
621
681
  it("teo.v20220901.ModifyApplicationProxy", async function () {
622
682
  try {
623
683
  const data = await client.ModifyApplicationProxy({})
@@ -638,6 +698,16 @@ it("teo.v20220901.CreateZone", async function () {
638
698
  }
639
699
  })
640
700
 
701
+ it("teo.v20220901.ModifyFunctionRule", async function () {
702
+ try {
703
+ const data = await client.ModifyFunctionRule({})
704
+ expect(data).to.be.ok
705
+ } catch(error) {
706
+ expect(error.requestId).to.be.ok
707
+ expect(error.code).to.be.ok
708
+ }
709
+ })
710
+
641
711
  it("teo.v20220901.DescribeAvailablePlans", async function () {
642
712
  try {
643
713
  const data = await client.DescribeAvailablePlans({})
@@ -678,9 +748,9 @@ it("teo.v20220901.ModifyAccelerationDomainStatuses", async function () {
678
748
  }
679
749
  })
680
750
 
681
- it("teo.v20220901.ModifySecurityIPGroup", async function () {
751
+ it("teo.v20220901.DescribeFunctionRules", async function () {
682
752
  try {
683
- const data = await client.ModifySecurityIPGroup({})
753
+ const data = await client.DescribeFunctionRules({})
684
754
  expect(data).to.be.ok
685
755
  } catch(error) {
686
756
  expect(error.requestId).to.be.ok
@@ -758,6 +828,16 @@ it("teo.v20220901.DeleteCustomErrorPage", async function () {
758
828
  }
759
829
  })
760
830
 
831
+ it("teo.v20220901.HandleFunctionRuntimeEnvironment", async function () {
832
+ try {
833
+ const data = await client.HandleFunctionRuntimeEnvironment({})
834
+ expect(data).to.be.ok
835
+ } catch(error) {
836
+ expect(error.requestId).to.be.ok
837
+ expect(error.code).to.be.ok
838
+ }
839
+ })
840
+
761
841
  it("teo.v20220901.UpgradePlan", async function () {
762
842
  try {
763
843
  const data = await client.UpgradePlan({})
@@ -768,6 +848,26 @@ it("teo.v20220901.UpgradePlan", async function () {
768
848
  }
769
849
  })
770
850
 
851
+ it("teo.v20220901.ModifyFunctionRulePriority", async function () {
852
+ try {
853
+ const data = await client.ModifyFunctionRulePriority({})
854
+ expect(data).to.be.ok
855
+ } catch(error) {
856
+ expect(error.requestId).to.be.ok
857
+ expect(error.code).to.be.ok
858
+ }
859
+ })
860
+
861
+ it("teo.v20220901.ModifySecurityIPGroup", async function () {
862
+ try {
863
+ const data = await client.ModifySecurityIPGroup({})
864
+ expect(data).to.be.ok
865
+ } catch(error) {
866
+ expect(error.requestId).to.be.ok
867
+ expect(error.code).to.be.ok
868
+ }
869
+ })
870
+
771
871
  it("teo.v20220901.DescribeRules", async function () {
772
872
  try {
773
873
  const data = await client.DescribeRules({})
@@ -988,6 +1088,16 @@ it("teo.v20220901.DescribeZones", async function () {
988
1088
  }
989
1089
  })
990
1090
 
1091
+ it("teo.v20220901.DescribeFunctions", async function () {
1092
+ try {
1093
+ const data = await client.DescribeFunctions({})
1094
+ expect(data).to.be.ok
1095
+ } catch(error) {
1096
+ expect(error.requestId).to.be.ok
1097
+ expect(error.code).to.be.ok
1098
+ }
1099
+ })
1100
+
991
1101
  it("teo.v20220901.DeleteZone", async function () {
992
1102
  try {
993
1103
  const data = await client.DeleteZone({})