tencentcloud-sdk-nodejs 4.0.779 → 4.0.780

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/package.json +1 -1
  3. package/products.md +14 -14
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/antiddos/v20200309/antiddos_models.ts +16 -6
  6. package/src/services/dts/v20211206/dts_models.ts +6 -1
  7. package/src/services/faceid/v20180301/faceid_models.ts +8 -0
  8. package/src/services/monitor/v20180724/monitor_client.ts +88 -21
  9. package/src/services/monitor/v20180724/monitor_models.ts +487 -137
  10. package/src/services/ocr/v20181119/ocr_models.ts +8 -0
  11. package/src/services/rum/v20210622/rum_client.ts +36 -72
  12. package/src/services/rum/v20210622/rum_models.ts +36 -120
  13. package/src/services/tcb/v20180608/tcb_models.ts +9 -0
  14. package/src/services/tdid/v20210519/tdid_client.ts +135 -24
  15. package/src/services/tdid/v20210519/tdid_models.ts +520 -113
  16. package/src/services/tdmq/v20200217/tdmq_client.ts +12 -0
  17. package/src/services/tdmq/v20200217/tdmq_models.ts +95 -0
  18. package/src/services/teo/v20220901/teo_models.ts +2 -2
  19. package/src/services/tse/v20201207/tse_models.ts +1 -1
  20. package/src/services/tsf/v20180326/tsf_models.ts +1 -1
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +16 -6
  24. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -1
  25. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +8 -0
  26. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +28 -5
  27. package/tencentcloud/services/monitor/v20180724/monitor_client.js +39 -6
  28. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +471 -135
  29. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
  30. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +13 -25
  31. package/tencentcloud/services/rum/v20210622/rum_client.js +18 -36
  32. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +36 -114
  33. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +9 -0
  34. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +41 -5
  35. package/tencentcloud/services/tdid/v20210519/tdid_client.js +60 -6
  36. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +498 -112
  37. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
  38. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
  39. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +93 -0
  40. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -2
  41. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1 -1
  42. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -1
  43. package/test/monitor.v20180724.test.js +54 -4
  44. package/test/rum.v20210622.test.js +14 -44
  45. package/test/tdid.v20210519.test.js +100 -10
  46. package/test/tdmq.v20200217.test.js +10 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,59 @@
1
+ # Release 4.0.780
2
+
3
+ ## 分布式身份(tdid) 版本:2021-05-19
4
+
5
+ ### 第 11 次发布
6
+
7
+ 发布时间:2024-01-11 10:56:14
8
+
9
+ 本次发布包含了以下内容:
10
+
11
+ 改善已有的文档。
12
+
13
+ 新增接口:
14
+
15
+ * [CheckNewPurchase](https://cloud.tencent.com/document/api/1439/102971)
16
+ * [CreateTDidByHost](https://cloud.tencent.com/document/api/1439/102970)
17
+ * [CreateTDidByPubKey](https://cloud.tencent.com/document/api/1439/102969)
18
+ * [DeactivateTDid](https://cloud.tencent.com/document/api/1439/102968)
19
+ * [GetCredentialState](https://cloud.tencent.com/document/api/1439/102966)
20
+ * [GetTDidDocument](https://cloud.tencent.com/document/api/1439/102967)
21
+ * [IssueCredential](https://cloud.tencent.com/document/api/1439/102965)
22
+ * [UpdateCredentialState](https://cloud.tencent.com/document/api/1439/102964)
23
+ * [VerifyCredentials](https://cloud.tencent.com/document/api/1439/102963)
24
+
25
+ <font color="#dd0000">**删除接口**:</font>
26
+
27
+ * CheckChain
28
+ * CreateCredential
29
+ * CreateSelectiveCredential
30
+ * CreateTDid
31
+ * CreateTDidByPrivateKey
32
+ * CreateTDidByPublicKey
33
+ * GetAuthorityIssuer
34
+ * GetCptInfo
35
+ * GetCredentialStatus
36
+ * GetDidDocument
37
+ * RegisterCpt
38
+ * SetCredentialStatus
39
+ * VerifyCredential
40
+
41
+ 新增数据结构:
42
+
43
+ * [CRDLArg](https://cloud.tencent.com/document/api/1439/60283#CRDLArg)
44
+ * [ChainTransaction](https://cloud.tencent.com/document/api/1439/60283#ChainTransaction)
45
+ * [CredentialState](https://cloud.tencent.com/document/api/1439/60283#CredentialState)
46
+
47
+ <font color="#dd0000">**删除数据结构**:</font>
48
+
49
+ * CredentialStatus
50
+ * FunctionArg
51
+ * Proof
52
+ * TransactionArg
53
+ * VerifyFunctionArg
54
+
55
+
56
+
1
57
  # Release 4.0.779
2
58
 
3
59
  ## 分布式身份(tdid) 版本:2021-05-19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.779",
3
+ "version": "4.0.780",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -10,7 +10,7 @@
10
10
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
11
11
  | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2023-12-22 01:06:11 |
12
12
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
13
- | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2023-12-13 01:06:45 |
13
+ | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2024-01-12 01:06:10 |
14
14
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
15
15
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
16
16
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
@@ -80,14 +80,14 @@
80
80
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-08-22 01:11:33 |
81
81
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-01-11 01:12:33 |
82
82
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-10-30 00:33:47 |
83
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-12-21 01:31:01 |
83
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-01-12 01:13:15 |
84
84
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-01-10 01:13:10 |
85
85
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-12-15 01:10:52 |
86
86
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-11-10 01:14:28 |
87
87
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-08-17 02:59:40 |
88
88
  | dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2023-11-29 01:53:04 |
89
89
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
90
- | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-01-10 01:13:50 |
90
+ | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-01-12 01:14:12 |
91
91
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2023-12-15 19:35:27 |
92
92
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2023-09-13 01:42:58 |
93
93
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2023-08-17 03:03:04 |
@@ -99,7 +99,7 @@
99
99
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-01-10 01:15:05 |
100
100
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-01-11 01:14:56 |
101
101
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-12-15 19:41:44 |
102
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-12-27 01:19:47 |
102
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-01-12 01:15:37 |
103
103
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-12-25 00:11:01 |
104
104
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2023-08-17 03:12:58 |
105
105
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-11-14 01:16:54 |
@@ -145,7 +145,7 @@
145
145
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-05-18 01:39:20 |
146
146
  | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-12-01 01:19:47 |
147
147
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-12-27 01:26:46 |
148
- | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-01-10 01:19:07 |
148
+ | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-01-12 01:19:06 |
149
149
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-01-09 01:20:43 |
150
150
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-01-08 00:14:42 |
151
151
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-12-05 02:07:42 |
@@ -154,7 +154,7 @@
154
154
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 |
155
155
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
156
156
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-01-05 01:21:32 |
157
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-01-10 01:20:04 |
157
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-01-12 01:20:10 |
158
158
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-01-05 01:21:57 |
159
159
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-12-25 00:15:53 |
160
160
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
@@ -167,7 +167,7 @@
167
167
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2023-10-13 01:22:28 |
168
168
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
169
169
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
170
- | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-01-10 01:21:10 |
170
+ | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-01-12 01:21:17 |
171
171
  | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-12-29 01:22:39 |
172
172
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-12-25 00:16:59 |
173
173
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-07-11 01:37:49 |
@@ -191,7 +191,7 @@
191
191
  | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
192
192
  | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-08-17 04:48:55 |
193
193
  | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-09-25 01:25:42 |
194
- | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2024-01-09 01:24:12 |
194
+ | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2024-01-12 01:22:44 |
195
195
  | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2023-05-18 01:51:15 |
196
196
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
197
197
  | tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2023-11-28 01:24:39 |
@@ -200,11 +200,11 @@
200
200
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-12-12 02:27:39 |
201
201
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-01-05 01:25:17 |
202
202
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
203
- | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-01-11 10:56:14 |
204
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-12-21 02:11:13 |
203
+ | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-01-12 01:24:00 |
204
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-01-12 01:24:10 |
205
205
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 |
206
206
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-12-20 02:13:36 |
207
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-01-09 01:26:07 |
207
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-01-12 01:24:41 |
208
208
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-11-27 00:20:12 |
209
209
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
210
210
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
@@ -216,7 +216,7 @@
216
216
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-12-29 01:26:38 |
217
217
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-12-26 01:27:04 |
218
218
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
219
- | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-01-01 00:20:49 |
219
+ | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-01-12 01:25:58 |
220
220
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-01-04 01:25:25 |
221
221
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2023-08-10 01:43:37 |
222
222
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
@@ -224,8 +224,8 @@
224
224
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-12-29 01:27:21 |
225
225
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
226
226
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-01-11 01:25:31 |
227
- | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-12-29 01:27:46 |
228
- | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-01-05 01:28:46 |
227
+ | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2024-01-12 01:26:19 |
228
+ | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-01-12 01:26:29 |
229
229
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
230
230
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-11-27 00:22:20 |
231
231
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-08-17 05:50:27 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.779"
1
+ export const sdkVersion = "4.0.780"
@@ -647,6 +647,11 @@ export interface DescribeListBGPInstancesRequest {
647
647
  * 是否包含基础防护增强版 0: 不包含 1: 包含
648
648
  */
649
649
  FilterBasicPlusFlag?: number
650
+ /**
651
+ * 是否商业模式优化-普惠版 0: 包含商业模式优化-普惠版 1: 只查询商业模式优化-普惠版
652
+
653
+ */
654
+ FilterPlanCntFlag?: number
650
655
  }
651
656
 
652
657
  /**
@@ -3179,30 +3184,30 @@ export interface ListenerCcThreholdConfig {
3179
3184
  */
3180
3185
  export interface EipAddressRelation {
3181
3186
  /**
3182
- * 高防弹性公网IP绑定的实例地区,例如hk代表香港
3187
+ * 高防弹性公网IP绑定的实例地区,例如hk代表中国香港
3183
3188
  注意:此字段可能返回 null,表示取不到有效值。
3184
3189
  */
3185
- EipAddressRegion: string
3190
+ EipAddressRegion?: string
3186
3191
  /**
3187
3192
  * 绑定的资源实例ID。可能是一个CVM。
3188
3193
  注意:此字段可能返回 null,表示取不到有效值。
3189
3194
  */
3190
- EipBoundRscIns: string
3195
+ EipBoundRscIns?: string
3191
3196
  /**
3192
3197
  * 绑定的弹性网卡ID
3193
3198
  注意:此字段可能返回 null,表示取不到有效值。
3194
3199
  */
3195
- EipBoundRscEni: string
3200
+ EipBoundRscEni?: string
3196
3201
  /**
3197
3202
  * 绑定的资源内网ip
3198
3203
  注意:此字段可能返回 null,表示取不到有效值。
3199
3204
  */
3200
- EipBoundRscVip: string
3205
+ EipBoundRscVip?: string
3201
3206
  /**
3202
3207
  * 修改时间
3203
3208
  注意:此字段可能返回 null,表示取不到有效值。
3204
3209
  */
3205
- ModifyTime: string
3210
+ ModifyTime?: string
3206
3211
  }
3207
3212
 
3208
3213
  /**
@@ -5274,6 +5279,11 @@ export interface BGPInstance {
5274
5279
  注意:此字段可能返回 null,表示取不到有效值。
5275
5280
  */
5276
5281
  BasicPlusFlag?: number
5282
+ /**
5283
+ * 是否是商业模式优化-普惠版
5284
+ 注意:此字段可能返回 null,表示取不到有效值。
5285
+ */
5286
+ PlanCntFlag?: number
5277
5287
  }
5278
5288
 
5279
5289
  /**
@@ -1830,10 +1830,15 @@ export interface MigrateOption {
1830
1830
  IsDstReadOnly?: boolean
1831
1831
  /**
1832
1832
  * 其他附加信息,对于特定库可设置额外参数,Redis可定义如下的参数:
1833
- ["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(跟正常流程一样,不做额外动作) "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒) ]
1833
+ ["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(跟正常流程一样,不做额外动作) "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒)]
1834
1834
  注意:此字段可能返回 null,表示取不到有效值。
1835
1835
  */
1836
1836
  ExtraAttr?: Array<KeyValuePairOption>
1837
+ /**
1838
+ * pgsql迁移分类:logical(逻辑迁移)、physical(物理迁移)
1839
+ 注意:此字段可能返回 null,表示取不到有效值。
1840
+ */
1841
+ MigrateWay?: string
1837
1842
  }
1838
1843
 
1839
1844
  /**
@@ -1421,6 +1421,14 @@ export interface GetEidResultRequest {
1421
1421
  * 从活体视频中截取一定张数的最佳帧。默认为0,最大为3,超出3的最多只给3张。(InfoType需要包含3)
1422
1422
  */
1423
1423
  BestFramesCount?: number
1424
+ /**
1425
+ * 是否对身份证照片进行裁边。默认为false。(InfoType需要包含2)
1426
+ */
1427
+ IsCutIdCardImage?: boolean
1428
+ /**
1429
+ * 是否需要从身份证中抠出头像。默认为false。(InfoType需要包含2)
1430
+ */
1431
+ IsNeedIdCardAvatar?: boolean
1424
1432
  }
1425
1433
 
1426
1434
  /**
@@ -71,11 +71,12 @@ import {
71
71
  AlarmGroupByItem,
72
72
  DescribeAlarmNoticeCallbacksResponse,
73
73
  DescribePrometheusInstanceUsageRequest,
74
- DeletePrometheusScrapeJobsRequest,
74
+ DeleteSSOAccountRequest,
75
75
  CreatePrometheusRecordRuleYamlRequest,
76
76
  Instance,
77
77
  DescribeAlarmNoticesResponse,
78
78
  PrometheusClusterAgentPodConfig,
79
+ DeletePrometheusAlertGroupsRequest,
79
80
  GrafanaInstanceInfo,
80
81
  DeletePrometheusConfigResponse,
81
82
  CreatePrometheusRecordRuleYamlResponse,
@@ -91,6 +92,7 @@ import {
91
92
  DescribePolicyGroupInfoConditionTpl,
92
93
  UnBindingPolicyObjectResponse,
93
94
  DescribePrometheusRecordRulesRequest,
95
+ ModifyAlarmPolicyStatusResponse,
94
96
  DescribeExporterIntegrationsResponse,
95
97
  UpdateAlertRuleResponse,
96
98
  InstanceGroup,
@@ -99,11 +101,11 @@ import {
99
101
  EnableGrafanaInternetRequest,
100
102
  DescribePluginOverviewsResponse,
101
103
  GrafanaAccountRole,
102
- DestroyPrometheusInstanceRequest,
104
+ DeleteRecordingRulesResponse,
103
105
  PolicyGroupReceiverInfo,
104
106
  Metric,
105
107
  MidQueryCondition,
106
- DeleteSSOAccountRequest,
108
+ DescribeGrafanaInstancesRequest,
107
109
  DescribePrometheusAgentInstancesResponse,
108
110
  URLNotice,
109
111
  DescribeProductListResponse,
@@ -112,8 +114,7 @@ import {
112
114
  DescribePolicyGroupInfoReceiverInfo,
113
115
  RecordingRuleSet,
114
116
  DescribeBasicAlarmListRequest,
115
- ModifyAlarmPolicyStatusResponse,
116
- DescribeGrafanaInstancesRequest,
117
+ DescribePrometheusAlertGroupsResponse,
117
118
  DescribePrometheusTempSyncRequest,
118
119
  DescribePrometheusGlobalConfigResponse,
119
120
  CreateRecordingRuleResponse,
@@ -130,7 +131,7 @@ import {
130
131
  SendCustomAlarmMsgResponse,
131
132
  AlarmPolicyCondition,
132
133
  DescribeGrafanaChannelsRequest,
133
- DescribePolicyGroupListRequest,
134
+ NoticeBindPolicys,
134
135
  DescribeGrafanaConfigRequest,
135
136
  UpdateRecordingRuleRequest,
136
137
  DescribePolicyConditionListConfigManualCalcValue,
@@ -146,11 +147,13 @@ import {
146
147
  BindingPolicyObjectRequest,
147
148
  CreateServiceDiscoveryResponse,
148
149
  DescribeClusterAgentCreatingProgressRequest,
150
+ UpdatePrometheusAlertGroupRequest,
149
151
  EnableSSOCamCheckResponse,
150
152
  DescribeAccidentEventListRequest,
151
153
  CreatePrometheusScrapeJobResponse,
152
154
  CreateAlarmPolicyRequest,
153
155
  PrometheusZoneItem,
156
+ PrometheusAlertCustomReceiver,
154
157
  ModifyPrometheusAlertPolicyRequest,
155
158
  ModifyPrometheusInstanceAttributesResponse,
156
159
  PrometheusTemplateSyncTarget,
@@ -164,6 +167,7 @@ import {
164
167
  DescribePolicyConditionListConfigManualPeriod,
165
168
  DescribePrometheusRecordRulesResponse,
166
169
  DescribePrometheusGlobalNotificationResponse,
170
+ PrometheusAlertGroupRuleSet,
167
171
  DescribeMonitorTypesRequest,
168
172
  DimensionsDesc,
169
173
  DeletePrometheusAlertPolicyRequest,
@@ -185,8 +189,10 @@ import {
185
189
  UpdatePrometheusScrapeJobRequest,
186
190
  PrometheusAgentInfo,
187
191
  CreatePrometheusClusterAgentResponse,
192
+ PrometheusAlertAllowTimeRange,
188
193
  CreateGrafanaIntegrationResponse,
189
194
  BindPrometheusManagedGrafanaRequest,
195
+ UpdatePrometheusAlertGroupStateRequest,
190
196
  PrometheusAlertManagerConfig,
191
197
  CreateGrafanaInstanceRequest,
192
198
  DescribePrometheusInstanceUsageResponse,
@@ -212,6 +218,7 @@ import {
212
218
  UpdateDNSConfigRequest,
213
219
  DeletePrometheusClusterAgentResponse,
214
220
  DescribeDNSConfigResponse,
221
+ DestroyPrometheusInstanceRequest,
215
222
  DeleteRecordingRulesRequest,
216
223
  MonitorTypeNamespace,
217
224
  DeleteAlarmPolicyResponse,
@@ -270,6 +277,7 @@ import {
270
277
  DescribeSSOAccountResponse,
271
278
  CreateAlarmPolicyResponse,
272
279
  DeleteGrafanaNotificationChannelRequest,
280
+ CreatePrometheusAlertGroupRequest,
273
281
  AlarmNotice,
274
282
  DescribeProductEventListEventsDimensions,
275
283
  CreatePrometheusClusterAgentRequest,
@@ -316,6 +324,7 @@ import {
316
324
  UnbindPrometheusManagedGrafanaRequest,
317
325
  DescribePolicyGroupListGroupInstanceGroup,
318
326
  DescribeConditionsTemplateListResponse,
327
+ DeletePrometheusAlertGroupsResponse,
319
328
  CreatePrometheusTempRequest,
320
329
  ModifyAlarmPolicyInfoResponse,
321
330
  MetricConfig,
@@ -332,7 +341,7 @@ import {
332
341
  CreatePrometheusScrapeJobRequest,
333
342
  CreatePrometheusTempResponse,
334
343
  DescribePolicyConditionListEventMetric,
335
- NoticeBindPolicys,
344
+ DescribePolicyGroupListRequest,
336
345
  UnBindingAllPolicyObjectResponse,
337
346
  DescribeAlarmNoticesRequest,
338
347
  RunPrometheusInstanceResponse,
@@ -356,7 +365,6 @@ import {
356
365
  CreatePrometheusGlobalNotificationRequest,
357
366
  ModifyPrometheusTempResponse,
358
367
  DescribeRecordingRulesResponse,
359
- DeleteRecordingRulesResponse,
360
368
  UpdateGrafanaWhiteListRequest,
361
369
  UpdatePrometheusAgentStatusRequest,
362
370
  DescribeGrafanaInstancesResponse,
@@ -376,6 +384,7 @@ import {
376
384
  MonitorTypeInfo,
377
385
  DimensionNew,
378
386
  DeleteAlertRulesResponse,
387
+ DeletePrometheusScrapeJobsRequest,
379
388
  ModifyAlarmPolicyStatusRequest,
380
389
  ConditionsTemp,
381
390
  Operator,
@@ -398,6 +407,7 @@ import {
398
407
  DescribePrometheusGlobalConfigRequest,
399
408
  PrometheusInstanceTenantUsage,
400
409
  DescribePrometheusZonesRequest,
410
+ DescribePrometheusAlertGroupsRequest,
401
411
  ModifyPolicyGroupCondition,
402
412
  ModifyPolicyGroupRequest,
403
413
  DescribeBaseMetricsRequest,
@@ -410,6 +420,7 @@ import {
410
420
  BindingPolicyObjectDimension,
411
421
  DescribePrometheusTempRequest,
412
422
  UpdateServiceDiscoveryResponse,
423
+ UpdatePrometheusAlertGroupStateResponse,
413
424
  DescribeBasicAlarmListAlarms,
414
425
  CreateAlarmNoticeResponse,
415
426
  Condition,
@@ -417,10 +428,11 @@ import {
417
428
  PrometheusAgentOverview,
418
429
  Filter,
419
430
  DescribeProductEventListEventsGroupInfo,
420
- UpdateSSOAccountRequest,
431
+ UpdatePrometheusAlertGroupResponse,
421
432
  CreateSSOAccountResponse,
422
433
  UpdatePrometheusScrapeJobResponse,
423
434
  DescribeAlarmPoliciesRequest,
435
+ UpdateSSOAccountRequest,
424
436
  DescribePolicyConditionListConfigManualStatType,
425
437
  IntegrationConfiguration,
426
438
  DescribePrometheusAgentsResponse,
@@ -432,10 +444,12 @@ import {
432
444
  DescribeAlarmPolicyRequest,
433
445
  UninstallGrafanaDashboardRequest,
434
446
  UpdateGrafanaIntegrationRequest,
447
+ CreatePrometheusAlertGroupResponse,
435
448
  DeletePrometheusRecordRuleYamlRequest,
436
449
  DescribeAlarmNoticeCallbacksRequest,
437
450
  DescribeStatisticDataRequest,
438
451
  GrafanaNotificationChannel,
452
+ PrometheusAlertGroupSet,
439
453
  SetDefaultAlarmPolicyRequest,
440
454
  CLSNotice,
441
455
  LogAlarmReq,
@@ -520,6 +534,16 @@ export class Client extends AbstractClient {
520
534
  return this.request("ModifyPrometheusAlertPolicy", req, cb)
521
535
  }
522
536
 
537
+ /**
538
+ * 查询给定prometheus下的告警分组
539
+ */
540
+ async DescribePrometheusAlertGroups(
541
+ req: DescribePrometheusAlertGroupsRequest,
542
+ cb?: (error: string, rep: DescribePrometheusAlertGroupsResponse) => void
543
+ ): Promise<DescribePrometheusAlertGroupsResponse> {
544
+ return this.request("DescribePrometheusAlertGroups", req, cb)
545
+ }
546
+
523
547
  /**
524
548
  * 查询Prometheus按量实例用量
525
549
  */
@@ -550,6 +574,16 @@ export class Client extends AbstractClient {
550
574
  return this.request("BindingPolicyObject", req, cb)
551
575
  }
552
576
 
577
+ /**
578
+ * 删除Prometheus告警规则分组
579
+ */
580
+ async DeletePrometheusAlertGroups(
581
+ req: DeletePrometheusAlertGroupsRequest,
582
+ cb?: (error: string, rep: DeletePrometheusAlertGroupsResponse) => void
583
+ ): Promise<DeletePrometheusAlertGroupsResponse> {
584
+ return this.request("DeletePrometheusAlertGroups", req, cb)
585
+ }
586
+
553
587
  /**
554
588
  * 本接口(CreateGrafanaInstance)用于创建 Grafana 包年包月实例,默认基础版、到期自动续费、不可使用代金券。
555
589
  */
@@ -1067,13 +1101,13 @@ export class Client extends AbstractClient {
1067
1101
  }
1068
1102
 
1069
1103
  /**
1070
- * 创建通知模板
1104
+ * 创建全局告警通知渠道。集群内创建的告警规则如果未配置告警通知渠道,默认走全局告警通知渠道(建议在控制台创建告警,集群内创建告警不易维护)
1071
1105
  */
1072
- async CreateAlarmNotice(
1073
- req: CreateAlarmNoticeRequest,
1074
- cb?: (error: string, rep: CreateAlarmNoticeResponse) => void
1075
- ): Promise<CreateAlarmNoticeResponse> {
1076
- return this.request("CreateAlarmNotice", req, cb)
1106
+ async CreatePrometheusGlobalNotification(
1107
+ req: CreatePrometheusGlobalNotificationRequest,
1108
+ cb?: (error: string, rep: CreatePrometheusGlobalNotificationResponse) => void
1109
+ ): Promise<CreatePrometheusGlobalNotificationResponse> {
1110
+ return this.request("CreatePrometheusGlobalNotification", req, cb)
1077
1111
  }
1078
1112
 
1079
1113
  /**
@@ -1086,6 +1120,16 @@ export class Client extends AbstractClient {
1086
1120
  return this.request("DeleteSSOAccount", req, cb)
1087
1121
  }
1088
1122
 
1123
+ /**
1124
+ * 批量更新告警分组状态,将分组中全部告警规则更新为目标状态
1125
+ */
1126
+ async UpdatePrometheusAlertGroupState(
1127
+ req: UpdatePrometheusAlertGroupStateRequest,
1128
+ cb?: (error: string, rep: UpdatePrometheusAlertGroupStateResponse) => void
1129
+ ): Promise<UpdatePrometheusAlertGroupStateResponse> {
1130
+ return this.request("UpdatePrometheusAlertGroupState", req, cb)
1131
+ }
1132
+
1089
1133
  /**
1090
1134
  * 查询单个通知模板的详情
1091
1135
  */
@@ -1278,13 +1322,13 @@ export class Client extends AbstractClient {
1278
1322
  }
1279
1323
 
1280
1324
  /**
1281
- * 创建全局告警通知渠道。集群内创建的告警规则如果未配置告警通知渠道,默认走全局告警通知渠道(建议在控制台创建告警,集群内创建告警不易维护)
1325
+ * 创建通知模板
1282
1326
  */
1283
- async CreatePrometheusGlobalNotification(
1284
- req: CreatePrometheusGlobalNotificationRequest,
1285
- cb?: (error: string, rep: CreatePrometheusGlobalNotificationResponse) => void
1286
- ): Promise<CreatePrometheusGlobalNotificationResponse> {
1287
- return this.request("CreatePrometheusGlobalNotification", req, cb)
1327
+ async CreateAlarmNotice(
1328
+ req: CreateAlarmNoticeRequest,
1329
+ cb?: (error: string, rep: CreateAlarmNoticeResponse) => void
1330
+ ): Promise<CreateAlarmNoticeResponse> {
1331
+ return this.request("CreateAlarmNotice", req, cb)
1288
1332
  }
1289
1333
 
1290
1334
  /**
@@ -1387,6 +1431,19 @@ export class Client extends AbstractClient {
1387
1431
  return this.request("DescribeDNSConfig", req, cb)
1388
1432
  }
1389
1433
 
1434
+ /**
1435
+ * 创建Prometheus告警规则分组
1436
+
1437
+ 告警分组中可包含多条告警规则,分组内告警消息通过告警分组的通知模板发送。
1438
+ 支持单个告警分组下分别创建启用/禁用的告警规则。
1439
+ */
1440
+ async CreatePrometheusAlertGroup(
1441
+ req: CreatePrometheusAlertGroupRequest,
1442
+ cb?: (error: string, rep: CreatePrometheusAlertGroupResponse) => void
1443
+ ): Promise<CreatePrometheusAlertGroupResponse> {
1444
+ return this.request("CreatePrometheusAlertGroup", req, cb)
1445
+ }
1446
+
1390
1447
  /**
1391
1448
  * 修改全局告警通知渠道
1392
1449
  */
@@ -1461,6 +1518,16 @@ export class Client extends AbstractClient {
1461
1518
  return this.request("UpdateGrafanaConfig", req, cb)
1462
1519
  }
1463
1520
 
1521
+ /**
1522
+ * 更新Prometheus告警规则分组
1523
+ */
1524
+ async UpdatePrometheusAlertGroup(
1525
+ req: UpdatePrometheusAlertGroupRequest,
1526
+ cb?: (error: string, rep: UpdatePrometheusAlertGroupResponse) => void
1527
+ ): Promise<UpdatePrometheusAlertGroupResponse> {
1528
+ return this.request("UpdatePrometheusAlertGroup", req, cb)
1529
+ }
1530
+
1464
1531
  /**
1465
1532
  * 列出 Grafana 告警通道
1466
1533
  */