Skip to content

Commit

Permalink
release 4.0.37
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Dec 23, 2020
1 parent 5e0f353 commit 5186dda
Show file tree
Hide file tree
Showing 32 changed files with 1,416 additions and 336 deletions.
283 changes: 174 additions & 109 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tencentcloud-sdk-nodejs",
"version": "4.0.36",
"version": "4.0.37",
"description": "腾讯云 API NODEJS SDK",
"main": "tencentcloud/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/common/sdk_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const sdkVersion = "4.0.36"
export const sdkVersion = "4.0.37"
65 changes: 57 additions & 8 deletions src/services/cdn/v20180606/cdn_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@ import {
RequestHeader,
DescribePurgeQuotaRequest,
Referer,
UserAgentFilter,
StartScdnDomainRequest,
StopScdnDomainResponse,
DescribeCdnDataResponse,
EnableClsLogTopicRequest,
UpdateImageConfigResponse,
ScdnDomain,
CacheConfigNoCache,
AccessControl,
DeleteCdnDomainRequest,
Expand All @@ -75,6 +77,7 @@ import {
DescribeBillingDataRequest,
SimpleCache,
DeleteClsLogTopicRequest,
UserAgentFilter,
DeleteScdnDomainRequest,
DescribeDistrictIspDataResponse,
DescribeCdnOriginIpRequest,
Expand Down Expand Up @@ -129,8 +132,10 @@ import {
ResourceOriginData,
IpStatus,
AddCdnDomainResponse,
ListScdnDomainsResponse,
VerifyDomainRecordResponse,
DomainAreaConfig,
ListScdnDomainsRequest,
ServerCert,
AccessControlRule,
HttpHeaderPathRule,
Expand Down Expand Up @@ -188,6 +193,7 @@ import {
GetDisableRecordsRequest,
CreateDiagnoseUrlRequest,
PurgeUrlsCacheResponse,
StartScdnDomainResponse,
BotJavaScript,
DeleteClsLogTopicResponse,
DescribeBillingDataResponse,
Expand Down Expand Up @@ -216,6 +222,7 @@ import {
RegionMapRelation,
PurgePathCacheRequest,
DescribeDiagnoseReportResponse,
StartCdnDomainResponse,
CdnData,
PurgeUrlsCacheRequest,
StartCdnDomainRequest,
Expand All @@ -224,7 +231,7 @@ import {
PushTask,
CreateEdgePackTaskResponse,
ReportData,
StartCdnDomainResponse,
DescribeScdnConfigResponse,
DescribePushQuotaRequest,
TopDetailData,
ResponseHeaderCache,
Expand Down Expand Up @@ -265,7 +272,9 @@ import {
CdnIp,
DescribeCdnDataRequest,
DescribeImageConfigResponse,
DescribeScdnConfigRequest,
CacheTagKey,
StopScdnDomainRequest,
ScdnTypeData,
DescribeDomainsRequest,
CreateEdgePackTaskRequest,
Expand Down Expand Up @@ -445,6 +454,16 @@ export class Client extends AbstractClient {
return this.request("CreateVerifyRecord", req, cb)
}

/**
* GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。(接口尚在内测中,暂未全量开放使用)
*/
async GetDisableRecords(
req: GetDisableRecordsRequest,
cb?: (error: string, rep: GetDisableRecordsResponse) => void
): Promise<GetDisableRecordsResponse> {
return this.request("GetDisableRecords", req, cb)
}

/**
* ManageClsTopicDomains 用于管理某日志主题下绑定的域名列表。
*/
Expand Down Expand Up @@ -485,6 +504,16 @@ export class Client extends AbstractClient {
return this.request("DuplicateDomainConfig", req, cb)
}

/**
* StopScdnDomain 用于关闭域名的安全防护配置
*/
async StopScdnDomain(
req: StopScdnDomainRequest,
cb?: (error: string, rep: StopScdnDomainResponse) => void
): Promise<StopScdnDomainResponse> {
return this.request("StopScdnDomain", req, cb)
}

/**
* DescribeCertDomains 用于校验SSL证书并提取证书中包含的域名。
*/
Expand Down Expand Up @@ -635,6 +664,16 @@ export class Client extends AbstractClient {
return this.request("DescribeCdnIp", req, cb)
}

/**
* StartScdnDomain 用于开启域名的安全防护配置
*/
async StartScdnDomain(
req: StartScdnDomainRequest,
cb?: (error: string, rep: StartScdnDomainResponse) => void
): Promise<StartScdnDomainResponse> {
return this.request("StartScdnDomain", req, cb)
}

/**
* PurgePathCache 用于批量提交目录刷新,根据域名的加速区域进行对应区域的刷新。
默认情况下境内、境外加速区域每日目录刷新额度为各 100 条,每次最多可提交 20 条。
Expand Down Expand Up @@ -783,13 +822,13 @@ export class Client extends AbstractClient {
}

/**
* GetDisableRecords 用于查询资源禁用历史,及 URL 当前状态。(接口尚在内测中,暂未全量开放使用)
* DescribeScdnConfig 用于查询指定 SCDN 加速域名的安全相关配置
*/
async GetDisableRecords(
req: GetDisableRecordsRequest,
cb?: (error: string, rep: GetDisableRecordsResponse) => void
): Promise<GetDisableRecordsResponse> {
return this.request("GetDisableRecords", req, cb)
async DescribeScdnConfig(
req: DescribeScdnConfigRequest,
cb?: (error: string, rep: DescribeScdnConfigResponse) => void
): Promise<DescribeScdnConfigResponse> {
return this.request("DescribeScdnConfig", req, cb)
}

/**
Expand Down Expand Up @@ -842,6 +881,16 @@ export class Client extends AbstractClient {
return this.request("EnableClsLogTopic", req, cb)
}

/**
* ListScdnDomains 用于查询 SCDN 安全加速域名列表,及域名基本配置信息
*/
async ListScdnDomains(
req: ListScdnDomainsRequest,
cb?: (error: string, rep: ListScdnDomainsResponse) => void
): Promise<ListScdnDomainsResponse> {
return this.request("ListScdnDomains", req, cb)
}

/**
* DescribeReportData 用于查询域名/项目维度的日/周/月报表数据。
*/
Expand Down
Loading

0 comments on commit 5186dda

Please sign in to comment.