@alicloud/esa20240910 2.32.0 → 2.33.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 +40 -10
- package/dist/client.js +103 -10
- package/dist/client.js.map +1 -1
- package/dist/models/CreateRoutineCodeDeploymentRequest.d.ts +10 -1
- package/dist/models/CreateRoutineCodeDeploymentRequest.js.map +1 -1
- package/dist/models/CreateRoutineCodeDeploymentResponseBody.d.ts +20 -0
- package/dist/models/CreateRoutineCodeDeploymentResponseBody.js.map +1 -1
- package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.d.ts +4 -1
- package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.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/GetRoutineCodeVersionRequest.d.ts +26 -0
- package/dist/models/GetRoutineCodeVersionRequest.js +60 -0
- package/dist/models/GetRoutineCodeVersionRequest.js.map +1 -0
- package/dist/models/GetRoutineCodeVersionResponse.d.ts +19 -0
- package/dist/models/GetRoutineCodeVersionResponse.js +69 -0
- package/dist/models/GetRoutineCodeVersionResponse.js.map +1 -0
- package/dist/models/GetRoutineCodeVersionResponseBody.d.ts +21 -0
- package/dist/models/GetRoutineCodeVersionResponseBody.js +64 -0
- package/dist/models/GetRoutineCodeVersionResponseBody.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 +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/PurchaseRatePlanRequest.d.ts +1 -0
- package/dist/models/PurchaseRatePlanRequest.js +2 -0
- package/dist/models/PurchaseRatePlanRequest.js.map +1 -1
- package/dist/models/UpdateRoutineConfigDescriptionRequest.d.ts +26 -0
- package/dist/models/UpdateRoutineConfigDescriptionRequest.js +60 -0
- package/dist/models/UpdateRoutineConfigDescriptionRequest.js.map +1 -0
- package/dist/models/UpdateRoutineConfigDescriptionResponse.d.ts +19 -0
- package/dist/models/UpdateRoutineConfigDescriptionResponse.js +69 -0
- package/dist/models/UpdateRoutineConfigDescriptionResponse.js.map +1 -0
- package/dist/models/UpdateRoutineConfigDescriptionResponseBody.d.ts +26 -0
- package/dist/models/UpdateRoutineConfigDescriptionResponseBody.js +60 -0
- package/dist/models/UpdateRoutineConfigDescriptionResponseBody.js.map +1 -0
- 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 +8 -0
- package/dist/models/model.js +47 -31
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +114 -10
- package/src/models/CreateRoutineCodeDeploymentRequest.ts +10 -1
- package/src/models/CreateRoutineCodeDeploymentResponseBody.ts +20 -0
- package/src/models/CreateRoutineCodeDeploymentShrinkRequest.ts +4 -1
- 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/GetRoutineCodeVersionRequest.ts +41 -0
- package/src/models/GetRoutineCodeVersionResponse.ts +40 -0
- package/src/models/GetRoutineCodeVersionResponseBody.ts +40 -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/PurchaseRatePlanRequest.ts +3 -0
- package/src/models/UpdateRoutineConfigDescriptionRequest.ts +41 -0
- package/src/models/UpdateRoutineConfigDescriptionResponse.ts +40 -0
- package/src/models/UpdateRoutineConfigDescriptionResponseBody.ts +41 -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 +8 -0
|
@@ -5,15 +5,36 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
6
6
|
/**
|
|
7
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
|
+
*
|
|
8
14
|
* This parameter is required.
|
|
9
15
|
*
|
|
10
16
|
* @example
|
|
11
|
-
*
|
|
17
|
+
* SPP
|
|
12
18
|
*/
|
|
13
19
|
clientIPPassThroughMode?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* Comment information for the rule (optional).
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* 测试
|
|
26
|
+
*/
|
|
14
27
|
comment?: string;
|
|
15
28
|
/**
|
|
16
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
|
+
*
|
|
17
38
|
* This parameter is required.
|
|
18
39
|
*
|
|
19
40
|
* @example
|
|
@@ -22,6 +43,11 @@ export class CreateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
|
22
43
|
edgePort?: string;
|
|
23
44
|
/**
|
|
24
45
|
* @remarks
|
|
46
|
+
* Forwarding rule protocol, with values:
|
|
47
|
+
*
|
|
48
|
+
* - TCP: TCP protocol.
|
|
49
|
+
* - UDP: UDP protocol.
|
|
50
|
+
*
|
|
25
51
|
* This parameter is required.
|
|
26
52
|
*
|
|
27
53
|
* @example
|
|
@@ -30,6 +56,8 @@ export class CreateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
|
30
56
|
protocol?: string;
|
|
31
57
|
/**
|
|
32
58
|
* @remarks
|
|
59
|
+
* Specific value of the origin, which needs to match the origin type.
|
|
60
|
+
*
|
|
33
61
|
* This parameter is required.
|
|
34
62
|
*
|
|
35
63
|
* @example
|
|
@@ -38,6 +66,11 @@ export class CreateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
|
38
66
|
source?: string;
|
|
39
67
|
/**
|
|
40
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
|
+
*
|
|
41
74
|
* This parameter is required.
|
|
42
75
|
*
|
|
43
76
|
* @example
|
|
@@ -46,6 +79,12 @@ export class CreateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
|
46
79
|
sourcePort?: string;
|
|
47
80
|
/**
|
|
48
81
|
* @remarks
|
|
82
|
+
* Origin type, supporting:
|
|
83
|
+
* - **ip**: IP address.
|
|
84
|
+
* - **domain**: Domain name.
|
|
85
|
+
* - **OP**: Origin pool.
|
|
86
|
+
* - **LB**: Load balancer.
|
|
87
|
+
*
|
|
49
88
|
* This parameter is required.
|
|
50
89
|
*
|
|
51
90
|
* @example
|
|
@@ -86,11 +125,39 @@ export class CreateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
|
86
125
|
}
|
|
87
126
|
|
|
88
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
|
+
*/
|
|
89
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
|
+
*/
|
|
90
148
|
ipAccessRule?: string;
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* IPv6 switch.
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* off
|
|
155
|
+
*/
|
|
91
156
|
ipv6?: string;
|
|
92
157
|
/**
|
|
93
158
|
* @remarks
|
|
159
|
+
* Domain name of the transport layer application.
|
|
160
|
+
*
|
|
94
161
|
* This parameter is required.
|
|
95
162
|
*
|
|
96
163
|
* @example
|
|
@@ -99,17 +166,22 @@ export class CreateTransportLayerApplicationRequest extends $dara.Model {
|
|
|
99
166
|
recordName?: string;
|
|
100
167
|
/**
|
|
101
168
|
* @remarks
|
|
169
|
+
* List of forwarding rules.
|
|
170
|
+
*
|
|
102
171
|
* This parameter is required.
|
|
103
172
|
*/
|
|
104
173
|
rules?: CreateTransportLayerApplicationRequestRules[];
|
|
105
174
|
/**
|
|
106
175
|
* @remarks
|
|
176
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
177
|
+
*
|
|
107
178
|
* This parameter is required.
|
|
108
179
|
*
|
|
109
180
|
* @example
|
|
110
181
|
* 123456****
|
|
111
182
|
*/
|
|
112
183
|
siteId?: number;
|
|
184
|
+
staticIp?: string;
|
|
113
185
|
static names(): { [key: string]: string } {
|
|
114
186
|
return {
|
|
115
187
|
crossBorderOptimization: 'CrossBorderOptimization',
|
|
@@ -118,6 +190,7 @@ export class CreateTransportLayerApplicationRequest extends $dara.Model {
|
|
|
118
190
|
recordName: 'RecordName',
|
|
119
191
|
rules: 'Rules',
|
|
120
192
|
siteId: 'SiteId',
|
|
193
|
+
staticIp: 'StaticIp',
|
|
121
194
|
};
|
|
122
195
|
}
|
|
123
196
|
|
|
@@ -129,6 +202,7 @@ export class CreateTransportLayerApplicationRequest extends $dara.Model {
|
|
|
129
202
|
recordName: 'string',
|
|
130
203
|
rules: { 'type': 'array', 'itemType': CreateTransportLayerApplicationRequestRules },
|
|
131
204
|
siteId: 'number',
|
|
205
|
+
staticIp: 'string',
|
|
132
206
|
};
|
|
133
207
|
}
|
|
134
208
|
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateTransportLayerApplicationResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Layer 4 application ID
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 165503967****
|
|
9
12
|
*/
|
|
10
13
|
applicationId?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Request ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 9e5448c7-edaf-49aa-9887-0fcd0832306c
|
|
14
20
|
*/
|
|
@@ -3,11 +3,39 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
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
|
+
*/
|
|
6
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
|
+
*/
|
|
7
26
|
ipAccessRule?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* IPv6 switch.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* off
|
|
33
|
+
*/
|
|
8
34
|
ipv6?: string;
|
|
9
35
|
/**
|
|
10
36
|
* @remarks
|
|
37
|
+
* Domain name of the transport layer application.
|
|
38
|
+
*
|
|
11
39
|
* This parameter is required.
|
|
12
40
|
*
|
|
13
41
|
* @example
|
|
@@ -16,17 +44,22 @@ export class CreateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
|
16
44
|
recordName?: string;
|
|
17
45
|
/**
|
|
18
46
|
* @remarks
|
|
47
|
+
* List of forwarding rules.
|
|
48
|
+
*
|
|
19
49
|
* This parameter is required.
|
|
20
50
|
*/
|
|
21
51
|
rulesShrink?: string;
|
|
22
52
|
/**
|
|
23
53
|
* @remarks
|
|
54
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
55
|
+
*
|
|
24
56
|
* This parameter is required.
|
|
25
57
|
*
|
|
26
58
|
* @example
|
|
27
59
|
* 123456****
|
|
28
60
|
*/
|
|
29
61
|
siteId?: number;
|
|
62
|
+
staticIp?: string;
|
|
30
63
|
static names(): { [key: string]: string } {
|
|
31
64
|
return {
|
|
32
65
|
crossBorderOptimization: 'CrossBorderOptimization',
|
|
@@ -35,6 +68,7 @@ export class CreateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
|
35
68
|
recordName: 'RecordName',
|
|
36
69
|
rulesShrink: 'Rules',
|
|
37
70
|
siteId: 'SiteId',
|
|
71
|
+
staticIp: 'StaticIp',
|
|
38
72
|
};
|
|
39
73
|
}
|
|
40
74
|
|
|
@@ -46,6 +80,7 @@ export class CreateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
|
46
80
|
recordName: 'string',
|
|
47
81
|
rulesShrink: 'string',
|
|
48
82
|
siteId: 'number',
|
|
83
|
+
staticIp: 'string',
|
|
49
84
|
};
|
|
50
85
|
}
|
|
51
86
|
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DeleteTransportLayerApplicationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* Application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -13,6 +15,8 @@ export class DeleteTransportLayerApplicationRequest extends $dara.Model {
|
|
|
13
15
|
applicationId?: number;
|
|
14
16
|
/**
|
|
15
17
|
* @remarks
|
|
18
|
+
* Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) interface.
|
|
19
|
+
*
|
|
16
20
|
* This parameter is required.
|
|
17
21
|
*
|
|
18
22
|
* @example
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetRoutineCodeVersionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*/
|
|
10
|
+
codeVersion?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* GetRoutineCodeVersion
|
|
17
|
+
*/
|
|
18
|
+
name?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
codeVersion: 'CodeVersion',
|
|
22
|
+
name: 'Name',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
codeVersion: 'string',
|
|
29
|
+
name: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetRoutineCodeVersionResponseBody } from "./GetRoutineCodeVersionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetRoutineCodeVersionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetRoutineCodeVersionResponseBody;
|
|
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: GetRoutineCodeVersionResponseBody,
|
|
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,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetRoutineCodeVersionResponseBody extends $dara.Model {
|
|
6
|
+
codeDescription?: string;
|
|
7
|
+
createTime?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* Id of the request
|
|
11
|
+
*/
|
|
12
|
+
requestId?: string;
|
|
13
|
+
routineCode?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
codeDescription: 'CodeDescription',
|
|
17
|
+
createTime: 'CreateTime',
|
|
18
|
+
requestId: 'RequestId',
|
|
19
|
+
routineCode: 'RoutineCode',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
codeDescription: 'string',
|
|
26
|
+
createTime: 'string',
|
|
27
|
+
requestId: 'string',
|
|
28
|
+
routineCode: 'string',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
validate() {
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -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
|
}
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* Application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -13,6 +15,8 @@ export class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
|
13
15
|
applicationId?: number;
|
|
14
16
|
/**
|
|
15
17
|
* @remarks
|
|
18
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
19
|
+
*
|
|
16
20
|
* This parameter is required.
|
|
17
21
|
*
|
|
18
22
|
* @example
|