@huaweicloud/huaweicloud-sdk-cdn 3.1.39 → 3.1.41
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/CdnClient.d.ts +15 -10
- package/v1/CdnClient.js +25 -17
- package/v1/model/DomainBody.js +2 -2
- package/v1/model/Domains.js +1 -1
- package/v1/model/DomainsWithPort.js +1 -1
- package/v1/model/Follow302StatusBody.js +1 -1
- package/v1/model/Follow302StatusRequest.js +1 -1
- package/v1/model/ListDomainsRequest.js +3 -3
- package/v1/model/OriginHostBody.js +1 -1
- package/v1/model/OriginRangeBody.js +1 -1
- package/v1/model/RangeStatusRequest.js +1 -1
- package/v1/model/RefreshTaskRequestBody.js +2 -2
- package/v1/model/ShowHistoryTasksRequest.js +2 -2
- package/v1/model/ShowLogsRequest.d.ts +9 -5
- package/v1/model/ShowLogsRequest.js +21 -8
- package/v1/model/ShowTopUrlRequest.js +2 -2
- package/v1/model/SourceWithPort.js +1 -1
- package/v1/model/Sources.js +1 -1
- package/v1/model/TasksObject.js +2 -2
- package/v2/CdnClient.d.ts +12 -7
- package/v2/CdnClient.js +18 -7
- package/v2/model/BackSources.d.ts +8 -0
- package/v2/model/BackSources.js +28 -0
- package/v2/model/BatchCopyResultVo.js +1 -1
- package/v2/model/CustomArgs.d.ts +4 -4
- package/v2/model/CustomArgs.js +4 -1
- package/v2/model/Domains.js +1 -1
- package/v2/model/DomainsWithPort.js +1 -1
- package/v2/model/ErrorCodeCache.d.ts +2 -18
- package/v2/model/ErrorCodeCache.js +1 -18
- package/v2/model/FlexibleOrigins.d.ts +2 -2
- package/v2/model/FlexibleOrigins.js +2 -1
- package/v2/model/ShowDomainFullConfigRequest.d.ts +4 -0
- package/v2/model/ShowDomainFullConfigRequest.js +14 -0
- package/v2/model/Sources.js +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-cdn",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.41",
|
4
4
|
"description": "Huaweicloud SDK for cdn",
|
5
5
|
"main": "huaweicloud-sdk-cdn.js",
|
6
6
|
"typings": "huaweicloud-sdk-cdn.d.ts",
|
@@ -14,6 +14,6 @@
|
|
14
14
|
"author": "HuaweiCloud_SDK",
|
15
15
|
"license": "Apache-2.0",
|
16
16
|
"dependencies": {
|
17
|
-
"@huaweicloud/huaweicloud-sdk-core": "^3.1.
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.41"
|
18
18
|
}
|
19
19
|
}
|
package/v1/CdnClient.d.ts
CHANGED
@@ -252,13 +252,14 @@ export declare class CdnClient {
|
|
252
252
|
*/
|
253
253
|
showDomainDetail(showDomainDetailRequest?: ShowDomainDetailRequest): Promise<ShowDomainDetailResponse>;
|
254
254
|
/**
|
255
|
-
*
|
255
|
+
* 查询域名配置接口,
|
256
|
+
* 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
256
257
|
*
|
257
258
|
* Please refer to HUAWEI cloud API Explorer for details.
|
258
259
|
*
|
259
260
|
* @summary 查询域名配置接口
|
260
|
-
* @param {string} domainName
|
261
|
-
* @param {string} [enterpriseProjectId]
|
261
|
+
* @param {string} domainName 加速域名。
|
262
|
+
* @param {string} [enterpriseProjectId] 企业项目ID, all:所有项目。
|
262
263
|
* @param {*} [options] Override http request option.
|
263
264
|
* @throws {RequiredError}
|
264
265
|
*/
|
@@ -440,13 +441,14 @@ export declare class CdnClient {
|
|
440
441
|
*/
|
441
442
|
showIpInfo(showIpInfoRequest?: ShowIpInfoRequest): Promise<ShowIpInfoResponse>;
|
442
443
|
/**
|
443
|
-
*
|
444
|
+
* 查询日志下载链接,支持查询30天内的日志信息。
|
444
445
|
*
|
445
446
|
* Please refer to HUAWEI cloud API Explorer for details.
|
446
447
|
*
|
447
448
|
* @summary 日志查询
|
448
449
|
* @param {string} domainName 只支持单个域名,如:www.test1.com。
|
449
|
-
* @param {number}
|
450
|
+
* @param {number} [startTime] 查询开始时间,时间格式为整点毫秒时间戳,此参数传空值时默认为当天0点。
|
451
|
+
* @param {number} [endTime] 查询结束时间(不包含结束时间),时间格式为整点毫秒时间戳,与开始时间的最大跨度为30天,此参数传空值时默认为开始时间加1天。
|
450
452
|
* @param {number} [pageSize] 单页最大数量,取值范围为1-10000。
|
451
453
|
* @param {number} [pageNumber] 当前查询第几页,取值范围为1-65535。
|
452
454
|
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
|
@@ -585,14 +587,15 @@ export declare class CdnClient {
|
|
585
587
|
*/
|
586
588
|
updateCacheRules(updateCacheRulesRequest?: UpdateCacheRulesRequest): Promise<UpdateCacheRulesResponse>;
|
587
589
|
/**
|
588
|
-
*
|
590
|
+
* 修改域名配置接口,
|
591
|
+
* 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
589
592
|
*
|
590
593
|
* Please refer to HUAWEI cloud API Explorer for details.
|
591
594
|
*
|
592
595
|
* @summary 修改域名全量配置接口
|
593
596
|
* @param {string} domainName 加速域名
|
594
597
|
* @param {ModifyDomainConfigRequestBody} configs configs对象。
|
595
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"
|
598
|
+
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"代表所有项目。 > 当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
|
596
599
|
* @param {*} [options] Override http request option.
|
597
600
|
* @throws {RequiredError}
|
598
601
|
*/
|
@@ -892,7 +895,8 @@ export declare const ParamCreater: () => {
|
|
892
895
|
headers: {};
|
893
896
|
};
|
894
897
|
/**
|
895
|
-
*
|
898
|
+
* 查询域名配置接口,
|
899
|
+
* 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
896
900
|
*
|
897
901
|
* Please refer to HUAWEI cloud API Explorer for details.
|
898
902
|
*/
|
@@ -1052,7 +1056,7 @@ export declare const ParamCreater: () => {
|
|
1052
1056
|
headers: {};
|
1053
1057
|
};
|
1054
1058
|
/**
|
1055
|
-
*
|
1059
|
+
* 查询日志下载链接,支持查询30天内的日志信息。
|
1056
1060
|
*
|
1057
1061
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1058
1062
|
*/
|
@@ -1197,7 +1201,8 @@ export declare const ParamCreater: () => {
|
|
1197
1201
|
data: {};
|
1198
1202
|
};
|
1199
1203
|
/**
|
1200
|
-
*
|
1204
|
+
* 修改域名配置接口,
|
1205
|
+
* 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
1201
1206
|
*
|
1202
1207
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1203
1208
|
*/
|
package/v1/CdnClient.js
CHANGED
@@ -297,13 +297,14 @@ var CdnClient = /** @class */ (function () {
|
|
297
297
|
return this.hcClient.sendRequest(options);
|
298
298
|
};
|
299
299
|
/**
|
300
|
-
*
|
300
|
+
* 查询域名配置接口,
|
301
|
+
* 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
301
302
|
*
|
302
303
|
* Please refer to HUAWEI cloud API Explorer for details.
|
303
304
|
*
|
304
305
|
* @summary 查询域名配置接口
|
305
|
-
* @param {string} domainName
|
306
|
-
* @param {string} [enterpriseProjectId]
|
306
|
+
* @param {string} domainName 加速域名。
|
307
|
+
* @param {string} [enterpriseProjectId] 企业项目ID, all:所有项目。
|
307
308
|
* @param {*} [options] Override http request option.
|
308
309
|
* @throws {RequiredError}
|
309
310
|
*/
|
@@ -530,13 +531,14 @@ var CdnClient = /** @class */ (function () {
|
|
530
531
|
return this.hcClient.sendRequest(options);
|
531
532
|
};
|
532
533
|
/**
|
533
|
-
*
|
534
|
+
* 查询日志下载链接,支持查询30天内的日志信息。
|
534
535
|
*
|
535
536
|
* Please refer to HUAWEI cloud API Explorer for details.
|
536
537
|
*
|
537
538
|
* @summary 日志查询
|
538
539
|
* @param {string} domainName 只支持单个域名,如:www.test1.com。
|
539
|
-
* @param {number}
|
540
|
+
* @param {number} [startTime] 查询开始时间,时间格式为整点毫秒时间戳,此参数传空值时默认为当天0点。
|
541
|
+
* @param {number} [endTime] 查询结束时间(不包含结束时间),时间格式为整点毫秒时间戳,与开始时间的最大跨度为30天,此参数传空值时默认为开始时间加1天。
|
540
542
|
* @param {number} [pageSize] 单页最大数量,取值范围为1-10000。
|
541
543
|
* @param {number} [pageNumber] 当前查询第几页,取值范围为1-65535。
|
542
544
|
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
|
@@ -725,14 +727,15 @@ var CdnClient = /** @class */ (function () {
|
|
725
727
|
return this.hcClient.sendRequest(options);
|
726
728
|
};
|
727
729
|
/**
|
728
|
-
*
|
730
|
+
* 修改域名配置接口,
|
731
|
+
* 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
729
732
|
*
|
730
733
|
* Please refer to HUAWEI cloud API Explorer for details.
|
731
734
|
*
|
732
735
|
* @summary 修改域名全量配置接口
|
733
736
|
* @param {string} domainName 加速域名
|
734
737
|
* @param {ModifyDomainConfigRequestBody} configs configs对象。
|
735
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"
|
738
|
+
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"代表所有项目。 > 当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
|
736
739
|
* @param {*} [options] Override http request option.
|
737
740
|
* @throws {RequiredError}
|
738
741
|
*/
|
@@ -1462,7 +1465,8 @@ var ParamCreater = function () {
|
|
1462
1465
|
return options;
|
1463
1466
|
},
|
1464
1467
|
/**
|
1465
|
-
*
|
1468
|
+
* 查询域名配置接口,
|
1469
|
+
* 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
1466
1470
|
*
|
1467
1471
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1468
1472
|
*/
|
@@ -2135,7 +2139,7 @@ var ParamCreater = function () {
|
|
2135
2139
|
return options;
|
2136
2140
|
},
|
2137
2141
|
/**
|
2138
|
-
*
|
2142
|
+
* 查询日志下载链接,支持查询30天内的日志信息。
|
2139
2143
|
*
|
2140
2144
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2141
2145
|
*/
|
@@ -2151,21 +2155,24 @@ var ParamCreater = function () {
|
|
2151
2155
|
var localVarHeaderParameter = {};
|
2152
2156
|
var localVarQueryParameter = {};
|
2153
2157
|
var domainName;
|
2154
|
-
var
|
2158
|
+
var startTime;
|
2159
|
+
var endTime;
|
2155
2160
|
var pageSize;
|
2156
2161
|
var pageNumber;
|
2157
2162
|
var enterpriseProjectId;
|
2158
2163
|
if (showLogsRequest !== null && showLogsRequest !== undefined) {
|
2159
2164
|
if (showLogsRequest instanceof ShowLogsRequest_1.ShowLogsRequest) {
|
2160
2165
|
domainName = showLogsRequest.domainName;
|
2161
|
-
|
2166
|
+
startTime = showLogsRequest.startTime;
|
2167
|
+
endTime = showLogsRequest.endTime;
|
2162
2168
|
pageSize = showLogsRequest.pageSize;
|
2163
2169
|
pageNumber = showLogsRequest.pageNumber;
|
2164
2170
|
enterpriseProjectId = showLogsRequest.enterpriseProjectId;
|
2165
2171
|
}
|
2166
2172
|
else {
|
2167
2173
|
domainName = showLogsRequest['domain_name'];
|
2168
|
-
|
2174
|
+
startTime = showLogsRequest['start_time'];
|
2175
|
+
endTime = showLogsRequest['end_time'];
|
2169
2176
|
pageSize = showLogsRequest['page_size'];
|
2170
2177
|
pageNumber = showLogsRequest['page_number'];
|
2171
2178
|
enterpriseProjectId = showLogsRequest['enterprise_project_id'];
|
@@ -2177,11 +2184,11 @@ var ParamCreater = function () {
|
|
2177
2184
|
if (domainName !== null && domainName !== undefined) {
|
2178
2185
|
localVarQueryParameter['domain_name'] = domainName;
|
2179
2186
|
}
|
2180
|
-
if (
|
2181
|
-
|
2187
|
+
if (startTime !== null && startTime !== undefined) {
|
2188
|
+
localVarQueryParameter['start_time'] = startTime;
|
2182
2189
|
}
|
2183
|
-
if (
|
2184
|
-
localVarQueryParameter['
|
2190
|
+
if (endTime !== null && endTime !== undefined) {
|
2191
|
+
localVarQueryParameter['end_time'] = endTime;
|
2185
2192
|
}
|
2186
2193
|
if (pageSize !== null && pageSize !== undefined) {
|
2187
2194
|
localVarQueryParameter['page_size'] = pageSize;
|
@@ -2624,7 +2631,8 @@ var ParamCreater = function () {
|
|
2624
2631
|
return options;
|
2625
2632
|
},
|
2626
2633
|
/**
|
2627
|
-
*
|
2634
|
+
* 修改域名配置接口,
|
2635
|
+
* 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
|
2628
2636
|
*
|
2629
2637
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2630
2638
|
*/
|
package/v1/model/DomainBody.js
CHANGED
@@ -81,7 +81,7 @@ var DomainBodyBusinessTypeEnum;
|
|
81
81
|
DomainBodyBusinessTypeEnum["DOWNLOAD"] = "download";
|
82
82
|
DomainBodyBusinessTypeEnum["VIDEO"] = "video";
|
83
83
|
DomainBodyBusinessTypeEnum["WHOLESITE"] = "wholeSite";
|
84
|
-
})(DomainBodyBusinessTypeEnum
|
84
|
+
})(DomainBodyBusinessTypeEnum || (exports.DomainBodyBusinessTypeEnum = DomainBodyBusinessTypeEnum = {}));
|
85
85
|
/**
|
86
86
|
* @export
|
87
87
|
* @enum {string}
|
@@ -91,4 +91,4 @@ var DomainBodyServiceAreaEnum;
|
|
91
91
|
DomainBodyServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
92
92
|
DomainBodyServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
93
93
|
DomainBodyServiceAreaEnum["GLOBAL"] = "global";
|
94
|
-
})(DomainBodyServiceAreaEnum
|
94
|
+
})(DomainBodyServiceAreaEnum || (exports.DomainBodyServiceAreaEnum = DomainBodyServiceAreaEnum = {}));
|
package/v1/model/Domains.js
CHANGED
@@ -264,4 +264,4 @@ var DomainsServiceAreaEnum;
|
|
264
264
|
DomainsServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
265
265
|
DomainsServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
266
266
|
DomainsServiceAreaEnum["GLOBAL"] = "global";
|
267
|
-
})(DomainsServiceAreaEnum
|
267
|
+
})(DomainsServiceAreaEnum || (exports.DomainsServiceAreaEnum = DomainsServiceAreaEnum = {}));
|
@@ -260,4 +260,4 @@ var DomainsWithPortServiceAreaEnum;
|
|
260
260
|
DomainsWithPortServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
261
261
|
DomainsWithPortServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
262
262
|
DomainsWithPortServiceAreaEnum["GLOBAL"] = "global";
|
263
|
-
})(DomainsWithPortServiceAreaEnum
|
263
|
+
})(DomainsWithPortServiceAreaEnum || (exports.DomainsWithPortServiceAreaEnum = DomainsWithPortServiceAreaEnum = {}));
|
@@ -43,4 +43,4 @@ var Follow302StatusBodyFollowStatusEnum;
|
|
43
43
|
(function (Follow302StatusBodyFollowStatusEnum) {
|
44
44
|
Follow302StatusBodyFollowStatusEnum["OFF"] = "off";
|
45
45
|
Follow302StatusBodyFollowStatusEnum["ON"] = "on";
|
46
|
-
})(Follow302StatusBodyFollowStatusEnum
|
46
|
+
})(Follow302StatusBodyFollowStatusEnum || (exports.Follow302StatusBodyFollowStatusEnum = Follow302StatusBodyFollowStatusEnum = {}));
|
@@ -30,4 +30,4 @@ var Follow302StatusRequestFollow302StatusEnum;
|
|
30
30
|
(function (Follow302StatusRequestFollow302StatusEnum) {
|
31
31
|
Follow302StatusRequestFollow302StatusEnum["OFF"] = "off";
|
32
32
|
Follow302StatusRequestFollow302StatusEnum["ON"] = "on";
|
33
|
-
})(Follow302StatusRequestFollow302StatusEnum
|
33
|
+
})(Follow302StatusRequestFollow302StatusEnum || (exports.Follow302StatusRequestFollow302StatusEnum = Follow302StatusRequestFollow302StatusEnum = {}));
|
@@ -143,7 +143,7 @@ var ListDomainsRequestBusinessTypeEnum;
|
|
143
143
|
ListDomainsRequestBusinessTypeEnum["DOWNLOAD"] = "download";
|
144
144
|
ListDomainsRequestBusinessTypeEnum["VIDEO"] = "video";
|
145
145
|
ListDomainsRequestBusinessTypeEnum["WHOLESITE"] = "wholeSite";
|
146
|
-
})(ListDomainsRequestBusinessTypeEnum
|
146
|
+
})(ListDomainsRequestBusinessTypeEnum || (exports.ListDomainsRequestBusinessTypeEnum = ListDomainsRequestBusinessTypeEnum = {}));
|
147
147
|
/**
|
148
148
|
* @export
|
149
149
|
* @enum {string}
|
@@ -157,7 +157,7 @@ var ListDomainsRequestDomainStatusEnum;
|
|
157
157
|
ListDomainsRequestDomainStatusEnum["CHECKING"] = "checking";
|
158
158
|
ListDomainsRequestDomainStatusEnum["CHECK_FAILED"] = "check_failed";
|
159
159
|
ListDomainsRequestDomainStatusEnum["DELETING"] = "deleting";
|
160
|
-
})(ListDomainsRequestDomainStatusEnum
|
160
|
+
})(ListDomainsRequestDomainStatusEnum || (exports.ListDomainsRequestDomainStatusEnum = ListDomainsRequestDomainStatusEnum = {}));
|
161
161
|
/**
|
162
162
|
* @export
|
163
163
|
* @enum {string}
|
@@ -167,4 +167,4 @@ var ListDomainsRequestServiceAreaEnum;
|
|
167
167
|
ListDomainsRequestServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
168
168
|
ListDomainsRequestServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
169
169
|
ListDomainsRequestServiceAreaEnum["GLOBAL"] = "global";
|
170
|
-
})(ListDomainsRequestServiceAreaEnum
|
170
|
+
})(ListDomainsRequestServiceAreaEnum || (exports.ListDomainsRequestServiceAreaEnum = ListDomainsRequestServiceAreaEnum = {}));
|
@@ -44,4 +44,4 @@ var OriginHostBodyOriginHostTypeEnum;
|
|
44
44
|
(function (OriginHostBodyOriginHostTypeEnum) {
|
45
45
|
OriginHostBodyOriginHostTypeEnum["ACCELERATE"] = "accelerate";
|
46
46
|
OriginHostBodyOriginHostTypeEnum["CUSTOMIZE"] = "customize";
|
47
|
-
})(OriginHostBodyOriginHostTypeEnum
|
47
|
+
})(OriginHostBodyOriginHostTypeEnum || (exports.OriginHostBodyOriginHostTypeEnum = OriginHostBodyOriginHostTypeEnum = {}));
|
@@ -43,4 +43,4 @@ var OriginRangeBodyRangeStatusEnum;
|
|
43
43
|
(function (OriginRangeBodyRangeStatusEnum) {
|
44
44
|
OriginRangeBodyRangeStatusEnum["OFF"] = "off";
|
45
45
|
OriginRangeBodyRangeStatusEnum["ON"] = "on";
|
46
|
-
})(OriginRangeBodyRangeStatusEnum
|
46
|
+
})(OriginRangeBodyRangeStatusEnum || (exports.OriginRangeBodyRangeStatusEnum = OriginRangeBodyRangeStatusEnum = {}));
|
@@ -30,4 +30,4 @@ var RangeStatusRequestRangeStatusEnum;
|
|
30
30
|
(function (RangeStatusRequestRangeStatusEnum) {
|
31
31
|
RangeStatusRequestRangeStatusEnum["OFF"] = "off";
|
32
32
|
RangeStatusRequestRangeStatusEnum["ON"] = "on";
|
33
|
-
})(RangeStatusRequestRangeStatusEnum
|
33
|
+
})(RangeStatusRequestRangeStatusEnum || (exports.RangeStatusRequestRangeStatusEnum = RangeStatusRequestRangeStatusEnum = {}));
|
@@ -28,7 +28,7 @@ var RefreshTaskRequestBodyTypeEnum;
|
|
28
28
|
(function (RefreshTaskRequestBodyTypeEnum) {
|
29
29
|
RefreshTaskRequestBodyTypeEnum["FILE"] = "file";
|
30
30
|
RefreshTaskRequestBodyTypeEnum["DIRECTORY"] = "directory";
|
31
|
-
})(RefreshTaskRequestBodyTypeEnum
|
31
|
+
})(RefreshTaskRequestBodyTypeEnum || (exports.RefreshTaskRequestBodyTypeEnum = RefreshTaskRequestBodyTypeEnum = {}));
|
32
32
|
/**
|
33
33
|
* @export
|
34
34
|
* @enum {string}
|
@@ -37,4 +37,4 @@ var RefreshTaskRequestBodyModeEnum;
|
|
37
37
|
(function (RefreshTaskRequestBodyModeEnum) {
|
38
38
|
RefreshTaskRequestBodyModeEnum["ALL"] = "all";
|
39
39
|
RefreshTaskRequestBodyModeEnum["DETECT_MODIFY_REFRESH"] = "detect_modify_refresh";
|
40
|
-
})(RefreshTaskRequestBodyModeEnum
|
40
|
+
})(RefreshTaskRequestBodyModeEnum || (exports.RefreshTaskRequestBodyModeEnum = RefreshTaskRequestBodyModeEnum = {}));
|
@@ -131,7 +131,7 @@ var ShowHistoryTasksRequestStatusEnum;
|
|
131
131
|
(function (ShowHistoryTasksRequestStatusEnum) {
|
132
132
|
ShowHistoryTasksRequestStatusEnum["TASK_INPROCESS"] = "task_inprocess";
|
133
133
|
ShowHistoryTasksRequestStatusEnum["TASK_DONE"] = "task_done";
|
134
|
-
})(ShowHistoryTasksRequestStatusEnum
|
134
|
+
})(ShowHistoryTasksRequestStatusEnum || (exports.ShowHistoryTasksRequestStatusEnum = ShowHistoryTasksRequestStatusEnum = {}));
|
135
135
|
/**
|
136
136
|
* @export
|
137
137
|
* @enum {string}
|
@@ -140,4 +140,4 @@ var ShowHistoryTasksRequestFileTypeEnum;
|
|
140
140
|
(function (ShowHistoryTasksRequestFileTypeEnum) {
|
141
141
|
ShowHistoryTasksRequestFileTypeEnum["FILE"] = "file";
|
142
142
|
ShowHistoryTasksRequestFileTypeEnum["DIRECTORY"] = "directory";
|
143
|
-
})(ShowHistoryTasksRequestFileTypeEnum
|
143
|
+
})(ShowHistoryTasksRequestFileTypeEnum || (exports.ShowHistoryTasksRequestFileTypeEnum = ShowHistoryTasksRequestFileTypeEnum = {}));
|
@@ -1,16 +1,20 @@
|
|
1
1
|
export declare class ShowLogsRequest {
|
2
2
|
private 'domain_name';
|
3
|
-
private '
|
3
|
+
private 'start_time'?;
|
4
|
+
private 'end_time'?;
|
4
5
|
private 'page_size'?;
|
5
6
|
private 'page_number'?;
|
6
7
|
private 'enterprise_project_id'?;
|
7
|
-
constructor(domainName?: any
|
8
|
+
constructor(domainName?: any);
|
8
9
|
withDomainName(domainName: string): ShowLogsRequest;
|
9
10
|
set domainName(domainName: string | undefined);
|
10
11
|
get domainName(): string | undefined;
|
11
|
-
|
12
|
-
set
|
13
|
-
get
|
12
|
+
withStartTime(startTime: number): ShowLogsRequest;
|
13
|
+
set startTime(startTime: number | undefined);
|
14
|
+
get startTime(): number | undefined;
|
15
|
+
withEndTime(endTime: number): ShowLogsRequest;
|
16
|
+
set endTime(endTime: number | undefined);
|
17
|
+
get endTime(): number | undefined;
|
14
18
|
withPageSize(pageSize: number): ShowLogsRequest;
|
15
19
|
set pageSize(pageSize: number | undefined);
|
16
20
|
get pageSize(): number | undefined;
|
@@ -2,9 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ShowLogsRequest = void 0;
|
4
4
|
var ShowLogsRequest = /** @class */ (function () {
|
5
|
-
function ShowLogsRequest(domainName
|
5
|
+
function ShowLogsRequest(domainName) {
|
6
6
|
this['domain_name'] = domainName;
|
7
|
-
this['query_date'] = queryDate;
|
8
7
|
}
|
9
8
|
ShowLogsRequest.prototype.withDomainName = function (domainName) {
|
10
9
|
this['domain_name'] = domainName;
|
@@ -20,16 +19,30 @@ var ShowLogsRequest = /** @class */ (function () {
|
|
20
19
|
enumerable: false,
|
21
20
|
configurable: true
|
22
21
|
});
|
23
|
-
ShowLogsRequest.prototype.
|
24
|
-
this['
|
22
|
+
ShowLogsRequest.prototype.withStartTime = function (startTime) {
|
23
|
+
this['start_time'] = startTime;
|
25
24
|
return this;
|
26
25
|
};
|
27
|
-
Object.defineProperty(ShowLogsRequest.prototype, "
|
26
|
+
Object.defineProperty(ShowLogsRequest.prototype, "startTime", {
|
28
27
|
get: function () {
|
29
|
-
return this['
|
28
|
+
return this['start_time'];
|
30
29
|
},
|
31
|
-
set: function (
|
32
|
-
this['
|
30
|
+
set: function (startTime) {
|
31
|
+
this['start_time'] = startTime;
|
32
|
+
},
|
33
|
+
enumerable: false,
|
34
|
+
configurable: true
|
35
|
+
});
|
36
|
+
ShowLogsRequest.prototype.withEndTime = function (endTime) {
|
37
|
+
this['end_time'] = endTime;
|
38
|
+
return this;
|
39
|
+
};
|
40
|
+
Object.defineProperty(ShowLogsRequest.prototype, "endTime", {
|
41
|
+
get: function () {
|
42
|
+
return this['end_time'];
|
43
|
+
},
|
44
|
+
set: function (endTime) {
|
45
|
+
this['end_time'] = endTime;
|
33
46
|
},
|
34
47
|
enumerable: false,
|
35
48
|
configurable: true
|
@@ -103,7 +103,7 @@ var ShowTopUrlRequestServiceAreaEnum;
|
|
103
103
|
(function (ShowTopUrlRequestServiceAreaEnum) {
|
104
104
|
ShowTopUrlRequestServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
105
105
|
ShowTopUrlRequestServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
106
|
-
})(ShowTopUrlRequestServiceAreaEnum
|
106
|
+
})(ShowTopUrlRequestServiceAreaEnum || (exports.ShowTopUrlRequestServiceAreaEnum = ShowTopUrlRequestServiceAreaEnum = {}));
|
107
107
|
/**
|
108
108
|
* @export
|
109
109
|
* @enum {string}
|
@@ -112,4 +112,4 @@ var ShowTopUrlRequestStatTypeEnum;
|
|
112
112
|
(function (ShowTopUrlRequestStatTypeEnum) {
|
113
113
|
ShowTopUrlRequestStatTypeEnum["FLUX"] = "flux";
|
114
114
|
ShowTopUrlRequestStatTypeEnum["REQ_NUM"] = "req_num";
|
115
|
-
})(ShowTopUrlRequestStatTypeEnum
|
115
|
+
})(ShowTopUrlRequestStatTypeEnum || (exports.ShowTopUrlRequestStatTypeEnum = ShowTopUrlRequestStatTypeEnum = {}));
|
@@ -117,4 +117,4 @@ var SourceWithPortOriginTypeEnum;
|
|
117
117
|
SourceWithPortOriginTypeEnum["IPADDR"] = "ipaddr";
|
118
118
|
SourceWithPortOriginTypeEnum["DOMAIN"] = "domain";
|
119
119
|
SourceWithPortOriginTypeEnum["OBS_BUCKET"] = "obs_bucket";
|
120
|
-
})(SourceWithPortOriginTypeEnum
|
120
|
+
})(SourceWithPortOriginTypeEnum || (exports.SourceWithPortOriginTypeEnum = SourceWithPortOriginTypeEnum = {}));
|
package/v1/model/Sources.js
CHANGED
@@ -89,4 +89,4 @@ var SourcesOriginTypeEnum;
|
|
89
89
|
SourcesOriginTypeEnum["IPADDR"] = "ipaddr";
|
90
90
|
SourcesOriginTypeEnum["DOMAIN"] = "domain";
|
91
91
|
SourcesOriginTypeEnum["OBS_BUCKET"] = "obs_bucket";
|
92
|
-
})(SourcesOriginTypeEnum
|
92
|
+
})(SourcesOriginTypeEnum || (exports.SourcesOriginTypeEnum = SourcesOriginTypeEnum = {}));
|
package/v1/model/TasksObject.js
CHANGED
@@ -81,7 +81,7 @@ var TasksObjectTaskTypeEnum;
|
|
81
81
|
(function (TasksObjectTaskTypeEnum) {
|
82
82
|
TasksObjectTaskTypeEnum["REFRESH"] = "refresh";
|
83
83
|
TasksObjectTaskTypeEnum["PREHEATING"] = "preheating";
|
84
|
-
})(TasksObjectTaskTypeEnum
|
84
|
+
})(TasksObjectTaskTypeEnum || (exports.TasksObjectTaskTypeEnum = TasksObjectTaskTypeEnum = {}));
|
85
85
|
/**
|
86
86
|
* @export
|
87
87
|
* @enum {string}
|
@@ -90,4 +90,4 @@ var TasksObjectFileTypeEnum;
|
|
90
90
|
(function (TasksObjectFileTypeEnum) {
|
91
91
|
TasksObjectFileTypeEnum["FILE"] = "file";
|
92
92
|
TasksObjectFileTypeEnum["DIRECTORY"] = "directory";
|
93
|
-
})(TasksObjectFileTypeEnum
|
93
|
+
})(TasksObjectFileTypeEnum || (exports.TasksObjectFileTypeEnum = TasksObjectFileTypeEnum = {}));
|
package/v2/CdnClient.d.ts
CHANGED
@@ -202,13 +202,15 @@ export declare class CdnClient {
|
|
202
202
|
*/
|
203
203
|
showDomainDetailByName(showDomainDetailByNameRequest?: ShowDomainDetailByNameRequest): Promise<ShowDomainDetailByNameResponse>;
|
204
204
|
/**
|
205
|
-
*
|
205
|
+
* 查询域名配置接口,
|
206
|
+
* 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
206
207
|
*
|
207
208
|
* Please refer to HUAWEI cloud API Explorer for details.
|
208
209
|
*
|
209
210
|
* @summary 查询域名配置接口
|
210
|
-
* @param {string} domainName
|
211
|
-
* @param {string} [enterpriseProjectId]
|
211
|
+
* @param {string} domainName 加速域名。
|
212
|
+
* @param {string} [enterpriseProjectId] 企业项目ID, all:所有项目。
|
213
|
+
* @param {string} [showSpecialConfigs] 取值为auth_key,用来查询鉴权KEY和鉴权备KEY的值。
|
212
214
|
* @param {*} [options] Override http request option.
|
213
215
|
* @throws {RequiredError}
|
214
216
|
*/
|
@@ -334,13 +336,14 @@ export declare class CdnClient {
|
|
334
336
|
*/
|
335
337
|
showTopUrl(showTopUrlRequest?: ShowTopUrlRequest): Promise<ShowTopUrlResponse>;
|
336
338
|
/**
|
337
|
-
*
|
339
|
+
* 修改域名配置接口,
|
340
|
+
* 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
338
341
|
*
|
339
342
|
* Please refer to HUAWEI cloud API Explorer for details.
|
340
343
|
*
|
341
344
|
* @summary 修改域名全量配置接口
|
342
345
|
* @param {string} domainName 加速域名
|
343
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"
|
346
|
+
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"代表所有项目。 > 当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
|
344
347
|
* @param {ModifyDomainConfigRequestBody} [modifyDomainConfigRequestBody] 域名配置
|
345
348
|
* @param {*} [options] Override http request option.
|
346
349
|
* @throws {RequiredError}
|
@@ -503,7 +506,8 @@ export declare const ParamCreater: () => {
|
|
503
506
|
headers: {};
|
504
507
|
};
|
505
508
|
/**
|
506
|
-
*
|
509
|
+
* 查询域名配置接口,
|
510
|
+
* 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
507
511
|
*
|
508
512
|
* Please refer to HUAWEI cloud API Explorer for details.
|
509
513
|
*/
|
@@ -616,7 +620,8 @@ export declare const ParamCreater: () => {
|
|
616
620
|
headers: {};
|
617
621
|
};
|
618
622
|
/**
|
619
|
-
*
|
623
|
+
* 修改域名配置接口,
|
624
|
+
* 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
620
625
|
*
|
621
626
|
* Please refer to HUAWEI cloud API Explorer for details.
|
622
627
|
*/
|
package/v2/CdnClient.js
CHANGED
@@ -250,13 +250,15 @@ var CdnClient = /** @class */ (function () {
|
|
250
250
|
return this.hcClient.sendRequest(options);
|
251
251
|
};
|
252
252
|
/**
|
253
|
-
*
|
253
|
+
* 查询域名配置接口,
|
254
|
+
* 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
254
255
|
*
|
255
256
|
* Please refer to HUAWEI cloud API Explorer for details.
|
256
257
|
*
|
257
258
|
* @summary 查询域名配置接口
|
258
|
-
* @param {string} domainName
|
259
|
-
* @param {string} [enterpriseProjectId]
|
259
|
+
* @param {string} domainName 加速域名。
|
260
|
+
* @param {string} [enterpriseProjectId] 企业项目ID, all:所有项目。
|
261
|
+
* @param {string} [showSpecialConfigs] 取值为auth_key,用来查询鉴权KEY和鉴权备KEY的值。
|
260
262
|
* @param {*} [options] Override http request option.
|
261
263
|
* @throws {RequiredError}
|
262
264
|
*/
|
@@ -407,13 +409,14 @@ var CdnClient = /** @class */ (function () {
|
|
407
409
|
return this.hcClient.sendRequest(options);
|
408
410
|
};
|
409
411
|
/**
|
410
|
-
*
|
412
|
+
* 修改域名配置接口,
|
413
|
+
* 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
411
414
|
*
|
412
415
|
* Please refer to HUAWEI cloud API Explorer for details.
|
413
416
|
*
|
414
417
|
* @summary 修改域名全量配置接口
|
415
418
|
* @param {string} domainName 加速域名
|
416
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"
|
419
|
+
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"代表所有项目。 > 当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
|
417
420
|
* @param {ModifyDomainConfigRequestBody} [modifyDomainConfigRequestBody] 域名配置
|
418
421
|
* @param {*} [options] Override http request option.
|
419
422
|
* @throws {RequiredError}
|
@@ -968,7 +971,8 @@ var ParamCreater = function () {
|
|
968
971
|
return options;
|
969
972
|
},
|
970
973
|
/**
|
971
|
-
*
|
974
|
+
* 查询域名配置接口,
|
975
|
+
* 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
972
976
|
*
|
973
977
|
* Please refer to HUAWEI cloud API Explorer for details.
|
974
978
|
*/
|
@@ -985,14 +989,17 @@ var ParamCreater = function () {
|
|
985
989
|
var localVarQueryParameter = {};
|
986
990
|
var domainName;
|
987
991
|
var enterpriseProjectId;
|
992
|
+
var showSpecialConfigs;
|
988
993
|
if (showDomainFullConfigRequest !== null && showDomainFullConfigRequest !== undefined) {
|
989
994
|
if (showDomainFullConfigRequest instanceof ShowDomainFullConfigRequest_1.ShowDomainFullConfigRequest) {
|
990
995
|
domainName = showDomainFullConfigRequest.domainName;
|
991
996
|
enterpriseProjectId = showDomainFullConfigRequest.enterpriseProjectId;
|
997
|
+
showSpecialConfigs = showDomainFullConfigRequest.showSpecialConfigs;
|
992
998
|
}
|
993
999
|
else {
|
994
1000
|
domainName = showDomainFullConfigRequest['domain_name'];
|
995
1001
|
enterpriseProjectId = showDomainFullConfigRequest['enterprise_project_id'];
|
1002
|
+
showSpecialConfigs = showDomainFullConfigRequest['show_special_configs'];
|
996
1003
|
}
|
997
1004
|
}
|
998
1005
|
if (domainName === null || domainName === undefined) {
|
@@ -1001,6 +1008,9 @@ var ParamCreater = function () {
|
|
1001
1008
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1002
1009
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
1003
1010
|
}
|
1011
|
+
if (showSpecialConfigs !== null && showSpecialConfigs !== undefined) {
|
1012
|
+
localVarQueryParameter['show_special_configs'] = showSpecialConfigs;
|
1013
|
+
}
|
1004
1014
|
options.queryParams = localVarQueryParameter;
|
1005
1015
|
options.pathParams = { 'domain_name': domainName, };
|
1006
1016
|
options.headers = localVarHeaderParameter;
|
@@ -1402,7 +1412,8 @@ var ParamCreater = function () {
|
|
1402
1412
|
return options;
|
1403
1413
|
},
|
1404
1414
|
/**
|
1405
|
-
*
|
1415
|
+
* 修改域名配置接口,
|
1416
|
+
* 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
1406
1417
|
*
|
1407
1418
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1408
1419
|
*/
|
@@ -2,6 +2,8 @@ export declare class BackSources {
|
|
2
2
|
private 'sources_type';
|
3
3
|
private 'ip_or_domain';
|
4
4
|
private 'obs_bucket_type'?;
|
5
|
+
private 'http_port'?;
|
6
|
+
private 'https_port'?;
|
5
7
|
constructor(sourcesType?: any, ipOrDomain?: any);
|
6
8
|
withSourcesType(sourcesType: string): BackSources;
|
7
9
|
set sourcesType(sourcesType: string | undefined);
|
@@ -12,4 +14,10 @@ export declare class BackSources {
|
|
12
14
|
withObsBucketType(obsBucketType: string): BackSources;
|
13
15
|
set obsBucketType(obsBucketType: string | undefined);
|
14
16
|
get obsBucketType(): string | undefined;
|
17
|
+
withHttpPort(httpPort: number): BackSources;
|
18
|
+
set httpPort(httpPort: number | undefined);
|
19
|
+
get httpPort(): number | undefined;
|
20
|
+
withHttpsPort(httpsPort: number): BackSources;
|
21
|
+
set httpsPort(httpsPort: number | undefined);
|
22
|
+
get httpsPort(): number | undefined;
|
15
23
|
}
|
package/v2/model/BackSources.js
CHANGED
@@ -48,6 +48,34 @@ var BackSources = /** @class */ (function () {
|
|
48
48
|
enumerable: false,
|
49
49
|
configurable: true
|
50
50
|
});
|
51
|
+
BackSources.prototype.withHttpPort = function (httpPort) {
|
52
|
+
this['http_port'] = httpPort;
|
53
|
+
return this;
|
54
|
+
};
|
55
|
+
Object.defineProperty(BackSources.prototype, "httpPort", {
|
56
|
+
get: function () {
|
57
|
+
return this['http_port'];
|
58
|
+
},
|
59
|
+
set: function (httpPort) {
|
60
|
+
this['http_port'] = httpPort;
|
61
|
+
},
|
62
|
+
enumerable: false,
|
63
|
+
configurable: true
|
64
|
+
});
|
65
|
+
BackSources.prototype.withHttpsPort = function (httpsPort) {
|
66
|
+
this['https_port'] = httpsPort;
|
67
|
+
return this;
|
68
|
+
};
|
69
|
+
Object.defineProperty(BackSources.prototype, "httpsPort", {
|
70
|
+
get: function () {
|
71
|
+
return this['https_port'];
|
72
|
+
},
|
73
|
+
set: function (httpsPort) {
|
74
|
+
this['https_port'] = httpsPort;
|
75
|
+
},
|
76
|
+
enumerable: false,
|
77
|
+
configurable: true
|
78
|
+
});
|
51
79
|
return BackSources;
|
52
80
|
}());
|
53
81
|
exports.BackSources = BackSources;
|
@@ -39,4 +39,4 @@ var BatchCopyResultVoStatusEnum;
|
|
39
39
|
(function (BatchCopyResultVoStatusEnum) {
|
40
40
|
BatchCopyResultVoStatusEnum["SUCCESS"] = "success";
|
41
41
|
BatchCopyResultVoStatusEnum["FAIL"] = "fail";
|
42
|
-
})(BatchCopyResultVoStatusEnum
|
42
|
+
})(BatchCopyResultVoStatusEnum || (exports.BatchCopyResultVoStatusEnum = BatchCopyResultVoStatusEnum = {}));
|
package/v2/model/CustomArgs.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
export declare class CustomArgs {
|
2
|
-
type
|
3
|
-
key
|
4
|
-
value
|
5
|
-
constructor();
|
2
|
+
type: string;
|
3
|
+
key: string;
|
4
|
+
value: string;
|
5
|
+
constructor(type?: any, key?: any, value?: any);
|
6
6
|
withType(type: string): CustomArgs;
|
7
7
|
withKey(key: string): CustomArgs;
|
8
8
|
withValue(value: string): CustomArgs;
|
package/v2/model/CustomArgs.js
CHANGED
@@ -2,7 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CustomArgs = void 0;
|
4
4
|
var CustomArgs = /** @class */ (function () {
|
5
|
-
function CustomArgs() {
|
5
|
+
function CustomArgs(type, key, value) {
|
6
|
+
this['type'] = type;
|
7
|
+
this['key'] = key;
|
8
|
+
this['value'] = value;
|
6
9
|
}
|
7
10
|
CustomArgs.prototype.withType = function (type) {
|
8
11
|
this['type'] = type;
|
package/v2/model/Domains.js
CHANGED
@@ -250,4 +250,4 @@ var DomainsServiceAreaEnum;
|
|
250
250
|
DomainsServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
251
251
|
DomainsServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
252
252
|
DomainsServiceAreaEnum["GLOBAL"] = "global";
|
253
|
-
})(DomainsServiceAreaEnum
|
253
|
+
})(DomainsServiceAreaEnum || (exports.DomainsServiceAreaEnum = DomainsServiceAreaEnum = {}));
|
@@ -134,4 +134,4 @@ var DomainsWithPortServiceAreaEnum;
|
|
134
134
|
DomainsWithPortServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
135
135
|
DomainsWithPortServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
136
136
|
DomainsWithPortServiceAreaEnum["GLOBAL"] = "global";
|
137
|
-
})(DomainsWithPortServiceAreaEnum
|
137
|
+
})(DomainsWithPortServiceAreaEnum || (exports.DomainsWithPortServiceAreaEnum = DomainsWithPortServiceAreaEnum = {}));
|
@@ -1,23 +1,7 @@
|
|
1
1
|
export declare class ErrorCodeCache {
|
2
|
-
code?:
|
2
|
+
code?: number;
|
3
3
|
ttl?: number;
|
4
4
|
constructor();
|
5
|
-
withCode(code:
|
5
|
+
withCode(code: number): ErrorCodeCache;
|
6
6
|
withTtl(ttl: number): ErrorCodeCache;
|
7
7
|
}
|
8
|
-
/**
|
9
|
-
* @export
|
10
|
-
* @enum {string}
|
11
|
-
*/
|
12
|
-
export declare enum ErrorCodeCacheCodeEnum {
|
13
|
-
NUMBER_400 = 400,
|
14
|
-
NUMBER_403 = 403,
|
15
|
-
NUMBER_404 = 404,
|
16
|
-
NUMBER_405 = 405,
|
17
|
-
NUMBER_414 = 414,
|
18
|
-
NUMBER_500 = 500,
|
19
|
-
NUMBER_501 = 501,
|
20
|
-
NUMBER_502 = 502,
|
21
|
-
NUMBER_503 = 503,
|
22
|
-
NUMBER_504 = 504
|
23
|
-
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.ErrorCodeCache = void 0;
|
4
4
|
var ErrorCodeCache = /** @class */ (function () {
|
5
5
|
function ErrorCodeCache() {
|
6
6
|
}
|
@@ -15,20 +15,3 @@ var ErrorCodeCache = /** @class */ (function () {
|
|
15
15
|
return ErrorCodeCache;
|
16
16
|
}());
|
17
17
|
exports.ErrorCodeCache = ErrorCodeCache;
|
18
|
-
/**
|
19
|
-
* @export
|
20
|
-
* @enum {string}
|
21
|
-
*/
|
22
|
-
var ErrorCodeCacheCodeEnum;
|
23
|
-
(function (ErrorCodeCacheCodeEnum) {
|
24
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_400"] = 400] = "NUMBER_400";
|
25
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_403"] = 403] = "NUMBER_403";
|
26
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_404"] = 404] = "NUMBER_404";
|
27
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_405"] = 405] = "NUMBER_405";
|
28
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_414"] = 414] = "NUMBER_414";
|
29
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_500"] = 500] = "NUMBER_500";
|
30
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_501"] = 501] = "NUMBER_501";
|
31
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_502"] = 502] = "NUMBER_502";
|
32
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_503"] = 503] = "NUMBER_503";
|
33
|
-
ErrorCodeCacheCodeEnum[ErrorCodeCacheCodeEnum["NUMBER_504"] = 504] = "NUMBER_504";
|
34
|
-
})(ErrorCodeCacheCodeEnum = exports.ErrorCodeCacheCodeEnum || (exports.ErrorCodeCacheCodeEnum = {}));
|
@@ -3,8 +3,8 @@ export declare class FlexibleOrigins {
|
|
3
3
|
private 'match_type';
|
4
4
|
private 'match_pattern';
|
5
5
|
priority: number;
|
6
|
-
private 'back_sources'
|
7
|
-
constructor(matchType?: any, matchPattern?: any, priority?: any);
|
6
|
+
private 'back_sources';
|
7
|
+
constructor(matchType?: any, matchPattern?: any, priority?: any, backSources?: any);
|
8
8
|
withMatchType(matchType: string): FlexibleOrigins;
|
9
9
|
set matchType(matchType: string | undefined);
|
10
10
|
get matchType(): string | undefined;
|
@@ -2,10 +2,11 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.FlexibleOrigins = void 0;
|
4
4
|
var FlexibleOrigins = /** @class */ (function () {
|
5
|
-
function FlexibleOrigins(matchType, matchPattern, priority) {
|
5
|
+
function FlexibleOrigins(matchType, matchPattern, priority, backSources) {
|
6
6
|
this['match_type'] = matchType;
|
7
7
|
this['match_pattern'] = matchPattern;
|
8
8
|
this['priority'] = priority;
|
9
|
+
this['back_sources'] = backSources;
|
9
10
|
}
|
10
11
|
FlexibleOrigins.prototype.withMatchType = function (matchType) {
|
11
12
|
this['match_type'] = matchType;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare class ShowDomainFullConfigRequest {
|
2
2
|
private 'domain_name';
|
3
3
|
private 'enterprise_project_id'?;
|
4
|
+
private 'show_special_configs'?;
|
4
5
|
constructor(domainName?: any);
|
5
6
|
withDomainName(domainName: string): ShowDomainFullConfigRequest;
|
6
7
|
set domainName(domainName: string | undefined);
|
@@ -8,4 +9,7 @@ export declare class ShowDomainFullConfigRequest {
|
|
8
9
|
withEnterpriseProjectId(enterpriseProjectId: string): ShowDomainFullConfigRequest;
|
9
10
|
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
10
11
|
get enterpriseProjectId(): string | undefined;
|
12
|
+
withShowSpecialConfigs(showSpecialConfigs: string): ShowDomainFullConfigRequest;
|
13
|
+
set showSpecialConfigs(showSpecialConfigs: string | undefined);
|
14
|
+
get showSpecialConfigs(): string | undefined;
|
11
15
|
}
|
@@ -33,6 +33,20 @@ var ShowDomainFullConfigRequest = /** @class */ (function () {
|
|
33
33
|
enumerable: false,
|
34
34
|
configurable: true
|
35
35
|
});
|
36
|
+
ShowDomainFullConfigRequest.prototype.withShowSpecialConfigs = function (showSpecialConfigs) {
|
37
|
+
this['show_special_configs'] = showSpecialConfigs;
|
38
|
+
return this;
|
39
|
+
};
|
40
|
+
Object.defineProperty(ShowDomainFullConfigRequest.prototype, "showSpecialConfigs", {
|
41
|
+
get: function () {
|
42
|
+
return this['show_special_configs'];
|
43
|
+
},
|
44
|
+
set: function (showSpecialConfigs) {
|
45
|
+
this['show_special_configs'] = showSpecialConfigs;
|
46
|
+
},
|
47
|
+
enumerable: false,
|
48
|
+
configurable: true
|
49
|
+
});
|
36
50
|
return ShowDomainFullConfigRequest;
|
37
51
|
}());
|
38
52
|
exports.ShowDomainFullConfigRequest = ShowDomainFullConfigRequest;
|
package/v2/model/Sources.js
CHANGED
@@ -89,4 +89,4 @@ var SourcesOriginTypeEnum;
|
|
89
89
|
SourcesOriginTypeEnum["IPADDR"] = "ipaddr";
|
90
90
|
SourcesOriginTypeEnum["DOMAIN"] = "domain";
|
91
91
|
SourcesOriginTypeEnum["OBS_BUCKET"] = "obs_bucket";
|
92
|
-
})(SourcesOriginTypeEnum
|
92
|
+
})(SourcesOriginTypeEnum || (exports.SourcesOriginTypeEnum = SourcesOriginTypeEnum = {}));
|