tencentcloud-sdk-nodejs 4.0.939 → 4.0.941

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 (37) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/SERVICE_CHANGELOG.md +118 -14
  3. package/package.json +1 -1
  4. package/products.md +6 -5
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_models.ts +20 -0
  7. package/src/services/cfw/v20190904/cfw_models.ts +4 -4
  8. package/src/services/csip/v20221121/csip_models.ts +1 -1
  9. package/src/services/index.ts +1 -0
  10. package/src/services/mqtt/index.ts +5 -0
  11. package/src/services/mqtt/v20240516/index.ts +6 -0
  12. package/src/services/mqtt/v20240516/mqtt_client.ts +64 -0
  13. package/src/services/mqtt/v20240516/mqtt_models.ts +315 -0
  14. package/src/services/tke/v20180525/tke_client.ts +35 -8
  15. package/src/services/tke/v20180525/tke_models.ts +213 -43
  16. package/src/services/vpc/v20170312/vpc_models.ts +4 -0
  17. package/tencentcloud/common/sdk_version.d.ts +1 -1
  18. package/tencentcloud/common/sdk_version.js +1 -1
  19. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +20 -0
  20. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +4 -4
  21. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +1 -1
  22. package/tencentcloud/services/index.d.ts +1 -0
  23. package/tencentcloud/services/index.js +2 -0
  24. package/tencentcloud/services/mqtt/index.d.ts +6 -0
  25. package/tencentcloud/services/mqtt/index.js +7 -0
  26. package/tencentcloud/services/mqtt/v20240516/index.d.ts +6 -0
  27. package/tencentcloud/services/mqtt/v20240516/index.js +9 -0
  28. package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +24 -0
  29. package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +49 -0
  30. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +292 -0
  31. package/tencentcloud/services/mqtt/v20240516/mqtt_models.js +18 -0
  32. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +11 -3
  33. package/tencentcloud/services/tke/v20180525/tke_client.js +15 -3
  34. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +206 -43
  35. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
  36. package/test/mqtt.v20240516.test.js +41 -0
  37. package/test/tke.v20180525.test.js +22 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,129 @@
1
+ # Release 4.0.941
2
+
3
+ ## 消息队列 MQTT 版(mqtt) 版本:2024-05-16
4
+
5
+ ### 第 1 次发布
6
+
7
+ 发布时间:2024-09-19 14:22:10
8
+
9
+ 本次发布包含了以下内容:
10
+
11
+ 改善已有的文档。
12
+
13
+ 新增接口:
14
+
15
+ * [DescribeInstance](https://cloud.tencent.com/document/api/1778/111030)
16
+ * [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)
17
+
18
+ 新增数据结构:
19
+
20
+ * [Filter](https://cloud.tencent.com/document/api/1778/111031#Filter)
21
+ * [MQTTInstanceItem](https://cloud.tencent.com/document/api/1778/111031#MQTTInstanceItem)
22
+ * [TagFilter](https://cloud.tencent.com/document/api/1778/111031#TagFilter)
23
+
24
+
25
+
26
+ # Release 4.0.940
27
+
28
+ ## 云数据库 MySQL(cdb) 版本:2017-03-20
29
+
30
+ ### 第 167 次发布
31
+
32
+ 发布时间:2024-09-19 01:11:20
33
+
34
+ 本次发布包含了以下内容:
35
+
36
+ 改善已有的文档。
37
+
38
+ 修改接口:
39
+
40
+ * [CloseWanService](https://cloud.tencent.com/document/api/236/15863)
41
+
42
+ * 新增入参:OpResourceId
43
+
44
+ * [ModifyDBInstanceSecurityGroups](https://cloud.tencent.com/document/api/236/15853)
45
+
46
+ * 新增入参:OpResourceId
47
+
48
+ * [ModifyDBInstanceVipVport](https://cloud.tencent.com/document/api/236/15867)
49
+
50
+ * 新增入参:OpResourceId
51
+
52
+ * [OpenWanService](https://cloud.tencent.com/document/api/236/15875)
53
+
54
+ * 新增入参:OpResourceId
55
+
56
+ * [SwitchDBInstanceMasterSlave](https://cloud.tencent.com/document/api/236/52171)
57
+
58
+ * 新增入参:DstNodeId
59
+
60
+
61
+
62
+
63
+ ## 容器服务(tke) 版本:2022-05-01
64
+
65
+
66
+
67
+ ## 容器服务(tke) 版本:2018-05-25
68
+
69
+ ### 第 179 次发布
70
+
71
+ 发布时间:2024-09-19 02:21:23
72
+
73
+ 本次发布包含了以下内容:
74
+
75
+ 改善已有的文档。
76
+
77
+ 新增接口:
78
+
79
+ * [DescribeOpenPolicyList](https://cloud.tencent.com/document/api/457/111011)
80
+ * [ModifyOpenPolicyList](https://cloud.tencent.com/document/api/457/111010)
81
+
82
+ 修改接口:
83
+
84
+ * [DescribeExternalNodeSupportConfig](https://cloud.tencent.com/document/api/457/101767)
85
+
86
+ * 新增出参:PublicCustomDomain
87
+
88
+
89
+ 新增数据结构:
90
+
91
+ * [OpenConstraintInfo](https://cloud.tencent.com/document/api/457/31866#OpenConstraintInfo)
92
+ * [OpenPolicyInfo](https://cloud.tencent.com/document/api/457/31866#OpenPolicyInfo)
93
+ * [OpenPolicySwitch](https://cloud.tencent.com/document/api/457/31866#OpenPolicySwitch)
94
+
95
+ 修改数据结构:
96
+
97
+ * [Cluster](https://cloud.tencent.com/document/api/457/31866#Cluster)
98
+
99
+ * 新增成员:CdcId
100
+
101
+ * [ClusterNetworkSettings](https://cloud.tencent.com/document/api/457/31866#ClusterNetworkSettings)
102
+
103
+ * <font color="#dd0000">**修改成员**:</font>IgnoreClusterCIDRConflict, MaxNodePodNum, MaxClusterServiceNum, Ipvs, VpcId, Cni
104
+
105
+
106
+
107
+
108
+ ## 私有网络(vpc) 版本:2017-03-12
109
+
110
+ ### 第 205 次发布
111
+
112
+ 发布时间:2024-09-19 02:31:07
113
+
114
+ 本次发布包含了以下内容:
115
+
116
+ 改善已有的文档。
117
+
118
+ 修改接口:
119
+
120
+ * [CreateVpcEndPoint](https://cloud.tencent.com/document/api/215/54685)
121
+
122
+ * 新增入参:Tags
123
+
124
+
125
+
126
+
1
127
  # Release 4.0.939
2
128
 
3
129
  ## 腾讯混元大模型(hunyuan) 版本:2023-09-01
@@ -1,28 +1,25 @@
1
1
  # 本版本更新包含以下内容:
2
2
 
3
- ## 腾讯混元大模型(hunyuan) 版本:2023-09-01
3
+ ## 消息队列 MQTT 版(mqtt) 版本:2024-05-16
4
4
 
5
- ### 第 19 次发布
5
+ ### 第 1 次发布
6
6
 
7
- 发布时间:2024-09-17 18:52:07
7
+ 发布时间:2024-09-19 14:22:10
8
8
 
9
9
  本次发布包含了以下内容:
10
10
 
11
11
  改善已有的文档。
12
12
 
13
- 修改接口:
14
-
15
- * [ChatCompletions](https://cloud.tencent.com/document/api/1729/105701)
16
-
17
- * 新增入参:EnableMultimedia
18
-
19
- * 新增出参:Replaces
13
+ 新增接口:
20
14
 
15
+ * [DescribeInstance](https://cloud.tencent.com/document/api/1778/111030)
16
+ * [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)
21
17
 
22
18
  新增数据结构:
23
19
 
24
- * [Multimedia](https://cloud.tencent.com/document/api/1729/101838#Multimedia)
25
- * [Replace](https://cloud.tencent.com/document/api/1729/101838#Replace)
20
+ * [Filter](https://cloud.tencent.com/document/api/1778/111031#Filter)
21
+ * [MQTTInstanceItem](https://cloud.tencent.com/document/api/1778/111031#MQTTInstanceItem)
22
+ * [TagFilter](https://cloud.tencent.com/document/api/1778/111031#TagFilter)
26
23
 
27
24
 
28
25
 
@@ -16977,6 +16974,37 @@
16977
16974
 
16978
16975
  ## 云数据库 MySQL(cdb) 版本:2017-03-20
16979
16976
 
16977
+ ### 第 167 次发布
16978
+
16979
+ 发布时间:2024-09-19 01:11:20
16980
+
16981
+ 本次发布包含了以下内容:
16982
+
16983
+ 改善已有的文档。
16984
+
16985
+ 修改接口:
16986
+
16987
+ * [CloseWanService](https://cloud.tencent.com/document/api/236/15863)
16988
+
16989
+ * 新增入参:OpResourceId
16990
+
16991
+ * [ModifyDBInstanceSecurityGroups](https://cloud.tencent.com/document/api/236/15853)
16992
+
16993
+ * 新增入参:OpResourceId
16994
+
16995
+ * [ModifyDBInstanceVipVport](https://cloud.tencent.com/document/api/236/15867)
16996
+
16997
+ * 新增入参:OpResourceId
16998
+
16999
+ * [OpenWanService](https://cloud.tencent.com/document/api/236/15875)
17000
+
17001
+ * 新增入参:OpResourceId
17002
+
17003
+ * [SwitchDBInstanceMasterSlave](https://cloud.tencent.com/document/api/236/52171)
17004
+
17005
+ * 新增入参:DstNodeId
17006
+
17007
+
16980
17008
  ### 第 166 次发布
16981
17009
 
16982
17010
  发布时间:2024-09-16 01:16:44
@@ -77629,8 +77657,8 @@
77629
77657
 
77630
77658
  新增数据结构:
77631
77659
 
77632
- * [[Multimedia](https://cloud.tencent.com/document/api/1729/101838#Multimedia)](https://cloud.tencent.com/document/api/1729/101838#[Multimedia](https://cloud.tencent.com/document/api/1729/101838#Multimedia))
77633
- * [[Replace](https://cloud.tencent.com/document/api/1729/101838#Replace)](https://cloud.tencent.com/document/api/1729/101838#[Replace](https://cloud.tencent.com/document/api/1729/101838#Replace))
77660
+ * [Multimedia](https://cloud.tencent.com/document/api/1729/101838#Multimedia)
77661
+ * [Replace](https://cloud.tencent.com/document/api/1729/101838#Replace)
77634
77662
 
77635
77663
  ### 第 18 次发布
77636
77664
 
@@ -100590,6 +100618,30 @@
100590
100618
 
100591
100619
 
100592
100620
 
100621
+ ## 消息队列 MQTT 版(mqtt) 版本:2024-05-16
100622
+
100623
+ ### 第 1 次发布
100624
+
100625
+ 发布时间:2024-09-19 14:22:10
100626
+
100627
+ 本次发布包含了以下内容:
100628
+
100629
+ 改善已有的文档。
100630
+
100631
+ 新增接口:
100632
+
100633
+ * [[DescribeInstance](https://cloud.tencent.com/document/api/1778/111030)](https://cloud.tencent.com/document/api/#/#)
100634
+ * [[DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)](https://cloud.tencent.com/document/api/#/#)
100635
+
100636
+ 新增数据结构:
100637
+
100638
+ * [[Filter](https://cloud.tencent.com/document/api/1778/111031#Filter)](https://cloud.tencent.com/document/api/1778/111031#[Filter](https://cloud.tencent.com/document/api/1778/111031#Filter))
100639
+ * [[MQTTInstanceItem](https://cloud.tencent.com/document/api/1778/111031#MQTTInstanceItem)](https://cloud.tencent.com/document/api/1778/111031#[MQTTInstanceItem](https://cloud.tencent.com/document/api/1778/111031#MQTTInstanceItem))
100640
+ * [[TagFilter](https://cloud.tencent.com/document/api/1778/111031#TagFilter)](https://cloud.tencent.com/document/api/1778/111031#[TagFilter](https://cloud.tencent.com/document/api/1778/111031#TagFilter))
100641
+
100642
+
100643
+
100644
+
100593
100645
  ## 医疗报告结构化(mrs) 版本:2020-09-10
100594
100646
 
100595
100647
  ### 第 26 次发布
@@ -140332,6 +140384,43 @@
140332
140384
 
140333
140385
  ## 容器服务(tke) 版本:2018-05-25
140334
140386
 
140387
+ ### 第 179 次发布
140388
+
140389
+ 发布时间:2024-09-19 02:21:23
140390
+
140391
+ 本次发布包含了以下内容:
140392
+
140393
+ 改善已有的文档。
140394
+
140395
+ 新增接口:
140396
+
140397
+ * [DescribeOpenPolicyList](https://cloud.tencent.com/document/api/457/111011)
140398
+ * [ModifyOpenPolicyList](https://cloud.tencent.com/document/api/457/111010)
140399
+
140400
+ 修改接口:
140401
+
140402
+ * [DescribeExternalNodeSupportConfig](https://cloud.tencent.com/document/api/457/101767)
140403
+
140404
+ * 新增出参:PublicCustomDomain
140405
+
140406
+
140407
+ 新增数据结构:
140408
+
140409
+ * [OpenConstraintInfo](https://cloud.tencent.com/document/api/457/31866#OpenConstraintInfo)
140410
+ * [OpenPolicyInfo](https://cloud.tencent.com/document/api/457/31866#OpenPolicyInfo)
140411
+ * [OpenPolicySwitch](https://cloud.tencent.com/document/api/457/31866#OpenPolicySwitch)
140412
+
140413
+ 修改数据结构:
140414
+
140415
+ * [Cluster](https://cloud.tencent.com/document/api/457/31866#Cluster)
140416
+
140417
+ * 新增成员:CdcId
140418
+
140419
+ * [ClusterNetworkSettings](https://cloud.tencent.com/document/api/457/31866#ClusterNetworkSettings)
140420
+
140421
+ * <font color="#dd0000">**修改成员**:</font>IgnoreClusterCIDRConflict, MaxNodePodNum, MaxClusterServiceNum, Ipvs, VpcId, Cni
140422
+
140423
+
140335
140424
  ### 第 178 次发布
140336
140425
 
140337
140426
  发布时间:2024-09-12 02:21:19
@@ -158156,6 +158245,21 @@
158156
158245
 
158157
158246
  ## 私有网络(vpc) 版本:2017-03-12
158158
158247
 
158248
+ ### 第 205 次发布
158249
+
158250
+ 发布时间:2024-09-19 02:31:07
158251
+
158252
+ 本次发布包含了以下内容:
158253
+
158254
+ 改善已有的文档。
158255
+
158256
+ 修改接口:
158257
+
158258
+ * [CreateVpcEndPoint](https://cloud.tencent.com/document/api/215/54685)
158259
+
158260
+ * 新增入参:Tags
158261
+
158262
+
158159
158263
  ### 第 204 次发布
158160
158264
 
158161
158265
  发布时间:2024-09-12 02:30:22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.939",
3
+ "version": "4.0.941",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -40,7 +40,7 @@
40
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-07-26 01:15:04 |
41
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-08-28 01:11:56 |
42
42
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-08-22 01:10:57 |
43
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-09-16 01:16:44 |
43
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-09-19 01:11:20 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-08-28 01:14:49 |
45
45
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-26 01:17:46 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 |
@@ -50,7 +50,7 @@
50
50
  | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-08-28 01:17:24 |
51
51
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-09-13 01:14:11 |
52
52
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-08-28 01:17:42 |
53
- | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-09-16 01:21:22 |
53
+ | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-09-19 01:15:41 |
54
54
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 |
55
55
  | ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2024-06-17 01:21:02 |
56
56
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
@@ -70,12 +70,12 @@
70
70
  | controlcenter | [控制中心](https://cloud.tencent.com/document/product/1708) | 2024-08-28 15:03:07 |
71
71
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
72
72
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
73
- | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-08-28 01:24:29 |
73
+ | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-09-19 01:21:01 |
74
74
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
75
75
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-09-10 01:20:00 |
76
76
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-09-09 01:25:33 |
77
77
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
78
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-09-06 01:24:52 |
78
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-09-19 01:26:29 |
79
79
  | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-09-13 01:25:56 |
80
80
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
81
81
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
@@ -151,6 +151,7 @@
151
151
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-08-28 02:04:37 |
152
152
  | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-08-28 02:05:12 |
153
153
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-09-13 01:54:23 |
154
+ | mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-09-19 14:22:10 |
154
155
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-09-12 02:00:38 |
155
156
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-08-16 02:04:04 |
156
157
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
@@ -241,7 +242,7 @@
241
242
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
242
243
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
243
244
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-09-11 19:07:13 |
244
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-09-16 02:41:55 |
245
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-09-19 02:31:07 |
245
246
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-09-06 02:27:27 |
246
247
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-09-10 02:27:11 |
247
248
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-09-09 02:31:32 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.939"
1
+ export const sdkVersion = "4.0.941"
@@ -1097,6 +1097,10 @@ export interface CloseWanServiceRequest {
1097
1097
  * 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
1098
1098
  */
1099
1099
  InstanceId: string
1100
+ /**
1101
+ * 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
1102
+ */
1103
+ OpResourceId?: string
1100
1104
  }
1101
1105
 
1102
1106
  /**
@@ -1942,6 +1946,10 @@ export interface SwitchDBInstanceMasterSlaveRequest {
1942
1946
  * 是否时间窗内切换。默认为 False,即不在时间窗内切换。注意,如果设置了 ForceSwitch 参数为 True,则该参数不生效。
1943
1947
  */
1944
1948
  WaitSwitch?: boolean
1949
+ /**
1950
+ * 集群版实例指定节点id发起主从切换。
1951
+ */
1952
+ DstNodeId?: string
1945
1953
  }
1946
1954
 
1947
1955
  /**
@@ -2062,6 +2070,10 @@ export interface OpenWanServiceRequest {
2062
2070
  * 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
2063
2071
  */
2064
2072
  InstanceId: string
2073
+ /**
2074
+ * 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
2075
+ */
2076
+ OpResourceId?: string
2065
2077
  }
2066
2078
 
2067
2079
  /**
@@ -7554,6 +7566,10 @@ export interface ModifyDBInstanceVipVportRequest {
7554
7566
  * 进行基础网络转 VPC 网络和 VPC 网络下的子网变更时,原网络中旧IP的回收时间,单位为小时,取值范围为0-168,默认值为24小时。
7555
7567
  */
7556
7568
  ReleaseDuration?: number
7569
+ /**
7570
+ * 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
7571
+ */
7572
+ OpResourceId?: string
7557
7573
  }
7558
7574
 
7559
7575
  /**
@@ -9411,6 +9427,10 @@ export interface ModifyDBInstanceSecurityGroupsRequest {
9411
9427
  * 当传入只读实例ID时,默认操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True
9412
9428
  */
9413
9429
  ForReadonlyInstance?: boolean
9430
+ /**
9431
+ * 变更集群版实例只读组时,InstanceId传实例id,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
9432
+ */
9433
+ OpResourceId?: string
9414
9434
  }
9415
9435
 
9416
9436
  /**
@@ -4920,7 +4920,7 @@ export interface EnterpriseSecurityGroupRuleRuleInfo {
4920
4920
  */
4921
4921
  IsDelay?: number
4922
4922
  /**
4923
- * 服务模版id
4923
+ * 服务模板id
4924
4924
  注意:此字段可能返回 null,表示取不到有效值。
4925
4925
  */
4926
4926
  ServiceTemplateId?: string
@@ -4945,7 +4945,7 @@ export interface EnterpriseSecurityGroupRuleRuleInfo {
4945
4945
  */
4946
4946
  SouCidr?: string
4947
4947
  /**
4948
- * 源模版名称
4948
+ * 源模板名称
4949
4949
  注意:此字段可能返回 null,表示取不到有效值。
4950
4950
  */
4951
4951
  SouParameterName?: string
@@ -4970,12 +4970,12 @@ export interface EnterpriseSecurityGroupRuleRuleInfo {
4970
4970
  */
4971
4971
  Cidr?: string
4972
4972
  /**
4973
- * 目的模版名称
4973
+ * 目的模板名称
4974
4974
  注意:此字段可能返回 null,表示取不到有效值。
4975
4975
  */
4976
4976
  ParameterName?: string
4977
4977
  /**
4978
- * 端口模版名称
4978
+ * 端口模板名称
4979
4979
  注意:此字段可能返回 null,表示取不到有效值。
4980
4980
  */
4981
4981
  ProtocolPortName?: string
@@ -3739,7 +3739,7 @@ export interface CreateRiskCenterScanTaskRequest {
3739
3739
  */
3740
3740
  SelfDefiningAssets?: Array<string>
3741
3741
  /**
3742
- * 请求发起源,默认为vss表示漏洞扫描服务,云安全中心的用户请填充csip
3742
+ * 请求发起源,vss表示漏洞扫描服务,云安全中心的用户请填充csip,默认csip
3743
3743
  */
3744
3744
  ScanFrom?: string
3745
3745
  /**
@@ -149,6 +149,7 @@ export { mna } from "./mna"
149
149
  export { mongodb } from "./mongodb"
150
150
  export { monitor } from "./monitor"
151
151
  export { mps } from "./mps"
152
+ export { mqtt } from "./mqtt"
152
153
  export { mrs } from "./mrs"
153
154
  export { ms } from "./ms"
154
155
  export { msp } from "./msp"
@@ -0,0 +1,5 @@
1
+ import { v20240516 } from "./v20240516"
2
+
3
+ export const mqtt = {
4
+ v20240516: v20240516,
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./mqtt_models"
2
+ import { Client } from "./mqtt_client"
3
+ export const v20240516 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -0,0 +1,64 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { AbstractClient } from "../../../common/abstract_client"
19
+ import { ClientConfig } from "../../../common/interface"
20
+ import {
21
+ DescribeInstanceListResponse,
22
+ DescribeInstanceRequest,
23
+ TagFilter,
24
+ Filter,
25
+ MQTTInstanceItem,
26
+ DescribeInstanceResponse,
27
+ DescribeInstanceListRequest,
28
+ } from "./mqtt_models"
29
+
30
+ /**
31
+ * mqtt client
32
+ * @class
33
+ */
34
+ export class Client extends AbstractClient {
35
+ constructor(clientConfig: ClientConfig) {
36
+ super("mqtt.tencentcloudapi.com", "2024-05-16", clientConfig)
37
+ }
38
+
39
+ /**
40
+ * 查询实例信息
41
+ */
42
+ async DescribeInstance(
43
+ req: DescribeInstanceRequest,
44
+ cb?: (error: string, rep: DescribeInstanceResponse) => void
45
+ ): Promise<DescribeInstanceResponse> {
46
+ return this.request("DescribeInstance", req, cb)
47
+ }
48
+
49
+ /**
50
+ * 获取实例列表,Filters参数使用说明如下:
51
+ 1. InstanceName, 名称模糊查询
52
+ 2. InstanceId,实例ID查询
53
+ 3. InstanceType, 实例类型查询,支持多选
54
+ 3. InstanceStatus,实例状态查询,支持多选
55
+
56
+ 当使用TagFilters查询时,Filters参数失效。
57
+ */
58
+ async DescribeInstanceList(
59
+ req: DescribeInstanceListRequest,
60
+ cb?: (error: string, rep: DescribeInstanceListResponse) => void
61
+ ): Promise<DescribeInstanceListResponse> {
62
+ return this.request("DescribeInstanceList", req, cb)
63
+ }
64
+ }