tencentcloud-sdk-nodejs-teo 4.1.141 → 4.1.145
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/package.json
CHANGED
|
@@ -273,7 +273,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
273
273
|
ModifyL4Proxy(req: ModifyL4ProxyRequest, cb?: (error: string, rep: ModifyL4ProxyResponse) => void): Promise<ModifyL4ProxyResponse>;
|
|
274
274
|
/**
|
|
275
275
|
* 该接口用于验证免费证书并获取免费证书申请结果。如果验证通过,可通过该接口查询到对应域名申请的免费证书信息,如果申请失败,该接口将返回对应的验证失败信息。
|
|
276
|
-
在触发[申请免费证书接口](https://cloud.tencent.com/document/product/1552/90437)后,您可以通过本接口检查免费证书申请结果。在免费证书申请成功后, 还需要通过[配置域名证书](https://
|
|
276
|
+
在触发[申请免费证书接口](https://cloud.tencent.com/document/product/1552/90437)后,您可以通过本接口检查免费证书申请结果。在免费证书申请成功后, 还需要通过[配置域名证书](https://cloud.tencent.com/document/product/1552/80764)接口配置,才能将免费证书部署至加速域上。
|
|
277
277
|
*/
|
|
278
278
|
CheckFreeCertificateVerification(req: CheckFreeCertificateVerificationRequest, cb?: (error: string, rep: CheckFreeCertificateVerificationResponse) => void): Promise<CheckFreeCertificateVerificationResponse>;
|
|
279
279
|
/**
|
|
@@ -415,7 +415,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
417
|
* 该接口用于验证免费证书并获取免费证书申请结果。如果验证通过,可通过该接口查询到对应域名申请的免费证书信息,如果申请失败,该接口将返回对应的验证失败信息。
|
|
418
|
-
在触发[申请免费证书接口](https://cloud.tencent.com/document/product/1552/90437)后,您可以通过本接口检查免费证书申请结果。在免费证书申请成功后, 还需要通过[配置域名证书](https://
|
|
418
|
+
在触发[申请免费证书接口](https://cloud.tencent.com/document/product/1552/90437)后,您可以通过本接口检查免费证书申请结果。在免费证书申请成功后, 还需要通过[配置域名证书](https://cloud.tencent.com/document/product/1552/80764)接口配置,才能将免费证书部署至加速域上。
|
|
419
419
|
*/
|
|
420
420
|
async CheckFreeCertificateVerification(req, cb) {
|
|
421
421
|
return this.request("CheckFreeCertificateVerification", req, cb);
|
|
@@ -3615,7 +3615,7 @@ export interface ContentCompressionParameters {
|
|
|
3615
3615
|
*/
|
|
3616
3616
|
export interface AccelerationDomainCertificate {
|
|
3617
3617
|
/**
|
|
3618
|
-
* 配置服务端证书的模式,取值有: <ul><li>disable:不配置服务端证书;</li> <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437) - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。 - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://
|
|
3618
|
+
* 配置服务端证书的模式,取值有: <ul><li>disable:不配置服务端证书;</li> <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437) - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。 - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://cloud.tencent.com/document/product/1552/124806'>检查免费证书申请结果</a>接口获取申请失败原因。</li><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://cloud.tencent.com/document/product/1552/124807'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li> <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://cloud.tencent.com/document/product/1552/124806'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li> </ul> <li>sslcert:配置 SSL 托管服务端证书。</li></ul>
|
|
3619
3619
|
*/
|
|
3620
3620
|
Mode?: string;
|
|
3621
3621
|
/**
|
|
@@ -3628,7 +3628,7 @@ export interface AccelerationDomainCertificate {
|
|
|
3628
3628
|
*/
|
|
3629
3629
|
ClientCertInfo?: MutualTLS;
|
|
3630
3630
|
/**
|
|
3631
|
-
*
|
|
3631
|
+
* 用于分别开启/关闭回源双向认证和源站证书校验。回源双向认证的证书用于 EO 回源时携带,源站可选择校验该证书用于确保请求来源于受信任的 EO 节点。源站证书校验开启时,证书配置用于 EO 节点校验源站证书是否可信。
|
|
3632
3632
|
*/
|
|
3633
3633
|
UpstreamCertInfo?: UpstreamCertInfo;
|
|
3634
3634
|
}
|
|
@@ -5246,13 +5246,17 @@ export interface ApplicationProxyRule {
|
|
|
5246
5246
|
RuleTag?: string;
|
|
5247
5247
|
}
|
|
5248
5248
|
/**
|
|
5249
|
-
*
|
|
5249
|
+
* 用于分别开启/关闭回源双向认证和源站证书校验。回源双向认证的证书用于 EO 回源时携带,源站可选择校验该证书用于确保请求来源于受信任的 EO 节点。源站证书校验开启时,证书配置用于 EO 节点校验源站证书是否可信。
|
|
5250
5250
|
*/
|
|
5251
5251
|
export interface UpstreamCertInfo {
|
|
5252
5252
|
/**
|
|
5253
5253
|
* 在回源双向认证场景下,该字段为 EO 节点回源时携带的证书(包含公钥、私钥即可),部署在 EO 节点,用于源站对 EO 节点进行认证。在作为入参使用时,不填写表示保持原有配置。
|
|
5254
5254
|
*/
|
|
5255
5255
|
UpstreamMutualTLS?: MutualTLS;
|
|
5256
|
+
/**
|
|
5257
|
+
* 在源站证书校验场景下,该字段为 EO 节点回源时用于验证的 CA 证书,部署在 EO 节点,用于 EO 节点对服务端证书进行认证。在作为入参使用时,不填写表示保持原有配置。
|
|
5258
|
+
*/
|
|
5259
|
+
UpstreamCertificateVerify?: OriginCertificateVerify;
|
|
5256
5260
|
}
|
|
5257
5261
|
/**
|
|
5258
5262
|
* 站点详情。
|
|
@@ -8458,7 +8462,7 @@ export interface ModifyHostsCertificateRequest {
|
|
|
8458
8462
|
*/
|
|
8459
8463
|
ClientCertInfo?: MutualTLS;
|
|
8460
8464
|
/**
|
|
8461
|
-
*
|
|
8465
|
+
* 用于分别开启/关闭回源双向认证和源站证书校验。默认关闭,不填写表示保持原有配置。回源双向认证配置当前为白名单内侧中,如需使用,请[联系我们](https://cloud.tencent.com/online-service)。
|
|
8462
8466
|
*/
|
|
8463
8467
|
UpstreamCertInfo?: UpstreamCertInfo;
|
|
8464
8468
|
}
|
|
@@ -13553,10 +13557,10 @@ export interface ApplyFreeCertificateRequest {
|
|
|
13553
13557
|
*/
|
|
13554
13558
|
Domain: string;
|
|
13555
13559
|
/**
|
|
13556
|
-
*
|
|
13560
|
+
* 申请免费证书的验证方式,详细验证方式说明参考[免费证书申请方式说明文档](https://cloud.tencent.com/document/product/1552/90437) ,相关取值有:
|
|
13557
13561
|
<li>http_challenge:HTTP 访问文件验证方式,通过 HTTP 访问域名指定 URL 获取文件信息以完成免费证书申请验证;</li>
|
|
13558
13562
|
<li>dns_challenge:DNS 委派验证方式,通过添加指定的主机记录解析指向 EdgeOne 以完成免费证书申请验证。</li>
|
|
13559
|
-
注意:在触发本接口后,你需要根据返回的验证信息,完成验证内容配置。配置完成后,还需要通过<a href = 'https://
|
|
13563
|
+
注意:在触发本接口后,你需要根据返回的验证信息,完成验证内容配置。配置完成后,还需要通过<a href = 'https://cloud.tencent.com/document/product/1552/124806'>检查免费证书申请结果</a>接口进行验证,验证通过后,即可申请成功。在免费证书申请成功后,你可以调用<a href = 'https://cloud.tencent.com/document/product/1552/80764'>配置域名证书</a>接口为当前域名部署免费证书。
|
|
13560
13564
|
*/
|
|
13561
13565
|
VerificationMethod: string;
|
|
13562
13566
|
}
|
|
@@ -15159,6 +15163,21 @@ export interface BotIntelligence {
|
|
|
15159
15163
|
*/
|
|
15160
15164
|
Enabled?: string;
|
|
15161
15165
|
}
|
|
15166
|
+
/**
|
|
15167
|
+
* HTTPS 源站证书校验的模式。
|
|
15168
|
+
*/
|
|
15169
|
+
export interface OriginCertificateVerify {
|
|
15170
|
+
/**
|
|
15171
|
+
* 源站证书校验模式。取值有:<li>disable:禁用源站证书校验。</li><li>custom_ca:使用指定受信任 CA 证书校验。</li>
|
|
15172
|
+
*/
|
|
15173
|
+
VerificationMode: string;
|
|
15174
|
+
/**
|
|
15175
|
+
* 指定受信任的 CA 证书列表,源站证书需要由该 CA 签发才能校验通过。 注意:仅当 VerificationMode 为 custom_ca 时,需要传入该参数,指定受信任的CA证书信息。
|
|
15176
|
+
OriginCertificateVerify 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
|
15177
|
+
|
|
15178
|
+
*/
|
|
15179
|
+
CustomCACerts?: Array<CertificateInfo>;
|
|
15180
|
+
}
|
|
15162
15181
|
/**
|
|
15163
15182
|
* 搜索引擎规则配置。
|
|
15164
15183
|
*/
|
|
@@ -15348,7 +15367,7 @@ export interface DescribeJustInTimeTranscodeTemplatesRequest {
|
|
|
15348
15367
|
*/
|
|
15349
15368
|
ZoneId: string;
|
|
15350
15369
|
/**
|
|
15351
|
-
* 过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 ZoneId 下有权限的即时转码模板。详细的过滤条件如下:<li>template-name
|
|
15370
|
+
* 过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 ZoneId 下有权限的即时转码模板。详细的过滤条件如下:<li>template-name:按照模板名批量进行过滤。例如:mytemplate;</li><li>template-type:按照模板类型批量进行过滤。例如:preset 或 custom。</li><li>template-id:按照模板 ID 批量进行过滤。例如:C1LZ7982VgTpYhJ7M。</li>默认为空。
|
|
15352
15371
|
*/
|
|
15353
15372
|
Filters?: Array<Filter>;
|
|
15354
15373
|
/**
|