@alicloud/polardb20170801 5.11.0 → 5.12.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 (161) hide show
  1. package/dist/client.d.ts +165 -0
  2. package/dist/client.js +555 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AttachApplicationPolarFsrequest.d.ts +39 -0
  5. package/dist/models/AttachApplicationPolarFsrequest.js +64 -0
  6. package/dist/models/AttachApplicationPolarFsrequest.js.map +1 -0
  7. package/dist/models/AttachApplicationPolarFsresponse.d.ts +19 -0
  8. package/dist/models/AttachApplicationPolarFsresponse.js +69 -0
  9. package/dist/models/AttachApplicationPolarFsresponse.js.map +1 -0
  10. package/dist/models/AttachApplicationPolarFsresponseBody.d.ts +31 -0
  11. package/dist/models/AttachApplicationPolarFsresponseBody.js +62 -0
  12. package/dist/models/AttachApplicationPolarFsresponseBody.js.map +1 -0
  13. package/dist/models/CreateApplicationEndpointAddressRequest.d.ts +37 -0
  14. package/dist/models/CreateApplicationEndpointAddressRequest.js +62 -0
  15. package/dist/models/CreateApplicationEndpointAddressRequest.js.map +1 -0
  16. package/dist/models/CreateApplicationEndpointAddressResponse.d.ts +19 -0
  17. package/dist/models/CreateApplicationEndpointAddressResponse.js +69 -0
  18. package/dist/models/CreateApplicationEndpointAddressResponse.js.map +1 -0
  19. package/dist/models/CreateApplicationEndpointAddressResponseBody.d.ts +28 -0
  20. package/dist/models/CreateApplicationEndpointAddressResponseBody.js +62 -0
  21. package/dist/models/CreateApplicationEndpointAddressResponseBody.js.map +1 -0
  22. package/dist/models/CreateApplicationRequest.d.ts +167 -0
  23. package/dist/models/CreateApplicationRequest.js +150 -0
  24. package/dist/models/CreateApplicationRequest.js.map +1 -0
  25. package/dist/models/CreateApplicationResponse.d.ts +19 -0
  26. package/dist/models/CreateApplicationResponse.js +69 -0
  27. package/dist/models/CreateApplicationResponse.js.map +1 -0
  28. package/dist/models/CreateApplicationResponseBody.d.ts +61 -0
  29. package/dist/models/CreateApplicationResponseBody.js +92 -0
  30. package/dist/models/CreateApplicationResponseBody.js.map +1 -0
  31. package/dist/models/CreateApplicationShrinkRequest.d.ts +91 -0
  32. package/dist/models/CreateApplicationShrinkRequest.js +88 -0
  33. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -0
  34. package/dist/models/CreateDbclusterRequest.d.ts +0 -2
  35. package/dist/models/CreateDbclusterRequest.js +0 -2
  36. package/dist/models/CreateDbclusterRequest.js.map +1 -1
  37. package/dist/models/DeleteAidbclusterRequest.d.ts +21 -0
  38. package/dist/models/DeleteAidbclusterRequest.js +58 -0
  39. package/dist/models/DeleteAidbclusterRequest.js.map +1 -0
  40. package/dist/models/DeleteAidbclusterResponse.d.ts +19 -0
  41. package/dist/models/DeleteAidbclusterResponse.js +69 -0
  42. package/dist/models/DeleteAidbclusterResponse.js.map +1 -0
  43. package/dist/models/DeleteAidbclusterResponseBody.d.ts +26 -0
  44. package/dist/models/DeleteAidbclusterResponseBody.js +60 -0
  45. package/dist/models/DeleteAidbclusterResponseBody.js.map +1 -0
  46. package/dist/models/DeleteApplicationEndpointAddressRequest.d.ts +37 -0
  47. package/dist/models/DeleteApplicationEndpointAddressRequest.js +62 -0
  48. package/dist/models/DeleteApplicationEndpointAddressRequest.js.map +1 -0
  49. package/dist/models/DeleteApplicationEndpointAddressResponse.d.ts +19 -0
  50. package/dist/models/DeleteApplicationEndpointAddressResponse.js +69 -0
  51. package/dist/models/DeleteApplicationEndpointAddressResponse.js.map +1 -0
  52. package/dist/models/DeleteApplicationEndpointAddressResponseBody.d.ts +28 -0
  53. package/dist/models/DeleteApplicationEndpointAddressResponseBody.js +62 -0
  54. package/dist/models/DeleteApplicationEndpointAddressResponseBody.js.map +1 -0
  55. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +1 -0
  56. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
  57. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  58. package/dist/models/DescribeApplicationAttributeRequest.d.ts +21 -0
  59. package/dist/models/DescribeApplicationAttributeRequest.js +58 -0
  60. package/dist/models/DescribeApplicationAttributeRequest.js.map +1 -0
  61. package/dist/models/DescribeApplicationAttributeResponse.d.ts +19 -0
  62. package/dist/models/DescribeApplicationAttributeResponse.js +69 -0
  63. package/dist/models/DescribeApplicationAttributeResponse.js.map +1 -0
  64. package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +377 -0
  65. package/dist/models/DescribeApplicationAttributeResponseBody.js +326 -0
  66. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -0
  67. package/dist/models/DescribeApplicationParametersRequest.d.ts +22 -0
  68. package/dist/models/DescribeApplicationParametersRequest.js +63 -0
  69. package/dist/models/DescribeApplicationParametersRequest.js.map +1 -0
  70. package/dist/models/DescribeApplicationParametersResponse.d.ts +19 -0
  71. package/dist/models/DescribeApplicationParametersResponse.js +69 -0
  72. package/dist/models/DescribeApplicationParametersResponse.js.map +1 -0
  73. package/dist/models/DescribeApplicationParametersResponseBody.d.ts +196 -0
  74. package/dist/models/DescribeApplicationParametersResponseBody.js +230 -0
  75. package/dist/models/DescribeApplicationParametersResponseBody.js.map +1 -0
  76. package/dist/models/DescribeApplicationParametersShrinkRequest.d.ts +22 -0
  77. package/dist/models/DescribeApplicationParametersShrinkRequest.js +60 -0
  78. package/dist/models/DescribeApplicationParametersShrinkRequest.js.map +1 -0
  79. package/dist/models/DescribeApplicationsRequest.d.ts +41 -0
  80. package/dist/models/DescribeApplicationsRequest.js +66 -0
  81. package/dist/models/DescribeApplicationsRequest.js.map +1 -0
  82. package/dist/models/DescribeApplicationsResponse.d.ts +19 -0
  83. package/dist/models/DescribeApplicationsResponse.js +69 -0
  84. package/dist/models/DescribeApplicationsResponse.js.map +1 -0
  85. package/dist/models/DescribeApplicationsResponseBody.d.ts +160 -0
  86. package/dist/models/DescribeApplicationsResponseBody.js +182 -0
  87. package/dist/models/DescribeApplicationsResponseBody.js.map +1 -0
  88. package/dist/models/ModifyApplicationDescriptionRequest.d.ts +29 -0
  89. package/dist/models/ModifyApplicationDescriptionRequest.js +60 -0
  90. package/dist/models/ModifyApplicationDescriptionRequest.js.map +1 -0
  91. package/dist/models/ModifyApplicationDescriptionResponse.d.ts +19 -0
  92. package/dist/models/ModifyApplicationDescriptionResponse.js +69 -0
  93. package/dist/models/ModifyApplicationDescriptionResponse.js.map +1 -0
  94. package/dist/models/ModifyApplicationDescriptionResponseBody.d.ts +23 -0
  95. package/dist/models/ModifyApplicationDescriptionResponseBody.js +60 -0
  96. package/dist/models/ModifyApplicationDescriptionResponseBody.js.map +1 -0
  97. package/dist/models/ModifyApplicationParameterRequest.d.ts +54 -0
  98. package/dist/models/ModifyApplicationParameterRequest.js +88 -0
  99. package/dist/models/ModifyApplicationParameterRequest.js.map +1 -0
  100. package/dist/models/ModifyApplicationParameterResponse.d.ts +19 -0
  101. package/dist/models/ModifyApplicationParameterResponse.js +69 -0
  102. package/dist/models/ModifyApplicationParameterResponse.js.map +1 -0
  103. package/dist/models/ModifyApplicationParameterResponseBody.d.ts +23 -0
  104. package/dist/models/ModifyApplicationParameterResponseBody.js +60 -0
  105. package/dist/models/ModifyApplicationParameterResponseBody.js.map +1 -0
  106. package/dist/models/ModifyApplicationParameterShrinkRequest.d.ts +32 -0
  107. package/dist/models/ModifyApplicationParameterShrinkRequest.js +64 -0
  108. package/dist/models/ModifyApplicationParameterShrinkRequest.js.map +1 -0
  109. package/dist/models/ModifyApplicationWhitelistRequest.d.ts +46 -0
  110. package/dist/models/ModifyApplicationWhitelistRequest.js +68 -0
  111. package/dist/models/ModifyApplicationWhitelistRequest.js.map +1 -0
  112. package/dist/models/ModifyApplicationWhitelistResponse.d.ts +19 -0
  113. package/dist/models/ModifyApplicationWhitelistResponse.js +69 -0
  114. package/dist/models/ModifyApplicationWhitelistResponse.js.map +1 -0
  115. package/dist/models/ModifyApplicationWhitelistResponseBody.d.ts +28 -0
  116. package/dist/models/ModifyApplicationWhitelistResponseBody.js +62 -0
  117. package/dist/models/ModifyApplicationWhitelistResponseBody.js.map +1 -0
  118. package/dist/models/model.d.ts +57 -0
  119. package/dist/models/model.js +134 -18
  120. package/dist/models/model.js.map +1 -1
  121. package/package.json +1 -1
  122. package/src/client.ts +628 -0
  123. package/src/models/AttachApplicationPolarFsrequest.ts +58 -0
  124. package/src/models/AttachApplicationPolarFsresponse.ts +40 -0
  125. package/src/models/AttachApplicationPolarFsresponseBody.ts +48 -0
  126. package/src/models/CreateApplicationEndpointAddressRequest.ts +54 -0
  127. package/src/models/CreateApplicationEndpointAddressResponse.ts +40 -0
  128. package/src/models/CreateApplicationEndpointAddressResponseBody.ts +45 -0
  129. package/src/models/CreateApplicationRequest.ts +252 -0
  130. package/src/models/CreateApplicationResponse.ts +40 -0
  131. package/src/models/CreateApplicationResponseBody.ts +99 -0
  132. package/src/models/CreateApplicationShrinkRequest.ts +134 -0
  133. package/src/models/CreateDbclusterRequest.ts +0 -2
  134. package/src/models/DeleteAidbclusterRequest.ts +34 -0
  135. package/src/models/DeleteAidbclusterResponse.ts +40 -0
  136. package/src/models/DeleteAidbclusterResponseBody.ts +41 -0
  137. package/src/models/DeleteApplicationEndpointAddressRequest.ts +54 -0
  138. package/src/models/DeleteApplicationEndpointAddressResponse.ts +40 -0
  139. package/src/models/DeleteApplicationEndpointAddressResponseBody.ts +45 -0
  140. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +3 -0
  141. package/src/models/DescribeApplicationAttributeRequest.ts +34 -0
  142. package/src/models/DescribeApplicationAttributeResponse.ts +40 -0
  143. package/src/models/DescribeApplicationAttributeResponseBody.ts +595 -0
  144. package/src/models/DescribeApplicationParametersRequest.ts +40 -0
  145. package/src/models/DescribeApplicationParametersResponse.ts +40 -0
  146. package/src/models/DescribeApplicationParametersResponseBody.ts +327 -0
  147. package/src/models/DescribeApplicationParametersShrinkRequest.ts +37 -0
  148. package/src/models/DescribeApplicationsRequest.ts +62 -0
  149. package/src/models/DescribeApplicationsResponse.ts +40 -0
  150. package/src/models/DescribeApplicationsResponseBody.ts +261 -0
  151. package/src/models/ModifyApplicationDescriptionRequest.ts +44 -0
  152. package/src/models/ModifyApplicationDescriptionResponse.ts +40 -0
  153. package/src/models/ModifyApplicationDescriptionResponseBody.ts +38 -0
  154. package/src/models/ModifyApplicationParameterRequest.ts +88 -0
  155. package/src/models/ModifyApplicationParameterResponse.ts +40 -0
  156. package/src/models/ModifyApplicationParameterResponseBody.ts +38 -0
  157. package/src/models/ModifyApplicationParameterShrinkRequest.ts +51 -0
  158. package/src/models/ModifyApplicationWhitelistRequest.ts +69 -0
  159. package/src/models/ModifyApplicationWhitelistResponse.ts +40 -0
  160. package/src/models/ModifyApplicationWhitelistResponseBody.ts +45 -0
  161. package/src/models/model.ts +57 -0
@@ -0,0 +1,595 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeApplicationAttributeResponseBodyComponentsSecurityGroups extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * vpc
9
+ */
10
+ netType?: string;
11
+ /**
12
+ * @example
13
+ * cn-beijing
14
+ */
15
+ regionId?: string;
16
+ /**
17
+ * @example
18
+ * sg-*******************
19
+ */
20
+ securityGroupId?: string;
21
+ /**
22
+ * @example
23
+ * MyGroupName
24
+ */
25
+ securityGroupName?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ netType: 'NetType',
29
+ regionId: 'RegionId',
30
+ securityGroupId: 'SecurityGroupId',
31
+ securityGroupName: 'SecurityGroupName',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ netType: 'string',
38
+ regionId: 'string',
39
+ securityGroupId: 'string',
40
+ securityGroupName: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
53
+ export class DescribeApplicationAttributeResponseBodyComponentsSecurityIPArrays extends $dara.Model {
54
+ /**
55
+ * @example
56
+ * default
57
+ */
58
+ securityIPArrayName?: string;
59
+ /**
60
+ * @example
61
+ * mytag
62
+ */
63
+ securityIPArrayTag?: string;
64
+ /**
65
+ * @example
66
+ * 127.0.0.1
67
+ */
68
+ securityIPList?: string;
69
+ /**
70
+ * @example
71
+ * mix
72
+ */
73
+ securityIPNetType?: string;
74
+ /**
75
+ * @example
76
+ * ipv4
77
+ */
78
+ securityIPType?: string;
79
+ static names(): { [key: string]: string } {
80
+ return {
81
+ securityIPArrayName: 'SecurityIPArrayName',
82
+ securityIPArrayTag: 'SecurityIPArrayTag',
83
+ securityIPList: 'SecurityIPList',
84
+ securityIPNetType: 'SecurityIPNetType',
85
+ securityIPType: 'SecurityIPType',
86
+ };
87
+ }
88
+
89
+ static types(): { [key: string]: any } {
90
+ return {
91
+ securityIPArrayName: 'string',
92
+ securityIPArrayTag: 'string',
93
+ securityIPList: 'string',
94
+ securityIPNetType: 'string',
95
+ securityIPType: 'string',
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
108
+ export class DescribeApplicationAttributeResponseBodyComponentsTopology extends $dara.Model {
109
+ children?: string[];
110
+ /**
111
+ * @example
112
+ * 0
113
+ */
114
+ layer?: string;
115
+ parents?: string[];
116
+ static names(): { [key: string]: string } {
117
+ return {
118
+ children: 'Children',
119
+ layer: 'Layer',
120
+ parents: 'Parents',
121
+ };
122
+ }
123
+
124
+ static types(): { [key: string]: any } {
125
+ return {
126
+ children: { 'type': 'array', 'itemType': 'string' },
127
+ layer: 'string',
128
+ parents: { 'type': 'array', 'itemType': 'string' },
129
+ };
130
+ }
131
+
132
+ validate() {
133
+ if(Array.isArray(this.children)) {
134
+ $dara.Model.validateArray(this.children);
135
+ }
136
+ if(Array.isArray(this.parents)) {
137
+ $dara.Model.validateArray(this.parents);
138
+ }
139
+ super.validate();
140
+ }
141
+
142
+ constructor(map?: { [key: string]: any }) {
143
+ super(map);
144
+ }
145
+ }
146
+
147
+ export class DescribeApplicationAttributeResponseBodyComponents extends $dara.Model {
148
+ /**
149
+ * @example
150
+ * polar.app.g2.medium
151
+ */
152
+ componentClass?: string;
153
+ /**
154
+ * @example
155
+ * 2C4GB
156
+ */
157
+ componentClassDescription?: string;
158
+ /**
159
+ * @example
160
+ * pac-*******************
161
+ */
162
+ componentId?: string;
163
+ /**
164
+ * @example
165
+ * 1
166
+ */
167
+ componentMaxReplica?: number;
168
+ /**
169
+ * @example
170
+ * 1
171
+ */
172
+ componentReplica?: number;
173
+ /**
174
+ * @example
175
+ * default
176
+ */
177
+ componentReplicaGroupName?: string;
178
+ /**
179
+ * @example
180
+ * gateway
181
+ */
182
+ componentType?: string;
183
+ securityGroups?: DescribeApplicationAttributeResponseBodyComponentsSecurityGroups[];
184
+ securityIPArrays?: DescribeApplicationAttributeResponseBodyComponentsSecurityIPArrays[];
185
+ /**
186
+ * @example
187
+ * Activated
188
+ */
189
+ status?: string;
190
+ topology?: DescribeApplicationAttributeResponseBodyComponentsTopology;
191
+ static names(): { [key: string]: string } {
192
+ return {
193
+ componentClass: 'ComponentClass',
194
+ componentClassDescription: 'ComponentClassDescription',
195
+ componentId: 'ComponentId',
196
+ componentMaxReplica: 'ComponentMaxReplica',
197
+ componentReplica: 'ComponentReplica',
198
+ componentReplicaGroupName: 'ComponentReplicaGroupName',
199
+ componentType: 'ComponentType',
200
+ securityGroups: 'SecurityGroups',
201
+ securityIPArrays: 'SecurityIPArrays',
202
+ status: 'Status',
203
+ topology: 'Topology',
204
+ };
205
+ }
206
+
207
+ static types(): { [key: string]: any } {
208
+ return {
209
+ componentClass: 'string',
210
+ componentClassDescription: 'string',
211
+ componentId: 'string',
212
+ componentMaxReplica: 'number',
213
+ componentReplica: 'number',
214
+ componentReplicaGroupName: 'string',
215
+ componentType: 'string',
216
+ securityGroups: { 'type': 'array', 'itemType': DescribeApplicationAttributeResponseBodyComponentsSecurityGroups },
217
+ securityIPArrays: { 'type': 'array', 'itemType': DescribeApplicationAttributeResponseBodyComponentsSecurityIPArrays },
218
+ status: 'string',
219
+ topology: DescribeApplicationAttributeResponseBodyComponentsTopology,
220
+ };
221
+ }
222
+
223
+ validate() {
224
+ if(Array.isArray(this.securityGroups)) {
225
+ $dara.Model.validateArray(this.securityGroups);
226
+ }
227
+ if(Array.isArray(this.securityIPArrays)) {
228
+ $dara.Model.validateArray(this.securityIPArrays);
229
+ }
230
+ if(this.topology && typeof (this.topology as any).validate === 'function') {
231
+ (this.topology as any).validate();
232
+ }
233
+ super.validate();
234
+ }
235
+
236
+ constructor(map?: { [key: string]: any }) {
237
+ super(map);
238
+ }
239
+ }
240
+
241
+ export class DescribeApplicationAttributeResponseBodyEndpoints extends $dara.Model {
242
+ /**
243
+ * @example
244
+ * myendpoint
245
+ */
246
+ description?: string;
247
+ /**
248
+ * @example
249
+ * pa-**************
250
+ */
251
+ endpointId?: string;
252
+ /**
253
+ * @example
254
+ * 172.31.95.252
255
+ */
256
+ IP?: string;
257
+ /**
258
+ * @example
259
+ * Private
260
+ */
261
+ netType?: string;
262
+ /**
263
+ * @example
264
+ * 8080
265
+ */
266
+ port?: string;
267
+ static names(): { [key: string]: string } {
268
+ return {
269
+ description: 'Description',
270
+ endpointId: 'EndpointId',
271
+ IP: 'IP',
272
+ netType: 'NetType',
273
+ port: 'Port',
274
+ };
275
+ }
276
+
277
+ static types(): { [key: string]: any } {
278
+ return {
279
+ description: 'string',
280
+ endpointId: 'string',
281
+ IP: 'string',
282
+ netType: 'string',
283
+ port: 'string',
284
+ };
285
+ }
286
+
287
+ validate() {
288
+ super.validate();
289
+ }
290
+
291
+ constructor(map?: { [key: string]: any }) {
292
+ super(map);
293
+ }
294
+ }
295
+
296
+ export class DescribeApplicationAttributeResponseBodySecurityGroups extends $dara.Model {
297
+ /**
298
+ * @example
299
+ * vpc
300
+ */
301
+ netType?: string;
302
+ /**
303
+ * @example
304
+ * cn-beijing
305
+ */
306
+ regionId?: string;
307
+ /**
308
+ * @example
309
+ * sg-**************
310
+ */
311
+ securityGroupId?: string;
312
+ /**
313
+ * @example
314
+ * MyGroupName
315
+ */
316
+ securityGroupName?: string;
317
+ static names(): { [key: string]: string } {
318
+ return {
319
+ netType: 'NetType',
320
+ regionId: 'RegionId',
321
+ securityGroupId: 'SecurityGroupId',
322
+ securityGroupName: 'SecurityGroupName',
323
+ };
324
+ }
325
+
326
+ static types(): { [key: string]: any } {
327
+ return {
328
+ netType: 'string',
329
+ regionId: 'string',
330
+ securityGroupId: 'string',
331
+ securityGroupName: 'string',
332
+ };
333
+ }
334
+
335
+ validate() {
336
+ super.validate();
337
+ }
338
+
339
+ constructor(map?: { [key: string]: any }) {
340
+ super(map);
341
+ }
342
+ }
343
+
344
+ export class DescribeApplicationAttributeResponseBodySecurityIPArrays extends $dara.Model {
345
+ /**
346
+ * @example
347
+ * default
348
+ */
349
+ securityIPArrayName?: string;
350
+ /**
351
+ * @example
352
+ * mytag
353
+ */
354
+ securityIPArrayTag?: string;
355
+ /**
356
+ * @example
357
+ * 127.0.0.1
358
+ */
359
+ securityIPList?: string;
360
+ /**
361
+ * @example
362
+ * mix
363
+ */
364
+ securityIPNetType?: string;
365
+ /**
366
+ * @example
367
+ * ipv4
368
+ */
369
+ securityIPType?: string;
370
+ static names(): { [key: string]: string } {
371
+ return {
372
+ securityIPArrayName: 'SecurityIPArrayName',
373
+ securityIPArrayTag: 'SecurityIPArrayTag',
374
+ securityIPList: 'SecurityIPList',
375
+ securityIPNetType: 'SecurityIPNetType',
376
+ securityIPType: 'SecurityIPType',
377
+ };
378
+ }
379
+
380
+ static types(): { [key: string]: any } {
381
+ return {
382
+ securityIPArrayName: 'string',
383
+ securityIPArrayTag: 'string',
384
+ securityIPList: 'string',
385
+ securityIPNetType: 'string',
386
+ securityIPType: 'string',
387
+ };
388
+ }
389
+
390
+ validate() {
391
+ super.validate();
392
+ }
393
+
394
+ constructor(map?: { [key: string]: any }) {
395
+ super(map);
396
+ }
397
+ }
398
+
399
+ export class DescribeApplicationAttributeResponseBody extends $dara.Model {
400
+ /**
401
+ * @example
402
+ * pa-**************
403
+ */
404
+ applicationId?: string;
405
+ /**
406
+ * @example
407
+ * supabase
408
+ */
409
+ applicationType?: string;
410
+ /**
411
+ * @example
412
+ * x86
413
+ */
414
+ architecture?: string;
415
+ components?: DescribeApplicationAttributeResponseBodyComponents[];
416
+ /**
417
+ * @example
418
+ * 2025-03-25T09:37:10Z
419
+ */
420
+ creationTime?: string;
421
+ /**
422
+ * @example
423
+ * pc-**************
424
+ */
425
+ DBClusterId?: string;
426
+ /**
427
+ * @example
428
+ * myapp
429
+ */
430
+ description?: string;
431
+ endpoints?: DescribeApplicationAttributeResponseBodyEndpoints[];
432
+ /**
433
+ * @example
434
+ * 2025-06-25T09:37:10Z
435
+ */
436
+ expireTime?: string;
437
+ /**
438
+ * @example
439
+ * false
440
+ */
441
+ expired?: boolean;
442
+ /**
443
+ * @example
444
+ * Unlock
445
+ */
446
+ lockMode?: string;
447
+ /**
448
+ * @example
449
+ * 19:00Z
450
+ */
451
+ maintainEndTime?: string;
452
+ /**
453
+ * @example
454
+ * 18:00Z
455
+ */
456
+ maintainStartTime?: string;
457
+ /**
458
+ * @example
459
+ * Postpaid
460
+ */
461
+ payType?: string;
462
+ /**
463
+ * @example
464
+ * pfs-**************
465
+ */
466
+ polarFSInstanceId?: string;
467
+ /**
468
+ * @example
469
+ * cn-beijing
470
+ */
471
+ regionId?: string;
472
+ /**
473
+ * @example
474
+ * 3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF
475
+ */
476
+ requestId?: string;
477
+ securityGroups?: DescribeApplicationAttributeResponseBodySecurityGroups[];
478
+ securityIPArrays?: DescribeApplicationAttributeResponseBodySecurityIPArrays[];
479
+ /**
480
+ * @example
481
+ * Activated
482
+ */
483
+ status?: string;
484
+ /**
485
+ * @example
486
+ * false
487
+ */
488
+ upgradeAvailable?: string;
489
+ /**
490
+ * @remarks
491
+ * VPC ID
492
+ *
493
+ * @example
494
+ * vpc-*******************
495
+ */
496
+ VPCId?: string;
497
+ /**
498
+ * @remarks
499
+ * VSwitch ID
500
+ *
501
+ * @example
502
+ * vsw-*******************
503
+ */
504
+ vSwitchId?: string;
505
+ /**
506
+ * @example
507
+ * 1.0.0
508
+ */
509
+ version?: string;
510
+ /**
511
+ * @example
512
+ * cn-beijing-l
513
+ */
514
+ zoneId?: string;
515
+ static names(): { [key: string]: string } {
516
+ return {
517
+ applicationId: 'ApplicationId',
518
+ applicationType: 'ApplicationType',
519
+ architecture: 'Architecture',
520
+ components: 'Components',
521
+ creationTime: 'CreationTime',
522
+ DBClusterId: 'DBClusterId',
523
+ description: 'Description',
524
+ endpoints: 'Endpoints',
525
+ expireTime: 'ExpireTime',
526
+ expired: 'Expired',
527
+ lockMode: 'LockMode',
528
+ maintainEndTime: 'MaintainEndTime',
529
+ maintainStartTime: 'MaintainStartTime',
530
+ payType: 'PayType',
531
+ polarFSInstanceId: 'PolarFSInstanceId',
532
+ regionId: 'RegionId',
533
+ requestId: 'RequestId',
534
+ securityGroups: 'SecurityGroups',
535
+ securityIPArrays: 'SecurityIPArrays',
536
+ status: 'Status',
537
+ upgradeAvailable: 'UpgradeAvailable',
538
+ VPCId: 'VPCId',
539
+ vSwitchId: 'VSwitchId',
540
+ version: 'Version',
541
+ zoneId: 'ZoneId',
542
+ };
543
+ }
544
+
545
+ static types(): { [key: string]: any } {
546
+ return {
547
+ applicationId: 'string',
548
+ applicationType: 'string',
549
+ architecture: 'string',
550
+ components: { 'type': 'array', 'itemType': DescribeApplicationAttributeResponseBodyComponents },
551
+ creationTime: 'string',
552
+ DBClusterId: 'string',
553
+ description: 'string',
554
+ endpoints: { 'type': 'array', 'itemType': DescribeApplicationAttributeResponseBodyEndpoints },
555
+ expireTime: 'string',
556
+ expired: 'boolean',
557
+ lockMode: 'string',
558
+ maintainEndTime: 'string',
559
+ maintainStartTime: 'string',
560
+ payType: 'string',
561
+ polarFSInstanceId: 'string',
562
+ regionId: 'string',
563
+ requestId: 'string',
564
+ securityGroups: { 'type': 'array', 'itemType': DescribeApplicationAttributeResponseBodySecurityGroups },
565
+ securityIPArrays: { 'type': 'array', 'itemType': DescribeApplicationAttributeResponseBodySecurityIPArrays },
566
+ status: 'string',
567
+ upgradeAvailable: 'string',
568
+ VPCId: 'string',
569
+ vSwitchId: 'string',
570
+ version: 'string',
571
+ zoneId: 'string',
572
+ };
573
+ }
574
+
575
+ validate() {
576
+ if(Array.isArray(this.components)) {
577
+ $dara.Model.validateArray(this.components);
578
+ }
579
+ if(Array.isArray(this.endpoints)) {
580
+ $dara.Model.validateArray(this.endpoints);
581
+ }
582
+ if(Array.isArray(this.securityGroups)) {
583
+ $dara.Model.validateArray(this.securityGroups);
584
+ }
585
+ if(Array.isArray(this.securityIPArrays)) {
586
+ $dara.Model.validateArray(this.securityIPArrays);
587
+ }
588
+ super.validate();
589
+ }
590
+
591
+ constructor(map?: { [key: string]: any }) {
592
+ super(map);
593
+ }
594
+ }
595
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeApplicationParametersRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * pa-**************
12
+ */
13
+ applicationId?: string;
14
+ componentIdList?: string[];
15
+ static names(): { [key: string]: string } {
16
+ return {
17
+ applicationId: 'ApplicationId',
18
+ componentIdList: 'ComponentIdList',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ applicationId: 'string',
25
+ componentIdList: { 'type': 'array', 'itemType': 'string' },
26
+ };
27
+ }
28
+
29
+ validate() {
30
+ if(Array.isArray(this.componentIdList)) {
31
+ $dara.Model.validateArray(this.componentIdList);
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeApplicationParametersResponseBody } from "./DescribeApplicationParametersResponseBody";
4
+
5
+
6
+ export class DescribeApplicationParametersResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeApplicationParametersResponseBody;
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: DescribeApplicationParametersResponseBody,
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
+