tencentcloud-sdk-nodejs 4.0.477 → 4.0.478

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 (49) hide show
  1. package/CHANGELOG.md +232 -0
  2. package/SERVICE_CHANGELOG.md +410 -347
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +64 -0
  7. package/src/services/apigateway/v20180808/apigateway_client.ts +18 -4
  8. package/src/services/apigateway/v20180808/apigateway_models.ts +161 -61
  9. package/src/services/cat/v20180409/cat_client.ts +18 -6
  10. package/src/services/cat/v20180409/cat_models.ts +25 -0
  11. package/src/services/cwp/v20180228/cwp_models.ts +9 -1
  12. package/src/services/dts/v20211206/dts_models.ts +2 -2
  13. package/src/services/live/v20180801/live_models.ts +20 -2
  14. package/src/services/mps/v20190612/mps_models.ts +44 -1
  15. package/src/services/ms/v20180408/ms_client.ts +8 -8
  16. package/src/services/ms/v20180408/ms_models.ts +1 -1
  17. package/src/services/ocr/v20181119/ocr_models.ts +3 -0
  18. package/src/services/teo/v20220901/teo_client.ts +3 -2
  19. package/src/services/teo/v20220901/teo_models.ts +110 -42
  20. package/src/services/tiia/v20190529/tiia_client.ts +26 -11
  21. package/src/services/tiia/v20190529/tiia_models.ts +79 -25
  22. package/src/services/tke/v20180525/tke_models.ts +2 -2
  23. package/tencentcloud/common/sdk_version.d.ts +1 -1
  24. package/tencentcloud/common/sdk_version.js +1 -1
  25. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +52 -0
  26. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +5 -1
  27. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +6 -0
  28. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +138 -54
  29. package/tencentcloud/services/cat/v20180409/cat_client.d.ts +7 -3
  30. package/tencentcloud/services/cat/v20180409/cat_client.js +9 -3
  31. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +22 -0
  32. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +8 -1
  33. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +2 -2
  34. package/tencentcloud/services/live/v20180801/live_models.d.ts +18 -2
  35. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +38 -1
  36. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +8 -8
  37. package/tencentcloud/services/ms/v20180408/ms_client.js +8 -8
  38. package/tencentcloud/services/ms/v20180408/ms_models.d.ts +1 -1
  39. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -0
  40. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +2 -2
  41. package/tencentcloud/services/teo/v20220901/teo_client.js +2 -2
  42. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +98 -41
  43. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +12 -6
  44. package/tencentcloud/services/tiia/v20190529/tiia_client.js +14 -6
  45. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +70 -23
  46. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
  47. package/test/apigateway.v20180808.test.js +10 -0
  48. package/test/cat.v20180409.test.js +12 -2
  49. package/test/tiia.v20190529.test.js +12 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.477",
3
+ "version": "4.0.478",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -8,11 +8,11 @@
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 |
9
9
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
10
10
  | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2022-10-31 06:07:18 |
11
- | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2022-11-01 06:06:58 |
11
+ | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2022-11-09 06:08:09 |
12
12
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
13
13
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
14
14
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-06-07 06:00:45 |
15
- | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2022-10-31 06:08:19 |
15
+ | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2022-11-09 06:09:16 |
16
16
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-08-22 06:08:36 |
17
17
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-11-04 06:08:20 |
18
18
  | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-11-01 06:08:50 |
@@ -33,10 +33,10 @@
33
33
  | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2022-09-29 06:12:03 |
34
34
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2022-04-04 06:10:17 |
35
35
  | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-11-08 06:11:07 |
36
- | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-11-02 06:08:36 |
36
+ | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-11-09 06:13:58 |
37
37
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-08-03 06:08:12 |
38
38
  | casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-10-31 06:12:52 |
39
- | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-09-15 11:03:22 |
39
+ | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-11-09 06:14:16 |
40
40
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-10-27 06:14:10 |
41
41
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-11-08 06:12:05 |
42
42
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-10-11 06:14:09 |
@@ -63,7 +63,7 @@
63
63
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-10-26 06:23:03 |
64
64
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
65
65
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-11-02 06:16:11 |
66
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-11-04 06:17:24 |
66
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-11-09 06:23:04 |
67
67
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
68
68
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2022-11-01 06:21:27 |
69
69
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2022-11-04 06:19:07 |
@@ -79,7 +79,7 @@
79
79
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
80
80
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2022-10-31 06:27:09 |
81
81
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
82
- | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-11-07 06:18:30 |
82
+ | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-11-09 06:28:23 |
83
83
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-08-23 06:27:55 |
84
84
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
85
85
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
@@ -110,7 +110,7 @@
110
110
  | ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2022-09-29 06:34:25 |
111
111
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2022-04-04 06:48:08 |
112
112
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-08-16 06:27:22 |
113
- | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-10-25 06:38:53 |
113
+ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-11-09 06:35:09 |
114
114
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
115
115
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-11-03 06:28:16 |
116
116
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-08-11 06:37:02 |
@@ -119,7 +119,7 @@
119
119
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-11-01 06:32:51 |
120
120
  | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2022-10-19 06:31:50 |
121
121
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-09-14 06:27:13 |
122
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2022-11-08 06:31:20 |
122
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2022-11-09 06:38:57 |
123
123
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
124
124
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
125
125
  | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-11-08 06:32:06 |
@@ -130,15 +130,15 @@
130
130
  | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-09-14 20:21:28 |
131
131
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-10-28 06:36:39 |
132
132
  | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-10-21 06:35:12 |
133
- | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2022-11-08 06:33:54 |
133
+ | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2022-11-09 06:42:12 |
134
134
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-06-28 06:14:04 |
135
- | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2022-09-16 17:41:33 |
135
+ | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2022-11-09 06:43:15 |
136
136
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2022-04-04 07:00:13 |
137
137
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
138
138
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
139
139
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
140
140
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-10-27 06:45:50 |
141
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-11-02 06:33:46 |
141
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-11-09 06:44:05 |
142
142
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2022-11-02 06:34:29 |
143
143
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-10-28 06:40:32 |
144
144
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
@@ -185,17 +185,17 @@
185
185
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-11-07 06:38:51 |
186
186
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-10-10 06:42:56 |
187
187
  | tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-11-08 06:44:33 |
188
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-11-07 06:39:45 |
188
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-11-09 06:56:06 |
189
189
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-11-04 06:42:08 |
190
190
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
191
191
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2022-10-31 06:55:14 |
192
192
  | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
193
193
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
194
194
  | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
195
- | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-11-07 06:40:48 |
195
+ | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-11-09 06:57:46 |
196
196
  | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-11-03 06:44:22 |
197
197
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
198
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-11-01 06:51:59 |
198
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-11-09 06:58:49 |
199
199
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
200
200
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
201
201
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-11-02 06:48:15 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.477"
1
+ export const sdkVersion = "4.0.478"
@@ -247,6 +247,11 @@ pcre(正则表达式)
247
247
  * 特征过滤配置添加成功后自动生成的规则ID,当添加新特征过滤配置时,此字段不用填写;
248
248
  */
249
249
  Id?: string
250
+
251
+ /**
252
+ * 大于报文长度,取值1+
253
+ */
254
+ PktLenGT?: number
250
255
  }
251
256
 
252
257
  /**
@@ -2655,6 +2660,16 @@ export interface ProtocolBlockConfig {
2655
2660
  * 异常空连接防护,取值[0(防护关),1(防护开)]
2656
2661
  */
2657
2662
  CheckExceptNullConnect: number
2663
+
2664
+ /**
2665
+ * ping of death防护,取值[0(防护关),1(防护开)]
2666
+ */
2667
+ PingOfDeath?: number
2668
+
2669
+ /**
2670
+ * tear drop防护,取值[0(防护关),1(防护开)]
2671
+ */
2672
+ TearDrop?: number
2658
2673
  }
2659
2674
 
2660
2675
  /**
@@ -3688,6 +3703,30 @@ off(关闭)
3688
3703
  * 域名与协议纬度的防护阈值
3689
3704
  */
3690
3705
  ListenerCcThresholdList: Array<ListenerCcThreholdConfig>
3706
+
3707
+ /**
3708
+ * SYN FLOOD流量阈值
3709
+ 注意:此字段可能返回 null,表示取不到有效值。
3710
+ */
3711
+ SynFloodThreshold: number
3712
+
3713
+ /**
3714
+ * SYN FLOOD包量阈值
3715
+ 注意:此字段可能返回 null,表示取不到有效值。
3716
+ */
3717
+ SynFloodPktThreshold: number
3718
+
3719
+ /**
3720
+ * UDP FLOOD流量阈值
3721
+ 注意:此字段可能返回 null,表示取不到有效值。
3722
+ */
3723
+ UdpFloodThreshold: number
3724
+
3725
+ /**
3726
+ * UDP FLOOD包量阈值
3727
+ 注意:此字段可能返回 null,表示取不到有效值。
3728
+ */
3729
+ UdpFloodPktThreshold: number
3691
3730
  }
3692
3731
 
3693
3732
  /**
@@ -3769,6 +3808,31 @@ export interface ModifyDDoSThresholdRequest {
3769
3808
  * 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版)
3770
3809
  */
3771
3810
  Business: string
3811
+
3812
+ /**
3813
+ * 配置其他阈值标志位,1表示配置其他阈值
3814
+ */
3815
+ OtherThresholdFlag?: number
3816
+
3817
+ /**
3818
+ * SYN FLOOD流量阈值
3819
+ */
3820
+ SynFloodThreshold?: number
3821
+
3822
+ /**
3823
+ * SYN FLOOD包量阈值
3824
+ */
3825
+ SynFloodPktThreshold?: number
3826
+
3827
+ /**
3828
+ * UDP FLOOD流量阈值
3829
+ */
3830
+ UdpFloodThreshold?: number
3831
+
3832
+ /**
3833
+ * UDP FLOOD包量阈值
3834
+ */
3835
+ UdpFloodPktThreshold?: number
3772
3836
  }
3773
3837
 
3774
3838
  /**
@@ -22,6 +22,7 @@ import {
22
22
  UpdateApiKeyRequest,
23
23
  Service,
24
24
  DeleteAPIDocRequest,
25
+ AttachedPluginInfo,
25
26
  ApiUsagePlanSet,
26
27
  DescribeAPIDocDetailRequest,
27
28
  ModifyAPIDocResponse,
@@ -58,6 +59,7 @@ import {
58
59
  DescribeApiAppRequest,
59
60
  DescribePluginResponse,
60
61
  DescribeUpstreamBindApisRequest,
62
+ DescribePluginsByApiResponse,
61
63
  DescribeExclusiveInstancesResponse,
62
64
  K8sService,
63
65
  DeleteUsagePlanRequest,
@@ -164,6 +166,7 @@ import {
164
166
  DescribeServiceEnvironmentReleaseHistoryResponse,
165
167
  Environment,
166
168
  DescribeAPIDocsRequest,
169
+ DescribePluginsByApiRequest,
167
170
  UsagePlanStatusInfo,
168
171
  ServiceReleaseHistoryInfo,
169
172
  CreatePluginResponse,
@@ -206,7 +209,7 @@ import {
206
209
  ModifyIPStrategyRequest,
207
210
  ModifyPluginResponse,
208
211
  UnBindSecretIdsRequest,
209
- DescribeApiRequest,
212
+ ApiEnvironmentStrategy,
210
213
  VpcConfig,
211
214
  CreateUpstreamResponse,
212
215
  ResetAPIDocPasswordRequest,
@@ -240,9 +243,9 @@ import {
240
243
  ErrorCodes,
241
244
  DescribeServiceEnvironmentListRequest,
242
245
  ServiceEnvironmentStrategyStatus,
243
- ReqParameter,
244
- DescribeApiEnvironmentStrategyResponse,
245
246
  MicroService,
247
+ DescribeApiEnvironmentStrategyResponse,
248
+ DescribeApiRequest,
246
249
  ApiEnvironmentStrategyStataus,
247
250
  PluginSummary,
248
251
  ApiAppInfo,
@@ -252,6 +255,7 @@ import {
252
255
  BindApiInfo,
253
256
  ApiAppApiInfo,
254
257
  DescribeUsagePlanResponse,
258
+ ReqParameter,
255
259
  UnBindEnvironmentRequest,
256
260
  AttachPluginResponse,
257
261
  BindEnvironmentRequest,
@@ -286,7 +290,7 @@ import {
286
290
  CreateApiAppResponse,
287
291
  DescribeApiUsagePlanRequest,
288
292
  UnBindSubDomainRequest,
289
- ApiEnvironmentStrategy,
293
+ AttachedPluginSummary,
290
294
  DescribeIPStrategysStatusResponse,
291
295
  UpdateApiAppKeyResponse,
292
296
  DescribeExclusiveInstancesStatusRequest,
@@ -415,6 +419,16 @@ API 网关使用的最大单元为服务,每个服务中可创建多个 API
415
419
  return this.request("DeleteApiApp", req, cb)
416
420
  }
417
421
 
422
+ /**
423
+ * 展示API上已绑定的插件列表。
424
+ */
425
+ async DescribePluginsByApi(
426
+ req: DescribePluginsByApiRequest,
427
+ cb?: (error: string, rep: DescribePluginsByApiResponse) => void
428
+ ): Promise<DescribePluginsByApiResponse> {
429
+ return this.request("DescribePluginsByApi", req, cb)
430
+ }
431
+
418
432
  /**
419
433
  * 本接口(DescribeServicesStatus)用于搜索查询某一个服务或多个服务的列表,并返回服务相关的域名、时间等信息。
420
434
  */
@@ -174,6 +174,46 @@ export interface DeleteAPIDocRequest {
174
174
  ApiDocId: string
175
175
  }
176
176
 
177
+ /**
178
+ * 已绑定的插件信息。
179
+ */
180
+ export interface AttachedPluginInfo {
181
+ /**
182
+ * 插件ID。
183
+ */
184
+ PluginId: string
185
+
186
+ /**
187
+ * 环境信息。
188
+ */
189
+ Environment: string
190
+
191
+ /**
192
+ * 绑定时间。
193
+ */
194
+ AttachedTime: string
195
+
196
+ /**
197
+ * 插件名称。
198
+ */
199
+ PluginName: string
200
+
201
+ /**
202
+ * 插件类型。
203
+ */
204
+ PluginType: string
205
+
206
+ /**
207
+ * 插件描述。
208
+ */
209
+ Description: string
210
+
211
+ /**
212
+ * 插件定义语句。
213
+ */
214
+ PluginData: string
215
+ }
216
+
177
217
  /**
178
218
  * api绑定使用计划列表
179
219
  */
@@ -1266,6 +1306,21 @@ export interface DescribeUpstreamBindApisRequest {
1266
1306
  Filters?: Array<Filter>
1267
1307
  }
1268
1308
 
1309
+ /**
1310
+ * DescribePluginsByApi返回参数结构体
1311
+ */
1312
+ export interface DescribePluginsByApiResponse {
1313
+ /**
1314
+ * 插件可绑定的API列表信息。
1315
+ */
1316
+ Result: AttachedPluginSummary
1317
+
1318
+ /**
1319
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1320
+ */
1321
+ RequestId?: string
1322
+ }
1323
+
1269
1324
  /**
1270
1325
  * DescribeExclusiveInstances返回参数结构体
1271
1326
  */
@@ -4446,6 +4501,36 @@ export interface DescribeAPIDocsRequest {
4446
4501
  Offset?: number
4447
4502
  }
4448
4503
 
4504
+ /**
4505
+ * DescribePluginsByApi请求参数结构体
4506
+ */
4507
+ export interface DescribePluginsByApiRequest {
4508
+ /**
4509
+ * 要查询的API ID。
4510
+ */
4511
+ ApiId: string
4512
+
4513
+ /**
4514
+ * 要查询的服务ID。
4515
+ */
4516
+ ServiceId: string
4517
+
4518
+ /**
4519
+ * 环境信息。
4520
+ */
4521
+ EnvironmentName?: string
4522
+
4523
+ /**
4524
+ * 返回数量,默认为 20,最大值为 100。
4525
+ */
4526
+ Limit?: number
4527
+
4528
+ /**
4529
+ * 偏移量,默认为 0。
4530
+ */
4531
+ Offset?: number
4532
+ }
4533
+
4449
4534
  /**
4450
4535
  * 用于使用计划列表展示
4451
4536
  */
@@ -5452,18 +5537,33 @@ export interface UnBindSecretIdsRequest {
5452
5537
  }
5453
5538
 
5454
5539
  /**
5455
- * DescribeApi请求参数结构体
5540
+ * api环境绑定策略
5456
5541
  */
5457
- export interface DescribeApiRequest {
5542
+ export interface ApiEnvironmentStrategy {
5458
5543
  /**
5459
- * API 所在的服务唯一 ID。
5544
+ * API唯一ID。
5460
5545
  */
5461
- ServiceId: string
5546
+ ApiId: string
5462
5547
 
5463
5548
  /**
5464
- * API 接口唯一 ID。
5549
+ * 用户自定义API名称。
5465
5550
  */
5466
- ApiId: string
5551
+ ApiName: string
5552
+
5553
+ /**
5554
+ * API的路径。如/path。
5555
+ */
5556
+ Path: string
5557
+
5558
+ /**
5559
+ * API的方法。如GET。
5560
+ */
5561
+ Method: string
5562
+
5563
+ /**
5564
+ * 环境的限流信息。
5565
+ */
5566
+ EnvironmentStrategySet: Array<EnvironmentStrategy>
5467
5567
  }
5468
5568
 
5469
5569
  /**
@@ -6159,38 +6259,23 @@ export interface ServiceEnvironmentStrategyStatus {
6159
6259
  }
6160
6260
 
6161
6261
  /**
6162
- * 请求参数
6262
+ * API绑定的微服务信息。
6163
6263
  */
6164
- export interface ReqParameter {
6165
- /**
6166
- * API 的前端参数名称。
6167
- */
6168
- Name: string
6169
-
6170
- /**
6171
- * API 的前端参数位置,如 header。目前支持 header、query、path。
6172
- */
6173
- Position: string
6174
-
6175
- /**
6176
- * API 的前端参数类型,如 String、int。
6177
- */
6178
- Type: string
6179
-
6264
+ export interface MicroService {
6180
6265
  /**
6181
- * API 的前端参数默认值。
6266
+ * 微服务集群ID。
6182
6267
  */
6183
- DefaultValue: string
6268
+ ClusterId?: string
6184
6269
 
6185
6270
  /**
6186
- * API 的前端参数是否必填,True:表示必填,False:表示可选。
6271
+ * 微服务命名空间ID。
6187
6272
  */
6188
- Required: boolean
6273
+ NamespaceId?: string
6189
6274
 
6190
6275
  /**
6191
- * API 的前端参数备注。
6276
+ * 微服务名称。
6192
6277
  */
6193
- Desc: string
6278
+ MicroServiceName?: string
6194
6279
  }
6195
6280
 
6196
6281
  /**
@@ -6210,23 +6295,18 @@ export interface DescribeApiEnvironmentStrategyResponse {
6210
6295
  }
6211
6296
 
6212
6297
  /**
6213
- * API绑定的微服务信息。
6298
+ * DescribeApi请求参数结构体
6214
6299
  */
6215
- export interface MicroService {
6216
- /**
6217
- * 微服务集群ID。
6218
- */
6219
- ClusterId?: string
6220
-
6300
+ export interface DescribeApiRequest {
6221
6301
  /**
6222
- * 微服务命名空间ID。
6302
+ * API 所在的服务唯一 ID。
6223
6303
  */
6224
- NamespaceId?: string
6304
+ ServiceId: string
6225
6305
 
6226
6306
  /**
6227
- * 微服务名称。
6307
+ * API 接口唯一 ID。
6228
6308
  */
6229
- MicroServiceName?: string
6309
+ ApiId: string
6230
6310
  }
6231
6311
 
6232
6312
  /**
@@ -6478,6 +6558,41 @@ export interface DescribeUsagePlanResponse {
6478
6558
  RequestId?: string
6479
6559
  }
6480
6560
 
6561
+ /**
6562
+ * 请求参数
6563
+ */
6564
+ export interface ReqParameter {
6565
+ /**
6566
+ * API 的前端参数名称。
6567
+ */
6568
+ Name: string
6569
+
6570
+ /**
6571
+ * API 的前端参数位置,如 header。目前支持 header、query、path。
6572
+ */
6573
+ Position: string
6574
+
6575
+ /**
6576
+ * API 的前端参数类型,如 String、int。
6577
+ */
6578
+ Type: string
6579
+
6580
+ /**
6581
+ * API 的前端参数默认值。
6582
+ */
6583
+ DefaultValue: string
6584
+
6585
+ /**
6586
+ * API 的前端参数是否必填,True:表示必填,False:表示可选。
6587
+ */
6588
+ Required: boolean
6589
+
6590
+ /**
6591
+ * API 的前端参数备注。
6592
+ */
6593
+ Desc: string
6594
+ }
6595
+
6481
6596
  /**
6482
6597
  * UnBindEnvironment请求参数结构体
6483
6598
  */
@@ -7416,33 +7531,18 @@ export interface UnBindSubDomainRequest {
7416
7531
  }
7417
7532
 
7418
7533
  /**
7419
- * api环境绑定策略
7534
+ * 已绑定的插件信息。
7420
7535
  */
7421
- export interface ApiEnvironmentStrategy {
7536
+ export interface AttachedPluginSummary {
7422
7537
  /**
7423
- * API唯一ID。
7538
+ * 已绑定的插件总数。
7424
7539
  */
7425
- ApiId: string
7426
-
7427
- /**
7428
- * 用户自定义API名称。
7429
- */
7430
- ApiName: string
7431
-
7432
- /**
7433
- * API的路径。如/path。
7434
- */
7435
- Path: string
7436
-
7437
- /**
7438
- * API的方法。如GET。
7439
- */
7440
- Method: string
7540
+ TotalCount: number
7441
7541
 
7442
7542
  /**
7443
- * 环境的限流信息。
7543
+ * 已绑定的插件信息。
7444
7544
  */
7445
- EnvironmentStrategySet: Array<EnvironmentStrategy>
7545
+ PluginSummary: Array<AttachedPluginInfo>
7446
7546
  }
7447
7547
 
7448
7548
  /**
@@ -28,10 +28,12 @@ import {
28
28
  DescribeProbeMetricDataResponse,
29
29
  DescribeDetailedSingleProbeDataRequest,
30
30
  DescribeProbeTasksResponse,
31
+ UpdateProbeTaskAttributesResponse,
31
32
  DeleteProbeTaskRequest,
32
33
  DescribeDetailedSingleProbeDataResponse,
33
34
  SuspendProbeTaskRequest,
34
35
  DescribeProbeMetricDataRequest,
36
+ UpdateProbeTaskAttributesRequest,
35
37
  DescribeProbeNodesResponse,
36
38
  UpdateProbeTaskConfigurationListRequest,
37
39
  CreateProbeTasksRequest,
@@ -90,13 +92,13 @@ export class Client extends AbstractClient {
90
92
  }
91
93
 
92
94
  /**
93
- * 批量更新拨测任务配置
95
+ * 更新探测任务属性
94
96
  */
95
- async UpdateProbeTaskConfigurationList(
96
- req: UpdateProbeTaskConfigurationListRequest,
97
- cb?: (error: string, rep: UpdateProbeTaskConfigurationListResponse) => void
98
- ): Promise<UpdateProbeTaskConfigurationListResponse> {
99
- return this.request("UpdateProbeTaskConfigurationList", req, cb)
97
+ async UpdateProbeTaskAttributes(
98
+ req: UpdateProbeTaskAttributesRequest,
99
+ cb?: (error: string, rep: UpdateProbeTaskAttributesResponse) => void
100
+ ): Promise<UpdateProbeTaskAttributesResponse> {
101
+ return this.request("UpdateProbeTaskAttributes", req, cb)
100
102
  }
101
103
 
102
104
  /**
@@ -119,6 +121,16 @@ export class Client extends AbstractClient {
119
121
  return this.request("DescribeProbeNodes", req, cb)
120
122
  }
121
123
 
124
+ /**
125
+ * 批量更新拨测任务配置
126
+ */
127
+ async UpdateProbeTaskConfigurationList(
128
+ req: UpdateProbeTaskConfigurationListRequest,
129
+ cb?: (error: string, rep: UpdateProbeTaskConfigurationListResponse) => void
130
+ ): Promise<UpdateProbeTaskConfigurationListResponse> {
131
+ return this.request("UpdateProbeTaskConfigurationList", req, cb)
132
+ }
133
+
122
134
  /**
123
135
  * 批量创建拨测任务
124
136
  */
@@ -317,6 +317,16 @@ export interface DescribeProbeTasksResponse {
317
317
  RequestId?: string
318
318
  }
319
319
 
320
+ /**
321
+ * UpdateProbeTaskAttributes返回参数结构体
322
+ */
323
+ export interface UpdateProbeTaskAttributesResponse {
324
+ /**
325
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
326
+ */
327
+ RequestId?: string
328
+ }
329
+
320
330
  /**
321
331
  * DeleteProbeTask请求参数结构体
322
332
  */
@@ -398,6 +408,21 @@ AnalyzeTaskType_MediaStream:音视频体验
398
408
  Filters?: Array<string>
399
409
  }
400
410
 
411
+ /**
412
+ * UpdateProbeTaskAttributes请求参数结构体
413
+ */
414
+ export interface UpdateProbeTaskAttributesRequest {
415
+ /**
416
+ * 任务 ID
417
+ */
418
+ TaskId: string
419
+
420
+ /**
421
+ * 任务名
422
+ */
423
+ Name?: string
424
+ }
425
+
401
426
  /**
402
427
  * DescribeProbeNodes返回参数结构体
403
428
  */