@alicloud/esa20240910 2.31.0 → 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +75 -0
- package/dist/client.js +235 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateRecordRequest.d.ts +2 -0
- package/dist/models/CreateRecordRequest.js.map +1 -1
- package/dist/models/CreateRecordShrinkRequest.d.ts +2 -0
- package/dist/models/CreateRecordShrinkRequest.js.map +1 -1
- package/dist/models/CreateTransportLayerApplicationRequest.d.ts +98 -0
- package/dist/models/CreateTransportLayerApplicationRequest.js +102 -0
- package/dist/models/CreateTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/CreateTransportLayerApplicationResponse.js +69 -0
- package/dist/models/CreateTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.d.ts +23 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js +60 -0
- package/dist/models/CreateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.d.ts +37 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js +68 -0
- package/dist/models/CreateTransportLayerApplicationShrinkRequest.js.map +1 -0
- package/dist/models/DeleteRecordRequest.d.ts +1 -0
- package/dist/models/DeleteRecordRequest.js +2 -0
- package/dist/models/DeleteRecordRequest.js.map +1 -1
- package/dist/models/DeleteTransportLayerApplicationRequest.d.ts +29 -0
- package/dist/models/DeleteTransportLayerApplicationRequest.js +60 -0
- package/dist/models/DeleteTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/DeleteTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/DeleteTransportLayerApplicationResponse.js +69 -0
- package/dist/models/DeleteTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.d.ts +18 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/DeleteTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/GetTransportLayerApplicationRequest.d.ts +29 -0
- package/dist/models/GetTransportLayerApplicationRequest.js +60 -0
- package/dist/models/GetTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/GetTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/GetTransportLayerApplicationResponse.js +69 -0
- package/dist/models/GetTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.d.ts +99 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js +114 -0
- package/dist/models/GetTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsRequest.d.ts +41 -0
- package/dist/models/ListTransportLayerApplicationsRequest.js +66 -0
- package/dist/models/ListTransportLayerApplicationsRequest.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsResponse.d.ts +19 -0
- package/dist/models/ListTransportLayerApplicationsResponse.js +69 -0
- package/dist/models/ListTransportLayerApplicationsResponse.js.map +1 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.d.ts +124 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js +142 -0
- package/dist/models/ListTransportLayerApplicationsResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.d.ts +80 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.js +102 -0
- package/dist/models/UpdateTransportLayerApplicationRequest.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationResponse.d.ts +19 -0
- package/dist/models/UpdateTransportLayerApplicationResponse.js +69 -0
- package/dist/models/UpdateTransportLayerApplicationResponse.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.d.ts +18 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js +58 -0
- package/dist/models/UpdateTransportLayerApplicationResponseBody.js.map +1 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.d.ts +33 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js +68 -0
- package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +22 -0
- package/dist/models/model.js +72 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +262 -0
- package/src/models/CreateRecordRequest.ts +2 -0
- package/src/models/CreateRecordShrinkRequest.ts +2 -0
- package/src/models/CreateTransportLayerApplicationRequest.ts +146 -0
- package/src/models/CreateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/CreateTransportLayerApplicationResponseBody.ts +38 -0
- package/src/models/CreateTransportLayerApplicationShrinkRequest.ts +60 -0
- package/src/models/DeleteRecordRequest.ts +3 -0
- package/src/models/DeleteTransportLayerApplicationRequest.ts +44 -0
- package/src/models/DeleteTransportLayerApplicationResponse.ts +40 -0
- package/src/models/DeleteTransportLayerApplicationResponseBody.ts +31 -0
- package/src/models/GetTransportLayerApplicationRequest.ts +44 -0
- package/src/models/GetTransportLayerApplicationResponse.ts +40 -0
- package/src/models/GetTransportLayerApplicationResponseBody.ts +159 -0
- package/src/models/ListTransportLayerApplicationsRequest.ts +62 -0
- package/src/models/ListTransportLayerApplicationsResponse.ts +40 -0
- package/src/models/ListTransportLayerApplicationsResponseBody.ts +203 -0
- package/src/models/UpdateTransportLayerApplicationRequest.ts +128 -0
- package/src/models/UpdateTransportLayerApplicationResponse.ts +40 -0
- package/src/models/UpdateTransportLayerApplicationResponseBody.ts +31 -0
- package/src/models/UpdateTransportLayerApplicationShrinkRequest.ts +56 -0
- package/src/models/model.ts +22 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateTransportLayerApplicationRequestRules extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* TOA
|
|
12
|
+
*/
|
|
13
|
+
clientIPPassThroughMode?: string;
|
|
14
|
+
comment?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* This parameter is required.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 80
|
|
21
|
+
*/
|
|
22
|
+
edgePort?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* This parameter is required.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* TCP
|
|
29
|
+
*/
|
|
30
|
+
protocol?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* This parameter is required.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 1.1.1.1
|
|
37
|
+
*/
|
|
38
|
+
source?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* This parameter is required.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* 80
|
|
45
|
+
*/
|
|
46
|
+
sourcePort?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* This parameter is required.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ip
|
|
53
|
+
*/
|
|
54
|
+
sourceType?: string;
|
|
55
|
+
static names(): { [key: string]: string } {
|
|
56
|
+
return {
|
|
57
|
+
clientIPPassThroughMode: 'ClientIPPassThroughMode',
|
|
58
|
+
comment: 'Comment',
|
|
59
|
+
edgePort: 'EdgePort',
|
|
60
|
+
protocol: 'Protocol',
|
|
61
|
+
source: 'Source',
|
|
62
|
+
sourcePort: 'SourcePort',
|
|
63
|
+
sourceType: 'SourceType',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
clientIPPassThroughMode: 'string',
|
|
70
|
+
comment: 'string',
|
|
71
|
+
edgePort: 'string',
|
|
72
|
+
protocol: 'string',
|
|
73
|
+
source: 'string',
|
|
74
|
+
sourcePort: 'string',
|
|
75
|
+
sourceType: 'string',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
validate() {
|
|
80
|
+
super.validate();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
constructor(map?: { [key: string]: any }) {
|
|
84
|
+
super(map);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export class CreateTransportLayerApplicationRequest extends $dara.Model {
|
|
89
|
+
crossBorderOptimization?: string;
|
|
90
|
+
ipAccessRule?: string;
|
|
91
|
+
ipv6?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* This parameter is required.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* aaa.example.com
|
|
98
|
+
*/
|
|
99
|
+
recordName?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* This parameter is required.
|
|
103
|
+
*/
|
|
104
|
+
rules?: CreateTransportLayerApplicationRequestRules[];
|
|
105
|
+
/**
|
|
106
|
+
* @remarks
|
|
107
|
+
* This parameter is required.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* 123456****
|
|
111
|
+
*/
|
|
112
|
+
siteId?: number;
|
|
113
|
+
static names(): { [key: string]: string } {
|
|
114
|
+
return {
|
|
115
|
+
crossBorderOptimization: 'CrossBorderOptimization',
|
|
116
|
+
ipAccessRule: 'IpAccessRule',
|
|
117
|
+
ipv6: 'Ipv6',
|
|
118
|
+
recordName: 'RecordName',
|
|
119
|
+
rules: 'Rules',
|
|
120
|
+
siteId: 'SiteId',
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
static types(): { [key: string]: any } {
|
|
125
|
+
return {
|
|
126
|
+
crossBorderOptimization: 'string',
|
|
127
|
+
ipAccessRule: 'string',
|
|
128
|
+
ipv6: 'string',
|
|
129
|
+
recordName: 'string',
|
|
130
|
+
rules: { 'type': 'array', 'itemType': CreateTransportLayerApplicationRequestRules },
|
|
131
|
+
siteId: 'number',
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
validate() {
|
|
136
|
+
if(Array.isArray(this.rules)) {
|
|
137
|
+
$dara.Model.validateArray(this.rules);
|
|
138
|
+
}
|
|
139
|
+
super.validate();
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
constructor(map?: { [key: string]: any }) {
|
|
143
|
+
super(map);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateTransportLayerApplicationResponseBody } from "./CreateTransportLayerApplicationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateTransportLayerApplicationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateTransportLayerApplicationResponseBody;
|
|
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: CreateTransportLayerApplicationResponseBody,
|
|
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,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateTransportLayerApplicationResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 165503967****
|
|
9
|
+
*/
|
|
10
|
+
applicationId?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 9e5448c7-edaf-49aa-9887-0fcd0832306c
|
|
14
|
+
*/
|
|
15
|
+
requestId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
applicationId: 'ApplicationId',
|
|
19
|
+
requestId: 'RequestId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
applicationId: 'number',
|
|
26
|
+
requestId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateTransportLayerApplicationShrinkRequest extends $dara.Model {
|
|
6
|
+
crossBorderOptimization?: string;
|
|
7
|
+
ipAccessRule?: string;
|
|
8
|
+
ipv6?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @remarks
|
|
11
|
+
* This parameter is required.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* aaa.example.com
|
|
15
|
+
*/
|
|
16
|
+
recordName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* This parameter is required.
|
|
20
|
+
*/
|
|
21
|
+
rulesShrink?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 123456****
|
|
28
|
+
*/
|
|
29
|
+
siteId?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
crossBorderOptimization: 'CrossBorderOptimization',
|
|
33
|
+
ipAccessRule: 'IpAccessRule',
|
|
34
|
+
ipv6: 'Ipv6',
|
|
35
|
+
recordName: 'RecordName',
|
|
36
|
+
rulesShrink: 'Rules',
|
|
37
|
+
siteId: 'SiteId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
crossBorderOptimization: 'string',
|
|
44
|
+
ipAccessRule: 'string',
|
|
45
|
+
ipv6: 'string',
|
|
46
|
+
recordName: 'string',
|
|
47
|
+
rulesShrink: 'string',
|
|
48
|
+
siteId: 'number',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
constructor(map?: { [key: string]: any }) {
|
|
57
|
+
super(map);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -13,15 +13,18 @@ export class DeleteRecordRequest extends $dara.Model {
|
|
|
13
13
|
* 1234567890123
|
|
14
14
|
*/
|
|
15
15
|
recordId?: number;
|
|
16
|
+
securityToken?: string;
|
|
16
17
|
static names(): { [key: string]: string } {
|
|
17
18
|
return {
|
|
18
19
|
recordId: 'RecordId',
|
|
20
|
+
securityToken: 'SecurityToken',
|
|
19
21
|
};
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
static types(): { [key: string]: any } {
|
|
23
25
|
return {
|
|
24
26
|
recordId: 'number',
|
|
27
|
+
securityToken: 'string',
|
|
25
28
|
};
|
|
26
29
|
}
|
|
27
30
|
|
|
@@ -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 DeleteTransportLayerApplicationRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 170996390868****
|
|
12
|
+
*/
|
|
13
|
+
applicationId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 123456****
|
|
20
|
+
*/
|
|
21
|
+
siteId?: number;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
applicationId: 'ApplicationId',
|
|
25
|
+
siteId: 'SiteId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
applicationId: 'number',
|
|
32
|
+
siteId: 'number',
|
|
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 { DeleteTransportLayerApplicationResponseBody } from "./DeleteTransportLayerApplicationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteTransportLayerApplicationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteTransportLayerApplicationResponseBody;
|
|
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: DeleteTransportLayerApplicationResponseBody,
|
|
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 DeleteTransportLayerApplicationResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 90510C29-1E40-5A11-93F1-B9F5EDF57EE1
|
|
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,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetTransportLayerApplicationRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 170997271816****
|
|
12
|
+
*/
|
|
13
|
+
applicationId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 123456****
|
|
20
|
+
*/
|
|
21
|
+
siteId?: number;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
applicationId: 'ApplicationId',
|
|
25
|
+
siteId: 'SiteId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
applicationId: 'number',
|
|
32
|
+
siteId: 'number',
|
|
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 { GetTransportLayerApplicationResponseBody } from "./GetTransportLayerApplicationResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetTransportLayerApplicationResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetTransportLayerApplicationResponseBody;
|
|
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: GetTransportLayerApplicationResponseBody,
|
|
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,159 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* off
|
|
9
|
+
*/
|
|
10
|
+
clientIPPassThroughMode?: string;
|
|
11
|
+
comment?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 80
|
|
15
|
+
*/
|
|
16
|
+
edgePort?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* TCP
|
|
20
|
+
*/
|
|
21
|
+
protocol?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 1234323***
|
|
25
|
+
*/
|
|
26
|
+
ruleId?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* 1.1.1.1
|
|
30
|
+
*/
|
|
31
|
+
source?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* 80
|
|
35
|
+
*/
|
|
36
|
+
sourcePort?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* domain
|
|
40
|
+
*/
|
|
41
|
+
sourceType?: string;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
clientIPPassThroughMode: 'ClientIPPassThroughMode',
|
|
45
|
+
comment: 'Comment',
|
|
46
|
+
edgePort: 'EdgePort',
|
|
47
|
+
protocol: 'Protocol',
|
|
48
|
+
ruleId: 'RuleId',
|
|
49
|
+
source: 'Source',
|
|
50
|
+
sourcePort: 'SourcePort',
|
|
51
|
+
sourceType: 'SourceType',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
static types(): { [key: string]: any } {
|
|
56
|
+
return {
|
|
57
|
+
clientIPPassThroughMode: 'string',
|
|
58
|
+
comment: 'string',
|
|
59
|
+
edgePort: 'string',
|
|
60
|
+
protocol: 'string',
|
|
61
|
+
ruleId: 'number',
|
|
62
|
+
source: 'string',
|
|
63
|
+
sourcePort: 'string',
|
|
64
|
+
sourceType: 'string',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
validate() {
|
|
69
|
+
super.validate();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
constructor(map?: { [key: string]: any }) {
|
|
73
|
+
super(map);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export class GetTransportLayerApplicationResponseBody extends $dara.Model {
|
|
78
|
+
/**
|
|
79
|
+
* @example
|
|
80
|
+
* 17099311410****
|
|
81
|
+
*/
|
|
82
|
+
applicationId?: number;
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* example.com.ialicdn.com
|
|
86
|
+
*/
|
|
87
|
+
cname?: string;
|
|
88
|
+
crossBorderOptimization?: string;
|
|
89
|
+
ipAccessRule?: string;
|
|
90
|
+
ipv6?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* test.example.com
|
|
94
|
+
*/
|
|
95
|
+
recordName?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* Id of the request
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* EB635996-1FD6-5DFD-BA57-27A849599940
|
|
102
|
+
*/
|
|
103
|
+
requestId?: string;
|
|
104
|
+
rules?: GetTransportLayerApplicationResponseBodyRules[];
|
|
105
|
+
/**
|
|
106
|
+
* @example
|
|
107
|
+
* 1
|
|
108
|
+
*/
|
|
109
|
+
rulesCount?: number;
|
|
110
|
+
/**
|
|
111
|
+
* @example
|
|
112
|
+
* 123456****
|
|
113
|
+
*/
|
|
114
|
+
siteId?: number;
|
|
115
|
+
status?: string;
|
|
116
|
+
static names(): { [key: string]: string } {
|
|
117
|
+
return {
|
|
118
|
+
applicationId: 'ApplicationId',
|
|
119
|
+
cname: 'Cname',
|
|
120
|
+
crossBorderOptimization: 'CrossBorderOptimization',
|
|
121
|
+
ipAccessRule: 'IpAccessRule',
|
|
122
|
+
ipv6: 'Ipv6',
|
|
123
|
+
recordName: 'RecordName',
|
|
124
|
+
requestId: 'RequestId',
|
|
125
|
+
rules: 'Rules',
|
|
126
|
+
rulesCount: 'RulesCount',
|
|
127
|
+
siteId: 'SiteId',
|
|
128
|
+
status: 'Status',
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
static types(): { [key: string]: any } {
|
|
133
|
+
return {
|
|
134
|
+
applicationId: 'number',
|
|
135
|
+
cname: 'string',
|
|
136
|
+
crossBorderOptimization: 'string',
|
|
137
|
+
ipAccessRule: 'string',
|
|
138
|
+
ipv6: 'string',
|
|
139
|
+
recordName: 'string',
|
|
140
|
+
requestId: 'string',
|
|
141
|
+
rules: { 'type': 'array', 'itemType': GetTransportLayerApplicationResponseBodyRules },
|
|
142
|
+
rulesCount: 'number',
|
|
143
|
+
siteId: 'number',
|
|
144
|
+
status: 'string',
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
validate() {
|
|
149
|
+
if(Array.isArray(this.rules)) {
|
|
150
|
+
$dara.Model.validateArray(this.rules);
|
|
151
|
+
}
|
|
152
|
+
super.validate();
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
constructor(map?: { [key: string]: any }) {
|
|
156
|
+
super(map);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|