tencentcloud-sdk-nodejs 4.0.670 → 4.0.671

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 (115) hide show
  1. package/CHANGELOG.md +254 -0
  2. package/SERVICE_CHANGELOG.md +311 -258
  3. package/package.json +1 -1
  4. package/products.md +17 -16
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/index.ts +2 -2
  7. package/src/services/bma/index.ts +2 -2
  8. package/src/services/car/v20220110/car_client.ts +2 -2
  9. package/src/services/car/v20220110/car_models.ts +7 -0
  10. package/src/services/ccc/v20200210/ccc_models.ts +4 -0
  11. package/src/services/cdb/v20170320/cdb_client.ts +1 -1
  12. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  13. package/src/services/cfg/v20210820/cfg_models.ts +20 -10
  14. package/src/services/chdfs/index.ts +2 -2
  15. package/src/services/dcdb/v20180411/dcdb_client.ts +7 -22
  16. package/src/services/dcdb/v20180411/dcdb_models.ts +0 -98
  17. package/src/services/dsgc/index.ts +5 -0
  18. package/src/services/dsgc/v20190723/dsgc_client.ts +44 -0
  19. package/src/services/dsgc/v20190723/dsgc_models.ts +106 -0
  20. package/src/services/dsgc/v20190723/index.ts +6 -0
  21. package/src/services/dts/index.ts +2 -2
  22. package/src/services/eis/index.ts +2 -2
  23. package/src/services/ess/v20201111/ess_models.ts +3 -2
  24. package/src/services/essbasic/v20210526/essbasic_models.ts +2 -1
  25. package/src/services/iai/index.ts +2 -2
  26. package/src/services/ims/index.ts +2 -2
  27. package/src/services/index.ts +1 -0
  28. package/src/services/iotcloud/index.ts +2 -2
  29. package/src/services/iotvideo/index.ts +2 -2
  30. package/src/services/lcic/v20220817/lcic_models.ts +4 -0
  31. package/src/services/lighthouse/v20200324/lighthouse_client.ts +197 -35
  32. package/src/services/lighthouse/v20200324/lighthouse_models.ts +617 -112
  33. package/src/services/mgobe/index.ts +2 -2
  34. package/src/services/mongodb/index.ts +2 -2
  35. package/src/services/privatedns/v20201028/privatedns_models.ts +11 -11
  36. package/src/services/pts/v20210728/pts_models.ts +4 -0
  37. package/src/services/sms/index.ts +2 -2
  38. package/src/services/tem/index.ts +2 -2
  39. package/src/services/thpc/index.ts +4 -4
  40. package/src/services/tione/v20211111/tione_client.ts +1 -0
  41. package/src/services/tione/v20211111/tione_models.ts +148 -104
  42. package/src/services/tms/index.ts +2 -2
  43. package/src/services/tsw/index.ts +2 -2
  44. package/src/services/vm/index.ts +2 -2
  45. package/src/services/wedata/v20210820/wedata_models.ts +21 -21
  46. package/tencentcloud/common/sdk_version.d.ts +1 -1
  47. package/tencentcloud/common/sdk_version.js +1 -1
  48. package/tencentcloud/services/ams/index.d.ts +4 -4
  49. package/tencentcloud/services/ams/index.js +2 -2
  50. package/tencentcloud/services/bma/index.d.ts +4 -4
  51. package/tencentcloud/services/bma/index.js +2 -2
  52. package/tencentcloud/services/car/v20220110/car_client.d.ts +2 -2
  53. package/tencentcloud/services/car/v20220110/car_client.js +2 -2
  54. package/tencentcloud/services/car/v20220110/car_models.d.ts +7 -0
  55. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
  56. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  57. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
  58. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  59. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +20 -10
  60. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  61. package/tencentcloud/services/chdfs/index.js +2 -2
  62. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +3 -9
  63. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +3 -11
  64. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +0 -95
  65. package/tencentcloud/services/dsgc/index.d.ts +6 -0
  66. package/tencentcloud/services/dsgc/index.js +7 -0
  67. package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +14 -0
  68. package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +37 -0
  69. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +87 -0
  70. package/tencentcloud/services/dsgc/v20190723/dsgc_models.js +18 -0
  71. package/tencentcloud/services/dsgc/v20190723/index.d.ts +6 -0
  72. package/tencentcloud/services/dsgc/v20190723/index.js +9 -0
  73. package/tencentcloud/services/dts/index.d.ts +4 -4
  74. package/tencentcloud/services/dts/index.js +2 -2
  75. package/tencentcloud/services/eis/index.d.ts +4 -4
  76. package/tencentcloud/services/eis/index.js +2 -2
  77. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +3 -2
  78. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -1
  79. package/tencentcloud/services/iai/index.d.ts +4 -4
  80. package/tencentcloud/services/iai/index.js +2 -2
  81. package/tencentcloud/services/ims/index.d.ts +4 -4
  82. package/tencentcloud/services/ims/index.js +2 -2
  83. package/tencentcloud/services/index.d.ts +1 -0
  84. package/tencentcloud/services/index.js +2 -0
  85. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  86. package/tencentcloud/services/iotcloud/index.js +2 -2
  87. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  88. package/tencentcloud/services/iotvideo/index.js +2 -2
  89. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
  90. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +61 -9
  91. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +90 -12
  92. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +589 -116
  93. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  94. package/tencentcloud/services/mgobe/index.js +2 -2
  95. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  96. package/tencentcloud/services/mongodb/index.js +2 -2
  97. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +11 -11
  98. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +4 -0
  99. package/tencentcloud/services/sms/index.d.ts +4 -4
  100. package/tencentcloud/services/sms/index.js +2 -2
  101. package/tencentcloud/services/tem/index.d.ts +4 -4
  102. package/tencentcloud/services/tem/index.js +2 -2
  103. package/tencentcloud/services/thpc/index.d.ts +6 -6
  104. package/tencentcloud/services/thpc/index.js +4 -4
  105. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +147 -104
  106. package/tencentcloud/services/tms/index.d.ts +4 -4
  107. package/tencentcloud/services/tms/index.js +2 -2
  108. package/tencentcloud/services/tsw/index.d.ts +4 -4
  109. package/tencentcloud/services/tsw/index.js +2 -2
  110. package/tencentcloud/services/vm/index.d.ts +4 -4
  111. package/tencentcloud/services/vm/index.js +2 -2
  112. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +21 -21
  113. package/test/dcdb.v20180411.test.js +2 -12
  114. package/test/dsgc.v20190723.test.js +31 -0
  115. package/test/lighthouse.v20200324.test.js +138 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.670",
3
+ "version": "4.0.671",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -36,17 +36,17 @@
36
36
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2023-05-18 01:06:44 |
37
37
  | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2023-08-18 01:06:57 |
38
38
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2023-08-17 01:26:03 |
39
- | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-08-15 01:05:14 |
39
+ | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-08-23 01:10:00 |
40
40
  | casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
41
41
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
42
42
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-08-17 01:26:50 |
43
- | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-08-17 01:28:19 |
44
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-08-18 01:07:18 |
43
+ | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-08-23 01:10:26 |
44
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-08-23 01:10:44 |
45
45
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-08-17 01:37:50 |
46
46
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-08-21 01:07:44 |
47
47
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
48
48
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-07-20 01:14:55 |
49
- | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-08-07 01:07:52 |
49
+ | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-08-23 01:12:18 |
50
50
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-08-17 01:43:54 |
51
51
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-08-17 01:45:16 |
52
52
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-08-17 01:47:49 |
@@ -70,19 +70,20 @@
70
70
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-08-17 02:14:05 |
71
71
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-08-18 01:09:28 |
72
72
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
73
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-08-22 01:10:56 |
73
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-08-23 01:18:30 |
74
74
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-08-17 02:45:26 |
75
75
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
76
76
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
77
77
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-07-14 01:15:28 |
78
78
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-08-22 01:11:33 |
79
79
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-08-17 02:50:46 |
80
- | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-08-22 01:11:38 |
80
+ | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-08-23 01:20:18 |
81
81
  | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-08-22 01:11:51 |
82
- | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-08-21 01:10:48 |
82
+ | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-08-23 01:21:14 |
83
83
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-08-17 02:58:55 |
84
84
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-08-17 02:59:36 |
85
85
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-08-17 02:59:40 |
86
+ | dsgc | [数据安全中心](https://cloud.tencent.com/document/product/1087) | 2023-08-22 15:36:03 |
86
87
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
87
88
  | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2023-08-18 16:50:40 |
88
89
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2023-08-22 01:12:28 |
@@ -93,8 +94,8 @@
93
94
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
94
95
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-08-17 03:08:06 |
95
96
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-08-17 03:09:11 |
96
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-08-22 01:13:07 |
97
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-08-22 01:13:29 |
97
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-08-23 01:23:58 |
98
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-08-23 01:24:23 |
98
99
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-07-27 01:13:31 |
99
100
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-08-17 03:11:54 |
100
101
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
@@ -126,8 +127,8 @@
126
127
  | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-05-18 01:35:21 |
127
128
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-07-19 01:29:34 |
128
129
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-08-17 03:51:31 |
129
- | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-08-22 01:15:27 |
130
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-08-22 01:15:36 |
130
+ | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-08-23 01:30:17 |
131
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-08-23 01:30:37 |
131
132
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-08-17 03:57:19 |
132
133
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
133
134
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
@@ -154,8 +155,8 @@
154
155
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
155
156
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
156
157
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2023-08-17 04:24:17 |
157
- | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2023-08-18 01:15:59 |
158
- | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-07-26 01:31:49 |
158
+ | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2023-08-23 01:36:40 |
159
+ | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-08-23 01:36:48 |
159
160
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2023-08-17 04:29:35 |
160
161
  | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-08-17 04:29:40 |
161
162
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2023-08-02 01:20:32 |
@@ -206,7 +207,7 @@
206
207
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2023-08-17 05:26:12 |
207
208
  | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
208
209
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-08-17 05:26:15 |
209
- | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-08-22 01:21:13 |
210
+ | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-08-23 01:45:33 |
210
211
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-08-17 05:29:47 |
211
212
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-08-17 05:31:16 |
212
213
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
@@ -217,7 +218,7 @@
217
218
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2023-08-07 10:45:38 |
218
219
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-08-15 01:44:16 |
219
220
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
220
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-08-17 05:42:31 |
221
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-08-23 01:47:01 |
221
222
  | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-08-21 01:19:32 |
222
223
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-08-22 01:21:52 |
223
224
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
@@ -230,7 +231,7 @@
230
231
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-07-18 01:58:58 |
231
232
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-08-22 01:23:21 |
232
233
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-18 01:59:28 |
233
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-08-22 01:23:51 |
234
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-08-23 01:51:51 |
234
235
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
235
236
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-08-10 01:50:27 |
236
237
  | youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.670"
1
+ export const sdkVersion = "4.0.671"
@@ -1,7 +1,7 @@
1
- import { v20201229 } from "./v20201229"
2
1
  import { v20200608 } from "./v20200608"
2
+ import { v20201229 } from "./v20201229"
3
3
 
4
4
  export const ams = {
5
- v20201229: v20201229,
6
5
  v20200608: v20200608,
6
+ v20201229: v20201229,
7
7
  }
@@ -1,7 +1,7 @@
1
- import { v20221115 } from "./v20221115"
2
1
  import { v20210624 } from "./v20210624"
2
+ import { v20221115 } from "./v20221115"
3
3
 
4
4
  export const bma = {
5
- v20221115: v20221115,
6
5
  v20210624: v20210624,
6
+ v20221115: v20221115,
7
7
  }
@@ -40,7 +40,7 @@ export class Client extends AbstractClient {
40
40
  }
41
41
 
42
42
  /**
43
- * 申请并发
43
+ * 本接口用于申请并发。接口超时时间:20秒。
44
44
  */
45
45
  async ApplyConcurrent(
46
46
  req: ApplyConcurrentRequest,
@@ -70,7 +70,7 @@ export class Client extends AbstractClient {
70
70
  }
71
71
 
72
72
  /**
73
- * 创建会话
73
+ * 本接口用于创建会话。接口超时时间:5秒。
74
74
  */
75
75
  async CreateSession(
76
76
  req: CreateSessionRequest,
@@ -123,6 +123,10 @@ export interface StartPublishStreamRequest {
123
123
  * 唯一用户身份标识,由业务方自定义,平台不予理解。(UserId将作为StreamId进行推流,比如绑定推流域名为abc.livepush.myqcloud.com,那么推流地址为rtmp://abc.livepush.myqcloud.com/live/UserId?txSecret=xxx&txTime=xxx)
124
124
  */
125
125
  UserId: string
126
+ /**
127
+ * 推流参数,推流时携带自定义参数。
128
+ */
129
+ PublishStreamArgs?: string
126
130
  }
127
131
 
128
132
  /**
@@ -152,6 +156,9 @@ RunWithoutClient:允许无客户端连接的情况下仍保持云端 App 运
152
156
  如果请求的是多应用共享项目,此参数生效;
153
157
  如果请求的是关闭预启动的单应用独享项目,此参数生效;
154
158
  如果请求的是开启预启动的单应用独享项目,此参数失效。
159
+
160
+ 注意:在此参数生效的情况下,将会被追加到控制台应用或项目配置的启动参数的后面。
161
+ 例如,对于某关闭预启动的单应用独享项目,若在控制台中项目配置的启动参数为bar=0,而ApplicationParameters参数为foo=1,则实际应用启动参数为bar=0 foo=1。
155
162
  */
156
163
  ApplicationParameters?: string
157
164
  /**
@@ -2747,6 +2747,10 @@ export interface CreateSDKLoginTokenRequest {
2747
2747
  * 座席账号。
2748
2748
  */
2749
2749
  SeatUserId: string
2750
+ /**
2751
+ * 生成的token是否一次性校验
2752
+ */
2753
+ OnlyOnce?: boolean
2750
2754
  }
2751
2755
 
2752
2756
  /**
@@ -1021,7 +1021,7 @@ export class Client extends AbstractClient {
1021
1021
  }
1022
1022
 
1023
1023
  /**
1024
- * 本接口(DescribeSlowLogs)用于获取云数据库实例的慢查询日志。
1024
+ * 本接口(DescribeSlowLogs)用于获取云数据库实例的慢查询日志。说明:若单次查询数据量过大,则有可能响应超时,建议缩短单次查询时间范围,如一小时,避免导致超时。
1025
1025
  */
1026
1026
  async DescribeSlowLogs(
1027
1027
  req: DescribeSlowLogsRequest,
@@ -8851,11 +8851,11 @@ export interface DescribeSlowLogsResponse {
8851
8851
  /**
8852
8852
  * 符合查询条件的慢查询日志总数。
8853
8853
  */
8854
- TotalCount: number
8854
+ TotalCount?: number
8855
8855
  /**
8856
8856
  * 符合查询条件的慢查询日志详情。
8857
8857
  */
8858
- Items: Array<SlowLogInfo>
8858
+ Items?: Array<SlowLogInfo>
8859
8859
  /**
8860
8860
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8861
8861
  */
@@ -680,32 +680,37 @@ export interface DescribeTemplateListResponse {
680
680
  * 监控指标
681
681
  */
682
682
  export interface TaskMonitor {
683
+ /**
684
+ * 演练监控指标ID
685
+ */
686
+ TaskMonitorId?: number
683
687
  /**
684
688
  * 监控指标ID
689
+ 注意:此字段可能返回 null,表示取不到有效值。
685
690
  */
686
- TaskMonitorId: number
691
+ MetricId?: number
687
692
  /**
688
693
  * 监控指标对象类型ID
689
694
  */
690
- TaskMonitorObjectTypeId: number
695
+ TaskMonitorObjectTypeId?: number
691
696
  /**
692
697
  * 指标名称
693
698
  */
694
- MetricName: string
699
+ MetricName?: string
695
700
  /**
696
701
  * 实例ID列表
697
702
  */
698
- InstancesIds: Array<string>
703
+ InstancesIds?: Array<string>
699
704
  /**
700
705
  * 中文指标
701
706
  注意:此字段可能返回 null,表示取不到有效值。
702
707
  */
703
- MetricChineseName: string
708
+ MetricChineseName?: string
704
709
  /**
705
710
  * 单位
706
711
  注意:此字段可能返回 null,表示取不到有效值。
707
712
  */
708
- Unit: string
713
+ Unit?: string
709
714
  }
710
715
 
711
716
  /**
@@ -1032,23 +1037,28 @@ export interface DescribeTaskExecuteLogsResponse {
1032
1037
  * 监控指标
1033
1038
  */
1034
1039
  export interface TemplateMonitor {
1040
+ /**
1041
+ * pk
1042
+ */
1043
+ MonitorId?: number
1035
1044
  /**
1036
1045
  * 监控指标ID
1046
+ 注意:此字段可能返回 null,表示取不到有效值。
1037
1047
  */
1038
- MonitorId: number
1048
+ MetricId?: number
1039
1049
  /**
1040
1050
  * 监控指标对象类型ID
1041
1051
  */
1042
- ObjectTypeId: number
1052
+ ObjectTypeId?: number
1043
1053
  /**
1044
1054
  * 指标名称
1045
1055
  */
1046
- MetricName: string
1056
+ MetricName?: string
1047
1057
  /**
1048
1058
  * 中文指标
1049
1059
  注意:此字段可能返回 null,表示取不到有效值。
1050
1060
  */
1051
- MetricChineseName: string
1061
+ MetricChineseName?: string
1052
1062
  }
1053
1063
 
1054
1064
  /**
@@ -1,7 +1,7 @@
1
- import { v20190718 } from "./v20190718"
2
1
  import { v20201112 } from "./v20201112"
2
+ import { v20190718 } from "./v20190718"
3
3
 
4
4
  export const chdfs = {
5
- v20190718: v20190718,
6
5
  v20201112: v20201112,
6
+ v20190718: v20190718,
7
7
  }
@@ -86,7 +86,6 @@ import {
86
86
  TablePrivilege,
87
87
  DescribeProjectSecurityGroupsResponse,
88
88
  DatabaseFunction,
89
- DescribeSqlLogsRequest,
90
89
  ParamConstraint,
91
90
  ResetAccountPasswordResponse,
92
91
  DescribeDCDBSaleInfoRequest,
@@ -162,7 +161,6 @@ import {
162
161
  CloseDBExtranetAccessRequest,
163
162
  InitDCDBInstancesRequest,
164
163
  ResourceTag,
165
- DescribeSqlLogsResponse,
166
164
  DeleteAccountRequest,
167
165
  DescribeDCDBInstancesResponse,
168
166
  ModifyAccountPrivilegesResponse,
@@ -197,7 +195,6 @@ import {
197
195
  DBAccount,
198
196
  DescribeDatabaseTableResponse,
199
197
  DescribeAccountPrivilegesRequest,
200
- SqlLogItem,
201
198
  DescribeAccountsResponse,
202
199
  DescribeDBSlowLogsResponse,
203
200
  DescribeDCDBRenewalPriceRequest,
@@ -522,15 +519,13 @@ export class Client extends AbstractClient {
522
519
  }
523
520
 
524
521
  /**
525
- * 已废弃接口
526
-
527
- 本接口(DescribeSqlLogs)用于获取实例SQL日志。
528
- */
529
- async DescribeSqlLogs(
530
- req: DescribeSqlLogsRequest,
531
- cb?: (error: string, rep: DescribeSqlLogsResponse) => void
532
- ): Promise<DescribeSqlLogsResponse> {
533
- return this.request("DescribeSqlLogs", req, cb)
522
+ * 本接口(KillSession)用于杀死指定会话。
523
+ */
524
+ async KillSession(
525
+ req: KillSessionRequest,
526
+ cb?: (error: string, rep: KillSessionResponse) => void
527
+ ): Promise<KillSessionResponse> {
528
+ return this.request("KillSession", req, cb)
534
529
  }
535
530
 
536
531
  /**
@@ -613,16 +608,6 @@ export class Client extends AbstractClient {
613
608
  return this.request("ModifyInstanceNetwork", req, cb)
614
609
  }
615
610
 
616
- /**
617
- * 本接口(KillSession)用于杀死指定会话。
618
- */
619
- async KillSession(
620
- req: KillSessionRequest,
621
- cb?: (error: string, rep: KillSessionResponse) => void
622
- ): Promise<KillSessionResponse> {
623
- return this.request("KillSession", req, cb)
624
- }
625
-
626
611
  /**
627
612
  * 本接口(OpenDBExtranetAccess)用于开通云数据库实例的外网访问。开通外网访问后,您可通过外网域名和端口访问实例,可使用查询实例列表接口获取外网域名和端口信息。
628
613
  */
@@ -1653,24 +1653,6 @@ export interface DatabaseFunction {
1653
1653
  Func: string
1654
1654
  }
1655
1655
 
1656
- /**
1657
- * DescribeSqlLogs请求参数结构体
1658
- */
1659
- export interface DescribeSqlLogsRequest {
1660
- /**
1661
- * 实例 ID,形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
1662
- */
1663
- InstanceId: string
1664
- /**
1665
- * SQL日志偏移。
1666
- */
1667
- Offset?: number
1668
- /**
1669
- * 拉取数量(0-10000,为0时拉取总数信息)。
1670
- */
1671
- Limit?: number
1672
- }
1673
-
1674
1656
  /**
1675
1657
  * 参数约束
1676
1658
  */
@@ -3626,40 +3608,6 @@ export interface ResourceTag {
3626
3608
  TagValue: string
3627
3609
  }
3628
3610
 
3629
- /**
3630
- * DescribeSqlLogs返回参数结构体
3631
- */
3632
- export interface DescribeSqlLogsResponse {
3633
- /**
3634
- * 当前消息队列中的sql日志条目数。
3635
- */
3636
- TotalCount: number
3637
- /**
3638
- * 消息队列中的sql日志起始偏移。
3639
- */
3640
- StartOffset: number
3641
- /**
3642
- * 消息队列中的sql日志结束偏移。
3643
- */
3644
- EndOffset: number
3645
- /**
3646
- * 返回的第一条sql日志的偏移。
3647
- */
3648
- Offset: number
3649
- /**
3650
- * 返回的sql日志数量。
3651
- */
3652
- Count: number
3653
- /**
3654
- * Sql日志列表。
3655
- */
3656
- SqlItems: Array<SqlLogItem>
3657
- /**
3658
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3659
- */
3660
- RequestId?: string
3661
- }
3662
-
3663
3611
  /**
3664
3612
  * DeleteAccount请求参数结构体
3665
3613
  */
@@ -4450,52 +4398,6 @@ export interface DescribeAccountPrivilegesRequest {
4450
4398
  ColName?: string
4451
4399
  }
4452
4400
 
4453
- /**
4454
- * 描述一条sql日志的详细信息。
4455
- */
4456
- export interface SqlLogItem {
4457
- /**
4458
- * 本条日志在消息队列中的偏移量。
4459
- */
4460
- Offset: number
4461
- /**
4462
- * 执行本条sql的用户。
4463
- */
4464
- User: string
4465
- /**
4466
- * 执行本条sql的客户端IP+端口。
4467
- */
4468
- Client: string
4469
- /**
4470
- * 数据库名称。
4471
- */
4472
- DbName: string
4473
- /**
4474
- * 执行的sql语句。
4475
- */
4476
- Sql: string
4477
- /**
4478
- * 返回的数据行数。
4479
- */
4480
- SelectRowNum: number
4481
- /**
4482
- * 影响行数。
4483
- */
4484
- AffectRowNum: number
4485
- /**
4486
- * Sql执行时间戳。
4487
- */
4488
- Timestamp: number
4489
- /**
4490
- * Sql耗时,单位为毫秒。
4491
- */
4492
- TimeCostMs: number
4493
- /**
4494
- * Sql返回码,0为成功。
4495
- */
4496
- ResultCode: number
4497
- }
4498
-
4499
4401
  /**
4500
4402
  * DescribeAccounts返回参数结构体
4501
4403
  */
@@ -0,0 +1,5 @@
1
+ import { v20190723 } from "./v20190723"
2
+
3
+ export const dsgc = {
4
+ v20190723: v20190723,
5
+ }
@@ -0,0 +1,44 @@
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
+ CreateDSPADbMetaResourcesRequest,
22
+ CreateDSPADbMetaResourcesResponse,
23
+ DspaCloudResourceMeta,
24
+ } from "./dsgc_models"
25
+
26
+ /**
27
+ * dsgc client
28
+ * @class
29
+ */
30
+ export class Client extends AbstractClient {
31
+ constructor(clientConfig: ClientConfig) {
32
+ super("dsgc.tencentcloudapi.com", "2019-07-23", clientConfig)
33
+ }
34
+
35
+ /**
36
+ * 添加用户云上数据库类型资源
37
+ */
38
+ async CreateDSPADbMetaResources(
39
+ req: CreateDSPADbMetaResourcesRequest,
40
+ cb?: (error: string, rep: CreateDSPADbMetaResourcesResponse) => void
41
+ ): Promise<CreateDSPADbMetaResourcesResponse> {
42
+ return this.request("CreateDSPADbMetaResources", req, cb)
43
+ }
44
+ }
@@ -0,0 +1,106 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+
18
+ /**
19
+ * CreateDSPADbMetaResources请求参数结构体
20
+ */
21
+ export interface CreateDSPADbMetaResourcesRequest {
22
+ /**
23
+ * DSPA实例ID。
24
+ */
25
+ DspaId: string
26
+ /**
27
+ * 资源类型,支持:cdb(云数据库 MySQL)、dcdb(TDSQL MySQL版)、mariadb(云数据库 MariaDB)、postgres(云数据库 PostgreSQL)、cynosdbpg(TDSQL-C PostgreSQL版)、cynosdbmysql(TDSQL-C MySQL版)
28
+ */
29
+ MetaType: string
30
+ /**
31
+ * 资源所处地域。
32
+ */
33
+ ResourceRegion: string
34
+ /**
35
+ * 用来标记本次更新是否已经是最后一次,可选值:continue(后续还需要更新)、finished(本次是最后一次更新)。
36
+ */
37
+ UpdateStatus: string
38
+ /**
39
+ * 本次更新的ID号,用来标记一次完整的更新过程。
40
+ */
41
+ UpdateId: string
42
+ /**
43
+ * 云上资源列表。
44
+ */
45
+ Items: Array<DspaCloudResourceMeta>
46
+ }
47
+
48
+ /**
49
+ * CreateDSPADbMetaResources返回参数结构体
50
+ */
51
+ export interface CreateDSPADbMetaResourcesResponse {
52
+ /**
53
+ * 本次更新的ID号,用来标记一次完整的更新过程。
54
+ */
55
+ UpdateId?: string
56
+ /**
57
+ * 资源类型,支持:cdb(云数据库 MySQL)、dcdb(TDSQL MySQL版)、mariadb(云数据库 MariaDB)、postgres(云数据库 PostgreSQL)、cynosdbpg(TDSQL-C PostgreSQL版)、cynosdbmysql(TDSQL-C MySQL版)
58
+ */
59
+ MetaType?: string
60
+ /**
61
+ * DSPA实例ID。
62
+ */
63
+ DspaId?: string
64
+ /**
65
+ * 资源所处地域。
66
+ */
67
+ ResourceRegion?: string
68
+ /**
69
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
70
+ */
71
+ RequestId?: string
72
+ }
73
+
74
+ /**
75
+ * 云上资源元数据
76
+ */
77
+ export interface DspaCloudResourceMeta {
78
+ /**
79
+ * 用户资源ID。
80
+ */
81
+ ResourceId: string
82
+ /**
83
+ * 资源名称。
84
+ */
85
+ ResourceName: string
86
+ /**
87
+ * 资源VIP。
88
+ */
89
+ ResourceVip: string
90
+ /**
91
+ * 资源端口。
92
+ */
93
+ ResourceVPort: number
94
+ /**
95
+ * 资源被创建时间。
96
+ */
97
+ ResourceCreateTime: string
98
+ /**
99
+ * 用户资源VPC ID 字符串。
100
+ */
101
+ ResourceUniqueVpcId: string
102
+ /**
103
+ * 用户资源Subnet ID 字符串。
104
+ */
105
+ ResourceUniqueSubnetId: string
106
+ }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./dsgc_models"
2
+ import { Client } from "./dsgc_client"
3
+ export const v20190723 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -1,7 +1,7 @@
1
- import { v20211206 } from "./v20211206"
2
1
  import { v20180330 } from "./v20180330"
2
+ import { v20211206 } from "./v20211206"
3
3
 
4
4
  export const dts = {
5
- v20211206: v20211206,
6
5
  v20180330: v20180330,
6
+ v20211206: v20211206,
7
7
  }