@alicloud/esa20240910 2.32.0 → 2.33.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.
Files changed (92) hide show
  1. package/dist/client.d.ts +40 -10
  2. package/dist/client.js +103 -10
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateRoutineCodeDeploymentRequest.d.ts +10 -1
  5. package/dist/models/CreateRoutineCodeDeploymentRequest.js.map +1 -1
  6. package/dist/models/CreateRoutineCodeDeploymentResponseBody.d.ts +20 -0
  7. package/dist/models/CreateRoutineCodeDeploymentResponseBody.js.map +1 -1
  8. package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.d.ts +4 -1
  9. package/dist/models/CreateRoutineCodeDeploymentShrinkRequest.js.map +1 -1
  10. package/dist/models/CreateTransportLayerApplicationRequest.d.ts +73 -1
  11. package/dist/models/CreateTransportLayerApplicationRequest.js +2 -0
  12. package/dist/models/CreateTransportLayerApplicationRequest.js.map +1 -1
  13. package/dist/models/CreateTransportLayerApplicationResponseBody.d.ts +6 -0
  14. package/dist/models/CreateTransportLayerApplicationResponseBody.js.map +1 -1
  15. package/dist/models/CreateTransportLayerApplicationShrinkRequest.d.ts +33 -0
  16. package/dist/models/CreateTransportLayerApplicationShrinkRequest.js +2 -0
  17. package/dist/models/CreateTransportLayerApplicationShrinkRequest.js.map +1 -1
  18. package/dist/models/DeleteTransportLayerApplicationRequest.d.ts +4 -0
  19. package/dist/models/DeleteTransportLayerApplicationRequest.js.map +1 -1
  20. package/dist/models/DeleteTransportLayerApplicationResponseBody.d.ts +3 -0
  21. package/dist/models/DeleteTransportLayerApplicationResponseBody.js.map +1 -1
  22. package/dist/models/GetRoutineCodeVersionRequest.d.ts +26 -0
  23. package/dist/models/GetRoutineCodeVersionRequest.js +60 -0
  24. package/dist/models/GetRoutineCodeVersionRequest.js.map +1 -0
  25. package/dist/models/GetRoutineCodeVersionResponse.d.ts +19 -0
  26. package/dist/models/GetRoutineCodeVersionResponse.js +69 -0
  27. package/dist/models/GetRoutineCodeVersionResponse.js.map +1 -0
  28. package/dist/models/GetRoutineCodeVersionResponseBody.d.ts +21 -0
  29. package/dist/models/GetRoutineCodeVersionResponseBody.js +64 -0
  30. package/dist/models/GetRoutineCodeVersionResponseBody.js.map +1 -0
  31. package/dist/models/GetRoutineResponseBody.d.ts +0 -21
  32. package/dist/models/GetRoutineResponseBody.js +0 -9
  33. package/dist/models/GetRoutineResponseBody.js.map +1 -1
  34. package/dist/models/GetTransportLayerApplicationRequest.d.ts +4 -0
  35. package/dist/models/GetTransportLayerApplicationRequest.js.map +1 -1
  36. package/dist/models/GetTransportLayerApplicationResponseBody.d.ts +117 -0
  37. package/dist/models/GetTransportLayerApplicationResponseBody.js +29 -1
  38. package/dist/models/GetTransportLayerApplicationResponseBody.js.map +1 -1
  39. package/dist/models/ListTransportLayerApplicationsRequest.d.ts +19 -0
  40. package/dist/models/ListTransportLayerApplicationsRequest.js.map +1 -1
  41. package/dist/models/ListTransportLayerApplicationsResponseBody.d.ts +138 -0
  42. package/dist/models/ListTransportLayerApplicationsResponseBody.js +29 -1
  43. package/dist/models/ListTransportLayerApplicationsResponseBody.js.map +1 -1
  44. package/dist/models/PurchaseRatePlanRequest.d.ts +1 -0
  45. package/dist/models/PurchaseRatePlanRequest.js +2 -0
  46. package/dist/models/PurchaseRatePlanRequest.js.map +1 -1
  47. package/dist/models/UpdateRoutineConfigDescriptionRequest.d.ts +26 -0
  48. package/dist/models/UpdateRoutineConfigDescriptionRequest.js +60 -0
  49. package/dist/models/UpdateRoutineConfigDescriptionRequest.js.map +1 -0
  50. package/dist/models/UpdateRoutineConfigDescriptionResponse.d.ts +19 -0
  51. package/dist/models/UpdateRoutineConfigDescriptionResponse.js +69 -0
  52. package/dist/models/UpdateRoutineConfigDescriptionResponse.js.map +1 -0
  53. package/dist/models/UpdateRoutineConfigDescriptionResponseBody.d.ts +26 -0
  54. package/dist/models/UpdateRoutineConfigDescriptionResponseBody.js +60 -0
  55. package/dist/models/UpdateRoutineConfigDescriptionResponseBody.js.map +1 -0
  56. package/dist/models/UpdateTransportLayerApplicationRequest.d.ts +77 -1
  57. package/dist/models/UpdateTransportLayerApplicationRequest.js +2 -0
  58. package/dist/models/UpdateTransportLayerApplicationRequest.js.map +1 -1
  59. package/dist/models/UpdateTransportLayerApplicationResponseBody.d.ts +3 -0
  60. package/dist/models/UpdateTransportLayerApplicationResponseBody.js.map +1 -1
  61. package/dist/models/UpdateTransportLayerApplicationShrinkRequest.d.ts +36 -0
  62. package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js +2 -0
  63. package/dist/models/UpdateTransportLayerApplicationShrinkRequest.js.map +1 -1
  64. package/dist/models/model.d.ts +8 -0
  65. package/dist/models/model.js +47 -31
  66. package/dist/models/model.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/client.ts +114 -10
  69. package/src/models/CreateRoutineCodeDeploymentRequest.ts +10 -1
  70. package/src/models/CreateRoutineCodeDeploymentResponseBody.ts +20 -0
  71. package/src/models/CreateRoutineCodeDeploymentShrinkRequest.ts +4 -1
  72. package/src/models/CreateTransportLayerApplicationRequest.ts +75 -1
  73. package/src/models/CreateTransportLayerApplicationResponseBody.ts +6 -0
  74. package/src/models/CreateTransportLayerApplicationShrinkRequest.ts +35 -0
  75. package/src/models/DeleteTransportLayerApplicationRequest.ts +4 -0
  76. package/src/models/DeleteTransportLayerApplicationResponseBody.ts +3 -0
  77. package/src/models/GetRoutineCodeVersionRequest.ts +41 -0
  78. package/src/models/GetRoutineCodeVersionResponse.ts +40 -0
  79. package/src/models/GetRoutineCodeVersionResponseBody.ts +40 -0
  80. package/src/models/GetRoutineResponseBody.ts +0 -30
  81. package/src/models/GetTransportLayerApplicationRequest.ts +4 -0
  82. package/src/models/GetTransportLayerApplicationResponseBody.ts +136 -0
  83. package/src/models/ListTransportLayerApplicationsRequest.ts +19 -0
  84. package/src/models/ListTransportLayerApplicationsResponseBody.ts +157 -0
  85. package/src/models/PurchaseRatePlanRequest.ts +3 -0
  86. package/src/models/UpdateRoutineConfigDescriptionRequest.ts +41 -0
  87. package/src/models/UpdateRoutineConfigDescriptionResponse.ts +40 -0
  88. package/src/models/UpdateRoutineConfigDescriptionResponseBody.ts +41 -0
  89. package/src/models/UpdateTransportLayerApplicationRequest.ts +79 -1
  90. package/src/models/UpdateTransportLayerApplicationResponseBody.ts +3 -0
  91. package/src/models/UpdateTransportLayerApplicationShrinkRequest.ts +38 -0
  92. package/src/models/model.ts +8 -0
@@ -4,37 +4,83 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Client IP pass-through protocol, supporting:
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.
13
+ *
7
14
  * @example
8
15
  * off
9
16
  */
10
17
  clientIPPassThroughMode?: string;
18
+ /**
19
+ * @remarks
20
+ * Comment information of the rule.
21
+ *
22
+ * @example
23
+ * 测试
24
+ */
11
25
  comment?: string;
12
26
  /**
27
+ * @remarks
28
+ * Edge port. Supports:
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.
33
+ *
13
34
  * @example
14
35
  * 80
15
36
  */
16
37
  edgePort?: string;
17
38
  /**
39
+ * @remarks
40
+ * Forwarding rule protocol, with values:
41
+ *
42
+ * - TCP: TCP protocol.
43
+ * - UDP: UDP protocol.
44
+ *
18
45
  * @example
19
46
  * TCP
20
47
  */
21
48
  protocol?: string;
22
49
  /**
50
+ * @remarks
51
+ * Rule ID.
52
+ *
23
53
  * @example
24
54
  * 1234323***
25
55
  */
26
56
  ruleId?: number;
27
57
  /**
58
+ * @remarks
59
+ * Specific value of the origin, which needs to match the type of the origin.
60
+ *
28
61
  * @example
29
62
  * 1.1.1.1
30
63
  */
31
64
  source?: string;
32
65
  /**
66
+ * @remarks
67
+ * Origin port. Supports:
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.
71
+ *
33
72
  * @example
34
73
  * 80
35
74
  */
36
75
  sourcePort?: string;
37
76
  /**
77
+ * @remarks
78
+ * Origin type, supporting:
79
+ * - **ip**: IP.
80
+ * - **domain**: Domain name.
81
+ * - **OP**: Origin pool.
82
+ * - **LB**: Load balancer.
83
+ *
38
84
  * @example
39
85
  * domain
40
86
  */
@@ -74,21 +120,82 @@ export class GetTransportLayerApplicationResponseBodyRules extends $dara.Model {
74
120
  }
75
121
  }
76
122
 
123
+ export class GetTransportLayerApplicationResponseBodyStaticIpV4List extends $dara.Model {
124
+ address?: string;
125
+ status?: string;
126
+ static names(): { [key: string]: string } {
127
+ return {
128
+ address: 'Address',
129
+ status: 'Status',
130
+ };
131
+ }
132
+
133
+ static types(): { [key: string]: any } {
134
+ return {
135
+ address: 'string',
136
+ status: 'string',
137
+ };
138
+ }
139
+
140
+ validate() {
141
+ super.validate();
142
+ }
143
+
144
+ constructor(map?: { [key: string]: any }) {
145
+ super(map);
146
+ }
147
+ }
148
+
77
149
  export class GetTransportLayerApplicationResponseBody extends $dara.Model {
78
150
  /**
151
+ * @remarks
152
+ * Transport layer application ID.
153
+ *
79
154
  * @example
80
155
  * 17099311410****
81
156
  */
82
157
  applicationId?: number;
83
158
  /**
159
+ * @remarks
160
+ * The CNAME domain corresponding to the transport layer acceleration application. This field is not empty only when the site is accessed via CNAME.
161
+ *
84
162
  * @example
85
163
  * example.com.ialicdn.com
86
164
  */
87
165
  cname?: string;
166
+ /**
167
+ * @remarks
168
+ * Whether to enable China mainland network access optimization, default is off. Value range:
169
+ * - on: Enabled.
170
+ * - off: Disabled.
171
+ *
172
+ * @example
173
+ * on
174
+ */
88
175
  crossBorderOptimization?: string;
176
+ /**
177
+ * @remarks
178
+ * Switch for IP access rules. When turned on, the IP access rules in WAF take effect on the transport layer application.
179
+ *
180
+ * - on: Turned on.
181
+ * - off: Turned off.
182
+ *
183
+ * @example
184
+ * on
185
+ */
89
186
  ipAccessRule?: string;
187
+ /**
188
+ * @remarks
189
+ * IPv6 switch.
190
+ *
191
+ * @example
192
+ * on
193
+ */
90
194
  ipv6?: string;
91
195
  /**
196
+ * @remarks
197
+ * The domain name of the transport layer application.
198
+ *
92
199
  * @example
93
200
  * test.example.com
94
201
  */
@@ -101,17 +208,39 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
101
208
  * EB635996-1FD6-5DFD-BA57-27A849599940
102
209
  */
103
210
  requestId?: string;
211
+ /**
212
+ * @remarks
213
+ * List of forwarding rules.
214
+ */
104
215
  rules?: GetTransportLayerApplicationResponseBodyRules[];
105
216
  /**
217
+ * @remarks
218
+ * Number of forwarding rules contained in the transport layer acceleration application.
219
+ *
106
220
  * @example
107
221
  * 1
108
222
  */
109
223
  rulesCount?: number;
110
224
  /**
225
+ * @remarks
226
+ * Site ID.
227
+ *
111
228
  * @example
112
229
  * 123456****
113
230
  */
114
231
  siteId?: number;
232
+ staticIp?: string;
233
+ staticIpV4List?: GetTransportLayerApplicationResponseBodyStaticIpV4List[];
234
+ /**
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
+ * @example
242
+ * active
243
+ */
115
244
  status?: string;
116
245
  static names(): { [key: string]: string } {
117
246
  return {
@@ -125,6 +254,8 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
125
254
  rules: 'Rules',
126
255
  rulesCount: 'RulesCount',
127
256
  siteId: 'SiteId',
257
+ staticIp: 'StaticIp',
258
+ staticIpV4List: 'StaticIpV4List',
128
259
  status: 'Status',
129
260
  };
130
261
  }
@@ -141,6 +272,8 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
141
272
  rules: { 'type': 'array', 'itemType': GetTransportLayerApplicationResponseBodyRules },
142
273
  rulesCount: 'number',
143
274
  siteId: 'number',
275
+ staticIp: 'string',
276
+ staticIpV4List: { 'type': 'array', 'itemType': GetTransportLayerApplicationResponseBodyStaticIpV4List },
144
277
  status: 'string',
145
278
  };
146
279
  }
@@ -149,6 +282,9 @@ export class GetTransportLayerApplicationResponseBody extends $dara.Model {
149
282
  if(Array.isArray(this.rules)) {
150
283
  $dara.Model.validateArray(this.rules);
151
284
  }
285
+ if(Array.isArray(this.staticIpV4List)) {
286
+ $dara.Model.validateArray(this.staticIpV4List);
287
+ }
152
288
  super.validate();
153
289
  }
154
290
 
@@ -4,27 +4,46 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListTransportLayerApplicationsRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Query type for the transport layer application host record, supporting the following 4 types, with exact query as the default.
9
+ *
10
+ * - fuzzy: Fuzzy query.
11
+ * - exact: Exact query.
12
+ * - prefix: Prefix match query.
13
+ * - suffix: Suffix match query.
14
+ *
7
15
  * @example
8
16
  * fuzzy
9
17
  */
10
18
  matchType?: string;
11
19
  /**
20
+ * @remarks
21
+ * Page number set for pagination. Starting value: 1. Default value: 1.
22
+ *
12
23
  * @example
13
24
  * 1
14
25
  */
15
26
  pageNumber?: number;
16
27
  /**
28
+ * @remarks
29
+ * Page size. The maximum value is 500.
30
+ *
17
31
  * @example
18
32
  * 500
19
33
  */
20
34
  pageSize?: number;
21
35
  /**
36
+ * @remarks
37
+ * Host record of the transport layer application.
38
+ *
22
39
  * @example
23
40
  * www.example.com
24
41
  */
25
42
  recordName?: string;
26
43
  /**
27
44
  * @remarks
45
+ * Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) API.
46
+ *
28
47
  * This parameter is required.
29
48
  *
30
49
  * @example
@@ -4,37 +4,83 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListTransportLayerApplicationsResponseBodyApplicationsRules extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Client IP pass-through protocol, supports:
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.
13
+ *
7
14
  * @example
8
15
  * off
9
16
  */
10
17
  clientIPPassThroughMode?: string;
18
+ /**
19
+ * @remarks
20
+ * Comment information for the rule.
21
+ *
22
+ * @example
23
+ * 测试
24
+ */
11
25
  comment?: string;
12
26
  /**
27
+ * @remarks
28
+ * Edge port. Supports:
29
+ *
30
+ * - A single port, e.g., 80.
31
+ * - Port range, e.g., 81-85, representing ports 81, 82, 83, 84, 85.
32
+ * - Combination of ports and port ranges, separated by commas, e.g., 80,81-85,90, representing ports 80, 81, 82, 83, 84, 85, 90.
33
+ *
13
34
  * @example
14
35
  * 80
15
36
  */
16
37
  edgePort?: string;
17
38
  /**
39
+ * @remarks
40
+ * Forwarding rule protocol, with values:
41
+ *
42
+ * - TCP: TCP protocol.
43
+ * - UDP: UDP protocol.
44
+ *
18
45
  * @example
19
46
  * TCP
20
47
  */
21
48
  protocol?: string;
22
49
  /**
50
+ * @remarks
51
+ * Layer 4 acceleration rule ID.
52
+ *
23
53
  * @example
24
54
  * 20258028****
25
55
  */
26
56
  ruleId?: number;
27
57
  /**
58
+ * @remarks
59
+ * Specific value of the source, which needs to match the source type.
60
+ *
28
61
  * @example
29
62
  * 1.1.1.1
30
63
  */
31
64
  source?: string;
32
65
  /**
66
+ * @remarks
67
+ * Source port. Supports:
68
+ *
69
+ * - A single port, when the source port is a single port, any valid combination of edge ports is supported.
70
+ * - Port range, only when the edge port is a port range, the source port can be set to a port range, and the range size must be consistent with the edge port. For example, if the edge port is 90-93, the source port cannot be set to 81-85 because the source port range is 5 and the edge port range is 3, which are inconsistent.
71
+ *
33
72
  * @example
34
73
  * 80
35
74
  */
36
75
  sourcePort?: string;
37
76
  /**
77
+ * @remarks
78
+ * Source type, supports:
79
+ * - **ip**: IP.
80
+ * - **domain**: Domain name.
81
+ * - **OP**: Origin pool.
82
+ * - **LB**: Load balancer.
83
+ *
38
84
  * @example
39
85
  * ip
40
86
  */
@@ -74,36 +120,124 @@ export class ListTransportLayerApplicationsResponseBodyApplicationsRules extends
74
120
  }
75
121
  }
76
122
 
123
+ export class ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List extends $dara.Model {
124
+ address?: string;
125
+ status?: string;
126
+ static names(): { [key: string]: string } {
127
+ return {
128
+ address: 'Address',
129
+ status: 'Status',
130
+ };
131
+ }
132
+
133
+ static types(): { [key: string]: any } {
134
+ return {
135
+ address: 'string',
136
+ status: 'string',
137
+ };
138
+ }
139
+
140
+ validate() {
141
+ super.validate();
142
+ }
143
+
144
+ constructor(map?: { [key: string]: any }) {
145
+ super(map);
146
+ }
147
+ }
148
+
77
149
  export class ListTransportLayerApplicationsResponseBodyApplications extends $dara.Model {
78
150
  /**
151
+ * @remarks
152
+ * Layer 4 application ID.
153
+ *
79
154
  * @example
80
155
  * 170997271816****
81
156
  */
82
157
  applicationId?: number;
83
158
  /**
159
+ * @remarks
160
+ * CNAME domain name corresponding to the Layer 4 acceleration application. This field is not empty only when the site is accessed via CNAME.
161
+ *
84
162
  * @example
85
163
  * example.com.ialicdn.com
86
164
  */
87
165
  cname?: string;
166
+ /**
167
+ * @remarks
168
+ * Whether to enable China mainland network access optimization. It is disabled by default. The value range is:
169
+ *
170
+ * - on: Enabled.
171
+ * - off: Disabled.
172
+ *
173
+ * @example
174
+ * on
175
+ */
88
176
  crossBorderOptimization?: string;
177
+ /**
178
+ * @remarks
179
+ * IP access rule switch. When enabled, the IP access rules in WAF take effect on the Layer 4 application.
180
+ *
181
+ * - on: Enabled.
182
+ * - off: Disabled.
183
+ *
184
+ * @example
185
+ * on
186
+ */
89
187
  ipAccessRule?: string;
188
+ /**
189
+ * @remarks
190
+ * IPv6 switch.
191
+ *
192
+ * @example
193
+ * on
194
+ */
90
195
  ipv6?: string;
91
196
  /**
197
+ * @remarks
198
+ * Domain name of the Layer 4 application.
199
+ *
92
200
  * @example
93
201
  * test.example.com
94
202
  */
95
203
  recordName?: string;
204
+ /**
205
+ * @remarks
206
+ * List of forwarding rules.
207
+ */
96
208
  rules?: ListTransportLayerApplicationsResponseBodyApplicationsRules[];
97
209
  /**
210
+ * @remarks
211
+ * Number of forwarding rules contained in the Layer 4 acceleration application.
212
+ *
98
213
  * @example
99
214
  * 1
100
215
  */
101
216
  rulesCount?: number;
102
217
  /**
218
+ * @remarks
219
+ * Site ID.
220
+ *
103
221
  * @example
104
222
  * 36556540048****
105
223
  */
106
224
  siteId?: number;
225
+ staticIp?: string;
226
+ /**
227
+ * @remarks
228
+ * This parameter is required.
229
+ */
230
+ staticIpV4List?: ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List[];
231
+ /**
232
+ * @remarks
233
+ * Status of the Layer 4 application
234
+ *
235
+ * - **deploying**: Deploying. In this state, modification and deletion are not allowed.
236
+ * - **active**: Active.
237
+ *
238
+ * @example
239
+ * active
240
+ */
107
241
  status?: string;
108
242
  static names(): { [key: string]: string } {
109
243
  return {
@@ -116,6 +250,8 @@ export class ListTransportLayerApplicationsResponseBodyApplications extends $dar
116
250
  rules: 'Rules',
117
251
  rulesCount: 'RulesCount',
118
252
  siteId: 'SiteId',
253
+ staticIp: 'StaticIp',
254
+ staticIpV4List: 'StaticIpV4List',
119
255
  status: 'Status',
120
256
  };
121
257
  }
@@ -131,6 +267,8 @@ export class ListTransportLayerApplicationsResponseBodyApplications extends $dar
131
267
  rules: { 'type': 'array', 'itemType': ListTransportLayerApplicationsResponseBodyApplicationsRules },
132
268
  rulesCount: 'number',
133
269
  siteId: 'number',
270
+ staticIp: 'string',
271
+ staticIpV4List: { 'type': 'array', 'itemType': ListTransportLayerApplicationsResponseBodyApplicationsStaticIpV4List },
134
272
  status: 'string',
135
273
  };
136
274
  }
@@ -139,6 +277,9 @@ export class ListTransportLayerApplicationsResponseBodyApplications extends $dar
139
277
  if(Array.isArray(this.rules)) {
140
278
  $dara.Model.validateArray(this.rules);
141
279
  }
280
+ if(Array.isArray(this.staticIpV4List)) {
281
+ $dara.Model.validateArray(this.staticIpV4List);
282
+ }
142
283
  super.validate();
143
284
  }
144
285
 
@@ -148,23 +289,39 @@ export class ListTransportLayerApplicationsResponseBodyApplications extends $dar
148
289
  }
149
290
 
150
291
  export class ListTransportLayerApplicationsResponseBody extends $dara.Model {
292
+ /**
293
+ * @remarks
294
+ * List of transport layer applications.
295
+ */
151
296
  applications?: ListTransportLayerApplicationsResponseBodyApplications[];
152
297
  /**
298
+ * @remarks
299
+ * Current page number.
300
+ *
153
301
  * @example
154
302
  * 1
155
303
  */
156
304
  pageNumber?: number;
157
305
  /**
306
+ * @remarks
307
+ * Page size.
308
+ *
158
309
  * @example
159
310
  * 1
160
311
  */
161
312
  pageSize?: number;
162
313
  /**
314
+ * @remarks
315
+ * Request ID.
316
+ *
163
317
  * @example
164
318
  * CB1A380B-09F0-41BB-A198-72F8FD6DA2FE
165
319
  */
166
320
  requestId?: string;
167
321
  /**
322
+ * @remarks
323
+ * Total number of transport layer applications.
324
+ *
168
325
  * @example
169
326
  * 1
170
327
  */
@@ -22,6 +22,7 @@ export class PurchaseRatePlanRequest extends $dara.Model {
22
22
  * true
23
23
  */
24
24
  autoRenew?: boolean;
25
+ channel?: string;
25
26
  /**
26
27
  * @remarks
27
28
  * The billing method. Valid values:
@@ -93,6 +94,7 @@ export class PurchaseRatePlanRequest extends $dara.Model {
93
94
  amount: 'Amount',
94
95
  autoPay: 'AutoPay',
95
96
  autoRenew: 'AutoRenew',
97
+ channel: 'Channel',
96
98
  chargeType: 'ChargeType',
97
99
  coverage: 'Coverage',
98
100
  period: 'Period',
@@ -108,6 +110,7 @@ export class PurchaseRatePlanRequest extends $dara.Model {
108
110
  amount: 'number',
109
111
  autoPay: 'boolean',
110
112
  autoRenew: 'boolean',
113
+ channel: 'string',
111
114
  chargeType: 'string',
112
115
  coverage: 'string',
113
116
  period: 'number',
@@ -0,0 +1,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateRoutineConfigDescriptionRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * description of this routine
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * test-routine1
17
+ */
18
+ name?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ description: 'Description',
22
+ name: 'Name',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ description: 'string',
29
+ name: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateRoutineConfigDescriptionResponseBody } from "./UpdateRoutineConfigDescriptionResponseBody";
4
+
5
+
6
+ export class UpdateRoutineConfigDescriptionResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateRoutineConfigDescriptionResponseBody;
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: UpdateRoutineConfigDescriptionResponseBody,
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,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateRoutineConfigDescriptionResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * EDBD3EB3-97DA-5465-AEF5-8DCA5DC5E395
12
+ */
13
+ requestId?: string;
14
+ /**
15
+ * @example
16
+ * OK
17
+ */
18
+ status?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ requestId: 'RequestId',
22
+ status: 'Status',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ requestId: 'string',
29
+ status: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+