@huaweicloud/huaweicloud-sdk-cdn 3.1.63 → 3.1.65
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 +2 -2
- package/v1/CdnClient.d.ts.map +1 -1
- package/v1/CdnClient.js +2 -2
- package/v1/CdnClient.js.map +1 -1
- package/v1/model/BackSources.d.ts +24 -0
- package/v1/model/BackSources.d.ts.map +1 -0
- package/v1/model/BackSources.js +61 -0
- package/v1/model/BackSources.js.map +1 -0
- package/v1/model/CommonRemoteAuth.d.ts +13 -0
- package/v1/model/CommonRemoteAuth.d.ts.map +1 -0
- package/v1/model/CommonRemoteAuth.js +31 -0
- package/v1/model/CommonRemoteAuth.js.map +1 -0
- package/v1/model/Compress.d.ts +4 -0
- package/v1/model/Compress.d.ts.map +1 -1
- package/v1/model/Compress.js +10 -0
- package/v1/model/Compress.js.map +1 -1
- package/v1/model/ConfigsGetBody.d.ts +56 -4
- package/v1/model/ConfigsGetBody.d.ts.map +1 -1
- package/v1/model/ConfigsGetBody.js +116 -10
- package/v1/model/ConfigsGetBody.js.map +1 -1
- package/v1/model/CustomArgs.d.ts +10 -0
- package/v1/model/CustomArgs.d.ts.map +1 -0
- package/v1/model/CustomArgs.js +24 -0
- package/v1/model/CustomArgs.js.map +1 -0
- package/v1/model/FlexibleOrigins.d.ts +19 -0
- package/v1/model/FlexibleOrigins.d.ts.map +1 -0
- package/v1/model/FlexibleOrigins.js +47 -0
- package/v1/model/FlexibleOrigins.js.map +1 -0
- package/v1/model/HstsQuery.d.ts +14 -0
- package/v1/model/HstsQuery.d.ts.map +1 -0
- package/v1/model/HstsQuery.js +34 -0
- package/v1/model/HstsQuery.js.map +1 -0
- package/v1/model/HttpGetBody.d.ts +12 -0
- package/v1/model/HttpGetBody.d.ts.map +1 -1
- package/v1/model/HttpGetBody.js +30 -0
- package/v1/model/HttpGetBody.js.map +1 -1
- package/v1/model/InheritConfigQuery.d.ts +14 -0
- package/v1/model/InheritConfigQuery.d.ts.map +1 -0
- package/v1/model/InheritConfigQuery.js +34 -0
- package/v1/model/InheritConfigQuery.js.map +1 -0
- package/v1/model/IpFrequencyLimitQuery.d.ts +8 -0
- package/v1/model/IpFrequencyLimitQuery.d.ts.map +1 -0
- package/v1/model/IpFrequencyLimitQuery.js +18 -0
- package/v1/model/IpFrequencyLimitQuery.js.map +1 -0
- package/v1/model/Quic.d.ts +6 -0
- package/v1/model/Quic.d.ts.map +1 -0
- package/v1/model/Quic.js +14 -0
- package/v1/model/Quic.js.map +1 -0
- package/v1/model/RemoteAuthRuleVo.d.ts +63 -0
- package/v1/model/RemoteAuthRuleVo.d.ts.map +1 -0
- package/v1/model/RemoteAuthRuleVo.js +163 -0
- package/v1/model/RemoteAuthRuleVo.js.map +1 -0
- package/v1/model/RequestLimitRules.d.ts +26 -0
- package/v1/model/RequestLimitRules.d.ts.map +1 -0
- package/v1/model/RequestLimitRules.js +66 -0
- package/v1/model/RequestLimitRules.js.map +1 -0
- package/v1/model/SourcesConfig.d.ts +27 -5
- package/v1/model/SourcesConfig.d.ts.map +1 -1
- package/v1/model/SourcesConfig.js +66 -12
- package/v1/model/SourcesConfig.js.map +1 -1
- package/v1/model/UrlAuthGetBody.d.ts +27 -4
- package/v1/model/UrlAuthGetBody.d.ts.map +1 -1
- package/v1/model/UrlAuthGetBody.js +64 -10
- package/v1/model/UrlAuthGetBody.js.map +1 -1
- package/v1/model/UserAgentFilter.d.ts +4 -0
- package/v1/model/UserAgentFilter.d.ts.map +1 -1
- package/v1/model/UserAgentFilter.js +10 -0
- package/v1/model/UserAgentFilter.js.map +1 -1
- package/v1/model/VideoSeek.d.ts +20 -0
- package/v1/model/VideoSeek.d.ts.map +1 -0
- package/v1/model/VideoSeek.js +50 -0
- package/v1/model/VideoSeek.js.map +1 -0
- package/v1/model/WebSocketSeek.d.ts +8 -0
- package/v1/model/WebSocketSeek.d.ts.map +1 -0
- package/v1/model/WebSocketSeek.js +19 -0
- package/v1/model/WebSocketSeek.js.map +1 -0
- package/v1/public-api.d.ts +12 -0
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +12 -0
- package/v1/public-api.js.map +1 -1
- package/v2/CdnClient.d.ts +2 -2
- package/v2/CdnClient.js +2 -2
- package/v2/model/Compress.d.ts +1 -1
- package/v2/model/Compress.d.ts.map +1 -1
- package/v2/model/Compress.js +1 -2
- package/v2/model/Compress.js.map +1 -1
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare class InheritConfigQuery {
|
2
|
+
status?: string;
|
3
|
+
private 'inherit_type'?;
|
4
|
+
private 'inherit_time_type'?;
|
5
|
+
constructor(status?: string);
|
6
|
+
withStatus(status: string): InheritConfigQuery;
|
7
|
+
withInheritType(inheritType: string): InheritConfigQuery;
|
8
|
+
set inheritType(inheritType: string | undefined);
|
9
|
+
get inheritType(): string | undefined;
|
10
|
+
withInheritTimeType(inheritTimeType: string): InheritConfigQuery;
|
11
|
+
set inheritTimeType(inheritTimeType: string | undefined);
|
12
|
+
get inheritTimeType(): string | undefined;
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=InheritConfigQuery.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"InheritConfigQuery.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/InheritConfigQuery.ts"],"names":[],"mappings":"AAEA,qBAAa,kBAAkB;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,cAAc,CAAC,CAAS;IAChC,OAAO,CAAC,mBAAmB,CAAC,CAAS;gBAClB,MAAM,CAAC,EAAE,MAAM;IAG3B,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB;IAI9C,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB;IAI/D,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;IACM,mBAAmB,CAAC,eAAe,EAAE,MAAM,GAAG,kBAAkB;IAIvE,IAAW,eAAe,CAAC,eAAe,EAAE,MAAM,GAAI,SAAS,EAE9D;IACD,IAAW,eAAe,IAAI,MAAM,GAAG,SAAS,CAE/C;CACJ"}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.InheritConfigQuery = void 0;
|
4
|
+
class InheritConfigQuery {
|
5
|
+
constructor(status) {
|
6
|
+
this['status'] = status;
|
7
|
+
}
|
8
|
+
withStatus(status) {
|
9
|
+
this['status'] = status;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
withInheritType(inheritType) {
|
13
|
+
this['inherit_type'] = inheritType;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
set inheritType(inheritType) {
|
17
|
+
this['inherit_type'] = inheritType;
|
18
|
+
}
|
19
|
+
get inheritType() {
|
20
|
+
return this['inherit_type'];
|
21
|
+
}
|
22
|
+
withInheritTimeType(inheritTimeType) {
|
23
|
+
this['inherit_time_type'] = inheritTimeType;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
set inheritTimeType(inheritTimeType) {
|
27
|
+
this['inherit_time_type'] = inheritTimeType;
|
28
|
+
}
|
29
|
+
get inheritTimeType() {
|
30
|
+
return this['inherit_time_type'];
|
31
|
+
}
|
32
|
+
}
|
33
|
+
exports.InheritConfigQuery = InheritConfigQuery;
|
34
|
+
//# sourceMappingURL=InheritConfigQuery.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"InheritConfigQuery.js","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/InheritConfigQuery.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;IAI3B,YAAmB,MAAe;QAC9B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;IAC5B,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,WAAW,CAAC,WAAgC;QACnD,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACD,IAAW,WAAW;QAClB,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC;IAChC,CAAC;IACM,mBAAmB,CAAC,eAAuB;QAC9C,IAAI,CAAC,mBAAmB,CAAC,GAAG,eAAe,CAAC;QAC5C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,eAAe,CAAC,eAAoC;QAC3D,IAAI,CAAC,mBAAmB,CAAC,GAAG,eAAe,CAAC;IAChD,CAAC;IACD,IAAW,eAAe;QACtB,OAAO,IAAI,CAAC,mBAAmB,CAAC,CAAC;IACrC,CAAC;CACJ;AA/BD,gDA+BC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare class IpFrequencyLimitQuery {
|
2
|
+
status?: string;
|
3
|
+
qps?: number;
|
4
|
+
constructor(status?: string);
|
5
|
+
withStatus(status: string): IpFrequencyLimitQuery;
|
6
|
+
withQps(qps: number): IpFrequencyLimitQuery;
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=IpFrequencyLimitQuery.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IpFrequencyLimitQuery.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/IpFrequencyLimitQuery.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;gBACD,MAAM,CAAC,EAAE,MAAM;IAG3B,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,qBAAqB;IAIjD,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB;CAIrD"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IpFrequencyLimitQuery = void 0;
|
4
|
+
class IpFrequencyLimitQuery {
|
5
|
+
constructor(status) {
|
6
|
+
this['status'] = status;
|
7
|
+
}
|
8
|
+
withStatus(status) {
|
9
|
+
this['status'] = status;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
withQps(qps) {
|
13
|
+
this['qps'] = qps;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
exports.IpFrequencyLimitQuery = IpFrequencyLimitQuery;
|
18
|
+
//# sourceMappingURL=IpFrequencyLimitQuery.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IpFrequencyLimitQuery.js","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/IpFrequencyLimitQuery.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;IAG9B,YAAmB,MAAe;QAC9B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;IAC5B,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,OAAO,CAAC,GAAW;QACtB,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAdD,sDAcC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Quic.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/Quic.ts"],"names":[],"mappings":"AAEA,qBAAa,IAAI;IACN,MAAM,CAAC,EAAE,MAAM,CAAC;gBACJ,MAAM,CAAC,EAAE,MAAM;IAG3B,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;CAI1C"}
|
package/v1/model/Quic.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Quic = void 0;
|
4
|
+
class Quic {
|
5
|
+
constructor(status) {
|
6
|
+
this['status'] = status;
|
7
|
+
}
|
8
|
+
withStatus(status) {
|
9
|
+
this['status'] = status;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
exports.Quic = Quic;
|
14
|
+
//# sourceMappingURL=Quic.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Quic.js","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/Quic.ts"],"names":[],"mappings":";;;AAEA,MAAa,IAAI;IAEb,YAAmB,MAAe;QAC9B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;IAC5B,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AATD,oBASC"}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
import { CustomArgs } from './CustomArgs';
|
2
|
+
export declare class RemoteAuthRuleVo {
|
3
|
+
private 'auth_server'?;
|
4
|
+
private 'request_method'?;
|
5
|
+
private 'file_type_setting'?;
|
6
|
+
private 'specified_file_type'?;
|
7
|
+
private 'reserve_args_setting'?;
|
8
|
+
private 'reserve_args'?;
|
9
|
+
private 'add_custom_args_rules'?;
|
10
|
+
private 'reserve_headers_setting'?;
|
11
|
+
private 'add_custom_headers_rules'?;
|
12
|
+
private 'auth_success_status'?;
|
13
|
+
private 'auth_failed_status'?;
|
14
|
+
private 'response_status'?;
|
15
|
+
timeout?: number;
|
16
|
+
private 'timeout_action'?;
|
17
|
+
private 'reserve_headers'?;
|
18
|
+
constructor(authServer?: string, requestMethod?: string, fileTypeSetting?: string, reserveArgsSetting?: string, reserveHeadersSetting?: string, authSuccessStatus?: string, authFailedStatus?: string, responseStatus?: string, timeout?: number, timeoutAction?: string);
|
19
|
+
withAuthServer(authServer: string): RemoteAuthRuleVo;
|
20
|
+
set authServer(authServer: string | undefined);
|
21
|
+
get authServer(): string | undefined;
|
22
|
+
withRequestMethod(requestMethod: string): RemoteAuthRuleVo;
|
23
|
+
set requestMethod(requestMethod: string | undefined);
|
24
|
+
get requestMethod(): string | undefined;
|
25
|
+
withFileTypeSetting(fileTypeSetting: string): RemoteAuthRuleVo;
|
26
|
+
set fileTypeSetting(fileTypeSetting: string | undefined);
|
27
|
+
get fileTypeSetting(): string | undefined;
|
28
|
+
withSpecifiedFileType(specifiedFileType: string): RemoteAuthRuleVo;
|
29
|
+
set specifiedFileType(specifiedFileType: string | undefined);
|
30
|
+
get specifiedFileType(): string | undefined;
|
31
|
+
withReserveArgsSetting(reserveArgsSetting: string): RemoteAuthRuleVo;
|
32
|
+
set reserveArgsSetting(reserveArgsSetting: string | undefined);
|
33
|
+
get reserveArgsSetting(): string | undefined;
|
34
|
+
withReserveArgs(reserveArgs: string): RemoteAuthRuleVo;
|
35
|
+
set reserveArgs(reserveArgs: string | undefined);
|
36
|
+
get reserveArgs(): string | undefined;
|
37
|
+
withAddCustomArgsRules(addCustomArgsRules: Array<CustomArgs>): RemoteAuthRuleVo;
|
38
|
+
set addCustomArgsRules(addCustomArgsRules: Array<CustomArgs> | undefined);
|
39
|
+
get addCustomArgsRules(): Array<CustomArgs> | undefined;
|
40
|
+
withReserveHeadersSetting(reserveHeadersSetting: string): RemoteAuthRuleVo;
|
41
|
+
set reserveHeadersSetting(reserveHeadersSetting: string | undefined);
|
42
|
+
get reserveHeadersSetting(): string | undefined;
|
43
|
+
withAddCustomHeadersRules(addCustomHeadersRules: Array<CustomArgs>): RemoteAuthRuleVo;
|
44
|
+
set addCustomHeadersRules(addCustomHeadersRules: Array<CustomArgs> | undefined);
|
45
|
+
get addCustomHeadersRules(): Array<CustomArgs> | undefined;
|
46
|
+
withAuthSuccessStatus(authSuccessStatus: string): RemoteAuthRuleVo;
|
47
|
+
set authSuccessStatus(authSuccessStatus: string | undefined);
|
48
|
+
get authSuccessStatus(): string | undefined;
|
49
|
+
withAuthFailedStatus(authFailedStatus: string): RemoteAuthRuleVo;
|
50
|
+
set authFailedStatus(authFailedStatus: string | undefined);
|
51
|
+
get authFailedStatus(): string | undefined;
|
52
|
+
withResponseStatus(responseStatus: string): RemoteAuthRuleVo;
|
53
|
+
set responseStatus(responseStatus: string | undefined);
|
54
|
+
get responseStatus(): string | undefined;
|
55
|
+
withTimeout(timeout: number): RemoteAuthRuleVo;
|
56
|
+
withTimeoutAction(timeoutAction: string): RemoteAuthRuleVo;
|
57
|
+
set timeoutAction(timeoutAction: string | undefined);
|
58
|
+
get timeoutAction(): string | undefined;
|
59
|
+
withReserveHeaders(reserveHeaders: string): RemoteAuthRuleVo;
|
60
|
+
set reserveHeaders(reserveHeaders: string | undefined);
|
61
|
+
get reserveHeaders(): string | undefined;
|
62
|
+
}
|
63
|
+
//# sourceMappingURL=RemoteAuthRuleVo.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RemoteAuthRuleVo.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/RemoteAuthRuleVo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,qBAAa,gBAAgB;IACzB,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,gBAAgB,CAAC,CAAS;IAClC,OAAO,CAAC,mBAAmB,CAAC,CAAS;IACrC,OAAO,CAAC,qBAAqB,CAAC,CAAS;IACvC,OAAO,CAAC,sBAAsB,CAAC,CAAS;IACxC,OAAO,CAAC,cAAc,CAAC,CAAS;IAChC,OAAO,CAAC,uBAAuB,CAAC,CAAoB;IACpD,OAAO,CAAC,yBAAyB,CAAC,CAAS;IAC3C,OAAO,CAAC,0BAA0B,CAAC,CAAoB;IACvD,OAAO,CAAC,qBAAqB,CAAC,CAAS;IACvC,OAAO,CAAC,oBAAoB,CAAC,CAAS;IACtC,OAAO,CAAC,iBAAiB,CAAC,CAA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EAAE,MAAM,GAAI,SAAS,EAE5D;IACD,IAAW,cAAc,IAAI,MAAM,GAAG,SAAS,CAE9C;IACM,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB;IAI9C,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,gBAAgB;IAIjE,IAAW,aAAa,CAAC,aAAa,EAAE,MAAM,GAAI,SAAS,EAE1D;IACD,IAAW,aAAa,IAAI,MAAM,GAAG,SAAS,CAE7C;IACM,kBAAkB,CAAC,cAAc,EAAE,MAAM,GAAG,gBAAgB;IAInE,IAAW,cAAc,CAAC,cAAc,EAAE,MAAM,GAAI,SAAS,EAE5D;IACD,IAAW,cAAc,IAAI,MAAM,GAAG,SAAS,CAE9C;CACJ"}
|
@@ -0,0 +1,163 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RemoteAuthRuleVo = void 0;
|
4
|
+
class RemoteAuthRuleVo {
|
5
|
+
constructor(authServer, requestMethod, fileTypeSetting, reserveArgsSetting, reserveHeadersSetting, authSuccessStatus, authFailedStatus, responseStatus, timeout, timeoutAction) {
|
6
|
+
this['auth_server'] = authServer;
|
7
|
+
this['request_method'] = requestMethod;
|
8
|
+
this['file_type_setting'] = fileTypeSetting;
|
9
|
+
this['reserve_args_setting'] = reserveArgsSetting;
|
10
|
+
this['reserve_headers_setting'] = reserveHeadersSetting;
|
11
|
+
this['auth_success_status'] = authSuccessStatus;
|
12
|
+
this['auth_failed_status'] = authFailedStatus;
|
13
|
+
this['response_status'] = responseStatus;
|
14
|
+
this['timeout'] = timeout;
|
15
|
+
this['timeout_action'] = timeoutAction;
|
16
|
+
}
|
17
|
+
withAuthServer(authServer) {
|
18
|
+
this['auth_server'] = authServer;
|
19
|
+
return this;
|
20
|
+
}
|
21
|
+
set authServer(authServer) {
|
22
|
+
this['auth_server'] = authServer;
|
23
|
+
}
|
24
|
+
get authServer() {
|
25
|
+
return this['auth_server'];
|
26
|
+
}
|
27
|
+
withRequestMethod(requestMethod) {
|
28
|
+
this['request_method'] = requestMethod;
|
29
|
+
return this;
|
30
|
+
}
|
31
|
+
set requestMethod(requestMethod) {
|
32
|
+
this['request_method'] = requestMethod;
|
33
|
+
}
|
34
|
+
get requestMethod() {
|
35
|
+
return this['request_method'];
|
36
|
+
}
|
37
|
+
withFileTypeSetting(fileTypeSetting) {
|
38
|
+
this['file_type_setting'] = fileTypeSetting;
|
39
|
+
return this;
|
40
|
+
}
|
41
|
+
set fileTypeSetting(fileTypeSetting) {
|
42
|
+
this['file_type_setting'] = fileTypeSetting;
|
43
|
+
}
|
44
|
+
get fileTypeSetting() {
|
45
|
+
return this['file_type_setting'];
|
46
|
+
}
|
47
|
+
withSpecifiedFileType(specifiedFileType) {
|
48
|
+
this['specified_file_type'] = specifiedFileType;
|
49
|
+
return this;
|
50
|
+
}
|
51
|
+
set specifiedFileType(specifiedFileType) {
|
52
|
+
this['specified_file_type'] = specifiedFileType;
|
53
|
+
}
|
54
|
+
get specifiedFileType() {
|
55
|
+
return this['specified_file_type'];
|
56
|
+
}
|
57
|
+
withReserveArgsSetting(reserveArgsSetting) {
|
58
|
+
this['reserve_args_setting'] = reserveArgsSetting;
|
59
|
+
return this;
|
60
|
+
}
|
61
|
+
set reserveArgsSetting(reserveArgsSetting) {
|
62
|
+
this['reserve_args_setting'] = reserveArgsSetting;
|
63
|
+
}
|
64
|
+
get reserveArgsSetting() {
|
65
|
+
return this['reserve_args_setting'];
|
66
|
+
}
|
67
|
+
withReserveArgs(reserveArgs) {
|
68
|
+
this['reserve_args'] = reserveArgs;
|
69
|
+
return this;
|
70
|
+
}
|
71
|
+
set reserveArgs(reserveArgs) {
|
72
|
+
this['reserve_args'] = reserveArgs;
|
73
|
+
}
|
74
|
+
get reserveArgs() {
|
75
|
+
return this['reserve_args'];
|
76
|
+
}
|
77
|
+
withAddCustomArgsRules(addCustomArgsRules) {
|
78
|
+
this['add_custom_args_rules'] = addCustomArgsRules;
|
79
|
+
return this;
|
80
|
+
}
|
81
|
+
set addCustomArgsRules(addCustomArgsRules) {
|
82
|
+
this['add_custom_args_rules'] = addCustomArgsRules;
|
83
|
+
}
|
84
|
+
get addCustomArgsRules() {
|
85
|
+
return this['add_custom_args_rules'];
|
86
|
+
}
|
87
|
+
withReserveHeadersSetting(reserveHeadersSetting) {
|
88
|
+
this['reserve_headers_setting'] = reserveHeadersSetting;
|
89
|
+
return this;
|
90
|
+
}
|
91
|
+
set reserveHeadersSetting(reserveHeadersSetting) {
|
92
|
+
this['reserve_headers_setting'] = reserveHeadersSetting;
|
93
|
+
}
|
94
|
+
get reserveHeadersSetting() {
|
95
|
+
return this['reserve_headers_setting'];
|
96
|
+
}
|
97
|
+
withAddCustomHeadersRules(addCustomHeadersRules) {
|
98
|
+
this['add_custom_headers_rules'] = addCustomHeadersRules;
|
99
|
+
return this;
|
100
|
+
}
|
101
|
+
set addCustomHeadersRules(addCustomHeadersRules) {
|
102
|
+
this['add_custom_headers_rules'] = addCustomHeadersRules;
|
103
|
+
}
|
104
|
+
get addCustomHeadersRules() {
|
105
|
+
return this['add_custom_headers_rules'];
|
106
|
+
}
|
107
|
+
withAuthSuccessStatus(authSuccessStatus) {
|
108
|
+
this['auth_success_status'] = authSuccessStatus;
|
109
|
+
return this;
|
110
|
+
}
|
111
|
+
set authSuccessStatus(authSuccessStatus) {
|
112
|
+
this['auth_success_status'] = authSuccessStatus;
|
113
|
+
}
|
114
|
+
get authSuccessStatus() {
|
115
|
+
return this['auth_success_status'];
|
116
|
+
}
|
117
|
+
withAuthFailedStatus(authFailedStatus) {
|
118
|
+
this['auth_failed_status'] = authFailedStatus;
|
119
|
+
return this;
|
120
|
+
}
|
121
|
+
set authFailedStatus(authFailedStatus) {
|
122
|
+
this['auth_failed_status'] = authFailedStatus;
|
123
|
+
}
|
124
|
+
get authFailedStatus() {
|
125
|
+
return this['auth_failed_status'];
|
126
|
+
}
|
127
|
+
withResponseStatus(responseStatus) {
|
128
|
+
this['response_status'] = responseStatus;
|
129
|
+
return this;
|
130
|
+
}
|
131
|
+
set responseStatus(responseStatus) {
|
132
|
+
this['response_status'] = responseStatus;
|
133
|
+
}
|
134
|
+
get responseStatus() {
|
135
|
+
return this['response_status'];
|
136
|
+
}
|
137
|
+
withTimeout(timeout) {
|
138
|
+
this['timeout'] = timeout;
|
139
|
+
return this;
|
140
|
+
}
|
141
|
+
withTimeoutAction(timeoutAction) {
|
142
|
+
this['timeout_action'] = timeoutAction;
|
143
|
+
return this;
|
144
|
+
}
|
145
|
+
set timeoutAction(timeoutAction) {
|
146
|
+
this['timeout_action'] = timeoutAction;
|
147
|
+
}
|
148
|
+
get timeoutAction() {
|
149
|
+
return this['timeout_action'];
|
150
|
+
}
|
151
|
+
withReserveHeaders(reserveHeaders) {
|
152
|
+
this['reserve_headers'] = reserveHeaders;
|
153
|
+
return this;
|
154
|
+
}
|
155
|
+
set reserveHeaders(reserveHeaders) {
|
156
|
+
this['reserve_headers'] = reserveHeaders;
|
157
|
+
}
|
158
|
+
get reserveHeaders() {
|
159
|
+
return this['reserve_headers'];
|
160
|
+
}
|
161
|
+
}
|
162
|
+
exports.RemoteAuthRuleVo = RemoteAuthRuleVo;
|
163
|
+
//# sourceMappingURL=RemoteAuthRuleVo.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RemoteAuthRuleVo.js","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/RemoteAuthRuleVo.ts"],"names":[],"mappings":";;;AAGA,MAAa,gBAAgB;IAgBzB,YAAmB,UAAmB,EAAE,aAAsB,EAAE,eAAwB,EAAE,kBAA2B,EAAE,qBAA8B,EAAE,iBAA0B,EAAE,gBAAyB,EAAE,cAAuB,EAAE,OAAgB,EAAE,aAAsB;QAC3Q,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;QACvC,IAAI,CAAC,mBAAmB,CAAC,GAAG,eAAe,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I,CAAC,iBAAiB,CAAC,GAAG,cAAc,CAAC;IAC7C,CAAC;IACD,IAAW,cAAc;QACrB,OAAO,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACnC,CAAC;IACM,WAAW,CAAC,OAAe;QAC9B,IAAI,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;QAC1B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iBAAiB,CAAC,aAAqB;QAC1C,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,aAAa,CAAC,aAAkC;QACvD,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;IAC3C,CAAC;IACD,IAAW,aAAa;QACpB,OAAO,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAClC,CAAC;IACM,kBAAkB,CAAC,cAAsB;QAC5C,IAAI,CAAC,iBAAiB,CAAC,GAAG,cAAc,CAAC;QACzC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,cAAc,CAAC,cAAmC;QACzD,IAAI,CAAC,iBAAiB,CAAC,GAAG,cAAc,CAAC;IAC7C,CAAC;IACD,IAAW,cAAc;QACrB,OAAO,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACnC,CAAC;CACJ;AA5KD,4CA4KC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export declare class RequestLimitRules {
|
2
|
+
status?: string;
|
3
|
+
priority?: number;
|
4
|
+
private 'match_type'?;
|
5
|
+
private 'match_value'?;
|
6
|
+
type?: string;
|
7
|
+
private 'limit_rate_after'?;
|
8
|
+
private 'limit_rate_value'?;
|
9
|
+
constructor(priority?: number, matchType?: string, type?: string, limitRateAfter?: number, limitRateValue?: number);
|
10
|
+
withStatus(status: string): RequestLimitRules;
|
11
|
+
withPriority(priority: number): RequestLimitRules;
|
12
|
+
withMatchType(matchType: string): RequestLimitRules;
|
13
|
+
set matchType(matchType: string | undefined);
|
14
|
+
get matchType(): string | undefined;
|
15
|
+
withMatchValue(matchValue: string): RequestLimitRules;
|
16
|
+
set matchValue(matchValue: string | undefined);
|
17
|
+
get matchValue(): string | undefined;
|
18
|
+
withType(type: string): RequestLimitRules;
|
19
|
+
withLimitRateAfter(limitRateAfter: number): RequestLimitRules;
|
20
|
+
set limitRateAfter(limitRateAfter: number | undefined);
|
21
|
+
get limitRateAfter(): number | undefined;
|
22
|
+
withLimitRateValue(limitRateValue: number): RequestLimitRules;
|
23
|
+
set limitRateValue(limitRateValue: number | undefined);
|
24
|
+
get limitRateValue(): number | undefined;
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=RequestLimitRules.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RequestLimitRules.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/RequestLimitRules.ts"],"names":[],"mappings":"AAEA,qBAAa,iBAAiB;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,aAAa,CAAC,CAAS;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,kBAAkB,CAAC,CAAS;IACpC,OAAO,CAAC,kBAAkB,CAAC,CAAS;gBACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM;IAOlH,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,iBAAiB;IAI7C,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,iBAAiB;IAIjD,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,iBAAiB;IAI1D,IAAW,SAAS,CAAC,SAAS,EAAE,MAAM,GAAI,SAAS,EAElD;IACD,IAAW,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;IACM,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,iBAAiB;IAI5D,IAAW,UAAU,CAAC,UAAU,EAAE,MAAM,GAAI,SAAS,EAEpD;IACD,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;IACM,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB;IAIzC,kBAAkB,CAAC,cAAc,EAAE,MAAM,GAAG,iBAAiB;IAIpE,IAAW,cAAc,CAAC,cAAc,EAAE,MAAM,GAAI,SAAS,EAE5D;IACD,IAAW,cAAc,IAAI,MAAM,GAAG,SAAS,CAE9C;IACM,kBAAkB,CAAC,cAAc,EAAE,MAAM,GAAG,iBAAiB;IAIpE,IAAW,cAAc,CAAC,cAAc,EAAE,MAAM,GAAI,SAAS,EAE5D;IACD,IAAW,cAAc,IAAI,MAAM,GAAG,SAAS,CAE9C;CACJ"}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RequestLimitRules = void 0;
|
4
|
+
class RequestLimitRules {
|
5
|
+
constructor(priority, matchType, type, limitRateAfter, limitRateValue) {
|
6
|
+
this['priority'] = priority;
|
7
|
+
this['match_type'] = matchType;
|
8
|
+
this['type'] = type;
|
9
|
+
this['limit_rate_after'] = limitRateAfter;
|
10
|
+
this['limit_rate_value'] = limitRateValue;
|
11
|
+
}
|
12
|
+
withStatus(status) {
|
13
|
+
this['status'] = status;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
withPriority(priority) {
|
17
|
+
this['priority'] = priority;
|
18
|
+
return this;
|
19
|
+
}
|
20
|
+
withMatchType(matchType) {
|
21
|
+
this['match_type'] = matchType;
|
22
|
+
return this;
|
23
|
+
}
|
24
|
+
set matchType(matchType) {
|
25
|
+
this['match_type'] = matchType;
|
26
|
+
}
|
27
|
+
get matchType() {
|
28
|
+
return this['match_type'];
|
29
|
+
}
|
30
|
+
withMatchValue(matchValue) {
|
31
|
+
this['match_value'] = matchValue;
|
32
|
+
return this;
|
33
|
+
}
|
34
|
+
set matchValue(matchValue) {
|
35
|
+
this['match_value'] = matchValue;
|
36
|
+
}
|
37
|
+
get matchValue() {
|
38
|
+
return this['match_value'];
|
39
|
+
}
|
40
|
+
withType(type) {
|
41
|
+
this['type'] = type;
|
42
|
+
return this;
|
43
|
+
}
|
44
|
+
withLimitRateAfter(limitRateAfter) {
|
45
|
+
this['limit_rate_after'] = limitRateAfter;
|
46
|
+
return this;
|
47
|
+
}
|
48
|
+
set limitRateAfter(limitRateAfter) {
|
49
|
+
this['limit_rate_after'] = limitRateAfter;
|
50
|
+
}
|
51
|
+
get limitRateAfter() {
|
52
|
+
return this['limit_rate_after'];
|
53
|
+
}
|
54
|
+
withLimitRateValue(limitRateValue) {
|
55
|
+
this['limit_rate_value'] = limitRateValue;
|
56
|
+
return this;
|
57
|
+
}
|
58
|
+
set limitRateValue(limitRateValue) {
|
59
|
+
this['limit_rate_value'] = limitRateValue;
|
60
|
+
}
|
61
|
+
get limitRateValue() {
|
62
|
+
return this['limit_rate_value'];
|
63
|
+
}
|
64
|
+
}
|
65
|
+
exports.RequestLimitRules = RequestLimitRules;
|
66
|
+
//# sourceMappingURL=RequestLimitRules.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RequestLimitRules.js","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/RequestLimitRules.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IAQ1B,YAAmB,QAAiB,EAAE,SAAkB,EAAE,IAAa,EAAE,cAAuB,EAAE,cAAuB;QACrH,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,kBAAkB,CAAC,GAAG,cAAc,CAAC;QAC1C,IAAI,CAAC,kBAAkB,CAAC,GAA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AkB,CAAC,GAAG,cAAc,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,cAAc,CAAC,cAAmC;QACzD,IAAI,CAAC,kBAAkB,CAAC,GAAG,cAAc,CAAC;IAC9C,CAAC;IACD,IAAW,cAAc;QACrB,OAAO,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACpC,CAAC;CACJ;AAnED,8CAmEC"}
|
@@ -1,19 +1,26 @@
|
|
1
1
|
export declare class SourcesConfig {
|
2
|
-
private 'origin_addr'?;
|
3
2
|
private 'origin_type'?;
|
3
|
+
private 'origin_addr'?;
|
4
4
|
priority?: number;
|
5
|
+
weight?: number;
|
5
6
|
private 'obs_web_hosting_status'?;
|
6
7
|
private 'http_port'?;
|
7
8
|
private 'https_port'?;
|
8
9
|
private 'host_name'?;
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
private 'obs_bucket_type'?;
|
11
|
+
private 'bucket_access_key'?;
|
12
|
+
private 'bucket_secret_key'?;
|
13
|
+
private 'bucket_region'?;
|
14
|
+
private 'bucket_name'?;
|
15
|
+
constructor(originType?: string, originAddr?: string, priority?: number);
|
13
16
|
withOriginType(originType: string): SourcesConfig;
|
14
17
|
set originType(originType: string | undefined);
|
15
18
|
get originType(): string | undefined;
|
19
|
+
withOriginAddr(originAddr: string): SourcesConfig;
|
20
|
+
set originAddr(originAddr: string | undefined);
|
21
|
+
get originAddr(): string | undefined;
|
16
22
|
withPriority(priority: number): SourcesConfig;
|
23
|
+
withWeight(weight: number): SourcesConfig;
|
17
24
|
withObsWebHostingStatus(obsWebHostingStatus: string): SourcesConfig;
|
18
25
|
set obsWebHostingStatus(obsWebHostingStatus: string | undefined);
|
19
26
|
get obsWebHostingStatus(): string | undefined;
|
@@ -26,5 +33,20 @@ export declare class SourcesConfig {
|
|
26
33
|
withHostName(hostName: string): SourcesConfig;
|
27
34
|
set hostName(hostName: string | undefined);
|
28
35
|
get hostName(): string | undefined;
|
36
|
+
withObsBucketType(obsBucketType: string): SourcesConfig;
|
37
|
+
set obsBucketType(obsBucketType: string | undefined);
|
38
|
+
get obsBucketType(): string | undefined;
|
39
|
+
withBucketAccessKey(bucketAccessKey: string): SourcesConfig;
|
40
|
+
set bucketAccessKey(bucketAccessKey: string | undefined);
|
41
|
+
get bucketAccessKey(): string | undefined;
|
42
|
+
withBucketSecretKey(bucketSecretKey: string): SourcesConfig;
|
43
|
+
set bucketSecretKey(bucketSecretKey: string | undefined);
|
44
|
+
get bucketSecretKey(): string | undefined;
|
45
|
+
withBucketRegion(bucketRegion: string): SourcesConfig;
|
46
|
+
set bucketRegion(bucketRegion: string | undefined);
|
47
|
+
get bucketRegion(): string | undefined;
|
48
|
+
withBucketName(bucketName: string): SourcesConfig;
|
49
|
+
set bucketName(bucketName: string | undefined);
|
50
|
+
get bucketName(): string | undefined;
|
29
51
|
}
|
30
52
|
//# sourceMappingURL=SourcesConfig.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SourcesConfig.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/SourcesConfig.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IACtB,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,aAAa,CAAC,CAAS;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"SourcesConfig.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v1/model/SourcesConfig.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IACtB,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,aAAa,CAAC,CAAS;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,wBAAwB,CAAC,CAAS;IAC1C,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,WA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AAM,GAAG,aAAa;IAIpD,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;IACM,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,aAAa;IAI9D,IAAW,aAAa,CAAC,aAAa,EAAE,MAAM,GAAI,SAAS,EAE1D;IACD,IAAW,aAAa,IAAI,MAAM,GAAG,SAAS,CAE7C;IACM,mBAAmB,CAAC,eAAe,EAAE,MAAM,GAAG,aAAa;IAIlE,IAAW,eAAe,CAAC,eAAe,EAAE,MAAM,GAAI,SAAS,EAE9D;IACD,IAAW,eAAe,IAAI,MAAM,GAAG,SAAS,CAE/C;IACM,mBAAmB,CAAC,eAAe,EAAE,MAAM,GAAG,aAAa;IAIlE,IAAW,eAAe,CAAC,eAAe,EAAE,MAAM,GAAI,SAAS,EAE9D;IACD,IAAW,eAAe,IAAI,MAAM,GAAG,SAAS,CAE/C;IACM,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa;IAI5D,IAAW,YAAY,CAAC,YAAY,EAAE,MAAM,GAAI,SAAS,EAExD;IACD,IAAW,YAAY,IAAI,MAAM,GAAG,SAAS,CAE5C;IACM,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,aAAa;IAIxD,IAAW,UAAU,CAAC,UAAU,EAAE,MAAM,GAAI,SAAS,EAEpD;IACD,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;CACJ"}
|
@@ -2,20 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.SourcesConfig = void 0;
|
4
4
|
class SourcesConfig {
|
5
|
-
constructor(
|
6
|
-
this['origin_addr'] = originAddr;
|
5
|
+
constructor(originType, originAddr, priority) {
|
7
6
|
this['origin_type'] = originType;
|
8
|
-
this['priority'] = priority;
|
9
|
-
}
|
10
|
-
withOriginAddr(originAddr) {
|
11
7
|
this['origin_addr'] = originAddr;
|
12
|
-
|
13
|
-
}
|
14
|
-
set originAddr(originAddr) {
|
15
|
-
this['origin_addr'] = originAddr;
|
16
|
-
}
|
17
|
-
get originAddr() {
|
18
|
-
return this['origin_addr'];
|
8
|
+
this['priority'] = priority;
|
19
9
|
}
|
20
10
|
withOriginType(originType) {
|
21
11
|
this['origin_type'] = originType;
|
@@ -27,10 +17,24 @@ class SourcesConfig {
|
|
27
17
|
get originType() {
|
28
18
|
return this['origin_type'];
|
29
19
|
}
|
20
|
+
withOriginAddr(originAddr) {
|
21
|
+
this['origin_addr'] = originAddr;
|
22
|
+
return this;
|
23
|
+
}
|
24
|
+
set originAddr(originAddr) {
|
25
|
+
this['origin_addr'] = originAddr;
|
26
|
+
}
|
27
|
+
get originAddr() {
|
28
|
+
return this['origin_addr'];
|
29
|
+
}
|
30
30
|
withPriority(priority) {
|
31
31
|
this['priority'] = priority;
|
32
32
|
return this;
|
33
33
|
}
|
34
|
+
withWeight(weight) {
|
35
|
+
this['weight'] = weight;
|
36
|
+
return this;
|
37
|
+
}
|
34
38
|
withObsWebHostingStatus(obsWebHostingStatus) {
|
35
39
|
this['obs_web_hosting_status'] = obsWebHostingStatus;
|
36
40
|
return this;
|
@@ -71,6 +75,56 @@ class SourcesConfig {
|
|
71
75
|
get hostName() {
|
72
76
|
return this['host_name'];
|
73
77
|
}
|
78
|
+
withObsBucketType(obsBucketType) {
|
79
|
+
this['obs_bucket_type'] = obsBucketType;
|
80
|
+
return this;
|
81
|
+
}
|
82
|
+
set obsBucketType(obsBucketType) {
|
83
|
+
this['obs_bucket_type'] = obsBucketType;
|
84
|
+
}
|
85
|
+
get obsBucketType() {
|
86
|
+
return this['obs_bucket_type'];
|
87
|
+
}
|
88
|
+
withBucketAccessKey(bucketAccessKey) {
|
89
|
+
this['bucket_access_key'] = bucketAccessKey;
|
90
|
+
return this;
|
91
|
+
}
|
92
|
+
set bucketAccessKey(bucketAccessKey) {
|
93
|
+
this['bucket_access_key'] = bucketAccessKey;
|
94
|
+
}
|
95
|
+
get bucketAccessKey() {
|
96
|
+
return this['bucket_access_key'];
|
97
|
+
}
|
98
|
+
withBucketSecretKey(bucketSecretKey) {
|
99
|
+
this['bucket_secret_key'] = bucketSecretKey;
|
100
|
+
return this;
|
101
|
+
}
|
102
|
+
set bucketSecretKey(bucketSecretKey) {
|
103
|
+
this['bucket_secret_key'] = bucketSecretKey;
|
104
|
+
}
|
105
|
+
get bucketSecretKey() {
|
106
|
+
return this['bucket_secret_key'];
|
107
|
+
}
|
108
|
+
withBucketRegion(bucketRegion) {
|
109
|
+
this['bucket_region'] = bucketRegion;
|
110
|
+
return this;
|
111
|
+
}
|
112
|
+
set bucketRegion(bucketRegion) {
|
113
|
+
this['bucket_region'] = bucketRegion;
|
114
|
+
}
|
115
|
+
get bucketRegion() {
|
116
|
+
return this['bucket_region'];
|
117
|
+
}
|
118
|
+
withBucketName(bucketName) {
|
119
|
+
this['bucket_name'] = bucketName;
|
120
|
+
return this;
|
121
|
+
}
|
122
|
+
set bucketName(bucketName) {
|
123
|
+
this['bucket_name'] = bucketName;
|
124
|
+
}
|
125
|
+
get bucketName() {
|
126
|
+
return this['bucket_name'];
|
127
|
+
}
|
74
128
|
}
|
75
129
|
exports.SourcesConfig = SourcesConfig;
|
76
130
|
//# sourceMappingURL=SourcesConfig.js.map
|