kb-cloud-client-typescript 2.3.12 → 2.3.14
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/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-criticality.d.ts +2 -1
- package/dist/adminapi/models/inspection-criticality.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-criticality.js +3 -2
- package/dist/adminapi/models/inspection-criticality.js.map +1 -1
- package/dist/adminapi/models/inspection-evaluation-mode.d.ts +23 -0
- package/dist/adminapi/models/inspection-evaluation-mode.d.ts.map +1 -0
- package/dist/adminapi/models/inspection-evaluation-mode.js +27 -0
- package/dist/adminapi/models/inspection-evaluation-mode.js.map +1 -0
- package/dist/adminapi/models/inspection-script.d.ts +9 -2
- package/dist/adminapi/models/inspection-script.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-task-item.d.ts +10 -10
- package/dist/adminapi/models/inspection-task.d.ts +1 -1
- package/dist/adminapi/models/ops-expose.d.ts +2 -2
- package/dist/adminapi/models/param-tpl-update.d.ts +6 -0
- package/dist/adminapi/models/param-tpl-update.d.ts.map +1 -1
- package/dist/adminapi/models/vip-pool.d.ts +1 -1
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-criticality.d.ts +2 -1
- package/dist/openapi/models/inspection-criticality.d.ts.map +1 -1
- package/dist/openapi/models/inspection-criticality.js +3 -2
- package/dist/openapi/models/inspection-criticality.js.map +1 -1
- package/dist/openapi/models/inspection-evaluation-mode.d.ts +23 -0
- package/dist/openapi/models/inspection-evaluation-mode.d.ts.map +1 -0
- package/dist/openapi/models/inspection-evaluation-mode.js +27 -0
- package/dist/openapi/models/inspection-evaluation-mode.js.map +1 -0
- package/dist/openapi/models/inspection-script.d.ts +9 -2
- package/dist/openapi/models/inspection-script.d.ts.map +1 -1
- package/dist/openapi/models/inspection-task-item.d.ts +10 -10
- package/dist/openapi/models/inspection-task.d.ts +1 -1
- package/dist/openapi/models/ops-expose.d.ts +2 -2
- package/dist/openapi/models/param-tpl-update.d.ts +6 -0
- package/dist/openapi/models/param-tpl-update.d.ts.map +1 -1
- package/dist/openapi/models/vip-pool.d.ts +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -0
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi/models/inspection-criticality.ts +3 -2
- package/src/adminapi/models/inspection-evaluation-mode.ts +32 -0
- package/src/adminapi/models/inspection-script.ts +11 -2
- package/src/adminapi/models/inspection-task-item.ts +10 -10
- package/src/adminapi/models/inspection-task.ts +1 -1
- package/src/adminapi/models/ops-expose.ts +2 -2
- package/src/adminapi/models/param-tpl-update.ts +6 -0
- package/src/adminapi/models/vip-pool.ts +1 -1
- package/src/adminapi.yaml +32 -7
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/inspection-criticality.ts +3 -2
- package/src/openapi/models/inspection-evaluation-mode.ts +32 -0
- package/src/openapi/models/inspection-script.ts +11 -2
- package/src/openapi/models/inspection-task-item.ts +10 -10
- package/src/openapi/models/inspection-task.ts +1 -1
- package/src/openapi/models/ops-expose.ts +2 -2
- package/src/openapi/models/param-tpl-update.ts +6 -0
- package/src/openapi/models/vip-pool.ts +1 -1
- package/src/openapi.yaml +32 -7
package/src/adminapi.yaml
CHANGED
|
@@ -28874,6 +28874,11 @@ components:
|
|
|
28874
28874
|
type: string
|
|
28875
28875
|
description: Specify parameters list to be updated
|
|
28876
28876
|
type: object
|
|
28877
|
+
parametersToRemove:
|
|
28878
|
+
description: Specify parameters list to be removed from the template
|
|
28879
|
+
items:
|
|
28880
|
+
type: string
|
|
28881
|
+
type: array
|
|
28877
28882
|
newParamTplName:
|
|
28878
28883
|
description: Specify the new name of the parameter template
|
|
28879
28884
|
type: string
|
|
@@ -32339,11 +32344,11 @@ components:
|
|
|
32339
32344
|
type: integer
|
|
32340
32345
|
loadBalancerIP:
|
|
32341
32346
|
type: string
|
|
32342
|
-
description: The
|
|
32347
|
+
description: The requested IPv4 or IPv6 address of the LoadBalancer service. If not set, IP addresses will be assigned by the system. For dual-stack MetalLB services, the system allocates the missing address family from the same VIP pool. Only available when vpcServiceType is LoadBalancer.
|
|
32343
32348
|
nullable: true
|
|
32344
32349
|
loadBalancerIPPoolID:
|
|
32345
32350
|
type: string
|
|
32346
|
-
description: The IP pool ID of the LoadBalancer service. If not set, the IP pool will be assigned by the system. Only available when vpcServiceType is LoadBalancer.
|
|
32351
|
+
description: The IP pool ID of the LoadBalancer service. If not set, the IP pool will be assigned by the system. All VIPs of a dual-stack MetalLB service are allocated from the same pool. Only available when vpcServiceType is LoadBalancer.
|
|
32347
32352
|
nullable: true
|
|
32348
32353
|
domain:
|
|
32349
32354
|
type: string
|
|
@@ -33870,7 +33875,7 @@ components:
|
|
|
33870
33875
|
items:
|
|
33871
33876
|
type: string
|
|
33872
33877
|
availableIPs:
|
|
33873
|
-
description:
|
|
33878
|
+
description: Available IP address candidates, limited to 4096 per pool. IPv4 and IPv6 share the limit equally, with unused slots reassigned to the other family. Large pools return a partial list.
|
|
33874
33879
|
type: array
|
|
33875
33880
|
items:
|
|
33876
33881
|
type: string
|
|
@@ -39240,14 +39245,22 @@ components:
|
|
|
39240
39245
|
- vacuumWraparound
|
|
39241
39246
|
- backup
|
|
39242
39247
|
- security
|
|
39248
|
+
inspectionEvaluationMode:
|
|
39249
|
+
type: string
|
|
39250
|
+
description: Empty legacy values mean check. Display collects information without scoring. Manual requires type=manual and presents scriptExpr verbatim as instructions; it executes no SQL or templates, returns severity=unknown, and retains rule importance.
|
|
39251
|
+
enum:
|
|
39252
|
+
- check
|
|
39253
|
+
- display
|
|
39254
|
+
- manual
|
|
39243
39255
|
inspectionCriticality:
|
|
39244
39256
|
type: string
|
|
39245
|
-
description:
|
|
39257
|
+
description: Rule importance used for score weighting. Info marks automatically collected information excluded from scoring. Manual items retain their importance but return unknown and are not scored. Missing legacy values normally default to medium; cluster and node status default to critical.
|
|
39246
39258
|
enum:
|
|
39247
39259
|
- critical
|
|
39248
39260
|
- high
|
|
39249
39261
|
- medium
|
|
39250
39262
|
- low
|
|
39263
|
+
- info
|
|
39251
39264
|
inspectionThresholdDirection:
|
|
39252
39265
|
type: string
|
|
39253
39266
|
description: 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.
|
|
@@ -39276,7 +39289,7 @@ components:
|
|
|
39276
39289
|
description: The engine type this script is applicable to, such as cluster, mysql, node
|
|
39277
39290
|
type: string
|
|
39278
39291
|
type:
|
|
39279
|
-
description: The type of the script, such as "promQL"
|
|
39292
|
+
description: The type of the script, such as "promQL" or "manual" (requires evaluationMode=manual)
|
|
39280
39293
|
type: string
|
|
39281
39294
|
category:
|
|
39282
39295
|
$ref: '#/components/schemas/inspectionScriptCategory'
|
|
@@ -39284,6 +39297,9 @@ components:
|
|
|
39284
39297
|
$ref: '#/components/schemas/localizedDescription'
|
|
39285
39298
|
scriptExpr:
|
|
39286
39299
|
type: string
|
|
39300
|
+
description: Collector expression for automatic modes; complete user instructions (up to 8192 UTF-8 bytes) for manual mode. Manual placeholders are not rendered.
|
|
39301
|
+
evaluationMode:
|
|
39302
|
+
$ref: '#/components/schemas/inspectionEvaluationMode'
|
|
39287
39303
|
checkExpr:
|
|
39288
39304
|
type: string
|
|
39289
39305
|
criticality:
|
|
@@ -39399,29 +39415,35 @@ components:
|
|
|
39399
39415
|
$ref: '#/components/schemas/localizedDescription'
|
|
39400
39416
|
scriptCategory:
|
|
39401
39417
|
type: string
|
|
39418
|
+
description: Category used to group inspection items, such as availability, performance, capacity, or backup.
|
|
39402
39419
|
resourceType:
|
|
39403
39420
|
type: string
|
|
39421
|
+
description: Type of the inspected resource, such as cluster or node; resourceID and resourceName identify the target.
|
|
39404
39422
|
resourceID:
|
|
39405
39423
|
type: string
|
|
39406
39424
|
resourceName:
|
|
39407
39425
|
type: string
|
|
39408
39426
|
status:
|
|
39409
39427
|
type: string
|
|
39428
|
+
description: Execution state, such as Running, Completed, or Failed. Use severity for the health conclusion. For manual items, Completed means instructions are available, not that the user has performed them.
|
|
39410
39429
|
result:
|
|
39411
39430
|
type: string
|
|
39431
|
+
description: Textual observation or execution message for display. It may contain nonnumeric information or an error; use severity for the health conclusion. Manual instructions are stored in evidence.ruleSnapshot.scriptExpr.
|
|
39412
39432
|
valueNum:
|
|
39413
39433
|
type: number
|
|
39414
39434
|
format: double
|
|
39415
39435
|
x-nullable: true
|
|
39416
|
-
description: Numeric
|
|
39436
|
+
description: Numeric observation when available, including numeric information collected by info items. Omitted when no numeric observation exists, including manual guidance. Use with unit and thresholds for numeric displays.
|
|
39417
39437
|
warnThreshold:
|
|
39418
39438
|
type: number
|
|
39419
39439
|
format: double
|
|
39420
39440
|
x-nullable: true
|
|
39441
|
+
description: Warning threshold interpreted using direction and the same unit as valueNum. Omitted when no numeric warning threshold is configured.
|
|
39421
39442
|
critThreshold:
|
|
39422
39443
|
type: number
|
|
39423
39444
|
format: double
|
|
39424
39445
|
x-nullable: true
|
|
39446
|
+
description: Critical threshold interpreted using direction and the same unit as valueNum. Omitted when no numeric critical threshold is configured.
|
|
39425
39447
|
direction:
|
|
39426
39448
|
$ref: '#/components/schemas/inspectionThresholdDirection'
|
|
39427
39449
|
criticality:
|
|
@@ -39436,10 +39458,13 @@ components:
|
|
|
39436
39458
|
$ref: '#/components/schemas/localizedDescription'
|
|
39437
39459
|
docLink:
|
|
39438
39460
|
type: string
|
|
39461
|
+
description: Link to documentation explaining this inspection item and recommended actions.
|
|
39439
39462
|
severity:
|
|
39440
39463
|
type: string
|
|
39464
|
+
description: 'Health conclusion: red (critical), yellow (warning), green (healthy), unknown (cannot evaluate), or info (automatically collected information). Manual guidance returns unknown and retains its criticality. Unknown and info do not contribute to health scoring; Completed for manual guidance means instructions are available, not user completion.'
|
|
39441
39465
|
unit:
|
|
39442
39466
|
type: string
|
|
39467
|
+
description: Display unit for the inspection result and thresholds, such as percent, seconds, or bytes. Empty when no unit applies.
|
|
39443
39468
|
createdAt:
|
|
39444
39469
|
format: date-time
|
|
39445
39470
|
type: string
|
|
@@ -39481,7 +39506,7 @@ components:
|
|
|
39481
39506
|
type: integer
|
|
39482
39507
|
format: int64
|
|
39483
39508
|
x-nullable: true
|
|
39484
|
-
description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
|
|
39509
|
+
description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown results and items with info importance are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
|
|
39485
39510
|
result:
|
|
39486
39511
|
type: string
|
|
39487
39512
|
description: Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
|
|
@@ -544,6 +544,7 @@ models/init-option-item.ts
|
|
|
544
544
|
models/init-option-object.ts
|
|
545
545
|
models/init-option-type.ts
|
|
546
546
|
models/inspection-criticality.ts
|
|
547
|
+
models/inspection-evaluation-mode.ts
|
|
547
548
|
models/inspection-script-category.ts
|
|
548
549
|
models/inspection-script.ts
|
|
549
550
|
models/inspection-task-format.ts
|
|
@@ -453,6 +453,7 @@ export * from './init-option-item';
|
|
|
453
453
|
export * from './init-option-object';
|
|
454
454
|
export * from './init-option-type';
|
|
455
455
|
export * from './inspection-criticality';
|
|
456
|
+
export * from './inspection-evaluation-mode';
|
|
456
457
|
export * from './inspection-script';
|
|
457
458
|
export * from './inspection-script-category';
|
|
458
459
|
export * from './inspection-task';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Rule importance used for score weighting. Info marks automatically collected information excluded from scoring. Manual items retain their importance but return unknown and are not scored. Missing legacy values normally default to medium; cluster and node status default to critical.
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
@@ -24,7 +24,8 @@ export const InspectionCriticality = {
|
|
|
24
24
|
critical: 'critical',
|
|
25
25
|
high: 'high',
|
|
26
26
|
medium: 'medium',
|
|
27
|
-
low: 'low'
|
|
27
|
+
low: 'low',
|
|
28
|
+
info: 'info'
|
|
28
29
|
} as const;
|
|
29
30
|
|
|
30
31
|
export type InspectionCriticality = typeof InspectionCriticality[keyof typeof InspectionCriticality];
|
|
@@ -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
|
+
* Empty legacy values mean check. Display collects information without scoring. Manual requires type=manual and presents scriptExpr verbatim as instructions; it executes no SQL or templates, returns severity=unknown, and retains rule importance.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const InspectionEvaluationMode = {
|
|
24
|
+
check: 'check',
|
|
25
|
+
display: 'display',
|
|
26
|
+
manual: 'manual'
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
export type InspectionEvaluationMode = typeof InspectionEvaluationMode[keyof typeof InspectionEvaluationMode];
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
import type { InspectionCriticality } from './inspection-criticality';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
|
+
import type { InspectionEvaluationMode } from './inspection-evaluation-mode';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
21
24
|
import type { InspectionScriptCategory } from './inspection-script-category';
|
|
22
25
|
// May contain unused imports in some cases
|
|
23
26
|
// @ts-ignore
|
|
@@ -57,7 +60,7 @@ export interface InspectionScript {
|
|
|
57
60
|
*/
|
|
58
61
|
'engine': string;
|
|
59
62
|
/**
|
|
60
|
-
* The type of the script, such as \"promQL\"
|
|
63
|
+
* The type of the script, such as \"promQL\" or \"manual\" (requires evaluationMode=manual)
|
|
61
64
|
* @type {string}
|
|
62
65
|
* @memberof InspectionScript
|
|
63
66
|
*/
|
|
@@ -75,11 +78,17 @@ export interface InspectionScript {
|
|
|
75
78
|
*/
|
|
76
79
|
'description'?: LocalizedDescription;
|
|
77
80
|
/**
|
|
78
|
-
*
|
|
81
|
+
* Collector expression for automatic modes; complete user instructions (up to 8192 UTF-8 bytes) for manual mode. Manual placeholders are not rendered.
|
|
79
82
|
* @type {string}
|
|
80
83
|
* @memberof InspectionScript
|
|
81
84
|
*/
|
|
82
85
|
'scriptExpr': string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {InspectionEvaluationMode}
|
|
89
|
+
* @memberof InspectionScript
|
|
90
|
+
*/
|
|
91
|
+
'evaluationMode'?: InspectionEvaluationMode;
|
|
83
92
|
/**
|
|
84
93
|
*
|
|
85
94
|
* @type {string}
|
|
@@ -60,13 +60,13 @@ export interface InspectionTaskItem {
|
|
|
60
60
|
*/
|
|
61
61
|
'scriptDescription'?: LocalizedDescription;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Category used to group inspection items, such as availability, performance, capacity, or backup.
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof InspectionTaskItem
|
|
66
66
|
*/
|
|
67
67
|
'scriptCategory'?: string;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Type of the inspected resource, such as cluster or node; resourceID and resourceName identify the target.
|
|
70
70
|
* @type {string}
|
|
71
71
|
* @memberof InspectionTaskItem
|
|
72
72
|
*/
|
|
@@ -84,31 +84,31 @@ export interface InspectionTaskItem {
|
|
|
84
84
|
*/
|
|
85
85
|
'resourceName'?: string;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Execution state, such as Running, Completed, or Failed. Use severity for the health conclusion. For manual items, Completed means instructions are available, not that the user has performed them.
|
|
88
88
|
* @type {string}
|
|
89
89
|
* @memberof InspectionTaskItem
|
|
90
90
|
*/
|
|
91
91
|
'status'?: string;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Textual observation or execution message for display. It may contain nonnumeric information or an error; use severity for the health conclusion. Manual instructions are stored in evidence.ruleSnapshot.scriptExpr.
|
|
94
94
|
* @type {string}
|
|
95
95
|
* @memberof InspectionTaskItem
|
|
96
96
|
*/
|
|
97
97
|
'result'?: string;
|
|
98
98
|
/**
|
|
99
|
-
* Numeric
|
|
99
|
+
* Numeric observation when available, including numeric information collected by info items. Omitted when no numeric observation exists, including manual guidance. Use with unit and thresholds for numeric displays.
|
|
100
100
|
* @type {number}
|
|
101
101
|
* @memberof InspectionTaskItem
|
|
102
102
|
*/
|
|
103
103
|
'valueNum'?: number | null;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Warning threshold interpreted using direction and the same unit as valueNum. Omitted when no numeric warning threshold is configured.
|
|
106
106
|
* @type {number}
|
|
107
107
|
* @memberof InspectionTaskItem
|
|
108
108
|
*/
|
|
109
109
|
'warnThreshold'?: number | null;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Critical threshold interpreted using direction and the same unit as valueNum. Omitted when no numeric critical threshold is configured.
|
|
112
112
|
* @type {number}
|
|
113
113
|
* @memberof InspectionTaskItem
|
|
114
114
|
*/
|
|
@@ -144,19 +144,19 @@ export interface InspectionTaskItem {
|
|
|
144
144
|
*/
|
|
145
145
|
'remediation'?: LocalizedDescription;
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* Link to documentation explaining this inspection item and recommended actions.
|
|
148
148
|
* @type {string}
|
|
149
149
|
* @memberof InspectionTaskItem
|
|
150
150
|
*/
|
|
151
151
|
'docLink'?: string;
|
|
152
152
|
/**
|
|
153
|
-
*
|
|
153
|
+
* Health conclusion: red (critical), yellow (warning), green (healthy), unknown (cannot evaluate), or info (automatically collected information). Manual guidance returns unknown and retains its criticality. Unknown and info do not contribute to health scoring; Completed for manual guidance means instructions are available, not user completion.
|
|
154
154
|
* @type {string}
|
|
155
155
|
* @memberof InspectionTaskItem
|
|
156
156
|
*/
|
|
157
157
|
'severity'?: string;
|
|
158
158
|
/**
|
|
159
|
-
*
|
|
159
|
+
* Display unit for the inspection result and thresholds, such as percent, seconds, or bytes. Empty when no unit applies.
|
|
160
160
|
* @type {string}
|
|
161
161
|
* @memberof InspectionTaskItem
|
|
162
162
|
*/
|
|
@@ -102,7 +102,7 @@ export interface InspectionTask {
|
|
|
102
102
|
*/
|
|
103
103
|
'expiredAt'?: string;
|
|
104
104
|
/**
|
|
105
|
-
* Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
|
|
105
|
+
* Weighted health score from 0 to 100 over evaluable inspection items only. Unknown results and items with info importance are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
|
|
106
106
|
* @type {number}
|
|
107
107
|
* @memberof InspectionTask
|
|
108
108
|
*/
|
|
@@ -66,13 +66,13 @@ export interface OpsExpose {
|
|
|
66
66
|
*/
|
|
67
67
|
'portsMapping'?: Array<OpsExposePortsMappingInner>;
|
|
68
68
|
/**
|
|
69
|
-
* The
|
|
69
|
+
* The requested IPv4 or IPv6 address of the LoadBalancer service. If not set, IP addresses will be assigned by the system. For dual-stack MetalLB services, the system allocates the missing address family from the same VIP pool. Only available when vpcServiceType is LoadBalancer.
|
|
70
70
|
* @type {string}
|
|
71
71
|
* @memberof OpsExpose
|
|
72
72
|
*/
|
|
73
73
|
'loadBalancerIP'?: string | null;
|
|
74
74
|
/**
|
|
75
|
-
* The IP pool ID of the LoadBalancer service. If not set, the IP pool will be assigned by the system. Only available when vpcServiceType is LoadBalancer.
|
|
75
|
+
* The IP pool ID of the LoadBalancer service. If not set, the IP pool will be assigned by the system. All VIPs of a dual-stack MetalLB service are allocated from the same pool. Only available when vpcServiceType is LoadBalancer.
|
|
76
76
|
* @type {string}
|
|
77
77
|
* @memberof OpsExpose
|
|
78
78
|
*/
|
|
@@ -32,6 +32,12 @@ export interface ParamTplUpdate {
|
|
|
32
32
|
* @memberof ParamTplUpdate
|
|
33
33
|
*/
|
|
34
34
|
'parameters'?: { [key: string]: string; };
|
|
35
|
+
/**
|
|
36
|
+
* Specify parameters list to be removed from the template
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof ParamTplUpdate
|
|
39
|
+
*/
|
|
40
|
+
'parametersToRemove'?: Array<string>;
|
|
35
41
|
/**
|
|
36
42
|
* Specify the new name of the parameter template
|
|
37
43
|
* @type {string}
|
|
@@ -51,7 +51,7 @@ export interface VipPool {
|
|
|
51
51
|
*/
|
|
52
52
|
'usedIPs'?: Array<string>;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Available IP address candidates, limited to 4096 per pool. IPv4 and IPv6 share the limit equally, with unused slots reassigned to the other family. Large pools return a partial list.
|
|
55
55
|
* @type {Array<string>}
|
|
56
56
|
* @memberof VipPool
|
|
57
57
|
*/
|
package/src/openapi.yaml
CHANGED
|
@@ -22165,7 +22165,7 @@ components:
|
|
|
22165
22165
|
items:
|
|
22166
22166
|
type: string
|
|
22167
22167
|
availableIPs:
|
|
22168
|
-
description:
|
|
22168
|
+
description: Available IP address candidates, limited to 4096 per pool. IPv4 and IPv6 share the limit equally, with unused slots reassigned to the other family. Large pools return a partial list.
|
|
22169
22169
|
type: array
|
|
22170
22170
|
items:
|
|
22171
22171
|
type: string
|
|
@@ -25211,11 +25211,11 @@ components:
|
|
|
25211
25211
|
type: integer
|
|
25212
25212
|
loadBalancerIP:
|
|
25213
25213
|
type: string
|
|
25214
|
-
description: The
|
|
25214
|
+
description: The requested IPv4 or IPv6 address of the LoadBalancer service. If not set, IP addresses will be assigned by the system. For dual-stack MetalLB services, the system allocates the missing address family from the same VIP pool. Only available when vpcServiceType is LoadBalancer.
|
|
25215
25215
|
nullable: true
|
|
25216
25216
|
loadBalancerIPPoolID:
|
|
25217
25217
|
type: string
|
|
25218
|
-
description: The IP pool ID of the LoadBalancer service. If not set, the IP pool will be assigned by the system. Only available when vpcServiceType is LoadBalancer.
|
|
25218
|
+
description: The IP pool ID of the LoadBalancer service. If not set, the IP pool will be assigned by the system. All VIPs of a dual-stack MetalLB service are allocated from the same pool. Only available when vpcServiceType is LoadBalancer.
|
|
25219
25219
|
nullable: true
|
|
25220
25220
|
domain:
|
|
25221
25221
|
type: string
|
|
@@ -28454,6 +28454,11 @@ components:
|
|
|
28454
28454
|
type: string
|
|
28455
28455
|
description: Specify parameters list to be updated
|
|
28456
28456
|
type: object
|
|
28457
|
+
parametersToRemove:
|
|
28458
|
+
description: Specify parameters list to be removed from the template
|
|
28459
|
+
items:
|
|
28460
|
+
type: string
|
|
28461
|
+
type: array
|
|
28457
28462
|
newParamTplName:
|
|
28458
28463
|
description: Specify the new name of the parameter template
|
|
28459
28464
|
type: string
|
|
@@ -38201,14 +38206,22 @@ components:
|
|
|
38201
38206
|
- vacuumWraparound
|
|
38202
38207
|
- backup
|
|
38203
38208
|
- security
|
|
38209
|
+
inspectionEvaluationMode:
|
|
38210
|
+
type: string
|
|
38211
|
+
description: Empty legacy values mean check. Display collects information without scoring. Manual requires type=manual and presents scriptExpr verbatim as instructions; it executes no SQL or templates, returns severity=unknown, and retains rule importance.
|
|
38212
|
+
enum:
|
|
38213
|
+
- check
|
|
38214
|
+
- display
|
|
38215
|
+
- manual
|
|
38204
38216
|
inspectionCriticality:
|
|
38205
38217
|
type: string
|
|
38206
|
-
description:
|
|
38218
|
+
description: Rule importance used for score weighting. Info marks automatically collected information excluded from scoring. Manual items retain their importance but return unknown and are not scored. Missing legacy values normally default to medium; cluster and node status default to critical.
|
|
38207
38219
|
enum:
|
|
38208
38220
|
- critical
|
|
38209
38221
|
- high
|
|
38210
38222
|
- medium
|
|
38211
38223
|
- low
|
|
38224
|
+
- info
|
|
38212
38225
|
inspectionThresholdDirection:
|
|
38213
38226
|
type: string
|
|
38214
38227
|
description: 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.
|
|
@@ -38237,7 +38250,7 @@ components:
|
|
|
38237
38250
|
description: The engine type this script is applicable to, such as cluster, mysql, node
|
|
38238
38251
|
type: string
|
|
38239
38252
|
type:
|
|
38240
|
-
description: The type of the script, such as "promQL"
|
|
38253
|
+
description: The type of the script, such as "promQL" or "manual" (requires evaluationMode=manual)
|
|
38241
38254
|
type: string
|
|
38242
38255
|
category:
|
|
38243
38256
|
$ref: '#/components/schemas/inspectionScriptCategory'
|
|
@@ -38245,6 +38258,9 @@ components:
|
|
|
38245
38258
|
$ref: '#/components/schemas/localizedDescription'
|
|
38246
38259
|
scriptExpr:
|
|
38247
38260
|
type: string
|
|
38261
|
+
description: Collector expression for automatic modes; complete user instructions (up to 8192 UTF-8 bytes) for manual mode. Manual placeholders are not rendered.
|
|
38262
|
+
evaluationMode:
|
|
38263
|
+
$ref: '#/components/schemas/inspectionEvaluationMode'
|
|
38248
38264
|
checkExpr:
|
|
38249
38265
|
type: string
|
|
38250
38266
|
criticality:
|
|
@@ -38360,29 +38376,35 @@ components:
|
|
|
38360
38376
|
$ref: '#/components/schemas/localizedDescription'
|
|
38361
38377
|
scriptCategory:
|
|
38362
38378
|
type: string
|
|
38379
|
+
description: Category used to group inspection items, such as availability, performance, capacity, or backup.
|
|
38363
38380
|
resourceType:
|
|
38364
38381
|
type: string
|
|
38382
|
+
description: Type of the inspected resource, such as cluster or node; resourceID and resourceName identify the target.
|
|
38365
38383
|
resourceID:
|
|
38366
38384
|
type: string
|
|
38367
38385
|
resourceName:
|
|
38368
38386
|
type: string
|
|
38369
38387
|
status:
|
|
38370
38388
|
type: string
|
|
38389
|
+
description: Execution state, such as Running, Completed, or Failed. Use severity for the health conclusion. For manual items, Completed means instructions are available, not that the user has performed them.
|
|
38371
38390
|
result:
|
|
38372
38391
|
type: string
|
|
38392
|
+
description: Textual observation or execution message for display. It may contain nonnumeric information or an error; use severity for the health conclusion. Manual instructions are stored in evidence.ruleSnapshot.scriptExpr.
|
|
38373
38393
|
valueNum:
|
|
38374
38394
|
type: number
|
|
38375
38395
|
format: double
|
|
38376
38396
|
x-nullable: true
|
|
38377
|
-
description: Numeric
|
|
38397
|
+
description: Numeric observation when available, including numeric information collected by info items. Omitted when no numeric observation exists, including manual guidance. Use with unit and thresholds for numeric displays.
|
|
38378
38398
|
warnThreshold:
|
|
38379
38399
|
type: number
|
|
38380
38400
|
format: double
|
|
38381
38401
|
x-nullable: true
|
|
38402
|
+
description: Warning threshold interpreted using direction and the same unit as valueNum. Omitted when no numeric warning threshold is configured.
|
|
38382
38403
|
critThreshold:
|
|
38383
38404
|
type: number
|
|
38384
38405
|
format: double
|
|
38385
38406
|
x-nullable: true
|
|
38407
|
+
description: Critical threshold interpreted using direction and the same unit as valueNum. Omitted when no numeric critical threshold is configured.
|
|
38386
38408
|
direction:
|
|
38387
38409
|
$ref: '#/components/schemas/inspectionThresholdDirection'
|
|
38388
38410
|
criticality:
|
|
@@ -38397,10 +38419,13 @@ components:
|
|
|
38397
38419
|
$ref: '#/components/schemas/localizedDescription'
|
|
38398
38420
|
docLink:
|
|
38399
38421
|
type: string
|
|
38422
|
+
description: Link to documentation explaining this inspection item and recommended actions.
|
|
38400
38423
|
severity:
|
|
38401
38424
|
type: string
|
|
38425
|
+
description: 'Health conclusion: red (critical), yellow (warning), green (healthy), unknown (cannot evaluate), or info (automatically collected information). Manual guidance returns unknown and retains its criticality. Unknown and info do not contribute to health scoring; Completed for manual guidance means instructions are available, not user completion.'
|
|
38402
38426
|
unit:
|
|
38403
38427
|
type: string
|
|
38428
|
+
description: Display unit for the inspection result and thresholds, such as percent, seconds, or bytes. Empty when no unit applies.
|
|
38404
38429
|
createdAt:
|
|
38405
38430
|
format: date-time
|
|
38406
38431
|
type: string
|
|
@@ -38442,7 +38467,7 @@ components:
|
|
|
38442
38467
|
type: integer
|
|
38443
38468
|
format: int64
|
|
38444
38469
|
x-nullable: true
|
|
38445
|
-
description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
|
|
38470
|
+
description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown results and items with info importance are excluded from both the numerator and denominator. The field is omitted when no item is evaluable; a present value of 0 is a valid evaluated score.
|
|
38446
38471
|
result:
|
|
38447
38472
|
type: string
|
|
38448
38473
|
description: Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable. Unknown items remain visible in the item list but do not override a red, yellow, or green conclusion derived from evaluable items.
|