kb-cloud-client-typescript 0.0.0-support-component-version-metadata-split.20261104.1059 → 0.0.0-support-instance-template-version.20261105.612
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/component-item.d.ts +0 -14
- package/dist/adminapi/models/component-item.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-create.d.ts +6 -0
- package/dist/adminapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/adminapi/models/instance.d.ts +0 -18
- package/dist/adminapi/models/instance.d.ts.map +1 -1
- package/dist/adminapi/models/ops-upgrade.d.ts +1 -1
- package/dist/internalapi/models/component-item.d.ts +0 -14
- package/dist/internalapi/models/component-item.d.ts.map +1 -1
- package/dist/internalapi/models/instance-template-create.d.ts +6 -0
- package/dist/internalapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/openapi/models/component-item.d.ts +0 -14
- package/dist/openapi/models/component-item.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-create.d.ts +6 -0
- package/dist/openapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/openapi/models/instance.d.ts +0 -18
- package/dist/openapi/models/instance.d.ts.map +1 -1
- package/dist/openapi/models/ops-upgrade.d.ts +1 -1
- package/package.json +1 -1
- package/src/adminapi/models/component-item.ts +0 -12
- package/src/adminapi/models/instance-template-create.ts +6 -0
- package/src/adminapi/models/instance.ts +0 -18
- package/src/adminapi/models/ops-upgrade.ts +1 -1
- package/src/adminapi.yaml +5 -20
- package/src/internalapi/models/component-item.ts +0 -12
- package/src/internalapi/models/instance-template-create.ts +6 -0
- package/src/internalapi.yaml +4 -10
- package/src/openapi/models/component-item.ts +0 -12
- package/src/openapi/models/instance-template-create.ts +6 -0
- package/src/openapi/models/instance.ts +0 -18
- package/src/openapi/models/ops-upgrade.ts +1 -1
- package/src/openapi.yaml +5 -20
|
@@ -46,20 +46,6 @@ 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;
|
|
55
|
-
/**
|
|
56
|
-
* Desired template versions read from Cluster CR, keyed by template name. Empty template versions inherit the CR component version. This read-only field is not persisted.
|
|
57
|
-
* @type {{ [key: string]: string; }}
|
|
58
|
-
* @memberof ComponentItem
|
|
59
|
-
*/
|
|
60
|
-
'instanceTemplateVersions'?: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
49
|
/**
|
|
64
50
|
* Instance template assignments with effective replicas, placement and storage class, and user-provided env, labels and annotations.
|
|
65
51
|
* @type {Array<InstanceTemplateCreate>}
|
|
@@ -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,
|
|
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,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"}
|
|
@@ -16,6 +16,12 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
|
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
18
18
|
export interface InstanceTemplateCreate {
|
|
19
|
+
/**
|
|
20
|
+
* Configured template version stored in metadata. Set from the component version at creation when template upgrade is enabled, and updated after a successful upgrade OpsRequest submission. Response only; not accepted at creation.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof InstanceTemplateCreate
|
|
23
|
+
*/
|
|
24
|
+
'serviceVersion'?: string;
|
|
19
25
|
/**
|
|
20
26
|
* Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
21
27
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC9C;;;;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;CACzC"}
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC9C;;;;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;CACzC"}
|
|
@@ -17,24 +17,6 @@ import type { InstanceStorageItem } from './instance-storage-item';
|
|
|
17
17
|
* @interface Instance
|
|
18
18
|
*/
|
|
19
19
|
export interface Instance {
|
|
20
|
-
/**
|
|
21
|
-
* Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof Instance
|
|
24
|
-
*/
|
|
25
|
-
'availabilityZone'?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof Instance
|
|
30
|
-
*/
|
|
31
|
-
'storageClass'?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Template desired version read from Cluster CR, or component version recorded in metadata at creation or upgrade submission. Empty when unavailable; neither value confirms upgrade completion.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof Instance
|
|
36
|
-
*/
|
|
37
|
-
'serviceVersion'?: string;
|
|
38
20
|
/**
|
|
39
21
|
* Access mode for instance
|
|
40
22
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,EAAE,cAAc,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -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
|
|
15
|
+
* Upgrade the component and/or explicit instance template targets. Template targets require the engine mode to enable template upgrade. Only explicit targets are changed; compDef is preserved. Stored versions are updated after successful OpsRequest submission, including scheduled execution.
|
|
16
16
|
* @export
|
|
17
17
|
* @interface OpsUpgrade
|
|
18
18
|
*/
|
|
@@ -46,20 +46,6 @@ 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;
|
|
55
|
-
/**
|
|
56
|
-
* Desired template versions read from Cluster CR, keyed by template name. Empty template versions inherit the CR component version. This read-only field is not persisted.
|
|
57
|
-
* @type {{ [key: string]: string; }}
|
|
58
|
-
* @memberof ComponentItem
|
|
59
|
-
*/
|
|
60
|
-
'instanceTemplateVersions'?: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
49
|
/**
|
|
64
50
|
* Instance template assignments with effective replicas, placement and storage class, and user-provided env, labels and annotations.
|
|
65
51
|
* @type {Array<InstanceTemplateCreate>}
|
|
@@ -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,
|
|
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,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"}
|
|
@@ -16,6 +16,12 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
|
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
18
18
|
export interface InstanceTemplateCreate {
|
|
19
|
+
/**
|
|
20
|
+
* Configured template version stored in metadata. Set from the component version at creation when template upgrade is enabled, and updated after a successful upgrade OpsRequest submission. Response only; not accepted at creation.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof InstanceTemplateCreate
|
|
23
|
+
*/
|
|
24
|
+
'serviceVersion'?: string;
|
|
19
25
|
/**
|
|
20
26
|
* Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
21
27
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC9C;;;;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;CACzC"}
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC9C;;;;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;CACzC"}
|
|
@@ -46,20 +46,6 @@ 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;
|
|
55
|
-
/**
|
|
56
|
-
* Desired template versions read from Cluster CR, keyed by template name. Empty template versions inherit the CR component version. This read-only field is not persisted.
|
|
57
|
-
* @type {{ [key: string]: string; }}
|
|
58
|
-
* @memberof ComponentItem
|
|
59
|
-
*/
|
|
60
|
-
'instanceTemplateVersions'?: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
49
|
/**
|
|
64
50
|
* Instance template assignments with effective replicas, placement and storage class, and user-provided env, labels and annotations.
|
|
65
51
|
* @type {Array<InstanceTemplateCreate>}
|
|
@@ -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,
|
|
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,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"}
|
|
@@ -16,6 +16,12 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
|
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
18
18
|
export interface InstanceTemplateCreate {
|
|
19
|
+
/**
|
|
20
|
+
* Configured template version stored in metadata. Set from the component version at creation when template upgrade is enabled, and updated after a successful upgrade OpsRequest submission. Response only; not accepted at creation.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof InstanceTemplateCreate
|
|
23
|
+
*/
|
|
24
|
+
'serviceVersion'?: string;
|
|
19
25
|
/**
|
|
20
26
|
* Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
21
27
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC9C;;;;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;CACzC"}
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC9C;;;;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;CACzC"}
|
|
@@ -17,24 +17,6 @@ import type { InstanceStorageItem } from './instance-storage-item';
|
|
|
17
17
|
* @interface Instance
|
|
18
18
|
*/
|
|
19
19
|
export interface Instance {
|
|
20
|
-
/**
|
|
21
|
-
* Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof Instance
|
|
24
|
-
*/
|
|
25
|
-
'availabilityZone'?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof Instance
|
|
30
|
-
*/
|
|
31
|
-
'storageClass'?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Template desired version read from Cluster CR, or component version recorded in metadata at creation or upgrade submission. Empty when unavailable; neither value confirms upgrade completion.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof Instance
|
|
36
|
-
*/
|
|
37
|
-
'serviceVersion'?: string;
|
|
38
20
|
/**
|
|
39
21
|
* Access mode for instance
|
|
40
22
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,EAAE,cAAc,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -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
|
|
15
|
+
* Upgrade the component and/or explicit instance template targets. Template targets require the engine mode to enable template upgrade. Only explicit targets are changed; compDef is preserved. Stored versions are updated after successful OpsRequest submission, including scheduled execution.
|
|
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-
|
|
3
|
+
"version": "0.0.0-support-instance-template-version.20261105.612",
|
|
4
4
|
"description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -53,18 +53,6 @@ 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;
|
|
62
|
-
/**
|
|
63
|
-
* Desired template versions read from Cluster CR, keyed by template name. Empty template versions inherit the CR component version. This read-only field is not persisted.
|
|
64
|
-
* @type {{ [key: string]: string; }}
|
|
65
|
-
* @memberof ComponentItem
|
|
66
|
-
*/
|
|
67
|
-
'instanceTemplateVersions'?: { [key: string]: string; };
|
|
68
56
|
/**
|
|
69
57
|
* Instance template assignments with effective replicas, placement and storage class, and user-provided env, labels and annotations.
|
|
70
58
|
* @type {Array<InstanceTemplateCreate>}
|
|
@@ -23,6 +23,12 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
|
|
|
23
23
|
* @interface InstanceTemplateCreate
|
|
24
24
|
*/
|
|
25
25
|
export interface InstanceTemplateCreate {
|
|
26
|
+
/**
|
|
27
|
+
* Configured template version stored in metadata. Set from the component version at creation when template upgrade is enabled, and updated after a successful upgrade OpsRequest submission. Response only; not accepted at creation.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof InstanceTemplateCreate
|
|
30
|
+
*/
|
|
31
|
+
'serviceVersion'?: string;
|
|
26
32
|
/**
|
|
27
33
|
* Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
28
34
|
* @type {string}
|
|
@@ -26,24 +26,6 @@ import type { InstanceStorageItem } from './instance-storage-item';
|
|
|
26
26
|
* @interface Instance
|
|
27
27
|
*/
|
|
28
28
|
export interface Instance {
|
|
29
|
-
/**
|
|
30
|
-
* Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof Instance
|
|
33
|
-
*/
|
|
34
|
-
'availabilityZone'?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof Instance
|
|
39
|
-
*/
|
|
40
|
-
'storageClass'?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Template desired version read from Cluster CR, or component version recorded in metadata at creation or upgrade submission. Empty when unavailable; neither value confirms upgrade completion.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof Instance
|
|
45
|
-
*/
|
|
46
|
-
'serviceVersion'?: string;
|
|
47
29
|
/**
|
|
48
30
|
* Access mode for instance
|
|
49
31
|
* @type {string}
|
|
@@ -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
|
|
24
|
+
* Upgrade the component and/or explicit instance template targets. Template targets require the engine mode to enable template upgrade. Only explicit targets are changed; compDef is preserved. Stored versions are updated after successful OpsRequest submission, including scheduled execution.
|
|
25
25
|
* @export
|
|
26
26
|
* @interface OpsUpgrade
|
|
27
27
|
*/
|
package/src/adminapi.yaml
CHANGED
|
@@ -33855,6 +33855,10 @@ components:
|
|
|
33855
33855
|
- name
|
|
33856
33856
|
- replicas
|
|
33857
33857
|
properties:
|
|
33858
|
+
serviceVersion:
|
|
33859
|
+
type: string
|
|
33860
|
+
readOnly: true
|
|
33861
|
+
description: Configured template version stored in metadata. Set from the component version at creation when template upgrade is enabled, and updated after a successful upgrade OpsRequest submission. Response only; not accepted at creation.
|
|
33858
33862
|
nodeGroup:
|
|
33859
33863
|
type: string
|
|
33860
33864
|
description: Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
@@ -34340,16 +34344,6 @@ components:
|
|
|
34340
34344
|
availabilityZone:
|
|
34341
34345
|
type: string
|
|
34342
34346
|
description: Explicit component AZ selection, if configured.
|
|
34343
|
-
serviceVersion:
|
|
34344
|
-
type: string
|
|
34345
|
-
readOnly: true
|
|
34346
|
-
description: Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
|
|
34347
|
-
instanceTemplateVersions:
|
|
34348
|
-
type: object
|
|
34349
|
-
readOnly: true
|
|
34350
|
-
description: Desired template versions read from Cluster CR, keyed by template name. Empty template versions inherit the CR component version. This read-only field is not persisted.
|
|
34351
|
-
additionalProperties:
|
|
34352
|
-
type: string
|
|
34353
34347
|
instanceTemplates:
|
|
34354
34348
|
type: array
|
|
34355
34349
|
x-omitempty: true
|
|
@@ -34683,15 +34677,6 @@ components:
|
|
|
34683
34677
|
instance:
|
|
34684
34678
|
description: Instance is the information of KubeBlocks cluster instances
|
|
34685
34679
|
properties:
|
|
34686
|
-
availabilityZone:
|
|
34687
|
-
description: Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
|
|
34688
|
-
type: string
|
|
34689
|
-
storageClass:
|
|
34690
|
-
description: Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
|
|
34691
|
-
type: string
|
|
34692
|
-
serviceVersion:
|
|
34693
|
-
description: Template desired version read from Cluster CR, or component version recorded in metadata at creation or upgrade submission. Empty when unavailable; neither value confirms upgrade completion.
|
|
34694
|
-
type: string
|
|
34695
34680
|
accessMode:
|
|
34696
34681
|
description: Access mode for instance
|
|
34697
34682
|
type: string
|
|
@@ -39393,7 +39378,7 @@ components:
|
|
|
39393
39378
|
minLength: 1
|
|
39394
39379
|
maxLength: 32
|
|
39395
39380
|
opsUpgrade:
|
|
39396
|
-
description: Upgrade component and/or
|
|
39381
|
+
description: Upgrade the component and/or explicit instance template targets. Template targets require the engine mode to enable template upgrade. Only explicit targets are changed; compDef is preserved. Stored versions are updated after successful OpsRequest submission, including scheduled execution.
|
|
39397
39382
|
properties:
|
|
39398
39383
|
version:
|
|
39399
39384
|
type: string
|
|
@@ -53,18 +53,6 @@ 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;
|
|
62
|
-
/**
|
|
63
|
-
* Desired template versions read from Cluster CR, keyed by template name. Empty template versions inherit the CR component version. This read-only field is not persisted.
|
|
64
|
-
* @type {{ [key: string]: string; }}
|
|
65
|
-
* @memberof ComponentItem
|
|
66
|
-
*/
|
|
67
|
-
'instanceTemplateVersions'?: { [key: string]: string; };
|
|
68
56
|
/**
|
|
69
57
|
* Instance template assignments with effective replicas, placement and storage class, and user-provided env, labels and annotations.
|
|
70
58
|
* @type {Array<InstanceTemplateCreate>}
|
|
@@ -23,6 +23,12 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
|
|
|
23
23
|
* @interface InstanceTemplateCreate
|
|
24
24
|
*/
|
|
25
25
|
export interface InstanceTemplateCreate {
|
|
26
|
+
/**
|
|
27
|
+
* Configured template version stored in metadata. Set from the component version at creation when template upgrade is enabled, and updated after a successful upgrade OpsRequest submission. Response only; not accepted at creation.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof InstanceTemplateCreate
|
|
30
|
+
*/
|
|
31
|
+
'serviceVersion'?: string;
|
|
26
32
|
/**
|
|
27
33
|
* Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
28
34
|
* @type {string}
|
package/src/internalapi.yaml
CHANGED
|
@@ -1523,6 +1523,10 @@ components:
|
|
|
1523
1523
|
- name
|
|
1524
1524
|
- replicas
|
|
1525
1525
|
properties:
|
|
1526
|
+
serviceVersion:
|
|
1527
|
+
type: string
|
|
1528
|
+
readOnly: true
|
|
1529
|
+
description: Configured template version stored in metadata. Set from the component version at creation when template upgrade is enabled, and updated after a successful upgrade OpsRequest submission. Response only; not accepted at creation.
|
|
1526
1530
|
nodeGroup:
|
|
1527
1531
|
type: string
|
|
1528
1532
|
description: Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
@@ -1651,16 +1655,6 @@ components:
|
|
|
1651
1655
|
availabilityZone:
|
|
1652
1656
|
type: string
|
|
1653
1657
|
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.
|
|
1658
|
-
instanceTemplateVersions:
|
|
1659
|
-
type: object
|
|
1660
|
-
readOnly: true
|
|
1661
|
-
description: Desired template versions read from Cluster CR, keyed by template name. Empty template versions inherit the CR component version. This read-only field is not persisted.
|
|
1662
|
-
additionalProperties:
|
|
1663
|
-
type: string
|
|
1664
1658
|
instanceTemplates:
|
|
1665
1659
|
type: array
|
|
1666
1660
|
x-omitempty: true
|
|
@@ -53,18 +53,6 @@ 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;
|
|
62
|
-
/**
|
|
63
|
-
* Desired template versions read from Cluster CR, keyed by template name. Empty template versions inherit the CR component version. This read-only field is not persisted.
|
|
64
|
-
* @type {{ [key: string]: string; }}
|
|
65
|
-
* @memberof ComponentItem
|
|
66
|
-
*/
|
|
67
|
-
'instanceTemplateVersions'?: { [key: string]: string; };
|
|
68
56
|
/**
|
|
69
57
|
* Instance template assignments with effective replicas, placement and storage class, and user-provided env, labels and annotations.
|
|
70
58
|
* @type {Array<InstanceTemplateCreate>}
|
|
@@ -23,6 +23,12 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
|
|
|
23
23
|
* @interface InstanceTemplateCreate
|
|
24
24
|
*/
|
|
25
25
|
export interface InstanceTemplateCreate {
|
|
26
|
+
/**
|
|
27
|
+
* Configured template version stored in metadata. Set from the component version at creation when template upgrade is enabled, and updated after a successful upgrade OpsRequest submission. Response only; not accepted at creation.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof InstanceTemplateCreate
|
|
30
|
+
*/
|
|
31
|
+
'serviceVersion'?: string;
|
|
26
32
|
/**
|
|
27
33
|
* Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
28
34
|
* @type {string}
|
|
@@ -26,24 +26,6 @@ import type { InstanceStorageItem } from './instance-storage-item';
|
|
|
26
26
|
* @interface Instance
|
|
27
27
|
*/
|
|
28
28
|
export interface Instance {
|
|
29
|
-
/**
|
|
30
|
-
* Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof Instance
|
|
33
|
-
*/
|
|
34
|
-
'availabilityZone'?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof Instance
|
|
39
|
-
*/
|
|
40
|
-
'storageClass'?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Template desired version read from Cluster CR, or component version recorded in metadata at creation or upgrade submission. Empty when unavailable; neither value confirms upgrade completion.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof Instance
|
|
45
|
-
*/
|
|
46
|
-
'serviceVersion'?: string;
|
|
47
29
|
/**
|
|
48
30
|
* Access mode for instance
|
|
49
31
|
* @type {string}
|
|
@@ -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
|
|
24
|
+
* Upgrade the component and/or explicit instance template targets. Template targets require the engine mode to enable template upgrade. Only explicit targets are changed; compDef is preserved. Stored versions are updated after successful OpsRequest submission, including scheduled execution.
|
|
25
25
|
* @export
|
|
26
26
|
* @interface OpsUpgrade
|
|
27
27
|
*/
|
package/src/openapi.yaml
CHANGED
|
@@ -29219,6 +29219,10 @@ components:
|
|
|
29219
29219
|
- name
|
|
29220
29220
|
- replicas
|
|
29221
29221
|
properties:
|
|
29222
|
+
serviceVersion:
|
|
29223
|
+
type: string
|
|
29224
|
+
readOnly: true
|
|
29225
|
+
description: Configured template version stored in metadata. Set from the component version at creation when template upgrade is enabled, and updated after a successful upgrade OpsRequest submission. Response only; not accepted at creation.
|
|
29222
29226
|
nodeGroup:
|
|
29223
29227
|
type: string
|
|
29224
29228
|
description: Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
|
|
@@ -29686,16 +29690,6 @@ components:
|
|
|
29686
29690
|
availabilityZone:
|
|
29687
29691
|
type: string
|
|
29688
29692
|
description: Explicit component AZ selection, if configured.
|
|
29689
|
-
serviceVersion:
|
|
29690
|
-
type: string
|
|
29691
|
-
readOnly: true
|
|
29692
|
-
description: Component service version recorded at creation or after upgrade submission. Empty when no version has been recorded.
|
|
29693
|
-
instanceTemplateVersions:
|
|
29694
|
-
type: object
|
|
29695
|
-
readOnly: true
|
|
29696
|
-
description: Desired template versions read from Cluster CR, keyed by template name. Empty template versions inherit the CR component version. This read-only field is not persisted.
|
|
29697
|
-
additionalProperties:
|
|
29698
|
-
type: string
|
|
29699
29693
|
instanceTemplates:
|
|
29700
29694
|
type: array
|
|
29701
29695
|
x-omitempty: true
|
|
@@ -30029,15 +30023,6 @@ components:
|
|
|
30029
30023
|
instance:
|
|
30030
30024
|
description: Instance is the information of KubeBlocks cluster instances
|
|
30031
30025
|
properties:
|
|
30032
|
-
availabilityZone:
|
|
30033
|
-
description: Configured component or instance template availability zone read from cluster metadata. Actual node placement is reported in zone.
|
|
30034
|
-
type: string
|
|
30035
|
-
storageClass:
|
|
30036
|
-
description: Configured component or instance template StorageClass read from cluster metadata, falling back to component and environment defaults.
|
|
30037
|
-
type: string
|
|
30038
|
-
serviceVersion:
|
|
30039
|
-
description: Template desired version read from Cluster CR, or component version recorded in metadata at creation or upgrade submission. Empty when unavailable; neither value confirms upgrade completion.
|
|
30040
|
-
type: string
|
|
30041
30026
|
accessMode:
|
|
30042
30027
|
description: Access mode for instance
|
|
30043
30028
|
type: string
|
|
@@ -31260,7 +31245,7 @@ components:
|
|
|
31260
31245
|
minLength: 1
|
|
31261
31246
|
maxLength: 32
|
|
31262
31247
|
opsUpgrade:
|
|
31263
|
-
description: Upgrade component and/or
|
|
31248
|
+
description: Upgrade the component and/or explicit instance template targets. Template targets require the engine mode to enable template upgrade. Only explicit targets are changed; compDef is preserved. Stored versions are updated after successful OpsRequest submission, including scheduled execution.
|
|
31264
31249
|
properties:
|
|
31265
31250
|
version:
|
|
31266
31251
|
type: string
|