@alicloud/esa20240910 2.31.0 → 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +75 -0
- package/dist/client.js +235 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateRecordRequest.d.ts +2 -0
- package/dist/models/CreateRecordRequest.js.map +1 -1
- package/dist/models/CreateRecordShrinkRequest.d.ts +2 -0
- package/dist/models/CreateRecordShrinkRequest.js.map +1 -1
- package/dist/models/CreateTransportLayerApplicationRequest.d.ts +98 -0
- package/dist/models/CreateTransportLayerApplicationRequest.js +102 -0
- package/dist/models/CreateTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/CreateTransportLayerApplicationResponse.js +69 -0
- package/dist/models/CreateTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.d.ts +23 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js +60 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.d.ts +37 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js +68 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js.map +1 -0
- package/dist/models/DeleteRecordRequest.d.ts +1 -0
- package/dist/models/DeleteRecordRequest.js +2 -0
- package/dist/models/DeleteRecordRequest.js.map +1 -1
- package/dist/models/DeleteTransportLayerApplicationRequest.d.ts +29 -0
- package/dist/models/DeleteTransportLayerApplicationRequest.js +60 -0
- package/dist/models/DeleteTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/DeleteTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/DeleteTransportLayerApplicationResponse.js +69 -0
- package/dist/models/DeleteTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.d.ts +18 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/GetTransportLayerApplicationRequest.d.ts +29 -0
- package/dist/models/GetTransportLayerApplicationRequest.js +60 -0
- package/dist/models/GetTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/GetTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/GetTransportLayerApplicationResponse.js +69 -0
- package/dist/models/GetTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.d.ts +99 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js +114 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsRequest.d.ts +41 -0
- package/dist/models/ListTransportLayerApplicationsRequest.js +66 -0
- package/dist/models/ListTransportLayerApplicationsRequest.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsResponse.d.ts +19 -0
- package/dist/models/ListTransportLayerApplicationsResponse.js +69 -0
- package/dist/models/ListTransportLayerApplicationsResponse.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.d.ts +124 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js +142 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.d.ts +80 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.js +102 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/UpdateTransportLayerApplicationResponse.js +69 -0
- package/dist/models/UpdateTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.d.ts +18 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.d.ts +33 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js +68 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +22 -0
- package/dist/models/model.js +72 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +262 -0
- package/src/models/CreateRecordRequest.ts +2 -0
- package/src/models/CreateRecordShrinkRequest.ts +2 -0
- package/src/models/CreateTransportLayerApplicationRequest.ts +146 -0
- package/src/models/CreateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/CreateTransportLayerApplicationResponseBody.ts +38 -0
- package/src/models/CreateTransportLayerApplicationShrinkRequest.ts +60 -0
- package/src/models/DeleteRecordRequest.ts +3 -0
- package/src/models/DeleteTransportLayerApplicationRequest.ts +44 -0
- package/src/models/DeleteTransportLayerApplicationResponse.ts +40 -0
- package/src/models/DeleteTransportLayerApplicationResponseBody.ts +31 -0
- package/src/models/GetTransportLayerApplicationRequest.ts +44 -0
- package/src/models/GetTransportLayerApplicationResponse.ts +40 -0
- package/src/models/GetTransportLayerApplicationResponseBody.ts +159 -0
- package/src/models/ListTransportLayerApplicationsRequest.ts +62 -0
- package/src/models/ListTransportLayerApplicationsResponse.ts +40 -0
- package/src/models/ListTransportLayerApplicationsResponseBody.ts +203 -0
- package/src/models/UpdateTransportLayerApplicationRequest.ts +128 -0
- package/src/models/UpdateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/UpdateTransportLayerApplicationResponseBody.ts +31 -0
- package/src/models/UpdateTransportLayerApplicationShrinkRequest.ts +56 -0
- package/src/models/model.ts +22 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTransportLayerApplicationsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* fuzzy
|
|
9
|
+
*/
|
|
10
|
+
matchType?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
pageNumber?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 500
|
|
19
|
+
*/
|
|
20
|
+
pageSize?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* www.example.com
|
|
24
|
+
*/
|
|
25
|
+
recordName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* 123456******
|
|
32
|
+
*/
|
|
33
|
+
siteId?: number;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
matchType: 'MatchType',
|
|
37
|
+
pageNumber: 'PageNumber',
|
|
38
|
+
pageSize: 'PageSize',
|
|
39
|
+
recordName: 'RecordName',
|
|
40
|
+
siteId: 'SiteId',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
matchType: 'string',
|
|
47
|
+
pageNumber: 'number',
|
|
48
|
+
pageSize: 'number',
|
|
49
|
+
recordName: 'string',
|
|
50
|
+
siteId: 'number',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
constructor(map?: { [key: string]: any }) {
|
|
59
|
+
super(map);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListTransportLayerApplicationsResponseBody } from "./ListTransportLayerApplicationsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTransportLayerApplicationsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListTransportLayerApplicationsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListTransportLayerApplicationsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTransportLayerApplicationsResponseBodyApplicationsRules extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* off
|
|
9
|
+
*/
|
|
10
|
+
clientIPPassThroughMode?: string;
|
|
11
|
+
comment?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 80
|
|
15
|
+
*/
|
|
16
|
+
edgePort?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* TCP
|
|
20
|
+
*/
|
|
21
|
+
protocol?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 20258028****
|
|
25
|
+
*/
|
|
26
|
+
ruleId?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* 1.1.1.1
|
|
30
|
+
*/
|
|
31
|
+
source?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* 80
|
|
35
|
+
*/
|
|
36
|
+
sourcePort?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* ip
|
|
40
|
+
*/
|
|
41
|
+
sourceType?: string;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
clientIPPassThroughMode: 'ClientIPPassThroughMode',
|
|
45
|
+
comment: 'Comment',
|
|
46
|
+
edgePort: 'EdgePort',
|
|
47
|
+
protocol: 'Protocol',
|
|
48
|
+
ruleId: 'RuleId',
|
|
49
|
+
source: 'Source',
|
|
50
|
+
sourcePort: 'SourcePort',
|
|
51
|
+
sourceType: 'SourceType',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
static types(): { [key: string]: any } {
|
|
56
|
+
return {
|
|
57
|
+
clientIPPassThroughMode: 'string',
|
|
58
|
+
comment: 'string',
|
|
59
|
+
edgePort: 'string',
|
|
60
|
+
protocol: 'string',
|
|
61
|
+
ruleId: 'number',
|
|
62
|
+
source: 'string',
|
|
63
|
+
sourcePort: 'string',
|
|
64
|
+
sourceType: 'string',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
validate() {
|
|
69
|
+
super.validate();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
constructor(map?: { [key: string]: any }) {
|
|
73
|
+
super(map);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export class ListTransportLayerApplicationsResponseBodyApplications extends $dara.Model {
|
|
78
|
+
/**
|
|
79
|
+
* @example
|
|
80
|
+
* 170997271816****
|
|
81
|
+
*/
|
|
82
|
+
applicationId?: number;
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* example.com.ialicdn.com
|
|
86
|
+
*/
|
|
87
|
+
cname?: string;
|
|
88
|
+
crossBorderOptimization?: string;
|
|
89
|
+
ipAccessRule?: string;
|
|
90
|
+
ipv6?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* test.example.com
|
|
94
|
+
*/
|
|
95
|
+
recordName?: string;
|
|
96
|
+
rules?: ListTransportLayerApplicationsResponseBodyApplicationsRules[];
|
|
97
|
+
/**
|
|
98
|
+
* @example
|
|
99
|
+
* 1
|
|
100
|
+
*/
|
|
101
|
+
rulesCount?: number;
|
|
102
|
+
/**
|
|
103
|
+
* @example
|
|
104
|
+
* 36556540048****
|
|
105
|
+
*/
|
|
106
|
+
siteId?: number;
|
|
107
|
+
status?: string;
|
|
108
|
+
static names(): { [key: string]: string } {
|
|
109
|
+
return {
|
|
110
|
+
applicationId: 'ApplicationId',
|
|
111
|
+
cname: 'Cname',
|
|
112
|
+
crossBorderOptimization: 'CrossBorderOptimization',
|
|
113
|
+
ipAccessRule: 'IpAccessRule',
|
|
114
|
+
ipv6: 'Ipv6',
|
|
115
|
+
recordName: 'RecordName',
|
|
116
|
+
rules: 'Rules',
|
|
117
|
+
rulesCount: 'RulesCount',
|
|
118
|
+
siteId: 'SiteId',
|
|
119
|
+
status: 'Status',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
applicationId: 'number',
|
|
126
|
+
cname: 'string',
|
|
127
|
+
crossBorderOptimization: 'string',
|
|
128
|
+
ipAccessRule: 'string',
|
|
129
|
+
ipv6: 'string',
|
|
130
|
+
recordName: 'string',
|
|
131
|
+
rules: { 'type': 'array', 'itemType': ListTransportLayerApplicationsResponseBodyApplicationsRules },
|
|
132
|
+
rulesCount: 'number',
|
|
133
|
+
siteId: 'number',
|
|
134
|
+
status: 'string',
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
validate() {
|
|
139
|
+
if(Array.isArray(this.rules)) {
|
|
140
|
+
$dara.Model.validateArray(this.rules);
|
|
141
|
+
}
|
|
142
|
+
super.validate();
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
constructor(map?: { [key: string]: any }) {
|
|
146
|
+
super(map);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export class ListTransportLayerApplicationsResponseBody extends $dara.Model {
|
|
151
|
+
applications?: ListTransportLayerApplicationsResponseBodyApplications[];
|
|
152
|
+
/**
|
|
153
|
+
* @example
|
|
154
|
+
* 1
|
|
155
|
+
*/
|
|
156
|
+
pageNumber?: number;
|
|
157
|
+
/**
|
|
158
|
+
* @example
|
|
159
|
+
* 1
|
|
160
|
+
*/
|
|
161
|
+
pageSize?: number;
|
|
162
|
+
/**
|
|
163
|
+
* @example
|
|
164
|
+
* CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
|
|
165
|
+
*/
|
|
166
|
+
requestId?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @example
|
|
169
|
+
* 1
|
|
170
|
+
*/
|
|
171
|
+
totalCount?: number;
|
|
172
|
+
static names(): { [key: string]: string } {
|
|
173
|
+
return {
|
|
174
|
+
applications: 'Applications',
|
|
175
|
+
pageNumber: 'PageNumber',
|
|
176
|
+
pageSize: 'PageSize',
|
|
177
|
+
requestId: 'RequestId',
|
|
178
|
+
totalCount: 'TotalCount',
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
static types(): { [key: string]: any } {
|
|
183
|
+
return {
|
|
184
|
+
applications: { 'type': 'array', 'itemType': ListTransportLayerApplicationsResponseBodyApplications },
|
|
185
|
+
pageNumber: 'number',
|
|
186
|
+
pageSize: 'number',
|
|
187
|
+
requestId: 'string',
|
|
188
|
+
totalCount: 'number',
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
validate() {
|
|
193
|
+
if(Array.isArray(this.applications)) {
|
|
194
|
+
$dara.Model.validateArray(this.applications);
|
|
195
|
+
}
|
|
196
|
+
super.validate();
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
constructor(map?: { [key: string]: any }) {
|
|
200
|
+
super(map);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* TOA
|
|
9
|
+
*/
|
|
10
|
+
clientIPPassThroughMode?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 123
|
|
14
|
+
*/
|
|
15
|
+
comment?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 80
|
|
19
|
+
*/
|
|
20
|
+
edgePort?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* TCP
|
|
24
|
+
*/
|
|
25
|
+
protocol?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 1.1.1.1
|
|
29
|
+
*/
|
|
30
|
+
source?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 80
|
|
34
|
+
*/
|
|
35
|
+
sourcePort?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* ip
|
|
39
|
+
*/
|
|
40
|
+
sourceType?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
clientIPPassThroughMode: 'ClientIPPassThroughMode',
|
|
44
|
+
comment: 'Comment',
|
|
45
|
+
edgePort: 'EdgePort',
|
|
46
|
+
protocol: 'Protocol',
|
|
47
|
+
source: 'Source',
|
|
48
|
+
sourcePort: 'SourcePort',
|
|
49
|
+
sourceType: 'SourceType',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
clientIPPassThroughMode: 'string',
|
|
56
|
+
comment: 'string',
|
|
57
|
+
edgePort: 'string',
|
|
58
|
+
protocol: 'string',
|
|
59
|
+
source: 'string',
|
|
60
|
+
sourcePort: 'string',
|
|
61
|
+
sourceType: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class UpdateTransportLayerApplicationRequest extends $dara.Model {
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* This parameter is required.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* 165503967****
|
|
81
|
+
*/
|
|
82
|
+
applicationId?: number;
|
|
83
|
+
crossBorderOptimization?: string;
|
|
84
|
+
ipAccessRule?: string;
|
|
85
|
+
ipv6?: string;
|
|
86
|
+
rules?: UpdateTransportLayerApplicationRequestRules[];
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* This parameter is required.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* 123456****
|
|
93
|
+
*/
|
|
94
|
+
siteId?: number;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
applicationId: 'ApplicationId',
|
|
98
|
+
crossBorderOptimization: 'CrossBorderOptimization',
|
|
99
|
+
ipAccessRule: 'IpAccessRule',
|
|
100
|
+
ipv6: 'Ipv6',
|
|
101
|
+
rules: 'Rules',
|
|
102
|
+
siteId: 'SiteId',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
static types(): { [key: string]: any } {
|
|
107
|
+
return {
|
|
108
|
+
applicationId: 'number',
|
|
109
|
+
crossBorderOptimization: 'string',
|
|
110
|
+
ipAccessRule: 'string',
|
|
111
|
+
ipv6: 'string',
|
|
112
|
+
rules: { 'type': 'array', 'itemType': UpdateTransportLayerApplicationRequestRules },
|
|
113
|
+
siteId: 'number',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
validate() {
|
|
118
|
+
if(Array.isArray(this.rules)) {
|
|
119
|
+
$dara.Model.validateArray(this.rules);
|
|
120
|
+
}
|
|
121
|
+
super.validate();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
constructor(map?: { [key: string]: any }) {
|
|
125
|
+
super(map);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateTransportLayerApplicationResponseBody } from "./UpdateTransportLayerApplicationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateTransportLayerApplicationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateTransportLayerApplicationResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: UpdateTransportLayerApplicationResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateTransportLayerApplicationResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 9e5448c7-edaf-49aa-9887-0fcd0832306c
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 165503967****
|
|
12
|
+
*/
|
|
13
|
+
applicationId?: number;
|
|
14
|
+
crossBorderOptimization?: string;
|
|
15
|
+
ipAccessRule?: string;
|
|
16
|
+
ipv6?: string;
|
|
17
|
+
rulesShrink?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* 123456****
|
|
24
|
+
*/
|
|
25
|
+
siteId?: number;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
applicationId: 'ApplicationId',
|
|
29
|
+
crossBorderOptimization: 'CrossBorderOptimization',
|
|
30
|
+
ipAccessRule: 'IpAccessRule',
|
|
31
|
+
ipv6: 'Ipv6',
|
|
32
|
+
rulesShrink: 'Rules',
|
|
33
|
+
siteId: 'SiteId',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
applicationId: 'number',
|
|
40
|
+
crossBorderOptimization: 'string',
|
|
41
|
+
ipAccessRule: 'string',
|
|
42
|
+
ipv6: 'string',
|
|
43
|
+
rulesShrink: 'string',
|
|
44
|
+
siteId: 'number',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -73,6 +73,7 @@ export { CreateSiteDeliveryTaskRequestKafkaDelivery } from './CreateSiteDelivery
|
|
|
73
73
|
export { CreateSiteDeliveryTaskRequestOssDelivery } from './CreateSiteDeliveryTaskRequest';
|
|
74
74
|
export { CreateSiteDeliveryTaskRequestS3Delivery } from './CreateSiteDeliveryTaskRequest';
|
|
75
75
|
export { CreateSiteDeliveryTaskRequestSlsDelivery } from './CreateSiteDeliveryTaskRequest';
|
|
76
|
+
export { CreateTransportLayerApplicationRequestRules } from './CreateTransportLayerApplicationRequest';
|
|
76
77
|
export { CreateUserDeliveryTaskRequestHttpDeliveryStandardAuthParam } from './CreateUserDeliveryTaskRequest';
|
|
77
78
|
export { CreateUserDeliveryTaskRequestHttpDelivery } from './CreateUserDeliveryTaskRequest';
|
|
78
79
|
export { CreateUserDeliveryTaskRequestKafkaDelivery } from './CreateUserDeliveryTaskRequest';
|
|
@@ -148,6 +149,7 @@ export { GetRoutineUserInfoResponseBodyRoutines } from './GetRoutineUserInfoResp
|
|
|
148
149
|
export { GetSiteResponseBodySiteModel } from './GetSiteResponseBody';
|
|
149
150
|
export { GetSiteCustomLogResponseBodyLogCustomField } from './GetSiteCustomLogResponseBody';
|
|
150
151
|
export { GetSiteOriginClientCertificateResponseBodyResult } from './GetSiteOriginClientCertificateResponseBody';
|
|
152
|
+
export { GetTransportLayerApplicationResponseBodyRules } from './GetTransportLayerApplicationResponseBody';
|
|
151
153
|
export { GetWafFilterResponseBodyFilterFieldsLogicsValidator } from './GetWafFilterResponseBody';
|
|
152
154
|
export { GetWafFilterResponseBodyFilterFieldsLogics } from './GetWafFilterResponseBody';
|
|
153
155
|
export { GetWafFilterResponseBodyFilterFieldsSelectorData } from './GetWafFilterResponseBody';
|
|
@@ -235,6 +237,8 @@ export { ListSitesRequestTagFilter } from './ListSitesRequest';
|
|
|
235
237
|
export { ListSitesResponseBodySites } from './ListSitesResponseBody';
|
|
236
238
|
export { ListTagResourcesRequestTag } from './ListTagResourcesRequest';
|
|
237
239
|
export { ListTagResourcesResponseBodyTagResources } from './ListTagResourcesResponseBody';
|
|
240
|
+
export { ListTransportLayerApplicationsResponseBodyApplicationsRules } from './ListTransportLayerApplicationsResponseBody';
|
|
241
|
+
export { ListTransportLayerApplicationsResponseBodyApplications } from './ListTransportLayerApplicationsResponseBody';
|
|
238
242
|
export { ListUploadTasksResponseBodyTasks } from './ListUploadTasksResponseBody';
|
|
239
243
|
export { ListUrlObservationsResponseBodyConfigs } from './ListUrlObservationsResponseBody';
|
|
240
244
|
export { ListUserDeliveryTasksResponseBodyTasks } from './ListUserDeliveryTasksResponseBody';
|
|
@@ -275,6 +279,7 @@ export { UpdateOriginPoolRequestOriginsAuthConf } from './UpdateOriginPoolReques
|
|
|
275
279
|
export { UpdateOriginPoolRequestOrigins } from './UpdateOriginPoolRequest';
|
|
276
280
|
export { UpdateRecordRequestAuthConf } from './UpdateRecordRequest';
|
|
277
281
|
export { UpdateRecordRequestData } from './UpdateRecordRequest';
|
|
282
|
+
export { UpdateTransportLayerApplicationRequestRules } from './UpdateTransportLayerApplicationRequest';
|
|
278
283
|
export { UpdateWaitingRoomRequestHostNameAndPath } from './UpdateWaitingRoomRequest';
|
|
279
284
|
export { WafBatchRuleShared } from './WafBatchRuleShared';
|
|
280
285
|
export { WafQuotaInteger } from './WafQuotaInteger';
|
|
@@ -469,6 +474,10 @@ export { CreateSiteDeliveryTaskResponseBody } from './CreateSiteDeliveryTaskResp
|
|
|
469
474
|
export { CreateSiteDeliveryTaskResponse } from './CreateSiteDeliveryTaskResponse';
|
|
470
475
|
export { CreateSlrRoleForRealtimeLogResponseBody } from './CreateSlrRoleForRealtimeLogResponseBody';
|
|
471
476
|
export { CreateSlrRoleForRealtimeLogResponse } from './CreateSlrRoleForRealtimeLogResponse';
|
|
477
|
+
export { CreateTransportLayerApplicationRequest } from './CreateTransportLayerApplicationRequest';
|
|
478
|
+
export { CreateTransportLayerApplicationShrinkRequest } from './CreateTransportLayerApplicationShrinkRequest';
|
|
479
|
+
export { CreateTransportLayerApplicationResponseBody } from './CreateTransportLayerApplicationResponseBody';
|
|
480
|
+
export { CreateTransportLayerApplicationResponse } from './CreateTransportLayerApplicationResponse';
|
|
472
481
|
export { CreateUrlObservationRequest } from './CreateUrlObservationRequest';
|
|
473
482
|
export { CreateUrlObservationResponseBody } from './CreateUrlObservationResponseBody';
|
|
474
483
|
export { CreateUrlObservationResponse } from './CreateUrlObservationResponse';
|
|
@@ -616,6 +625,9 @@ export { DeleteSiteDeliveryTaskResponse } from './DeleteSiteDeliveryTaskResponse
|
|
|
616
625
|
export { DeleteSiteOriginClientCertificateRequest } from './DeleteSiteOriginClientCertificateRequest';
|
|
617
626
|
export { DeleteSiteOriginClientCertificateResponseBody } from './DeleteSiteOriginClientCertificateResponseBody';
|
|
618
627
|
export { DeleteSiteOriginClientCertificateResponse } from './DeleteSiteOriginClientCertificateResponse';
|
|
628
|
+
export { DeleteTransportLayerApplicationRequest } from './DeleteTransportLayerApplicationRequest';
|
|
629
|
+
export { DeleteTransportLayerApplicationResponseBody } from './DeleteTransportLayerApplicationResponseBody';
|
|
630
|
+
export { DeleteTransportLayerApplicationResponse } from './DeleteTransportLayerApplicationResponse';
|
|
619
631
|
export { DeleteUrlObservationRequest } from './DeleteUrlObservationRequest';
|
|
620
632
|
export { DeleteUrlObservationResponseBody } from './DeleteUrlObservationResponseBody';
|
|
621
633
|
export { DeleteUrlObservationResponse } from './DeleteUrlObservationResponse';
|
|
@@ -896,6 +908,9 @@ export { GetSiteWafSettingsResponse } from './GetSiteWafSettingsResponse';
|
|
|
896
908
|
export { GetTieredCacheRequest } from './GetTieredCacheRequest';
|
|
897
909
|
export { GetTieredCacheResponseBody } from './GetTieredCacheResponseBody';
|
|
898
910
|
export { GetTieredCacheResponse } from './GetTieredCacheResponse';
|
|
911
|
+
export { GetTransportLayerApplicationRequest } from './GetTransportLayerApplicationRequest';
|
|
912
|
+
export { GetTransportLayerApplicationResponseBody } from './GetTransportLayerApplicationResponseBody';
|
|
913
|
+
export { GetTransportLayerApplicationResponse } from './GetTransportLayerApplicationResponse';
|
|
899
914
|
export { GetUploadTaskRequest } from './GetUploadTaskRequest';
|
|
900
915
|
export { GetUploadTaskResponseBody } from './GetUploadTaskResponseBody';
|
|
901
916
|
export { GetUploadTaskResponse } from './GetUploadTaskResponse';
|
|
@@ -1070,6 +1085,9 @@ export { ListSitesResponse } from './ListSitesResponse';
|
|
|
1070
1085
|
export { ListTagResourcesRequest } from './ListTagResourcesRequest';
|
|
1071
1086
|
export { ListTagResourcesResponseBody } from './ListTagResourcesResponseBody';
|
|
1072
1087
|
export { ListTagResourcesResponse } from './ListTagResourcesResponse';
|
|
1088
|
+
export { ListTransportLayerApplicationsRequest } from './ListTransportLayerApplicationsRequest';
|
|
1089
|
+
export { ListTransportLayerApplicationsResponseBody } from './ListTransportLayerApplicationsResponseBody';
|
|
1090
|
+
export { ListTransportLayerApplicationsResponse } from './ListTransportLayerApplicationsResponse';
|
|
1073
1091
|
export { ListUploadTasksRequest } from './ListUploadTasksRequest';
|
|
1074
1092
|
export { ListUploadTasksResponseBody } from './ListUploadTasksResponseBody';
|
|
1075
1093
|
export { ListUploadTasksResponse } from './ListUploadTasksResponse';
|
|
@@ -1330,6 +1348,10 @@ export { UpdateSiteVanityNSResponse } from './UpdateSiteVanityNsresponse';
|
|
|
1330
1348
|
export { UpdateTieredCacheRequest } from './UpdateTieredCacheRequest';
|
|
1331
1349
|
export { UpdateTieredCacheResponseBody } from './UpdateTieredCacheResponseBody';
|
|
1332
1350
|
export { UpdateTieredCacheResponse } from './UpdateTieredCacheResponse';
|
|
1351
|
+
export { UpdateTransportLayerApplicationRequest } from './UpdateTransportLayerApplicationRequest';
|
|
1352
|
+
export { UpdateTransportLayerApplicationShrinkRequest } from './UpdateTransportLayerApplicationShrinkRequest';
|
|
1353
|
+
export { UpdateTransportLayerApplicationResponseBody } from './UpdateTransportLayerApplicationResponseBody';
|
|
1354
|
+
export { UpdateTransportLayerApplicationResponse } from './UpdateTransportLayerApplicationResponse';
|
|
1333
1355
|
export { UpdateUrlObservationRequest } from './UpdateUrlObservationRequest';
|
|
1334
1356
|
export { UpdateUrlObservationResponseBody } from './UpdateUrlObservationResponseBody';
|
|
1335
1357
|
export { UpdateUrlObservationResponse } from './UpdateUrlObservationResponse';
|