kb-cloud-client-typescript 0.0.0-support-instance-template-version.20261104.530 → 0.0.0-support-instance-template-version.20261104.704

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.
@@ -46,6 +46,12 @@ export interface ComponentItem {
46
46
  * @memberof ComponentItem
47
47
  */
48
48
  'availabilityZone'?: string;
49
+ /**
50
+ * Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
51
+ * @type {string}
52
+ * @memberof ComponentItem
53
+ */
54
+ 'serviceVersion'?: string;
49
55
  /**
50
56
  * Template versions recorded at creation or after upgrade submission, keyed by template name.
51
57
  * @type {{ [key: string]: string; }}
@@ -1 +1 @@
1
- {"version":3,"file":"component-item.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/component-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
1
+ {"version":3,"file":"component-item.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/component-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
@@ -18,19 +18,19 @@ import type { InstanceStorageItem } from './instance-storage-item';
18
18
  */
19
19
  export interface Instance {
20
20
  /**
21
- * Configured instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
21
+ * Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
22
22
  * @type {string}
23
23
  * @memberof Instance
24
24
  */
25
25
  'availabilityZone'?: string;
26
26
  /**
27
- * Configured instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
27
+ * Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
28
28
  * @type {string}
29
29
  * @memberof Instance
30
30
  */
31
31
  'storageClass'?: string;
32
32
  /**
33
- * Configured instance template service version read from cluster metadata, recorded at creation or after upgrade submission.
33
+ * Configured component or instance template service version read from cluster metadata, recorded at creation or after upgrade submission. Empty when no version has been recorded.
34
34
  * @type {string}
35
35
  * @memberof Instance
36
36
  */
@@ -12,7 +12,7 @@
12
12
  import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
13
13
  import type { TaskSchedule } from './task-schedule';
14
14
  /**
15
- * Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. Templates without an explicit serviceVersion continue to inherit the component version and may change when the component is upgraded.
15
+ * Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. An empty serviceVersion on a template in the Cluster CR inherits the component version and may change when that component is upgraded; this is distinct from omitting a template from this request.
16
16
  * @export
17
17
  * @interface OpsUpgrade
18
18
  */
@@ -46,6 +46,12 @@ export interface ComponentItem {
46
46
  * @memberof ComponentItem
47
47
  */
48
48
  'availabilityZone'?: string;
49
+ /**
50
+ * Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
51
+ * @type {string}
52
+ * @memberof ComponentItem
53
+ */
54
+ 'serviceVersion'?: string;
49
55
  /**
50
56
  * Template versions recorded at creation or after upgrade submission, keyed by template name.
51
57
  * @type {{ [key: string]: string; }}
@@ -1 +1 @@
1
- {"version":3,"file":"component-item.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/component-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
1
+ {"version":3,"file":"component-item.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/component-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
@@ -46,6 +46,12 @@ export interface ComponentItem {
46
46
  * @memberof ComponentItem
47
47
  */
48
48
  'availabilityZone'?: string;
49
+ /**
50
+ * Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
51
+ * @type {string}
52
+ * @memberof ComponentItem
53
+ */
54
+ 'serviceVersion'?: string;
49
55
  /**
50
56
  * Template versions recorded at creation or after upgrade submission, keyed by template name.
51
57
  * @type {{ [key: string]: string; }}
@@ -1 +1 @@
1
- {"version":3,"file":"component-item.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
1
+ {"version":3,"file":"component-item.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACxD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
@@ -18,19 +18,19 @@ import type { InstanceStorageItem } from './instance-storage-item';
18
18
  */
19
19
  export interface Instance {
20
20
  /**
21
- * Configured instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
21
+ * Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
22
22
  * @type {string}
23
23
  * @memberof Instance
24
24
  */
25
25
  'availabilityZone'?: string;
26
26
  /**
27
- * Configured instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
27
+ * Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
28
28
  * @type {string}
29
29
  * @memberof Instance
30
30
  */
31
31
  'storageClass'?: string;
32
32
  /**
33
- * Configured instance template service version read from cluster metadata, recorded at creation or after upgrade submission.
33
+ * Configured component or instance template service version read from cluster metadata, recorded at creation or after upgrade submission. Empty when no version has been recorded.
34
34
  * @type {string}
35
35
  * @memberof Instance
36
36
  */
@@ -12,7 +12,7 @@
12
12
  import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
13
13
  import type { TaskSchedule } from './task-schedule';
14
14
  /**
15
- * Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. Templates without an explicit serviceVersion continue to inherit the component version and may change when the component is upgraded.
15
+ * Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. An empty serviceVersion on a template in the Cluster CR inherits the component version and may change when that component is upgraded; this is distinct from omitting a template from this request.
16
16
  * @export
17
17
  * @interface OpsUpgrade
18
18
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "0.0.0-support-instance-template-version.20261104.530",
3
+ "version": "0.0.0-support-instance-template-version.20261104.704",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -53,6 +53,12 @@ export interface ComponentItem {
53
53
  * @memberof ComponentItem
54
54
  */
55
55
  'availabilityZone'?: string;
56
+ /**
57
+ * Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
58
+ * @type {string}
59
+ * @memberof ComponentItem
60
+ */
61
+ 'serviceVersion'?: string;
56
62
  /**
57
63
  * Template versions recorded at creation or after upgrade submission, keyed by template name.
58
64
  * @type {{ [key: string]: string; }}
@@ -27,19 +27,19 @@ import type { InstanceStorageItem } from './instance-storage-item';
27
27
  */
28
28
  export interface Instance {
29
29
  /**
30
- * Configured instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
30
+ * Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
31
31
  * @type {string}
32
32
  * @memberof Instance
33
33
  */
34
34
  'availabilityZone'?: string;
35
35
  /**
36
- * Configured instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
36
+ * Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
37
37
  * @type {string}
38
38
  * @memberof Instance
39
39
  */
40
40
  'storageClass'?: string;
41
41
  /**
42
- * Configured instance template service version read from cluster metadata, recorded at creation or after upgrade submission.
42
+ * Configured component or instance template service version read from cluster metadata, recorded at creation or after upgrade submission. Empty when no version has been recorded.
43
43
  * @type {string}
44
44
  * @memberof Instance
45
45
  */
@@ -21,7 +21,7 @@ import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
21
21
  import type { TaskSchedule } from './task-schedule';
22
22
 
23
23
  /**
24
- * Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. Templates without an explicit serviceVersion continue to inherit the component version and may change when the component is upgraded.
24
+ * Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. An empty serviceVersion on a template in the Cluster CR inherits the component version and may change when that component is upgraded; this is distinct from omitting a template from this request.
25
25
  * @export
26
26
  * @interface OpsUpgrade
27
27
  */
package/src/adminapi.yaml CHANGED
@@ -34027,6 +34027,10 @@ components:
34027
34027
  availabilityZone:
34028
34028
  type: string
34029
34029
  description: Explicit component AZ selection, if configured.
34030
+ serviceVersion:
34031
+ type: string
34032
+ readOnly: true
34033
+ description: Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
34030
34034
  instanceTemplateVersions:
34031
34035
  type: object
34032
34036
  readOnly: true
@@ -34367,13 +34371,13 @@ components:
34367
34371
  description: Instance is the information of KubeBlocks cluster instances
34368
34372
  properties:
34369
34373
  availabilityZone:
34370
- description: Configured instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
34374
+ description: Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
34371
34375
  type: string
34372
34376
  storageClass:
34373
- description: Configured instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
34377
+ description: Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
34374
34378
  type: string
34375
34379
  serviceVersion:
34376
- description: Configured instance template service version read from cluster metadata, recorded at creation or after upgrade submission.
34380
+ description: Configured component or instance template service version read from cluster metadata, recorded at creation or after upgrade submission. Empty when no version has been recorded.
34377
34381
  type: string
34378
34382
  accessMode:
34379
34383
  description: Access mode for instance
@@ -39086,7 +39090,7 @@ components:
39086
39090
  minLength: 1
39087
39091
  maxLength: 32
39088
39092
  opsUpgrade:
39089
- description: Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. Templates without an explicit serviceVersion continue to inherit the component version and may change when the component is upgraded.
39093
+ description: Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. An empty serviceVersion on a template in the Cluster CR inherits the component version and may change when that component is upgraded; this is distinct from omitting a template from this request.
39090
39094
  properties:
39091
39095
  version:
39092
39096
  type: string
@@ -53,6 +53,12 @@ export interface ComponentItem {
53
53
  * @memberof ComponentItem
54
54
  */
55
55
  'availabilityZone'?: string;
56
+ /**
57
+ * Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
58
+ * @type {string}
59
+ * @memberof ComponentItem
60
+ */
61
+ 'serviceVersion'?: string;
56
62
  /**
57
63
  * Template versions recorded at creation or after upgrade submission, keyed by template name.
58
64
  * @type {{ [key: string]: string; }}
@@ -1651,6 +1651,10 @@ components:
1651
1651
  availabilityZone:
1652
1652
  type: string
1653
1653
  description: Explicit component AZ selection, if configured.
1654
+ serviceVersion:
1655
+ type: string
1656
+ readOnly: true
1657
+ description: Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
1654
1658
  instanceTemplateVersions:
1655
1659
  type: object
1656
1660
  readOnly: true
@@ -53,6 +53,12 @@ export interface ComponentItem {
53
53
  * @memberof ComponentItem
54
54
  */
55
55
  'availabilityZone'?: string;
56
+ /**
57
+ * Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
58
+ * @type {string}
59
+ * @memberof ComponentItem
60
+ */
61
+ 'serviceVersion'?: string;
56
62
  /**
57
63
  * Template versions recorded at creation or after upgrade submission, keyed by template name.
58
64
  * @type {{ [key: string]: string; }}
@@ -27,19 +27,19 @@ import type { InstanceStorageItem } from './instance-storage-item';
27
27
  */
28
28
  export interface Instance {
29
29
  /**
30
- * Configured instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
30
+ * Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
31
31
  * @type {string}
32
32
  * @memberof Instance
33
33
  */
34
34
  'availabilityZone'?: string;
35
35
  /**
36
- * Configured instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
36
+ * Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
37
37
  * @type {string}
38
38
  * @memberof Instance
39
39
  */
40
40
  'storageClass'?: string;
41
41
  /**
42
- * Configured instance template service version read from cluster metadata, recorded at creation or after upgrade submission.
42
+ * Configured component or instance template service version read from cluster metadata, recorded at creation or after upgrade submission. Empty when no version has been recorded.
43
43
  * @type {string}
44
44
  * @memberof Instance
45
45
  */
@@ -21,7 +21,7 @@ import type { InstanceTemplateUpgrade } from './instance-template-upgrade';
21
21
  import type { TaskSchedule } from './task-schedule';
22
22
 
23
23
  /**
24
- * Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. Templates without an explicit serviceVersion continue to inherit the component version and may change when the component is upgraded.
24
+ * Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. An empty serviceVersion on a template in the Cluster CR inherits the component version and may change when that component is upgraded; this is distinct from omitting a template from this request.
25
25
  * @export
26
26
  * @interface OpsUpgrade
27
27
  */
package/src/openapi.yaml CHANGED
@@ -29373,6 +29373,10 @@ components:
29373
29373
  availabilityZone:
29374
29374
  type: string
29375
29375
  description: Explicit component AZ selection, if configured.
29376
+ serviceVersion:
29377
+ type: string
29378
+ readOnly: true
29379
+ description: Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
29376
29380
  instanceTemplateVersions:
29377
29381
  type: object
29378
29382
  readOnly: true
@@ -29713,13 +29717,13 @@ components:
29713
29717
  description: Instance is the information of KubeBlocks cluster instances
29714
29718
  properties:
29715
29719
  availabilityZone:
29716
- description: Configured instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
29720
+ description: Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
29717
29721
  type: string
29718
29722
  storageClass:
29719
- description: Configured instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
29723
+ description: Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
29720
29724
  type: string
29721
29725
  serviceVersion:
29722
- description: Configured instance template service version read from cluster metadata, recorded at creation or after upgrade submission.
29726
+ description: Configured component or instance template service version read from cluster metadata, recorded at creation or after upgrade submission. Empty when no version has been recorded.
29723
29727
  type: string
29724
29728
  accessMode:
29725
29729
  description: Access mode for instance
@@ -30953,7 +30957,7 @@ components:
30953
30957
  minLength: 1
30954
30958
  maxLength: 32
30955
30959
  opsUpgrade:
30956
- description: Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. Templates without an explicit serviceVersion continue to inherit the component version and may change when the component is upgraded.
30960
+ description: Upgrade component and/or selected instance templates. Only explicitly specified target fields are updated. An empty serviceVersion on a template in the Cluster CR inherits the component version and may change when that component is upgraded; this is distinct from omitting a template from this request.
30957
30961
  properties:
30958
30962
  version:
30959
30963
  type: string