tencentcloud-sdk-nodejs-ssl 4.0.343 → 4.0.344
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 +304 -0
- package/SERVICE_CHANGELOG.md +493 -25
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/services/ssl/v20191205/ssl_client.ts +15 -2
- package/src/services/ssl/v20191205/ssl_models.ts +89 -31
- 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 +77 -27
package/products.md
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-05-17 06:05:22 |
|
|
39
39
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-05-19 06:08:10 |
|
|
40
40
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-05-16 17:18:07 |
|
|
41
|
-
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-05-
|
|
41
|
+
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-05-20 06:02:50 |
|
|
42
42
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
|
|
43
43
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-04-04 06:17:11 |
|
|
44
44
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-04-04 06:17:16 |
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-04-22 06:07:06 |
|
|
56
56
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
|
|
57
57
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
58
|
-
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-05-
|
|
58
|
+
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-05-20 06:04:11 |
|
|
59
59
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
60
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-05-
|
|
61
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-05-
|
|
60
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-05-20 06:04:47 |
|
|
61
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-05-20 06:05:01 |
|
|
62
62
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
63
63
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-05-09 06:06:32 |
|
|
64
64
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-04-04 06:33:41 |
|
|
65
65
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-04-25 06:05:43 |
|
|
66
66
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-04-13 06:36:47 |
|
|
67
67
|
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-04-26 06:09:14 |
|
|
68
|
-
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-05-
|
|
68
|
+
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-05-20 06:10:49 |
|
|
69
69
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-05-19 06:11:31 |
|
|
70
70
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-04-21 06:11:32 |
|
|
71
71
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-04-04 06:39:12 |
|
|
76
76
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
|
|
77
77
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
|
|
78
|
-
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-
|
|
78
|
+
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-05-20 06:11:20 |
|
|
79
79
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
80
80
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-04-04 06:42:05 |
|
|
81
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-05-
|
|
81
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-05-20 06:11:47 |
|
|
82
82
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-05-19 06:12:26 |
|
|
83
83
|
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-05-16 06:09:12 |
|
|
84
84
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-05-06 06:10:19 |
|
|
@@ -101,15 +101,15 @@
|
|
|
101
101
|
| iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 |
|
|
102
102
|
| ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2022-04-04 06:48:07 |
|
|
103
103
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2022-04-04 06:48:08 |
|
|
104
|
-
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-05-
|
|
104
|
+
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-05-20 06:13:13 |
|
|
105
105
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-05-16 06:10:42 |
|
|
106
106
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
|
|
107
107
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-04-04 06:49:51 |
|
|
108
108
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-04-04 06:51:27 |
|
|
109
109
|
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-04-24 15:20:20 |
|
|
110
110
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-04-04 06:53:19 |
|
|
111
|
-
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-05-
|
|
112
|
-
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-
|
|
111
|
+
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-05-20 06:14:11 |
|
|
112
|
+
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-05-20 06:14:21 |
|
|
113
113
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
114
114
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
115
115
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-04-13 06:56:52 |
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2022-04-14 06:16:29 |
|
|
146
146
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2022-04-04 07:05:55 |
|
|
147
147
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
148
|
-
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-05-
|
|
148
|
+
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-05-20 06:16:38 |
|
|
149
149
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-04-22 06:14:46 |
|
|
150
|
-
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-
|
|
150
|
+
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-05-20 06:17:18 |
|
|
151
151
|
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2022-04-04 07:07:55 |
|
|
152
152
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-04-04 07:08:00 |
|
|
153
153
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2022-05-18 06:16:35 |
|
|
@@ -179,13 +179,13 @@
|
|
|
179
179
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-05-13 06:18:48 |
|
|
180
180
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-04-04 07:17:26 |
|
|
181
181
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
|
|
182
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-05-
|
|
182
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-05-20 06:19:18 |
|
|
183
183
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
184
184
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
|
|
185
185
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
|
|
186
186
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-05-18 06:19:08 |
|
|
187
187
|
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-04-22 06:17:09 |
|
|
188
|
-
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-05-
|
|
188
|
+
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-05-20 06:20:03 |
|
|
189
189
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
|
|
190
190
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-04-04 07:22:42 |
|
|
191
191
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
@@ -20,8 +20,10 @@ import {
|
|
|
20
20
|
ApplyCertificateResponse,
|
|
21
21
|
ManagerInfo,
|
|
22
22
|
CompleteCertificateRequest,
|
|
23
|
+
UploadCertificateRequest,
|
|
23
24
|
DeleteCertificateRequest,
|
|
24
25
|
DescribeCertificateOperateLogsResponse,
|
|
26
|
+
ModifyCertificateAliasRequest,
|
|
25
27
|
CommitCertificateInformationRequest,
|
|
26
28
|
DownloadCertificateResponse,
|
|
27
29
|
ReplaceCertificateResponse,
|
|
@@ -34,7 +36,7 @@ import {
|
|
|
34
36
|
CompanyInfo,
|
|
35
37
|
DescribeManagersResponse,
|
|
36
38
|
DescribeCertificateResponse,
|
|
37
|
-
|
|
39
|
+
HostCertificateResponse,
|
|
38
40
|
UploadConfirmLetterRequest,
|
|
39
41
|
OperationLog,
|
|
40
42
|
VerifyManagerResponse,
|
|
@@ -54,8 +56,9 @@ import {
|
|
|
54
56
|
DescribeCertificateDetailResponse,
|
|
55
57
|
CheckCertificateChainResponse,
|
|
56
58
|
ModifyCertificateProjectRequest,
|
|
59
|
+
CertHostingInfo,
|
|
57
60
|
DvAuths,
|
|
58
|
-
|
|
61
|
+
HostCertificateRequest,
|
|
59
62
|
DescribeCertificateRequest,
|
|
60
63
|
DescribeManagerDetailRequest,
|
|
61
64
|
DvAuthDetail,
|
|
@@ -253,6 +256,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
253
256
|
return this.request("DescribeManagerDetail", req, cb)
|
|
254
257
|
}
|
|
255
258
|
|
|
259
|
+
/**
|
|
260
|
+
* 云资源托管
|
|
261
|
+
*/
|
|
262
|
+
async HostCertificate(
|
|
263
|
+
req: HostCertificateRequest,
|
|
264
|
+
cb?: (error: string, rep: HostCertificateResponse) => void
|
|
265
|
+
): Promise<HostCertificateResponse> {
|
|
266
|
+
return this.request("HostCertificate", req, cb)
|
|
267
|
+
}
|
|
268
|
+
|
|
256
269
|
/**
|
|
257
270
|
* 批量修改证书所属项目。
|
|
258
271
|
*/
|
|
@@ -125,6 +125,41 @@ export interface CompleteCertificateRequest {
|
|
|
125
125
|
CertificateId: string
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
/**
|
|
129
|
+
* UploadCertificate请求参数结构体
|
|
130
|
+
*/
|
|
131
|
+
export interface UploadCertificateRequest {
|
|
132
|
+
/**
|
|
133
|
+
* 证书内容。
|
|
134
|
+
*/
|
|
135
|
+
CertificatePublicKey: string
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* 私钥内容,证书类型为 SVR 时必填,为 CA 时可不填。
|
|
139
|
+
*/
|
|
140
|
+
CertificatePrivateKey?: string
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* 证书类型,默认 SVR。CA = 客户端证书,SVR = 服务器证书。
|
|
144
|
+
*/
|
|
145
|
+
CertificateType?: string
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* 备注名称。
|
|
149
|
+
*/
|
|
150
|
+
Alias?: string
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* 项目 ID。
|
|
154
|
+
*/
|
|
155
|
+
ProjectId?: number
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* 证书用途/证书来源。“CLB,CDN,WAF,LIVE,DDOS”
|
|
159
|
+
*/
|
|
160
|
+
CertificateUse?: string
|
|
161
|
+
}
|
|
162
|
+
|
|
128
163
|
/**
|
|
129
164
|
* DeleteCertificate请求参数结构体
|
|
130
165
|
*/
|
|
@@ -161,6 +196,21 @@ export interface DescribeCertificateOperateLogsResponse {
|
|
|
161
196
|
RequestId?: string
|
|
162
197
|
}
|
|
163
198
|
|
|
199
|
+
/**
|
|
200
|
+
* ModifyCertificateAlias请求参数结构体
|
|
201
|
+
*/
|
|
202
|
+
export interface ModifyCertificateAliasRequest {
|
|
203
|
+
/**
|
|
204
|
+
* 证书 ID。
|
|
205
|
+
*/
|
|
206
|
+
CertificateId: string
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* 备注名称。
|
|
210
|
+
*/
|
|
211
|
+
Alias?: string
|
|
212
|
+
}
|
|
213
|
+
|
|
164
214
|
/**
|
|
165
215
|
* CommitCertificateInformation请求参数结构体
|
|
166
216
|
*/
|
|
@@ -748,38 +798,18 @@ export interface DescribeCertificateResponse {
|
|
|
748
798
|
}
|
|
749
799
|
|
|
750
800
|
/**
|
|
751
|
-
*
|
|
801
|
+
* HostCertificate返回参数结构体
|
|
752
802
|
*/
|
|
753
|
-
export interface
|
|
754
|
-
/**
|
|
755
|
-
* 证书内容。
|
|
756
|
-
*/
|
|
757
|
-
CertificatePublicKey: string
|
|
758
|
-
|
|
759
|
-
/**
|
|
760
|
-
* 私钥内容,证书类型为 SVR 时必填,为 CA 时可不填。
|
|
761
|
-
*/
|
|
762
|
-
CertificatePrivateKey?: string
|
|
763
|
-
|
|
803
|
+
export interface HostCertificateResponse {
|
|
764
804
|
/**
|
|
765
|
-
*
|
|
805
|
+
* 云资源配置详情
|
|
766
806
|
*/
|
|
767
|
-
|
|
807
|
+
CertHostingInfo: CertHostingInfo
|
|
768
808
|
|
|
769
809
|
/**
|
|
770
|
-
*
|
|
771
|
-
*/
|
|
772
|
-
Alias?: string
|
|
773
|
-
|
|
774
|
-
/**
|
|
775
|
-
* 项目 ID。
|
|
776
|
-
*/
|
|
777
|
-
ProjectId?: number
|
|
778
|
-
|
|
779
|
-
/**
|
|
780
|
-
* 证书用途/证书来源。“CLB,CDN,WAF,LIVE,DDOS”
|
|
810
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
781
811
|
*/
|
|
782
|
-
|
|
812
|
+
RequestId?: string
|
|
783
813
|
}
|
|
784
814
|
|
|
785
815
|
/**
|
|
@@ -1353,6 +1383,34 @@ export interface ModifyCertificateProjectRequest {
|
|
|
1353
1383
|
ProjectId: number
|
|
1354
1384
|
}
|
|
1355
1385
|
|
|
1386
|
+
/**
|
|
1387
|
+
* 云资源配置详情
|
|
1388
|
+
*/
|
|
1389
|
+
export interface CertHostingInfo {
|
|
1390
|
+
/**
|
|
1391
|
+
* 证书ID
|
|
1392
|
+
*/
|
|
1393
|
+
CertId: string
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* 已替换的新证书ID
|
|
1397
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1398
|
+
*/
|
|
1399
|
+
RenewCertId: string
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* 云资源托管 ,CDN或CLB:部分开启,CDN,CLB:已开启,null:未开启托管
|
|
1403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1404
|
+
*/
|
|
1405
|
+
ResourceType: string
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* 创建时间
|
|
1409
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1410
|
+
*/
|
|
1411
|
+
CreateTime: string
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1356
1414
|
/**
|
|
1357
1415
|
* 返回参数键为 DvAuths 的内容。
|
|
1358
1416
|
*/
|
|
@@ -1395,18 +1453,18 @@ export interface DvAuths {
|
|
|
1395
1453
|
}
|
|
1396
1454
|
|
|
1397
1455
|
/**
|
|
1398
|
-
*
|
|
1456
|
+
* HostCertificate请求参数结构体
|
|
1399
1457
|
*/
|
|
1400
|
-
export interface
|
|
1458
|
+
export interface HostCertificateRequest {
|
|
1401
1459
|
/**
|
|
1402
|
-
* 证书
|
|
1460
|
+
* 证书ID
|
|
1403
1461
|
*/
|
|
1404
1462
|
CertificateId: string
|
|
1405
1463
|
|
|
1406
1464
|
/**
|
|
1407
|
-
*
|
|
1465
|
+
* 资源类型:目前仅限于CLB,CDN
|
|
1408
1466
|
*/
|
|
1409
|
-
|
|
1467
|
+
ResourceType?: Array<string>
|
|
1410
1468
|
}
|
|
1411
1469
|
|
|
1412
1470
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { ApplyCertificateResponse, CompleteCertificateRequest, DeleteCertificateRequest, DescribeCertificateOperateLogsResponse, CommitCertificateInformationRequest, DownloadCertificateResponse, ReplaceCertificateResponse, SubmitAuditManagerResponse, DownloadCertificateRequest, CancelCertificateOrderRequest, ModifyCertificateProjectResponse, DescribeManagersResponse, DescribeCertificateResponse,
|
|
2
|
+
import { ApplyCertificateResponse, CompleteCertificateRequest, UploadCertificateRequest, DeleteCertificateRequest, DescribeCertificateOperateLogsResponse, ModifyCertificateAliasRequest, CommitCertificateInformationRequest, DownloadCertificateResponse, ReplaceCertificateResponse, SubmitAuditManagerResponse, DownloadCertificateRequest, CancelCertificateOrderRequest, ModifyCertificateProjectResponse, DescribeManagersResponse, DescribeCertificateResponse, HostCertificateResponse, UploadConfirmLetterRequest, VerifyManagerResponse, DescribeCertificateDetailRequest, SubmitAuditManagerRequest, DeleteManagerRequest, ApplyCertificateRequest, ReplaceCertificateRequest, UploadRevokeLetterResponse, DescribeDeployedResourcesRequest, CreateCertificateResponse, UploadRevokeLetterRequest, DeleteCertificateResponse, RevokeCertificateResponse, DescribeCertificateDetailResponse, CheckCertificateChainResponse, ModifyCertificateProjectRequest, HostCertificateRequest, DescribeCertificateRequest, DescribeManagerDetailRequest, DescribeDeployedResourcesResponse, DescribeCertificateOperateLogsRequest, CancelCertificateOrderResponse, CreateCertificateRequest, DescribeCertificatesResponse, CommitCertificateInformationResponse, UploadConfirmLetterResponse, DeleteManagerResponse, VerifyManagerRequest, UploadCertificateResponse, CheckCertificateChainRequest, ModifyCertificateAliasResponse, DescribeManagerDetailResponse, SubmitCertificateInformationRequest, DescribeCertificatesRequest, DescribeManagersRequest, CompleteCertificateResponse, SubmitCertificateInformationResponse, RevokeCertificateRequest } from "./ssl_models";
|
|
3
3
|
/**
|
|
4
4
|
* ssl client
|
|
5
5
|
* @class
|
|
@@ -70,6 +70,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
70
70
|
* 查询管理人详情
|
|
71
71
|
*/
|
|
72
72
|
DescribeManagerDetail(req: DescribeManagerDetailRequest, cb?: (error: string, rep: DescribeManagerDetailResponse) => void): Promise<DescribeManagerDetailResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* 云资源托管
|
|
75
|
+
*/
|
|
76
|
+
HostCertificate(req: HostCertificateRequest, cb?: (error: string, rep: HostCertificateResponse) => void): Promise<HostCertificateResponse>;
|
|
73
77
|
/**
|
|
74
78
|
* 批量修改证书所属项目。
|
|
75
79
|
*/
|
|
@@ -123,6 +123,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
123
123
|
async DescribeManagerDetail(req, cb) {
|
|
124
124
|
return this.request("DescribeManagerDetail", req, cb);
|
|
125
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* 云资源托管
|
|
128
|
+
*/
|
|
129
|
+
async HostCertificate(req, cb) {
|
|
130
|
+
return this.request("HostCertificate", req, cb);
|
|
131
|
+
}
|
|
126
132
|
/**
|
|
127
133
|
* 批量修改证书所属项目。
|
|
128
134
|
*/
|
|
@@ -90,6 +90,35 @@ export interface CompleteCertificateRequest {
|
|
|
90
90
|
*/
|
|
91
91
|
CertificateId: string;
|
|
92
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* UploadCertificate请求参数结构体
|
|
95
|
+
*/
|
|
96
|
+
export interface UploadCertificateRequest {
|
|
97
|
+
/**
|
|
98
|
+
* 证书内容。
|
|
99
|
+
*/
|
|
100
|
+
CertificatePublicKey: string;
|
|
101
|
+
/**
|
|
102
|
+
* 私钥内容,证书类型为 SVR 时必填,为 CA 时可不填。
|
|
103
|
+
*/
|
|
104
|
+
CertificatePrivateKey?: string;
|
|
105
|
+
/**
|
|
106
|
+
* 证书类型,默认 SVR。CA = 客户端证书,SVR = 服务器证书。
|
|
107
|
+
*/
|
|
108
|
+
CertificateType?: string;
|
|
109
|
+
/**
|
|
110
|
+
* 备注名称。
|
|
111
|
+
*/
|
|
112
|
+
Alias?: string;
|
|
113
|
+
/**
|
|
114
|
+
* 项目 ID。
|
|
115
|
+
*/
|
|
116
|
+
ProjectId?: number;
|
|
117
|
+
/**
|
|
118
|
+
* 证书用途/证书来源。“CLB,CDN,WAF,LIVE,DDOS”
|
|
119
|
+
*/
|
|
120
|
+
CertificateUse?: string;
|
|
121
|
+
}
|
|
93
122
|
/**
|
|
94
123
|
* DeleteCertificate请求参数结构体
|
|
95
124
|
*/
|
|
@@ -121,6 +150,19 @@ export interface DescribeCertificateOperateLogsResponse {
|
|
|
121
150
|
*/
|
|
122
151
|
RequestId?: string;
|
|
123
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* ModifyCertificateAlias请求参数结构体
|
|
155
|
+
*/
|
|
156
|
+
export interface ModifyCertificateAliasRequest {
|
|
157
|
+
/**
|
|
158
|
+
* 证书 ID。
|
|
159
|
+
*/
|
|
160
|
+
CertificateId: string;
|
|
161
|
+
/**
|
|
162
|
+
* 备注名称。
|
|
163
|
+
*/
|
|
164
|
+
Alias?: string;
|
|
165
|
+
}
|
|
124
166
|
/**
|
|
125
167
|
* CommitCertificateInformation请求参数结构体
|
|
126
168
|
*/
|
|
@@ -617,33 +659,17 @@ export interface DescribeCertificateResponse {
|
|
|
617
659
|
RequestId?: string;
|
|
618
660
|
}
|
|
619
661
|
/**
|
|
620
|
-
*
|
|
662
|
+
* HostCertificate返回参数结构体
|
|
621
663
|
*/
|
|
622
|
-
export interface
|
|
623
|
-
/**
|
|
624
|
-
* 证书内容。
|
|
625
|
-
*/
|
|
626
|
-
CertificatePublicKey: string;
|
|
627
|
-
/**
|
|
628
|
-
* 私钥内容,证书类型为 SVR 时必填,为 CA 时可不填。
|
|
629
|
-
*/
|
|
630
|
-
CertificatePrivateKey?: string;
|
|
664
|
+
export interface HostCertificateResponse {
|
|
631
665
|
/**
|
|
632
|
-
*
|
|
666
|
+
* 云资源配置详情
|
|
633
667
|
*/
|
|
634
|
-
|
|
668
|
+
CertHostingInfo: CertHostingInfo;
|
|
635
669
|
/**
|
|
636
|
-
*
|
|
637
|
-
*/
|
|
638
|
-
Alias?: string;
|
|
639
|
-
/**
|
|
640
|
-
* 项目 ID。
|
|
641
|
-
*/
|
|
642
|
-
ProjectId?: number;
|
|
643
|
-
/**
|
|
644
|
-
* 证书用途/证书来源。“CLB,CDN,WAF,LIVE,DDOS”
|
|
670
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
645
671
|
*/
|
|
646
|
-
|
|
672
|
+
RequestId?: string;
|
|
647
673
|
}
|
|
648
674
|
/**
|
|
649
675
|
* UploadConfirmLetter请求参数结构体
|
|
@@ -1128,6 +1154,30 @@ export interface ModifyCertificateProjectRequest {
|
|
|
1128
1154
|
*/
|
|
1129
1155
|
ProjectId: number;
|
|
1130
1156
|
}
|
|
1157
|
+
/**
|
|
1158
|
+
* 云资源配置详情
|
|
1159
|
+
*/
|
|
1160
|
+
export interface CertHostingInfo {
|
|
1161
|
+
/**
|
|
1162
|
+
* 证书ID
|
|
1163
|
+
*/
|
|
1164
|
+
CertId: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* 已替换的新证书ID
|
|
1167
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1168
|
+
*/
|
|
1169
|
+
RenewCertId: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* 云资源托管 ,CDN或CLB:部分开启,CDN,CLB:已开启,null:未开启托管
|
|
1172
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1173
|
+
*/
|
|
1174
|
+
ResourceType: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* 创建时间
|
|
1177
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1178
|
+
*/
|
|
1179
|
+
CreateTime: string;
|
|
1180
|
+
}
|
|
1131
1181
|
/**
|
|
1132
1182
|
* 返回参数键为 DvAuths 的内容。
|
|
1133
1183
|
*/
|
|
@@ -1164,17 +1214,17 @@ export interface DvAuths {
|
|
|
1164
1214
|
DvAuthVerifyType: string;
|
|
1165
1215
|
}
|
|
1166
1216
|
/**
|
|
1167
|
-
*
|
|
1217
|
+
* HostCertificate请求参数结构体
|
|
1168
1218
|
*/
|
|
1169
|
-
export interface
|
|
1219
|
+
export interface HostCertificateRequest {
|
|
1170
1220
|
/**
|
|
1171
|
-
* 证书
|
|
1221
|
+
* 证书ID
|
|
1172
1222
|
*/
|
|
1173
1223
|
CertificateId: string;
|
|
1174
1224
|
/**
|
|
1175
|
-
*
|
|
1225
|
+
* 资源类型:目前仅限于CLB,CDN
|
|
1176
1226
|
*/
|
|
1177
|
-
|
|
1227
|
+
ResourceType?: Array<string>;
|
|
1178
1228
|
}
|
|
1179
1229
|
/**
|
|
1180
1230
|
* DescribeCertificate请求参数结构体
|