@alicloud/esa20240910 2.35.3 → 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 +62 -2
- package/dist/client.js +170 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEdgeContainerAppImageSecretRequest.d.ts +45 -0
- package/dist/models/CreateEdgeContainerAppImageSecretRequest.js +64 -0
- package/dist/models/CreateEdgeContainerAppImageSecretRequest.js.map +1 -0
- package/dist/models/CreateEdgeContainerAppImageSecretResponse.d.ts +19 -0
- package/dist/models/CreateEdgeContainerAppImageSecretResponse.js +69 -0
- package/dist/models/CreateEdgeContainerAppImageSecretResponse.js.map +1 -0
- package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.d.ts +18 -0
- package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.js +58 -0
- package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.js.map +1 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretRequest.d.ts +29 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretRequest.js +60 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretRequest.js.map +1 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretResponse.d.ts +19 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretResponse.js +69 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretResponse.js.map +1 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.d.ts +18 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.js +58 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.js.map +1 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityRequest.d.ts +21 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityRequest.js +58 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityRequest.js.map +1 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityResponse.d.ts +19 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityResponse.js +69 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityResponse.js.map +1 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.d.ts +46 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.js +86 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.js.map +1 -0
- 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/GetWafQuotaResponseBody.d.ts +15 -0
- package/dist/models/GetWafQuotaResponseBody.js +30 -1
- package/dist/models/GetWafQuotaResponseBody.js.map +1 -1
- package/dist/models/ListEdgeContainerAppImageSecretsRequest.d.ts +21 -0
- package/dist/models/ListEdgeContainerAppImageSecretsRequest.js +58 -0
- package/dist/models/ListEdgeContainerAppImageSecretsRequest.js.map +1 -0
- package/dist/models/ListEdgeContainerAppImageSecretsResponse.d.ts +19 -0
- package/dist/models/ListEdgeContainerAppImageSecretsResponse.js +69 -0
- package/dist/models/ListEdgeContainerAppImageSecretsResponse.js.map +1 -0
- package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.d.ts +46 -0
- package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.js +86 -0
- package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.js.map +1 -0
- package/dist/models/ListListsResponseBody.d.ts +1 -0
- package/dist/models/ListListsResponseBody.js +2 -0
- package/dist/models/ListListsResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +65 -34
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +186 -2
- package/src/models/CreateEdgeContainerAppImageSecretRequest.ts +64 -0
- package/src/models/CreateEdgeContainerAppImageSecretResponse.ts +40 -0
- package/src/models/CreateEdgeContainerAppImageSecretResponseBody.ts +31 -0
- package/src/models/DeleteEdgeContainerAppImageSecretRequest.ts +44 -0
- package/src/models/DeleteEdgeContainerAppImageSecretResponse.ts +40 -0
- package/src/models/DeleteEdgeContainerAppImageSecretResponseBody.ts +31 -0
- package/src/models/GetEdgeContainerAppResourceCapacityRequest.ts +34 -0
- package/src/models/GetEdgeContainerAppResourceCapacityResponse.ts +40 -0
- package/src/models/GetEdgeContainerAppResourceCapacityResponseBody.ts +78 -0
- 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/GetWafQuotaResponseBody.ts +35 -0
- package/src/models/ListEdgeContainerAppImageSecretsRequest.ts +34 -0
- package/src/models/ListEdgeContainerAppImageSecretsResponse.ts +40 -0
- package/src/models/ListEdgeContainerAppImageSecretsResponseBody.ts +78 -0
- package/src/models/ListListsResponseBody.ts +3 -0
- package/src/models/model.ts +15 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteEdgeContainerAppImageSecretRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* app-88068867578379****
|
|
12
|
+
*/
|
|
13
|
+
appId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* reg-123*****
|
|
20
|
+
*/
|
|
21
|
+
name?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
appId: 'AppId',
|
|
25
|
+
name: 'Name',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
appId: 'string',
|
|
32
|
+
name: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteEdgeContainerAppImageSecretResponseBody } from "./DeleteEdgeContainerAppImageSecretResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteEdgeContainerAppImageSecretResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteEdgeContainerAppImageSecretResponseBody;
|
|
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: DeleteEdgeContainerAppImageSecretResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteEdgeContainerAppImageSecretResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* EEEBE525-F576-1196-8DAF-2D70CA3F4D2F
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetEdgeContainerAppResourceCapacityRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* app-88068867578379****
|
|
12
|
+
*/
|
|
13
|
+
appId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
appId: 'AppId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
appId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetEdgeContainerAppResourceCapacityResponseBody } from "./GetEdgeContainerAppResourceCapacityResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetEdgeContainerAppResourceCapacityResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetEdgeContainerAppResourceCapacityResponseBody;
|
|
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: GetEdgeContainerAppResourceCapacityResponseBody,
|
|
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,78 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetEdgeContainerAppResourceCapacityResponseBodyRegions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* unicom
|
|
9
|
+
*/
|
|
10
|
+
isp?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* huadong
|
|
14
|
+
*/
|
|
15
|
+
region?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 16
|
|
19
|
+
*/
|
|
20
|
+
replicas?: number;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
isp: 'Isp',
|
|
24
|
+
region: 'Region',
|
|
25
|
+
replicas: 'Replicas',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
isp: 'string',
|
|
32
|
+
region: 'string',
|
|
33
|
+
replicas: 'number',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class GetEdgeContainerAppResourceCapacityResponseBody extends $dara.Model {
|
|
47
|
+
regions?: GetEdgeContainerAppResourceCapacityResponseBodyRegions[];
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* 50423A7F-A83D-1E24-B80E-86DD25790759
|
|
51
|
+
*/
|
|
52
|
+
requestId?: string;
|
|
53
|
+
static names(): { [key: string]: string } {
|
|
54
|
+
return {
|
|
55
|
+
regions: 'Regions',
|
|
56
|
+
requestId: 'RequestId',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static types(): { [key: string]: any } {
|
|
61
|
+
return {
|
|
62
|
+
regions: { 'type': 'array', 'itemType': GetEdgeContainerAppResourceCapacityResponseBodyRegions },
|
|
63
|
+
requestId: 'string',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
if(Array.isArray(this.regions)) {
|
|
69
|
+
$dara.Model.validateArray(this.regions);
|
|
70
|
+
}
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -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
|
*
|