@alicloud/esa20240910 2.32.0 → 2.32.1
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 +10 -10
- package/dist/client.js +16 -10
- package/dist/client.js.map +1 -1
- package/dist/models/CreateTransportLayerApplicationRequest.d.ts +73 -1
- package/dist/models/CreateTransportLayerApplicationRequest.js +2 -0
- package/dist/models/CreateTransportLayerApplicationRequest.js.map +1 -1
- package/dist/models/CreateTransportLayerApplicationResponseBody.d.ts +6 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js.map +1 -1
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.d.ts +33 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js +2 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DeleteTransportLayerApplicationRequest.d.ts +4 -0
- package/dist/models/DeleteTransportLayerApplicationRequest.js.map +1 -1
- package/dist/models/DeleteTransportLayerApplicationResponseBody.d.ts +3 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js.map +1 -1
- package/dist/models/GetRoutineResponseBody.d.ts +0 -21
- package/dist/models/GetRoutineResponseBody.js +0 -9
- package/dist/models/GetRoutineResponseBody.js.map +1 -1
- package/dist/models/GetTransportLayerApplicationRequest.d.ts +4 -0
- package/dist/models/GetTransportLayerApplicationRequest.js.map +1 -1
- package/dist/models/GetTransportLayerApplicationResponseBody.d.ts +117 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js +29 -1
- package/dist/models/GetTransportLayerApplicationResponseBody.js.map +1 -1
- package/dist/models/ListTransportLayerApplicationsRequest.d.ts +19 -0
- package/dist/models/ListTransportLayerApplicationsRequest.js.map +1 -1
- package/dist/models/ListTransportLayerApplicationsResponseBody.d.ts +138 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js +29 -1
- package/dist/models/ListTransportLayerApplicationsResponseBody.js.map +1 -1
- package/dist/models/UpdateTransportLayerApplicationRequest.d.ts +77 -1
- package/dist/models/UpdateTransportLayerApplicationRequest.js +2 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.js.map +1 -1
- package/dist/models/UpdateTransportLayerApplicationResponseBody.d.ts +3 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js.map +1 -1
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.d.ts +36 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js +2 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +35 -31
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -10
- package/src/models/CreateTransportLayerApplicationRequest.ts +75 -1
- package/src/models/CreateTransportLayerApplicationResponseBody.ts +6 -0
- package/src/models/CreateTransportLayerApplicationShrinkRequest.ts +35 -0
- package/src/models/DeleteTransportLayerApplicationRequest.ts +4 -0
- package/src/models/DeleteTransportLayerApplicationResponseBody.ts +3 -0
- package/src/models/GetRoutineResponseBody.ts +0 -30
- package/src/models/GetTransportLayerApplicationRequest.ts +4 -0
- package/src/models/GetTransportLayerApplicationResponseBody.ts +136 -0
- package/src/models/ListTransportLayerApplicationsRequest.ts +19 -0
- package/src/models/ListTransportLayerApplicationsResponseBody.ts +157 -0
- package/src/models/UpdateTransportLayerApplicationRequest.ts +79 -1
- package/src/models/UpdateTransportLayerApplicationResponseBody.ts +3 -0
- package/src/models/UpdateTransportLayerApplicationShrinkRequest.ts +38 -0
- package/src/models/model.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/GetTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/GetTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAmF5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,yBAAyB;YAClD,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,QAAQ;YACjC,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApHD,sGAoHC;AAED,MAAa,sDAAuD,SAAQ,KAAK,CAAC,KAAK;IAGrF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA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AK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjJD,4FAiJC"}
|
|
@@ -1,27 +1,46 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ListTransportLayerApplicationsRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Query type for the transport layer application host record, supporting the following 4 types, with exact query as the default.
|
|
6
|
+
*
|
|
7
|
+
* - fuzzy: Fuzzy query.
|
|
8
|
+
* - exact: Exact query.
|
|
9
|
+
* - prefix: Prefix match query.
|
|
10
|
+
* - suffix: Suffix match query.
|
|
11
|
+
*
|
|
4
12
|
* @example
|
|
5
13
|
* fuzzy
|
|
6
14
|
*/
|
|
7
15
|
matchType?: string;
|
|
8
16
|
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Page number set for pagination. Starting value: 1. Default value: 1.
|
|
19
|
+
*
|
|
9
20
|
* @example
|
|
10
21
|
* 1
|
|
11
22
|
*/
|
|
12
23
|
pageNumber?: number;
|
|
13
24
|
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* Page size. The maximum value is 500.
|
|
27
|
+
*
|
|
14
28
|
* @example
|
|
15
29
|
* 500
|
|
16
30
|
*/
|
|
17
31
|
pageSize?: number;
|
|
18
32
|
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* Host record of the transport layer application.
|
|
35
|
+
*
|
|
19
36
|
* @example
|
|
20
37
|
* www.example.com
|
|
21
38
|
*/
|
|
22
39
|
recordName?: string;
|
|
23
40
|
/**
|
|
24
41
|
* @remarks
|
|
42
|
+
* Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) API.
|
|
43
|
+
*
|
|
25
44
|
* This parameter is required.
|
|
26
45
|
*
|
|
27
46
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListTransportLayerApplicationsRequest.js","sourceRoot":"","sources":["../../src/models/ListTransportLayerApplicationsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListTransportLayerApplicationsRequest.js","sourceRoot":"","sources":["../../src/models/ListTransportLayerApplicationsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAgDpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3ED,sFA2EC"}
|
|
@@ -1,37 +1,83 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class ListTransportLayerApplicationsResponseBodyApplicationsRules extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Client IP pass-through protocol, supports:
|
|
6
|
+
* - **off**: No pass-through.
|
|
7
|
+
* - **PPv1**: PROXY Protocol v1, supports client IP pass-through for TCP protocol.
|
|
8
|
+
* - **PPv2**: PROXY Protocol v2, supports client IP pass-through for TCP and UDP protocols.
|
|
9
|
+
* - **SPP**: Simple Proxy Protocol, supports client IP pass-through for UDP protocol.
|
|
10
|
+
*
|
|
4
11
|
* @example
|
|
5
12
|
* off
|
|
6
13
|
*/
|
|
7
14
|
clientIPPassThroughMode?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* Comment information for the rule.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 测试
|
|
21
|
+
*/
|
|
8
22
|
comment?: string;
|
|
9
23
|
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* Edge port. Supports:
|
|
26
|
+
*
|
|
27
|
+
* - A single port, e.g., 80.
|
|
28
|
+
* - Port range, e.g., 81-85, representing ports 81, 82, 83, 84, 85.
|
|
29
|
+
* - Combination of ports and port ranges, separated by commas, e.g., 80,81-85,90, representing ports 80, 81, 82, 83, 84, 85, 90.
|
|
30
|
+
*
|
|
10
31
|
* @example
|
|
11
32
|
* 80
|
|
12
33
|
*/
|
|
13
34
|
edgePort?: string;
|
|
14
35
|
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* Forwarding rule protocol, with values:
|
|
38
|
+
*
|
|
39
|
+
* - TCP: TCP protocol.
|
|
40
|
+
* - UDP: UDP protocol.
|
|
41
|
+
*
|
|
15
42
|
* @example
|
|
16
43
|
* TCP
|
|
17
44
|
*/
|
|
18
45
|
protocol?: string;
|
|
19
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Layer 4 acceleration rule ID.
|
|
49
|
+
*
|
|
20
50
|
* @example
|
|
21
51
|
* 20258028****
|
|
22
52
|
*/
|
|
23
53
|
ruleId?: number;
|
|
24
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Specific value of the source, which needs to match the source type.
|
|
57
|
+
*
|
|
25
58
|
* @example
|
|
26
59
|
* 1.1.1.1
|
|
27
60
|
*/
|
|
28
61
|
source?: string;
|
|
29
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Source port. Supports:
|
|
65
|
+
*
|
|
66
|
+
* - A single port, when the source port is a single port, any valid combination of edge ports is supported.
|
|
67
|
+
* - Port range, only when the edge port is a port range, the source port can be set to a port range, and the range size must be consistent with the edge port. For example, if the edge port is 90-93, the source port cannot be set to 81-85 because the source port range is 5 and the edge port range is 3, which are inconsistent.
|
|
68
|
+
*
|
|
30
69
|
* @example
|
|
31
70
|
* 80
|
|
32
71
|
*/
|
|
33
72
|
sourcePort?: string;
|
|
34
73
|
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* Source type, supports:
|
|
76
|
+
* - **ip**: IP.
|
|
77
|
+
* - **domain**: Domain name.
|
|
78
|
+
* - **OP**: Origin pool.
|
|
79
|
+
* - **LB**: Load balancer.
|
|
80
|
+
*
|
|
35
81
|
* @example
|
|
36
82
|
* ip
|
|
37
83
|
*/
|
|
@@ -47,36 +93,112 @@ export declare class ListTransportLayerApplicationsResponseBodyApplicationsRules
|
|
|
47
93
|
[key: string]: any;
|
|
48
94
|
});
|
|
49
95
|
}
|
|
96
|
+
export declare class ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List extends $dara.Model {
|
|
97
|
+
address?: string;
|
|
98
|
+
status?: string;
|
|
99
|
+
static names(): {
|
|
100
|
+
[key: string]: string;
|
|
101
|
+
};
|
|
102
|
+
static types(): {
|
|
103
|
+
[key: string]: any;
|
|
104
|
+
};
|
|
105
|
+
validate(): void;
|
|
106
|
+
constructor(map?: {
|
|
107
|
+
[key: string]: any;
|
|
108
|
+
});
|
|
109
|
+
}
|
|
50
110
|
export declare class ListTransportLayerApplicationsResponseBodyApplications extends $dara.Model {
|
|
51
111
|
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* Layer 4 application ID.
|
|
114
|
+
*
|
|
52
115
|
* @example
|
|
53
116
|
* 170997271816****
|
|
54
117
|
*/
|
|
55
118
|
applicationId?: number;
|
|
56
119
|
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* CNAME domain name corresponding to the Layer 4 acceleration application. This field is not empty only when the site is accessed via CNAME.
|
|
122
|
+
*
|
|
57
123
|
* @example
|
|
58
124
|
* example.com.ialicdn.com
|
|
59
125
|
*/
|
|
60
126
|
cname?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* Whether to enable China mainland network access optimization. It is disabled by default. The value range is:
|
|
130
|
+
*
|
|
131
|
+
* - on: Enabled.
|
|
132
|
+
* - off: Disabled.
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* on
|
|
136
|
+
*/
|
|
61
137
|
crossBorderOptimization?: string;
|
|
138
|
+
/**
|
|
139
|
+
* @remarks
|
|
140
|
+
* IP access rule switch. When enabled, the IP access rules in WAF take effect on the Layer 4 application.
|
|
141
|
+
*
|
|
142
|
+
* - on: Enabled.
|
|
143
|
+
* - off: Disabled.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* on
|
|
147
|
+
*/
|
|
62
148
|
ipAccessRule?: string;
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* IPv6 switch.
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* on
|
|
155
|
+
*/
|
|
63
156
|
ipv6?: string;
|
|
64
157
|
/**
|
|
158
|
+
* @remarks
|
|
159
|
+
* Domain name of the Layer 4 application.
|
|
160
|
+
*
|
|
65
161
|
* @example
|
|
66
162
|
* test.example.com
|
|
67
163
|
*/
|
|
68
164
|
recordName?: string;
|
|
165
|
+
/**
|
|
166
|
+
* @remarks
|
|
167
|
+
* List of forwarding rules.
|
|
168
|
+
*/
|
|
69
169
|
rules?: ListTransportLayerApplicationsResponseBodyApplicationsRules[];
|
|
70
170
|
/**
|
|
171
|
+
* @remarks
|
|
172
|
+
* Number of forwarding rules contained in the Layer 4 acceleration application.
|
|
173
|
+
*
|
|
71
174
|
* @example
|
|
72
175
|
* 1
|
|
73
176
|
*/
|
|
74
177
|
rulesCount?: number;
|
|
75
178
|
/**
|
|
179
|
+
* @remarks
|
|
180
|
+
* Site ID.
|
|
181
|
+
*
|
|
76
182
|
* @example
|
|
77
183
|
* 36556540048****
|
|
78
184
|
*/
|
|
79
185
|
siteId?: number;
|
|
186
|
+
staticIp?: string;
|
|
187
|
+
/**
|
|
188
|
+
* @remarks
|
|
189
|
+
* This parameter is required.
|
|
190
|
+
*/
|
|
191
|
+
staticIpV4List?: ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List[];
|
|
192
|
+
/**
|
|
193
|
+
* @remarks
|
|
194
|
+
* Status of the Layer 4 application
|
|
195
|
+
*
|
|
196
|
+
* - **deploying**: Deploying. In this state, modification and deletion are not allowed.
|
|
197
|
+
* - **active**: Active.
|
|
198
|
+
*
|
|
199
|
+
* @example
|
|
200
|
+
* active
|
|
201
|
+
*/
|
|
80
202
|
status?: string;
|
|
81
203
|
static names(): {
|
|
82
204
|
[key: string]: string;
|
|
@@ -90,23 +212,39 @@ export declare class ListTransportLayerApplicationsResponseBodyApplications exte
|
|
|
90
212
|
});
|
|
91
213
|
}
|
|
92
214
|
export declare class ListTransportLayerApplicationsResponseBody extends $dara.Model {
|
|
215
|
+
/**
|
|
216
|
+
* @remarks
|
|
217
|
+
* List of transport layer applications.
|
|
218
|
+
*/
|
|
93
219
|
applications?: ListTransportLayerApplicationsResponseBodyApplications[];
|
|
94
220
|
/**
|
|
221
|
+
* @remarks
|
|
222
|
+
* Current page number.
|
|
223
|
+
*
|
|
95
224
|
* @example
|
|
96
225
|
* 1
|
|
97
226
|
*/
|
|
98
227
|
pageNumber?: number;
|
|
99
228
|
/**
|
|
229
|
+
* @remarks
|
|
230
|
+
* Page size.
|
|
231
|
+
*
|
|
100
232
|
* @example
|
|
101
233
|
* 1
|
|
102
234
|
*/
|
|
103
235
|
pageSize?: number;
|
|
104
236
|
/**
|
|
237
|
+
* @remarks
|
|
238
|
+
* Request ID.
|
|
239
|
+
*
|
|
105
240
|
* @example
|
|
106
241
|
* CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
|
|
107
242
|
*/
|
|
108
243
|
requestId?: string;
|
|
109
244
|
/**
|
|
245
|
+
* @remarks
|
|
246
|
+
* Total number of transport layer applications.
|
|
247
|
+
*
|
|
110
248
|
* @example
|
|
111
249
|
* 1
|
|
112
250
|
*/
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.ListTransportLayerApplicationsResponseBody = exports.ListTransportLayerApplicationsResponseBodyApplications = exports.ListTransportLayerApplicationsResponseBodyApplicationsRules = void 0;
|
|
36
|
+
exports.ListTransportLayerApplicationsResponseBody = exports.ListTransportLayerApplicationsResponseBodyApplications = exports.ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List = exports.ListTransportLayerApplicationsResponseBodyApplicationsRules = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
39
|
class ListTransportLayerApplicationsResponseBodyApplicationsRules extends $dara.Model {
|
|
@@ -69,6 +69,27 @@ class ListTransportLayerApplicationsResponseBodyApplicationsRules extends $dara.
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
exports.ListTransportLayerApplicationsResponseBodyApplicationsRules = ListTransportLayerApplicationsResponseBodyApplicationsRules;
|
|
72
|
+
class ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List extends $dara.Model {
|
|
73
|
+
static names() {
|
|
74
|
+
return {
|
|
75
|
+
address: 'Address',
|
|
76
|
+
status: 'Status',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
static types() {
|
|
80
|
+
return {
|
|
81
|
+
address: 'string',
|
|
82
|
+
status: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
validate() {
|
|
86
|
+
super.validate();
|
|
87
|
+
}
|
|
88
|
+
constructor(map) {
|
|
89
|
+
super(map);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List = ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List;
|
|
72
93
|
class ListTransportLayerApplicationsResponseBodyApplications extends $dara.Model {
|
|
73
94
|
static names() {
|
|
74
95
|
return {
|
|
@@ -81,6 +102,8 @@ class ListTransportLayerApplicationsResponseBodyApplications extends $dara.Model
|
|
|
81
102
|
rules: 'Rules',
|
|
82
103
|
rulesCount: 'RulesCount',
|
|
83
104
|
siteId: 'SiteId',
|
|
105
|
+
staticIp: 'StaticIp',
|
|
106
|
+
staticIpV4List: 'StaticIpV4List',
|
|
84
107
|
status: 'Status',
|
|
85
108
|
};
|
|
86
109
|
}
|
|
@@ -95,6 +118,8 @@ class ListTransportLayerApplicationsResponseBodyApplications extends $dara.Model
|
|
|
95
118
|
rules: { 'type': 'array', 'itemType': ListTransportLayerApplicationsResponseBodyApplicationsRules },
|
|
96
119
|
rulesCount: 'number',
|
|
97
120
|
siteId: 'number',
|
|
121
|
+
staticIp: 'string',
|
|
122
|
+
staticIpV4List: { 'type': 'array', 'itemType': ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List },
|
|
98
123
|
status: 'string',
|
|
99
124
|
};
|
|
100
125
|
}
|
|
@@ -102,6 +127,9 @@ class ListTransportLayerApplicationsResponseBodyApplications extends $dara.Model
|
|
|
102
127
|
if (Array.isArray(this.rules)) {
|
|
103
128
|
$dara.Model.validateArray(this.rules);
|
|
104
129
|
}
|
|
130
|
+
if (Array.isArray(this.staticIpV4List)) {
|
|
131
|
+
$dara.Model.validateArray(this.staticIpV4List);
|
|
132
|
+
}
|
|
105
133
|
super.validate();
|
|
106
134
|
}
|
|
107
135
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListTransportLayerApplicationsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListTransportLayerApplicationsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2DAA4D,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListTransportLayerApplicationsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListTransportLayerApplicationsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2DAA4D,SAAQ,KAAK,CAAC,KAAK;IAmF1F,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,yBAAyB;YAClD,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,QAAQ;YACjC,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApHD,kIAoHC;AAED,MAAa,oEAAqE,SAAQ,KAAK,CAAC,KAAK;IAGnG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,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2
2
|
export declare class UpdateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Client IP pass-through protocol, supports:
|
|
6
|
+
* - **off**: No pass-through.
|
|
7
|
+
* - **PPv1**: PROXY Protocol v1, supports client IP pass-through for TCP protocol.
|
|
8
|
+
* - **PPv2**: PROXY Protocol v2, supports client IP pass-through for TCP and UDP protocols.
|
|
9
|
+
* - **SPP**: Simple Proxy Protocol, supports client IP pass-through for UDP protocol.
|
|
10
|
+
*
|
|
4
11
|
* @example
|
|
5
|
-
*
|
|
12
|
+
* SPP
|
|
6
13
|
*/
|
|
7
14
|
clientIPPassThroughMode?: string;
|
|
8
15
|
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* Comment information for the rule.
|
|
18
|
+
*
|
|
9
19
|
* @example
|
|
10
20
|
* 123
|
|
11
21
|
*/
|
|
12
22
|
comment?: string;
|
|
13
23
|
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* Edge port. Supports:
|
|
26
|
+
*
|
|
27
|
+
* - A single port, e.g., 80.
|
|
28
|
+
* - Port range, e.g., 81-85, representing ports 81, 82, 83, 84, 85.
|
|
29
|
+
* - Combination of ports and port ranges, separated by commas, e.g., 80,81-85,90, representing ports 80, 81, 82, 83, 84, 85, 90.
|
|
30
|
+
* - Edge ports within a single rule and between multiple rules must not overlap.
|
|
31
|
+
*
|
|
14
32
|
* @example
|
|
15
33
|
* 80
|
|
16
34
|
*/
|
|
17
35
|
edgePort?: string;
|
|
18
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* Forwarding rule protocol, supports:
|
|
39
|
+
*
|
|
40
|
+
* - TCP: TCP protocol.
|
|
41
|
+
* - UDP: UDP protocol.
|
|
42
|
+
*
|
|
19
43
|
* @example
|
|
20
44
|
* TCP
|
|
21
45
|
*/
|
|
22
46
|
protocol?: string;
|
|
23
47
|
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* Specific value of the source.
|
|
50
|
+
*
|
|
24
51
|
* @example
|
|
25
52
|
* 1.1.1.1
|
|
26
53
|
*/
|
|
27
54
|
source?: string;
|
|
28
55
|
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* Source port. Supports:
|
|
58
|
+
*
|
|
59
|
+
* - A single port, when the source port is a single port, any valid edge port combination is supported.
|
|
60
|
+
* - Port range, only when the edge port is a port range, the source port can be set as a port range, and the size of the range must match that of the edge port. For example, if the edge port is 90-93, the source port cannot be set to 81-85 because the source port range is 5 and the edge port range is 3, which do not match.
|
|
61
|
+
*
|
|
29
62
|
* @example
|
|
30
63
|
* 80
|
|
31
64
|
*/
|
|
32
65
|
sourcePort?: string;
|
|
33
66
|
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* Source type, supports:
|
|
69
|
+
* - **ip**: IP address.
|
|
70
|
+
* - **domain**: Domain name.
|
|
71
|
+
* - **OP**: Origin pool.
|
|
72
|
+
* - **LB**: Load balancer.
|
|
73
|
+
*
|
|
34
74
|
* @example
|
|
35
75
|
* ip
|
|
36
76
|
*/
|
|
@@ -49,24 +89,60 @@ export declare class UpdateTransportLayerApplicationRequestRules extends $dara.M
|
|
|
49
89
|
export declare class UpdateTransportLayerApplicationRequest extends $dara.Model {
|
|
50
90
|
/**
|
|
51
91
|
* @remarks
|
|
92
|
+
* Transport layer application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
93
|
+
*
|
|
52
94
|
* This parameter is required.
|
|
53
95
|
*
|
|
54
96
|
* @example
|
|
55
97
|
* 165503967****
|
|
56
98
|
*/
|
|
57
99
|
applicationId?: number;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* Whether to enable China mainland network access optimization, default is disabled. Value range:
|
|
103
|
+
*
|
|
104
|
+
* - on: Enabled.
|
|
105
|
+
* - off: Disabled.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* on
|
|
109
|
+
*/
|
|
58
110
|
crossBorderOptimization?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* IP access rule switch. When enabled, the IP access rules in WAF will take effect on the transport layer application.
|
|
114
|
+
*
|
|
115
|
+
* - on: Enabled.
|
|
116
|
+
* - off: Disabled.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* on
|
|
120
|
+
*/
|
|
59
121
|
ipAccessRule?: string;
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* IPv6 switch.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* on
|
|
128
|
+
*/
|
|
60
129
|
ipv6?: string;
|
|
130
|
+
/**
|
|
131
|
+
* @remarks
|
|
132
|
+
* Forwarding rule list. Details of each rule. Except for the comment, all other parameters are required.
|
|
133
|
+
*/
|
|
61
134
|
rules?: UpdateTransportLayerApplicationRequestRules[];
|
|
62
135
|
/**
|
|
63
136
|
* @remarks
|
|
137
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
138
|
+
*
|
|
64
139
|
* This parameter is required.
|
|
65
140
|
*
|
|
66
141
|
* @example
|
|
67
142
|
* 123456****
|
|
68
143
|
*/
|
|
69
144
|
siteId?: number;
|
|
145
|
+
staticIp?: string;
|
|
70
146
|
static names(): {
|
|
71
147
|
[key: string]: string;
|
|
72
148
|
};
|
|
@@ -76,6 +76,7 @@ class UpdateTransportLayerApplicationRequest extends $dara.Model {
|
|
|
76
76
|
ipv6: 'Ipv6',
|
|
77
77
|
rules: 'Rules',
|
|
78
78
|
siteId: 'SiteId',
|
|
79
|
+
staticIp: 'StaticIp',
|
|
79
80
|
};
|
|
80
81
|
}
|
|
81
82
|
static types() {
|
|
@@ -86,6 +87,7 @@ class UpdateTransportLayerApplicationRequest extends $dara.Model {
|
|
|
86
87
|
ipv6: 'string',
|
|
87
88
|
rules: { 'type': 'array', 'itemType': UpdateTransportLayerApplicationRequestRules },
|
|
88
89
|
siteId: 'number',
|
|
90
|
+
staticIp: 'string',
|
|
89
91
|
};
|
|
90
92
|
}
|
|
91
93
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateTransportLayerApplicationRequest.js","sourceRoot":"","sources":["../../src/models/UpdateTransportLayerApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateTransportLayerApplicationRequest.js","sourceRoot":"","sources":["../../src/models/UpdateTransportLayerApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IA4E1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,yBAAyB;YAClD,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,QAAQ;YACjC,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3GD,kGA2GC;AAED,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAyDrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,uBAAuB,EAAE,yBAAyB;YAClD,YAAY,EAAE,cAAc;YAC5B,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,uBAAuB,EAAE,QAAQ;YACjC,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,2CAA2C,EAAE;YACnF,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3FD,wFA2FC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/UpdateTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/UpdateTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAS1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,kGA4BC"}
|
|
@@ -2,24 +2,60 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* Transport layer application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
6
|
+
*
|
|
5
7
|
* This parameter is required.
|
|
6
8
|
*
|
|
7
9
|
* @example
|
|
8
10
|
* 165503967****
|
|
9
11
|
*/
|
|
10
12
|
applicationId?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* Whether to enable China mainland network access optimization, default is disabled. Value range:
|
|
16
|
+
*
|
|
17
|
+
* - on: Enabled.
|
|
18
|
+
* - off: Disabled.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* on
|
|
22
|
+
*/
|
|
11
23
|
crossBorderOptimization?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* IP access rule switch. When enabled, the IP access rules in WAF will take effect on the transport layer application.
|
|
27
|
+
*
|
|
28
|
+
* - on: Enabled.
|
|
29
|
+
* - off: Disabled.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* on
|
|
33
|
+
*/
|
|
12
34
|
ipAccessRule?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* IPv6 switch.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* on
|
|
41
|
+
*/
|
|
13
42
|
ipv6?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* Forwarding rule list. Details of each rule. Except for the comment, all other parameters are required.
|
|
46
|
+
*/
|
|
14
47
|
rulesShrink?: string;
|
|
15
48
|
/**
|
|
16
49
|
* @remarks
|
|
50
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
51
|
+
*
|
|
17
52
|
* This parameter is required.
|
|
18
53
|
*
|
|
19
54
|
* @example
|
|
20
55
|
* 123456****
|
|
21
56
|
*/
|
|
22
57
|
siteId?: number;
|
|
58
|
+
staticIp?: string;
|
|
23
59
|
static names(): {
|
|
24
60
|
[key: string]: string;
|
|
25
61
|
};
|
|
@@ -45,6 +45,7 @@ class UpdateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
|
45
45
|
ipv6: 'Ipv6',
|
|
46
46
|
rulesShrink: 'Rules',
|
|
47
47
|
siteId: 'SiteId',
|
|
48
|
+
staticIp: 'StaticIp',
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
static types() {
|
|
@@ -55,6 +56,7 @@ class UpdateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
|
55
56
|
ipv6: 'string',
|
|
56
57
|
rulesShrink: 'string',
|
|
57
58
|
siteId: 'number',
|
|
59
|
+
staticIp: 'string',
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
62
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateTransportLayerApplicationShrinkRequest.js","sourceRoot":"","sources":["../../src/models/UpdateTransportLayerApplicationShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateTransportLayerApplicationShrinkRequest.js","sourceRoot":"","sources":["../../src/models/UpdateTransportLayerApplicationShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAyD3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,uBAAuB,EAAE,yBAAyB;YAClD,YAAY,EAAE,cAAc;YAC5B,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,OAAO;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,uBAAuB,EAAE,QAAQ;YACjC,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxFD,oGAwFC"}
|
package/dist/models/model.d.ts
CHANGED
|
@@ -150,6 +150,7 @@ export { GetSiteResponseBodySiteModel } from './GetSiteResponseBody';
|
|
|
150
150
|
export { GetSiteCustomLogResponseBodyLogCustomField } from './GetSiteCustomLogResponseBody';
|
|
151
151
|
export { GetSiteOriginClientCertificateResponseBodyResult } from './GetSiteOriginClientCertificateResponseBody';
|
|
152
152
|
export { GetTransportLayerApplicationResponseBodyRules } from './GetTransportLayerApplicationResponseBody';
|
|
153
|
+
export { GetTransportLayerApplicationResponseBodyStaticIpV4List } from './GetTransportLayerApplicationResponseBody';
|
|
153
154
|
export { GetWafFilterResponseBodyFilterFieldsLogicsValidator } from './GetWafFilterResponseBody';
|
|
154
155
|
export { GetWafFilterResponseBodyFilterFieldsLogics } from './GetWafFilterResponseBody';
|
|
155
156
|
export { GetWafFilterResponseBodyFilterFieldsSelectorData } from './GetWafFilterResponseBody';
|
|
@@ -238,6 +239,7 @@ export { ListSitesResponseBodySites } from './ListSitesResponseBody';
|
|
|
238
239
|
export { ListTagResourcesRequestTag } from './ListTagResourcesRequest';
|
|
239
240
|
export { ListTagResourcesResponseBodyTagResources } from './ListTagResourcesResponseBody';
|
|
240
241
|
export { ListTransportLayerApplicationsResponseBodyApplicationsRules } from './ListTransportLayerApplicationsResponseBody';
|
|
242
|
+
export { ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List } from './ListTransportLayerApplicationsResponseBody';
|
|
241
243
|
export { ListTransportLayerApplicationsResponseBodyApplications } from './ListTransportLayerApplicationsResponseBody';
|
|
242
244
|
export { ListUploadTasksResponseBodyTasks } from './ListUploadTasksResponseBody';
|
|
243
245
|
export { ListUrlObservationsResponseBodyConfigs } from './ListUrlObservationsResponseBody';
|