kb-cloud-client-typescript 2.3.0-alpha.135 → 2.3.0-alpha.137

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 (193) hide show
  1. package/dist/adminapi/apis/diagnostics-api.d.ts +6 -6
  2. package/dist/adminapi/apis/diagnostics-api.js +4 -4
  3. package/dist/adminapi/apis/dms-api.d.ts +230 -22
  4. package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
  5. package/dist/adminapi/apis/dms-api.js +219 -55
  6. package/dist/adminapi/apis/dms-api.js.map +1 -1
  7. package/dist/adminapi/models/index.d.ts +11 -0
  8. package/dist/adminapi/models/index.d.ts.map +1 -1
  9. package/dist/adminapi/models/index.js +11 -0
  10. package/dist/adminapi/models/index.js.map +1 -1
  11. package/dist/adminapi/models/inspection-criticality.d.ts +24 -0
  12. package/dist/adminapi/models/inspection-criticality.d.ts.map +1 -0
  13. package/dist/adminapi/models/inspection-criticality.js +28 -0
  14. package/dist/adminapi/models/inspection-criticality.js.map +1 -0
  15. package/dist/adminapi/models/inspection-script-category.d.ts +7 -4
  16. package/dist/adminapi/models/inspection-script-category.d.ts.map +1 -1
  17. package/dist/adminapi/models/inspection-script-category.js +7 -4
  18. package/dist/adminapi/models/inspection-script-category.js.map +1 -1
  19. package/dist/adminapi/models/inspection-script.d.ts +38 -0
  20. package/dist/adminapi/models/inspection-script.d.ts.map +1 -1
  21. package/dist/adminapi/models/inspection-task-item.d.ts +58 -0
  22. package/dist/adminapi/models/inspection-task-item.d.ts.map +1 -1
  23. package/dist/adminapi/models/inspection-task.d.ts +25 -1
  24. package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
  25. package/dist/adminapi/models/inspection-threshold-direction.d.ts +23 -0
  26. package/dist/adminapi/models/inspection-threshold-direction.d.ts.map +1 -0
  27. package/dist/adminapi/models/inspection-threshold-direction.js +27 -0
  28. package/dist/adminapi/models/inspection-threshold-direction.js.map +1 -0
  29. package/dist/adminapi/models/performance-trend-range.d.ts +1 -1
  30. package/dist/adminapi/models/performance-trend-series.d.ts +1 -1
  31. package/dist/adminapi/models/performance-trend-summary.d.ts +1 -1
  32. package/dist/adminapi/models/redis-analysis-expiration-group.d.ts +55 -0
  33. package/dist/adminapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
  34. package/dist/adminapi/models/redis-analysis-expiration-group.js +16 -0
  35. package/dist/adminapi/models/redis-analysis-expiration-group.js.map +1 -0
  36. package/dist/adminapi/models/redis-analysis-filter.d.ts +31 -0
  37. package/dist/adminapi/models/redis-analysis-filter.d.ts.map +1 -0
  38. package/dist/adminapi/models/redis-analysis-filter.js +16 -0
  39. package/dist/adminapi/models/redis-analysis-filter.js.map +1 -0
  40. package/dist/adminapi/models/redis-analysis-key.d.ts +61 -0
  41. package/dist/adminapi/models/redis-analysis-key.d.ts.map +1 -0
  42. package/dist/adminapi/models/redis-analysis-key.js +16 -0
  43. package/dist/adminapi/models/redis-analysis-key.js.map +1 -0
  44. package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts +56 -0
  45. package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
  46. package/dist/adminapi/models/redis-analysis-namespace-summary.js +16 -0
  47. package/dist/adminapi/models/redis-analysis-namespace-summary.js.map +1 -0
  48. package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
  49. package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
  50. package/dist/adminapi/models/redis-analysis-namespace-type-summary.js +16 -0
  51. package/dist/adminapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
  52. package/dist/adminapi/models/redis-analysis-progress.d.ts +85 -0
  53. package/dist/adminapi/models/redis-analysis-progress.d.ts.map +1 -0
  54. package/dist/adminapi/models/redis-analysis-progress.js +16 -0
  55. package/dist/adminapi/models/redis-analysis-progress.js.map +1 -0
  56. package/dist/adminapi/models/redis-analysis-response.d.ts +115 -0
  57. package/dist/adminapi/models/redis-analysis-response.d.ts.map +1 -0
  58. package/dist/adminapi/models/redis-analysis-response.js +16 -0
  59. package/dist/adminapi/models/redis-analysis-response.js.map +1 -0
  60. package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
  61. package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
  62. package/dist/adminapi/models/redis-analysis-simple-type-summary.js +16 -0
  63. package/dist/adminapi/models/redis-analysis-simple-type-summary.js.map +1 -0
  64. package/dist/adminapi/models/redis-analysis-typed-summary.d.ts +32 -0
  65. package/dist/adminapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
  66. package/dist/adminapi/models/redis-analysis-typed-summary.js +16 -0
  67. package/dist/adminapi/models/redis-analysis-typed-summary.js.map +1 -0
  68. package/dist/adminapi/models/redis-data-capabilities.d.ts +12 -0
  69. package/dist/adminapi/models/redis-data-capabilities.d.ts.map +1 -1
  70. package/dist/adminapi/models/redis-data-context.d.ts +7 -1
  71. package/dist/adminapi/models/redis-data-context.d.ts.map +1 -1
  72. package/dist/openapi/apis/diagnostics-api.d.ts +6 -6
  73. package/dist/openapi/apis/diagnostics-api.js +4 -4
  74. package/dist/openapi/apis/dms-api.d.ts +230 -22
  75. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  76. package/dist/openapi/apis/dms-api.js +219 -55
  77. package/dist/openapi/apis/dms-api.js.map +1 -1
  78. package/dist/openapi/models/index.d.ts +11 -0
  79. package/dist/openapi/models/index.d.ts.map +1 -1
  80. package/dist/openapi/models/index.js +11 -0
  81. package/dist/openapi/models/index.js.map +1 -1
  82. package/dist/openapi/models/inspection-criticality.d.ts +24 -0
  83. package/dist/openapi/models/inspection-criticality.d.ts.map +1 -0
  84. package/dist/openapi/models/inspection-criticality.js +28 -0
  85. package/dist/openapi/models/inspection-criticality.js.map +1 -0
  86. package/dist/openapi/models/inspection-script-category.d.ts +7 -4
  87. package/dist/openapi/models/inspection-script-category.d.ts.map +1 -1
  88. package/dist/openapi/models/inspection-script-category.js +7 -4
  89. package/dist/openapi/models/inspection-script-category.js.map +1 -1
  90. package/dist/openapi/models/inspection-script.d.ts +38 -0
  91. package/dist/openapi/models/inspection-script.d.ts.map +1 -1
  92. package/dist/openapi/models/inspection-task-item.d.ts +58 -0
  93. package/dist/openapi/models/inspection-task-item.d.ts.map +1 -1
  94. package/dist/openapi/models/inspection-task.d.ts +25 -1
  95. package/dist/openapi/models/inspection-task.d.ts.map +1 -1
  96. package/dist/openapi/models/inspection-threshold-direction.d.ts +23 -0
  97. package/dist/openapi/models/inspection-threshold-direction.d.ts.map +1 -0
  98. package/dist/openapi/models/inspection-threshold-direction.js +27 -0
  99. package/dist/openapi/models/inspection-threshold-direction.js.map +1 -0
  100. package/dist/openapi/models/performance-trend-range.d.ts +1 -1
  101. package/dist/openapi/models/performance-trend-series.d.ts +1 -1
  102. package/dist/openapi/models/performance-trend-summary.d.ts +1 -1
  103. package/dist/openapi/models/redis-analysis-expiration-group.d.ts +55 -0
  104. package/dist/openapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
  105. package/dist/openapi/models/redis-analysis-expiration-group.js +16 -0
  106. package/dist/openapi/models/redis-analysis-expiration-group.js.map +1 -0
  107. package/dist/openapi/models/redis-analysis-filter.d.ts +31 -0
  108. package/dist/openapi/models/redis-analysis-filter.d.ts.map +1 -0
  109. package/dist/openapi/models/redis-analysis-filter.js +16 -0
  110. package/dist/openapi/models/redis-analysis-filter.js.map +1 -0
  111. package/dist/openapi/models/redis-analysis-key.d.ts +61 -0
  112. package/dist/openapi/models/redis-analysis-key.d.ts.map +1 -0
  113. package/dist/openapi/models/redis-analysis-key.js +16 -0
  114. package/dist/openapi/models/redis-analysis-key.js.map +1 -0
  115. package/dist/openapi/models/redis-analysis-namespace-summary.d.ts +56 -0
  116. package/dist/openapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
  117. package/dist/openapi/models/redis-analysis-namespace-summary.js +16 -0
  118. package/dist/openapi/models/redis-analysis-namespace-summary.js.map +1 -0
  119. package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
  120. package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
  121. package/dist/openapi/models/redis-analysis-namespace-type-summary.js +16 -0
  122. package/dist/openapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
  123. package/dist/openapi/models/redis-analysis-progress.d.ts +85 -0
  124. package/dist/openapi/models/redis-analysis-progress.d.ts.map +1 -0
  125. package/dist/openapi/models/redis-analysis-progress.js +16 -0
  126. package/dist/openapi/models/redis-analysis-progress.js.map +1 -0
  127. package/dist/openapi/models/redis-analysis-response.d.ts +115 -0
  128. package/dist/openapi/models/redis-analysis-response.d.ts.map +1 -0
  129. package/dist/openapi/models/redis-analysis-response.js +16 -0
  130. package/dist/openapi/models/redis-analysis-response.js.map +1 -0
  131. package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
  132. package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
  133. package/dist/openapi/models/redis-analysis-simple-type-summary.js +16 -0
  134. package/dist/openapi/models/redis-analysis-simple-type-summary.js.map +1 -0
  135. package/dist/openapi/models/redis-analysis-typed-summary.d.ts +32 -0
  136. package/dist/openapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
  137. package/dist/openapi/models/redis-analysis-typed-summary.js +16 -0
  138. package/dist/openapi/models/redis-analysis-typed-summary.js.map +1 -0
  139. package/dist/openapi/models/redis-data-capabilities.d.ts +12 -0
  140. package/dist/openapi/models/redis-data-capabilities.d.ts.map +1 -1
  141. package/dist/openapi/models/redis-data-context.d.ts +7 -1
  142. package/dist/openapi/models/redis-data-context.d.ts.map +1 -1
  143. package/package.json +1 -1
  144. package/src/adminapi/.openapi-generator/FILES +11 -0
  145. package/src/adminapi/apis/diagnostics-api.ts +6 -6
  146. package/src/adminapi/apis/dms-api.ts +402 -55
  147. package/src/adminapi/models/index.ts +11 -0
  148. package/src/adminapi/models/inspection-criticality.ts +33 -0
  149. package/src/adminapi/models/inspection-script-category.ts +7 -4
  150. package/src/adminapi/models/inspection-script.ts +42 -0
  151. package/src/adminapi/models/inspection-task-item.ts +62 -0
  152. package/src/adminapi/models/inspection-task.ts +25 -1
  153. package/src/adminapi/models/inspection-threshold-direction.ts +32 -0
  154. package/src/adminapi/models/performance-trend-range.ts +1 -1
  155. package/src/adminapi/models/performance-trend-series.ts +1 -1
  156. package/src/adminapi/models/performance-trend-summary.ts +1 -1
  157. package/src/adminapi/models/redis-analysis-expiration-group.ts +60 -0
  158. package/src/adminapi/models/redis-analysis-filter.ts +36 -0
  159. package/src/adminapi/models/redis-analysis-key.ts +66 -0
  160. package/src/adminapi/models/redis-analysis-namespace-summary.ts +63 -0
  161. package/src/adminapi/models/redis-analysis-namespace-type-summary.ts +54 -0
  162. package/src/adminapi/models/redis-analysis-progress.ts +90 -0
  163. package/src/adminapi/models/redis-analysis-response.ts +132 -0
  164. package/src/adminapi/models/redis-analysis-simple-type-summary.ts +42 -0
  165. package/src/adminapi/models/redis-analysis-typed-summary.ts +39 -0
  166. package/src/adminapi/models/redis-data-capabilities.ts +12 -0
  167. package/src/adminapi/models/redis-data-context.ts +7 -1
  168. package/src/adminapi.yaml +475 -9
  169. package/src/openapi/.openapi-generator/FILES +11 -0
  170. package/src/openapi/apis/diagnostics-api.ts +6 -6
  171. package/src/openapi/apis/dms-api.ts +402 -55
  172. package/src/openapi/models/index.ts +11 -0
  173. package/src/openapi/models/inspection-criticality.ts +33 -0
  174. package/src/openapi/models/inspection-script-category.ts +7 -4
  175. package/src/openapi/models/inspection-script.ts +42 -0
  176. package/src/openapi/models/inspection-task-item.ts +62 -0
  177. package/src/openapi/models/inspection-task.ts +25 -1
  178. package/src/openapi/models/inspection-threshold-direction.ts +32 -0
  179. package/src/openapi/models/performance-trend-range.ts +1 -1
  180. package/src/openapi/models/performance-trend-series.ts +1 -1
  181. package/src/openapi/models/performance-trend-summary.ts +1 -1
  182. package/src/openapi/models/redis-analysis-expiration-group.ts +60 -0
  183. package/src/openapi/models/redis-analysis-filter.ts +36 -0
  184. package/src/openapi/models/redis-analysis-key.ts +66 -0
  185. package/src/openapi/models/redis-analysis-namespace-summary.ts +63 -0
  186. package/src/openapi/models/redis-analysis-namespace-type-summary.ts +54 -0
  187. package/src/openapi/models/redis-analysis-progress.ts +90 -0
  188. package/src/openapi/models/redis-analysis-response.ts +132 -0
  189. package/src/openapi/models/redis-analysis-simple-type-summary.ts +42 -0
  190. package/src/openapi/models/redis-analysis-typed-summary.ts +39 -0
  191. package/src/openapi/models/redis-data-capabilities.ts +12 -0
  192. package/src/openapi/models/redis-data-context.ts +7 -1
  193. package/src/openapi.yaml +475 -9
@@ -429,11 +429,13 @@ export * from './import-task-status';
429
429
  export * from './init-option-item';
430
430
  export * from './init-option-object';
431
431
  export * from './init-option-type';
432
+ export * from './inspection-criticality';
432
433
  export * from './inspection-script';
433
434
  export * from './inspection-script-category';
434
435
  export * from './inspection-task';
435
436
  export * from './inspection-task-format';
436
437
  export * from './inspection-task-item';
438
+ export * from './inspection-threshold-direction';
437
439
  export * from './instance';
438
440
  export * from './instance-disk-usage-item';
439
441
  export * from './instance-event-item';
@@ -688,6 +690,15 @@ export * from './recycle-bin-cluster';
688
690
  export * from './recycle-bin-cluster-list';
689
691
  export * from './recycle-bin-cluster-list-item';
690
692
  export * from './redis-aclcontext';
693
+ export * from './redis-analysis-expiration-group';
694
+ export * from './redis-analysis-filter';
695
+ export * from './redis-analysis-key';
696
+ export * from './redis-analysis-namespace-summary';
697
+ export * from './redis-analysis-namespace-type-summary';
698
+ export * from './redis-analysis-progress';
699
+ export * from './redis-analysis-response';
700
+ export * from './redis-analysis-simple-type-summary';
701
+ export * from './redis-analysis-typed-summary';
691
702
  export * from './redis-capability';
692
703
  export * from './redis-cluster-node';
693
704
  export * from './redis-cluster-slot';
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * First-version criticality assumption for score weighting and red-item veto behavior. Missing legacy values are treated as medium.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const InspectionCriticality = {
24
+ critical: 'critical',
25
+ high: 'high',
26
+ medium: 'medium',
27
+ low: 'low'
28
+ } as const;
29
+
30
+ export type InspectionCriticality = typeof InspectionCriticality[keyof typeof InspectionCriticality];
31
+
32
+
33
+
@@ -15,17 +15,20 @@
15
15
 
16
16
 
17
17
  /**
18
- * Specifies the category of the inspection script.
18
+ * Current inspection category vocabulary. Existing legacy categories are normalized by the backend before they are returned.
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
22
22
 
23
23
  export const InspectionScriptCategory = {
24
- performance: 'performance',
25
24
  availability: 'availability',
26
- security: 'security',
25
+ performance: 'performance',
26
+ connections: 'connections',
27
+ resource: 'resource',
28
+ capacity: 'capacity',
29
+ vacuumWraparound: 'vacuumWraparound',
27
30
  backup: 'backup',
28
- other: 'other'
31
+ security: 'security'
29
32
  } as const;
30
33
 
31
34
  export type InspectionScriptCategory = typeof InspectionScriptCategory[keyof typeof InspectionScriptCategory];
@@ -13,11 +13,17 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { InspectionCriticality } from './inspection-criticality';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import type { InspectionScriptCategory } from './inspection-script-category';
19
22
  // May contain unused imports in some cases
20
23
  // @ts-ignore
24
+ import type { InspectionThresholdDirection } from './inspection-threshold-direction';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
21
27
  import type { LocalizedDescription } from './localized-description';
22
28
 
23
29
  /**
@@ -80,6 +86,42 @@ export interface InspectionScript {
80
86
  * @memberof InspectionScript
81
87
  */
82
88
  'checkExpr'?: string;
89
+ /**
90
+ *
91
+ * @type {InspectionCriticality}
92
+ * @memberof InspectionScript
93
+ */
94
+ 'criticality'?: InspectionCriticality;
95
+ /**
96
+ * First-version warning threshold assumption. It documents the script contract and is not a permanent product conclusion.
97
+ * @type {number}
98
+ * @memberof InspectionScript
99
+ */
100
+ 'warnThreshold'?: number | null;
101
+ /**
102
+ * First-version critical threshold assumption. It documents the script contract and is not a permanent product conclusion.
103
+ * @type {number}
104
+ * @memberof InspectionScript
105
+ */
106
+ 'critThreshold'?: number | null;
107
+ /**
108
+ *
109
+ * @type {InspectionThresholdDirection}
110
+ * @memberof InspectionScript
111
+ */
112
+ 'direction'?: InspectionThresholdDirection;
113
+ /**
114
+ *
115
+ * @type {LocalizedDescription}
116
+ * @memberof InspectionScript
117
+ */
118
+ 'remediation'?: LocalizedDescription;
119
+ /**
120
+ *
121
+ * @type {string}
122
+ * @memberof InspectionScript
123
+ */
124
+ 'docLink'?: string;
83
125
  /**
84
126
  * scope type, such as \"system\"/\"global\"/\"org\"
85
127
  * @type {string}
@@ -13,6 +13,12 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { InspectionCriticality } from './inspection-criticality';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { InspectionThresholdDirection } from './inspection-threshold-direction';
16
22
  // May contain unused imports in some cases
17
23
  // @ts-ignore
18
24
  import type { LocalizedDescription } from './localized-description';
@@ -89,6 +95,60 @@ export interface InspectionTaskItem {
89
95
  * @memberof InspectionTaskItem
90
96
  */
91
97
  'result'?: string;
98
+ /**
99
+ * Numeric form of result when the result is parseable.
100
+ * @type {number}
101
+ * @memberof InspectionTaskItem
102
+ */
103
+ 'valueNum'?: number | null;
104
+ /**
105
+ *
106
+ * @type {number}
107
+ * @memberof InspectionTaskItem
108
+ */
109
+ 'warnThreshold'?: number | null;
110
+ /**
111
+ *
112
+ * @type {number}
113
+ * @memberof InspectionTaskItem
114
+ */
115
+ 'critThreshold'?: number | null;
116
+ /**
117
+ *
118
+ * @type {InspectionThresholdDirection}
119
+ * @memberof InspectionTaskItem
120
+ */
121
+ 'direction'?: InspectionThresholdDirection;
122
+ /**
123
+ *
124
+ * @type {InspectionCriticality}
125
+ * @memberof InspectionTaskItem
126
+ */
127
+ 'criticality'?: InspectionCriticality;
128
+ /**
129
+ * Structured evidence used to explain the item result. Prometheus/exporter no-data is reported here as no data or unknown instead of being converted into a healthy result.
130
+ * @type {{ [key: string]: any; }}
131
+ * @memberof InspectionTaskItem
132
+ */
133
+ 'evidence'?: { [key: string]: any; };
134
+ /**
135
+ * Item-level timestamp for when this item\'s status was last evaluated or changed.
136
+ * @type {string}
137
+ * @memberof InspectionTaskItem
138
+ */
139
+ 'statusChangedAt'?: string;
140
+ /**
141
+ *
142
+ * @type {LocalizedDescription}
143
+ * @memberof InspectionTaskItem
144
+ */
145
+ 'remediation'?: LocalizedDescription;
146
+ /**
147
+ *
148
+ * @type {string}
149
+ * @memberof InspectionTaskItem
150
+ */
151
+ 'docLink'?: string;
92
152
  /**
93
153
  *
94
154
  * @type {string}
@@ -115,3 +175,5 @@ export interface InspectionTaskItem {
115
175
  'updatedAt'?: string;
116
176
  }
117
177
 
178
+
179
+
@@ -96,11 +96,35 @@ export interface InspectionTask {
96
96
  */
97
97
  'score'?: number;
98
98
  /**
99
- *
99
+ * Backend truth derived from the worst item state and criticality-aware score caps. A red item makes the task red; a critical red item caps score at 40.
100
100
  * @type {string}
101
101
  * @memberof InspectionTask
102
102
  */
103
103
  'result'?: string;
104
+ /**
105
+ * Last inspection execution timestamp used for freshness checks.
106
+ * @type {string}
107
+ * @memberof InspectionTask
108
+ */
109
+ 'latestRunAt'?: string;
110
+ /**
111
+ * Expected first-version inspection interval assumption, for example 1h.
112
+ * @type {string}
113
+ * @memberof InspectionTask
114
+ */
115
+ 'expectedInterval'?: string;
116
+ /**
117
+ * Expected next inspection time derived from latestRunAt and expectedInterval.
118
+ * @type {string}
119
+ * @memberof InspectionTask
120
+ */
121
+ 'nextRunAt'?: string;
122
+ /**
123
+ * True when the latest inspection is older than the expected interval. Stale or missing inspection data must not be displayed as healthy.
124
+ * @type {boolean}
125
+ * @memberof InspectionTask
126
+ */
127
+ 'isStale'?: boolean;
104
128
  /**
105
129
  *
106
130
  * @type {Array<InspectionTaskItem>}
@@ -0,0 +1,32 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * Direction used to interpret warnThreshold and critThreshold. asc means larger values are worse, desc means smaller values are worse, boolean means the check expression decides.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const InspectionThresholdDirection = {
24
+ asc: 'asc',
25
+ desc: 'desc',
26
+ boolean: 'boolean'
27
+ } as const;
28
+
29
+ export type InspectionThresholdDirection = typeof InspectionThresholdDirection[keyof typeof InspectionThresholdDirection];
30
+
31
+
32
+
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface PerformanceTrendRange {
23
23
  /**
24
- * Controlled query range label. Values are 1h, 6h, or 24h.
24
+ * Controlled query range label. Values are 1h, 6h, 24h, or 7d.
25
25
  * @type {string}
26
26
  * @memberof PerformanceTrendRange
27
27
  */
@@ -39,7 +39,7 @@ export interface PerformanceTrendSeries {
39
39
  */
40
40
  'displayName': LocalizedDescription;
41
41
  /**
42
- * Metric category. Values are connectionsSessions, workload, resourcePressure, storagePVC, availability, maintenance, performance, or capacity.
42
+ * Metric category. Values are availability, performance, connections, resource, capacity, or vacuumWraparound.
43
43
  * @type {string}
44
44
  * @memberof PerformanceTrendSeries
45
45
  */
@@ -36,7 +36,7 @@ export interface PerformanceTrendSummary {
36
36
  */
37
37
  'displayName': LocalizedDescription;
38
38
  /**
39
- * Metric category. Values are connectionsSessions, workload, resourcePressure, storagePVC, availability, maintenance, performance, or capacity.
39
+ * Metric category. Values are availability, performance, connections, resource, capacity, or vacuumWraparound.
40
40
  * @type {string}
41
41
  * @memberof PerformanceTrendSummary
42
42
  */
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RedisAnalysisExpirationGroup
21
+ */
22
+ export interface RedisAnalysisExpirationGroup {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof RedisAnalysisExpirationGroup
27
+ */
28
+ 'threshold'?: number;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof RedisAnalysisExpirationGroup
33
+ */
34
+ 'label'?: string;
35
+ /**
36
+ * Memory bytes likely to be freed in this TTL group.
37
+ * @type {number}
38
+ * @memberof RedisAnalysisExpirationGroup
39
+ */
40
+ 'total'?: number;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof RedisAnalysisExpirationGroup
45
+ */
46
+ 'keys'?: number;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof RedisAnalysisExpirationGroup
51
+ */
52
+ 'keyRatio'?: number;
53
+ /**
54
+ *
55
+ * @type {number}
56
+ * @memberof RedisAnalysisExpirationGroup
57
+ */
58
+ 'memoryRatio'?: number;
59
+ }
60
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RedisAnalysisFilter
21
+ */
22
+ export interface RedisAnalysisFilter {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof RedisAnalysisFilter
27
+ */
28
+ 'match'?: string;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof RedisAnalysisFilter
33
+ */
34
+ 'count'?: number;
35
+ }
36
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RedisAnalysisKey
21
+ */
22
+ export interface RedisAnalysisKey {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof RedisAnalysisKey
27
+ */
28
+ 'name'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof RedisAnalysisKey
33
+ */
34
+ 'type'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof RedisAnalysisKey
39
+ */
40
+ 'nsp'?: string;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof RedisAnalysisKey
45
+ */
46
+ 'ttl'?: number;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof RedisAnalysisKey
51
+ */
52
+ 'memory'?: number;
53
+ /**
54
+ *
55
+ * @type {number}
56
+ * @memberof RedisAnalysisKey
57
+ */
58
+ 'length'?: number;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof RedisAnalysisKey
63
+ */
64
+ 'encoding'?: string;
65
+ }
66
+
@@ -0,0 +1,63 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { RedisAnalysisNamespaceTypeSummary } from './redis-analysis-namespace-type-summary';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface RedisAnalysisNamespaceSummary
24
+ */
25
+ export interface RedisAnalysisNamespaceSummary {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof RedisAnalysisNamespaceSummary
30
+ */
31
+ 'nsp'?: string;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof RedisAnalysisNamespaceSummary
36
+ */
37
+ 'keys'?: number;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof RedisAnalysisNamespaceSummary
42
+ */
43
+ 'memory'?: number;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof RedisAnalysisNamespaceSummary
48
+ */
49
+ 'keyRatio'?: number;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof RedisAnalysisNamespaceSummary
54
+ */
55
+ 'memoryRatio'?: number;
56
+ /**
57
+ *
58
+ * @type {Array<RedisAnalysisNamespaceTypeSummary>}
59
+ * @memberof RedisAnalysisNamespaceSummary
60
+ */
61
+ 'types'?: Array<RedisAnalysisNamespaceTypeSummary>;
62
+ }
63
+
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface RedisAnalysisNamespaceTypeSummary
21
+ */
22
+ export interface RedisAnalysisNamespaceTypeSummary {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof RedisAnalysisNamespaceTypeSummary
27
+ */
28
+ 'type'?: string;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof RedisAnalysisNamespaceTypeSummary
33
+ */
34
+ 'keys'?: number;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof RedisAnalysisNamespaceTypeSummary
39
+ */
40
+ 'memory'?: number;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof RedisAnalysisNamespaceTypeSummary
45
+ */
46
+ 'keyRatio'?: number;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof RedisAnalysisNamespaceTypeSummary
51
+ */
52
+ 'memoryRatio'?: number;
53
+ }
54
+