@huaweicloud/huaweicloud-sdk-cdn 3.1.29 → 3.1.30
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 -0
- package/v1/CdnClient.js +14 -0
- package/v1/model/Domains.d.ts +3 -0
- package/v1/model/Domains.js +4 -0
- package/v1/model/EpResourceTag.d.ts +7 -0
- package/v1/model/EpResourceTag.js +19 -0
- package/v1/model/ListDomainsRequest.d.ts +8 -0
- package/v1/model/ListDomainsRequest.js +28 -0
- package/v1/public-api.d.ts +1 -0
- package/v1/public-api.js +1 -0
- package/v2/CdnClient.d.ts +63 -0
- package/v2/CdnClient.js +164 -0
- package/v2/model/DomainOriginHost.d.ts +15 -0
- package/v2/model/DomainOriginHost.js +52 -0
- package/v2/model/Domains.d.ts +87 -0
- package/v2/model/Domains.js +253 -0
- package/v2/model/DomainsWithPort.d.ts +59 -0
- package/v2/model/DomainsWithPort.js +165 -0
- package/v2/model/EpResourceTag.d.ts +7 -0
- package/v2/model/EpResourceTag.js +19 -0
- package/v2/model/ListDomainsRequest.d.ts +39 -0
- package/v2/model/ListDomainsRequest.js +135 -0
- package/v2/model/ListDomainsResponse.d.ts +9 -0
- package/v2/model/ListDomainsResponse.js +35 -0
- package/v2/model/ShowDomainDetailByNameRequest.d.ts +11 -0
- package/v2/model/ShowDomainDetailByNameRequest.js +38 -0
- package/v2/model/ShowDomainDetailByNameResponse.d.ts +7 -0
- package/v2/model/ShowDomainDetailByNameResponse.js +31 -0
- package/v2/model/Sources.d.ts +32 -0
- package/v2/model/Sources.js +92 -0
- package/v2/model/SourcesConfig.d.ts +29 -0
- package/v2/model/SourcesConfig.js +100 -0
- package/v2/public-api.d.ts +10 -0
- package/v2/public-api.js +10 -0
@@ -0,0 +1,87 @@
|
|
1
|
+
import { DomainOriginHost } from './DomainOriginHost';
|
2
|
+
import { EpResourceTag } from './EpResourceTag';
|
3
|
+
import { Sources } from './Sources';
|
4
|
+
export declare class Domains {
|
5
|
+
id?: string;
|
6
|
+
private 'domain_name'?;
|
7
|
+
private 'business_type'?;
|
8
|
+
private 'domain_status'?;
|
9
|
+
cname?: string;
|
10
|
+
sources?: Array<Sources>;
|
11
|
+
private 'domain_origin_host'?;
|
12
|
+
private 'https_status'?;
|
13
|
+
private 'create_time'?;
|
14
|
+
private 'modify_time'?;
|
15
|
+
disabled?: number;
|
16
|
+
locked?: number;
|
17
|
+
private 'auto_refresh_preheat'?;
|
18
|
+
private 'service_area'?;
|
19
|
+
private 'range_status'?;
|
20
|
+
private 'follow_status'?;
|
21
|
+
private 'origin_status'?;
|
22
|
+
private 'banned_reason'?;
|
23
|
+
private 'locked_reason'?;
|
24
|
+
private 'enterprise_project_id'?;
|
25
|
+
tags?: Array<EpResourceTag>;
|
26
|
+
constructor();
|
27
|
+
withId(id: string): Domains;
|
28
|
+
withDomainName(domainName: string): Domains;
|
29
|
+
set domainName(domainName: string | undefined);
|
30
|
+
get domainName(): string | undefined;
|
31
|
+
withBusinessType(businessType: string): Domains;
|
32
|
+
set businessType(businessType: string | undefined);
|
33
|
+
get businessType(): string | undefined;
|
34
|
+
withDomainStatus(domainStatus: string): Domains;
|
35
|
+
set domainStatus(domainStatus: string | undefined);
|
36
|
+
get domainStatus(): string | undefined;
|
37
|
+
withCname(cname: string): Domains;
|
38
|
+
withSources(sources: Array<Sources>): Domains;
|
39
|
+
withDomainOriginHost(domainOriginHost: DomainOriginHost): Domains;
|
40
|
+
set domainOriginHost(domainOriginHost: DomainOriginHost | undefined);
|
41
|
+
get domainOriginHost(): DomainOriginHost | undefined;
|
42
|
+
withHttpsStatus(httpsStatus: number): Domains;
|
43
|
+
set httpsStatus(httpsStatus: number | undefined);
|
44
|
+
get httpsStatus(): number | undefined;
|
45
|
+
withCreateTime(createTime: number): Domains;
|
46
|
+
set createTime(createTime: number | undefined);
|
47
|
+
get createTime(): number | undefined;
|
48
|
+
withModifyTime(modifyTime: number): Domains;
|
49
|
+
set modifyTime(modifyTime: number | undefined);
|
50
|
+
get modifyTime(): number | undefined;
|
51
|
+
withDisabled(disabled: number): Domains;
|
52
|
+
withLocked(locked: number): Domains;
|
53
|
+
withAutoRefreshPreheat(autoRefreshPreheat: number): Domains;
|
54
|
+
set autoRefreshPreheat(autoRefreshPreheat: number | undefined);
|
55
|
+
get autoRefreshPreheat(): number | undefined;
|
56
|
+
withServiceArea(serviceArea: DomainsServiceAreaEnum): Domains;
|
57
|
+
set serviceArea(serviceArea: DomainsServiceAreaEnum | undefined);
|
58
|
+
get serviceArea(): DomainsServiceAreaEnum | undefined;
|
59
|
+
withRangeStatus(rangeStatus: string): Domains;
|
60
|
+
set rangeStatus(rangeStatus: string | undefined);
|
61
|
+
get rangeStatus(): string | undefined;
|
62
|
+
withFollowStatus(followStatus: string): Domains;
|
63
|
+
set followStatus(followStatus: string | undefined);
|
64
|
+
get followStatus(): string | undefined;
|
65
|
+
withOriginStatus(originStatus: string): Domains;
|
66
|
+
set originStatus(originStatus: string | undefined);
|
67
|
+
get originStatus(): string | undefined;
|
68
|
+
withBannedReason(bannedReason: string): Domains;
|
69
|
+
set bannedReason(bannedReason: string | undefined);
|
70
|
+
get bannedReason(): string | undefined;
|
71
|
+
withLockedReason(lockedReason: string): Domains;
|
72
|
+
set lockedReason(lockedReason: string | undefined);
|
73
|
+
get lockedReason(): string | undefined;
|
74
|
+
withEnterpriseProjectId(enterpriseProjectId: string): Domains;
|
75
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
76
|
+
get enterpriseProjectId(): string | undefined;
|
77
|
+
withTags(tags: Array<EpResourceTag>): Domains;
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* @export
|
81
|
+
* @enum {string}
|
82
|
+
*/
|
83
|
+
export declare enum DomainsServiceAreaEnum {
|
84
|
+
MAINLAND_CHINA = "mainland_china",
|
85
|
+
OUTSIDE_MAINLAND_CHINA = "outside_mainland_china",
|
86
|
+
GLOBAL = "global"
|
87
|
+
}
|
@@ -0,0 +1,253 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DomainsServiceAreaEnum = exports.Domains = void 0;
|
4
|
+
var Domains = /** @class */ (function () {
|
5
|
+
function Domains() {
|
6
|
+
}
|
7
|
+
Domains.prototype.withId = function (id) {
|
8
|
+
this['id'] = id;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Domains.prototype.withDomainName = function (domainName) {
|
12
|
+
this['domain_name'] = domainName;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(Domains.prototype, "domainName", {
|
16
|
+
get: function () {
|
17
|
+
return this['domain_name'];
|
18
|
+
},
|
19
|
+
set: function (domainName) {
|
20
|
+
this['domain_name'] = domainName;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
Domains.prototype.withBusinessType = function (businessType) {
|
26
|
+
this['business_type'] = businessType;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(Domains.prototype, "businessType", {
|
30
|
+
get: function () {
|
31
|
+
return this['business_type'];
|
32
|
+
},
|
33
|
+
set: function (businessType) {
|
34
|
+
this['business_type'] = businessType;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
Domains.prototype.withDomainStatus = function (domainStatus) {
|
40
|
+
this['domain_status'] = domainStatus;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(Domains.prototype, "domainStatus", {
|
44
|
+
get: function () {
|
45
|
+
return this['domain_status'];
|
46
|
+
},
|
47
|
+
set: function (domainStatus) {
|
48
|
+
this['domain_status'] = domainStatus;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
Domains.prototype.withCname = function (cname) {
|
54
|
+
this['cname'] = cname;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
Domains.prototype.withSources = function (sources) {
|
58
|
+
this['sources'] = sources;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
Domains.prototype.withDomainOriginHost = function (domainOriginHost) {
|
62
|
+
this['domain_origin_host'] = domainOriginHost;
|
63
|
+
return this;
|
64
|
+
};
|
65
|
+
Object.defineProperty(Domains.prototype, "domainOriginHost", {
|
66
|
+
get: function () {
|
67
|
+
return this['domain_origin_host'];
|
68
|
+
},
|
69
|
+
set: function (domainOriginHost) {
|
70
|
+
this['domain_origin_host'] = domainOriginHost;
|
71
|
+
},
|
72
|
+
enumerable: false,
|
73
|
+
configurable: true
|
74
|
+
});
|
75
|
+
Domains.prototype.withHttpsStatus = function (httpsStatus) {
|
76
|
+
this['https_status'] = httpsStatus;
|
77
|
+
return this;
|
78
|
+
};
|
79
|
+
Object.defineProperty(Domains.prototype, "httpsStatus", {
|
80
|
+
get: function () {
|
81
|
+
return this['https_status'];
|
82
|
+
},
|
83
|
+
set: function (httpsStatus) {
|
84
|
+
this['https_status'] = httpsStatus;
|
85
|
+
},
|
86
|
+
enumerable: false,
|
87
|
+
configurable: true
|
88
|
+
});
|
89
|
+
Domains.prototype.withCreateTime = function (createTime) {
|
90
|
+
this['create_time'] = createTime;
|
91
|
+
return this;
|
92
|
+
};
|
93
|
+
Object.defineProperty(Domains.prototype, "createTime", {
|
94
|
+
get: function () {
|
95
|
+
return this['create_time'];
|
96
|
+
},
|
97
|
+
set: function (createTime) {
|
98
|
+
this['create_time'] = createTime;
|
99
|
+
},
|
100
|
+
enumerable: false,
|
101
|
+
configurable: true
|
102
|
+
});
|
103
|
+
Domains.prototype.withModifyTime = function (modifyTime) {
|
104
|
+
this['modify_time'] = modifyTime;
|
105
|
+
return this;
|
106
|
+
};
|
107
|
+
Object.defineProperty(Domains.prototype, "modifyTime", {
|
108
|
+
get: function () {
|
109
|
+
return this['modify_time'];
|
110
|
+
},
|
111
|
+
set: function (modifyTime) {
|
112
|
+
this['modify_time'] = modifyTime;
|
113
|
+
},
|
114
|
+
enumerable: false,
|
115
|
+
configurable: true
|
116
|
+
});
|
117
|
+
Domains.prototype.withDisabled = function (disabled) {
|
118
|
+
this['disabled'] = disabled;
|
119
|
+
return this;
|
120
|
+
};
|
121
|
+
Domains.prototype.withLocked = function (locked) {
|
122
|
+
this['locked'] = locked;
|
123
|
+
return this;
|
124
|
+
};
|
125
|
+
Domains.prototype.withAutoRefreshPreheat = function (autoRefreshPreheat) {
|
126
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
127
|
+
return this;
|
128
|
+
};
|
129
|
+
Object.defineProperty(Domains.prototype, "autoRefreshPreheat", {
|
130
|
+
get: function () {
|
131
|
+
return this['auto_refresh_preheat'];
|
132
|
+
},
|
133
|
+
set: function (autoRefreshPreheat) {
|
134
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
135
|
+
},
|
136
|
+
enumerable: false,
|
137
|
+
configurable: true
|
138
|
+
});
|
139
|
+
Domains.prototype.withServiceArea = function (serviceArea) {
|
140
|
+
this['service_area'] = serviceArea;
|
141
|
+
return this;
|
142
|
+
};
|
143
|
+
Object.defineProperty(Domains.prototype, "serviceArea", {
|
144
|
+
get: function () {
|
145
|
+
return this['service_area'];
|
146
|
+
},
|
147
|
+
set: function (serviceArea) {
|
148
|
+
this['service_area'] = serviceArea;
|
149
|
+
},
|
150
|
+
enumerable: false,
|
151
|
+
configurable: true
|
152
|
+
});
|
153
|
+
Domains.prototype.withRangeStatus = function (rangeStatus) {
|
154
|
+
this['range_status'] = rangeStatus;
|
155
|
+
return this;
|
156
|
+
};
|
157
|
+
Object.defineProperty(Domains.prototype, "rangeStatus", {
|
158
|
+
get: function () {
|
159
|
+
return this['range_status'];
|
160
|
+
},
|
161
|
+
set: function (rangeStatus) {
|
162
|
+
this['range_status'] = rangeStatus;
|
163
|
+
},
|
164
|
+
enumerable: false,
|
165
|
+
configurable: true
|
166
|
+
});
|
167
|
+
Domains.prototype.withFollowStatus = function (followStatus) {
|
168
|
+
this['follow_status'] = followStatus;
|
169
|
+
return this;
|
170
|
+
};
|
171
|
+
Object.defineProperty(Domains.prototype, "followStatus", {
|
172
|
+
get: function () {
|
173
|
+
return this['follow_status'];
|
174
|
+
},
|
175
|
+
set: function (followStatus) {
|
176
|
+
this['follow_status'] = followStatus;
|
177
|
+
},
|
178
|
+
enumerable: false,
|
179
|
+
configurable: true
|
180
|
+
});
|
181
|
+
Domains.prototype.withOriginStatus = function (originStatus) {
|
182
|
+
this['origin_status'] = originStatus;
|
183
|
+
return this;
|
184
|
+
};
|
185
|
+
Object.defineProperty(Domains.prototype, "originStatus", {
|
186
|
+
get: function () {
|
187
|
+
return this['origin_status'];
|
188
|
+
},
|
189
|
+
set: function (originStatus) {
|
190
|
+
this['origin_status'] = originStatus;
|
191
|
+
},
|
192
|
+
enumerable: false,
|
193
|
+
configurable: true
|
194
|
+
});
|
195
|
+
Domains.prototype.withBannedReason = function (bannedReason) {
|
196
|
+
this['banned_reason'] = bannedReason;
|
197
|
+
return this;
|
198
|
+
};
|
199
|
+
Object.defineProperty(Domains.prototype, "bannedReason", {
|
200
|
+
get: function () {
|
201
|
+
return this['banned_reason'];
|
202
|
+
},
|
203
|
+
set: function (bannedReason) {
|
204
|
+
this['banned_reason'] = bannedReason;
|
205
|
+
},
|
206
|
+
enumerable: false,
|
207
|
+
configurable: true
|
208
|
+
});
|
209
|
+
Domains.prototype.withLockedReason = function (lockedReason) {
|
210
|
+
this['locked_reason'] = lockedReason;
|
211
|
+
return this;
|
212
|
+
};
|
213
|
+
Object.defineProperty(Domains.prototype, "lockedReason", {
|
214
|
+
get: function () {
|
215
|
+
return this['locked_reason'];
|
216
|
+
},
|
217
|
+
set: function (lockedReason) {
|
218
|
+
this['locked_reason'] = lockedReason;
|
219
|
+
},
|
220
|
+
enumerable: false,
|
221
|
+
configurable: true
|
222
|
+
});
|
223
|
+
Domains.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
224
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
225
|
+
return this;
|
226
|
+
};
|
227
|
+
Object.defineProperty(Domains.prototype, "enterpriseProjectId", {
|
228
|
+
get: function () {
|
229
|
+
return this['enterprise_project_id'];
|
230
|
+
},
|
231
|
+
set: function (enterpriseProjectId) {
|
232
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
233
|
+
},
|
234
|
+
enumerable: false,
|
235
|
+
configurable: true
|
236
|
+
});
|
237
|
+
Domains.prototype.withTags = function (tags) {
|
238
|
+
this['tags'] = tags;
|
239
|
+
return this;
|
240
|
+
};
|
241
|
+
return Domains;
|
242
|
+
}());
|
243
|
+
exports.Domains = Domains;
|
244
|
+
/**
|
245
|
+
* @export
|
246
|
+
* @enum {string}
|
247
|
+
*/
|
248
|
+
var DomainsServiceAreaEnum;
|
249
|
+
(function (DomainsServiceAreaEnum) {
|
250
|
+
DomainsServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
251
|
+
DomainsServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
252
|
+
DomainsServiceAreaEnum["GLOBAL"] = "global";
|
253
|
+
})(DomainsServiceAreaEnum = exports.DomainsServiceAreaEnum || (exports.DomainsServiceAreaEnum = {}));
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import { SourcesConfig } from './SourcesConfig';
|
2
|
+
export declare class DomainsWithPort {
|
3
|
+
id?: string;
|
4
|
+
private 'business_type'?;
|
5
|
+
private 'domain_status'?;
|
6
|
+
cname?: string;
|
7
|
+
sources?: Array<SourcesConfig>;
|
8
|
+
private 'https_status'?;
|
9
|
+
private 'create_time'?;
|
10
|
+
private 'update_time'?;
|
11
|
+
disabled?: number;
|
12
|
+
locked?: number;
|
13
|
+
private 'service_area'?;
|
14
|
+
private 'banned_reason'?;
|
15
|
+
private 'locked_reason'?;
|
16
|
+
private 'enterprise_project_id'?;
|
17
|
+
constructor();
|
18
|
+
withId(id: string): DomainsWithPort;
|
19
|
+
withBusinessType(businessType: string): DomainsWithPort;
|
20
|
+
set businessType(businessType: string | undefined);
|
21
|
+
get businessType(): string | undefined;
|
22
|
+
withDomainStatus(domainStatus: string): DomainsWithPort;
|
23
|
+
set domainStatus(domainStatus: string | undefined);
|
24
|
+
get domainStatus(): string | undefined;
|
25
|
+
withCname(cname: string): DomainsWithPort;
|
26
|
+
withSources(sources: Array<SourcesConfig>): DomainsWithPort;
|
27
|
+
withHttpsStatus(httpsStatus: number): DomainsWithPort;
|
28
|
+
set httpsStatus(httpsStatus: number | undefined);
|
29
|
+
get httpsStatus(): number | undefined;
|
30
|
+
withCreateTime(createTime: number): DomainsWithPort;
|
31
|
+
set createTime(createTime: number | undefined);
|
32
|
+
get createTime(): number | undefined;
|
33
|
+
withUpdateTime(updateTime: number): DomainsWithPort;
|
34
|
+
set updateTime(updateTime: number | undefined);
|
35
|
+
get updateTime(): number | undefined;
|
36
|
+
withDisabled(disabled: number): DomainsWithPort;
|
37
|
+
withLocked(locked: number): DomainsWithPort;
|
38
|
+
withServiceArea(serviceArea: DomainsWithPortServiceAreaEnum): DomainsWithPort;
|
39
|
+
set serviceArea(serviceArea: DomainsWithPortServiceAreaEnum | undefined);
|
40
|
+
get serviceArea(): DomainsWithPortServiceAreaEnum | undefined;
|
41
|
+
withBannedReason(bannedReason: string): DomainsWithPort;
|
42
|
+
set bannedReason(bannedReason: string | undefined);
|
43
|
+
get bannedReason(): string | undefined;
|
44
|
+
withLockedReason(lockedReason: string): DomainsWithPort;
|
45
|
+
set lockedReason(lockedReason: string | undefined);
|
46
|
+
get lockedReason(): string | undefined;
|
47
|
+
withEnterpriseProjectId(enterpriseProjectId: string): DomainsWithPort;
|
48
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
49
|
+
get enterpriseProjectId(): string | undefined;
|
50
|
+
}
|
51
|
+
/**
|
52
|
+
* @export
|
53
|
+
* @enum {string}
|
54
|
+
*/
|
55
|
+
export declare enum DomainsWithPortServiceAreaEnum {
|
56
|
+
MAINLAND_CHINA = "mainland_china",
|
57
|
+
OUTSIDE_MAINLAND_CHINA = "outside_mainland_china",
|
58
|
+
GLOBAL = "global"
|
59
|
+
}
|
@@ -0,0 +1,165 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DomainsWithPortServiceAreaEnum = exports.DomainsWithPort = void 0;
|
4
|
+
var DomainsWithPort = /** @class */ (function () {
|
5
|
+
function DomainsWithPort() {
|
6
|
+
}
|
7
|
+
DomainsWithPort.prototype.withId = function (id) {
|
8
|
+
this['id'] = id;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
DomainsWithPort.prototype.withBusinessType = function (businessType) {
|
12
|
+
this['business_type'] = businessType;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(DomainsWithPort.prototype, "businessType", {
|
16
|
+
get: function () {
|
17
|
+
return this['business_type'];
|
18
|
+
},
|
19
|
+
set: function (businessType) {
|
20
|
+
this['business_type'] = businessType;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
DomainsWithPort.prototype.withDomainStatus = function (domainStatus) {
|
26
|
+
this['domain_status'] = domainStatus;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(DomainsWithPort.prototype, "domainStatus", {
|
30
|
+
get: function () {
|
31
|
+
return this['domain_status'];
|
32
|
+
},
|
33
|
+
set: function (domainStatus) {
|
34
|
+
this['domain_status'] = domainStatus;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
DomainsWithPort.prototype.withCname = function (cname) {
|
40
|
+
this['cname'] = cname;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
DomainsWithPort.prototype.withSources = function (sources) {
|
44
|
+
this['sources'] = sources;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
DomainsWithPort.prototype.withHttpsStatus = function (httpsStatus) {
|
48
|
+
this['https_status'] = httpsStatus;
|
49
|
+
return this;
|
50
|
+
};
|
51
|
+
Object.defineProperty(DomainsWithPort.prototype, "httpsStatus", {
|
52
|
+
get: function () {
|
53
|
+
return this['https_status'];
|
54
|
+
},
|
55
|
+
set: function (httpsStatus) {
|
56
|
+
this['https_status'] = httpsStatus;
|
57
|
+
},
|
58
|
+
enumerable: false,
|
59
|
+
configurable: true
|
60
|
+
});
|
61
|
+
DomainsWithPort.prototype.withCreateTime = function (createTime) {
|
62
|
+
this['create_time'] = createTime;
|
63
|
+
return this;
|
64
|
+
};
|
65
|
+
Object.defineProperty(DomainsWithPort.prototype, "createTime", {
|
66
|
+
get: function () {
|
67
|
+
return this['create_time'];
|
68
|
+
},
|
69
|
+
set: function (createTime) {
|
70
|
+
this['create_time'] = createTime;
|
71
|
+
},
|
72
|
+
enumerable: false,
|
73
|
+
configurable: true
|
74
|
+
});
|
75
|
+
DomainsWithPort.prototype.withUpdateTime = function (updateTime) {
|
76
|
+
this['update_time'] = updateTime;
|
77
|
+
return this;
|
78
|
+
};
|
79
|
+
Object.defineProperty(DomainsWithPort.prototype, "updateTime", {
|
80
|
+
get: function () {
|
81
|
+
return this['update_time'];
|
82
|
+
},
|
83
|
+
set: function (updateTime) {
|
84
|
+
this['update_time'] = updateTime;
|
85
|
+
},
|
86
|
+
enumerable: false,
|
87
|
+
configurable: true
|
88
|
+
});
|
89
|
+
DomainsWithPort.prototype.withDisabled = function (disabled) {
|
90
|
+
this['disabled'] = disabled;
|
91
|
+
return this;
|
92
|
+
};
|
93
|
+
DomainsWithPort.prototype.withLocked = function (locked) {
|
94
|
+
this['locked'] = locked;
|
95
|
+
return this;
|
96
|
+
};
|
97
|
+
DomainsWithPort.prototype.withServiceArea = function (serviceArea) {
|
98
|
+
this['service_area'] = serviceArea;
|
99
|
+
return this;
|
100
|
+
};
|
101
|
+
Object.defineProperty(DomainsWithPort.prototype, "serviceArea", {
|
102
|
+
get: function () {
|
103
|
+
return this['service_area'];
|
104
|
+
},
|
105
|
+
set: function (serviceArea) {
|
106
|
+
this['service_area'] = serviceArea;
|
107
|
+
},
|
108
|
+
enumerable: false,
|
109
|
+
configurable: true
|
110
|
+
});
|
111
|
+
DomainsWithPort.prototype.withBannedReason = function (bannedReason) {
|
112
|
+
this['banned_reason'] = bannedReason;
|
113
|
+
return this;
|
114
|
+
};
|
115
|
+
Object.defineProperty(DomainsWithPort.prototype, "bannedReason", {
|
116
|
+
get: function () {
|
117
|
+
return this['banned_reason'];
|
118
|
+
},
|
119
|
+
set: function (bannedReason) {
|
120
|
+
this['banned_reason'] = bannedReason;
|
121
|
+
},
|
122
|
+
enumerable: false,
|
123
|
+
configurable: true
|
124
|
+
});
|
125
|
+
DomainsWithPort.prototype.withLockedReason = function (lockedReason) {
|
126
|
+
this['locked_reason'] = lockedReason;
|
127
|
+
return this;
|
128
|
+
};
|
129
|
+
Object.defineProperty(DomainsWithPort.prototype, "lockedReason", {
|
130
|
+
get: function () {
|
131
|
+
return this['locked_reason'];
|
132
|
+
},
|
133
|
+
set: function (lockedReason) {
|
134
|
+
this['locked_reason'] = lockedReason;
|
135
|
+
},
|
136
|
+
enumerable: false,
|
137
|
+
configurable: true
|
138
|
+
});
|
139
|
+
DomainsWithPort.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
140
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
141
|
+
return this;
|
142
|
+
};
|
143
|
+
Object.defineProperty(DomainsWithPort.prototype, "enterpriseProjectId", {
|
144
|
+
get: function () {
|
145
|
+
return this['enterprise_project_id'];
|
146
|
+
},
|
147
|
+
set: function (enterpriseProjectId) {
|
148
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
149
|
+
},
|
150
|
+
enumerable: false,
|
151
|
+
configurable: true
|
152
|
+
});
|
153
|
+
return DomainsWithPort;
|
154
|
+
}());
|
155
|
+
exports.DomainsWithPort = DomainsWithPort;
|
156
|
+
/**
|
157
|
+
* @export
|
158
|
+
* @enum {string}
|
159
|
+
*/
|
160
|
+
var DomainsWithPortServiceAreaEnum;
|
161
|
+
(function (DomainsWithPortServiceAreaEnum) {
|
162
|
+
DomainsWithPortServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
163
|
+
DomainsWithPortServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
164
|
+
DomainsWithPortServiceAreaEnum["GLOBAL"] = "global";
|
165
|
+
})(DomainsWithPortServiceAreaEnum = exports.DomainsWithPortServiceAreaEnum || (exports.DomainsWithPortServiceAreaEnum = {}));
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EpResourceTag = void 0;
|
4
|
+
var EpResourceTag = /** @class */ (function () {
|
5
|
+
function EpResourceTag(key, value) {
|
6
|
+
this['key'] = key;
|
7
|
+
this['value'] = value;
|
8
|
+
}
|
9
|
+
EpResourceTag.prototype.withKey = function (key) {
|
10
|
+
this['key'] = key;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
EpResourceTag.prototype.withValue = function (value) {
|
14
|
+
this['value'] = value;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
return EpResourceTag;
|
18
|
+
}());
|
19
|
+
exports.EpResourceTag = EpResourceTag;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
export declare class ListDomainsRequest {
|
2
|
+
private 'domain_name'?;
|
3
|
+
private 'business_type'?;
|
4
|
+
private 'domain_status'?;
|
5
|
+
private 'service_area'?;
|
6
|
+
private 'page_size'?;
|
7
|
+
private 'page_number'?;
|
8
|
+
private 'show_tags'?;
|
9
|
+
private 'exact_match'?;
|
10
|
+
private 'enterprise_project_id'?;
|
11
|
+
constructor();
|
12
|
+
withDomainName(domainName: string): ListDomainsRequest;
|
13
|
+
set domainName(domainName: string | undefined);
|
14
|
+
get domainName(): string | undefined;
|
15
|
+
withBusinessType(businessType: string): ListDomainsRequest;
|
16
|
+
set businessType(businessType: string | undefined);
|
17
|
+
get businessType(): string | undefined;
|
18
|
+
withDomainStatus(domainStatus: string): ListDomainsRequest;
|
19
|
+
set domainStatus(domainStatus: string | undefined);
|
20
|
+
get domainStatus(): string | undefined;
|
21
|
+
withServiceArea(serviceArea: string): ListDomainsRequest;
|
22
|
+
set serviceArea(serviceArea: string | undefined);
|
23
|
+
get serviceArea(): string | undefined;
|
24
|
+
withPageSize(pageSize: number): ListDomainsRequest;
|
25
|
+
set pageSize(pageSize: number | undefined);
|
26
|
+
get pageSize(): number | undefined;
|
27
|
+
withPageNumber(pageNumber: number): ListDomainsRequest;
|
28
|
+
set pageNumber(pageNumber: number | undefined);
|
29
|
+
get pageNumber(): number | undefined;
|
30
|
+
withShowTags(showTags: boolean): ListDomainsRequest;
|
31
|
+
set showTags(showTags: boolean | undefined);
|
32
|
+
get showTags(): boolean | undefined;
|
33
|
+
withExactMatch(exactMatch: boolean): ListDomainsRequest;
|
34
|
+
set exactMatch(exactMatch: boolean | undefined);
|
35
|
+
get exactMatch(): boolean | undefined;
|
36
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ListDomainsRequest;
|
37
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
38
|
+
get enterpriseProjectId(): string | undefined;
|
39
|
+
}
|