@alicloud/esa20240910 2.36.0 → 2.36.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 +2 -2
- package/dist/client.js +2 -2
- package/dist/models/GetOriginRuleRequest.d.ts +2 -2
- package/dist/models/GetOriginRuleResponseBody.d.ts +99 -32
- package/dist/models/GetOriginRuleResponseBody.js.map +1 -1
- package/dist/models/GetTransportLayerApplicationRequest.d.ts +2 -2
- package/dist/models/GetTransportLayerApplicationResponseBody.d.ts +39 -49
- package/dist/models/GetTransportLayerApplicationResponseBody.js.map +1 -1
- package/dist/models/ListListsResponseBody.d.ts +1 -0
- package/dist/models/ListListsResponseBody.js +2 -0
- package/dist/models/ListListsResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -2
- package/src/models/GetOriginRuleRequest.ts +2 -2
- package/src/models/GetOriginRuleResponseBody.ts +99 -32
- package/src/models/GetTransportLayerApplicationRequest.ts +2 -2
- package/src/models/GetTransportLayerApplicationResponseBody.ts +39 -49
- package/src/models/ListListsResponseBody.ts +3 -0
package/dist/client.d.ts
CHANGED
|
@@ -2975,7 +2975,7 @@ export default class Client extends OpenApi {
|
|
|
2975
2975
|
*/
|
|
2976
2976
|
getOriginProtection(request: $_model.GetOriginProtectionRequest): Promise<$_model.GetOriginProtectionResponse>;
|
|
2977
2977
|
/**
|
|
2978
|
-
*
|
|
2978
|
+
* Queries the configurations of a single origin rule.
|
|
2979
2979
|
*
|
|
2980
2980
|
* @param request - GetOriginRuleRequest
|
|
2981
2981
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2983,7 +2983,7 @@ export default class Client extends OpenApi {
|
|
|
2983
2983
|
*/
|
|
2984
2984
|
getOriginRuleWithOptions(request: $_model.GetOriginRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetOriginRuleResponse>;
|
|
2985
2985
|
/**
|
|
2986
|
-
*
|
|
2986
|
+
* Queries the configurations of a single origin rule.
|
|
2987
2987
|
*
|
|
2988
2988
|
* @param request - GetOriginRuleRequest
|
|
2989
2989
|
* @returns GetOriginRuleResponse
|
package/dist/client.js
CHANGED
|
@@ -8811,7 +8811,7 @@ class Client extends openapi_core_1.default {
|
|
|
8811
8811
|
return await this.getOriginProtectionWithOptions(request, runtime);
|
|
8812
8812
|
}
|
|
8813
8813
|
/**
|
|
8814
|
-
*
|
|
8814
|
+
* Queries the configurations of a single origin rule.
|
|
8815
8815
|
*
|
|
8816
8816
|
* @param request - GetOriginRuleRequest
|
|
8817
8817
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8837,7 +8837,7 @@ class Client extends openapi_core_1.default {
|
|
|
8837
8837
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetOriginRuleResponse({}));
|
|
8838
8838
|
}
|
|
8839
8839
|
/**
|
|
8840
|
-
*
|
|
8840
|
+
* Queries the configurations of a single origin rule.
|
|
8841
8841
|
*
|
|
8842
8842
|
* @param request - GetOriginRuleRequest
|
|
8843
8843
|
* @returns GetOriginRuleResponse
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetOriginRuleRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* The ID of the configuration. You can call the [ListSiteRoutes](https://help.aliyun.com/document_detail/2866989.html) operation to obtain the ID.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class GetOriginRuleRequest extends $dara.Model {
|
|
|
12
12
|
configId?: number;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* The website ID, which can be obtained by calling the [ListSites](~~ListSites~~) operation.
|
|
16
16
|
*
|
|
17
17
|
* This parameter is required.
|
|
18
18
|
*
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* The configuration ID.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 352816096987136
|
|
@@ -10,10 +10,10 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
10
10
|
configId?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* The configuration type to query. Valid values:
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* * global: global configurations.
|
|
16
|
+
* * rule: rule configurations.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* rule
|
|
@@ -21,20 +21,64 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
21
21
|
configType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* The hostname that overrides the resolved hostname of an incoming request.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* test.example.com
|
|
28
28
|
*/
|
|
29
29
|
dnsRecord?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* 302 follow switch. Valid values:
|
|
33
|
+
*
|
|
34
|
+
* * on
|
|
35
|
+
* * off
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* on
|
|
39
|
+
*/
|
|
30
40
|
follow302Enable?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The maximum number of 302 follow times. Valid values: 1 to 5.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* 1
|
|
47
|
+
*/
|
|
31
48
|
follow302MaxTries?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* Retains the original request parameters switch. Valid values:
|
|
52
|
+
*
|
|
53
|
+
* * on
|
|
54
|
+
* * off
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* on
|
|
58
|
+
*/
|
|
32
59
|
follow302RetainArgs?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* Retain the original request header switch. Valid values:
|
|
63
|
+
*
|
|
64
|
+
* * on
|
|
65
|
+
* * off
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* on
|
|
69
|
+
*/
|
|
33
70
|
follow302RetainHeader?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* Target Host
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* test.com
|
|
77
|
+
*/
|
|
34
78
|
follow302TargetHost?: string;
|
|
35
79
|
/**
|
|
36
80
|
* @remarks
|
|
37
|
-
*
|
|
81
|
+
* The Host header in origin requests.
|
|
38
82
|
*
|
|
39
83
|
* @example
|
|
40
84
|
* origin.example.com
|
|
@@ -42,7 +86,7 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
42
86
|
originHost?: string;
|
|
43
87
|
/**
|
|
44
88
|
* @remarks
|
|
45
|
-
*
|
|
89
|
+
* The origin port that is accessed when the HTTP protocol is used to back to the origin.
|
|
46
90
|
*
|
|
47
91
|
* @example
|
|
48
92
|
* 8080
|
|
@@ -50,7 +94,7 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
50
94
|
originHttpPort?: string;
|
|
51
95
|
/**
|
|
52
96
|
* @remarks
|
|
53
|
-
*
|
|
97
|
+
* The origin port that is accessed when the HTTPS protocol is used to back to the origin.
|
|
54
98
|
*
|
|
55
99
|
* @example
|
|
56
100
|
* 4433
|
|
@@ -58,22 +102,30 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
58
102
|
originHttpsPort?: string;
|
|
59
103
|
/**
|
|
60
104
|
* @remarks
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
105
|
+
* The MTLS switch. Valid values:
|
|
106
|
+
*
|
|
107
|
+
* * on
|
|
108
|
+
* * off
|
|
64
109
|
*
|
|
65
110
|
* @example
|
|
66
111
|
* on
|
|
67
112
|
*/
|
|
68
113
|
originMtls?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @remarks
|
|
116
|
+
* The read timeout period (in seconds) on the origin.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* 10
|
|
120
|
+
*/
|
|
69
121
|
originReadTimeout?: string;
|
|
70
122
|
/**
|
|
71
123
|
* @remarks
|
|
72
|
-
*
|
|
124
|
+
* The protocol used for origin requests. Valid values:
|
|
73
125
|
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
126
|
+
* * http: HTTP.
|
|
127
|
+
* * https: HTTPS.
|
|
128
|
+
* * follow: follows the protocol used by the client.
|
|
77
129
|
*
|
|
78
130
|
* @example
|
|
79
131
|
* http
|
|
@@ -81,7 +133,7 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
81
133
|
originScheme?: string;
|
|
82
134
|
/**
|
|
83
135
|
* @remarks
|
|
84
|
-
* SNI
|
|
136
|
+
* The SNI in origin requests.
|
|
85
137
|
*
|
|
86
138
|
* @example
|
|
87
139
|
* origin.example.com
|
|
@@ -89,9 +141,10 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
89
141
|
originSni?: string;
|
|
90
142
|
/**
|
|
91
143
|
* @remarks
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
144
|
+
* The origin certificate verification switch. Valid values:
|
|
145
|
+
*
|
|
146
|
+
* * on
|
|
147
|
+
* * off
|
|
95
148
|
*
|
|
96
149
|
* @example
|
|
97
150
|
* on
|
|
@@ -99,16 +152,28 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
99
152
|
originVerify?: string;
|
|
100
153
|
/**
|
|
101
154
|
* @remarks
|
|
102
|
-
* Use
|
|
155
|
+
* Use range requests to download an object from the source. Valid values:
|
|
103
156
|
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
157
|
+
* * on
|
|
158
|
+
* * off
|
|
159
|
+
* * force: enables range origin fetch by force.
|
|
107
160
|
*
|
|
108
161
|
* @example
|
|
109
162
|
* on
|
|
110
163
|
*/
|
|
111
164
|
range?: string;
|
|
165
|
+
/**
|
|
166
|
+
* @remarks
|
|
167
|
+
* The size of the range part. Valid values:
|
|
168
|
+
*
|
|
169
|
+
* * 512KB
|
|
170
|
+
* * 1MB
|
|
171
|
+
* * 2MB
|
|
172
|
+
* * 4MB
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* 1MB
|
|
176
|
+
*/
|
|
112
177
|
rangeChunkSize?: string;
|
|
113
178
|
/**
|
|
114
179
|
* @remarks
|
|
@@ -120,9 +185,10 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
120
185
|
requestId?: string;
|
|
121
186
|
/**
|
|
122
187
|
* @remarks
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
188
|
+
* The content of the rule. A conditional expression is used to match a user request. You do not need to set this parameter when you add global configuration. Use cases:
|
|
189
|
+
*
|
|
190
|
+
* * true: Match all incoming requests.
|
|
191
|
+
* * Set the value to a custom expression, for example, (http.host eq "video.example.com"): Match the specified request.
|
|
126
192
|
*
|
|
127
193
|
* @example
|
|
128
194
|
* (http.host eq \\"video.example.com\\")
|
|
@@ -130,9 +196,10 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
130
196
|
rule?: string;
|
|
131
197
|
/**
|
|
132
198
|
* @remarks
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
199
|
+
* Specifies whether to enable the rule. Valid values: You do not need to set this parameter when you add global configuration. Valid values:
|
|
200
|
+
*
|
|
201
|
+
* * on
|
|
202
|
+
* * off
|
|
136
203
|
*
|
|
137
204
|
* @example
|
|
138
205
|
* on
|
|
@@ -140,7 +207,7 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
140
207
|
ruleEnable?: string;
|
|
141
208
|
/**
|
|
142
209
|
* @remarks
|
|
143
|
-
*
|
|
210
|
+
* The rule name. You do not need to set this parameter when you add global configurations.
|
|
144
211
|
*
|
|
145
212
|
* @example
|
|
146
213
|
* rule_example
|
|
@@ -148,7 +215,7 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
148
215
|
ruleName?: string;
|
|
149
216
|
/**
|
|
150
217
|
* @remarks
|
|
151
|
-
*
|
|
218
|
+
* The rule execution order. The smaller the value, the higher the priority.
|
|
152
219
|
*
|
|
153
220
|
* @example
|
|
154
221
|
* 1
|
|
@@ -156,7 +223,7 @@ export declare class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
156
223
|
sequence?: number;
|
|
157
224
|
/**
|
|
158
225
|
* @remarks
|
|
159
|
-
*
|
|
226
|
+
* The version number of the configurations. You can use this parameter to specify a version of your website to apply the feature settings. By default, version 0 is used.
|
|
160
227
|
*
|
|
161
228
|
* @example
|
|
162
229
|
* 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetOriginRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/GetOriginRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetOriginRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/GetOriginRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAsOxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,eAAe,EAAE,i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C;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvSD,8DAuSC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Number of forwarding rules contained in the transport layer acceleration application.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
|
12
12
|
applicationId?: number;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Transport layer application ID.
|
|
16
16
|
*
|
|
17
17
|
* This parameter is required.
|
|
18
18
|
*
|
|
@@ -2,11 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
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.
|
|
5
|
+
* The domain name of the transport layer application.
|
|
10
6
|
*
|
|
11
7
|
* @example
|
|
12
8
|
* off
|
|
@@ -14,19 +10,18 @@ export declare class GetTransportLayerApplicationResponseBodyRules extends $dara
|
|
|
14
10
|
clientIPPassThroughMode?: string;
|
|
15
11
|
/**
|
|
16
12
|
* @remarks
|
|
17
|
-
*
|
|
13
|
+
* Switch for IP access rules. When turned on, the IP access rules in WAF take effect on the transport layer application.
|
|
14
|
+
*
|
|
15
|
+
* - on: Turned on.
|
|
16
|
+
* - off: Turned off.
|
|
18
17
|
*
|
|
19
18
|
* @example
|
|
20
|
-
*
|
|
19
|
+
* IPv6 switch.
|
|
21
20
|
*/
|
|
22
21
|
comment?: string;
|
|
23
22
|
/**
|
|
24
23
|
* @remarks
|
|
25
|
-
*
|
|
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.
|
|
24
|
+
* Comment information of the rule.
|
|
30
25
|
*
|
|
31
26
|
* @example
|
|
32
27
|
* 80
|
|
@@ -34,10 +29,11 @@ export declare class GetTransportLayerApplicationResponseBodyRules extends $dara
|
|
|
34
29
|
edgePort?: string;
|
|
35
30
|
/**
|
|
36
31
|
* @remarks
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* -
|
|
40
|
-
* -
|
|
32
|
+
* Client IP pass-through protocol, supporting:
|
|
33
|
+
* - **off**: No pass-through.
|
|
34
|
+
* - **PPv1**: PROXY Protocol v1, supports client IP pass-through for TCP protocol.
|
|
35
|
+
* - **PPv2**: PROXY Protocol v2, supports client IP pass-through for TCP and UDP protocols.
|
|
36
|
+
* - **SPP**: Simple Proxy Protocol, supports client IP pass-through for UDP protocol.
|
|
41
37
|
*
|
|
42
38
|
* @example
|
|
43
39
|
* TCP
|
|
@@ -45,7 +41,10 @@ export declare class GetTransportLayerApplicationResponseBodyRules extends $dara
|
|
|
45
41
|
protocol?: string;
|
|
46
42
|
/**
|
|
47
43
|
* @remarks
|
|
48
|
-
*
|
|
44
|
+
* Status of the transport layer application
|
|
45
|
+
*
|
|
46
|
+
* - **deploying**: Deploying. In this state, modification and deletion are not allowed.
|
|
47
|
+
* - **active**: Active.
|
|
49
48
|
*
|
|
50
49
|
* @example
|
|
51
50
|
* 1234323***
|
|
@@ -53,7 +52,10 @@ export declare class GetTransportLayerApplicationResponseBodyRules extends $dara
|
|
|
53
52
|
ruleId?: number;
|
|
54
53
|
/**
|
|
55
54
|
* @remarks
|
|
56
|
-
*
|
|
55
|
+
* Origin port. Supports:
|
|
56
|
+
*
|
|
57
|
+
* - A single port, when the origin port is a single port, any valid edge port combination is supported.
|
|
58
|
+
* - 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.
|
|
57
59
|
*
|
|
58
60
|
* @example
|
|
59
61
|
* 1.1.1.1
|
|
@@ -61,10 +63,7 @@ export declare class GetTransportLayerApplicationResponseBodyRules extends $dara
|
|
|
61
63
|
source?: string;
|
|
62
64
|
/**
|
|
63
65
|
* @remarks
|
|
64
|
-
*
|
|
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.
|
|
66
|
+
* The CNAME domain corresponding to the transport layer acceleration application. This field is not empty only when the site is accessed via CNAME.
|
|
68
67
|
*
|
|
69
68
|
* @example
|
|
70
69
|
* 80
|
|
@@ -72,11 +71,7 @@ export declare class GetTransportLayerApplicationResponseBodyRules extends $dara
|
|
|
72
71
|
sourcePort?: string;
|
|
73
72
|
/**
|
|
74
73
|
* @remarks
|
|
75
|
-
*
|
|
76
|
-
* - **ip**: IP.
|
|
77
|
-
* - **domain**: Domain name.
|
|
78
|
-
* - **OP**: Origin pool.
|
|
79
|
-
* - **LB**: Load balancer.
|
|
74
|
+
* Rule ID.
|
|
80
75
|
*
|
|
81
76
|
* @example
|
|
82
77
|
* domain
|
|
@@ -110,7 +105,7 @@ export declare class GetTransportLayerApplicationResponseBodyStaticIpV4List exte
|
|
|
110
105
|
export declare class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
111
106
|
/**
|
|
112
107
|
* @remarks
|
|
113
|
-
*
|
|
108
|
+
* Specific value of the origin, which needs to match the type of the origin.
|
|
114
109
|
*
|
|
115
110
|
* @example
|
|
116
111
|
* 17099311410****
|
|
@@ -118,28 +113,22 @@ export declare class GetTransportLayerApplicationResponseBody extends $dara.Mode
|
|
|
118
113
|
applicationId?: number;
|
|
119
114
|
/**
|
|
120
115
|
* @remarks
|
|
121
|
-
*
|
|
116
|
+
* Whether to enable China mainland network access optimization, default is off. Value range:
|
|
117
|
+
* - on: Enabled.
|
|
118
|
+
* - off: Disabled.
|
|
122
119
|
*
|
|
123
120
|
* @example
|
|
124
121
|
* example.com.ialicdn.com
|
|
125
122
|
*/
|
|
126
123
|
cname?: string;
|
|
127
124
|
/**
|
|
128
|
-
* @remarks
|
|
129
|
-
* Whether to enable China mainland network access optimization, default is off. Value range:
|
|
130
|
-
* - on: Enabled.
|
|
131
|
-
* - off: Disabled.
|
|
132
|
-
*
|
|
133
125
|
* @example
|
|
134
126
|
* on
|
|
135
127
|
*/
|
|
136
128
|
crossBorderOptimization?: string;
|
|
137
129
|
/**
|
|
138
130
|
* @remarks
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
* - on: Turned on.
|
|
142
|
-
* - off: Turned off.
|
|
131
|
+
* #/components/schemas/WafRuleMatch2
|
|
143
132
|
*
|
|
144
133
|
* @example
|
|
145
134
|
* on
|
|
@@ -147,7 +136,7 @@ export declare class GetTransportLayerApplicationResponseBody extends $dara.Mode
|
|
|
147
136
|
ipAccessRule?: string;
|
|
148
137
|
/**
|
|
149
138
|
* @remarks
|
|
150
|
-
*
|
|
139
|
+
* Ipv6 switch
|
|
151
140
|
*
|
|
152
141
|
* @example
|
|
153
142
|
* on
|
|
@@ -155,7 +144,7 @@ export declare class GetTransportLayerApplicationResponseBody extends $dara.Mode
|
|
|
155
144
|
ipv6?: string;
|
|
156
145
|
/**
|
|
157
146
|
* @remarks
|
|
158
|
-
*
|
|
147
|
+
* Query Transport Layer Acceleration Application
|
|
159
148
|
*
|
|
160
149
|
* @example
|
|
161
150
|
* test.example.com
|
|
@@ -171,12 +160,19 @@ export declare class GetTransportLayerApplicationResponseBody extends $dara.Mode
|
|
|
171
160
|
requestId?: string;
|
|
172
161
|
/**
|
|
173
162
|
* @remarks
|
|
174
|
-
*
|
|
163
|
+
* Edge port. Supports:
|
|
164
|
+
*
|
|
165
|
+
* - A single port, such as 80.
|
|
166
|
+
* - Port range, such as 81-85, representing ports 81, 82, 83, 84, 85.
|
|
167
|
+
* - Combination of ports and port ranges, separated by commas, for example 80,81-85,90, representing ports 80, 81, 82, 83, 84, 85, 90.
|
|
175
168
|
*/
|
|
176
169
|
rules?: GetTransportLayerApplicationResponseBodyRules[];
|
|
177
170
|
/**
|
|
178
171
|
* @remarks
|
|
179
|
-
*
|
|
172
|
+
* Forwarding rule protocol, with values:
|
|
173
|
+
*
|
|
174
|
+
* - TCP: TCP protocol.
|
|
175
|
+
* - UDP: UDP protocol.
|
|
180
176
|
*
|
|
181
177
|
* @example
|
|
182
178
|
* 1
|
|
@@ -184,7 +180,7 @@ export declare class GetTransportLayerApplicationResponseBody extends $dara.Mode
|
|
|
184
180
|
rulesCount?: number;
|
|
185
181
|
/**
|
|
186
182
|
* @remarks
|
|
187
|
-
*
|
|
183
|
+
* Details of the forwarding rule.
|
|
188
184
|
*
|
|
189
185
|
* @example
|
|
190
186
|
* 123456****
|
|
@@ -193,12 +189,6 @@ export declare class GetTransportLayerApplicationResponseBody extends $dara.Mode
|
|
|
193
189
|
staticIp?: string;
|
|
194
190
|
staticIpV4List?: GetTransportLayerApplicationResponseBodyStaticIpV4List[];
|
|
195
191
|
/**
|
|
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
192
|
* @example
|
|
203
193
|
* active
|
|
204
194
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/GetTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetTransportLayerApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/GetTransportLayerApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IA8E5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,yBAAyB;YAClD,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,uBAAuB,EAAE,QAAQ;YACjC,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/GD,sGA+GC;AAED,MAAa,sDAA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,EAAE,sDAAsD,EAAE;YACvG,MAAM,EAAE,QAAQ;SACjB,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,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5ID,4FA4IC"}
|
|
@@ -60,6 +60,7 @@ export declare class ListListsResponseBodyLists extends $dara.Model {
|
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
export declare class ListListsResponseBody extends $dara.Model {
|
|
63
|
+
itemsUsage?: number;
|
|
63
64
|
/**
|
|
64
65
|
* @remarks
|
|
65
66
|
* The array that contains list information, including list data after paging.
|
|
@@ -68,6 +68,7 @@ exports.ListListsResponseBodyLists = ListListsResponseBodyLists;
|
|
|
68
68
|
class ListListsResponseBody extends $dara.Model {
|
|
69
69
|
static names() {
|
|
70
70
|
return {
|
|
71
|
+
itemsUsage: 'ItemsUsage',
|
|
71
72
|
lists: 'Lists',
|
|
72
73
|
pageNumber: 'PageNumber',
|
|
73
74
|
pageSize: 'PageSize',
|
|
@@ -78,6 +79,7 @@ class ListListsResponseBody extends $dara.Model {
|
|
|
78
79
|
}
|
|
79
80
|
static types() {
|
|
80
81
|
return {
|
|
82
|
+
itemsUsage: 'number',
|
|
81
83
|
lists: { 'type': 'array', 'itemType': ListListsResponseBodyLists },
|
|
82
84
|
pageNumber: 'number',
|
|
83
85
|
pageSize: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListListsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListListsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAiDzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,QAAQ;YACd,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;AA9ED,gEA8EC;AAED,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListListsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListListsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAiDzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;SACzB,CAAC;IAC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HANGED
package/src/client.ts
CHANGED
|
@@ -9744,7 +9744,7 @@ export default class Client extends OpenApi {
|
|
|
9744
9744
|
}
|
|
9745
9745
|
|
|
9746
9746
|
/**
|
|
9747
|
-
*
|
|
9747
|
+
* Queries the configurations of a single origin rule.
|
|
9748
9748
|
*
|
|
9749
9749
|
* @param request - GetOriginRuleRequest
|
|
9750
9750
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9771,7 +9771,7 @@ export default class Client extends OpenApi {
|
|
|
9771
9771
|
}
|
|
9772
9772
|
|
|
9773
9773
|
/**
|
|
9774
|
-
*
|
|
9774
|
+
* Queries the configurations of a single origin rule.
|
|
9775
9775
|
*
|
|
9776
9776
|
* @param request - GetOriginRuleRequest
|
|
9777
9777
|
* @returns GetOriginRuleResponse
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetOriginRuleRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The ID of the configuration. You can call the [ListSiteRoutes](https://help.aliyun.com/document_detail/2866989.html) operation to obtain the ID.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class GetOriginRuleRequest extends $dara.Model {
|
|
|
15
15
|
configId?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The website ID, which can be obtained by calling the [ListSites](~~ListSites~~) operation.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetOriginRuleResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The configuration ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 352816096987136
|
|
@@ -13,10 +13,10 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
13
13
|
configId?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The configuration type to query. Valid values:
|
|
17
17
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* * global: global configurations.
|
|
19
|
+
* * rule: rule configurations.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* rule
|
|
@@ -24,20 +24,64 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
24
24
|
configType?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
*
|
|
27
|
+
* The hostname that overrides the resolved hostname of an incoming request.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* test.example.com
|
|
31
31
|
*/
|
|
32
32
|
dnsRecord?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* 302 follow switch. Valid values:
|
|
36
|
+
*
|
|
37
|
+
* * on
|
|
38
|
+
* * off
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* on
|
|
42
|
+
*/
|
|
33
43
|
follow302Enable?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The maximum number of 302 follow times. Valid values: 1 to 5.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* 1
|
|
50
|
+
*/
|
|
34
51
|
follow302MaxTries?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* Retains the original request parameters switch. Valid values:
|
|
55
|
+
*
|
|
56
|
+
* * on
|
|
57
|
+
* * off
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* on
|
|
61
|
+
*/
|
|
35
62
|
follow302RetainArgs?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* Retain the original request header switch. Valid values:
|
|
66
|
+
*
|
|
67
|
+
* * on
|
|
68
|
+
* * off
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* on
|
|
72
|
+
*/
|
|
36
73
|
follow302RetainHeader?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* Target Host
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* test.com
|
|
80
|
+
*/
|
|
37
81
|
follow302TargetHost?: string;
|
|
38
82
|
/**
|
|
39
83
|
* @remarks
|
|
40
|
-
*
|
|
84
|
+
* The Host header in origin requests.
|
|
41
85
|
*
|
|
42
86
|
* @example
|
|
43
87
|
* origin.example.com
|
|
@@ -45,7 +89,7 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
45
89
|
originHost?: string;
|
|
46
90
|
/**
|
|
47
91
|
* @remarks
|
|
48
|
-
*
|
|
92
|
+
* The origin port that is accessed when the HTTP protocol is used to back to the origin.
|
|
49
93
|
*
|
|
50
94
|
* @example
|
|
51
95
|
* 8080
|
|
@@ -53,7 +97,7 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
53
97
|
originHttpPort?: string;
|
|
54
98
|
/**
|
|
55
99
|
* @remarks
|
|
56
|
-
*
|
|
100
|
+
* The origin port that is accessed when the HTTPS protocol is used to back to the origin.
|
|
57
101
|
*
|
|
58
102
|
* @example
|
|
59
103
|
* 4433
|
|
@@ -61,22 +105,30 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
61
105
|
originHttpsPort?: string;
|
|
62
106
|
/**
|
|
63
107
|
* @remarks
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
108
|
+
* The MTLS switch. Valid values:
|
|
109
|
+
*
|
|
110
|
+
* * on
|
|
111
|
+
* * off
|
|
67
112
|
*
|
|
68
113
|
* @example
|
|
69
114
|
* on
|
|
70
115
|
*/
|
|
71
116
|
originMtls?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The read timeout period (in seconds) on the origin.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* 10
|
|
123
|
+
*/
|
|
72
124
|
originReadTimeout?: string;
|
|
73
125
|
/**
|
|
74
126
|
* @remarks
|
|
75
|
-
*
|
|
127
|
+
* The protocol used for origin requests. Valid values:
|
|
76
128
|
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
129
|
+
* * http: HTTP.
|
|
130
|
+
* * https: HTTPS.
|
|
131
|
+
* * follow: follows the protocol used by the client.
|
|
80
132
|
*
|
|
81
133
|
* @example
|
|
82
134
|
* http
|
|
@@ -84,7 +136,7 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
84
136
|
originScheme?: string;
|
|
85
137
|
/**
|
|
86
138
|
* @remarks
|
|
87
|
-
* SNI
|
|
139
|
+
* The SNI in origin requests.
|
|
88
140
|
*
|
|
89
141
|
* @example
|
|
90
142
|
* origin.example.com
|
|
@@ -92,9 +144,10 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
92
144
|
originSni?: string;
|
|
93
145
|
/**
|
|
94
146
|
* @remarks
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
147
|
+
* The origin certificate verification switch. Valid values:
|
|
148
|
+
*
|
|
149
|
+
* * on
|
|
150
|
+
* * off
|
|
98
151
|
*
|
|
99
152
|
* @example
|
|
100
153
|
* on
|
|
@@ -102,16 +155,28 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
102
155
|
originVerify?: string;
|
|
103
156
|
/**
|
|
104
157
|
* @remarks
|
|
105
|
-
* Use
|
|
158
|
+
* Use range requests to download an object from the source. Valid values:
|
|
106
159
|
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
160
|
+
* * on
|
|
161
|
+
* * off
|
|
162
|
+
* * force: enables range origin fetch by force.
|
|
110
163
|
*
|
|
111
164
|
* @example
|
|
112
165
|
* on
|
|
113
166
|
*/
|
|
114
167
|
range?: string;
|
|
168
|
+
/**
|
|
169
|
+
* @remarks
|
|
170
|
+
* The size of the range part. Valid values:
|
|
171
|
+
*
|
|
172
|
+
* * 512KB
|
|
173
|
+
* * 1MB
|
|
174
|
+
* * 2MB
|
|
175
|
+
* * 4MB
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* 1MB
|
|
179
|
+
*/
|
|
115
180
|
rangeChunkSize?: string;
|
|
116
181
|
/**
|
|
117
182
|
* @remarks
|
|
@@ -123,9 +188,10 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
123
188
|
requestId?: string;
|
|
124
189
|
/**
|
|
125
190
|
* @remarks
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
191
|
+
* The content of the rule. A conditional expression is used to match a user request. You do not need to set this parameter when you add global configuration. Use cases:
|
|
192
|
+
*
|
|
193
|
+
* * true: Match all incoming requests.
|
|
194
|
+
* * Set the value to a custom expression, for example, (http.host eq "video.example.com"): Match the specified request.
|
|
129
195
|
*
|
|
130
196
|
* @example
|
|
131
197
|
* (http.host eq \\"video.example.com\\")
|
|
@@ -133,9 +199,10 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
133
199
|
rule?: string;
|
|
134
200
|
/**
|
|
135
201
|
* @remarks
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
202
|
+
* Specifies whether to enable the rule. Valid values: You do not need to set this parameter when you add global configuration. Valid values:
|
|
203
|
+
*
|
|
204
|
+
* * on
|
|
205
|
+
* * off
|
|
139
206
|
*
|
|
140
207
|
* @example
|
|
141
208
|
* on
|
|
@@ -143,7 +210,7 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
143
210
|
ruleEnable?: string;
|
|
144
211
|
/**
|
|
145
212
|
* @remarks
|
|
146
|
-
*
|
|
213
|
+
* The rule name. You do not need to set this parameter when you add global configurations.
|
|
147
214
|
*
|
|
148
215
|
* @example
|
|
149
216
|
* rule_example
|
|
@@ -151,7 +218,7 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
151
218
|
ruleName?: string;
|
|
152
219
|
/**
|
|
153
220
|
* @remarks
|
|
154
|
-
*
|
|
221
|
+
* The rule execution order. The smaller the value, the higher the priority.
|
|
155
222
|
*
|
|
156
223
|
* @example
|
|
157
224
|
* 1
|
|
@@ -159,7 +226,7 @@ export class GetOriginRuleResponseBody extends $dara.Model {
|
|
|
159
226
|
sequence?: number;
|
|
160
227
|
/**
|
|
161
228
|
* @remarks
|
|
162
|
-
*
|
|
229
|
+
* The version number of the configurations. You can use this parameter to specify a version of your website to apply the feature settings. By default, version 0 is used.
|
|
163
230
|
*
|
|
164
231
|
* @example
|
|
165
232
|
* 1
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Number of forwarding rules contained in the transport layer acceleration application.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
|
15
15
|
applicationId?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* Transport layer application ID.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -5,11 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
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.
|
|
8
|
+
* The domain name of the transport layer application.
|
|
13
9
|
*
|
|
14
10
|
* @example
|
|
15
11
|
* off
|
|
@@ -17,19 +13,18 @@ export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
|
17
13
|
clientIPPassThroughMode?: string;
|
|
18
14
|
/**
|
|
19
15
|
* @remarks
|
|
20
|
-
*
|
|
16
|
+
* Switch for IP access rules. When turned on, the IP access rules in WAF take effect on the transport layer application.
|
|
17
|
+
*
|
|
18
|
+
* - on: Turned on.
|
|
19
|
+
* - off: Turned off.
|
|
21
20
|
*
|
|
22
21
|
* @example
|
|
23
|
-
*
|
|
22
|
+
* IPv6 switch.
|
|
24
23
|
*/
|
|
25
24
|
comment?: string;
|
|
26
25
|
/**
|
|
27
26
|
* @remarks
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* - A single port, such as 80.
|
|
31
|
-
* - Port range, such as 81-85, representing ports 81, 82, 83, 84, 85.
|
|
32
|
-
* - Combination of ports and port ranges, separated by commas, for example 80,81-85,90, representing ports 80, 81, 82, 83, 84, 85, 90.
|
|
27
|
+
* Comment information of the rule.
|
|
33
28
|
*
|
|
34
29
|
* @example
|
|
35
30
|
* 80
|
|
@@ -37,10 +32,11 @@ export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
|
37
32
|
edgePort?: string;
|
|
38
33
|
/**
|
|
39
34
|
* @remarks
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* -
|
|
43
|
-
* -
|
|
35
|
+
* Client IP pass-through protocol, supporting:
|
|
36
|
+
* - **off**: No pass-through.
|
|
37
|
+
* - **PPv1**: PROXY Protocol v1, supports client IP pass-through for TCP protocol.
|
|
38
|
+
* - **PPv2**: PROXY Protocol v2, supports client IP pass-through for TCP and UDP protocols.
|
|
39
|
+
* - **SPP**: Simple Proxy Protocol, supports client IP pass-through for UDP protocol.
|
|
44
40
|
*
|
|
45
41
|
* @example
|
|
46
42
|
* TCP
|
|
@@ -48,7 +44,10 @@ export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
|
48
44
|
protocol?: string;
|
|
49
45
|
/**
|
|
50
46
|
* @remarks
|
|
51
|
-
*
|
|
47
|
+
* Status of the transport layer application
|
|
48
|
+
*
|
|
49
|
+
* - **deploying**: Deploying. In this state, modification and deletion are not allowed.
|
|
50
|
+
* - **active**: Active.
|
|
52
51
|
*
|
|
53
52
|
* @example
|
|
54
53
|
* 1234323***
|
|
@@ -56,7 +55,10 @@ export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
|
56
55
|
ruleId?: number;
|
|
57
56
|
/**
|
|
58
57
|
* @remarks
|
|
59
|
-
*
|
|
58
|
+
* Origin port. Supports:
|
|
59
|
+
*
|
|
60
|
+
* - A single port, when the origin port is a single port, any valid edge port combination is supported.
|
|
61
|
+
* - 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.
|
|
60
62
|
*
|
|
61
63
|
* @example
|
|
62
64
|
* 1.1.1.1
|
|
@@ -64,10 +66,7 @@ export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
|
64
66
|
source?: string;
|
|
65
67
|
/**
|
|
66
68
|
* @remarks
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* - A single port, when the origin port is a single port, any valid edge port combination is supported.
|
|
70
|
-
* - 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.
|
|
69
|
+
* The CNAME domain corresponding to the transport layer acceleration application. This field is not empty only when the site is accessed via CNAME.
|
|
71
70
|
*
|
|
72
71
|
* @example
|
|
73
72
|
* 80
|
|
@@ -75,11 +74,7 @@ export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
|
75
74
|
sourcePort?: string;
|
|
76
75
|
/**
|
|
77
76
|
* @remarks
|
|
78
|
-
*
|
|
79
|
-
* - **ip**: IP.
|
|
80
|
-
* - **domain**: Domain name.
|
|
81
|
-
* - **OP**: Origin pool.
|
|
82
|
-
* - **LB**: Load balancer.
|
|
77
|
+
* Rule ID.
|
|
83
78
|
*
|
|
84
79
|
* @example
|
|
85
80
|
* domain
|
|
@@ -149,7 +144,7 @@ export class GetTransportLayerApplicationResponseBodyStaticIpV4List extends $dar
|
|
|
149
144
|
export class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
150
145
|
/**
|
|
151
146
|
* @remarks
|
|
152
|
-
*
|
|
147
|
+
* Specific value of the origin, which needs to match the type of the origin.
|
|
153
148
|
*
|
|
154
149
|
* @example
|
|
155
150
|
* 17099311410****
|
|
@@ -157,28 +152,22 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
|
157
152
|
applicationId?: number;
|
|
158
153
|
/**
|
|
159
154
|
* @remarks
|
|
160
|
-
*
|
|
155
|
+
* Whether to enable China mainland network access optimization, default is off. Value range:
|
|
156
|
+
* - on: Enabled.
|
|
157
|
+
* - off: Disabled.
|
|
161
158
|
*
|
|
162
159
|
* @example
|
|
163
160
|
* example.com.ialicdn.com
|
|
164
161
|
*/
|
|
165
162
|
cname?: string;
|
|
166
163
|
/**
|
|
167
|
-
* @remarks
|
|
168
|
-
* Whether to enable China mainland network access optimization, default is off. Value range:
|
|
169
|
-
* - on: Enabled.
|
|
170
|
-
* - off: Disabled.
|
|
171
|
-
*
|
|
172
164
|
* @example
|
|
173
165
|
* on
|
|
174
166
|
*/
|
|
175
167
|
crossBorderOptimization?: string;
|
|
176
168
|
/**
|
|
177
169
|
* @remarks
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
* - on: Turned on.
|
|
181
|
-
* - off: Turned off.
|
|
170
|
+
* #/components/schemas/WafRuleMatch2
|
|
182
171
|
*
|
|
183
172
|
* @example
|
|
184
173
|
* on
|
|
@@ -186,7 +175,7 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
|
186
175
|
ipAccessRule?: string;
|
|
187
176
|
/**
|
|
188
177
|
* @remarks
|
|
189
|
-
*
|
|
178
|
+
* Ipv6 switch
|
|
190
179
|
*
|
|
191
180
|
* @example
|
|
192
181
|
* on
|
|
@@ -194,7 +183,7 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
|
194
183
|
ipv6?: string;
|
|
195
184
|
/**
|
|
196
185
|
* @remarks
|
|
197
|
-
*
|
|
186
|
+
* Query Transport Layer Acceleration Application
|
|
198
187
|
*
|
|
199
188
|
* @example
|
|
200
189
|
* test.example.com
|
|
@@ -210,12 +199,19 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
|
210
199
|
requestId?: string;
|
|
211
200
|
/**
|
|
212
201
|
* @remarks
|
|
213
|
-
*
|
|
202
|
+
* Edge port. Supports:
|
|
203
|
+
*
|
|
204
|
+
* - A single port, such as 80.
|
|
205
|
+
* - Port range, such as 81-85, representing ports 81, 82, 83, 84, 85.
|
|
206
|
+
* - Combination of ports and port ranges, separated by commas, for example 80,81-85,90, representing ports 80, 81, 82, 83, 84, 85, 90.
|
|
214
207
|
*/
|
|
215
208
|
rules?: GetTransportLayerApplicationResponseBodyRules[];
|
|
216
209
|
/**
|
|
217
210
|
* @remarks
|
|
218
|
-
*
|
|
211
|
+
* Forwarding rule protocol, with values:
|
|
212
|
+
*
|
|
213
|
+
* - TCP: TCP protocol.
|
|
214
|
+
* - UDP: UDP protocol.
|
|
219
215
|
*
|
|
220
216
|
* @example
|
|
221
217
|
* 1
|
|
@@ -223,7 +219,7 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
|
223
219
|
rulesCount?: number;
|
|
224
220
|
/**
|
|
225
221
|
* @remarks
|
|
226
|
-
*
|
|
222
|
+
* Details of the forwarding rule.
|
|
227
223
|
*
|
|
228
224
|
* @example
|
|
229
225
|
* 123456****
|
|
@@ -232,12 +228,6 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
|
232
228
|
staticIp?: string;
|
|
233
229
|
staticIpV4List?: GetTransportLayerApplicationResponseBodyStaticIpV4List[];
|
|
234
230
|
/**
|
|
235
|
-
* @remarks
|
|
236
|
-
* Status of the transport layer application
|
|
237
|
-
*
|
|
238
|
-
* - **deploying**: Deploying. In this state, modification and deletion are not allowed.
|
|
239
|
-
* - **active**: Active.
|
|
240
|
-
*
|
|
241
231
|
* @example
|
|
242
232
|
* active
|
|
243
233
|
*/
|
|
@@ -83,6 +83,7 @@ export class ListListsResponseBodyLists extends $dara.Model {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export class ListListsResponseBody extends $dara.Model {
|
|
86
|
+
itemsUsage?: number;
|
|
86
87
|
/**
|
|
87
88
|
* @remarks
|
|
88
89
|
* The array that contains list information, including list data after paging.
|
|
@@ -130,6 +131,7 @@ export class ListListsResponseBody extends $dara.Model {
|
|
|
130
131
|
usage?: number;
|
|
131
132
|
static names(): { [key: string]: string } {
|
|
132
133
|
return {
|
|
134
|
+
itemsUsage: 'ItemsUsage',
|
|
133
135
|
lists: 'Lists',
|
|
134
136
|
pageNumber: 'PageNumber',
|
|
135
137
|
pageSize: 'PageSize',
|
|
@@ -141,6 +143,7 @@ export class ListListsResponseBody extends $dara.Model {
|
|
|
141
143
|
|
|
142
144
|
static types(): { [key: string]: any } {
|
|
143
145
|
return {
|
|
146
|
+
itemsUsage: 'number',
|
|
144
147
|
lists: { 'type': 'array', 'itemType': ListListsResponseBodyLists },
|
|
145
148
|
pageNumber: 'number',
|
|
146
149
|
pageSize: 'number',
|