tencentcloud-sdk-nodejs 4.0.461 → 4.0.462
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 +155 -0
- package/SERVICE_CHANGELOG.md +252 -172
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/common/sdk_version.ts +1 -1
- package/src/services/captcha/v20190722/captcha_client.ts +12 -0
- package/src/services/captcha/v20190722/captcha_models.ts +15 -0
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +6 -0
- package/src/services/lcic/v20220817/lcic_client.ts +27 -15
- package/src/services/lcic/v20220817/lcic_models.ts +42 -22
- package/src/services/redis/v20180412/redis_models.ts +35 -30
- package/src/services/ssl/v20191205/ssl_client.ts +15 -1
- package/src/services/ssl/v20191205/ssl_models.ts +191 -6
- package/src/services/teo/v20220901/teo_models.ts +1 -1
- package/src/services/tke/v20180525/tke_client.ts +1 -0
- package/src/services/tke/v20180525/tke_models.ts +34 -0
- package/src/services/trp/v20210515/trp_client.ts +13 -0
- package/src/services/trp/v20210515/trp_models.ts +218 -8
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +5 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.js +6 -0
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +13 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +9 -5
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +12 -6
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +38 -20
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +34 -30
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +159 -6
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +29 -0
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +5 -1
- package/tencentcloud/services/trp/v20210515/trp_client.js +6 -0
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +185 -8
- package/test/captcha.v20190722.test.js +10 -0
- package/test/lcic.v20220817.test.js +14 -4
- package/test/ssl.v20191205.test.js +10 -0
- package/test/trp.v20210515.test.js +10 -0
package/products.md
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
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-09-23 06:11:49 |
|
|
36
|
-
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-10-
|
|
36
|
+
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-10-18 06:13:00 |
|
|
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-04-04 06:11:55 |
|
|
39
39
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-09-15 11:03:22 |
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-10-12 06:23:14 |
|
|
66
66
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-10-14 06:21:52 |
|
|
67
67
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
68
|
-
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-10-
|
|
68
|
+
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-10-17 13:57:08 |
|
|
69
69
|
| dasb | [堡垒机](https://cloud.tencent.com/document/product/1025) | 2022-08-16 06:19:02 |
|
|
70
70
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
71
71
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-07-29 06:07:15 |
|
|
@@ -112,12 +112,12 @@
|
|
|
112
112
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-08-16 06:27:22 |
|
|
113
113
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-09-12 06:28:33 |
|
|
114
114
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
|
|
115
|
-
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-
|
|
115
|
+
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-10-18 06:34:47 |
|
|
116
116
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-08-11 06:37:02 |
|
|
117
117
|
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2022-08-19 06:27:03 |
|
|
118
118
|
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-09-20 19:36:34 |
|
|
119
119
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-08-05 06:26:44 |
|
|
120
|
-
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2022-10-
|
|
120
|
+
| lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2022-10-18 06:36:52 |
|
|
121
121
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-09-14 06:27:13 |
|
|
122
122
|
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-09-23 06:36:42 |
|
|
123
123
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-09-19 06:43:11 |
|
|
147
147
|
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2022-09-19 06:43:24 |
|
|
148
148
|
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-09-23 06:43:17 |
|
|
149
|
-
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-10-
|
|
149
|
+
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-10-18 06:44:04 |
|
|
150
150
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2022-07-27 21:10:02 |
|
|
151
151
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-04-04 07:04:04 |
|
|
152
152
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
161
161
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-10-13 06:43:00 |
|
|
162
162
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-08-16 06:39:20 |
|
|
163
|
-
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-10-
|
|
163
|
+
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-10-18 06:47:25 |
|
|
164
164
|
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2022-04-04 07:07:55 |
|
|
165
165
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-07-18 06:15:58 |
|
|
166
166
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2022-07-07 06:15:25 |
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-10-17 06:45:52 |
|
|
186
186
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-10-10 06:42:56 |
|
|
187
187
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-09-28 06:54:52 |
|
|
188
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-10-
|
|
188
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-10-18 06:53:22 |
|
|
189
189
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
|
|
190
190
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
191
191
|
| tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2022-04-04 07:16:52 |
|
|
@@ -195,11 +195,11 @@
|
|
|
195
195
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-09-20 06:53:40 |
|
|
196
196
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-09-30 07:00:21 |
|
|
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-10-
|
|
198
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-10-18 06:55:58 |
|
|
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-08-31 06:55:53 |
|
|
202
|
-
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-10-
|
|
202
|
+
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-10-18 06:57:39 |
|
|
203
203
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-10-17 06:50:00 |
|
|
204
204
|
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-10-12 07:03:55 |
|
|
205
205
|
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-10-11 07:02:55 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.462"
|
|
@@ -22,12 +22,14 @@ import {
|
|
|
22
22
|
CaptchaOperDataInterceptUnit,
|
|
23
23
|
CaptchaOperDataTryTimesDistributeUnit,
|
|
24
24
|
DescribeCaptchaMiniOperDataResponse,
|
|
25
|
+
GetTotalTicketStatisticsRequest,
|
|
25
26
|
DescribeCaptchaMiniDataSumResponse,
|
|
26
27
|
UpdateCaptchaAppIdInfoRequest,
|
|
27
28
|
OutputManageMarketingRiskValue,
|
|
28
29
|
CaptchaOperDataRes,
|
|
29
30
|
TicketInterceptUnit,
|
|
30
31
|
DescribeCaptchaUserAllAppIdRequest,
|
|
32
|
+
GetTotalTicketStatisticsResponse,
|
|
31
33
|
DescribeCaptchaMiniDataResponse,
|
|
32
34
|
UpdateCaptchaAppIdInfoResponse,
|
|
33
35
|
DescribeCaptchaMiniRiskResultRequest,
|
|
@@ -167,6 +169,16 @@ export class Client extends AbstractClient {
|
|
|
167
169
|
return this.request("UpdateCaptchaAppIdInfo", req, cb)
|
|
168
170
|
}
|
|
169
171
|
|
|
172
|
+
/**
|
|
173
|
+
* 查询所有验证的统计数据,包括:总票据校验量、总票据校验通过量、总票据校验拦截量。
|
|
174
|
+
*/
|
|
175
|
+
async GetTotalTicketStatistics(
|
|
176
|
+
req?: GetTotalTicketStatisticsRequest,
|
|
177
|
+
cb?: (error: string, rep: GetTotalTicketStatisticsResponse) => void
|
|
178
|
+
): Promise<GetTotalTicketStatisticsResponse> {
|
|
179
|
+
return this.request("GetTotalTicketStatistics", req, cb)
|
|
180
|
+
}
|
|
181
|
+
|
|
170
182
|
/**
|
|
171
183
|
* 安全验证码获取用户注册所有APPId和应用名称
|
|
172
184
|
*/
|
|
@@ -109,6 +109,11 @@ export interface DescribeCaptchaMiniOperDataResponse {
|
|
|
109
109
|
RequestId?: string
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
/**
|
|
113
|
+
* GetTotalTicketStatistics请求参数结构体
|
|
114
|
+
*/
|
|
115
|
+
export type GetTotalTicketStatisticsRequest = null
|
|
116
|
+
|
|
112
117
|
/**
|
|
113
118
|
* DescribeCaptchaMiniDataSum返回参数结构体
|
|
114
119
|
*/
|
|
@@ -364,6 +369,16 @@ export interface TicketInterceptUnit {
|
|
|
364
369
|
*/
|
|
365
370
|
export type DescribeCaptchaUserAllAppIdRequest = null
|
|
366
371
|
|
|
372
|
+
/**
|
|
373
|
+
* GetTotalTicketStatistics返回参数结构体
|
|
374
|
+
*/
|
|
375
|
+
export interface GetTotalTicketStatisticsResponse {
|
|
376
|
+
/**
|
|
377
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
378
|
+
*/
|
|
379
|
+
RequestId?: string
|
|
380
|
+
}
|
|
381
|
+
|
|
367
382
|
/**
|
|
368
383
|
* DescribeCaptchaMiniData返回参数结构体
|
|
369
384
|
*/
|
|
@@ -120,6 +120,12 @@ ye1y7d :事件7天存储年套餐。
|
|
|
120
120
|
ye1y30d :事件30天存储年套餐。
|
|
121
121
|
yc1w7d : 全时7天存储周套餐。
|
|
122
122
|
ye1w7d : 事件7天存储周套餐。
|
|
123
|
+
lye1m3d:低功耗事件3天月套餐。
|
|
124
|
+
lye1m7d:低功耗事件7天月套餐。
|
|
125
|
+
lye1m30d:低功耗事件30天月套餐。
|
|
126
|
+
lye1y3d:低功耗事件3天年套餐。
|
|
127
|
+
lye1y7d:低功耗事件7天年套餐。
|
|
128
|
+
lye1y30d:低功耗事件30天年套餐。
|
|
123
129
|
*/
|
|
124
130
|
PackageId: string
|
|
125
131
|
|
|
@@ -19,20 +19,22 @@ import { AbstractClient } from "../../../common/abstract_client"
|
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
21
|
CreateRoomRequest,
|
|
22
|
-
|
|
22
|
+
RegisterUserResponse,
|
|
23
|
+
DeleteRoomRequest,
|
|
23
24
|
CreateSupervisorRequest,
|
|
24
25
|
DescribeRoomResponse,
|
|
25
26
|
RegisterUserRequest,
|
|
26
27
|
LoginOriginIdRequest,
|
|
27
28
|
DescribeUserRequest,
|
|
28
|
-
|
|
29
|
+
DeleteRoomResponse,
|
|
29
30
|
CreateDocumentResponse,
|
|
30
31
|
LoginUserRequest,
|
|
31
32
|
CreateSupervisorResponse,
|
|
33
|
+
SetAppCustomContentResponse,
|
|
32
34
|
CreateDocumentRequest,
|
|
33
35
|
CreateRoomResponse,
|
|
34
36
|
DescribeUserResponse,
|
|
35
|
-
|
|
37
|
+
SetAppCustomContentRequest,
|
|
36
38
|
DescribeRoomRequest,
|
|
37
39
|
LoginOriginIdResponse,
|
|
38
40
|
LoginUserResponse,
|
|
@@ -58,6 +60,16 @@ export class Client extends AbstractClient {
|
|
|
58
60
|
return this.request("CreateDocument", req, cb)
|
|
59
61
|
}
|
|
60
62
|
|
|
63
|
+
/**
|
|
64
|
+
* 设置应用的自定义内容,包括应用图标,自定义的代码等。如果已存在,则为更新。更新js、css内容后,要生效也需要调用该接口
|
|
65
|
+
*/
|
|
66
|
+
async SetAppCustomContent(
|
|
67
|
+
req: SetAppCustomContentRequest,
|
|
68
|
+
cb?: (error: string, rep: SetAppCustomContentResponse) => void
|
|
69
|
+
): Promise<SetAppCustomContentResponse> {
|
|
70
|
+
return this.request("SetAppCustomContent", req, cb)
|
|
71
|
+
}
|
|
72
|
+
|
|
61
73
|
/**
|
|
62
74
|
* 获取用户信息
|
|
63
75
|
*/
|
|
@@ -79,13 +91,13 @@ export class Client extends AbstractClient {
|
|
|
79
91
|
}
|
|
80
92
|
|
|
81
93
|
/**
|
|
82
|
-
*
|
|
94
|
+
* 删除房间
|
|
83
95
|
*/
|
|
84
|
-
async
|
|
85
|
-
req:
|
|
86
|
-
cb?: (error: string, rep:
|
|
87
|
-
): Promise<
|
|
88
|
-
return this.request("
|
|
96
|
+
async DeleteRoom(
|
|
97
|
+
req: DeleteRoomRequest,
|
|
98
|
+
cb?: (error: string, rep: DeleteRoomResponse) => void
|
|
99
|
+
): Promise<DeleteRoomResponse> {
|
|
100
|
+
return this.request("DeleteRoom", req, cb)
|
|
89
101
|
}
|
|
90
102
|
|
|
91
103
|
/**
|
|
@@ -109,13 +121,13 @@ export class Client extends AbstractClient {
|
|
|
109
121
|
}
|
|
110
122
|
|
|
111
123
|
/**
|
|
112
|
-
*
|
|
124
|
+
* 注册用户
|
|
113
125
|
*/
|
|
114
|
-
async
|
|
115
|
-
req:
|
|
116
|
-
cb?: (error: string, rep:
|
|
117
|
-
): Promise<
|
|
118
|
-
return this.request("
|
|
126
|
+
async RegisterUser(
|
|
127
|
+
req: RegisterUserRequest,
|
|
128
|
+
cb?: (error: string, rep: RegisterUserResponse) => void
|
|
129
|
+
): Promise<RegisterUserResponse> {
|
|
130
|
+
return this.request("RegisterUser", req, cb)
|
|
119
131
|
}
|
|
120
132
|
|
|
121
133
|
/**
|
|
@@ -98,18 +98,33 @@ coteaching 双师
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* RegisterUser返回参数结构体
|
|
102
102
|
*/
|
|
103
|
-
export interface
|
|
103
|
+
export interface RegisterUserResponse {
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 用户Id。
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
UserId: string
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
110
|
+
* 登录/注册成功后返回登录态token。有效期7天。
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
Token: string
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
116
|
+
*/
|
|
117
|
+
RequestId?: string
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* DeleteRoom请求参数结构体
|
|
122
|
+
*/
|
|
123
|
+
export interface DeleteRoomRequest {
|
|
124
|
+
/**
|
|
125
|
+
* 房间ID。
|
|
126
|
+
*/
|
|
127
|
+
RoomId: number
|
|
113
128
|
}
|
|
114
129
|
|
|
115
130
|
/**
|
|
@@ -251,19 +266,9 @@ export interface DescribeUserRequest {
|
|
|
251
266
|
}
|
|
252
267
|
|
|
253
268
|
/**
|
|
254
|
-
*
|
|
269
|
+
* DeleteRoom返回参数结构体
|
|
255
270
|
*/
|
|
256
|
-
export interface
|
|
257
|
-
/**
|
|
258
|
-
* 用户Id。
|
|
259
|
-
*/
|
|
260
|
-
UserId: string
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* 登录/注册成功后返回登录态token。有效期7天。
|
|
264
|
-
*/
|
|
265
|
-
Token: string
|
|
266
|
-
|
|
271
|
+
export interface DeleteRoomResponse {
|
|
267
272
|
/**
|
|
268
273
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
269
274
|
*/
|
|
@@ -305,6 +310,16 @@ export interface CreateSupervisorResponse {
|
|
|
305
310
|
RequestId?: string
|
|
306
311
|
}
|
|
307
312
|
|
|
313
|
+
/**
|
|
314
|
+
* SetAppCustomContent返回参数结构体
|
|
315
|
+
*/
|
|
316
|
+
export interface SetAppCustomContentResponse {
|
|
317
|
+
/**
|
|
318
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
319
|
+
*/
|
|
320
|
+
RequestId?: string
|
|
321
|
+
}
|
|
322
|
+
|
|
308
323
|
/**
|
|
309
324
|
* CreateDocument请求参数结构体
|
|
310
325
|
*/
|
|
@@ -402,13 +417,18 @@ export interface DescribeUserResponse {
|
|
|
402
417
|
}
|
|
403
418
|
|
|
404
419
|
/**
|
|
405
|
-
* SetAppCustomContent
|
|
420
|
+
* SetAppCustomContent请求参数结构体
|
|
406
421
|
*/
|
|
407
|
-
export interface
|
|
422
|
+
export interface SetAppCustomContentRequest {
|
|
408
423
|
/**
|
|
409
|
-
*
|
|
424
|
+
* 自定义内容。
|
|
410
425
|
*/
|
|
411
|
-
|
|
426
|
+
CustomContent: Array<AppCustomContent>
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* 应用ID。
|
|
430
|
+
*/
|
|
431
|
+
SdkAppId: number
|
|
412
432
|
}
|
|
413
433
|
|
|
414
434
|
/**
|
|
@@ -831,12 +831,12 @@ export interface DeleteParamTemplateResponse {
|
|
|
831
831
|
*/
|
|
832
832
|
export interface DescribeInstancesResponse {
|
|
833
833
|
/**
|
|
834
|
-
*
|
|
834
|
+
* 实例总数量。
|
|
835
835
|
*/
|
|
836
836
|
TotalCount: number
|
|
837
837
|
|
|
838
838
|
/**
|
|
839
|
-
*
|
|
839
|
+
* 实例详细信息列表。
|
|
840
840
|
*/
|
|
841
841
|
InstanceSet: Array<InstanceSet>
|
|
842
842
|
|
|
@@ -3578,134 +3578,139 @@ export interface Groups {
|
|
|
3578
3578
|
*/
|
|
3579
3579
|
export interface DescribeInstancesRequest {
|
|
3580
3580
|
/**
|
|
3581
|
-
*
|
|
3581
|
+
* 实例数量,参数默认值20,最大值为1000。
|
|
3582
3582
|
*/
|
|
3583
3583
|
Limit?: number
|
|
3584
3584
|
|
|
3585
3585
|
/**
|
|
3586
|
-
* 偏移量,取Limit
|
|
3586
|
+
* 偏移量,取Limit整数倍。
|
|
3587
3587
|
*/
|
|
3588
3588
|
Offset?: number
|
|
3589
3589
|
|
|
3590
3590
|
/**
|
|
3591
|
-
* 实例
|
|
3591
|
+
* 实例 ID,如:crs-6ubhgouj。
|
|
3592
3592
|
*/
|
|
3593
3593
|
InstanceId?: string
|
|
3594
3594
|
|
|
3595
3595
|
/**
|
|
3596
|
-
*
|
|
3596
|
+
* 实例排序依据,枚举值如下所示:<ul><li>projectId:项目ID。</li><li>createtime:实例创建时间。</li><li>instancename:实例名称。</li><li>type:实例类型。</li><li>curDeadline:实例到期时间。</li></ul>
|
|
3597
3597
|
*/
|
|
3598
3598
|
OrderBy?: string
|
|
3599
3599
|
|
|
3600
3600
|
/**
|
|
3601
|
-
* 1
|
|
3601
|
+
* 实例排序方式,默认为倒序排序。<ul><li>1:倒序。</li><li>0:顺序。</li></ul>
|
|
3602
3602
|
*/
|
|
3603
3603
|
OrderType?: number
|
|
3604
3604
|
|
|
3605
3605
|
/**
|
|
3606
|
-
* 私有网络ID
|
|
3606
|
+
* 私有网络 ID 数组。如果不配置该参数或设置数组为空则默认选择基础网络。例如47525。该参数暂时保留,可忽略。请根据 UniqVpcIds 参数格式设置私有网络ID数组。
|
|
3607
3607
|
*/
|
|
3608
3608
|
VpcIds?: Array<string>
|
|
3609
3609
|
|
|
3610
3610
|
/**
|
|
3611
|
-
*
|
|
3611
|
+
* 私有网络所属子网 ID 数组,例如:56854。该参数暂时保留,可忽略。请根据 UniqSubnetIds 参数格式设置私有网络子网 ID 数组。
|
|
3612
3612
|
*/
|
|
3613
3613
|
SubnetIds?: Array<string>
|
|
3614
3614
|
|
|
3615
3615
|
/**
|
|
3616
|
-
*
|
|
3616
|
+
* 设置模糊查询关键字,支持根据实例名称或实例ID模糊查询实例。
|
|
3617
3617
|
*/
|
|
3618
|
-
|
|
3618
|
+
SearchKey?: string
|
|
3619
3619
|
|
|
3620
3620
|
/**
|
|
3621
|
-
*
|
|
3621
|
+
* 项目 ID 组成的数组。
|
|
3622
3622
|
*/
|
|
3623
|
-
|
|
3623
|
+
ProjectIds?: Array<number>
|
|
3624
3624
|
|
|
3625
3625
|
/**
|
|
3626
|
-
*
|
|
3626
|
+
* 实例名称。
|
|
3627
3627
|
*/
|
|
3628
3628
|
InstanceName?: string
|
|
3629
3629
|
|
|
3630
3630
|
/**
|
|
3631
|
-
* 私有网络ID
|
|
3631
|
+
* 私有网络 ID 数组。如果不配置该参数或者设置数组为空则默认选择基础网络,如:vpc-sad23jfdfk。
|
|
3632
3632
|
*/
|
|
3633
3633
|
UniqVpcIds?: Array<string>
|
|
3634
3634
|
|
|
3635
3635
|
/**
|
|
3636
|
-
*
|
|
3636
|
+
* 私有网络所属子网 ID 数组,如:subnet-fdj24n34j2。
|
|
3637
3637
|
*/
|
|
3638
3638
|
UniqSubnetIds?: Array<string>
|
|
3639
3639
|
|
|
3640
3640
|
/**
|
|
3641
|
-
* 地域ID
|
|
3641
|
+
* 地域 ID 数组,该参数已经弃用,可通过公共参数Region查询对应地域。
|
|
3642
3642
|
*/
|
|
3643
3643
|
RegionIds?: Array<number>
|
|
3644
3644
|
|
|
3645
3645
|
/**
|
|
3646
|
-
*
|
|
3646
|
+
* 实例状态。<ul><li>0:待初始化。</li><li>1:流程中。</li><li>2:运行中。</li><li>-2:已隔离。</li><li>-3:待删除。</li></ul>
|
|
3647
3647
|
*/
|
|
3648
3648
|
Status?: Array<number>
|
|
3649
3649
|
|
|
3650
3650
|
/**
|
|
3651
|
-
*
|
|
3651
|
+
* 实例架构版本。<ul><li>1:单机版。</li><li>2:主从版。</li><li>3:集群版。</li></ul>
|
|
3652
3652
|
*/
|
|
3653
3653
|
TypeVersion?: number
|
|
3654
3654
|
|
|
3655
3655
|
/**
|
|
3656
|
-
*
|
|
3656
|
+
* 存储引擎信息。可设置为Redis-2.8、Redis-4.0、Redis-5.0、Redis-6.0 或者 CKV。
|
|
3657
3657
|
*/
|
|
3658
3658
|
EngineName?: string
|
|
3659
3659
|
|
|
3660
3660
|
/**
|
|
3661
|
-
*
|
|
3661
|
+
* 续费模式。<ul><li>0:默认状态(手动续费)。</li><li>1:自动续费。</li><li>2:明确不自动续费。</ul>
|
|
3662
3662
|
*/
|
|
3663
3663
|
AutoRenew?: Array<number>
|
|
3664
3664
|
|
|
3665
3665
|
/**
|
|
3666
|
-
*
|
|
3666
|
+
* 计费模式。<ul><li>postpaid:按量计费。</li><li>prepaid:包年包月。</li></ul>
|
|
3667
3667
|
*/
|
|
3668
3668
|
BillingMode?: string
|
|
3669
3669
|
|
|
3670
3670
|
/**
|
|
3671
|
-
*
|
|
3671
|
+
* 实例类型。<ul><li>1:Redis 老集群版。</li><li>2:Redis 2.8 主从版。</li><li>3:CKV 主从版。</li><li>4:CKV 集群版。</li><li>5:Redis 2.8 单机版。</li><li>6:Redis 4.0主从版。</li><li>7:Redis 4.0 集群版。</li><li>8:Redis 5.0 主从版。</li><li>9:Redis 5.0 集群版。</li></ul>
|
|
3672
3672
|
*/
|
|
3673
3673
|
Type?: number
|
|
3674
3674
|
|
|
3675
3675
|
/**
|
|
3676
|
-
*
|
|
3676
|
+
* 设置搜索关键字数组,可根据实例ID、实例名称、完整IP地址查询实例。
|
|
3677
3677
|
*/
|
|
3678
3678
|
SearchKeys?: Array<string>
|
|
3679
3679
|
|
|
3680
3680
|
/**
|
|
3681
|
-
*
|
|
3681
|
+
* 内部参数,用户可忽略。
|
|
3682
3682
|
*/
|
|
3683
3683
|
TypeList?: Array<number>
|
|
3684
3684
|
|
|
3685
3685
|
/**
|
|
3686
|
-
*
|
|
3686
|
+
* 内部参数,用户可忽略。
|
|
3687
3687
|
*/
|
|
3688
3688
|
MonitorVersion?: string
|
|
3689
3689
|
|
|
3690
3690
|
/**
|
|
3691
|
-
* 根据标签的Key和Value
|
|
3691
|
+
* 根据标签的 Key 和 Value 筛选资源。该参数不配置或者数组设置为空值,则不根据标签进行过滤。
|
|
3692
3692
|
*/
|
|
3693
3693
|
InstanceTags?: Array<InstanceTagInfo>
|
|
3694
3694
|
|
|
3695
3695
|
/**
|
|
3696
|
-
* 根据标签的Key
|
|
3696
|
+
* 根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。
|
|
3697
3697
|
*/
|
|
3698
3698
|
TagKeys?: Array<string>
|
|
3699
3699
|
|
|
3700
3700
|
/**
|
|
3701
|
-
*
|
|
3701
|
+
* 实例的产品版本。如果该参数不配置或者数组设置为空值,则默认不依据此参数过滤实例。<ul><li>local:本地盘版。</li><li>cloud:云盘版。</li><li>cdc:独享集群版。</li></ul>
|
|
3702
3702
|
*/
|
|
3703
3703
|
ProductVersions?: Array<string>
|
|
3704
3704
|
|
|
3705
3705
|
/**
|
|
3706
|
-
* 批量查询指定的实例
|
|
3706
|
+
* 批量查询指定的实例 ID,返回结果已 Limit 限制为主。
|
|
3707
3707
|
*/
|
|
3708
3708
|
InstanceIds?: Array<string>
|
|
3709
|
+
|
|
3710
|
+
/**
|
|
3711
|
+
* 可用区模式。<ul><li>singleaz:单可用区。</li><li>multiaz:多可用区。</li></ul>
|
|
3712
|
+
*/
|
|
3713
|
+
AzMode?: string
|
|
3709
3714
|
}
|
|
3710
3715
|
|
|
3711
3716
|
/**
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
CommitCertificateInformationRequest,
|
|
29
29
|
DownloadCertificateResponse,
|
|
30
30
|
ReplaceCertificateResponse,
|
|
31
|
+
PackageInfo,
|
|
31
32
|
SubmitAuditManagerResponse,
|
|
32
33
|
DownloadCertificateRequest,
|
|
33
34
|
CancelCertificateOrderRequest,
|
|
@@ -40,6 +41,7 @@ import {
|
|
|
40
41
|
DescribeCertificateResponse,
|
|
41
42
|
HostCertificateResponse,
|
|
42
43
|
UploadConfirmLetterRequest,
|
|
44
|
+
PackageTransferOutInfo,
|
|
43
45
|
OperationLog,
|
|
44
46
|
VerifyManagerResponse,
|
|
45
47
|
DescribeCertificateDetailRequest,
|
|
@@ -74,14 +76,16 @@ import {
|
|
|
74
76
|
UploadConfirmLetterResponse,
|
|
75
77
|
DeleteManagerResponse,
|
|
76
78
|
VerifyManagerRequest,
|
|
77
|
-
RevokeDomainValidateAuths,
|
|
78
79
|
UploadCertificateResponse,
|
|
80
|
+
RevokeDomainValidateAuths,
|
|
81
|
+
DescribePackagesRequest,
|
|
79
82
|
CheckCertificateChainRequest,
|
|
80
83
|
ModifyCertificateAliasResponse,
|
|
81
84
|
DescribeManagerDetailResponse,
|
|
82
85
|
ManagerStatusInfo,
|
|
83
86
|
SubmitCertificateInformationRequest,
|
|
84
87
|
DescribeCertificatesRequest,
|
|
88
|
+
DescribePackagesResponse,
|
|
85
89
|
DescribeManagersRequest,
|
|
86
90
|
CompleteCertificateResponse,
|
|
87
91
|
SubmitCertificateInformationResponse,
|
|
@@ -108,6 +112,16 @@ export class Client extends AbstractClient {
|
|
|
108
112
|
return this.request("DescribeCertificates", req, cb)
|
|
109
113
|
}
|
|
110
114
|
|
|
115
|
+
/**
|
|
116
|
+
* 获得权益包列表
|
|
117
|
+
*/
|
|
118
|
+
async DescribePackages(
|
|
119
|
+
req: DescribePackagesRequest,
|
|
120
|
+
cb?: (error: string, rep: DescribePackagesResponse) => void
|
|
121
|
+
): Promise<DescribePackagesResponse> {
|
|
122
|
+
return this.request("DescribePackages", req, cb)
|
|
123
|
+
}
|
|
124
|
+
|
|
111
125
|
/**
|
|
112
126
|
* 本接口(UploadRevokeLetter)用于上传证书吊销确认函。
|
|
113
127
|
*/
|