@alicloud/esa20240910 2.31.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 +75 -0
- package/dist/client.js +241 -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 +170 -0
- package/dist/models/CreateTransportLayerApplicationRequest.js +104 -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 +29 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js +60 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.d.ts +70 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js +70 -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 +33 -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 +21 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js.map +1 -0
- 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 +33 -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 +216 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js +142 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsRequest.d.ts +60 -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 +262 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js +170 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.d.ts +156 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.js +104 -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 +21 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.d.ts +69 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js +70 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +24 -0
- package/dist/models/model.js +76 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +270 -0
- package/src/models/CreateRecordRequest.ts +2 -0
- package/src/models/CreateRecordShrinkRequest.ts +2 -0
- package/src/models/CreateTransportLayerApplicationRequest.ts +220 -0
- package/src/models/CreateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/CreateTransportLayerApplicationResponseBody.ts +44 -0
- package/src/models/CreateTransportLayerApplicationShrinkRequest.ts +95 -0
- package/src/models/DeleteRecordRequest.ts +3 -0
- package/src/models/DeleteTransportLayerApplicationRequest.ts +48 -0
- package/src/models/DeleteTransportLayerApplicationResponse.ts +40 -0
- package/src/models/DeleteTransportLayerApplicationResponseBody.ts +34 -0
- package/src/models/GetRoutineResponseBody.ts +0 -30
- package/src/models/GetTransportLayerApplicationRequest.ts +48 -0
- package/src/models/GetTransportLayerApplicationResponse.ts +40 -0
- package/src/models/GetTransportLayerApplicationResponseBody.ts +295 -0
- package/src/models/ListTransportLayerApplicationsRequest.ts +81 -0
- package/src/models/ListTransportLayerApplicationsResponse.ts +40 -0
- package/src/models/ListTransportLayerApplicationsResponseBody.ts +360 -0
- package/src/models/UpdateTransportLayerApplicationRequest.ts +206 -0
- package/src/models/UpdateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/UpdateTransportLayerApplicationResponseBody.ts +34 -0
- package/src/models/UpdateTransportLayerApplicationShrinkRequest.ts +94 -0
- package/src/models/model.ts +24 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Client IP pass-through protocol, supporting:
|
|
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
|
+
*
|
|
14
|
+
* This parameter is required.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* SPP
|
|
18
|
+
*/
|
|
19
|
+
clientIPPassThroughMode?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* Comment information for the rule (optional).
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* 测试
|
|
26
|
+
*/
|
|
27
|
+
comment?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* Edge port. Supports:
|
|
31
|
+
*
|
|
32
|
+
* - A single port, such as 80.
|
|
33
|
+
* - Port range, such as 81-85, representing ports 81, 82, 83, 84, and 85.
|
|
34
|
+
* - Combination of ports and port ranges, separated by commas, such as 80,81-85,90, representing ports 80, 81, 82, 83, 84, 85, and 90.
|
|
35
|
+
*
|
|
36
|
+
* Edge ports within a single rule and between multiple rules must not overlap.
|
|
37
|
+
*
|
|
38
|
+
* This parameter is required.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 80
|
|
42
|
+
*/
|
|
43
|
+
edgePort?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* Forwarding rule protocol, with values:
|
|
47
|
+
*
|
|
48
|
+
* - TCP: TCP protocol.
|
|
49
|
+
* - UDP: UDP protocol.
|
|
50
|
+
*
|
|
51
|
+
* This parameter is required.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* TCP
|
|
55
|
+
*/
|
|
56
|
+
protocol?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* Specific value of the origin, which needs to match the origin type.
|
|
60
|
+
*
|
|
61
|
+
* This parameter is required.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* 1.1.1.1
|
|
65
|
+
*/
|
|
66
|
+
source?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* Origin port. Supports:
|
|
70
|
+
*
|
|
71
|
+
* - A single port, when the origin port is a single port, any valid combination of edge ports is supported.
|
|
72
|
+
* - Port range, only when the edge port is a port range, the origin port can be set to 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 origin port cannot be set to 81-85 because the origin port range is 5 and the edge port range is 3, which do not match.
|
|
73
|
+
*
|
|
74
|
+
* This parameter is required.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* 80
|
|
78
|
+
*/
|
|
79
|
+
sourcePort?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Origin type, supporting:
|
|
83
|
+
* - **ip**: IP address.
|
|
84
|
+
* - **domain**: Domain name.
|
|
85
|
+
* - **OP**: Origin pool.
|
|
86
|
+
* - **LB**: Load balancer.
|
|
87
|
+
*
|
|
88
|
+
* This parameter is required.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ip
|
|
92
|
+
*/
|
|
93
|
+
sourceType?: string;
|
|
94
|
+
static names(): { [key: string]: string } {
|
|
95
|
+
return {
|
|
96
|
+
clientIPPassThroughMode: 'ClientIPPassThroughMode',
|
|
97
|
+
comment: 'Comment',
|
|
98
|
+
edgePort: 'EdgePort',
|
|
99
|
+
protocol: 'Protocol',
|
|
100
|
+
source: 'Source',
|
|
101
|
+
sourcePort: 'SourcePort',
|
|
102
|
+
sourceType: 'SourceType',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
static types(): { [key: string]: any } {
|
|
107
|
+
return {
|
|
108
|
+
clientIPPassThroughMode: 'string',
|
|
109
|
+
comment: 'string',
|
|
110
|
+
edgePort: 'string',
|
|
111
|
+
protocol: 'string',
|
|
112
|
+
source: 'string',
|
|
113
|
+
sourcePort: 'string',
|
|
114
|
+
sourceType: 'string',
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
validate() {
|
|
119
|
+
super.validate();
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
constructor(map?: { [key: string]: any }) {
|
|
123
|
+
super(map);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export class CreateTransportLayerApplicationRequest extends $dara.Model {
|
|
128
|
+
/**
|
|
129
|
+
* @remarks
|
|
130
|
+
* Whether to enable China mainland network access optimization, default is disabled. Value range:
|
|
131
|
+
* - on: Enabled.
|
|
132
|
+
* - off: Disabled.
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* on
|
|
136
|
+
*/
|
|
137
|
+
crossBorderOptimization?: string;
|
|
138
|
+
/**
|
|
139
|
+
* @remarks
|
|
140
|
+
* IP access rule switch. When enabled, the WAF\\"s IP access rules apply to the transport layer application.
|
|
141
|
+
*
|
|
142
|
+
* - on: Enabled.
|
|
143
|
+
* - off: Disabled.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* on
|
|
147
|
+
*/
|
|
148
|
+
ipAccessRule?: string;
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* IPv6 switch.
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* off
|
|
155
|
+
*/
|
|
156
|
+
ipv6?: string;
|
|
157
|
+
/**
|
|
158
|
+
* @remarks
|
|
159
|
+
* Domain name of the transport layer application.
|
|
160
|
+
*
|
|
161
|
+
* This parameter is required.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* aaa.example.com
|
|
165
|
+
*/
|
|
166
|
+
recordName?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @remarks
|
|
169
|
+
* List of forwarding rules.
|
|
170
|
+
*
|
|
171
|
+
* This parameter is required.
|
|
172
|
+
*/
|
|
173
|
+
rules?: CreateTransportLayerApplicationRequestRules[];
|
|
174
|
+
/**
|
|
175
|
+
* @remarks
|
|
176
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
177
|
+
*
|
|
178
|
+
* This parameter is required.
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* 123456****
|
|
182
|
+
*/
|
|
183
|
+
siteId?: number;
|
|
184
|
+
staticIp?: string;
|
|
185
|
+
static names(): { [key: string]: string } {
|
|
186
|
+
return {
|
|
187
|
+
crossBorderOptimization: 'CrossBorderOptimization',
|
|
188
|
+
ipAccessRule: 'IpAccessRule',
|
|
189
|
+
ipv6: 'Ipv6',
|
|
190
|
+
recordName: 'RecordName',
|
|
191
|
+
rules: 'Rules',
|
|
192
|
+
siteId: 'SiteId',
|
|
193
|
+
staticIp: 'StaticIp',
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
static types(): { [key: string]: any } {
|
|
198
|
+
return {
|
|
199
|
+
crossBorderOptimization: 'string',
|
|
200
|
+
ipAccessRule: 'string',
|
|
201
|
+
ipv6: 'string',
|
|
202
|
+
recordName: 'string',
|
|
203
|
+
rules: { 'type': 'array', 'itemType': CreateTransportLayerApplicationRequestRules },
|
|
204
|
+
siteId: 'number',
|
|
205
|
+
staticIp: 'string',
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
validate() {
|
|
210
|
+
if(Array.isArray(this.rules)) {
|
|
211
|
+
$dara.Model.validateArray(this.rules);
|
|
212
|
+
}
|
|
213
|
+
super.validate();
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
constructor(map?: { [key: string]: any }) {
|
|
217
|
+
super(map);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateTransportLayerApplicationResponseBody } from "./CreateTransportLayerApplicationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateTransportLayerApplicationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateTransportLayerApplicationResponseBody;
|
|
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: CreateTransportLayerApplicationResponseBody,
|
|
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,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateTransportLayerApplicationResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Layer 4 application ID
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 165503967****
|
|
12
|
+
*/
|
|
13
|
+
applicationId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Request ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 9e5448c7-edaf-49aa-9887-0fcd0832306c
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
applicationId: 'ApplicationId',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
applicationId: 'number',
|
|
32
|
+
requestId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Whether to enable China mainland network access optimization, default is disabled. Value range:
|
|
9
|
+
* - on: Enabled.
|
|
10
|
+
* - off: Disabled.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* on
|
|
14
|
+
*/
|
|
15
|
+
crossBorderOptimization?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* IP access rule switch. When enabled, the WAF\\"s IP access rules apply to the transport layer application.
|
|
19
|
+
*
|
|
20
|
+
* - on: Enabled.
|
|
21
|
+
* - off: Disabled.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* on
|
|
25
|
+
*/
|
|
26
|
+
ipAccessRule?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* IPv6 switch.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* off
|
|
33
|
+
*/
|
|
34
|
+
ipv6?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* Domain name of the transport layer application.
|
|
38
|
+
*
|
|
39
|
+
* This parameter is required.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* aaa.example.com
|
|
43
|
+
*/
|
|
44
|
+
recordName?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* List of forwarding rules.
|
|
48
|
+
*
|
|
49
|
+
* This parameter is required.
|
|
50
|
+
*/
|
|
51
|
+
rulesShrink?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
55
|
+
*
|
|
56
|
+
* This parameter is required.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 123456****
|
|
60
|
+
*/
|
|
61
|
+
siteId?: number;
|
|
62
|
+
staticIp?: string;
|
|
63
|
+
static names(): { [key: string]: string } {
|
|
64
|
+
return {
|
|
65
|
+
crossBorderOptimization: 'CrossBorderOptimization',
|
|
66
|
+
ipAccessRule: 'IpAccessRule',
|
|
67
|
+
ipv6: 'Ipv6',
|
|
68
|
+
recordName: 'RecordName',
|
|
69
|
+
rulesShrink: 'Rules',
|
|
70
|
+
siteId: 'SiteId',
|
|
71
|
+
staticIp: 'StaticIp',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
static types(): { [key: string]: any } {
|
|
76
|
+
return {
|
|
77
|
+
crossBorderOptimization: 'string',
|
|
78
|
+
ipAccessRule: 'string',
|
|
79
|
+
ipv6: 'string',
|
|
80
|
+
recordName: 'string',
|
|
81
|
+
rulesShrink: 'string',
|
|
82
|
+
siteId: 'number',
|
|
83
|
+
staticIp: 'string',
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
validate() {
|
|
88
|
+
super.validate();
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
constructor(map?: { [key: string]: any }) {
|
|
92
|
+
super(map);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
@@ -13,15 +13,18 @@ export class DeleteRecordRequest extends $dara.Model {
|
|
|
13
13
|
* 1234567890123
|
|
14
14
|
*/
|
|
15
15
|
recordId?: number;
|
|
16
|
+
securityToken?: string;
|
|
16
17
|
static names(): { [key: string]: string } {
|
|
17
18
|
return {
|
|
18
19
|
recordId: 'RecordId',
|
|
20
|
+
securityToken: 'SecurityToken',
|
|
19
21
|
};
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
static types(): { [key: string]: any } {
|
|
23
25
|
return {
|
|
24
26
|
recordId: 'number',
|
|
27
|
+
securityToken: 'string',
|
|
25
28
|
};
|
|
26
29
|
}
|
|
27
30
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteTransportLayerApplicationRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 170996390868****
|
|
14
|
+
*/
|
|
15
|
+
applicationId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) interface.
|
|
19
|
+
*
|
|
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
|
+
siteId: 'SiteId',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
applicationId: 'number',
|
|
36
|
+
siteId: 'number',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteTransportLayerApplicationResponseBody } from "./DeleteTransportLayerApplicationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteTransportLayerApplicationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteTransportLayerApplicationResponseBody;
|
|
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: DeleteTransportLayerApplicationResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteTransportLayerApplicationResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 90510C29-1E40-5A11-93F1-B9F5EDF57EE1
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -70,28 +70,7 @@ export class GetRoutineResponseBodyEnvsCodeDeploy extends $dara.Model {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
export class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
73
|
-
/**
|
|
74
|
-
* @remarks
|
|
75
|
-
* The regions for canary release.
|
|
76
|
-
*/
|
|
77
|
-
canaryAreaList?: string[];
|
|
78
|
-
/**
|
|
79
|
-
* @remarks
|
|
80
|
-
* The version number for canary release.
|
|
81
|
-
*
|
|
82
|
-
* @example
|
|
83
|
-
* 1710120201067577628
|
|
84
|
-
*/
|
|
85
|
-
canaryCodeVersion?: string;
|
|
86
73
|
codeDeploy?: GetRoutineResponseBodyEnvsCodeDeploy;
|
|
87
|
-
/**
|
|
88
|
-
* @remarks
|
|
89
|
-
* The version number of the code in the environment.
|
|
90
|
-
*
|
|
91
|
-
* @example
|
|
92
|
-
* 1710120201067577628
|
|
93
|
-
*/
|
|
94
|
-
codeVersion?: string;
|
|
95
74
|
/**
|
|
96
75
|
* @remarks
|
|
97
76
|
* The environment type.
|
|
@@ -102,28 +81,19 @@ export class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
|
102
81
|
env?: string;
|
|
103
82
|
static names(): { [key: string]: string } {
|
|
104
83
|
return {
|
|
105
|
-
canaryAreaList: 'CanaryAreaList',
|
|
106
|
-
canaryCodeVersion: 'CanaryCodeVersion',
|
|
107
84
|
codeDeploy: 'CodeDeploy',
|
|
108
|
-
codeVersion: 'CodeVersion',
|
|
109
85
|
env: 'Env',
|
|
110
86
|
};
|
|
111
87
|
}
|
|
112
88
|
|
|
113
89
|
static types(): { [key: string]: any } {
|
|
114
90
|
return {
|
|
115
|
-
canaryAreaList: { 'type': 'array', 'itemType': 'string' },
|
|
116
|
-
canaryCodeVersion: 'string',
|
|
117
91
|
codeDeploy: GetRoutineResponseBodyEnvsCodeDeploy,
|
|
118
|
-
codeVersion: 'string',
|
|
119
92
|
env: 'string',
|
|
120
93
|
};
|
|
121
94
|
}
|
|
122
95
|
|
|
123
96
|
validate() {
|
|
124
|
-
if(Array.isArray(this.canaryAreaList)) {
|
|
125
|
-
$dara.Model.validateArray(this.canaryAreaList);
|
|
126
|
-
}
|
|
127
97
|
if(this.codeDeploy && typeof (this.codeDeploy as any).validate === 'function') {
|
|
128
98
|
(this.codeDeploy as any).validate();
|
|
129
99
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 170997271816****
|
|
14
|
+
*/
|
|
15
|
+
applicationId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
19
|
+
*
|
|
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
|
+
siteId: 'SiteId',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
applicationId: 'number',
|
|
36
|
+
siteId: 'number',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetTransportLayerApplicationResponseBody } from "./GetTransportLayerApplicationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetTransportLayerApplicationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetTransportLayerApplicationResponseBody;
|
|
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: GetTransportLayerApplicationResponseBody,
|
|
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
|
+
|