@huaweicloud/huaweicloud-sdk-cdn 3.1.33 → 3.1.35
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/model/CacheRules.d.ts +31 -0
- package/v1/model/CacheRules.js +107 -0
- package/v1/model/Configs.d.ts +17 -0
- package/v1/model/Configs.js +46 -0
- package/v1/model/ConfigsGetBody.d.ts +17 -0
- package/v1/model/ConfigsGetBody.js +46 -0
- package/v1/model/ForceRedirectConfig.d.ts +4 -0
- package/v1/model/ForceRedirectConfig.js +14 -0
- package/v1/model/IpFilter.d.ts +7 -0
- package/v1/model/IpFilter.js +18 -0
- package/v1/model/RefererConfig.d.ts +11 -0
- package/v1/model/RefererConfig.js +32 -0
- package/v1/public-api.d.ts +3 -0
- package/v1/public-api.js +3 -0
- package/v2/CdnClient.d.ts +57 -0
- package/v2/CdnClient.js +122 -0
- package/v2/model/CacheRules.d.ts +31 -0
- package/v2/model/CacheRules.js +107 -0
- package/v2/model/CacheUrlParameterFilter.d.ts +7 -0
- package/v2/model/CacheUrlParameterFilter.js +17 -0
- package/v2/model/Compress.d.ts +7 -0
- package/v2/model/Compress.js +18 -0
- package/v2/model/Configs.d.ts +86 -0
- package/v2/model/Configs.js +235 -0
- package/v2/model/ConfigsGetBody.d.ts +78 -0
- package/v2/model/ConfigsGetBody.js +207 -0
- package/v2/model/ErrorCodeCache.d.ts +23 -0
- package/v2/model/ErrorCodeCache.js +34 -0
- package/v2/model/ErrorCodeRedirectRules.d.ts +15 -0
- package/v2/model/ErrorCodeRedirectRules.js +54 -0
- package/v2/model/ForceRedirectConfig.d.ts +11 -0
- package/v2/model/ForceRedirectConfig.js +32 -0
- package/v2/model/HttpGetBody.d.ts +27 -0
- package/v2/model/HttpGetBody.js +93 -0
- package/v2/model/HttpPutBody.d.ts +31 -0
- package/v2/model/HttpPutBody.js +107 -0
- package/v2/model/HttpResponseHeader.d.ts +9 -0
- package/v2/model/HttpResponseHeader.js +23 -0
- package/v2/model/IpFilter.d.ts +7 -0
- package/v2/model/IpFilter.js +18 -0
- package/v2/model/ModifyDomainConfigRequestBody.d.ts +6 -0
- package/v2/model/ModifyDomainConfigRequestBody.js +13 -0
- package/v2/model/OriginRequestHeader.d.ts +9 -0
- package/v2/model/OriginRequestHeader.js +23 -0
- package/v2/model/OriginRequestUrlRewrite.d.ts +17 -0
- package/v2/model/OriginRequestUrlRewrite.js +58 -0
- package/v2/model/RefererConfig.d.ts +11 -0
- package/v2/model/RefererConfig.js +32 -0
- package/v2/model/ShowDomainFullConfigRequest.d.ts +11 -0
- package/v2/model/ShowDomainFullConfigRequest.js +38 -0
- package/v2/model/ShowDomainFullConfigResponse.d.ts +7 -0
- package/v2/model/ShowDomainFullConfigResponse.js +31 -0
- package/v2/model/UpdateDomainFullConfigRequest.d.ts +14 -0
- package/v2/model/UpdateDomainFullConfigRequest.js +42 -0
- package/v2/model/UpdateDomainFullConfigResponse.d.ts +4 -0
- package/v2/model/UpdateDomainFullConfigResponse.js +27 -0
- package/v2/model/UrlAuth.d.ts +17 -0
- package/v2/model/UrlAuth.js +50 -0
- package/v2/model/UrlAuthGetBody.d.ts +15 -0
- package/v2/model/UrlAuthGetBody.js +46 -0
- package/v2/model/UserAgentFilter.d.ts +7 -0
- package/v2/model/UserAgentFilter.js +18 -0
- package/v2/public-api.d.ts +23 -0
- package/v2/public-api.js +23 -0
@@ -0,0 +1,107 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.HttpPutBody = void 0;
|
4
|
+
var HttpPutBody = /** @class */ (function () {
|
5
|
+
function HttpPutBody() {
|
6
|
+
}
|
7
|
+
HttpPutBody.prototype.withHttpsStatus = function (httpsStatus) {
|
8
|
+
this['https_status'] = httpsStatus;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(HttpPutBody.prototype, "httpsStatus", {
|
12
|
+
get: function () {
|
13
|
+
return this['https_status'];
|
14
|
+
},
|
15
|
+
set: function (httpsStatus) {
|
16
|
+
this['https_status'] = httpsStatus;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
HttpPutBody.prototype.withCertificateName = function (certificateName) {
|
22
|
+
this['certificate_name'] = certificateName;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(HttpPutBody.prototype, "certificateName", {
|
26
|
+
get: function () {
|
27
|
+
return this['certificate_name'];
|
28
|
+
},
|
29
|
+
set: function (certificateName) {
|
30
|
+
this['certificate_name'] = certificateName;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
HttpPutBody.prototype.withCertificateValue = function (certificateValue) {
|
36
|
+
this['certificate_value'] = certificateValue;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(HttpPutBody.prototype, "certificateValue", {
|
40
|
+
get: function () {
|
41
|
+
return this['certificate_value'];
|
42
|
+
},
|
43
|
+
set: function (certificateValue) {
|
44
|
+
this['certificate_value'] = certificateValue;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
HttpPutBody.prototype.withPrivateKey = function (privateKey) {
|
50
|
+
this['private_key'] = privateKey;
|
51
|
+
return this;
|
52
|
+
};
|
53
|
+
Object.defineProperty(HttpPutBody.prototype, "privateKey", {
|
54
|
+
get: function () {
|
55
|
+
return this['private_key'];
|
56
|
+
},
|
57
|
+
set: function (privateKey) {
|
58
|
+
this['private_key'] = privateKey;
|
59
|
+
},
|
60
|
+
enumerable: false,
|
61
|
+
configurable: true
|
62
|
+
});
|
63
|
+
HttpPutBody.prototype.withCertificateSource = function (certificateSource) {
|
64
|
+
this['certificate_source'] = certificateSource;
|
65
|
+
return this;
|
66
|
+
};
|
67
|
+
Object.defineProperty(HttpPutBody.prototype, "certificateSource", {
|
68
|
+
get: function () {
|
69
|
+
return this['certificate_source'];
|
70
|
+
},
|
71
|
+
set: function (certificateSource) {
|
72
|
+
this['certificate_source'] = certificateSource;
|
73
|
+
},
|
74
|
+
enumerable: false,
|
75
|
+
configurable: true
|
76
|
+
});
|
77
|
+
HttpPutBody.prototype.withHttp2Status = function (http2Status) {
|
78
|
+
this['http2_status'] = http2Status;
|
79
|
+
return this;
|
80
|
+
};
|
81
|
+
Object.defineProperty(HttpPutBody.prototype, "http2Status", {
|
82
|
+
get: function () {
|
83
|
+
return this['http2_status'];
|
84
|
+
},
|
85
|
+
set: function (http2Status) {
|
86
|
+
this['http2_status'] = http2Status;
|
87
|
+
},
|
88
|
+
enumerable: false,
|
89
|
+
configurable: true
|
90
|
+
});
|
91
|
+
HttpPutBody.prototype.withTlsVersion = function (tlsVersion) {
|
92
|
+
this['tls_version'] = tlsVersion;
|
93
|
+
return this;
|
94
|
+
};
|
95
|
+
Object.defineProperty(HttpPutBody.prototype, "tlsVersion", {
|
96
|
+
get: function () {
|
97
|
+
return this['tls_version'];
|
98
|
+
},
|
99
|
+
set: function (tlsVersion) {
|
100
|
+
this['tls_version'] = tlsVersion;
|
101
|
+
},
|
102
|
+
enumerable: false,
|
103
|
+
configurable: true
|
104
|
+
});
|
105
|
+
return HttpPutBody;
|
106
|
+
}());
|
107
|
+
exports.HttpPutBody = HttpPutBody;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare class HttpResponseHeader {
|
2
|
+
name: string;
|
3
|
+
value?: string;
|
4
|
+
action: string;
|
5
|
+
constructor(name?: any, action?: any);
|
6
|
+
withName(name: string): HttpResponseHeader;
|
7
|
+
withValue(value: string): HttpResponseHeader;
|
8
|
+
withAction(action: string): HttpResponseHeader;
|
9
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.HttpResponseHeader = void 0;
|
4
|
+
var HttpResponseHeader = /** @class */ (function () {
|
5
|
+
function HttpResponseHeader(name, action) {
|
6
|
+
this['name'] = name;
|
7
|
+
this['action'] = action;
|
8
|
+
}
|
9
|
+
HttpResponseHeader.prototype.withName = function (name) {
|
10
|
+
this['name'] = name;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
HttpResponseHeader.prototype.withValue = function (value) {
|
14
|
+
this['value'] = value;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
HttpResponseHeader.prototype.withAction = function (action) {
|
18
|
+
this['action'] = action;
|
19
|
+
return this;
|
20
|
+
};
|
21
|
+
return HttpResponseHeader;
|
22
|
+
}());
|
23
|
+
exports.HttpResponseHeader = HttpResponseHeader;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IpFilter = void 0;
|
4
|
+
var IpFilter = /** @class */ (function () {
|
5
|
+
function IpFilter(type) {
|
6
|
+
this['type'] = type;
|
7
|
+
}
|
8
|
+
IpFilter.prototype.withType = function (type) {
|
9
|
+
this['type'] = type;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
IpFilter.prototype.withValue = function (value) {
|
13
|
+
this['value'] = value;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
return IpFilter;
|
17
|
+
}());
|
18
|
+
exports.IpFilter = IpFilter;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ModifyDomainConfigRequestBody = void 0;
|
4
|
+
var ModifyDomainConfigRequestBody = /** @class */ (function () {
|
5
|
+
function ModifyDomainConfigRequestBody() {
|
6
|
+
}
|
7
|
+
ModifyDomainConfigRequestBody.prototype.withConfigs = function (configs) {
|
8
|
+
this['configs'] = configs;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return ModifyDomainConfigRequestBody;
|
12
|
+
}());
|
13
|
+
exports.ModifyDomainConfigRequestBody = ModifyDomainConfigRequestBody;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare class OriginRequestHeader {
|
2
|
+
name: string;
|
3
|
+
value?: string;
|
4
|
+
action: string;
|
5
|
+
constructor(name?: any, action?: any);
|
6
|
+
withName(name: string): OriginRequestHeader;
|
7
|
+
withValue(value: string): OriginRequestHeader;
|
8
|
+
withAction(action: string): OriginRequestHeader;
|
9
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OriginRequestHeader = void 0;
|
4
|
+
var OriginRequestHeader = /** @class */ (function () {
|
5
|
+
function OriginRequestHeader(name, action) {
|
6
|
+
this['name'] = name;
|
7
|
+
this['action'] = action;
|
8
|
+
}
|
9
|
+
OriginRequestHeader.prototype.withName = function (name) {
|
10
|
+
this['name'] = name;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
OriginRequestHeader.prototype.withValue = function (value) {
|
14
|
+
this['value'] = value;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
OriginRequestHeader.prototype.withAction = function (action) {
|
18
|
+
this['action'] = action;
|
19
|
+
return this;
|
20
|
+
};
|
21
|
+
return OriginRequestHeader;
|
22
|
+
}());
|
23
|
+
exports.OriginRequestHeader = OriginRequestHeader;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare class OriginRequestUrlRewrite {
|
2
|
+
priority: number;
|
3
|
+
private 'match_type';
|
4
|
+
private 'source_url'?;
|
5
|
+
private 'target_url';
|
6
|
+
constructor(priority?: any, matchType?: any, targetUrl?: any);
|
7
|
+
withPriority(priority: number): OriginRequestUrlRewrite;
|
8
|
+
withMatchType(matchType: string): OriginRequestUrlRewrite;
|
9
|
+
set matchType(matchType: string | undefined);
|
10
|
+
get matchType(): string | undefined;
|
11
|
+
withSourceUrl(sourceUrl: string): OriginRequestUrlRewrite;
|
12
|
+
set sourceUrl(sourceUrl: string | undefined);
|
13
|
+
get sourceUrl(): string | undefined;
|
14
|
+
withTargetUrl(targetUrl: string): OriginRequestUrlRewrite;
|
15
|
+
set targetUrl(targetUrl: string | undefined);
|
16
|
+
get targetUrl(): string | undefined;
|
17
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OriginRequestUrlRewrite = void 0;
|
4
|
+
var OriginRequestUrlRewrite = /** @class */ (function () {
|
5
|
+
function OriginRequestUrlRewrite(priority, matchType, targetUrl) {
|
6
|
+
this['priority'] = priority;
|
7
|
+
this['match_type'] = matchType;
|
8
|
+
this['target_url'] = targetUrl;
|
9
|
+
}
|
10
|
+
OriginRequestUrlRewrite.prototype.withPriority = function (priority) {
|
11
|
+
this['priority'] = priority;
|
12
|
+
return this;
|
13
|
+
};
|
14
|
+
OriginRequestUrlRewrite.prototype.withMatchType = function (matchType) {
|
15
|
+
this['match_type'] = matchType;
|
16
|
+
return this;
|
17
|
+
};
|
18
|
+
Object.defineProperty(OriginRequestUrlRewrite.prototype, "matchType", {
|
19
|
+
get: function () {
|
20
|
+
return this['match_type'];
|
21
|
+
},
|
22
|
+
set: function (matchType) {
|
23
|
+
this['match_type'] = matchType;
|
24
|
+
},
|
25
|
+
enumerable: false,
|
26
|
+
configurable: true
|
27
|
+
});
|
28
|
+
OriginRequestUrlRewrite.prototype.withSourceUrl = function (sourceUrl) {
|
29
|
+
this['source_url'] = sourceUrl;
|
30
|
+
return this;
|
31
|
+
};
|
32
|
+
Object.defineProperty(OriginRequestUrlRewrite.prototype, "sourceUrl", {
|
33
|
+
get: function () {
|
34
|
+
return this['source_url'];
|
35
|
+
},
|
36
|
+
set: function (sourceUrl) {
|
37
|
+
this['source_url'] = sourceUrl;
|
38
|
+
},
|
39
|
+
enumerable: false,
|
40
|
+
configurable: true
|
41
|
+
});
|
42
|
+
OriginRequestUrlRewrite.prototype.withTargetUrl = function (targetUrl) {
|
43
|
+
this['target_url'] = targetUrl;
|
44
|
+
return this;
|
45
|
+
};
|
46
|
+
Object.defineProperty(OriginRequestUrlRewrite.prototype, "targetUrl", {
|
47
|
+
get: function () {
|
48
|
+
return this['target_url'];
|
49
|
+
},
|
50
|
+
set: function (targetUrl) {
|
51
|
+
this['target_url'] = targetUrl;
|
52
|
+
},
|
53
|
+
enumerable: false,
|
54
|
+
configurable: true
|
55
|
+
});
|
56
|
+
return OriginRequestUrlRewrite;
|
57
|
+
}());
|
58
|
+
exports.OriginRequestUrlRewrite = OriginRequestUrlRewrite;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class RefererConfig {
|
2
|
+
type: string;
|
3
|
+
value?: string;
|
4
|
+
private 'include_empty'?;
|
5
|
+
constructor(type?: any);
|
6
|
+
withType(type: string): RefererConfig;
|
7
|
+
withValue(value: string): RefererConfig;
|
8
|
+
withIncludeEmpty(includeEmpty: boolean): RefererConfig;
|
9
|
+
set includeEmpty(includeEmpty: boolean | undefined);
|
10
|
+
get includeEmpty(): boolean | undefined;
|
11
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RefererConfig = void 0;
|
4
|
+
var RefererConfig = /** @class */ (function () {
|
5
|
+
function RefererConfig(type) {
|
6
|
+
this['type'] = type;
|
7
|
+
}
|
8
|
+
RefererConfig.prototype.withType = function (type) {
|
9
|
+
this['type'] = type;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
RefererConfig.prototype.withValue = function (value) {
|
13
|
+
this['value'] = value;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
RefererConfig.prototype.withIncludeEmpty = function (includeEmpty) {
|
17
|
+
this['include_empty'] = includeEmpty;
|
18
|
+
return this;
|
19
|
+
};
|
20
|
+
Object.defineProperty(RefererConfig.prototype, "includeEmpty", {
|
21
|
+
get: function () {
|
22
|
+
return this['include_empty'];
|
23
|
+
},
|
24
|
+
set: function (includeEmpty) {
|
25
|
+
this['include_empty'] = includeEmpty;
|
26
|
+
},
|
27
|
+
enumerable: false,
|
28
|
+
configurable: true
|
29
|
+
});
|
30
|
+
return RefererConfig;
|
31
|
+
}());
|
32
|
+
exports.RefererConfig = RefererConfig;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class ShowDomainFullConfigRequest {
|
2
|
+
private 'domain_name';
|
3
|
+
private 'enterprise_project_id'?;
|
4
|
+
constructor(domainName?: any);
|
5
|
+
withDomainName(domainName: string): ShowDomainFullConfigRequest;
|
6
|
+
set domainName(domainName: string | undefined);
|
7
|
+
get domainName(): string | undefined;
|
8
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ShowDomainFullConfigRequest;
|
9
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
10
|
+
get enterpriseProjectId(): string | undefined;
|
11
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowDomainFullConfigRequest = void 0;
|
4
|
+
var ShowDomainFullConfigRequest = /** @class */ (function () {
|
5
|
+
function ShowDomainFullConfigRequest(domainName) {
|
6
|
+
this['domain_name'] = domainName;
|
7
|
+
}
|
8
|
+
ShowDomainFullConfigRequest.prototype.withDomainName = function (domainName) {
|
9
|
+
this['domain_name'] = domainName;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(ShowDomainFullConfigRequest.prototype, "domainName", {
|
13
|
+
get: function () {
|
14
|
+
return this['domain_name'];
|
15
|
+
},
|
16
|
+
set: function (domainName) {
|
17
|
+
this['domain_name'] = domainName;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
ShowDomainFullConfigRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
Object.defineProperty(ShowDomainFullConfigRequest.prototype, "enterpriseProjectId", {
|
27
|
+
get: function () {
|
28
|
+
return this['enterprise_project_id'];
|
29
|
+
},
|
30
|
+
set: function (enterpriseProjectId) {
|
31
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
32
|
+
},
|
33
|
+
enumerable: false,
|
34
|
+
configurable: true
|
35
|
+
});
|
36
|
+
return ShowDomainFullConfigRequest;
|
37
|
+
}());
|
38
|
+
exports.ShowDomainFullConfigRequest = ShowDomainFullConfigRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ConfigsGetBody } from './ConfigsGetBody';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ShowDomainFullConfigResponse extends SdkResponse {
|
4
|
+
configs?: ConfigsGetBody;
|
5
|
+
constructor();
|
6
|
+
withConfigs(configs: ConfigsGetBody): ShowDomainFullConfigResponse;
|
7
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ShowDomainFullConfigResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowDomainFullConfigResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowDomainFullConfigResponse, _super);
|
22
|
+
function ShowDomainFullConfigResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowDomainFullConfigResponse.prototype.withConfigs = function (configs) {
|
26
|
+
this['configs'] = configs;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ShowDomainFullConfigResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ShowDomainFullConfigResponse = ShowDomainFullConfigResponse;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { ModifyDomainConfigRequestBody } from './ModifyDomainConfigRequestBody';
|
2
|
+
export declare class UpdateDomainFullConfigRequest {
|
3
|
+
private 'domain_name';
|
4
|
+
private 'enterprise_project_id'?;
|
5
|
+
body?: ModifyDomainConfigRequestBody;
|
6
|
+
constructor(domainName?: any);
|
7
|
+
withDomainName(domainName: string): UpdateDomainFullConfigRequest;
|
8
|
+
set domainName(domainName: string | undefined);
|
9
|
+
get domainName(): string | undefined;
|
10
|
+
withEnterpriseProjectId(enterpriseProjectId: string): UpdateDomainFullConfigRequest;
|
11
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
12
|
+
get enterpriseProjectId(): string | undefined;
|
13
|
+
withBody(body: ModifyDomainConfigRequestBody): UpdateDomainFullConfigRequest;
|
14
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateDomainFullConfigRequest = void 0;
|
4
|
+
var UpdateDomainFullConfigRequest = /** @class */ (function () {
|
5
|
+
function UpdateDomainFullConfigRequest(domainName) {
|
6
|
+
this['domain_name'] = domainName;
|
7
|
+
}
|
8
|
+
UpdateDomainFullConfigRequest.prototype.withDomainName = function (domainName) {
|
9
|
+
this['domain_name'] = domainName;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(UpdateDomainFullConfigRequest.prototype, "domainName", {
|
13
|
+
get: function () {
|
14
|
+
return this['domain_name'];
|
15
|
+
},
|
16
|
+
set: function (domainName) {
|
17
|
+
this['domain_name'] = domainName;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
UpdateDomainFullConfigRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
Object.defineProperty(UpdateDomainFullConfigRequest.prototype, "enterpriseProjectId", {
|
27
|
+
get: function () {
|
28
|
+
return this['enterprise_project_id'];
|
29
|
+
},
|
30
|
+
set: function (enterpriseProjectId) {
|
31
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
32
|
+
},
|
33
|
+
enumerable: false,
|
34
|
+
configurable: true
|
35
|
+
});
|
36
|
+
UpdateDomainFullConfigRequest.prototype.withBody = function (body) {
|
37
|
+
this['body'] = body;
|
38
|
+
return this;
|
39
|
+
};
|
40
|
+
return UpdateDomainFullConfigRequest;
|
41
|
+
}());
|
42
|
+
exports.UpdateDomainFullConfigRequest = UpdateDomainFullConfigRequest;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.UpdateDomainFullConfigResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateDomainFullConfigResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateDomainFullConfigResponse, _super);
|
22
|
+
function UpdateDomainFullConfigResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
return UpdateDomainFullConfigResponse;
|
26
|
+
}(SdkResponse_1.SdkResponse));
|
27
|
+
exports.UpdateDomainFullConfigResponse = UpdateDomainFullConfigResponse;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare class UrlAuth {
|
2
|
+
status: string;
|
3
|
+
type?: string;
|
4
|
+
key?: string;
|
5
|
+
private 'time_format'?;
|
6
|
+
private 'expire_time'?;
|
7
|
+
constructor(status?: any);
|
8
|
+
withStatus(status: string): UrlAuth;
|
9
|
+
withType(type: string): UrlAuth;
|
10
|
+
withKey(key: string): UrlAuth;
|
11
|
+
withTimeFormat(timeFormat: string): UrlAuth;
|
12
|
+
set timeFormat(timeFormat: string | undefined);
|
13
|
+
get timeFormat(): string | undefined;
|
14
|
+
withExpireTime(expireTime: number): UrlAuth;
|
15
|
+
set expireTime(expireTime: number | undefined);
|
16
|
+
get expireTime(): number | undefined;
|
17
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UrlAuth = void 0;
|
4
|
+
var UrlAuth = /** @class */ (function () {
|
5
|
+
function UrlAuth(status) {
|
6
|
+
this['status'] = status;
|
7
|
+
}
|
8
|
+
UrlAuth.prototype.withStatus = function (status) {
|
9
|
+
this['status'] = status;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
UrlAuth.prototype.withType = function (type) {
|
13
|
+
this['type'] = type;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
UrlAuth.prototype.withKey = function (key) {
|
17
|
+
this['key'] = key;
|
18
|
+
return this;
|
19
|
+
};
|
20
|
+
UrlAuth.prototype.withTimeFormat = function (timeFormat) {
|
21
|
+
this['time_format'] = timeFormat;
|
22
|
+
return this;
|
23
|
+
};
|
24
|
+
Object.defineProperty(UrlAuth.prototype, "timeFormat", {
|
25
|
+
get: function () {
|
26
|
+
return this['time_format'];
|
27
|
+
},
|
28
|
+
set: function (timeFormat) {
|
29
|
+
this['time_format'] = timeFormat;
|
30
|
+
},
|
31
|
+
enumerable: false,
|
32
|
+
configurable: true
|
33
|
+
});
|
34
|
+
UrlAuth.prototype.withExpireTime = function (expireTime) {
|
35
|
+
this['expire_time'] = expireTime;
|
36
|
+
return this;
|
37
|
+
};
|
38
|
+
Object.defineProperty(UrlAuth.prototype, "expireTime", {
|
39
|
+
get: function () {
|
40
|
+
return this['expire_time'];
|
41
|
+
},
|
42
|
+
set: function (expireTime) {
|
43
|
+
this['expire_time'] = expireTime;
|
44
|
+
},
|
45
|
+
enumerable: false,
|
46
|
+
configurable: true
|
47
|
+
});
|
48
|
+
return UrlAuth;
|
49
|
+
}());
|
50
|
+
exports.UrlAuth = UrlAuth;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare class UrlAuthGetBody {
|
2
|
+
status: string;
|
3
|
+
type?: string;
|
4
|
+
private 'time_format'?;
|
5
|
+
private 'expire_time'?;
|
6
|
+
constructor(status?: any);
|
7
|
+
withStatus(status: string): UrlAuthGetBody;
|
8
|
+
withType(type: string): UrlAuthGetBody;
|
9
|
+
withTimeFormat(timeFormat: string): UrlAuthGetBody;
|
10
|
+
set timeFormat(timeFormat: string | undefined);
|
11
|
+
get timeFormat(): string | undefined;
|
12
|
+
withExpireTime(expireTime: number): UrlAuthGetBody;
|
13
|
+
set expireTime(expireTime: number | undefined);
|
14
|
+
get expireTime(): number | undefined;
|
15
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UrlAuthGetBody = void 0;
|
4
|
+
var UrlAuthGetBody = /** @class */ (function () {
|
5
|
+
function UrlAuthGetBody(status) {
|
6
|
+
this['status'] = status;
|
7
|
+
}
|
8
|
+
UrlAuthGetBody.prototype.withStatus = function (status) {
|
9
|
+
this['status'] = status;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
UrlAuthGetBody.prototype.withType = function (type) {
|
13
|
+
this['type'] = type;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
UrlAuthGetBody.prototype.withTimeFormat = function (timeFormat) {
|
17
|
+
this['time_format'] = timeFormat;
|
18
|
+
return this;
|
19
|
+
};
|
20
|
+
Object.defineProperty(UrlAuthGetBody.prototype, "timeFormat", {
|
21
|
+
get: function () {
|
22
|
+
return this['time_format'];
|
23
|
+
},
|
24
|
+
set: function (timeFormat) {
|
25
|
+
this['time_format'] = timeFormat;
|
26
|
+
},
|
27
|
+
enumerable: false,
|
28
|
+
configurable: true
|
29
|
+
});
|
30
|
+
UrlAuthGetBody.prototype.withExpireTime = function (expireTime) {
|
31
|
+
this['expire_time'] = expireTime;
|
32
|
+
return this;
|
33
|
+
};
|
34
|
+
Object.defineProperty(UrlAuthGetBody.prototype, "expireTime", {
|
35
|
+
get: function () {
|
36
|
+
return this['expire_time'];
|
37
|
+
},
|
38
|
+
set: function (expireTime) {
|
39
|
+
this['expire_time'] = expireTime;
|
40
|
+
},
|
41
|
+
enumerable: false,
|
42
|
+
configurable: true
|
43
|
+
});
|
44
|
+
return UrlAuthGetBody;
|
45
|
+
}());
|
46
|
+
exports.UrlAuthGetBody = UrlAuthGetBody;
|