tencentcloud-sdk-nodejs 4.0.436 → 4.0.437
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.
- package/CHANGELOG.md +165 -0
- package/SERVICE_CHANGELOG.md +249 -51
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +0 -12
- package/src/services/antiddos/v20200309/antiddos_models.ts +0 -35
- package/src/services/bda/v20200324/bda_models.ts +31 -6
- package/src/services/ccc/v20200210/ccc_models.ts +5 -0
- package/src/services/cfw/v20190904/cfw_client.ts +0 -12
- package/src/services/cfw/v20190904/cfw_models.ts +2 -38
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/emr/v20190103/emr_models.ts +42 -3
- package/src/services/ess/v20201111/ess_models.ts +21 -5
- package/src/services/gme/v20180711/gme_models.ts +12 -2
- package/src/services/monitor/v20180724/monitor_models.ts +44 -0
- package/src/services/ses/v20201002/ses_models.ts +10 -8
- package/src/services/vpc/v20170312/vpc_client.ts +7 -7
- package/src/services/vpc/v20170312/vpc_models.ts +3 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -5
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +0 -6
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +0 -30
- package/tencentcloud/services/bda/v20200324/bda_models.d.ts +23 -2
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -5
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +0 -6
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +2 -33
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +35 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +17 -1
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +10 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +36 -0
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +10 -8
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +7 -7
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +7 -7
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +3 -3
- package/test/antiddos.v20200309.test.js +0 -10
- package/test/cfw.v20190904.test.js +0 -10
package/products.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
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-08-16 06:06:52 |
|
|
11
|
-
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-
|
|
11
|
+
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-09-06 06:07:26 |
|
|
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 |
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
|
|
20
20
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
|
|
21
21
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-08-25 06:10:07 |
|
|
22
|
-
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-
|
|
22
|
+
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-09-06 06:10:38 |
|
|
23
23
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2022-08-09 10:42:14 |
|
|
24
24
|
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2022-08-15 06:09:23 |
|
|
25
25
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
| casb | [云数据加密代理网关](https://cloud.tencent.com/document/product/1303) | 2022-04-04 06:11:55 |
|
|
38
38
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-08-26 06:12:22 |
|
|
39
39
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-08-15 06:11:13 |
|
|
40
|
-
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-
|
|
40
|
+
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-09-06 06:13:56 |
|
|
41
41
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-08-30 06:13:27 |
|
|
42
42
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-07-30 15:07:54 |
|
|
43
43
|
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-08-29 06:13:59 |
|
|
44
44
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
|
|
45
45
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-07-22 06:04:01 |
|
|
46
46
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-08-29 06:14:56 |
|
|
47
|
-
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-
|
|
47
|
+
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-09-06 06:16:40 |
|
|
48
48
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2022-07-04 06:04:36 |
|
|
49
49
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2022-07-19 20:27:09 |
|
|
50
50
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-06-27 06:06:02 |
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
61
61
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-09-05 06:18:54 |
|
|
62
62
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
63
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-
|
|
63
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-09-06 06:21:55 |
|
|
64
64
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-08-19 06:16:28 |
|
|
65
65
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
66
66
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-09-02 06:24:12 |
|
|
@@ -84,16 +84,16 @@
|
|
|
84
84
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-06-24 06:11:32 |
|
|
85
85
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
86
86
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-08-16 06:23:41 |
|
|
87
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-
|
|
87
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-09-06 06:30:34 |
|
|
88
88
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-09-02 06:30:38 |
|
|
89
|
-
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-09-
|
|
89
|
+
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-09-06 06:31:13 |
|
|
90
90
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-09-01 06:28:39 |
|
|
91
91
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
|
|
92
92
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-09-02 06:31:36 |
|
|
93
93
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
94
94
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
|
|
95
95
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-09-01 06:29:26 |
|
|
96
|
-
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-
|
|
96
|
+
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-09-06 06:33:02 |
|
|
97
97
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
98
98
|
| gs | [云游戏解决方案](https://cloud.tencent.com/document/product/1162) | 2022-08-19 06:23:23 |
|
|
99
99
|
| gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 |
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-08-25 06:38:57 |
|
|
127
127
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
|
|
128
128
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-08-15 06:31:24 |
|
|
129
|
-
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-09-
|
|
129
|
+
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-09-06 06:42:23 |
|
|
130
130
|
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-07-30 15:15:41 |
|
|
131
131
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-06-28 06:14:04 |
|
|
132
132
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2022-07-07 06:13:41 |
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
150
150
|
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-08-03 06:38:49 |
|
|
151
151
|
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-07-20 06:11:30 |
|
|
152
|
-
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-
|
|
152
|
+
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-09-06 06:49:17 |
|
|
153
153
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-04-25 06:11:28 |
|
|
154
154
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2022-04-04 07:05:41 |
|
|
155
155
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2022-08-17 06:36:01 |
|
|
@@ -202,10 +202,10 @@
|
|
|
202
202
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
|
|
203
203
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-08-26 06:56:32 |
|
|
204
204
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
205
|
-
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-09-
|
|
205
|
+
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-09-06 07:04:39 |
|
|
206
206
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
207
207
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-09-02 07:03:01 |
|
|
208
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-09-
|
|
208
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-09-06 07:06:23 |
|
|
209
209
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-09-02 07:06:31 |
|
|
210
210
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
211
211
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-08-12 15:11:35 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.437"
|
|
@@ -127,7 +127,6 @@ import {
|
|
|
127
127
|
CreateDDoSSpeedLimitConfigResponse,
|
|
128
128
|
DescribeNewL7RulesErrHealthResponse,
|
|
129
129
|
DeletePacketFilterConfigRequest,
|
|
130
|
-
ModifyL7RulesEdgeRequest,
|
|
131
130
|
DescribeListDDoSGeoIPBlockConfigResponse,
|
|
132
131
|
DescribeBasicDeviceStatusResponse,
|
|
133
132
|
DescribeBgpBizTrendResponse,
|
|
@@ -183,7 +182,6 @@ import {
|
|
|
183
182
|
ModifyDDoSBlackWhiteIpListResponse,
|
|
184
183
|
CCReqLimitPolicy,
|
|
185
184
|
DescribeCCPrecisionPlyListRequest,
|
|
186
|
-
ModifyL7RulesEdgeResponse,
|
|
187
185
|
ProtocolPort,
|
|
188
186
|
DescribeCCLevelListRequest,
|
|
189
187
|
ModifyCCThresholdPolicyRequest,
|
|
@@ -933,16 +931,6 @@ export class Client extends AbstractClient {
|
|
|
933
931
|
return this.request("DescribeDDoSTrend", req, cb)
|
|
934
932
|
}
|
|
935
933
|
|
|
936
|
-
/**
|
|
937
|
-
* 修改边界防护L7转发规则
|
|
938
|
-
*/
|
|
939
|
-
async ModifyL7RulesEdge(
|
|
940
|
-
req: ModifyL7RulesEdgeRequest,
|
|
941
|
-
cb?: (error: string, rep: ModifyL7RulesEdgeResponse) => void
|
|
942
|
-
): Promise<ModifyL7RulesEdgeResponse> {
|
|
943
|
-
return this.request("ModifyL7RulesEdge", req, cb)
|
|
944
|
-
}
|
|
945
|
-
|
|
946
934
|
/**
|
|
947
935
|
* 设置DDoS防护的AI防护开关
|
|
948
936
|
*/
|
|
@@ -2487,26 +2487,6 @@ export interface DeletePacketFilterConfigRequest {
|
|
|
2487
2487
|
PacketFilterConfig: PacketFilterConfig
|
|
2488
2488
|
}
|
|
2489
2489
|
|
|
2490
|
-
/**
|
|
2491
|
-
* ModifyL7RulesEdge请求参数结构体
|
|
2492
|
-
*/
|
|
2493
|
-
export interface ModifyL7RulesEdgeRequest {
|
|
2494
|
-
/**
|
|
2495
|
-
* 大禹子产品代号(edge表示边界防护产品)
|
|
2496
|
-
*/
|
|
2497
|
-
Business: string
|
|
2498
|
-
|
|
2499
|
-
/**
|
|
2500
|
-
* 资源ID
|
|
2501
|
-
*/
|
|
2502
|
-
Id: string
|
|
2503
|
-
|
|
2504
|
-
/**
|
|
2505
|
-
* 规则
|
|
2506
|
-
*/
|
|
2507
|
-
Rule: L7RuleEntry
|
|
2508
|
-
}
|
|
2509
|
-
|
|
2510
2490
|
/**
|
|
2511
2491
|
* DescribeListDDoSGeoIPBlockConfig返回参数结构体
|
|
2512
2492
|
*/
|
|
@@ -3956,21 +3936,6 @@ export interface DescribeCCPrecisionPlyListRequest {
|
|
|
3956
3936
|
Protocol?: string
|
|
3957
3937
|
}
|
|
3958
3938
|
|
|
3959
|
-
/**
|
|
3960
|
-
* ModifyL7RulesEdge返回参数结构体
|
|
3961
|
-
*/
|
|
3962
|
-
export interface ModifyL7RulesEdgeResponse {
|
|
3963
|
-
/**
|
|
3964
|
-
* 成功码
|
|
3965
|
-
*/
|
|
3966
|
-
Success: SuccessCode
|
|
3967
|
-
|
|
3968
|
-
/**
|
|
3969
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3970
|
-
*/
|
|
3971
|
-
RequestId?: string
|
|
3972
|
-
}
|
|
3973
|
-
|
|
3974
3939
|
/**
|
|
3975
3940
|
* Protocol、Port参数
|
|
3976
3941
|
*/
|
|
@@ -20,14 +20,34 @@
|
|
|
20
20
|
*/
|
|
21
21
|
export interface SegmentPortraitPicResponse {
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
* 处理后的图片 base64 数据,透明背景图
|
|
24
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
|
+
*/
|
|
26
|
+
ResultImage: string
|
|
26
27
|
|
|
27
28
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
* 一个通过 Base64 编码的文件,解码后文件由 Float 型浮点数组成。这些浮点数代表原图从左上角开始的每一行的每一个像素点,每一个浮点数的值是原图相应像素点位于人体轮廓内的置信度(0-1)转化的灰度值(0-255)
|
|
30
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
31
|
+
*/
|
|
32
|
+
ResultMask: string
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 图片是否存在前景。
|
|
36
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37
|
+
*/
|
|
38
|
+
HasForeground: boolean
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* 支持将处理过的图片 base64 数据,透明背景图以URL的形式返回值,URL有效期为30分钟。
|
|
42
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
|
+
*/
|
|
44
|
+
ResultImageUrl: string
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* 一个通过 Base64 编码的文件,解码后文件由 Float 型浮点数组成。支持以URL形式的返回值;URL有效期为30分钟。
|
|
48
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
49
|
+
*/
|
|
50
|
+
ResultMaskUrl: string
|
|
31
51
|
|
|
32
52
|
/**
|
|
33
53
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -982,6 +1002,11 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
982
1002
|
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
|
983
1003
|
*/
|
|
984
1004
|
Url?: string
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* 返回图像方式(base64 或 url ) ,二选一。url有效期为30分钟。
|
|
1008
|
+
*/
|
|
1009
|
+
RspImgType?: string
|
|
985
1010
|
}
|
|
986
1011
|
|
|
987
1012
|
/**
|
|
@@ -114,7 +114,6 @@ import {
|
|
|
114
114
|
RemoveEnterpriseSecurityGroupRuleRequest,
|
|
115
115
|
DeleteResourceGroupRequest,
|
|
116
116
|
DescribeBlockByIpTimesListRequest,
|
|
117
|
-
ModifyVPCSwitchStatusResponse,
|
|
118
117
|
RemoveEnterpriseSecurityGroupRuleResponse,
|
|
119
118
|
ModifyAllVPCSwitchStatusRequest,
|
|
120
119
|
ModifySequenceRulesResponse,
|
|
@@ -177,7 +176,6 @@ import {
|
|
|
177
176
|
ModifyAssetScanResponse,
|
|
178
177
|
ModifyAcRuleRequest,
|
|
179
178
|
DescribeNatFwInstancesInfoResponse,
|
|
180
|
-
ModifyVPCSwitchStatusRequest,
|
|
181
179
|
ModifyBlockIgnoreListResponse,
|
|
182
180
|
DescribeNatFwInstanceResponse,
|
|
183
181
|
ModifySecurityGroupRuleResponse,
|
|
@@ -542,16 +540,6 @@ export class Client extends AbstractClient {
|
|
|
542
540
|
return this.request("ModifyNatFwVpcDnsSwitch", req, cb)
|
|
543
541
|
}
|
|
544
542
|
|
|
545
|
-
/**
|
|
546
|
-
* 单个修改VPC火墙开关
|
|
547
|
-
*/
|
|
548
|
-
async ModifyVPCSwitchStatus(
|
|
549
|
-
req: ModifyVPCSwitchStatusRequest,
|
|
550
|
-
cb?: (error: string, rep: ModifyVPCSwitchStatusResponse) => void
|
|
551
|
-
): Promise<ModifyVPCSwitchStatusResponse> {
|
|
552
|
-
return this.request("ModifyVPCSwitchStatus", req, cb)
|
|
553
|
-
}
|
|
554
|
-
|
|
555
543
|
/**
|
|
556
544
|
* VPC防火墙一键开关
|
|
557
545
|
*/
|
|
@@ -282,7 +282,7 @@ vendor:云厂商
|
|
|
282
282
|
当SourceType为net时,SourceContent为源IP地址或者CIDR地址。
|
|
283
283
|
例如:1.1.1.0/24
|
|
284
284
|
|
|
285
|
-
当SourceType为template时,SourceContent
|
|
285
|
+
当SourceType为template时,SourceContent为源地址模板id。
|
|
286
286
|
|
|
287
287
|
当SourceType为location时,SourceContent为源区域。
|
|
288
288
|
例如["BJ11", "ZB"]
|
|
@@ -311,7 +311,7 @@ domain: 域名或者ip
|
|
|
311
311
|
当DestType为net时,DestContent为源IP地址或者CIDR地址。
|
|
312
312
|
例如:1.1.1.0/24
|
|
313
313
|
|
|
314
|
-
当DestType为template时,DestContent
|
|
314
|
+
当DestType为template时,DestContent为源地址模板id。
|
|
315
315
|
|
|
316
316
|
当DestType为location时,DestContent为源区域。
|
|
317
317
|
例如["BJ11", "ZB"]
|
|
@@ -2629,27 +2629,6 @@ export interface DescribeBlockByIpTimesListRequest {
|
|
|
2629
2629
|
LogSource?: string
|
|
2630
2630
|
}
|
|
2631
2631
|
|
|
2632
|
-
/**
|
|
2633
|
-
* ModifyVPCSwitchStatus返回参数结构体
|
|
2634
|
-
*/
|
|
2635
|
-
export interface ModifyVPCSwitchStatusResponse {
|
|
2636
|
-
/**
|
|
2637
|
-
* 接口返回信息
|
|
2638
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2639
|
-
*/
|
|
2640
|
-
ReturnMsg: string
|
|
2641
|
-
|
|
2642
|
-
/**
|
|
2643
|
-
* 接口返回错误码,0请求成功 非0失败
|
|
2644
|
-
*/
|
|
2645
|
-
ReturnCode: number
|
|
2646
|
-
|
|
2647
|
-
/**
|
|
2648
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2649
|
-
*/
|
|
2650
|
-
RequestId?: string
|
|
2651
|
-
}
|
|
2652
|
-
|
|
2653
2632
|
/**
|
|
2654
2633
|
* RemoveEnterpriseSecurityGroupRule返回参数结构体
|
|
2655
2634
|
*/
|
|
@@ -4254,21 +4233,6 @@ export interface DescribeNatFwInstancesInfoResponse {
|
|
|
4254
4233
|
RequestId?: string
|
|
4255
4234
|
}
|
|
4256
4235
|
|
|
4257
|
-
/**
|
|
4258
|
-
* ModifyVPCSwitchStatus请求参数结构体
|
|
4259
|
-
*/
|
|
4260
|
-
export interface ModifyVPCSwitchStatusRequest {
|
|
4261
|
-
/**
|
|
4262
|
-
* 公网IP
|
|
4263
|
-
*/
|
|
4264
|
-
FirewallVpcId: string
|
|
4265
|
-
|
|
4266
|
-
/**
|
|
4267
|
-
* 状态值,0: 关闭 ,1:开启
|
|
4268
|
-
*/
|
|
4269
|
-
Status: number
|
|
4270
|
-
}
|
|
4271
|
-
|
|
4272
4236
|
/**
|
|
4273
4237
|
* ModifyBlockIgnoreList返回参数结构体
|
|
4274
4238
|
*/
|
|
@@ -346,7 +346,7 @@ export class Client extends AbstractClient {
|
|
|
346
346
|
* 预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。
|
|
347
347
|
* 调用本接口创建实例,支持代金券自动抵扣(注意,代金券不可用于抵扣后付费冻结金额),详情请参考[代金券选用规则](https://cloud.tencent.com/document/product/555/7428)。
|
|
348
348
|
* 本接口允许购买的实例数量遵循[CVM实例购买限制](https://cloud.tencent.com/document/product/213/2664),所创建的实例和官网入口创建的实例共用配额。
|
|
349
|
-
* 本接口为异步接口,当创建实例请求下发成功后会返回一个实例`ID`列表和一个`RequestId`,此时创建实例操作并未立即完成。在此期间实例的状态将会处于“PENDING”,实例创建结果可以通过调用 [DescribeInstancesStatus](https://cloud.tencent.com/document/product/213/15738) 接口查询,如果实例状态(InstanceState)由“PENDING”变为“RUNNING”,则代表实例创建成功,“LAUNCH_FAILED”代表实例创建失败。
|
|
349
|
+
* 本接口为异步接口,当创建实例请求下发成功后会返回一个实例`ID`列表和一个`RequestId`,此时创建实例操作并未立即完成。在此期间实例的状态将会处于“PENDING”,实例创建结果可以通过调用 [DescribeInstancesStatus](https://cloud.tencent.com/document/product/213/15738) 接口查询,如果实例状态(InstanceState)由“PENDING(创建中)”变为“RUNNING(运行中)”,则代表实例创建成功,“LAUNCH_FAILED”代表实例创建失败。
|
|
350
350
|
*/
|
|
351
351
|
async RunInstances(
|
|
352
352
|
req: RunInstancesRequest,
|
|
@@ -1389,7 +1389,7 @@ export interface InquiryPriceResizeInstanceDisksRequest {
|
|
|
1389
1389
|
*/
|
|
1390
1390
|
export interface RunInstancesResponse {
|
|
1391
1391
|
/**
|
|
1392
|
-
* 当通过本接口来创建实例时会返回该参数,表示一个或多个实例`ID`。返回实例`ID`列表并不代表实例创建成功,可根据 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口查询返回的InstancesSet中对应实例的`ID`的状态来判断创建是否完成;如果实例状态由“PENDING(创建中)
|
|
1392
|
+
* 当通过本接口来创建实例时会返回该参数,表示一个或多个实例`ID`。返回实例`ID`列表并不代表实例创建成功,可根据 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口查询返回的InstancesSet中对应实例的`ID`的状态来判断创建是否完成;如果实例状态由“PENDING(创建中)”变为“RUNNING(运行中)”,则为创建成功。
|
|
1393
1393
|
*/
|
|
1394
1394
|
InstanceIdSet: Array<string>
|
|
1395
1395
|
|
|
@@ -52,7 +52,7 @@ POSTPAID_BY_HOUR 按量计费,默认方式。
|
|
|
52
52
|
LoginSettings: LoginSettings
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* 实例标签,示例:["{\"TagKey\":\"test-tag1\",\"TagValue\":\"001\"}","{\"TagKey\":\"test-tag2\",\"TagValue\":\"002\"}"]。
|
|
56
56
|
*/
|
|
57
57
|
TagSpecification: Array<string>
|
|
58
58
|
|
|
@@ -248,8 +248,7 @@ export interface Step {
|
|
|
248
248
|
/**
|
|
249
249
|
* 执行失败策略。
|
|
250
250
|
1. TERMINATE_CLUSTER 执行失败时退出并销毁集群。
|
|
251
|
-
2.
|
|
252
|
-
3. CONTINUE 执行失败时跳过并执行后续步骤。
|
|
251
|
+
2. CONTINUE 执行失败时跳过并执行后续步骤。
|
|
253
252
|
*/
|
|
254
253
|
ActionOnFailure: string
|
|
255
254
|
|
|
@@ -1253,6 +1252,12 @@ export interface JobResult {
|
|
|
1253
1252
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1254
1253
|
*/
|
|
1255
1254
|
JobState: string
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* YARN任务ID
|
|
1258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1259
|
+
*/
|
|
1260
|
+
ApplicationId?: string
|
|
1256
1261
|
}
|
|
1257
1262
|
|
|
1258
1263
|
/**
|
|
@@ -2282,6 +2287,16 @@ export interface DescribeClusterNodesRequest {
|
|
|
2282
2287
|
* 支持搜索的字段
|
|
2283
2288
|
*/
|
|
2284
2289
|
SearchFields?: Array<SearchItem>
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* 无
|
|
2293
|
+
*/
|
|
2294
|
+
OrderField?: string
|
|
2295
|
+
|
|
2296
|
+
/**
|
|
2297
|
+
* 无
|
|
2298
|
+
*/
|
|
2299
|
+
Asc?: number
|
|
2285
2300
|
}
|
|
2286
2301
|
|
|
2287
2302
|
/**
|
|
@@ -4126,6 +4141,30 @@ export interface NodeHardwareInfo {
|
|
|
4126
4141
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4127
4142
|
*/
|
|
4128
4143
|
Clients: string
|
|
4144
|
+
|
|
4145
|
+
/**
|
|
4146
|
+
* 系统当前时间
|
|
4147
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4148
|
+
*/
|
|
4149
|
+
CurrentTime: string
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* 是否用于联邦
|
|
4153
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4154
|
+
*/
|
|
4155
|
+
IsFederation: number
|
|
4156
|
+
|
|
4157
|
+
/**
|
|
4158
|
+
* 设备名称
|
|
4159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4160
|
+
*/
|
|
4161
|
+
DeviceName: string
|
|
4162
|
+
|
|
4163
|
+
/**
|
|
4164
|
+
* 服务
|
|
4165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4166
|
+
*/
|
|
4167
|
+
ServiceClient: string
|
|
4129
4168
|
}
|
|
4130
4169
|
|
|
4131
4170
|
/**
|
|
@@ -811,8 +811,14 @@ export interface FlowDetailInfo {
|
|
|
811
811
|
FlowType: string
|
|
812
812
|
|
|
813
813
|
/**
|
|
814
|
-
|
|
815
|
-
|
|
814
|
+
* 合同(流程)的状态
|
|
815
|
+
1:未签署
|
|
816
|
+
2:部分签署
|
|
817
|
+
3:已退回
|
|
818
|
+
4:完成签署
|
|
819
|
+
5:已过期
|
|
820
|
+
6:已取消
|
|
821
|
+
*/
|
|
816
822
|
FlowStatus: number
|
|
817
823
|
|
|
818
824
|
/**
|
|
@@ -1316,7 +1322,7 @@ export interface UploadFilesRequest {
|
|
|
1316
1322
|
FileInfos?: Array<UploadFile>
|
|
1317
1323
|
|
|
1318
1324
|
/**
|
|
1319
|
-
*
|
|
1325
|
+
* 不再使用,上传文件链接数组,最多支持20个URL
|
|
1320
1326
|
*/
|
|
1321
1327
|
FileUrls?: string
|
|
1322
1328
|
|
|
@@ -1766,8 +1772,18 @@ export interface FlowApproverDetail {
|
|
|
1766
1772
|
ApproveName: string
|
|
1767
1773
|
|
|
1768
1774
|
/**
|
|
1769
|
-
|
|
1770
|
-
|
|
1775
|
+
* 签署人的状态
|
|
1776
|
+
0:还没有发起
|
|
1777
|
+
1:流程中 没有开始处理
|
|
1778
|
+
2:待处理
|
|
1779
|
+
3:签署态
|
|
1780
|
+
4:拒绝态
|
|
1781
|
+
5:过期没人处理
|
|
1782
|
+
6:取消态
|
|
1783
|
+
7:还没有预发起
|
|
1784
|
+
8:待填写
|
|
1785
|
+
9:因为各种原因而终止
|
|
1786
|
+
*/
|
|
1771
1787
|
ApproveStatus: number
|
|
1772
1788
|
|
|
1773
1789
|
/**
|
|
@@ -966,12 +966,12 @@ export interface DescribeUserInAndOutTimeResponse {
|
|
|
966
966
|
/**
|
|
967
967
|
* 用户在房间得进出时间列表
|
|
968
968
|
*/
|
|
969
|
-
InOutList
|
|
969
|
+
InOutList: Array<InOutTimeInfo>
|
|
970
970
|
|
|
971
971
|
/**
|
|
972
972
|
* 用户在房间中总时长
|
|
973
973
|
*/
|
|
974
|
-
Duration
|
|
974
|
+
Duration: number
|
|
975
975
|
|
|
976
976
|
/**
|
|
977
977
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1476,4 +1476,14 @@ export interface DescribeUserInAndOutTimeRequest {
|
|
|
1476
1476
|
* 用户ID
|
|
1477
1477
|
*/
|
|
1478
1478
|
UserId: number
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* 字符串类型用户ID
|
|
1482
|
+
*/
|
|
1483
|
+
UserIdStr?: string
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* 字符串类型房间ID
|
|
1487
|
+
*/
|
|
1488
|
+
RoomIdStr?: string
|
|
1479
1489
|
}
|
|
@@ -1625,6 +1625,11 @@ export interface GetMonitorDataRequest {
|
|
|
1625
1625
|
* CreateSSOAccount返回参数结构体
|
|
1626
1626
|
*/
|
|
1627
1627
|
export interface CreateSSOAccountResponse {
|
|
1628
|
+
/**
|
|
1629
|
+
* 已添加的用户 UIN
|
|
1630
|
+
*/
|
|
1631
|
+
UserId: string
|
|
1632
|
+
|
|
1628
1633
|
/**
|
|
1629
1634
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1630
1635
|
*/
|
|
@@ -3048,6 +3053,12 @@ export interface UpdatePrometheusAgentStatusRequest {
|
|
|
3048
3053
|
* InstallPlugins返回参数结构体
|
|
3049
3054
|
*/
|
|
3050
3055
|
export interface InstallPluginsResponse {
|
|
3056
|
+
/**
|
|
3057
|
+
* 已安装插件 ID
|
|
3058
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3059
|
+
*/
|
|
3060
|
+
PluginIds: Array<string>
|
|
3061
|
+
|
|
3051
3062
|
/**
|
|
3052
3063
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3053
3064
|
*/
|
|
@@ -4752,6 +4763,11 @@ export interface DescribeInstalledPluginsRequest {
|
|
|
4752
4763
|
* 实例 ID
|
|
4753
4764
|
*/
|
|
4754
4765
|
InstanceId: string
|
|
4766
|
+
|
|
4767
|
+
/**
|
|
4768
|
+
* 按插件 ID 过滤
|
|
4769
|
+
*/
|
|
4770
|
+
PluginId?: string
|
|
4755
4771
|
}
|
|
4756
4772
|
|
|
4757
4773
|
/**
|
|
@@ -7476,6 +7492,12 @@ export interface MetricDatum {
|
|
|
7476
7492
|
* CreateGrafanaNotificationChannel返回参数结构体
|
|
7477
7493
|
*/
|
|
7478
7494
|
export interface CreateGrafanaNotificationChannelResponse {
|
|
7495
|
+
/**
|
|
7496
|
+
* 通道 ID
|
|
7497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7498
|
+
*/
|
|
7499
|
+
ChannelId: string
|
|
7500
|
+
|
|
7479
7501
|
/**
|
|
7480
7502
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7481
7503
|
*/
|
|
@@ -7618,6 +7640,11 @@ export interface DescribeSSOAccountRequest {
|
|
|
7618
7640
|
* 实例ID
|
|
7619
7641
|
*/
|
|
7620
7642
|
InstanceId: string
|
|
7643
|
+
|
|
7644
|
+
/**
|
|
7645
|
+
* 按账号 UIN 进行过滤
|
|
7646
|
+
*/
|
|
7647
|
+
UserId?: string
|
|
7621
7648
|
}
|
|
7622
7649
|
|
|
7623
7650
|
/**
|
|
@@ -7695,6 +7722,23 @@ export interface GrafanaNotificationChannel {
|
|
|
7695
7722
|
* 更新时间
|
|
7696
7723
|
*/
|
|
7697
7724
|
UpdatedAt: string
|
|
7725
|
+
|
|
7726
|
+
/**
|
|
7727
|
+
* 默认生效组织
|
|
7728
|
+
*/
|
|
7729
|
+
OrgId: string
|
|
7730
|
+
|
|
7731
|
+
/**
|
|
7732
|
+
* 额外生效组织
|
|
7733
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7734
|
+
*/
|
|
7735
|
+
ExtraOrgIds: Array<string>
|
|
7736
|
+
|
|
7737
|
+
/**
|
|
7738
|
+
* 生效组织
|
|
7739
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7740
|
+
*/
|
|
7741
|
+
OrgIds: string
|
|
7698
7742
|
}
|
|
7699
7743
|
|
|
7700
7744
|
/**
|