tencentcloud-sdk-nodejs 4.0.509 → 4.0.511

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 (51) hide show
  1. package/CHANGELOG.md +210 -0
  2. package/README.md +2 -2
  3. package/SERVICE_CHANGELOG.md +237 -110
  4. package/examples/cvm_role.js +4 -3
  5. package/examples/cvm_role.ts +28 -0
  6. package/package.json +1 -1
  7. package/products.md +15 -15
  8. package/src/common/abstract_client.ts +11 -4
  9. package/src/common/cvm_role_credential.ts +2 -2
  10. package/src/common/http/http_connection.ts +2 -2
  11. package/src/common/sdk_version.ts +1 -1
  12. package/src/services/as/v20180419/as_models.ts +1 -1
  13. package/src/services/cfg/v20210820/cfg_client.ts +1 -0
  14. package/src/services/cfg/v20210820/cfg_models.ts +43 -0
  15. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  16. package/src/services/dbbrain/v20210527/dbbrain_client.ts +19 -6
  17. package/src/services/dbbrain/v20210527/dbbrain_models.ts +60 -0
  18. package/src/services/dts/v20211206/dts_models.ts +2 -2
  19. package/src/services/ecm/v20190719/ecm_models.ts +2 -2
  20. package/src/services/ess/v20201111/ess_models.ts +74 -8
  21. package/src/services/essbasic/v20210526/essbasic_models.ts +75 -9
  22. package/src/services/tdmq/v20200217/tdmq_models.ts +82 -26
  23. package/src/services/teo/v20220901/teo_client.ts +32 -108
  24. package/src/services/teo/v20220901/teo_models.ts +419 -899
  25. package/src/services/trp/v20210515/trp_models.ts +30 -5
  26. package/src/services/yinsuda/v20220527/yinsuda_client.ts +3 -2
  27. package/src/services/yinsuda/v20220527/yinsuda_models.ts +79 -48
  28. package/tencentcloud/common/abstract_client.js +10 -5
  29. package/tencentcloud/common/cvm_role_credential.d.ts +2 -2
  30. package/tencentcloud/common/http/http_connection.js +2 -2
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
  34. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +36 -0
  35. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  36. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +7 -3
  37. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +9 -3
  38. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +50 -0
  39. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +2 -2
  40. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +2 -2
  41. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +74 -8
  42. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +75 -9
  43. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +72 -26
  44. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -33
  45. package/tencentcloud/services/teo/v20220901/teo_client.js +12 -48
  46. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +362 -770
  47. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +25 -5
  48. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +1 -1
  49. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +68 -42
  50. package/test/dbbrain.v20210527.test.js +12 -2
  51. package/test/teo.v20220901.test.js +8 -68
package/products.md CHANGED
@@ -15,8 +15,8 @@
15
15
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-06-07 06:00:45 |
16
16
  | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2022-11-09 06:09:16 |
17
17
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-12-06 06:16:29 |
18
- | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-11-18 06:08:39 |
19
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-11-29 06:12:14 |
18
+ | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-12-26 01:08:11 |
19
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-12-26 01:08:40 |
20
20
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
21
21
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
22
22
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-12-09 01:11:02 |
@@ -36,7 +36,7 @@
36
36
  | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-12-23 01:11:34 |
37
37
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-12-15 01:11:14 |
38
38
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-11-18 06:12:01 |
39
- | casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-10-31 06:12:52 |
39
+ | casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
40
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-12-12 01:11:14 |
41
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-12-15 01:11:34 |
42
42
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-12-16 01:10:35 |
@@ -45,7 +45,7 @@
45
45
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2022-12-22 01:22:01 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2022-10-31 06:15:53 |
47
47
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2022-12-20 14:06:27 |
48
- | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-12-23 01:15:40 |
48
+ | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-12-26 01:15:15 |
49
49
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-12-19 01:23:20 |
50
50
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-12-16 01:12:46 |
51
51
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2022-07-04 06:04:36 |
@@ -53,7 +53,7 @@
53
53
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-06-27 06:06:02 |
54
54
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
55
55
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
56
- | ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2022-12-21 01:24:34 |
56
+ | ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2022-12-27 01:23:30 |
57
57
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-12-14 01:16:36 |
58
58
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-11-24 06:19:10 |
59
59
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-12-14 01:17:29 |
@@ -71,7 +71,7 @@
71
71
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2022-11-04 06:19:07 |
72
72
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
73
73
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-07-29 06:07:15 |
74
- | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-09-29 06:25:38 |
74
+ | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-12-27 01:33:02 |
75
75
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-11-23 06:23:05 |
76
76
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-10-26 06:29:47 |
77
77
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2022-11-29 06:37:37 |
@@ -81,17 +81,17 @@
81
81
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
82
82
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2022-10-31 06:27:09 |
83
83
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
84
- | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-12-23 01:28:44 |
84
+ | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-12-26 01:27:57 |
85
85
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-08-23 06:27:55 |
86
86
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
87
87
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
88
- | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-09-09 06:24:10 |
88
+ | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-12-27 01:37:12 |
89
89
  | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
90
90
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2022-11-16 06:22:42 |
91
91
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-12-13 10:29:37 |
92
92
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-12-12 01:25:49 |
93
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-12-14 01:27:17 |
94
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-12-22 01:39:07 |
93
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-12-27 01:39:30 |
94
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-12-27 01:39:46 |
95
95
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
96
96
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-12-07 06:39:49 |
97
97
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
@@ -184,10 +184,10 @@
184
184
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-12-15 01:46:24 |
185
185
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-10-21 06:47:14 |
186
186
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-11-17 06:47:13 |
187
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-11-25 07:03:54 |
187
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-12-27 02:09:12 |
188
188
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-12-06 07:10:10 |
189
- | tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-12-15 01:49:45 |
190
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-12-23 02:00:21 |
189
+ | tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-12-27 02:10:16 |
190
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-12-27 02:10:56 |
191
191
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-12-21 02:09:45 |
192
192
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
193
193
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2022-10-31 06:55:14 |
@@ -202,7 +202,7 @@
202
202
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-11-18 06:55:59 |
203
203
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-12-09 02:09:44 |
204
204
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2022-12-07 07:14:03 |
205
- | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-12-07 07:14:07 |
205
+ | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-12-27 02:17:04 |
206
206
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-12-19 02:11:18 |
207
207
  | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2022-10-31 06:58:14 |
208
208
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-12-16 01:48:54 |
@@ -217,7 +217,7 @@
217
217
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-10-12 07:10:28 |
218
218
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-12-07 07:21:53 |
219
219
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
220
- | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2022-10-28 07:02:46 |
220
+ | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2022-12-27 02:26:58 |
221
221
  | youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
222
222
  | yunjing | [主机安全](https://cloud.tencent.com/document/product) | 2020-09-15 08:08:47 |
223
223
  | yunsou | [腾讯云搜TCS](https://cloud.tencent.com/document/product/270) | 2022-10-31 07:04:25 |
@@ -65,10 +65,17 @@ export class AbstractClient {
65
65
  /**
66
66
  * 认证信息实例
67
67
  */
68
- this.credential = credential || {
69
- secretId: null,
70
- secretKey: null,
71
- token: null,
68
+ if (credential && "getCredential" in credential) {
69
+ this.credential = credential
70
+ } else {
71
+ this.credential = Object.assign(
72
+ {
73
+ secretId: null,
74
+ secretKey: null,
75
+ token: null,
76
+ },
77
+ credential
78
+ )
72
79
  }
73
80
 
74
81
  /**
@@ -14,8 +14,8 @@ interface CvmRoleCredentialResult {
14
14
  Code: string
15
15
  }
16
16
  export default class CvmRoleCredential implements DynamicCredential {
17
- protected roleNameTask: Promise<string>
18
- protected credentialTask: Promise<CvmRoleCredentialResult>
17
+ protected roleNameTask: Promise<string> | null
18
+ protected credentialTask: Promise<CvmRoleCredentialResult> | null
19
19
  protected async getRoleName() {
20
20
  const response = await fetch(ROLE_URL, {})
21
21
  if (!response.ok) {
@@ -123,10 +123,10 @@ export class HttpConnection {
123
123
  signal,
124
124
  }
125
125
 
126
- if (token === null) {
126
+ if (token === null || token === undefined) {
127
127
  delete config.headers["X-TC-Token"]
128
128
  }
129
- if (region === null) {
129
+ if (region === null || region === undefined) {
130
130
  delete config.headers["X-TC-Region"]
131
131
  }
132
132
 
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.509"
1
+ export const sdkVersion = "4.0.511"
@@ -2624,7 +2624,7 @@ export interface IPv6InternetAccessible {
2624
2624
  InternetChargeType?: string
2625
2625
 
2626
2626
  /**
2627
- * 公网出带宽上限,单位:Mbps。<br>默认值:0Mbps,此时不为IPv6分配公网带宽。不同机型、可用区、计费模式的带宽上限范围不一致,具体限制详见[公网带宽上限](https://cloud.tencent.com/document/product/213/12523)。
2627
+ * 公网出带宽上限,单位:Mbps。<br>默认值:0,此时不为IPv6分配公网带宽。不同机型、可用区、计费模式的带宽上限范围不一致,具体限制详见[公网带宽上限](https://cloud.tencent.com/document/product/213/12523)。
2628
2628
  注意:此字段可能返回 null,表示取不到有效值。
2629
2629
  */
2630
2630
  InternetMaxBandwidthOut?: number
@@ -44,6 +44,7 @@ import {
44
44
  DeleteTaskResponse,
45
45
  DescribeTaskRequest,
46
46
  Task,
47
+ TaskReportInfo,
47
48
  CreateTaskFromTemplateRequest,
48
49
  DescribeTaskListRequest,
49
50
  TaskListItem,
@@ -431,6 +431,12 @@ export interface DescribeTaskResponse {
431
431
  */
432
432
  Task: Task
433
433
 
434
+ /**
435
+ * 任务对应的演练报告信息,null表示未导出报告
436
+ 注意:此字段可能返回 null,表示取不到有效值。
437
+ */
438
+ ReportInfo: TaskReportInfo
439
+
434
440
  /**
435
441
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
436
442
  */
@@ -917,6 +923,43 @@ export interface Task {
917
923
  Tags?: Array<TagWithDescribe>
918
924
  }
919
925
 
926
+ /**
927
+ * 演练报告状态信息
928
+ */
929
+ export interface TaskReportInfo {
930
+ /**
931
+ * 0--未开始,1--正在导出,2--导出成功,3--导出失败
932
+ */
933
+ Stage: number
934
+
935
+ /**
936
+ * 创建时间
937
+ */
938
+ CreateTime: string
939
+
940
+ /**
941
+ * 有效期截止时间
942
+ */
943
+ ExpirationTime: string
944
+
945
+ /**
946
+ * 是否有效
947
+ */
948
+ Expired: boolean
949
+
950
+ /**
951
+ * 演练报告cos文件地址
952
+ 注意:此字段可能返回 null,表示取不到有效值。
953
+ */
954
+ CosUrl: string
955
+
956
+ /**
957
+ * 演练报告导出日志
958
+ 注意:此字段可能返回 null,表示取不到有效值。
959
+ */
960
+ Log: string
961
+ }
962
+
920
963
  /**
921
964
  * CreateTaskFromTemplate请求参数结构体
922
965
  */
@@ -5096,7 +5096,7 @@ export interface ModifyInstanceAttributesRequest {
5096
5096
  RebalanceTime?: number
5097
5097
 
5098
5098
  /**
5099
- * 时间戳
5099
+ * 公网带宽
5100
5100
  */
5101
5101
  PublicNetwork?: number
5102
5102
 
@@ -52,6 +52,7 @@ import {
52
52
  ModifyDiagDBInstanceConfRequest,
53
53
  DescribeSecurityAuditLogDownloadUrlsRequest,
54
54
  CreateDBDiagReportTaskResponse,
55
+ ProcessStatistic,
55
56
  CreateMailProfileResponse,
56
57
  DescribeSlowLogTimeSeriesStatsRequest,
57
58
  CancelKillTaskRequest,
@@ -62,6 +63,7 @@ import {
62
63
  DescribeDBDiagEventsRequest,
63
64
  CreateDBDiagReportUrlResponse,
64
65
  CreateKillTaskRequest,
66
+ DescribeProxyProcessStatisticsResponse,
65
67
  SlowLogHost,
66
68
  CreateMailProfileRequest,
67
69
  MonitorFloatMetricSeriesData,
@@ -116,6 +118,7 @@ import {
116
118
  DescribeTopSpaceSchemasResponse,
117
119
  CreateProxySessionKillTaskResponse,
118
120
  DescribeSlowLogTimeSeriesStatsResponse,
121
+ DescribeProxyProcessStatisticsRequest,
119
122
  MonitorFloatMetric,
120
123
  DescribeRedisTopKeyPrefixListResponse,
121
124
  DescribeAllUserGroupResponse,
@@ -400,6 +403,16 @@ export class Client extends AbstractClient {
400
403
  return this.request("DescribeAllUserContact", req, cb)
401
404
  }
402
405
 
406
+ /**
407
+ * 查询redis实例top key前缀列表。
408
+ */
409
+ async DescribeRedisTopKeyPrefixList(
410
+ req: DescribeRedisTopKeyPrefixListRequest,
411
+ cb?: (error: string, rep: DescribeRedisTopKeyPrefixListResponse) => void
412
+ ): Promise<DescribeRedisTopKeyPrefixListResponse> {
413
+ return this.request("DescribeRedisTopKeyPrefixList", req, cb)
414
+ }
415
+
403
416
  /**
404
417
  * 获取实例异常诊断事件的详情信息。
405
418
  */
@@ -421,13 +434,13 @@ export class Client extends AbstractClient {
421
434
  }
422
435
 
423
436
  /**
424
- * 查询redis实例top key前缀列表。
437
+ * 获取当前实例会话统计详情信息。【注意】该接口仅限部分环境调用。
425
438
  */
426
- async DescribeRedisTopKeyPrefixList(
427
- req: DescribeRedisTopKeyPrefixListRequest,
428
- cb?: (error: string, rep: DescribeRedisTopKeyPrefixListResponse) => void
429
- ): Promise<DescribeRedisTopKeyPrefixListResponse> {
430
- return this.request("DescribeRedisTopKeyPrefixList", req, cb)
439
+ async DescribeProxyProcessStatistics(
440
+ req: DescribeProxyProcessStatisticsRequest,
441
+ cb?: (error: string, rep: DescribeProxyProcessStatisticsResponse) => void
442
+ ): Promise<DescribeProxyProcessStatisticsResponse> {
443
+ return this.request("DescribeProxyProcessStatistics", req, cb)
431
444
  }
432
445
 
433
446
  /**
@@ -1015,6 +1015,11 @@ export interface CreateDBDiagReportTaskResponse {
1015
1015
  RequestId?: string
1016
1016
  }
1017
1017
 
1018
+ /**
1019
+ * 实时会话统计详情。
1020
+ */
1021
+ export type ProcessStatistic = null
1022
+
1018
1023
  /**
1019
1024
  * CreateMailProfile返回参数结构体
1020
1025
  */
@@ -1265,6 +1270,21 @@ export interface CreateKillTaskRequest {
1265
1270
  Product?: string
1266
1271
  }
1267
1272
 
1273
+ /**
1274
+ * DescribeProxyProcessStatistics返回参数结构体
1275
+ */
1276
+ export interface DescribeProxyProcessStatisticsResponse {
1277
+ /**
1278
+ * 实时会话统计详情。
1279
+ */
1280
+ ProcessStatistics: ProcessStatistic
1281
+
1282
+ /**
1283
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1284
+ */
1285
+ RequestId?: string
1286
+ }
1287
+
1268
1288
  /**
1269
1289
  * 慢日志来源地址详情。
1270
1290
  */
@@ -2744,6 +2764,46 @@ export interface DescribeSlowLogTimeSeriesStatsResponse {
2744
2764
  RequestId?: string
2745
2765
  }
2746
2766
 
2767
+ /**
2768
+ * DescribeProxyProcessStatistics请求参数结构体
2769
+ */
2770
+ export interface DescribeProxyProcessStatisticsRequest {
2771
+ /**
2772
+ * 实例 ID 。
2773
+ */
2774
+ InstanceId: string
2775
+
2776
+ /**
2777
+ * 当前实例下的 ProxyID。
2778
+ */
2779
+ InstanceProxyId: string
2780
+
2781
+ /**
2782
+ * 返回数量。
2783
+ */
2784
+ Limit: number
2785
+
2786
+ /**
2787
+ * 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
2788
+ */
2789
+ Product: string
2790
+
2791
+ /**
2792
+ * 偏移量,默认0。
2793
+ */
2794
+ Offset?: number
2795
+
2796
+ /**
2797
+ * 按照某字断排序。支持值包括:"AllConn","ActiveConn","Ip"。
2798
+ */
2799
+ SortBy?: string
2800
+
2801
+ /**
2802
+ * 排序方向。支持值包括:"DESC","ASC"。
2803
+ */
2804
+ OrderDirection?: string
2805
+ }
2806
+
2747
2807
  /**
2748
2808
  * 监控数据(浮点型)
2749
2809
  */
@@ -299,7 +299,7 @@ export interface StopMigrateJobResponse {
299
299
  */
300
300
  export interface TableItem {
301
301
  /**
302
- * 迁移的表名
302
+ * 迁移的表名,大小写敏感
303
303
  注意:此字段可能返回 null,表示取不到有效值。
304
304
  */
305
305
  TableName?: string
@@ -2937,7 +2937,7 @@ export interface RecoverMigrateJobResponse {
2937
2937
  }
2938
2938
 
2939
2939
  /**
2940
- * 迁移对象信息
2940
+ * 迁移对象信息,在配置库表视图等对象信息时大小写敏感
2941
2941
  */
2942
2942
  export interface DBItem {
2943
2943
  /**
@@ -3247,7 +3247,7 @@ export interface ModifyModuleNetworkRequest {
3247
3247
  }
3248
3248
 
3249
3249
  /**
3250
- * IP地址模版
3250
+ * IP地址模板
3251
3251
  */
3252
3252
  export interface AddressTemplateSpecification {
3253
3253
  /**
@@ -7219,7 +7219,7 @@ export interface ModifySecurityGroupPoliciesResponse {
7219
7219
  }
7220
7220
 
7221
7221
  /**
7222
- * 协议端口模版
7222
+ * 协议端口模板
7223
7223
  */
7224
7224
  export interface ServiceTemplateSpecification {
7225
7225
  /**
@@ -2446,15 +2446,15 @@ HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
2446
2446
  export interface Component {
2447
2447
  /**
2448
2448
  * 如果是Component控件类型,则可选的字段为:
2449
- TEXT - 普通文本控件;
2450
- MULTI_LINE_TEXT - 多行文本控件;
2451
- CHECK_BOX - 勾选框控件;
2452
- FILL_IMAGE - 图片控件;
2449
+ TEXT - 普通文本控件,输入文本字符串;
2450
+ MULTI_LINE_TEXT - 多行文本控件,输入文本字符串;
2451
+ CHECK_BOX - 勾选框控件,若选中填写ComponentValue 填写 true或者 false 字符串;
2452
+ FILL_IMAGE - 图片控件,ComponentValue 填写图片的资源 ID;
2453
2453
  DYNAMIC_TABLE - 动态表格控件;
2454
- ATTACHMENT - 附件控件;
2455
- SELECTOR - 选择器控件;
2456
- DATE - 日期控件;默认是格式化为xxxx年xx月xx日;
2457
- DISTRICT - 省市区行政区划控件;
2454
+ ATTACHMENT - 附件控件,ComponentValue 填写福建图片的资源 ID列表,以逗号分割;
2455
+ SELECTOR - 选择器控件,ComponentValue填写选择的字符串内容;
2456
+ DATE - 日期控件;默认是格式化为xxxx年xx月xx日字符串;
2457
+ DISTRICT - 省市区行政区划控件,ComponentValue填写省市区行政区划字符串内容;
2458
2458
 
2459
2459
  如果是SignComponent控件类型,则可选的字段为
2460
2460
  SIGN_SEAL - 签署印章控件;
@@ -2553,6 +2553,72 @@ DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo
2553
2553
  DATE - 默认是格式化为xxxx年xx月xx日
2554
2554
  SIGN_SEAL - 印章ID,于控制台查询获取
2555
2555
  SIGN_PAGING_SEAL - 可以指定印章ID,于控制台查询获取
2556
+
2557
+ 控件值约束说明:
2558
+ 企业全称控件:
2559
+ 约束:企业名称中文字符中文括号
2560
+ 检查正则表达式:/^[\u3400-\u4dbf\u4e00-\u9fa5()]+$/
2561
+
2562
+ 统一社会信用代码控件:
2563
+ 检查正则表达式:/^[A-Z0-9]{1,18}$/
2564
+
2565
+ 法人名称控件:
2566
+ 约束:最大50个字符,2到25个汉字或者1到50个字母
2567
+ 检查正则表达式:/^([\u3400-\u4dbf\u4e00-\u9fa5.·]{2,25}|[a-zA-Z·,\s-]{1,50})$/
2568
+
2569
+ 签署意见控件:
2570
+ 约束:签署意见最大长度为50字符
2571
+
2572
+ 签署人手机号控件:
2573
+ 约束:国内手机号 13,14,15,16,17,18,19号段长度11位
2574
+
2575
+ 签署人身份证控件:
2576
+ 约束:合法的身份证号码检查
2577
+
2578
+ 控件名称:
2579
+ 约束:控件名称最大长度为20字符
2580
+
2581
+ 单行文本控件:
2582
+ 约束:只允许输入中文,英文,数字,中英文标点符号
2583
+
2584
+ 多行文本控件:
2585
+ 约束:只允许输入中文,英文,数字,中英文标点符号
2586
+
2587
+ 勾选框控件:
2588
+ 约束:选择填字符串true,不选填字符串false
2589
+
2590
+ 选择器控件:
2591
+ 约束:同单行文本控件约束,填写选择值中的字符串
2592
+
2593
+ 数字控件:
2594
+ 约束:请输入有效的数字(可带小数点)
2595
+ 检查正则表达式:/^(-|\+)?\d+(\.\d+)?$/
2596
+
2597
+ 日期控件:
2598
+ 约束:格式:yyyy年mm月dd日
2599
+
2600
+ 附件控件:
2601
+ 约束:JPG或PNG图片,上传数量限制,1到6个,最大6个附件
2602
+
2603
+ 图片控件:
2604
+ 约束:JPG或PNG图片,填写上传的图片资源ID
2605
+
2606
+ 邮箱控件:
2607
+ 约束:请输入有效的邮箱地址, w3c标准
2608
+ 检查正则表达式:/^([A-Za-z0-9_\-.!#$%&])+@([A-Za-z0-9_\-.])+\.([A-Za-z]{2,4})$/
2609
+ 参考:https://emailregex.com/
2610
+
2611
+ 地址控件:
2612
+ 同单行文本控件约束
2613
+
2614
+ 省市区控件:
2615
+ 同单行文本控件约束
2616
+
2617
+ 性别控件:
2618
+ 同单行文本控件约束,填写选择值中的字符串
2619
+
2620
+ 学历控件:
2621
+ 同单行文本控件约束,填写选择值中的字符串
2556
2622
  */
2557
2623
  ComponentValue?: string
2558
2624
 
@@ -2765,15 +2765,15 @@ CreateFlowByTemplates发起合同时优先以ComponentId(不为空)填充;
2765
2765
 
2766
2766
  /**
2767
2767
  * 如果是Component控件类型,则可选的字段为:
2768
- TEXT - 普通文本控件;
2769
- MULTI_LINE_TEXT - 多行文本控件;
2770
- CHECK_BOX - 勾选框控件;
2771
- FILL_IMAGE - 图片控件;
2772
- DYNAMIC_TABLE - 数据表格控件;
2773
- ATTACHMENT - 附件控件;
2774
- SELECTOR - 选择器控件;
2775
- DATE - 日期控件;默认是格式化为xxxx年xx月xx日;
2776
- DISTRICT - 省市区行政区划控件;
2768
+ TEXT - 普通文本控件,输入文本字符串;
2769
+ MULTI_LINE_TEXT - 多行文本控件,输入文本字符串;
2770
+ CHECK_BOX - 勾选框控件,若选中填写ComponentValue 填写 true或者 false 字符串;
2771
+ FILL_IMAGE - 图片控件,ComponentValue 填写图片的资源 ID;
2772
+ DYNAMIC_TABLE - 动态表格控件;
2773
+ ATTACHMENT - 附件控件,ComponentValue 填写福建图片的资源 ID列表,以逗号分割;
2774
+ SELECTOR - 选择器控件,ComponentValue填写选择的字符串内容;
2775
+ DATE - 日期控件;默认是格式化为xxxx年xx月xx日字符串;
2776
+ DISTRICT - 省市区行政区划控件,ComponentValue填写省市区行政区划字符串内容;
2777
2777
 
2778
2778
  如果是SignComponent控件类型,则可选的字段为
2779
2779
  SIGN_SEAL - 签署印章控件;
@@ -2879,6 +2879,72 @@ DATE - 默认是格式化为xxxx年xx月xx日
2879
2879
  DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
2880
2880
  SIGN_SEAL - 印章ID
2881
2881
  SIGN_PAGING_SEAL - 可以指定印章ID
2882
+
2883
+ 控件值约束说明:
2884
+ 企业全称控件:
2885
+ 约束:企业名称中文字符中文括号
2886
+ 检查正则表达式:/^[\u3400-\u4dbf\u4e00-\u9fa5()]+$/
2887
+
2888
+ 统一社会信用代码控件:
2889
+ 检查正则表达式:/^[A-Z0-9]{1,18}$/
2890
+
2891
+ 法人名称控件:
2892
+ 约束:最大50个字符,2到25个汉字或者1到50个字母
2893
+ 检查正则表达式:/^([\u3400-\u4dbf\u4e00-\u9fa5.·]{2,25}|[a-zA-Z·,\s-]{1,50})$/
2894
+
2895
+ 签署意见控件:
2896
+ 约束:签署意见最大长度为50字符
2897
+
2898
+ 签署人手机号控件:
2899
+ 约束:国内手机号 13,14,15,16,17,18,19号段长度11位
2900
+
2901
+ 签署人身份证控件:
2902
+ 约束:合法的身份证号码检查
2903
+
2904
+ 控件名称:
2905
+ 约束:控件名称最大长度为20字符
2906
+
2907
+ 单行文本控件:
2908
+ 约束:只允许输入中文,英文,数字,中英文标点符号
2909
+
2910
+ 多行文本控件:
2911
+ 约束:只允许输入中文,英文,数字,中英文标点符号
2912
+
2913
+ 勾选框控件:
2914
+ 约束:选择填字符串true,不选填字符串false
2915
+
2916
+ 选择器控件:
2917
+ 约束:同单行文本控件约束,填写选择值中的字符串
2918
+
2919
+ 数字控件:
2920
+ 约束:请输入有效的数字(可带小数点)
2921
+ 检查正则表达式:/^(-|\+)?\d+(\.\d+)?$/
2922
+
2923
+ 日期控件:
2924
+ 约束:格式:yyyy年mm月dd日
2925
+
2926
+ 附件控件:
2927
+ 约束:JPG或PNG图片,上传数量限制,1到6个,最大6个附件
2928
+
2929
+ 图片控件:
2930
+ 约束:JPG或PNG图片,填写上传的图片资源ID
2931
+
2932
+ 邮箱控件:
2933
+ 约束:请输入有效的邮箱地址, w3c标准
2934
+ 检查正则表达式:/^([A-Za-z0-9_\-.!#$%&])+@([A-Za-z0-9_\-.])+\.([A-Za-z]{2,4})$/
2935
+ 参考:https://emailregex.com/
2936
+
2937
+ 地址控件:
2938
+ 同单行文本控件约束
2939
+
2940
+ 省市区控件:
2941
+ 同单行文本控件约束
2942
+
2943
+ 性别控件:
2944
+ 同单行文本控件约束,填写选择值中的字符串
2945
+
2946
+ 学历控件:
2947
+ 同单行文本控件约束,填写选择值中的字符串
2882
2948
  */
2883
2949
  ComponentValue?: string
2884
2950