kb-cloud-client-typescript 0.0.0-support-instance-template-version.20261105.719 → 0.0.0-support-instance-template-version.20261105.935

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.
@@ -17,7 +17,7 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
17
17
  */
18
18
  export interface InstanceTemplateCreate {
19
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.
20
+ * Template version stored after a successful full-state upgrade OpsRequest submission. An absent value inherits the component version. Response only; not accepted at creation.
21
21
  * @type {string}
22
22
  * @memberof InstanceTemplateCreate
23
23
  */
@@ -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 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.
15
+ * Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates. compDef is preserved. All template versions are stored after successful OpsRequest submission; scheduled tasks follow existing component execution behavior.
16
16
  * @export
17
17
  * @interface OpsUpgrade
18
18
  */
@@ -22,7 +22,7 @@ export interface OpsUpgrade {
22
22
  * @type {string}
23
23
  * @memberof OpsUpgrade
24
24
  */
25
- 'version'?: string | null;
25
+ 'version': string;
26
26
  /**
27
27
  *
28
28
  * @type {Array<InstanceTemplateUpgrade>}
@@ -1 +1 @@
1
- {"version":3,"file":"ops-upgrade.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/ops-upgrade.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACrD;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC;CAC7B"}
1
+ {"version":3,"file":"ops-upgrade.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/ops-upgrade.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACrD;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC;CAC7B"}
@@ -17,7 +17,7 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
17
17
  */
18
18
  export interface InstanceTemplateCreate {
19
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.
20
+ * Template version stored after a successful full-state upgrade OpsRequest submission. An absent value inherits the component version. Response only; not accepted at creation.
21
21
  * @type {string}
22
22
  * @memberof InstanceTemplateCreate
23
23
  */
@@ -17,7 +17,7 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
17
17
  */
18
18
  export interface InstanceTemplateCreate {
19
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.
20
+ * Template version stored after a successful full-state upgrade OpsRequest submission. An absent value inherits the component version. Response only; not accepted at creation.
21
21
  * @type {string}
22
22
  * @memberof InstanceTemplateCreate
23
23
  */
@@ -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 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.
15
+ * Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates. compDef is preserved. All template versions are stored after successful OpsRequest submission; scheduled tasks follow existing component execution behavior.
16
16
  * @export
17
17
  * @interface OpsUpgrade
18
18
  */
@@ -22,7 +22,7 @@ export interface OpsUpgrade {
22
22
  * @type {string}
23
23
  * @memberof OpsUpgrade
24
24
  */
25
- 'version'?: string | null;
25
+ 'version': string;
26
26
  /**
27
27
  *
28
28
  * @type {Array<InstanceTemplateUpgrade>}
@@ -1 +1 @@
1
- {"version":3,"file":"ops-upgrade.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ops-upgrade.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACrD;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC;CAC7B"}
1
+ {"version":3,"file":"ops-upgrade.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ops-upgrade.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IACrD;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC;CAC7B"}
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.20261105.719",
3
+ "version": "0.0.0-support-instance-template-version.20261105.935",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -24,7 +24,7 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
24
24
  */
25
25
  export interface InstanceTemplateCreate {
26
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.
27
+ * Template version stored after a successful full-state upgrade OpsRequest submission. An absent value inherits the component version. Response only; not accepted at creation.
28
28
  * @type {string}
29
29
  * @memberof InstanceTemplateCreate
30
30
  */
@@ -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 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.
24
+ * Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates. compDef is preserved. All template versions are stored after successful OpsRequest submission; scheduled tasks follow existing component execution behavior.
25
25
  * @export
26
26
  * @interface OpsUpgrade
27
27
  */
@@ -31,7 +31,7 @@ export interface OpsUpgrade {
31
31
  * @type {string}
32
32
  * @memberof OpsUpgrade
33
33
  */
34
- 'version'?: string | null;
34
+ 'version': string;
35
35
  /**
36
36
  *
37
37
  * @type {Array<InstanceTemplateUpgrade>}
package/src/adminapi.yaml CHANGED
@@ -33858,7 +33858,7 @@ components:
33858
33858
  serviceVersion:
33859
33859
  type: string
33860
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.
33861
+ description: Template version stored after a successful full-state upgrade OpsRequest submission. An absent value inherits the component version. Response only; not accepted at creation.
33862
33862
  nodeGroup:
33863
33863
  type: string
33864
33864
  description: Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
@@ -39378,11 +39378,10 @@ components:
39378
39378
  minLength: 1
39379
39379
  maxLength: 32
39380
39380
  opsUpgrade:
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.
39381
+ description: Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates. compDef is preserved. All template versions are stored after successful OpsRequest submission; scheduled tasks follow existing component execution behavior.
39382
39382
  properties:
39383
39383
  version:
39384
39384
  type: string
39385
- nullable: true
39386
39385
  minLength: 1
39387
39386
  instanceTemplates:
39388
39387
  type: array
@@ -39395,6 +39394,7 @@ components:
39395
39394
  description: Scheduled execution configuration
39396
39395
  nullable: true
39397
39396
  required:
39397
+ - version
39398
39398
  - component
39399
39399
  type: object
39400
39400
  instanceTemplateServiceVersions:
@@ -24,7 +24,7 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
24
24
  */
25
25
  export interface InstanceTemplateCreate {
26
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.
27
+ * Template version stored after a successful full-state upgrade OpsRequest submission. An absent value inherits the component version. Response only; not accepted at creation.
28
28
  * @type {string}
29
29
  * @memberof InstanceTemplateCreate
30
30
  */
@@ -1526,7 +1526,7 @@ components:
1526
1526
  serviceVersion:
1527
1527
  type: string
1528
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.
1529
+ description: Template version stored after a successful full-state upgrade OpsRequest submission. An absent value inherits the component version. Response only; not accepted at creation.
1530
1530
  nodeGroup:
1531
1531
  type: string
1532
1532
  description: Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
@@ -24,7 +24,7 @@ import type { InstanceTemplateCreateEnvInner } from './instance-template-create-
24
24
  */
25
25
  export interface InstanceTemplateCreate {
26
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.
27
+ * Template version stored after a successful full-state upgrade OpsRequest submission. An absent value inherits the component version. Response only; not accepted at creation.
28
28
  * @type {string}
29
29
  * @memberof InstanceTemplateCreate
30
30
  */
@@ -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 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.
24
+ * Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates. compDef is preserved. All template versions are stored after successful OpsRequest submission; scheduled tasks follow existing component execution behavior.
25
25
  * @export
26
26
  * @interface OpsUpgrade
27
27
  */
@@ -31,7 +31,7 @@ export interface OpsUpgrade {
31
31
  * @type {string}
32
32
  * @memberof OpsUpgrade
33
33
  */
34
- 'version'?: string | null;
34
+ 'version': string;
35
35
  /**
36
36
  *
37
37
  * @type {Array<InstanceTemplateUpgrade>}
package/src/openapi.yaml CHANGED
@@ -29222,7 +29222,7 @@ components:
29222
29222
  serviceVersion:
29223
29223
  type: string
29224
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.
29225
+ description: Template version stored after a successful full-state upgrade OpsRequest submission. An absent value inherits the component version. Response only; not accepted at creation.
29226
29226
  nodeGroup:
29227
29227
  type: string
29228
29228
  description: Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
@@ -31245,11 +31245,10 @@ components:
31245
31245
  minLength: 1
31246
31246
  maxLength: 32
31247
31247
  opsUpgrade:
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.
31248
+ description: Upgrade a component. A mode component with template upgrade enabled requires all template target versions and a component version equal to their minimum. Unchanged entries are allowed; changed entries follow the existing component upgrade rules. Other components must not specify templates. compDef is preserved. All template versions are stored after successful OpsRequest submission; scheduled tasks follow existing component execution behavior.
31249
31249
  properties:
31250
31250
  version:
31251
31251
  type: string
31252
- nullable: true
31253
31252
  minLength: 1
31254
31253
  instanceTemplates:
31255
31254
  type: array
@@ -31262,6 +31261,7 @@ components:
31262
31261
  description: Scheduled execution configuration
31263
31262
  nullable: true
31264
31263
  required:
31264
+ - version
31265
31265
  - component
31266
31266
  type: object
31267
31267
  instanceTemplateServiceVersions: