@alicloud/polardb20170801 6.2.1 → 6.4.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 (33) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +129 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ClonePolarFsBasicSnapshotRequest.d.ts +33 -0
  5. package/dist/models/ClonePolarFsBasicSnapshotRequest.js +64 -0
  6. package/dist/models/ClonePolarFsBasicSnapshotRequest.js.map +1 -0
  7. package/dist/models/ClonePolarFsBasicSnapshotResponse.d.ts +19 -0
  8. package/dist/models/ClonePolarFsBasicSnapshotResponse.js +69 -0
  9. package/dist/models/ClonePolarFsBasicSnapshotResponse.js.map +1 -0
  10. package/dist/models/ClonePolarFsBasicSnapshotResponseBody.d.ts +41 -0
  11. package/dist/models/ClonePolarFsBasicSnapshotResponseBody.js +66 -0
  12. package/dist/models/ClonePolarFsBasicSnapshotResponseBody.js.map +1 -0
  13. package/dist/models/DescribeHistoryEventsRequest.d.ts +88 -0
  14. package/dist/models/DescribeHistoryEventsRequest.js +86 -0
  15. package/dist/models/DescribeHistoryEventsRequest.js.map +1 -0
  16. package/dist/models/DescribeHistoryEventsResponse.d.ts +19 -0
  17. package/dist/models/DescribeHistoryEventsResponse.js +69 -0
  18. package/dist/models/DescribeHistoryEventsResponse.js.map +1 -0
  19. package/dist/models/DescribeHistoryEventsResponseBody.d.ts +229 -0
  20. package/dist/models/DescribeHistoryEventsResponseBody.js +176 -0
  21. package/dist/models/DescribeHistoryEventsResponseBody.js.map +1 -0
  22. package/dist/models/model.d.ts +8 -0
  23. package/dist/models/model.js +35 -19
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +152 -0
  27. package/src/models/ClonePolarFsBasicSnapshotRequest.ts +52 -0
  28. package/src/models/ClonePolarFsBasicSnapshotResponse.ts +40 -0
  29. package/src/models/ClonePolarFsBasicSnapshotResponseBody.ts +62 -0
  30. package/src/models/DescribeHistoryEventsRequest.ts +129 -0
  31. package/src/models/DescribeHistoryEventsResponse.ts +40 -0
  32. package/src/models/DescribeHistoryEventsResponseBody.ts +342 -0
  33. package/src/models/model.ts +8 -0
@@ -0,0 +1,342 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeHistoryEventsResponseBodyItemsData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * web
9
+ */
10
+ cmsProduct?: string;
11
+ /**
12
+ * @example
13
+ * mysql
14
+ */
15
+ dbType?: string;
16
+ /**
17
+ * @example
18
+ * 1
19
+ */
20
+ detailImpact?: string;
21
+ /**
22
+ * @example
23
+ * xxxx
24
+ */
25
+ detailReason?: string;
26
+ /**
27
+ * @example
28
+ * 2025-12-24T02:24:00Z
29
+ */
30
+ endTime?: string;
31
+ /**
32
+ * @example
33
+ * Exception
34
+ */
35
+ eventCategory?: string;
36
+ /**
37
+ * @example
38
+ * de_aamexg3015
39
+ */
40
+ eventCode?: string;
41
+ /**
42
+ * @example
43
+ * xxxx
44
+ */
45
+ eventDetail?: string;
46
+ /**
47
+ * @example
48
+ * 600324
49
+ */
50
+ eventId?: string;
51
+ /**
52
+ * @example
53
+ * xxxx
54
+ */
55
+ eventImpact?: string;
56
+ /**
57
+ * @example
58
+ * INFO
59
+ */
60
+ eventLevel?: string;
61
+ /**
62
+ * @example
63
+ * xxxxx
64
+ */
65
+ eventReason?: string;
66
+ /**
67
+ * @example
68
+ * Inquiring
69
+ */
70
+ eventStatus?: string;
71
+ /**
72
+ * @example
73
+ * SystemFailure.Delete
74
+ */
75
+ eventType?: string;
76
+ /**
77
+ * @example
78
+ * 2025-07-15T14:53:06+08:00
79
+ */
80
+ gmtCreated?: string;
81
+ /**
82
+ * @example
83
+ * 2025-01-07T15:10:32+08:00
84
+ */
85
+ gmtModified?: string;
86
+ /**
87
+ * @example
88
+ * done
89
+ */
90
+ handleStatus?: string;
91
+ /**
92
+ * @example
93
+ * false
94
+ */
95
+ hasLifeCycle?: number;
96
+ /**
97
+ * @example
98
+ * pc-2ze150h1p29t***
99
+ */
100
+ instanceId?: string;
101
+ /**
102
+ * @example
103
+ * dhimgsearch
104
+ */
105
+ instanceName?: string;
106
+ /**
107
+ * @example
108
+ * 1
109
+ */
110
+ isClosed?: number;
111
+ /**
112
+ * @example
113
+ * polardb
114
+ */
115
+ product?: string;
116
+ /**
117
+ * @example
118
+ * cn-beijing
119
+ */
120
+ regionId?: string;
121
+ /**
122
+ * @example
123
+ * Host
124
+ */
125
+ resourceType?: string;
126
+ /**
127
+ * @example
128
+ * loanBill
129
+ */
130
+ sourceType?: string;
131
+ /**
132
+ * @example
133
+ * 2025-02-27T02:00:00Z
134
+ */
135
+ startTime?: string;
136
+ /**
137
+ * @example
138
+ * 1540497309282125
139
+ */
140
+ uid?: string;
141
+ static names(): { [key: string]: string } {
142
+ return {
143
+ cmsProduct: 'CmsProduct',
144
+ dbType: 'DbType',
145
+ detailImpact: 'DetailImpact',
146
+ detailReason: 'DetailReason',
147
+ endTime: 'EndTime',
148
+ eventCategory: 'EventCategory',
149
+ eventCode: 'EventCode',
150
+ eventDetail: 'EventDetail',
151
+ eventId: 'EventId',
152
+ eventImpact: 'EventImpact',
153
+ eventLevel: 'EventLevel',
154
+ eventReason: 'EventReason',
155
+ eventStatus: 'EventStatus',
156
+ eventType: 'EventType',
157
+ gmtCreated: 'GmtCreated',
158
+ gmtModified: 'GmtModified',
159
+ handleStatus: 'HandleStatus',
160
+ hasLifeCycle: 'HasLifeCycle',
161
+ instanceId: 'InstanceId',
162
+ instanceName: 'InstanceName',
163
+ isClosed: 'IsClosed',
164
+ product: 'Product',
165
+ regionId: 'RegionId',
166
+ resourceType: 'ResourceType',
167
+ sourceType: 'SourceType',
168
+ startTime: 'StartTime',
169
+ uid: 'Uid',
170
+ };
171
+ }
172
+
173
+ static types(): { [key: string]: any } {
174
+ return {
175
+ cmsProduct: 'string',
176
+ dbType: 'string',
177
+ detailImpact: 'string',
178
+ detailReason: 'string',
179
+ endTime: 'string',
180
+ eventCategory: 'string',
181
+ eventCode: 'string',
182
+ eventDetail: 'string',
183
+ eventId: 'string',
184
+ eventImpact: 'string',
185
+ eventLevel: 'string',
186
+ eventReason: 'string',
187
+ eventStatus: 'string',
188
+ eventType: 'string',
189
+ gmtCreated: 'string',
190
+ gmtModified: 'string',
191
+ handleStatus: 'string',
192
+ hasLifeCycle: 'number',
193
+ instanceId: 'string',
194
+ instanceName: 'string',
195
+ isClosed: 'number',
196
+ product: 'string',
197
+ regionId: 'string',
198
+ resourceType: 'string',
199
+ sourceType: 'string',
200
+ startTime: 'string',
201
+ uid: 'string',
202
+ };
203
+ }
204
+
205
+ validate() {
206
+ super.validate();
207
+ }
208
+
209
+ constructor(map?: { [key: string]: any }) {
210
+ super(map);
211
+ }
212
+ }
213
+
214
+ export class DescribeHistoryEventsResponseBodyItems extends $dara.Model {
215
+ data?: DescribeHistoryEventsResponseBodyItemsData;
216
+ /**
217
+ * @example
218
+ * 123
219
+ */
220
+ id?: string;
221
+ /**
222
+ * @example
223
+ * cn-hangzhou
224
+ */
225
+ region?: string;
226
+ /**
227
+ * @example
228
+ * loanBill
229
+ */
230
+ source?: string;
231
+ /**
232
+ * @example
233
+ * 8.0
234
+ */
235
+ specversion?: string;
236
+ /**
237
+ * @example
238
+ * QiTian
239
+ */
240
+ subject?: string;
241
+ /**
242
+ * @example
243
+ * 1758680209206
244
+ */
245
+ time?: string;
246
+ /**
247
+ * @example
248
+ * host
249
+ */
250
+ type?: string;
251
+ static names(): { [key: string]: string } {
252
+ return {
253
+ data: 'Data',
254
+ id: 'Id',
255
+ region: 'Region',
256
+ source: 'Source',
257
+ specversion: 'Specversion',
258
+ subject: 'Subject',
259
+ time: 'Time',
260
+ type: 'Type',
261
+ };
262
+ }
263
+
264
+ static types(): { [key: string]: any } {
265
+ return {
266
+ data: DescribeHistoryEventsResponseBodyItemsData,
267
+ id: 'string',
268
+ region: 'string',
269
+ source: 'string',
270
+ specversion: 'string',
271
+ subject: 'string',
272
+ time: 'string',
273
+ type: 'string',
274
+ };
275
+ }
276
+
277
+ validate() {
278
+ if(this.data && typeof (this.data as any).validate === 'function') {
279
+ (this.data as any).validate();
280
+ }
281
+ super.validate();
282
+ }
283
+
284
+ constructor(map?: { [key: string]: any }) {
285
+ super(map);
286
+ }
287
+ }
288
+
289
+ export class DescribeHistoryEventsResponseBody extends $dara.Model {
290
+ items?: DescribeHistoryEventsResponseBodyItems[];
291
+ /**
292
+ * @example
293
+ * 1
294
+ */
295
+ pageNumber?: number;
296
+ /**
297
+ * @example
298
+ * 30
299
+ */
300
+ pageSize?: number;
301
+ /**
302
+ * @example
303
+ * EB07CFF0-D8A4-5C76-AED7-D00E26FC2***
304
+ */
305
+ requestId?: string;
306
+ /**
307
+ * @example
308
+ * 7
309
+ */
310
+ totalCount?: number;
311
+ static names(): { [key: string]: string } {
312
+ return {
313
+ items: 'Items',
314
+ pageNumber: 'PageNumber',
315
+ pageSize: 'PageSize',
316
+ requestId: 'RequestId',
317
+ totalCount: 'TotalCount',
318
+ };
319
+ }
320
+
321
+ static types(): { [key: string]: any } {
322
+ return {
323
+ items: { 'type': 'array', 'itemType': DescribeHistoryEventsResponseBodyItems },
324
+ pageNumber: 'number',
325
+ pageSize: 'number',
326
+ requestId: 'string',
327
+ totalCount: 'number',
328
+ };
329
+ }
330
+
331
+ validate() {
332
+ if(Array.isArray(this.items)) {
333
+ $dara.Model.validateArray(this.items);
334
+ }
335
+ super.validate();
336
+ }
337
+
338
+ constructor(map?: { [key: string]: any }) {
339
+ super(map);
340
+ }
341
+ }
342
+
@@ -173,6 +173,8 @@ export { DescribeGlobalDatabaseNetworksResponseBodyItems } from './DescribeGloba
173
173
  export { DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup } from './DescribeGlobalSecurityIpgroupResponseBody';
174
174
  export { DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel } from './DescribeGlobalSecurityIpgroupRelationResponseBody';
175
175
  export { DescribeHALogsResponseBodyHaLogItems } from './DescribeHalogsResponseBody';
176
+ export { DescribeHistoryEventsResponseBodyItemsData } from './DescribeHistoryEventsResponseBody';
177
+ export { DescribeHistoryEventsResponseBodyItems } from './DescribeHistoryEventsResponseBody';
176
178
  export { DescribeHistoryTasksResponseBodyItems } from './DescribeHistoryTasksResponseBody';
177
179
  export { DescribeHistoryTasksStatResponseBodyItems } from './DescribeHistoryTasksStatResponseBody';
178
180
  export { DescribeLicenseOrdersResponseBodyItems } from './DescribeLicenseOrdersResponseBody';
@@ -287,6 +289,9 @@ export { CheckKMSAuthorizedResponse } from './CheckKmsauthorizedResponse';
287
289
  export { CheckServiceLinkedRoleRequest } from './CheckServiceLinkedRoleRequest';
288
290
  export { CheckServiceLinkedRoleResponseBody } from './CheckServiceLinkedRoleResponseBody';
289
291
  export { CheckServiceLinkedRoleResponse } from './CheckServiceLinkedRoleResponse';
292
+ export { ClonePolarFsBasicSnapshotRequest } from './ClonePolarFsBasicSnapshotRequest';
293
+ export { ClonePolarFsBasicSnapshotResponseBody } from './ClonePolarFsBasicSnapshotResponseBody';
294
+ export { ClonePolarFsBasicSnapshotResponse } from './ClonePolarFsBasicSnapshotResponse';
290
295
  export { CloseAITaskRequest } from './CloseAitaskRequest';
291
296
  export { CloseAITaskResponseBody } from './CloseAitaskResponseBody';
292
297
  export { CloseAITaskResponse } from './CloseAitaskResponse';
@@ -673,6 +678,9 @@ export { DescribeGlobalSecurityIPGroupRelationResponse } from './DescribeGlobalS
673
678
  export { DescribeHALogsRequest } from './DescribeHalogsRequest';
674
679
  export { DescribeHALogsResponseBody } from './DescribeHalogsResponseBody';
675
680
  export { DescribeHALogsResponse } from './DescribeHalogsResponse';
681
+ export { DescribeHistoryEventsRequest } from './DescribeHistoryEventsRequest';
682
+ export { DescribeHistoryEventsResponseBody } from './DescribeHistoryEventsResponseBody';
683
+ export { DescribeHistoryEventsResponse } from './DescribeHistoryEventsResponse';
676
684
  export { DescribeHistoryTasksRequest } from './DescribeHistoryTasksRequest';
677
685
  export { DescribeHistoryTasksResponseBody } from './DescribeHistoryTasksResponseBody';
678
686
  export { DescribeHistoryTasksResponse } from './DescribeHistoryTasksResponse';