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.
- package/dist/adminapi/apis/diagnostics-api.d.ts +6 -6
- package/dist/adminapi/apis/diagnostics-api.js +4 -4
- package/dist/adminapi/apis/dms-api.d.ts +230 -22
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +219 -55
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +11 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +11 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-criticality.d.ts +24 -0
- package/dist/adminapi/models/inspection-criticality.d.ts.map +1 -0
- package/dist/adminapi/models/inspection-criticality.js +28 -0
- package/dist/adminapi/models/inspection-criticality.js.map +1 -0
- package/dist/adminapi/models/inspection-script-category.d.ts +7 -4
- package/dist/adminapi/models/inspection-script-category.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-script-category.js +7 -4
- package/dist/adminapi/models/inspection-script-category.js.map +1 -1
- package/dist/adminapi/models/inspection-script.d.ts +38 -0
- package/dist/adminapi/models/inspection-script.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-task-item.d.ts +58 -0
- package/dist/adminapi/models/inspection-task-item.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-task.d.ts +25 -1
- package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-threshold-direction.d.ts +23 -0
- package/dist/adminapi/models/inspection-threshold-direction.d.ts.map +1 -0
- package/dist/adminapi/models/inspection-threshold-direction.js +27 -0
- package/dist/adminapi/models/inspection-threshold-direction.js.map +1 -0
- package/dist/adminapi/models/performance-trend-range.d.ts +1 -1
- package/dist/adminapi/models/performance-trend-series.d.ts +1 -1
- package/dist/adminapi/models/performance-trend-summary.d.ts +1 -1
- package/dist/adminapi/models/redis-analysis-expiration-group.d.ts +55 -0
- package/dist/adminapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-expiration-group.js +16 -0
- package/dist/adminapi/models/redis-analysis-expiration-group.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-filter.d.ts +31 -0
- package/dist/adminapi/models/redis-analysis-filter.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-filter.js +16 -0
- package/dist/adminapi/models/redis-analysis-filter.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-key.d.ts +61 -0
- package/dist/adminapi/models/redis-analysis-key.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-key.js +16 -0
- package/dist/adminapi/models/redis-analysis-key.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts +56 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-namespace-summary.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-progress.d.ts +85 -0
- package/dist/adminapi/models/redis-analysis-progress.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-progress.js +16 -0
- package/dist/adminapi/models/redis-analysis-progress.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-response.d.ts +115 -0
- package/dist/adminapi/models/redis-analysis-response.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-response.js +16 -0
- package/dist/adminapi/models/redis-analysis-response.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-simple-type-summary.js.map +1 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.d.ts +32 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.js +16 -0
- package/dist/adminapi/models/redis-analysis-typed-summary.js.map +1 -0
- package/dist/adminapi/models/redis-data-capabilities.d.ts +12 -0
- package/dist/adminapi/models/redis-data-capabilities.d.ts.map +1 -1
- package/dist/adminapi/models/redis-data-context.d.ts +7 -1
- package/dist/adminapi/models/redis-data-context.d.ts.map +1 -1
- package/dist/openapi/apis/diagnostics-api.d.ts +6 -6
- package/dist/openapi/apis/diagnostics-api.js +4 -4
- package/dist/openapi/apis/dms-api.d.ts +230 -22
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +219 -55
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +11 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +11 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-criticality.d.ts +24 -0
- package/dist/openapi/models/inspection-criticality.d.ts.map +1 -0
- package/dist/openapi/models/inspection-criticality.js +28 -0
- package/dist/openapi/models/inspection-criticality.js.map +1 -0
- package/dist/openapi/models/inspection-script-category.d.ts +7 -4
- package/dist/openapi/models/inspection-script-category.d.ts.map +1 -1
- package/dist/openapi/models/inspection-script-category.js +7 -4
- package/dist/openapi/models/inspection-script-category.js.map +1 -1
- package/dist/openapi/models/inspection-script.d.ts +38 -0
- package/dist/openapi/models/inspection-script.d.ts.map +1 -1
- package/dist/openapi/models/inspection-task-item.d.ts +58 -0
- package/dist/openapi/models/inspection-task-item.d.ts.map +1 -1
- package/dist/openapi/models/inspection-task.d.ts +25 -1
- package/dist/openapi/models/inspection-task.d.ts.map +1 -1
- package/dist/openapi/models/inspection-threshold-direction.d.ts +23 -0
- package/dist/openapi/models/inspection-threshold-direction.d.ts.map +1 -0
- package/dist/openapi/models/inspection-threshold-direction.js +27 -0
- package/dist/openapi/models/inspection-threshold-direction.js.map +1 -0
- package/dist/openapi/models/performance-trend-range.d.ts +1 -1
- package/dist/openapi/models/performance-trend-series.d.ts +1 -1
- package/dist/openapi/models/performance-trend-summary.d.ts +1 -1
- package/dist/openapi/models/redis-analysis-expiration-group.d.ts +55 -0
- package/dist/openapi/models/redis-analysis-expiration-group.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-expiration-group.js +16 -0
- package/dist/openapi/models/redis-analysis-expiration-group.js.map +1 -0
- package/dist/openapi/models/redis-analysis-filter.d.ts +31 -0
- package/dist/openapi/models/redis-analysis-filter.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-filter.js +16 -0
- package/dist/openapi/models/redis-analysis-filter.js.map +1 -0
- package/dist/openapi/models/redis-analysis-key.d.ts +61 -0
- package/dist/openapi/models/redis-analysis-key.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-key.js +16 -0
- package/dist/openapi/models/redis-analysis-key.js.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.d.ts +56 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-namespace-summary.js.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts +49 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-namespace-type-summary.js.map +1 -0
- package/dist/openapi/models/redis-analysis-progress.d.ts +85 -0
- package/dist/openapi/models/redis-analysis-progress.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-progress.js +16 -0
- package/dist/openapi/models/redis-analysis-progress.js.map +1 -0
- package/dist/openapi/models/redis-analysis-response.d.ts +115 -0
- package/dist/openapi/models/redis-analysis-response.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-response.js +16 -0
- package/dist/openapi/models/redis-analysis-response.js.map +1 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts +37 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-simple-type-summary.js.map +1 -0
- package/dist/openapi/models/redis-analysis-typed-summary.d.ts +32 -0
- package/dist/openapi/models/redis-analysis-typed-summary.d.ts.map +1 -0
- package/dist/openapi/models/redis-analysis-typed-summary.js +16 -0
- package/dist/openapi/models/redis-analysis-typed-summary.js.map +1 -0
- package/dist/openapi/models/redis-data-capabilities.d.ts +12 -0
- package/dist/openapi/models/redis-data-capabilities.d.ts.map +1 -1
- package/dist/openapi/models/redis-data-context.d.ts +7 -1
- package/dist/openapi/models/redis-data-context.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +11 -0
- package/src/adminapi/apis/diagnostics-api.ts +6 -6
- package/src/adminapi/apis/dms-api.ts +402 -55
- package/src/adminapi/models/index.ts +11 -0
- package/src/adminapi/models/inspection-criticality.ts +33 -0
- package/src/adminapi/models/inspection-script-category.ts +7 -4
- package/src/adminapi/models/inspection-script.ts +42 -0
- package/src/adminapi/models/inspection-task-item.ts +62 -0
- package/src/adminapi/models/inspection-task.ts +25 -1
- package/src/adminapi/models/inspection-threshold-direction.ts +32 -0
- package/src/adminapi/models/performance-trend-range.ts +1 -1
- package/src/adminapi/models/performance-trend-series.ts +1 -1
- package/src/adminapi/models/performance-trend-summary.ts +1 -1
- package/src/adminapi/models/redis-analysis-expiration-group.ts +60 -0
- package/src/adminapi/models/redis-analysis-filter.ts +36 -0
- package/src/adminapi/models/redis-analysis-key.ts +66 -0
- package/src/adminapi/models/redis-analysis-namespace-summary.ts +63 -0
- package/src/adminapi/models/redis-analysis-namespace-type-summary.ts +54 -0
- package/src/adminapi/models/redis-analysis-progress.ts +90 -0
- package/src/adminapi/models/redis-analysis-response.ts +132 -0
- package/src/adminapi/models/redis-analysis-simple-type-summary.ts +42 -0
- package/src/adminapi/models/redis-analysis-typed-summary.ts +39 -0
- package/src/adminapi/models/redis-data-capabilities.ts +12 -0
- package/src/adminapi/models/redis-data-context.ts +7 -1
- package/src/adminapi.yaml +475 -9
- package/src/openapi/.openapi-generator/FILES +11 -0
- package/src/openapi/apis/diagnostics-api.ts +6 -6
- package/src/openapi/apis/dms-api.ts +402 -55
- package/src/openapi/models/index.ts +11 -0
- package/src/openapi/models/inspection-criticality.ts +33 -0
- package/src/openapi/models/inspection-script-category.ts +7 -4
- package/src/openapi/models/inspection-script.ts +42 -0
- package/src/openapi/models/inspection-task-item.ts +62 -0
- package/src/openapi/models/inspection-task.ts +25 -1
- package/src/openapi/models/inspection-threshold-direction.ts +32 -0
- package/src/openapi/models/performance-trend-range.ts +1 -1
- package/src/openapi/models/performance-trend-series.ts +1 -1
- package/src/openapi/models/performance-trend-summary.ts +1 -1
- package/src/openapi/models/redis-analysis-expiration-group.ts +60 -0
- package/src/openapi/models/redis-analysis-filter.ts +36 -0
- package/src/openapi/models/redis-analysis-key.ts +66 -0
- package/src/openapi/models/redis-analysis-namespace-summary.ts +63 -0
- package/src/openapi/models/redis-analysis-namespace-type-summary.ts +54 -0
- package/src/openapi/models/redis-analysis-progress.ts +90 -0
- package/src/openapi/models/redis-analysis-response.ts +132 -0
- package/src/openapi/models/redis-analysis-simple-type-summary.ts +42 -0
- package/src/openapi/models/redis-analysis-typed-summary.ts +39 -0
- package/src/openapi/models/redis-data-capabilities.ts +12 -0
- package/src/openapi/models/redis-data-context.ts +7 -1
- package/src/openapi.yaml +475 -9
|
@@ -399,11 +399,13 @@ export * from './import-task-status';
|
|
|
399
399
|
export * from './init-option-item';
|
|
400
400
|
export * from './init-option-object';
|
|
401
401
|
export * from './init-option-type';
|
|
402
|
+
export * from './inspection-criticality';
|
|
402
403
|
export * from './inspection-script';
|
|
403
404
|
export * from './inspection-script-category';
|
|
404
405
|
export * from './inspection-task';
|
|
405
406
|
export * from './inspection-task-format';
|
|
406
407
|
export * from './inspection-task-item';
|
|
408
|
+
export * from './inspection-threshold-direction';
|
|
407
409
|
export * from './instance';
|
|
408
410
|
export * from './instance-disk-usage-item';
|
|
409
411
|
export * from './instance-event-item';
|
|
@@ -620,6 +622,15 @@ export * from './recycle-bin-cluster';
|
|
|
620
622
|
export * from './recycle-bin-cluster-list';
|
|
621
623
|
export * from './recycle-bin-cluster-list-item';
|
|
622
624
|
export * from './redis-aclcontext';
|
|
625
|
+
export * from './redis-analysis-expiration-group';
|
|
626
|
+
export * from './redis-analysis-filter';
|
|
627
|
+
export * from './redis-analysis-key';
|
|
628
|
+
export * from './redis-analysis-namespace-summary';
|
|
629
|
+
export * from './redis-analysis-namespace-type-summary';
|
|
630
|
+
export * from './redis-analysis-progress';
|
|
631
|
+
export * from './redis-analysis-response';
|
|
632
|
+
export * from './redis-analysis-simple-type-summary';
|
|
633
|
+
export * from './redis-analysis-typed-summary';
|
|
623
634
|
export * from './redis-capability';
|
|
624
635
|
export * from './redis-cluster-node';
|
|
625
636
|
export * from './redis-cluster-slot';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
-
*
|
|
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
|
-
|
|
25
|
+
performance: 'performance',
|
|
26
|
+
connections: 'connections',
|
|
27
|
+
resource: 'resource',
|
|
28
|
+
capacity: 'capacity',
|
|
29
|
+
vacuumWraparound: 'vacuumWraparound',
|
|
27
30
|
backup: 'backup',
|
|
28
|
-
|
|
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
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
+
|
|
@@ -39,7 +39,7 @@ export interface PerformanceTrendSeries {
|
|
|
39
39
|
*/
|
|
40
40
|
'displayName': LocalizedDescription;
|
|
41
41
|
/**
|
|
42
|
-
* Metric category. Values are
|
|
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
|
|
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
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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
|
+
|