@alicloud/esa20240910 2.35.0 → 2.35.2
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 +20 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCacheRuleRequest.d.ts +11 -0
- package/dist/models/CreateCacheRuleRequest.js +6 -0
- package/dist/models/CreateCacheRuleRequest.js.map +1 -1
- package/dist/models/CreateOriginPoolRequest.d.ts +1 -0
- package/dist/models/CreateOriginPoolRequest.js +2 -0
- package/dist/models/CreateOriginPoolRequest.js.map +1 -1
- package/dist/models/GetApiSchemaUsageRequest.d.ts +6 -0
- package/dist/models/GetApiSchemaUsageRequest.js.map +1 -1
- package/dist/models/GetApiSchemaUsageResponseBody.d.ts +19 -0
- package/dist/models/GetApiSchemaUsageResponseBody.js.map +1 -1
- package/dist/models/GetCacheRuleResponseBody.d.ts +11 -0
- package/dist/models/GetCacheRuleResponseBody.js +6 -0
- package/dist/models/GetCacheRuleResponseBody.js.map +1 -1
- package/dist/models/GetOriginPoolResponseBody.d.ts +1 -0
- package/dist/models/GetOriginPoolResponseBody.js +2 -0
- package/dist/models/GetOriginPoolResponseBody.js.map +1 -1
- package/dist/models/ListCacheRulesResponseBody.d.ts +11 -0
- package/dist/models/ListCacheRulesResponseBody.js +6 -0
- package/dist/models/ListCacheRulesResponseBody.js.map +1 -1
- package/dist/models/ListOriginPoolsResponseBody.d.ts +1 -0
- package/dist/models/ListOriginPoolsResponseBody.js +2 -0
- package/dist/models/ListOriginPoolsResponseBody.js.map +1 -1
- package/dist/models/UpdateCacheRuleRequest.d.ts +11 -0
- package/dist/models/UpdateCacheRuleRequest.js +6 -0
- package/dist/models/UpdateCacheRuleRequest.js.map +1 -1
- package/dist/models/UpdateOriginPoolRequest.d.ts +1 -0
- package/dist/models/UpdateOriginPoolRequest.js +2 -0
- package/dist/models/UpdateOriginPoolRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +26 -2
- package/src/models/CreateCacheRuleRequest.ts +17 -0
- package/src/models/CreateOriginPoolRequest.ts +3 -0
- package/src/models/GetApiSchemaUsageRequest.ts +6 -0
- package/src/models/GetApiSchemaUsageResponseBody.ts +19 -0
- package/src/models/GetCacheRuleResponseBody.ts +17 -0
- package/src/models/GetOriginPoolResponseBody.ts +3 -0
- package/src/models/ListCacheRulesResponseBody.ts +17 -0
- package/src/models/ListOriginPoolsResponseBody.ts +3 -0
- package/src/models/UpdateCacheRuleRequest.ts +17 -0
- package/src/models/UpdateOriginPoolRequest.ts +3 -0
|
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetApiSchemaUsageResponseBodyUsages extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The website ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 40000449
|
|
9
12
|
*/
|
|
10
13
|
id?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The website name.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* test
|
|
14
20
|
*/
|
|
15
21
|
name?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of files uploaded for the website.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 0
|
|
19
28
|
*/
|
|
@@ -45,11 +54,17 @@ export class GetApiSchemaUsageResponseBodyUsages extends $dara.Model {
|
|
|
45
54
|
|
|
46
55
|
export class GetApiSchemaUsageResponseBody extends $dara.Model {
|
|
47
56
|
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The plan ID.
|
|
59
|
+
*
|
|
48
60
|
* @example
|
|
49
61
|
* esa-site-agknce3n****
|
|
50
62
|
*/
|
|
51
63
|
instanceId?: string;
|
|
52
64
|
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The number of files uploaded for schema verification in the plan instance of the website.
|
|
67
|
+
*
|
|
53
68
|
* @example
|
|
54
69
|
* 10
|
|
55
70
|
*/
|
|
@@ -62,6 +77,10 @@ export class GetApiSchemaUsageResponseBody extends $dara.Model {
|
|
|
62
77
|
* 952ea16b-1f05-4a76-bb32-420282d8****
|
|
63
78
|
*/
|
|
64
79
|
requestId?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* Usage details for websites.
|
|
83
|
+
*/
|
|
65
84
|
usages?: GetApiSchemaUsageResponseBodyUsages[];
|
|
66
85
|
static names(): { [key: string]: string } {
|
|
67
86
|
return {
|
|
@@ -141,6 +141,17 @@ export class GetCacheRuleResponseBody extends $dara.Model {
|
|
|
141
141
|
* example
|
|
142
142
|
*/
|
|
143
143
|
includeHeader?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @example
|
|
146
|
+
* ignore
|
|
147
|
+
*/
|
|
148
|
+
postBodyCacheKey?: string;
|
|
149
|
+
postBodySizeLimit?: string;
|
|
150
|
+
/**
|
|
151
|
+
* @example
|
|
152
|
+
* on
|
|
153
|
+
*/
|
|
154
|
+
postCache?: string;
|
|
144
155
|
/**
|
|
145
156
|
* @remarks
|
|
146
157
|
* The query strings to be retained or deleted, supporting multiple values separated by spaces.
|
|
@@ -285,6 +296,9 @@ export class GetCacheRuleResponseBody extends $dara.Model {
|
|
|
285
296
|
edgeStatusCodeCacheTtl: 'EdgeStatusCodeCacheTtl',
|
|
286
297
|
includeCookie: 'IncludeCookie',
|
|
287
298
|
includeHeader: 'IncludeHeader',
|
|
299
|
+
postBodyCacheKey: 'PostBodyCacheKey',
|
|
300
|
+
postBodySizeLimit: 'PostBodySizeLimit',
|
|
301
|
+
postCache: 'PostCache',
|
|
288
302
|
queryString: 'QueryString',
|
|
289
303
|
queryStringMode: 'QueryStringMode',
|
|
290
304
|
requestId: 'RequestId',
|
|
@@ -318,6 +332,9 @@ export class GetCacheRuleResponseBody extends $dara.Model {
|
|
|
318
332
|
edgeStatusCodeCacheTtl: 'string',
|
|
319
333
|
includeCookie: 'string',
|
|
320
334
|
includeHeader: 'string',
|
|
335
|
+
postBodyCacheKey: 'string',
|
|
336
|
+
postBodySizeLimit: 'string',
|
|
337
|
+
postCache: 'string',
|
|
321
338
|
queryString: 'string',
|
|
322
339
|
queryStringMode: 'string',
|
|
323
340
|
requestId: 'string',
|
|
@@ -122,6 +122,7 @@ export class GetOriginPoolResponseBodyOrigins extends $dara.Model {
|
|
|
122
122
|
* 99750209487****
|
|
123
123
|
*/
|
|
124
124
|
id?: number;
|
|
125
|
+
ipVersionPolicy?: string;
|
|
125
126
|
/**
|
|
126
127
|
* @remarks
|
|
127
128
|
* The name of the origin.
|
|
@@ -157,6 +158,7 @@ export class GetOriginPoolResponseBodyOrigins extends $dara.Model {
|
|
|
157
158
|
enabled: 'Enabled',
|
|
158
159
|
header: 'Header',
|
|
159
160
|
id: 'Id',
|
|
161
|
+
ipVersionPolicy: 'IpVersionPolicy',
|
|
160
162
|
name: 'Name',
|
|
161
163
|
type: 'Type',
|
|
162
164
|
weight: 'Weight',
|
|
@@ -170,6 +172,7 @@ export class GetOriginPoolResponseBodyOrigins extends $dara.Model {
|
|
|
170
172
|
enabled: 'boolean',
|
|
171
173
|
header: 'any',
|
|
172
174
|
id: 'number',
|
|
175
|
+
ipVersionPolicy: 'string',
|
|
173
176
|
name: 'string',
|
|
174
177
|
type: 'string',
|
|
175
178
|
weight: 'number',
|
|
@@ -138,6 +138,17 @@ export class ListCacheRulesResponseBodyConfigs extends $dara.Model {
|
|
|
138
138
|
* example
|
|
139
139
|
*/
|
|
140
140
|
includeHeader?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @example
|
|
143
|
+
* ignore
|
|
144
|
+
*/
|
|
145
|
+
postBodyCacheKey?: string;
|
|
146
|
+
postBodySizeLimit?: string;
|
|
147
|
+
/**
|
|
148
|
+
* @example
|
|
149
|
+
* on
|
|
150
|
+
*/
|
|
151
|
+
postCache?: string;
|
|
141
152
|
/**
|
|
142
153
|
* @remarks
|
|
143
154
|
* The query strings to be reserved or excluded. Multiple values are supported, separated by spaces.
|
|
@@ -269,6 +280,9 @@ export class ListCacheRulesResponseBodyConfigs extends $dara.Model {
|
|
|
269
280
|
edgeStatusCodeCacheTtl: 'EdgeStatusCodeCacheTtl',
|
|
270
281
|
includeCookie: 'IncludeCookie',
|
|
271
282
|
includeHeader: 'IncludeHeader',
|
|
283
|
+
postBodyCacheKey: 'PostBodyCacheKey',
|
|
284
|
+
postBodySizeLimit: 'PostBodySizeLimit',
|
|
285
|
+
postCache: 'PostCache',
|
|
272
286
|
queryString: 'QueryString',
|
|
273
287
|
queryStringMode: 'QueryStringMode',
|
|
274
288
|
rule: 'Rule',
|
|
@@ -301,6 +315,9 @@ export class ListCacheRulesResponseBodyConfigs extends $dara.Model {
|
|
|
301
315
|
edgeStatusCodeCacheTtl: 'string',
|
|
302
316
|
includeCookie: 'string',
|
|
303
317
|
includeHeader: 'string',
|
|
318
|
+
postBodyCacheKey: 'string',
|
|
319
|
+
postBodySizeLimit: 'string',
|
|
320
|
+
postCache: 'string',
|
|
304
321
|
queryString: 'string',
|
|
305
322
|
queryStringMode: 'string',
|
|
306
323
|
rule: 'string',
|
|
@@ -122,6 +122,7 @@ export class ListOriginPoolsResponseBodyOriginPoolsOrigins extends $dara.Model {
|
|
|
122
122
|
* 997502094872132
|
|
123
123
|
*/
|
|
124
124
|
id?: number;
|
|
125
|
+
ipVersionPolicy?: string;
|
|
125
126
|
/**
|
|
126
127
|
* @remarks
|
|
127
128
|
* Origin name.
|
|
@@ -156,6 +157,7 @@ export class ListOriginPoolsResponseBodyOriginPoolsOrigins extends $dara.Model {
|
|
|
156
157
|
enabled: 'Enabled',
|
|
157
158
|
header: 'Header',
|
|
158
159
|
id: 'Id',
|
|
160
|
+
ipVersionPolicy: 'IpVersionPolicy',
|
|
159
161
|
name: 'Name',
|
|
160
162
|
type: 'Type',
|
|
161
163
|
weight: 'Weight',
|
|
@@ -169,6 +171,7 @@ export class ListOriginPoolsResponseBodyOriginPoolsOrigins extends $dara.Model {
|
|
|
169
171
|
enabled: 'boolean',
|
|
170
172
|
header: 'any',
|
|
171
173
|
id: 'number',
|
|
174
|
+
ipVersionPolicy: 'string',
|
|
172
175
|
name: 'string',
|
|
173
176
|
type: 'string',
|
|
174
177
|
weight: 'number',
|
|
@@ -130,6 +130,17 @@ export class UpdateCacheRuleRequest extends $dara.Model {
|
|
|
130
130
|
* headername
|
|
131
131
|
*/
|
|
132
132
|
includeHeader?: string;
|
|
133
|
+
/**
|
|
134
|
+
* @example
|
|
135
|
+
* ignore
|
|
136
|
+
*/
|
|
137
|
+
postBodyCacheKey?: string;
|
|
138
|
+
postBodySizeLimit?: string;
|
|
139
|
+
/**
|
|
140
|
+
* @example
|
|
141
|
+
* on
|
|
142
|
+
*/
|
|
143
|
+
postCache?: string;
|
|
133
144
|
/**
|
|
134
145
|
* @remarks
|
|
135
146
|
* Query strings to be retained or excluded, supporting multiple values separated by spaces.
|
|
@@ -255,6 +266,9 @@ export class UpdateCacheRuleRequest extends $dara.Model {
|
|
|
255
266
|
edgeStatusCodeCacheTtl: 'EdgeStatusCodeCacheTtl',
|
|
256
267
|
includeCookie: 'IncludeCookie',
|
|
257
268
|
includeHeader: 'IncludeHeader',
|
|
269
|
+
postBodyCacheKey: 'PostBodyCacheKey',
|
|
270
|
+
postBodySizeLimit: 'PostBodySizeLimit',
|
|
271
|
+
postCache: 'PostCache',
|
|
258
272
|
queryString: 'QueryString',
|
|
259
273
|
queryStringMode: 'QueryStringMode',
|
|
260
274
|
rule: 'Rule',
|
|
@@ -286,6 +300,9 @@ export class UpdateCacheRuleRequest extends $dara.Model {
|
|
|
286
300
|
edgeStatusCodeCacheTtl: 'string',
|
|
287
301
|
includeCookie: 'string',
|
|
288
302
|
includeHeader: 'string',
|
|
303
|
+
postBodyCacheKey: 'string',
|
|
304
|
+
postBodySizeLimit: 'string',
|
|
305
|
+
postCache: 'string',
|
|
289
306
|
queryString: 'string',
|
|
290
307
|
queryStringMode: 'string',
|
|
291
308
|
rule: 'string',
|
|
@@ -114,6 +114,7 @@ export class UpdateOriginPoolRequestOrigins extends $dara.Model {
|
|
|
114
114
|
* }
|
|
115
115
|
*/
|
|
116
116
|
header?: any;
|
|
117
|
+
ipVersionPolicy?: string;
|
|
117
118
|
/**
|
|
118
119
|
* @remarks
|
|
119
120
|
* The name of the origin, which must be unique under one origin pool.
|
|
@@ -148,6 +149,7 @@ export class UpdateOriginPoolRequestOrigins extends $dara.Model {
|
|
|
148
149
|
authConf: 'AuthConf',
|
|
149
150
|
enabled: 'Enabled',
|
|
150
151
|
header: 'Header',
|
|
152
|
+
ipVersionPolicy: 'IpVersionPolicy',
|
|
151
153
|
name: 'Name',
|
|
152
154
|
type: 'Type',
|
|
153
155
|
weight: 'Weight',
|
|
@@ -160,6 +162,7 @@ export class UpdateOriginPoolRequestOrigins extends $dara.Model {
|
|
|
160
162
|
authConf: UpdateOriginPoolRequestOriginsAuthConf,
|
|
161
163
|
enabled: 'boolean',
|
|
162
164
|
header: 'any',
|
|
165
|
+
ipVersionPolicy: 'string',
|
|
163
166
|
name: 'string',
|
|
164
167
|
type: 'string',
|
|
165
168
|
weight: 'number',
|