@alicloud/das20200116 2.7.4 → 2.8.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.
Files changed (64) hide show
  1. package/dist/client.d.ts +39 -16
  2. package/dist/client.js +139 -22
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCacheAnalysisJobResponseBody.d.ts +0 -60
  5. package/dist/models/CreateCacheAnalysisJobResponseBody.js.map +1 -1
  6. package/dist/models/CreateCloudBenchTasksResponseBody.d.ts +0 -4
  7. package/dist/models/CreateCloudBenchTasksResponseBody.js.map +1 -1
  8. package/dist/models/DescribeCacheAnalysisJobResponseBody.d.ts +0 -321
  9. package/dist/models/DescribeCacheAnalysisJobResponseBody.js.map +1 -1
  10. package/dist/models/DescribeCacheAnalysisJobsResponseBody.d.ts +0 -108
  11. package/dist/models/DescribeCacheAnalysisJobsResponseBody.js.map +1 -1
  12. package/dist/models/DescribeCloudBenchTasksResponseBody.d.ts +0 -386
  13. package/dist/models/DescribeCloudBenchTasksResponseBody.js.map +1 -1
  14. package/dist/models/DescribeHotBigKeysResponseBody.d.ts +0 -85
  15. package/dist/models/DescribeHotBigKeysResponseBody.js.map +1 -1
  16. package/dist/models/DescribeHotKeysResponseBody.d.ts +0 -39
  17. package/dist/models/DescribeHotKeysResponseBody.js.map +1 -1
  18. package/dist/models/DescribeTopBigKeysResponseBody.d.ts +0 -41
  19. package/dist/models/DescribeTopBigKeysResponseBody.js.map +1 -1
  20. package/dist/models/DescribeTopHotKeysResponseBody.d.ts +0 -46
  21. package/dist/models/DescribeTopHotKeysResponseBody.js.map +1 -1
  22. package/dist/models/GetAutonomousNotifyEventsInRangeResponseBody.d.ts +0 -4
  23. package/dist/models/GetAutonomousNotifyEventsInRangeResponseBody.js.map +1 -1
  24. package/dist/models/GetDasAgentSseresponse.d.ts +2 -0
  25. package/dist/models/GetDasAgentSseresponse.js +4 -0
  26. package/dist/models/GetDasAgentSseresponse.js.map +1 -1
  27. package/dist/models/GetRunningSqlConcurrencyControlRulesResponseBody.d.ts +0 -84
  28. package/dist/models/GetRunningSqlConcurrencyControlRulesResponseBody.js.map +1 -1
  29. package/dist/models/GetSqlConcurrencyControlRulesHistoryResponseBody.d.ts +0 -87
  30. package/dist/models/GetSqlConcurrencyControlRulesHistoryResponseBody.js.map +1 -1
  31. package/dist/models/GetYaoChiAgentRequest.d.ts +36 -0
  32. package/dist/models/GetYaoChiAgentRequest.js +64 -0
  33. package/dist/models/GetYaoChiAgentRequest.js.map +1 -0
  34. package/dist/models/GetYaoChiAgentResponse.d.ts +21 -0
  35. package/dist/models/GetYaoChiAgentResponse.js +73 -0
  36. package/dist/models/GetYaoChiAgentResponse.js.map +1 -0
  37. package/dist/models/GetYaoChiAgentResponseBody.d.ts +99 -0
  38. package/dist/models/GetYaoChiAgentResponseBody.js +124 -0
  39. package/dist/models/GetYaoChiAgentResponseBody.js.map +1 -0
  40. package/dist/models/RunCloudBenchTaskResponseBody.d.ts +0 -59
  41. package/dist/models/RunCloudBenchTaskResponseBody.js.map +1 -1
  42. package/dist/models/model.d.ts +5 -0
  43. package/dist/models/model.js +18 -8
  44. package/dist/models/model.js.map +1 -1
  45. package/package.json +1 -1
  46. package/src/client.ts +138 -26
  47. package/src/models/CreateCacheAnalysisJobResponseBody.ts +0 -60
  48. package/src/models/CreateCloudBenchTasksResponseBody.ts +0 -4
  49. package/src/models/DescribeCacheAnalysisJobResponseBody.ts +0 -321
  50. package/src/models/DescribeCacheAnalysisJobsResponseBody.ts +0 -108
  51. package/src/models/DescribeCloudBenchTasksResponseBody.ts +0 -386
  52. package/src/models/DescribeHotBigKeysResponseBody.ts +0 -85
  53. package/src/models/DescribeHotKeysResponseBody.ts +0 -39
  54. package/src/models/DescribeTopBigKeysResponseBody.ts +0 -41
  55. package/src/models/DescribeTopHotKeysResponseBody.ts +0 -46
  56. package/src/models/GetAutonomousNotifyEventsInRangeResponseBody.ts +0 -4
  57. package/src/models/GetDasAgentSseresponse.ts +6 -0
  58. package/src/models/GetRunningSqlConcurrencyControlRulesResponseBody.ts +0 -84
  59. package/src/models/GetSqlConcurrencyControlRulesHistoryResponseBody.ts +0 -87
  60. package/src/models/GetYaoChiAgentRequest.ts +55 -0
  61. package/src/models/GetYaoChiAgentResponse.ts +46 -0
  62. package/src/models/GetYaoChiAgentResponseBody.ts +160 -0
  63. package/src/models/RunCloudBenchTaskResponseBody.ts +0 -59
  64. package/src/models/model.ts +5 -0
@@ -3,69 +3,13 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeCacheAnalysisJobResponseBodyDataBigKeysKeyInfo extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The number of bytes that are occupied by the key.
9
- *
10
- * @example
11
- * 12345
12
- */
13
6
  bytes?: number;
14
- /**
15
- * @remarks
16
- * The number of elements in the key.
17
- *
18
- * @example
19
- * 127
20
- */
21
7
  count?: number;
22
- /**
23
- * @remarks
24
- * The database name.
25
- *
26
- * @example
27
- * 0
28
- */
29
8
  db?: number;
30
- /**
31
- * @remarks
32
- * The data type of the key.
33
- *
34
- * @example
35
- * hashtable
36
- */
37
9
  encoding?: string;
38
- /**
39
- * @remarks
40
- * The time when the key expires. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. A value of 0 indicates that the key never expires.
41
- *
42
- * @example
43
- * 1596256542547
44
- */
45
10
  expirationTimeMillis?: number;
46
- /**
47
- * @remarks
48
- * The key name.
49
- *
50
- * @example
51
- * task_x****
52
- */
53
11
  key?: string;
54
- /**
55
- * @remarks
56
- * The ID of the data node on the instance.
57
- *
58
- * @example
59
- * r-x****-db-0
60
- */
61
12
  nodeId?: string;
62
- /**
63
- * @remarks
64
- * The data type of the instance.
65
- *
66
- * @example
67
- * hash
68
- */
69
13
  type?: string;
70
14
  static names(): { [key: string]: string } {
71
15
  return {
@@ -129,69 +73,13 @@ export class DescribeCacheAnalysisJobResponseBodyDataBigKeys extends $dara.Model
129
73
  }
130
74
 
131
75
  export class DescribeCacheAnalysisJobResponseBodyDataBigKeysOfNumKeyInfo extends $dara.Model {
132
- /**
133
- * @remarks
134
- * The number of bytes that are occupied by the key.
135
- *
136
- * @example
137
- * 12345
138
- */
139
76
  bytes?: number;
140
- /**
141
- * @remarks
142
- * The number of elements in the key.
143
- *
144
- * @example
145
- * 127
146
- */
147
77
  count?: number;
148
- /**
149
- * @remarks
150
- * The database name.
151
- *
152
- * @example
153
- * 0
154
- */
155
78
  db?: number;
156
- /**
157
- * @remarks
158
- * The data type of the key.
159
- *
160
- * @example
161
- * hashtable
162
- */
163
79
  encoding?: string;
164
- /**
165
- * @remarks
166
- * The time when the key expires. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. A value of 0 indicates that the key never expires.
167
- *
168
- * @example
169
- * 1596256542547
170
- */
171
80
  expirationTimeMillis?: number;
172
- /**
173
- * @remarks
174
- * The key name.
175
- *
176
- * @example
177
- * task_x****
178
- */
179
81
  key?: string;
180
- /**
181
- * @remarks
182
- * The ID of the data node on the instance.
183
- *
184
- * @example
185
- * r-x****-db-0
186
- */
187
82
  nodeId?: string;
188
- /**
189
- * @remarks
190
- * The data type of the instance.
191
- *
192
- * @example
193
- * hash
194
- */
195
83
  type?: string;
196
84
  static names(): { [key: string]: string } {
197
85
  return {
@@ -255,47 +143,9 @@ export class DescribeCacheAnalysisJobResponseBodyDataBigKeysOfNum extends $dara.
255
143
  }
256
144
 
257
145
  export class DescribeCacheAnalysisJobResponseBodyDataExpiryKeysLevelCountExpiryLevel extends $dara.Model {
258
- /**
259
- * @remarks
260
- * The time when the cache analysis task was complete. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
261
- *
262
- * @example
263
- * 1717469347000
264
- */
265
146
  analysisTs?: number;
266
- /**
267
- * @remarks
268
- * The expiration level. Valid values:
269
- *
270
- * * **0**: The key never expires.
271
- * * **1**: The key has expired.
272
- * * **2**: The key has expired for 0 to 1 hour.
273
- * * **3**: The key has expired for 1 to 3 hours.
274
- * * **4**: The key has expired for 3 to 12 hours.
275
- * * **5**: The key has expired for 12 to 24 hours.
276
- * * **6**: The key has expired for one to two days.
277
- * * **7**: The key has expired for three to seven days.
278
- * * **8**: The key has expired for more than seven days.
279
- *
280
- * @example
281
- * 0
282
- */
283
147
  level?: number;
284
- /**
285
- * @remarks
286
- * The number of bytes occupied by the keys that have expired.
287
- *
288
- * @example
289
- * 8064
290
- */
291
148
  totalBytes?: number;
292
- /**
293
- * @remarks
294
- * The total number of the keys that have expired.
295
- *
296
- * @example
297
- * 62
298
- */
299
149
  totalKeys?: number;
300
150
  static names(): { [key: string]: string } {
301
151
  return {
@@ -351,45 +201,10 @@ export class DescribeCacheAnalysisJobResponseBodyDataExpiryKeysLevelCount extend
351
201
  }
352
202
 
353
203
  export class DescribeCacheAnalysisJobResponseBodyDataKeyPrefixesPrefix extends $dara.Model {
354
- /**
355
- * @remarks
356
- * The number of bytes that are occupied by the key.
357
- *
358
- * @example
359
- * 12345
360
- */
361
204
  bytes?: number;
362
- /**
363
- * @remarks
364
- * The number of elements in the key.
365
- *
366
- * @example
367
- * 127
368
- */
369
205
  count?: number;
370
- /**
371
- * @remarks
372
- * The number of keys that contain the prefix.
373
- *
374
- * @example
375
- * 123
376
- */
377
206
  keyNum?: number;
378
- /**
379
- * @remarks
380
- * The prefix of the key.
381
- *
382
- * @example
383
- * task_
384
- */
385
207
  prefix?: string;
386
- /**
387
- * @remarks
388
- * The data type of the instance.
389
- *
390
- * @example
391
- * hash
392
- */
393
208
  type?: string;
394
209
  static names(): { [key: string]: string } {
395
210
  return {
@@ -447,69 +262,13 @@ export class DescribeCacheAnalysisJobResponseBodyDataKeyPrefixes extends $dara.M
447
262
  }
448
263
 
449
264
  export class DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfBytesKeyInfo extends $dara.Model {
450
- /**
451
- * @remarks
452
- * The number of bytes that are occupied by the key.
453
- *
454
- * @example
455
- * 12345
456
- */
457
265
  bytes?: number;
458
- /**
459
- * @remarks
460
- * The number of elements in the key.
461
- *
462
- * @example
463
- * 127
464
- */
465
266
  count?: number;
466
- /**
467
- * @remarks
468
- * The database name.
469
- *
470
- * @example
471
- * 0
472
- */
473
267
  db?: number;
474
- /**
475
- * @remarks
476
- * The data type of the key.
477
- *
478
- * @example
479
- * hashtable
480
- */
481
268
  encoding?: string;
482
- /**
483
- * @remarks
484
- * The time when the key expires. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. A value of 0 indicates that the key never expires.
485
- *
486
- * @example
487
- * 1596256542547
488
- */
489
269
  expirationTimeMillis?: number;
490
- /**
491
- * @remarks
492
- * The key name.
493
- *
494
- * @example
495
- * task_x****
496
- */
497
270
  key?: string;
498
- /**
499
- * @remarks
500
- * The ID of the data node on the instance.
501
- *
502
- * @example
503
- * r-x****-db-0
504
- */
505
271
  nodeId?: string;
506
- /**
507
- * @remarks
508
- * The data type of the instance.
509
- *
510
- * @example
511
- * hash
512
- */
513
272
  type?: string;
514
273
  static names(): { [key: string]: string } {
515
274
  return {
@@ -573,69 +332,13 @@ export class DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfBytes extends
573
332
  }
574
333
 
575
334
  export class DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfNumKeyInfo extends $dara.Model {
576
- /**
577
- * @remarks
578
- * The number of bytes that are occupied by the key.
579
- *
580
- * @example
581
- * 12345
582
- */
583
335
  bytes?: number;
584
- /**
585
- * @remarks
586
- * The number of elements in the key.
587
- *
588
- * @example
589
- * 127
590
- */
591
336
  count?: number;
592
- /**
593
- * @remarks
594
- * The database name.
595
- *
596
- * @example
597
- * 0
598
- */
599
337
  db?: number;
600
- /**
601
- * @remarks
602
- * The data type of the key.
603
- *
604
- * @example
605
- * hashtable
606
- */
607
338
  encoding?: string;
608
- /**
609
- * @remarks
610
- * The time when the key expires. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. A value of 0 indicates that the key never expires.
611
- *
612
- * @example
613
- * 1596256542547
614
- */
615
339
  expirationTimeMillis?: number;
616
- /**
617
- * @remarks
618
- * The key name.
619
- *
620
- * @example
621
- * task_x****
622
- */
623
340
  key?: string;
624
- /**
625
- * @remarks
626
- * The ID of the data node on the instance.
627
- *
628
- * @example
629
- * r-x****-db-0
630
- */
631
341
  nodeId?: string;
632
- /**
633
- * @remarks
634
- * The data type of the instance.
635
- *
636
- * @example
637
- * hash
638
- */
639
342
  type?: string;
640
343
  static names(): { [key: string]: string } {
641
344
  return {
@@ -699,20 +402,8 @@ export class DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfNum extends $d
699
402
  }
700
403
 
701
404
  export class DescribeCacheAnalysisJobResponseBodyData extends $dara.Model {
702
- /**
703
- * @remarks
704
- * The details of the large keys. The returned large keys are sorted in descending order based on the number of bytes occupied by the keys.
705
- */
706
405
  bigKeys?: DescribeCacheAnalysisJobResponseBodyDataBigKeys;
707
- /**
708
- * @remarks
709
- * The details of the large keys. The returned large keys are sorted in descending order based on the number of keys.
710
- */
711
406
  bigKeysOfNum?: DescribeCacheAnalysisJobResponseBodyDataBigKeysOfNum;
712
- /**
713
- * @remarks
714
- * The statistics of the keys that have expired.
715
- */
716
407
  expiryKeysLevelCount?: DescribeCacheAnalysisJobResponseBodyDataExpiryKeysLevelCount;
717
408
  /**
718
409
  * @remarks
@@ -730,10 +421,6 @@ export class DescribeCacheAnalysisJobResponseBodyData extends $dara.Model {
730
421
  * sf79-sd99-sa37-****
731
422
  */
732
423
  jobId?: string;
733
- /**
734
- * @remarks
735
- * The prefixes of the keys.
736
- */
737
424
  keyPrefixes?: DescribeCacheAnalysisJobResponseBodyDataKeyPrefixes;
738
425
  /**
739
426
  * @remarks
@@ -766,15 +453,7 @@ export class DescribeCacheAnalysisJobResponseBodyData extends $dara.Model {
766
453
  * BACKUP
767
454
  */
768
455
  taskState?: string;
769
- /**
770
- * @remarks
771
- * The details of permanent keys. The returned keys are sorted in descending order based on the number of bytes occupied by the keys.
772
- */
773
456
  unexBigKeysOfBytes?: DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfBytes;
774
- /**
775
- * @remarks
776
- * The details of permanent keys. The returned keys are sorted in descending order based on the number of keys.
777
- */
778
457
  unexBigKeysOfNum?: DescribeCacheAnalysisJobResponseBodyDataUnexBigKeysOfNum;
779
458
  static names(): { [key: string]: string } {
780
459
  return {
@@ -3,69 +3,13 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeCacheAnalysisJobsResponseBodyDataListCacheAnalysisJobBigKeysKeyInfo extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The number of bytes that are occupied by the key.
9
- *
10
- * @example
11
- * 12345
12
- */
13
6
  bytes?: number;
14
- /**
15
- * @remarks
16
- * The number of elements in the key.
17
- *
18
- * @example
19
- * 127
20
- */
21
7
  count?: number;
22
- /**
23
- * @remarks
24
- * The name of the database.
25
- *
26
- * @example
27
- * 0
28
- */
29
8
  db?: number;
30
- /**
31
- * @remarks
32
- * The data type of the key.
33
- *
34
- * @example
35
- * hashtable
36
- */
37
9
  encoding?: string;
38
- /**
39
- * @remarks
40
- * The expiration period of the key. Unit: milliseconds. A value of 0 indicates that the key does not expire.
41
- *
42
- * @example
43
- * 1596256542547
44
- */
45
10
  expirationTimeMillis?: number;
46
- /**
47
- * @remarks
48
- * The name of the key.
49
- *
50
- * @example
51
- * task_*****
52
- */
53
11
  key?: string;
54
- /**
55
- * @remarks
56
- * The ID of the data node on the instance.
57
- *
58
- * @example
59
- * r-****-db-0
60
- */
61
12
  nodeId?: string;
62
- /**
63
- * @remarks
64
- * The data type of the instance.
65
- *
66
- * @example
67
- * hash
68
- */
69
13
  type?: string;
70
14
  static names(): { [key: string]: string } {
71
15
  return {
@@ -129,59 +73,11 @@ export class DescribeCacheAnalysisJobsResponseBodyDataListCacheAnalysisJobBigKey
129
73
  }
130
74
 
131
75
  export class DescribeCacheAnalysisJobsResponseBodyDataListCacheAnalysisJob extends $dara.Model {
132
- /**
133
- * @remarks
134
- * The details about the large keys.
135
- *
136
- * > The sub-parameters of this parameter and the content of the sub-parameters are not returned. To query the detailed information about the cache analysis tasks, call the [DescribeCacheAnalysisJob](https://help.aliyun.com/document_detail/443012.html) operation.
137
- */
138
76
  bigKeys?: DescribeCacheAnalysisJobsResponseBodyDataListCacheAnalysisJobBigKeys;
139
- /**
140
- * @remarks
141
- * The instance ID.
142
- *
143
- * @example
144
- * r-bp18ff4a195d****
145
- */
146
77
  instanceId?: string;
147
- /**
148
- * @remarks
149
- * The ID of the cache analysis task.
150
- *
151
- * @example
152
- * sf79-sd99-sa37-****
153
- */
154
78
  jobId?: string;
155
- /**
156
- * @remarks
157
- * The returned message.
158
- *
159
- * > If the request was successful, **Successful** is returned. If the request failed, an error message such as an error code is returned.
160
- *
161
- * @example
162
- * Successful
163
- */
164
79
  message?: string;
165
- /**
166
- * @remarks
167
- * The ID of the data node on the instance.
168
- *
169
- * @example
170
- * r-x****-db-0
171
- */
172
80
  nodeId?: string;
173
- /**
174
- * @remarks
175
- * The state of the cache analysis task. Valid values:
176
- *
177
- * * **BACKUP**: The data is being backed up.
178
- * * **ANALYZING**: The data is being analyzed.
179
- * * **FINISHED**: The data is analyzed.
180
- * * **FAILED**: An error occurred.
181
- *
182
- * @example
183
- * BACKUP
184
- */
185
81
  taskState?: string;
186
82
  static names(): { [key: string]: string } {
187
83
  return {
@@ -252,10 +148,6 @@ export class DescribeCacheAnalysisJobsResponseBodyData extends $dara.Model {
252
148
  * None
253
149
  */
254
150
  extra?: string;
255
- /**
256
- * @remarks
257
- * The ID of the data node on the instance.
258
- */
259
151
  list?: DescribeCacheAnalysisJobsResponseBodyDataList;
260
152
  /**
261
153
  * @remarks