@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
|
@@ -2,15 +2,36 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* Client IP pass-through protocol, supporting:
|
|
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
|
+
*
|
|
5
11
|
* This parameter is required.
|
|
6
12
|
*
|
|
7
13
|
* @example
|
|
8
|
-
*
|
|
14
|
+
* SPP
|
|
9
15
|
*/
|
|
10
16
|
clientIPPassThroughMode?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* Comment information for the rule (optional).
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* 测试
|
|
23
|
+
*/
|
|
11
24
|
comment?: string;
|
|
12
25
|
/**
|
|
13
26
|
* @remarks
|
|
27
|
+
* Edge port. Supports:
|
|
28
|
+
*
|
|
29
|
+
* - A single port, such as 80.
|
|
30
|
+
* - Port range, such as 81-85, representing ports 81, 82, 83, 84, and 85.
|
|
31
|
+
* - 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.
|
|
32
|
+
*
|
|
33
|
+
* Edge ports within a single rule and between multiple rules must not overlap.
|
|
34
|
+
*
|
|
14
35
|
* This parameter is required.
|
|
15
36
|
*
|
|
16
37
|
* @example
|
|
@@ -19,6 +40,11 @@ export declare class CreateTransportLayerApplicationRequestRules extends $dara.M
|
|
|
19
40
|
edgePort?: string;
|
|
20
41
|
/**
|
|
21
42
|
* @remarks
|
|
43
|
+
* Forwarding rule protocol, with values:
|
|
44
|
+
*
|
|
45
|
+
* - TCP: TCP protocol.
|
|
46
|
+
* - UDP: UDP protocol.
|
|
47
|
+
*
|
|
22
48
|
* This parameter is required.
|
|
23
49
|
*
|
|
24
50
|
* @example
|
|
@@ -27,6 +53,8 @@ export declare class CreateTransportLayerApplicationRequestRules extends $dara.M
|
|
|
27
53
|
protocol?: string;
|
|
28
54
|
/**
|
|
29
55
|
* @remarks
|
|
56
|
+
* Specific value of the origin, which needs to match the origin type.
|
|
57
|
+
*
|
|
30
58
|
* This parameter is required.
|
|
31
59
|
*
|
|
32
60
|
* @example
|
|
@@ -35,6 +63,11 @@ export declare class CreateTransportLayerApplicationRequestRules extends $dara.M
|
|
|
35
63
|
source?: string;
|
|
36
64
|
/**
|
|
37
65
|
* @remarks
|
|
66
|
+
* Origin port. Supports:
|
|
67
|
+
*
|
|
68
|
+
* - A single port, when the origin port is a single port, any valid combination of edge ports is supported.
|
|
69
|
+
* - 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.
|
|
70
|
+
*
|
|
38
71
|
* This parameter is required.
|
|
39
72
|
*
|
|
40
73
|
* @example
|
|
@@ -43,6 +76,12 @@ export declare class CreateTransportLayerApplicationRequestRules extends $dara.M
|
|
|
43
76
|
sourcePort?: string;
|
|
44
77
|
/**
|
|
45
78
|
* @remarks
|
|
79
|
+
* Origin type, supporting:
|
|
80
|
+
* - **ip**: IP address.
|
|
81
|
+
* - **domain**: Domain name.
|
|
82
|
+
* - **OP**: Origin pool.
|
|
83
|
+
* - **LB**: Load balancer.
|
|
84
|
+
*
|
|
46
85
|
* This parameter is required.
|
|
47
86
|
*
|
|
48
87
|
* @example
|
|
@@ -61,11 +100,39 @@ export declare class CreateTransportLayerApplicationRequestRules extends $dara.M
|
|
|
61
100
|
});
|
|
62
101
|
}
|
|
63
102
|
export declare class CreateTransportLayerApplicationRequest extends $dara.Model {
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* Whether to enable China mainland network access optimization, default is disabled. Value range:
|
|
106
|
+
* - on: Enabled.
|
|
107
|
+
* - off: Disabled.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* on
|
|
111
|
+
*/
|
|
64
112
|
crossBorderOptimization?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @remarks
|
|
115
|
+
* IP access rule switch. When enabled, the WAF\\"s IP access rules apply to the transport layer application.
|
|
116
|
+
*
|
|
117
|
+
* - on: Enabled.
|
|
118
|
+
* - off: Disabled.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* on
|
|
122
|
+
*/
|
|
65
123
|
ipAccessRule?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* IPv6 switch.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* off
|
|
130
|
+
*/
|
|
66
131
|
ipv6?: string;
|
|
67
132
|
/**
|
|
68
133
|
* @remarks
|
|
134
|
+
* Domain name of the transport layer application.
|
|
135
|
+
*
|
|
69
136
|
* This parameter is required.
|
|
70
137
|
*
|
|
71
138
|
* @example
|
|
@@ -74,17 +141,22 @@ export declare class CreateTransportLayerApplicationRequest extends $dara.Model
|
|
|
74
141
|
recordName?: string;
|
|
75
142
|
/**
|
|
76
143
|
* @remarks
|
|
144
|
+
* List of forwarding rules.
|
|
145
|
+
*
|
|
77
146
|
* This parameter is required.
|
|
78
147
|
*/
|
|
79
148
|
rules?: CreateTransportLayerApplicationRequestRules[];
|
|
80
149
|
/**
|
|
81
150
|
* @remarks
|
|
151
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
152
|
+
*
|
|
82
153
|
* This parameter is required.
|
|
83
154
|
*
|
|
84
155
|
* @example
|
|
85
156
|
* 123456****
|
|
86
157
|
*/
|
|
87
158
|
siteId?: number;
|
|
159
|
+
staticIp?: string;
|
|
88
160
|
static names(): {
|
|
89
161
|
[key: string]: string;
|
|
90
162
|
};
|
|
@@ -76,6 +76,7 @@ class CreateTransportLayerApplicationRequest extends $dara.Model {
|
|
|
76
76
|
recordName: 'RecordName',
|
|
77
77
|
rules: 'Rules',
|
|
78
78
|
siteId: 'SiteId',
|
|
79
|
+
staticIp: 'StaticIp',
|
|
79
80
|
};
|
|
80
81
|
}
|
|
81
82
|
static types() {
|
|
@@ -86,6 +87,7 @@ class CreateTransportLayerApplicationRequest extends $dara.Model {
|
|
|
86
87
|
recordName: 'string',
|
|
87
88
|
rules: { 'type': 'array', 'itemType': CreateTransportLayerApplicationRequestRules },
|
|
88
89
|
siteId: 'number',
|
|
90
|
+
staticIp: 'string',
|
|
89
91
|
};
|
|
90
92
|
}
|
|
91
93
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTransportLayerApplicationRequest.js","sourceRoot":"","sources":["../../src/models/CreateTransportLayerApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateTransportLayerApplicationRequest.js","sourceRoot":"","sources":["../../src/models/CreateTransportLayerApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAyF1E,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;AAxHD,kGAwHC;AAED,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IA0DrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,yBAAyB;YAClD,YAAY,EAAE,cAAc;YAC5B,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,QAAQ;YACjC,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,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;AA5FD,wFA4FC"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class CreateTransportLayerApplicationResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Layer 4 application ID
|
|
6
|
+
*
|
|
4
7
|
* @example
|
|
5
8
|
* 165503967****
|
|
6
9
|
*/
|
|
7
10
|
applicationId?: number;
|
|
8
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* Request ID.
|
|
14
|
+
*
|
|
9
15
|
* @example
|
|
10
16
|
* 9e5448c7-edaf-49aa-9887-0fcd0832306c
|
|
11
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAiB1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,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;AAtCD,kGAsCC"}
|
|
@@ -1,10 +1,38 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class CreateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Whether to enable China mainland network access optimization, default is disabled. Value range:
|
|
6
|
+
* - on: Enabled.
|
|
7
|
+
* - off: Disabled.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* on
|
|
11
|
+
*/
|
|
3
12
|
crossBorderOptimization?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* IP access rule switch. When enabled, the WAF\\"s IP access rules apply to the transport layer application.
|
|
16
|
+
*
|
|
17
|
+
* - on: Enabled.
|
|
18
|
+
* - off: Disabled.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* on
|
|
22
|
+
*/
|
|
4
23
|
ipAccessRule?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* IPv6 switch.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* off
|
|
30
|
+
*/
|
|
5
31
|
ipv6?: string;
|
|
6
32
|
/**
|
|
7
33
|
* @remarks
|
|
34
|
+
* Domain name of the transport layer application.
|
|
35
|
+
*
|
|
8
36
|
* This parameter is required.
|
|
9
37
|
*
|
|
10
38
|
* @example
|
|
@@ -13,17 +41,22 @@ export declare class CreateTransportLayerApplicationShrinkRequest extends $dara.
|
|
|
13
41
|
recordName?: string;
|
|
14
42
|
/**
|
|
15
43
|
* @remarks
|
|
44
|
+
* List of forwarding rules.
|
|
45
|
+
*
|
|
16
46
|
* This parameter is required.
|
|
17
47
|
*/
|
|
18
48
|
rulesShrink?: string;
|
|
19
49
|
/**
|
|
20
50
|
* @remarks
|
|
51
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
52
|
+
*
|
|
21
53
|
* This parameter is required.
|
|
22
54
|
*
|
|
23
55
|
* @example
|
|
24
56
|
* 123456****
|
|
25
57
|
*/
|
|
26
58
|
siteId?: number;
|
|
59
|
+
staticIp?: string;
|
|
27
60
|
static names(): {
|
|
28
61
|
[key: string]: string;
|
|
29
62
|
};
|
|
@@ -45,6 +45,7 @@ class CreateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
|
45
45
|
recordName: 'RecordName',
|
|
46
46
|
rulesShrink: 'Rules',
|
|
47
47
|
siteId: 'SiteId',
|
|
48
|
+
staticIp: 'StaticIp',
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
static types() {
|
|
@@ -55,6 +56,7 @@ class CreateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
|
55
56
|
recordName: '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":"CreateTransportLayerApplicationShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateTransportLayerApplicationShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateTransportLayerApplicationShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateTransportLayerApplicationShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IA0D3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,yBAAyB;YAClD,YAAY,EAAE,cAAc;YAC5B,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,OAAO;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,QAAQ;YACjC,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,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;AAzFD,oGAyFC"}
|
|
@@ -2,6 +2,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DeleteTransportLayerApplicationRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* Application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
6
|
+
*
|
|
5
7
|
* This parameter is required.
|
|
6
8
|
*
|
|
7
9
|
* @example
|
|
@@ -10,6 +12,8 @@ export declare class DeleteTransportLayerApplicationRequest extends $dara.Model
|
|
|
10
12
|
applicationId?: number;
|
|
11
13
|
/**
|
|
12
14
|
* @remarks
|
|
15
|
+
* Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) interface.
|
|
16
|
+
*
|
|
13
17
|
* This parameter is required.
|
|
14
18
|
*
|
|
15
19
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteTransportLayerApplicationRequest.js","sourceRoot":"","sources":["../../src/models/DeleteTransportLayerApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DeleteTransportLayerApplicationRequest.js","sourceRoot":"","sources":["../../src/models/DeleteTransportLayerApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAqBrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,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;AA1CD,wFA0CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DeleteTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteTransportLayerApplicationResponseBody.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"}
|
|
@@ -32,28 +32,7 @@ export declare class GetRoutineResponseBodyEnvsCodeDeploy extends $dara.Model {
|
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
export declare class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
35
|
-
/**
|
|
36
|
-
* @remarks
|
|
37
|
-
* The regions for canary release.
|
|
38
|
-
*/
|
|
39
|
-
canaryAreaList?: string[];
|
|
40
|
-
/**
|
|
41
|
-
* @remarks
|
|
42
|
-
* The version number for canary release.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* 1710120201067577628
|
|
46
|
-
*/
|
|
47
|
-
canaryCodeVersion?: string;
|
|
48
35
|
codeDeploy?: GetRoutineResponseBodyEnvsCodeDeploy;
|
|
49
|
-
/**
|
|
50
|
-
* @remarks
|
|
51
|
-
* The version number of the code in the environment.
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* 1710120201067577628
|
|
55
|
-
*/
|
|
56
|
-
codeVersion?: string;
|
|
57
36
|
/**
|
|
58
37
|
* @remarks
|
|
59
38
|
* The environment type.
|
|
@@ -92,26 +92,17 @@ exports.GetRoutineResponseBodyEnvsCodeDeploy = GetRoutineResponseBodyEnvsCodeDep
|
|
|
92
92
|
class GetRoutineResponseBodyEnvs extends $dara.Model {
|
|
93
93
|
static names() {
|
|
94
94
|
return {
|
|
95
|
-
canaryAreaList: 'CanaryAreaList',
|
|
96
|
-
canaryCodeVersion: 'CanaryCodeVersion',
|
|
97
95
|
codeDeploy: 'CodeDeploy',
|
|
98
|
-
codeVersion: 'CodeVersion',
|
|
99
96
|
env: 'Env',
|
|
100
97
|
};
|
|
101
98
|
}
|
|
102
99
|
static types() {
|
|
103
100
|
return {
|
|
104
|
-
canaryAreaList: { 'type': 'array', 'itemType': 'string' },
|
|
105
|
-
canaryCodeVersion: 'string',
|
|
106
101
|
codeDeploy: GetRoutineResponseBodyEnvsCodeDeploy,
|
|
107
|
-
codeVersion: 'string',
|
|
108
102
|
env: 'string',
|
|
109
103
|
};
|
|
110
104
|
}
|
|
111
105
|
validate() {
|
|
112
|
-
if (Array.isArray(this.canaryAreaList)) {
|
|
113
|
-
$dara.Model.validateArray(this.canaryAreaList);
|
|
114
|
-
}
|
|
115
106
|
if (this.codeDeploy && typeof this.codeDeploy.validate === 'function') {
|
|
116
107
|
this.codeDeploy.validate();
|
|
117
108
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetRoutineResponseBody.js","sourceRoot":"","sources":["../../src/models/GetRoutineResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;IAK/E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,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;AA9BD,4GA8BC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAKnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,gDAAgD,EAAE;YAC/F,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,oFAiCC;AAED,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetRoutineResponseBody.js","sourceRoot":"","sources":["../../src/models/GetRoutineResponseBody.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,6 +2,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* Application ID, which can be obtained by calling the [ListTransportLayerApplications](~~ListTransportLayerApplications~~) interface.
|
|
6
|
+
*
|
|
5
7
|
* This parameter is required.
|
|
6
8
|
*
|
|
7
9
|
* @example
|
|
@@ -10,6 +12,8 @@ export declare class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
|
10
12
|
applicationId?: number;
|
|
11
13
|
/**
|
|
12
14
|
* @remarks
|
|
15
|
+
* Site ID, which can be obtained by calling the [ListSites](~~ListSites~~) interface.
|
|
16
|
+
*
|
|
13
17
|
* This parameter is required.
|
|
14
18
|
*
|
|
15
19
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetTransportLayerApplicationRequest.js","sourceRoot":"","sources":["../../src/models/GetTransportLayerApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetTransportLayerApplicationRequest.js","sourceRoot":"","sources":["../../src/models/GetTransportLayerApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAqBlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,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;AA1CD,kFA0CC"}
|
|
@@ -1,37 +1,83 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Client IP pass-through protocol, supporting:
|
|
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 of the rule.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 测试
|
|
21
|
+
*/
|
|
8
22
|
comment?: string;
|
|
9
23
|
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* Edge port. Supports:
|
|
26
|
+
*
|
|
27
|
+
* - A single port, such as 80.
|
|
28
|
+
* - Port range, such as 81-85, representing ports 81, 82, 83, 84, 85.
|
|
29
|
+
* - Combination of ports and port ranges, separated by commas, for example 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
|
+
* Rule ID.
|
|
49
|
+
*
|
|
20
50
|
* @example
|
|
21
51
|
* 1234323***
|
|
22
52
|
*/
|
|
23
53
|
ruleId?: number;
|
|
24
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Specific value of the origin, which needs to match the type of the origin.
|
|
57
|
+
*
|
|
25
58
|
* @example
|
|
26
59
|
* 1.1.1.1
|
|
27
60
|
*/
|
|
28
61
|
source?: string;
|
|
29
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Origin port. Supports:
|
|
65
|
+
*
|
|
66
|
+
* - A single port, when the origin port is a single port, any valid edge port combination is supported.
|
|
67
|
+
* - Port range, only when the edge port is a port range, the origin port can be set as a port range and the size of the range must be consistent with 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 are inconsistent.
|
|
68
|
+
*
|
|
30
69
|
* @example
|
|
31
70
|
* 80
|
|
32
71
|
*/
|
|
33
72
|
sourcePort?: string;
|
|
34
73
|
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* Origin type, supporting:
|
|
76
|
+
* - **ip**: IP.
|
|
77
|
+
* - **domain**: Domain name.
|
|
78
|
+
* - **OP**: Origin pool.
|
|
79
|
+
* - **LB**: Load balancer.
|
|
80
|
+
*
|
|
35
81
|
* @example
|
|
36
82
|
* domain
|
|
37
83
|
*/
|
|
@@ -47,21 +93,70 @@ export declare class GetTransportLayerApplicationResponseBodyRules extends $dara
|
|
|
47
93
|
[key: string]: any;
|
|
48
94
|
});
|
|
49
95
|
}
|
|
96
|
+
export declare class GetTransportLayerApplicationResponseBodyStaticIpV4List 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 GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
51
111
|
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* Transport layer application ID.
|
|
114
|
+
*
|
|
52
115
|
* @example
|
|
53
116
|
* 17099311410****
|
|
54
117
|
*/
|
|
55
118
|
applicationId?: number;
|
|
56
119
|
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The CNAME domain corresponding to the transport layer 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, default is off. Value range:
|
|
130
|
+
* - on: Enabled.
|
|
131
|
+
* - off: Disabled.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* on
|
|
135
|
+
*/
|
|
61
136
|
crossBorderOptimization?: string;
|
|
137
|
+
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* Switch for IP access rules. When turned on, the IP access rules in WAF take effect on the transport layer application.
|
|
140
|
+
*
|
|
141
|
+
* - on: Turned on.
|
|
142
|
+
* - off: Turned off.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* on
|
|
146
|
+
*/
|
|
62
147
|
ipAccessRule?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* IPv6 switch.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* on
|
|
154
|
+
*/
|
|
63
155
|
ipv6?: string;
|
|
64
156
|
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The domain name of the transport layer application.
|
|
159
|
+
*
|
|
65
160
|
* @example
|
|
66
161
|
* test.example.com
|
|
67
162
|
*/
|
|
@@ -74,17 +169,39 @@ export declare class GetTransportLayerApplicationResponseBody extends $dara.Mode
|
|
|
74
169
|
* EB635996-1FD6-5DFD-BA57-27A849599940
|
|
75
170
|
*/
|
|
76
171
|
requestId?: string;
|
|
172
|
+
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* List of forwarding rules.
|
|
175
|
+
*/
|
|
77
176
|
rules?: GetTransportLayerApplicationResponseBodyRules[];
|
|
78
177
|
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* Number of forwarding rules contained in the transport layer acceleration application.
|
|
180
|
+
*
|
|
79
181
|
* @example
|
|
80
182
|
* 1
|
|
81
183
|
*/
|
|
82
184
|
rulesCount?: number;
|
|
83
185
|
/**
|
|
186
|
+
* @remarks
|
|
187
|
+
* Site ID.
|
|
188
|
+
*
|
|
84
189
|
* @example
|
|
85
190
|
* 123456****
|
|
86
191
|
*/
|
|
87
192
|
siteId?: number;
|
|
193
|
+
staticIp?: string;
|
|
194
|
+
staticIpV4List?: GetTransportLayerApplicationResponseBodyStaticIpV4List[];
|
|
195
|
+
/**
|
|
196
|
+
* @remarks
|
|
197
|
+
* Status of the transport layer application
|
|
198
|
+
*
|
|
199
|
+
* - **deploying**: Deploying. In this state, modification and deletion are not allowed.
|
|
200
|
+
* - **active**: Active.
|
|
201
|
+
*
|
|
202
|
+
* @example
|
|
203
|
+
* active
|
|
204
|
+
*/
|
|
88
205
|
status?: string;
|
|
89
206
|
static names(): {
|
|
90
207
|
[key: string]: string;
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.GetTransportLayerApplicationResponseBody = exports.GetTransportLayerApplicationResponseBodyRules = void 0;
|
|
36
|
+
exports.GetTransportLayerApplicationResponseBody = exports.GetTransportLayerApplicationResponseBodyStaticIpV4List = exports.GetTransportLayerApplicationResponseBodyRules = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
39
|
class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
@@ -69,6 +69,27 @@ class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
exports.GetTransportLayerApplicationResponseBodyRules = GetTransportLayerApplicationResponseBodyRules;
|
|
72
|
+
class GetTransportLayerApplicationResponseBodyStaticIpV4List 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.GetTransportLayerApplicationResponseBodyStaticIpV4List = GetTransportLayerApplicationResponseBodyStaticIpV4List;
|
|
72
93
|
class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
73
94
|
static names() {
|
|
74
95
|
return {
|
|
@@ -82,6 +103,8 @@ class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
|
82
103
|
rules: 'Rules',
|
|
83
104
|
rulesCount: 'RulesCount',
|
|
84
105
|
siteId: 'SiteId',
|
|
106
|
+
staticIp: 'StaticIp',
|
|
107
|
+
staticIpV4List: 'StaticIpV4List',
|
|
85
108
|
status: 'Status',
|
|
86
109
|
};
|
|
87
110
|
}
|
|
@@ -97,6 +120,8 @@ class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
|
97
120
|
rules: { 'type': 'array', 'itemType': GetTransportLayerApplicationResponseBodyRules },
|
|
98
121
|
rulesCount: 'number',
|
|
99
122
|
siteId: 'number',
|
|
123
|
+
staticIp: 'string',
|
|
124
|
+
staticIpV4List: { 'type': 'array', 'itemType': GetTransportLayerApplicationResponseBodyStaticIpV4List },
|
|
100
125
|
status: 'string',
|
|
101
126
|
};
|
|
102
127
|
}
|
|
@@ -104,6 +129,9 @@ class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
|
104
129
|
if (Array.isArray(this.rules)) {
|
|
105
130
|
$dara.Model.validateArray(this.rules);
|
|
106
131
|
}
|
|
132
|
+
if (Array.isArray(this.staticIpV4List)) {
|
|
133
|
+
$dara.Model.validateArray(this.staticIpV4List);
|
|
134
|
+
}
|
|
107
135
|
super.validate();
|
|
108
136
|
}
|
|
109
137
|
constructor(map) {
|