tencentcloud-sdk-nodejs 4.0.921 → 4.0.922

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 +230 -0
  2. package/SERVICE_CHANGELOG.md +345 -104
  3. package/package.json +1 -1
  4. package/products.md +15 -15
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +17 -4
  7. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +144 -67
  8. package/src/services/clb/v20180317/clb_models.ts +1 -1
  9. package/src/services/dcdb/v20180411/dcdb_models.ts +13 -1
  10. package/src/services/dsgc/v20190723/dsgc_client.ts +3 -3
  11. package/src/services/dsgc/v20190723/dsgc_models.ts +47 -8
  12. package/src/services/faceid/v20180301/faceid_client.ts +1 -1
  13. package/src/services/faceid/v20180301/faceid_models.ts +12 -0
  14. package/src/services/organization/v20210331/organization_client.ts +2 -2
  15. package/src/services/organization/v20210331/organization_models.ts +17 -17
  16. package/src/services/redis/v20180412/redis_models.ts +42 -40
  17. package/src/services/trtc/v20190722/trtc_client.ts +14 -35
  18. package/src/services/trtc/v20190722/trtc_models.ts +40 -0
  19. package/src/services/tse/v20201207/tse_client.ts +1 -0
  20. package/src/services/tse/v20201207/tse_models.ts +29 -0
  21. package/src/services/tts/v20190823/tts_models.ts +2 -2
  22. package/src/services/vclm/v20240523/vclm_models.ts +4 -0
  23. package/src/services/vod/v20180717/vod_models.ts +1 -1
  24. package/src/services/vpc/v20170312/vpc_models.ts +77 -23
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +5 -1
  28. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +6 -0
  29. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +141 -67
  30. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
  31. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +13 -1
  32. package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +0 -1
  33. package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +0 -1
  34. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +46 -8
  35. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -1
  36. package/tencentcloud/services/faceid/v20180301/faceid_client.js +1 -1
  37. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +12 -0
  38. package/tencentcloud/services/organization/v20210331/organization_client.d.ts +2 -2
  39. package/tencentcloud/services/organization/v20210331/organization_client.js +2 -2
  40. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -17
  41. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +42 -40
  42. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +7 -36
  43. package/tencentcloud/services/trtc/v20190722/trtc_client.js +8 -35
  44. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +38 -0
  45. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +28 -0
  46. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +2 -2
  47. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +4 -0
  48. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
  49. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +77 -23
  50. package/test/cdwdoris.v20211228.test.js +10 -0
  51. package/test/trtc.v20190722.test.js +10 -0
package/products.md CHANGED
@@ -45,7 +45,7 @@
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 |
47
47
  | cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-07-24 01:18:03 |
48
- | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-08-20 01:14:45 |
48
+ | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-08-21 01:14:40 |
49
49
  | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
50
50
  | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 |
51
51
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-08-16 01:16:30 |
@@ -57,7 +57,7 @@
57
57
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
58
58
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
59
59
  | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-07-22 01:20:34 |
60
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-08-20 01:18:23 |
60
+ | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-08-21 01:18:11 |
61
61
  | cloudapp | [云应用](https://cloud.tencent.com/document/product/1689) | 2024-07-18 10:12:45 |
62
62
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
63
63
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
@@ -81,13 +81,13 @@
81
81
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-08-19 01:29:38 |
82
82
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-07-08 01:12:54 |
83
83
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-07-15 01:09:18 |
84
- | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-07-11 01:14:04 |
84
+ | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-08-21 01:29:32 |
85
85
  | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-08-15 01:32:44 |
86
- | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-07-29 01:33:59 |
86
+ | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-08-21 01:31:30 |
87
87
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-07-31 01:30:16 |
88
88
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-07-12 01:14:44 |
89
89
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
90
- | dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-08-06 01:35:34 |
90
+ | dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-08-21 01:32:52 |
91
91
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
92
92
  | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-07-24 01:36:02 |
93
93
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-08-19 01:36:09 |
@@ -101,7 +101,7 @@
101
101
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-08-19 01:39:34 |
102
102
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-15 01:42:34 |
103
103
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-08-16 01:43:31 |
104
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-08-19 01:41:40 |
104
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-08-21 01:40:11 |
105
105
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
106
106
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 |
107
107
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-07-23 01:36:12 |
@@ -150,7 +150,7 @@
150
150
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-08-14 02:06:02 |
151
151
  | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-08-05 01:52:14 |
152
152
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-08-20 01:57:54 |
153
- | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-06-14 02:16:42 |
153
+ | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-08-21 01:58:29 |
154
154
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-08-16 02:04:04 |
155
155
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
156
156
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
@@ -159,14 +159,14 @@
159
159
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-07-23 01:53:12 |
160
160
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-08-19 02:02:13 |
161
161
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 |
162
- | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-16 02:06:49 |
162
+ | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-21 02:01:12 |
163
163
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 |
164
164
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
165
165
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-08-15 02:08:21 |
166
166
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-06-18 02:05:02 |
167
167
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-08-09 02:01:53 |
168
168
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-08-01 02:05:51 |
169
- | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-08-07 02:08:35 |
169
+ | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-08-21 02:04:04 |
170
170
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-04-22 01:23:34 |
171
171
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
172
172
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
@@ -227,20 +227,20 @@
227
227
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-08-14 02:39:09 |
228
228
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 |
229
229
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-07-31 02:17:29 |
230
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-08-20 02:24:24 |
231
- | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-08-15 02:32:11 |
230
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-08-21 02:23:20 |
231
+ | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-08-21 02:23:57 |
232
232
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-30 11:37:37 |
233
233
  | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-08-02 02:22:13 |
234
234
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
235
- | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-08-07 02:33:08 |
235
+ | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-08-21 02:26:53 |
236
236
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
237
237
  | vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-06-06 02:47:17 |
238
- | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-07-31 02:21:05 |
238
+ | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-08-21 02:27:00 |
239
239
  | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-08-15 02:35:35 |
240
240
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
241
241
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
242
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-08-20 02:28:28 |
243
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-20 02:30:55 |
242
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-08-21 02:27:27 |
243
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-21 02:29:48 |
244
244
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-08-07 02:38:54 |
245
245
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-07-31 02:26:05 |
246
246
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-08-09 02:30:19 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.921"
1
+ export const sdkVersion = "4.0.922"
@@ -19,7 +19,7 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  DescribeInstanceUsedSubnetsResponse,
22
- CreateInstanceNewResponse,
22
+ DescribeInstanceNodesResponse,
23
23
  DescribeClusterConfigsHistoryResponse,
24
24
  DescribeInstanceOperationsRequest,
25
25
  DescribeClusterConfigsResponse,
@@ -72,7 +72,7 @@ import {
72
72
  CheckCoolDownWorkingVariableConfigCorrectRequest,
73
73
  InstanceOperation,
74
74
  BackupTableContent,
75
- DescribeInstanceNodesResponse,
75
+ CreateInstanceNewResponse,
76
76
  DescribeSqlApisRequest,
77
77
  ModifySecurityGroupsRequest,
78
78
  CreateInstanceNewRequest,
@@ -87,6 +87,7 @@ import {
87
87
  ClusterConfigsHistory,
88
88
  InstanceConfigItem,
89
89
  CreateBackUpScheduleRequest,
90
+ ActionAlterUserResponse,
90
91
  DescribeSpecRequest,
91
92
  DescribeClusterConfigsHistoryRequest,
92
93
  CreateWorkloadGroupRequest,
@@ -127,6 +128,7 @@ import {
127
128
  RestartClusterForNodeRequest,
128
129
  BackupStatus,
129
130
  SearchTags,
131
+ UserInfo,
130
132
  DescribeInstanceUsedSubnetsRequest,
131
133
  DescribeDatabaseAuditRecordsRequest,
132
134
  DescribeBackUpJobDetailResponse,
@@ -143,7 +145,7 @@ import {
143
145
  OpenCoolDownPolicyResponse,
144
146
  ReduceInstanceRequest,
145
147
  DeleteWorkloadGroupResponse,
146
- ResourceSpec,
148
+ InstanceDetail,
147
149
  DescribeCoolDownTableDataResponse,
148
150
  RestartClusterForConfigsRequest,
149
151
  RegionAreaInfo,
@@ -152,6 +154,7 @@ import {
152
154
  CreateWorkloadGroupResponse,
153
155
  DescribeInstanceStateResponse,
154
156
  DescribeCoolDownPoliciesRequest,
157
+ ResourceSpec,
155
158
  RestoreStatus,
156
159
  DeleteBackUpDataResponse,
157
160
  ModifyInstanceKeyValConfigsRequest,
@@ -166,7 +169,7 @@ import {
166
169
  CreateInstanceSpec,
167
170
  DescribeInstanceRequest,
168
171
  DescribeBackUpJobRequest,
169
- InstanceDetail,
172
+ ActionAlterUserRequest,
170
173
  DescribeBackUpTablesRequest,
171
174
  DescribeInstanceNodesRoleRequest,
172
175
  DescribeDatabaseAuditDownloadResponse,
@@ -554,6 +557,16 @@ export class Client extends AbstractClient {
554
557
  return this.request("ModifyCoolDownPolicy", req, cb)
555
558
  }
556
559
 
560
+ /**
561
+ * 新增和修改用户接口
562
+ */
563
+ async ActionAlterUser(
564
+ req: ActionAlterUserRequest,
565
+ cb?: (error: string, rep: ActionAlterUserResponse) => void
566
+ ): Promise<ActionAlterUserResponse> {
567
+ return this.request("ActionAlterUser", req, cb)
568
+ }
569
+
557
570
  /**
558
571
  * 针对驱动sql命令查询ck集群接口
559
572
  */
@@ -36,21 +36,18 @@ export interface DescribeInstanceUsedSubnetsResponse {
36
36
  }
37
37
 
38
38
  /**
39
- * CreateInstanceNew返回参数结构体
39
+ * DescribeInstanceNodes返回参数结构体
40
40
  */
41
- export interface CreateInstanceNewResponse {
42
- /**
43
- * 流程ID
44
- */
45
- FlowId?: string
41
+ export interface DescribeInstanceNodesResponse {
46
42
  /**
47
- * 实例ID
43
+ * 总数
48
44
  */
49
- InstanceId?: string
45
+ TotalCount?: number
50
46
  /**
51
- * 错误信息
47
+ * 实例节点总数
48
+ 注意:此字段可能返回 null,表示取不到有效值。
52
49
  */
53
- ErrorMsg?: string
50
+ InstanceNodesList?: Array<InstanceNode>
54
51
  /**
55
52
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
56
53
  */
@@ -1172,18 +1169,21 @@ export interface BackupTableContent {
1172
1169
  }
1173
1170
 
1174
1171
  /**
1175
- * DescribeInstanceNodes返回参数结构体
1172
+ * CreateInstanceNew返回参数结构体
1176
1173
  */
1177
- export interface DescribeInstanceNodesResponse {
1174
+ export interface CreateInstanceNewResponse {
1178
1175
  /**
1179
- * 总数
1176
+ * 流程ID
1180
1177
  */
1181
- TotalCount?: number
1178
+ FlowId?: string
1182
1179
  /**
1183
- * 实例节点总数
1184
- 注意:此字段可能返回 null,表示取不到有效值。
1180
+ * 实例ID
1185
1181
  */
1186
- InstanceNodesList?: Array<InstanceNode>
1182
+ InstanceId?: string
1183
+ /**
1184
+ * 错误信息
1185
+ */
1186
+ ErrorMsg?: string
1187
1187
  /**
1188
1188
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1189
1189
  */
@@ -1623,6 +1623,21 @@ export interface CreateBackUpScheduleRequest {
1623
1623
  CosSourceInfo?: CosSourceInfo
1624
1624
  }
1625
1625
 
1626
+ /**
1627
+ * ActionAlterUser返回参数结构体
1628
+ */
1629
+ export interface ActionAlterUserResponse {
1630
+ /**
1631
+ * 错误信息
1632
+ 注意:此字段可能返回 null,表示取不到有效值。
1633
+ */
1634
+ ErrorMsg?: string
1635
+ /**
1636
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1637
+ */
1638
+ RequestId?: string
1639
+ }
1640
+
1626
1641
  /**
1627
1642
  * DescribeSpec请求参数结构体
1628
1643
  */
@@ -2399,6 +2414,16 @@ Modify 集群变更中;
2399
2414
  注意:此字段可能返回 null,表示取不到有效值。
2400
2415
  */
2401
2416
  Details?: InstanceDetail
2417
+ /**
2418
+ * 是否启用DLC 0:关闭 1:开启
2419
+ 注意:此字段可能返回 null,表示取不到有效值。
2420
+ */
2421
+ EnableDlc?: number
2422
+ /**
2423
+ * 账户类型 0:普通用户 1:CAM用户
2424
+ 注意:此字段可能返回 null,表示取不到有效值。
2425
+ */
2426
+ AccountType?: number
2402
2427
  }
2403
2428
 
2404
2429
  /**
@@ -2702,6 +2727,40 @@ export interface SearchTags {
2702
2727
  AllValue?: number
2703
2728
  }
2704
2729
 
2730
+ /**
2731
+ * 新增或是修改用户
2732
+ */
2733
+ export interface UserInfo {
2734
+ /**
2735
+ * 集群实例id
2736
+ */
2737
+ InstanceId: string
2738
+ /**
2739
+ * 用户名
2740
+ */
2741
+ UserName: string
2742
+ /**
2743
+ * 密码
2744
+ */
2745
+ PassWord: string
2746
+ /**
2747
+ * 用户链接来自的 IP
2748
+ */
2749
+ WhiteHost?: string
2750
+ /**
2751
+ * 修改前用户链接来自的 IP
2752
+ */
2753
+ OldWhiteHost?: string
2754
+ /**
2755
+ * 描述
2756
+ */
2757
+ Describe?: string
2758
+ /**
2759
+ * 旧密码
2760
+ */
2761
+ OldPwd?: string
2762
+ }
2763
+
2705
2764
  /**
2706
2765
  * DescribeInstanceUsedSubnets请求参数结构体
2707
2766
  */
@@ -3054,55 +3113,14 @@ export interface DeleteWorkloadGroupResponse {
3054
3113
  }
3055
3114
 
3056
3115
  /**
3057
- * 资源规格描述信息
3116
+ * Instance表detail字段
3058
3117
  */
3059
- export interface ResourceSpec {
3060
- /**
3061
- * 规格名称,例如“SCH1"
3062
- */
3063
- Name?: string
3064
- /**
3065
- * cpu核数
3066
- */
3067
- Cpu?: number
3068
- /**
3069
- * 内存大小,单位G
3070
- */
3071
- Mem?: number
3072
- /**
3073
- * 分类标记,STANDARD/BIGDATA/HIGHIO分别表示标准型/大数据型/高IO
3074
- */
3075
- Type?: string
3076
- /**
3077
- * 系统盘描述信息
3078
- 注意:此字段可能返回 null,表示取不到有效值。
3079
- */
3080
- SystemDisk?: DiskSpec
3081
- /**
3082
- * 数据盘描述信息
3083
- 注意:此字段可能返回 null,表示取不到有效值。
3084
- */
3085
- DataDisk?: DiskSpec
3086
- /**
3087
- * 最大节点数目限制
3088
- 注意:此字段可能返回 null,表示取不到有效值。
3089
- */
3090
- MaxNodeSize?: number
3091
- /**
3092
- * 是否可用,false代表售罄
3093
- 注意:此字段可能返回 null,表示取不到有效值。
3094
- */
3095
- Available?: boolean
3096
- /**
3097
- * 规格描述信息
3098
- 注意:此字段可能返回 null,表示取不到有效值。
3099
- */
3100
- ComputeSpecDesc?: string
3118
+ export interface InstanceDetail {
3101
3119
  /**
3102
- * cvm库存
3120
+ * 告警策略是否可用
3103
3121
  注意:此字段可能返回 null,表示取不到有效值。
3104
3122
  */
3105
- InstanceQuota?: number
3123
+ EnableAlarmStrategy?: boolean
3106
3124
  }
3107
3125
 
3108
3126
  /**
@@ -3271,6 +3289,58 @@ export interface DescribeCoolDownPoliciesRequest {
3271
3289
  InstanceId?: string
3272
3290
  }
3273
3291
 
3292
+ /**
3293
+ * 资源规格描述信息
3294
+ */
3295
+ export interface ResourceSpec {
3296
+ /**
3297
+ * 规格名称,例如“SCH1"
3298
+ */
3299
+ Name?: string
3300
+ /**
3301
+ * cpu核数
3302
+ */
3303
+ Cpu?: number
3304
+ /**
3305
+ * 内存大小,单位G
3306
+ */
3307
+ Mem?: number
3308
+ /**
3309
+ * 分类标记,STANDARD/BIGDATA/HIGHIO分别表示标准型/大数据型/高IO
3310
+ */
3311
+ Type?: string
3312
+ /**
3313
+ * 系统盘描述信息
3314
+ 注意:此字段可能返回 null,表示取不到有效值。
3315
+ */
3316
+ SystemDisk?: DiskSpec
3317
+ /**
3318
+ * 数据盘描述信息
3319
+ 注意:此字段可能返回 null,表示取不到有效值。
3320
+ */
3321
+ DataDisk?: DiskSpec
3322
+ /**
3323
+ * 最大节点数目限制
3324
+ 注意:此字段可能返回 null,表示取不到有效值。
3325
+ */
3326
+ MaxNodeSize?: number
3327
+ /**
3328
+ * 是否可用,false代表售罄
3329
+ 注意:此字段可能返回 null,表示取不到有效值。
3330
+ */
3331
+ Available?: boolean
3332
+ /**
3333
+ * 规格描述信息
3334
+ 注意:此字段可能返回 null,表示取不到有效值。
3335
+ */
3336
+ ComputeSpecDesc?: string
3337
+ /**
3338
+ * cvm库存
3339
+ 注意:此字段可能返回 null,表示取不到有效值。
3340
+ */
3341
+ InstanceQuota?: number
3342
+ }
3343
+
3274
3344
  /**
3275
3345
  * 恢复任务信息
3276
3346
  */
@@ -3781,14 +3851,21 @@ export interface DescribeBackUpJobRequest {
3781
3851
  }
3782
3852
 
3783
3853
  /**
3784
- * Instance表detail字段
3854
+ * ActionAlterUser请求参数结构体
3785
3855
  */
3786
- export interface InstanceDetail {
3856
+ export interface ActionAlterUserRequest {
3787
3857
  /**
3788
- * 告警策略是否可用
3789
- 注意:此字段可能返回 null,表示取不到有效值。
3858
+ * 用户信息
3790
3859
  */
3791
- EnableAlarmStrategy?: boolean
3860
+ UserInfo: UserInfo
3861
+ /**
3862
+ * api接口类型
3863
+ */
3864
+ ApiType: string
3865
+ /**
3866
+ * 用户权限类型 0:普通用户 1:管理员
3867
+ */
3868
+ UserPrivilege?: number
3792
3869
  }
3793
3870
 
3794
3871
  /**
@@ -3736,7 +3736,7 @@ export interface CreateListenerRequest {
3736
3736
  */
3737
3737
  MaxCps?: number
3738
3738
  /**
3739
- * 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~2000。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。
3739
+ * 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-2000。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。
3740
3740
  */
3741
3741
  IdleConnectTimeout?: number
3742
3742
  /**
@@ -452,7 +452,7 @@ export interface UpgradeDCDBInstanceResponse {
452
452
  * 长订单号。可以据此调用 DescribeOrders
453
453
  查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
454
454
  */
455
- DealName: string
455
+ DealName?: string
456
456
  /**
457
457
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
458
458
  */
@@ -4259,6 +4259,18 @@ export interface UpgradeDCDBInstanceRequest {
4259
4259
  * 变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
4260
4260
  */
4261
4261
  Zones?: Array<string>
4262
+ /**
4263
+ * 切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。
4264
+ */
4265
+ SwitchStartTime?: string
4266
+ /**
4267
+ * 切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。
4268
+ */
4269
+ SwitchEndTime?: string
4270
+ /**
4271
+ * 是否自动重试。 0:不自动重试 1:自动重试
4272
+ */
4273
+ SwitchAutoRetry?: number
4262
4274
  }
4263
4275
 
4264
4276
  /**
@@ -364,6 +364,7 @@ import {
364
364
  ModifyDSPACOSTaskResultRequest,
365
365
  DescribeDSPASupportedMetasRequest,
366
366
  ExportAssetDetailDataResponse,
367
+ RuleEffectItem,
367
368
  CategoryRule,
368
369
  CreateDSPAMetaResourcesRequest,
369
370
  RiskCountInfo,
@@ -1661,9 +1662,8 @@ export class Client extends AbstractClient {
1661
1662
  }
1662
1663
 
1663
1664
  /**
1664
- * 新增分类分级规则,单个用户最多允许创建200个规则。
1665
-
1666
- */
1665
+ * 新增分类分级规则,单个用户最多允许创建200个规则。
1666
+ */
1667
1667
  async CreateDSPADiscoveryRule(
1668
1668
  req: CreateDSPADiscoveryRuleRequest,
1669
1669
  cb?: (error: string, rep: CreateDSPADiscoveryRuleResponse) => void
@@ -2603,6 +2603,10 @@ export interface CreateDSPADiscoveryRuleRequest {
2603
2603
  * COS类敏感数据识别规则
2604
2604
  */
2605
2605
  COSRules?: DspaDiscoveryCOSRules
2606
+ /**
2607
+ * 规则状态;0 不启用, 1 启用
2608
+ */
2609
+ Status?: number
2606
2610
  }
2607
2611
 
2608
2612
  /**
@@ -2632,32 +2636,37 @@ export interface DspaDiscoveryRuleDetail {
2632
2636
  * 规则ID
2633
2637
  注意:此字段可能返回 null,表示取不到有效值。
2634
2638
  */
2635
- RuleId: number
2639
+ RuleId?: number
2636
2640
  /**
2637
2641
  * 规则名称
2638
2642
  注意:此字段可能返回 null,表示取不到有效值。
2639
2643
  */
2640
- Name: string
2644
+ Name?: string
2641
2645
  /**
2642
2646
  * 规则描述
2643
2647
  注意:此字段可能返回 null,表示取不到有效值。
2644
2648
  */
2645
- Description: string
2649
+ Description?: string
2646
2650
  /**
2647
2651
  * 规则来源,取值:0 内置, 1 自定义
2648
2652
  注意:此字段可能返回 null,表示取不到有效值。
2649
2653
  */
2650
- Source: number
2654
+ Source?: number
2651
2655
  /**
2652
2656
  * RDB规则详情
2653
2657
  注意:此字段可能返回 null,表示取不到有效值。
2654
2658
  */
2655
- RDBRules: DspaDiscoveryRDBRules
2659
+ RDBRules?: DspaDiscoveryRDBRules
2656
2660
  /**
2657
2661
  * COS规则详情
2658
2662
  注意:此字段可能返回 null,表示取不到有效值。
2659
2663
  */
2660
- COSRules: DspaDiscoveryCOSRules
2664
+ COSRules?: DspaDiscoveryCOSRules
2665
+ /**
2666
+ * 0关闭,1开启
2667
+ 注意:此字段可能返回 null,表示取不到有效值。
2668
+ */
2669
+ Status?: number
2661
2670
  }
2662
2671
 
2663
2672
  /**
@@ -3953,6 +3962,10 @@ export interface ModifyDSPADiscoveryRuleRequest {
3953
3962
  * COS类敏感数据识别规则
3954
3963
  */
3955
3964
  COSRules?: ScanTaskCOSRules
3965
+ /**
3966
+ * 规则状态
3967
+ */
3968
+ Status?: number
3956
3969
  }
3957
3970
 
3958
3971
  /**
@@ -4742,7 +4755,7 @@ export interface CreateDSPADiscoveryRuleResponse {
4742
4755
  /**
4743
4756
  * 规则ID
4744
4757
  */
4745
- RuleId: number
4758
+ RuleId?: number
4746
4759
  /**
4747
4760
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4748
4761
  */
@@ -8126,6 +8139,22 @@ export interface ExportAssetDetailDataResponse {
8126
8139
  RequestId?: string
8127
8140
  }
8128
8141
 
8142
+ /**
8143
+ * 分类分级规则数量
8144
+ */
8145
+ export interface RuleEffectItem {
8146
+ /**
8147
+ * 规则描述
8148
+ 注意:此字段可能返回 null,表示取不到有效值。
8149
+ */
8150
+ Name?: string
8151
+ /**
8152
+ * 规则值
8153
+ 注意:此字段可能返回 null,表示取不到有效值。
8154
+ */
8155
+ Value?: number
8156
+ }
8157
+
8129
8158
  /**
8130
8159
  * 分类规则信息
8131
8160
  */
@@ -8164,6 +8193,16 @@ export interface CategoryRule {
8164
8193
  注意:此字段可能返回 null,表示取不到有效值。
8165
8194
  */
8166
8195
  AliasRuleName?: string
8196
+ /**
8197
+ * 各类分类分级规则数量
8198
+ 注意:此字段可能返回 null,表示取不到有效值。
8199
+ */
8200
+ RuleEffectItems?: Array<RuleEffectItem>
8201
+ /**
8202
+ * 规则状态
8203
+ 注意:此字段可能返回 null,表示取不到有效值。
8204
+ */
8205
+ RuleStatus?: number
8167
8206
  }
8168
8207
 
8169
8208
  /**
@@ -9143,7 +9182,7 @@ export interface DescribeDSPACategoryRulesResponse {
9143
9182
  * 分类规则信息
9144
9183
  注意:此字段可能返回 null,表示取不到有效值。
9145
9184
  */
9146
- CategoryRules: Array<CategoryRule>
9185
+ CategoryRules?: Array<CategoryRule>
9147
9186
  /**
9148
9187
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9149
9188
  */
@@ -304,7 +304,7 @@ export class Client extends AbstractClient {
304
304
  }
305
305
 
306
306
  /**
307
- * 提供对人脸图片/视频的AI合成、翻拍、水印等攻击痕迹的检测,增强图片/视频防伪能力
307
+ * 基于多模态的AI大模型算法,提供对人脸图片、视频的防攻击检测能力,可针对性有效识别高仿真的AIGC换脸、高清翻拍、批量黑产攻击、水印等攻击痕迹,增强对图片和视频的防伪安全能力。
308
308
  */
309
309
  async DetectAIFakeFaces(
310
310
  req: DetectAIFakeFacesRequest,
@@ -1474,6 +1474,10 @@ export interface CheckIdCardInformationResponse {
1474
1474
  注意:此字段可能返回 null,表示取不到有效值。
1475
1475
  */
1476
1476
  Encryption?: Encryption
1477
+ /**
1478
+ * 加密后的数据
1479
+ */
1480
+ EncryptedBody?: string
1477
1481
  /**
1478
1482
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1479
1483
  */
@@ -1823,6 +1827,14 @@ Config = {"CopyWarn":true,"ReshootWarn":true}
1823
1827
  其中敏感信息包括:Response.IdNum、Response.Name
1824
1828
  */
1825
1829
  IsEncrypt?: boolean
1830
+ /**
1831
+ * 是否需要对响应体加密
1832
+ */
1833
+ IsEncryptResponse?: boolean
1834
+ /**
1835
+ * 是否需要对返回中的敏感信息进行加密,需指定加密算法Algorithm、CBC加密的初始向量、加密后的对称密钥。
1836
+ */
1837
+ Encryption?: Encryption
1826
1838
  }
1827
1839
 
1828
1840
  /**