@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
|
@@ -4,36 +4,76 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Client IP pass-through protocol, supports:
|
|
9
|
+
* - **off**: No pass-through.
|
|
10
|
+
* - **PPv1**: PROXY Protocol v1, supports client IP pass-through for TCP protocol.
|
|
11
|
+
* - **PPv2**: PROXY Protocol v2, supports client IP pass-through for TCP and UDP protocols.
|
|
12
|
+
* - **SPP**: Simple Proxy Protocol, supports client IP pass-through for UDP protocol.
|
|
13
|
+
*
|
|
7
14
|
* @example
|
|
8
|
-
*
|
|
15
|
+
* SPP
|
|
9
16
|
*/
|
|
10
17
|
clientIPPassThroughMode?: string;
|
|
11
18
|
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* Comment information for the rule.
|
|
21
|
+
*
|
|
12
22
|
* @example
|
|
13
23
|
* 123
|
|
14
24
|
*/
|
|
15
25
|
comment?: string;
|
|
16
26
|
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* Edge port. Supports:
|
|
29
|
+
*
|
|
30
|
+
* - A single port, e.g., 80.
|
|
31
|
+
* - Port range, e.g., 81-85, representing ports 81, 82, 83, 84, 85.
|
|
32
|
+
* - Combination of ports and port ranges, separated by commas, e.g., 80,81-85,90, representing ports 80, 81, 82, 83, 84, 85, 90.
|
|
33
|
+
* - Edge ports within a single rule and between multiple rules must not overlap.
|
|
34
|
+
*
|
|
17
35
|
* @example
|
|
18
36
|
* 80
|
|
19
37
|
*/
|
|
20
38
|
edgePort?: string;
|
|
21
39
|
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* Forwarding rule protocol, supports:
|
|
42
|
+
*
|
|
43
|
+
* - TCP: TCP protocol.
|
|
44
|
+
* - UDP: UDP protocol.
|
|
45
|
+
*
|
|
22
46
|
* @example
|
|
23
47
|
* TCP
|
|
24
48
|
*/
|
|
25
49
|
protocol?: string;
|
|
26
50
|
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* Specific value of the source.
|
|
53
|
+
*
|
|
27
54
|
* @example
|
|
28
55
|
* 1.1.1.1
|
|
29
56
|
*/
|
|
30
57
|
source?: string;
|
|
31
58
|
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* Source port. Supports:
|
|
61
|
+
*
|
|
62
|
+
* - A single port, when the source port is a single port, any valid edge port combination is supported.
|
|
63
|
+
* - 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.
|
|
64
|
+
*
|
|
32
65
|
* @example
|
|
33
66
|
* 80
|
|
34
67
|
*/
|
|
35
68
|
sourcePort?: string;
|
|
36
69
|
/**
|
|
70
|
+
* @remarks
|
|
71
|
+
* Source type, supports:
|
|
72
|
+
* - **ip**: IP address.
|
|
73
|
+
* - **domain**: Domain name.
|
|
74
|
+
* - **OP**: Origin pool.
|
|
75
|
+
* - **LB**: Load balancer.
|
|
76
|
+
*
|
|
37
77
|
* @example
|
|
38
78
|
* ip
|
|
39
79
|
*/
|
|
@@ -74,24 +114,60 @@ export class UpdateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
|
74
114
|
export class UpdateTransportLayerApplicationRequest extends $dara.Model {
|
|
75
115
|
/**
|
|
76
116
|
* @remarks
|
|
117
|
+
* Transport layer application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
118
|
+
*
|
|
77
119
|
* This parameter is required.
|
|
78
120
|
*
|
|
79
121
|
* @example
|
|
80
122
|
* 165503967****
|
|
81
123
|
*/
|
|
82
124
|
applicationId?: number;
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* Whether to enable China mainland network access optimization, default is disabled. Value range:
|
|
128
|
+
*
|
|
129
|
+
* - on: Enabled.
|
|
130
|
+
* - off: Disabled.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* on
|
|
134
|
+
*/
|
|
83
135
|
crossBorderOptimization?: string;
|
|
136
|
+
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* IP access rule switch. When enabled, the IP access rules in WAF will take effect on the transport layer application.
|
|
139
|
+
*
|
|
140
|
+
* - on: Enabled.
|
|
141
|
+
* - off: Disabled.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* on
|
|
145
|
+
*/
|
|
84
146
|
ipAccessRule?: string;
|
|
147
|
+
/**
|
|
148
|
+
* @remarks
|
|
149
|
+
* IPv6 switch.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* on
|
|
153
|
+
*/
|
|
85
154
|
ipv6?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @remarks
|
|
157
|
+
* Forwarding rule list. Details of each rule. Except for the comment, all other parameters are required.
|
|
158
|
+
*/
|
|
86
159
|
rules?: UpdateTransportLayerApplicationRequestRules[];
|
|
87
160
|
/**
|
|
88
161
|
* @remarks
|
|
162
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
163
|
+
*
|
|
89
164
|
* This parameter is required.
|
|
90
165
|
*
|
|
91
166
|
* @example
|
|
92
167
|
* 123456****
|
|
93
168
|
*/
|
|
94
169
|
siteId?: number;
|
|
170
|
+
staticIp?: string;
|
|
95
171
|
static names(): { [key: string]: string } {
|
|
96
172
|
return {
|
|
97
173
|
applicationId: 'ApplicationId',
|
|
@@ -100,6 +176,7 @@ export class UpdateTransportLayerApplicationRequest extends $dara.Model {
|
|
|
100
176
|
ipv6: 'Ipv6',
|
|
101
177
|
rules: 'Rules',
|
|
102
178
|
siteId: 'SiteId',
|
|
179
|
+
staticIp: 'StaticIp',
|
|
103
180
|
};
|
|
104
181
|
}
|
|
105
182
|
|
|
@@ -111,6 +188,7 @@ export class UpdateTransportLayerApplicationRequest extends $dara.Model {
|
|
|
111
188
|
ipv6: 'string',
|
|
112
189
|
rules: { 'type': 'array', 'itemType': UpdateTransportLayerApplicationRequestRules },
|
|
113
190
|
siteId: 'number',
|
|
191
|
+
staticIp: 'string',
|
|
114
192
|
};
|
|
115
193
|
}
|
|
116
194
|
|
|
@@ -5,24 +5,60 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* Transport layer application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
11
13
|
* 165503967****
|
|
12
14
|
*/
|
|
13
15
|
applicationId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Whether to enable China mainland network access optimization, default is disabled. Value range:
|
|
19
|
+
*
|
|
20
|
+
* - on: Enabled.
|
|
21
|
+
* - off: Disabled.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* on
|
|
25
|
+
*/
|
|
14
26
|
crossBorderOptimization?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* IP access rule switch. When enabled, the IP access rules in WAF will take effect on the transport layer application.
|
|
30
|
+
*
|
|
31
|
+
* - on: Enabled.
|
|
32
|
+
* - off: Disabled.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* on
|
|
36
|
+
*/
|
|
15
37
|
ipAccessRule?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* IPv6 switch.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* on
|
|
44
|
+
*/
|
|
16
45
|
ipv6?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Forwarding rule list. Details of each rule. Except for the comment, all other parameters are required.
|
|
49
|
+
*/
|
|
17
50
|
rulesShrink?: string;
|
|
18
51
|
/**
|
|
19
52
|
* @remarks
|
|
53
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
54
|
+
*
|
|
20
55
|
* This parameter is required.
|
|
21
56
|
*
|
|
22
57
|
* @example
|
|
23
58
|
* 123456****
|
|
24
59
|
*/
|
|
25
60
|
siteId?: number;
|
|
61
|
+
staticIp?: string;
|
|
26
62
|
static names(): { [key: string]: string } {
|
|
27
63
|
return {
|
|
28
64
|
applicationId: 'ApplicationId',
|
|
@@ -31,6 +67,7 @@ export class UpdateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
|
31
67
|
ipv6: 'Ipv6',
|
|
32
68
|
rulesShrink: 'Rules',
|
|
33
69
|
siteId: 'SiteId',
|
|
70
|
+
staticIp: 'StaticIp',
|
|
34
71
|
};
|
|
35
72
|
}
|
|
36
73
|
|
|
@@ -42,6 +79,7 @@ export class UpdateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
|
42
79
|
ipv6: 'string',
|
|
43
80
|
rulesShrink: 'string',
|
|
44
81
|
siteId: 'number',
|
|
82
|
+
staticIp: 'string',
|
|
45
83
|
};
|
|
46
84
|
}
|
|
47
85
|
|
package/src/models/model.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';
|