kb-cloud-client-typescript 0.0.0-support-instance-template-ops.20260920.626 → 0.0.0-support-instance-template-ops.20260920.800

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.
@@ -13,7 +13,7 @@ import type { InstanceTemplateEnv } from './instance-template-env';
13
13
  import type { InstanceTemplateOp } from './instance-template-op';
14
14
  import type { InstanceTemplateOverlayField } from './instance-template-overlay-field';
15
15
  /**
16
- * Declares instance-template support for this mode component. Create requires instanceTemplates with name and replicas. HScale replica changes require instanceTemplates with name and replicas; shard-count changes use shards and cannot be combined with instanceTemplates. VScale requires instanceTemplates with name and classCode; only those names are updated. The platform does not even-split or fill in missing templates. Instance online/offline can be set together with instanceTemplates. When absent, the component uses component-level operations.
16
+ * Declares instance-template support for this mode component. Create requires instanceTemplates with name and replicas. HScale replica changes require instanceTemplates with name and replicas; shard-count changes use shards; they may be set together with instanceTemplates (KB ops fill both). VScale requires instanceTemplates with name and classCode; only those names are updated. The platform does not even-split or fill in missing templates. Instance online/offline can be set together with instanceTemplates. When absent, the component uses component-level operations.
17
17
  * @export
18
18
  * @interface ModeComponentInstanceTemplate
19
19
  */
@@ -36,7 +36,7 @@ export interface OpsHScale {
36
36
  */
37
37
  'replicas'?: number | null;
38
38
  /**
39
- * Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
39
+ * Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Works on sharding components (HorizontalScaling.componentName is the sharding name). Top-level replicas and shards do not override these counts; KB ops fill replicaChanges/shards and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
40
40
  * @type {Array<InstanceTemplateReplicas>}
41
41
  * @memberof OpsHScale
42
42
  */
@@ -36,13 +36,13 @@ export interface OpsVScale {
36
36
  */
37
37
  'memory'?: string;
38
38
  /**
39
- * Class code for component-level vscale. Required when instanceTemplates is omitted. Ignored for instance-template vscale; each template sets its own classCode.
39
+ * Class code for the component-level VerticalScaling resources. Does not override instanceTemplates[].classCode. Required when instanceTemplates is omitted. When both are set, KB ops fill component resources and per-template Instances together.
40
40
  * @type {string}
41
41
  * @memberof OpsVScale
42
42
  */
43
43
  'classCode'?: string;
44
44
  /**
45
- * Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently.
45
+ * Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently. Top-level classCode does not replace these values.
46
46
  * @type {Array<InstanceTemplateVScale>}
47
47
  * @memberof OpsVScale
48
48
  */
@@ -13,7 +13,7 @@ import type { InstanceTemplateEnv } from './instance-template-env';
13
13
  import type { InstanceTemplateOp } from './instance-template-op';
14
14
  import type { InstanceTemplateOverlayField } from './instance-template-overlay-field';
15
15
  /**
16
- * Declares instance-template support for this mode component. Create requires instanceTemplates with name and replicas. HScale replica changes require instanceTemplates with name and replicas; shard-count changes use shards and cannot be combined with instanceTemplates. VScale requires instanceTemplates with name and classCode; only those names are updated. The platform does not even-split or fill in missing templates. Instance online/offline can be set together with instanceTemplates. When absent, the component uses component-level operations.
16
+ * Declares instance-template support for this mode component. Create requires instanceTemplates with name and replicas. HScale replica changes require instanceTemplates with name and replicas; shard-count changes use shards; they may be set together with instanceTemplates (KB ops fill both). VScale requires instanceTemplates with name and classCode; only those names are updated. The platform does not even-split or fill in missing templates. Instance online/offline can be set together with instanceTemplates. When absent, the component uses component-level operations.
17
17
  * @export
18
18
  * @interface ModeComponentInstanceTemplate
19
19
  */
@@ -36,7 +36,7 @@ export interface OpsHScale {
36
36
  */
37
37
  'replicas'?: number | null;
38
38
  /**
39
- * Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
39
+ * Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Works on sharding components (HorizontalScaling.componentName is the sharding name). Top-level replicas and shards do not override these counts; KB ops fill replicaChanges/shards and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
40
40
  * @type {Array<InstanceTemplateReplicas>}
41
41
  * @memberof OpsHScale
42
42
  */
@@ -36,13 +36,13 @@ export interface OpsVScale {
36
36
  */
37
37
  'memory'?: string;
38
38
  /**
39
- * Class code for component-level vscale. Required when instanceTemplates is omitted. Ignored for instance-template vscale; each template sets its own classCode.
39
+ * Class code for the component-level VerticalScaling resources. Does not override instanceTemplates[].classCode. Required when instanceTemplates is omitted. When both are set, KB ops fill component resources and per-template Instances together.
40
40
  * @type {string}
41
41
  * @memberof OpsVScale
42
42
  */
43
43
  'classCode'?: string;
44
44
  /**
45
- * Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently.
45
+ * Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently. Top-level classCode does not replace these values.
46
46
  * @type {Array<InstanceTemplateVScale>}
47
47
  * @memberof OpsVScale
48
48
  */
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-ops.20260920.626",
3
+ "version": "0.0.0-support-instance-template-ops.20260920.800",
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 { InstanceTemplateOp } from './instance-template-op';
24
24
  import type { InstanceTemplateOverlayField } from './instance-template-overlay-field';
25
25
 
26
26
  /**
27
- * Declares instance-template support for this mode component. Create requires instanceTemplates with name and replicas. HScale replica changes require instanceTemplates with name and replicas; shard-count changes use shards and cannot be combined with instanceTemplates. VScale requires instanceTemplates with name and classCode; only those names are updated. The platform does not even-split or fill in missing templates. Instance online/offline can be set together with instanceTemplates. When absent, the component uses component-level operations.
27
+ * Declares instance-template support for this mode component. Create requires instanceTemplates with name and replicas. HScale replica changes require instanceTemplates with name and replicas; shard-count changes use shards; they may be set together with instanceTemplates (KB ops fill both). VScale requires instanceTemplates with name and classCode; only those names are updated. The platform does not even-split or fill in missing templates. Instance online/offline can be set together with instanceTemplates. When absent, the component uses component-level operations.
28
28
  * @export
29
29
  * @interface ModeComponentInstanceTemplate
30
30
  */
@@ -45,7 +45,7 @@ export interface OpsHScale {
45
45
  */
46
46
  'replicas'?: number | null;
47
47
  /**
48
- * Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
48
+ * Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Works on sharding components (HorizontalScaling.componentName is the sharding name). Top-level replicas and shards do not override these counts; KB ops fill replicaChanges/shards and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
49
49
  * @type {Array<InstanceTemplateReplicas>}
50
50
  * @memberof OpsHScale
51
51
  */
@@ -45,13 +45,13 @@ export interface OpsVScale {
45
45
  */
46
46
  'memory'?: string;
47
47
  /**
48
- * Class code for component-level vscale. Required when instanceTemplates is omitted. Ignored for instance-template vscale; each template sets its own classCode.
48
+ * Class code for the component-level VerticalScaling resources. Does not override instanceTemplates[].classCode. Required when instanceTemplates is omitted. When both are set, KB ops fill component resources and per-template Instances together.
49
49
  * @type {string}
50
50
  * @memberof OpsVScale
51
51
  */
52
52
  'classCode'?: string;
53
53
  /**
54
- * Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently.
54
+ * Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently. Top-level classCode does not replace these values.
55
55
  * @type {Array<InstanceTemplateVScale>}
56
56
  * @memberof OpsVScale
57
57
  */
package/src/adminapi.yaml CHANGED
@@ -30487,7 +30487,7 @@ components:
30487
30487
  instanceTemplates:
30488
30488
  type: array
30489
30489
  minItems: 1
30490
- description: Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
30490
+ description: Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Works on sharding components (HorizontalScaling.componentName is the sharding name). Top-level replicas and shards do not override these counts; KB ops fill replicaChanges/shards and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
30491
30491
  items:
30492
30492
  $ref: '#/components/schemas/instanceTemplateReplicas'
30493
30493
  onlineInstancesToOffline:
@@ -34548,14 +34548,14 @@ components:
34548
34548
  type: string
34549
34549
  classCode:
34550
34550
  description: |
34551
- Class code for component-level vscale. Required when instanceTemplates is omitted. Ignored for instance-template vscale; each template sets its own classCode.
34551
+ Class code for the component-level VerticalScaling resources. Does not override instanceTemplates[].classCode. Required when instanceTemplates is omitted. When both are set, KB ops fill component resources and per-template Instances together.
34552
34552
  type: string
34553
34553
  instanceTemplates:
34554
34554
  type: array
34555
34555
  minItems: 1
34556
34556
  items:
34557
34557
  $ref: '#/components/schemas/instanceTemplateVScale'
34558
- description: Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently.
34558
+ description: Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently. Top-level classCode does not replace these values.
34559
34559
  nullable: true
34560
34560
  schedule:
34561
34561
  $ref: '#/components/schemas/taskSchedule'
@@ -38295,7 +38295,8 @@ components:
38295
38295
  Declares instance-template support for this mode component.
38296
38296
  Create requires instanceTemplates with name and replicas.
38297
38297
  HScale replica changes require instanceTemplates with name and replicas;
38298
- shard-count changes use shards and cannot be combined with instanceTemplates.
38298
+ shard-count changes use shards; they may be set together with
38299
+ instanceTemplates (KB ops fill both).
38299
38300
  VScale requires instanceTemplates with name and classCode;
38300
38301
  only those names are updated.
38301
38302
  The platform does not even-split or fill in missing templates.
@@ -24,7 +24,7 @@ import type { InstanceTemplateOp } from './instance-template-op';
24
24
  import type { InstanceTemplateOverlayField } from './instance-template-overlay-field';
25
25
 
26
26
  /**
27
- * Declares instance-template support for this mode component. Create requires instanceTemplates with name and replicas. HScale replica changes require instanceTemplates with name and replicas; shard-count changes use shards and cannot be combined with instanceTemplates. VScale requires instanceTemplates with name and classCode; only those names are updated. The platform does not even-split or fill in missing templates. Instance online/offline can be set together with instanceTemplates. When absent, the component uses component-level operations.
27
+ * Declares instance-template support for this mode component. Create requires instanceTemplates with name and replicas. HScale replica changes require instanceTemplates with name and replicas; shard-count changes use shards; they may be set together with instanceTemplates (KB ops fill both). VScale requires instanceTemplates with name and classCode; only those names are updated. The platform does not even-split or fill in missing templates. Instance online/offline can be set together with instanceTemplates. When absent, the component uses component-level operations.
28
28
  * @export
29
29
  * @interface ModeComponentInstanceTemplate
30
30
  */
@@ -45,7 +45,7 @@ export interface OpsHScale {
45
45
  */
46
46
  'replicas'?: number | null;
47
47
  /**
48
- * Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
48
+ * Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Works on sharding components (HorizontalScaling.componentName is the sharding name). Top-level replicas and shards do not override these counts; KB ops fill replicaChanges/shards and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
49
49
  * @type {Array<InstanceTemplateReplicas>}
50
50
  * @memberof OpsHScale
51
51
  */
@@ -45,13 +45,13 @@ export interface OpsVScale {
45
45
  */
46
46
  'memory'?: string;
47
47
  /**
48
- * Class code for component-level vscale. Required when instanceTemplates is omitted. Ignored for instance-template vscale; each template sets its own classCode.
48
+ * Class code for the component-level VerticalScaling resources. Does not override instanceTemplates[].classCode. Required when instanceTemplates is omitted. When both are set, KB ops fill component resources and per-template Instances together.
49
49
  * @type {string}
50
50
  * @memberof OpsVScale
51
51
  */
52
52
  'classCode'?: string;
53
53
  /**
54
- * Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently.
54
+ * Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently. Top-level classCode does not replace these values.
55
55
  * @type {Array<InstanceTemplateVScale>}
56
56
  * @memberof OpsVScale
57
57
  */
package/src/openapi.yaml CHANGED
@@ -25677,7 +25677,7 @@ components:
25677
25677
  instanceTemplates:
25678
25678
  type: array
25679
25679
  minItems: 1
25680
- description: Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
25680
+ description: Target replica count for one or more instance templates. Required for replica hscale when the engine option declares instanceTemplate with hscale. Works on sharding components (HorizontalScaling.componentName is the sharding name). Top-level replicas and shards do not override these counts; KB ops fill replicaChanges/shards and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
25681
25681
  items:
25682
25682
  $ref: '#/components/schemas/instanceTemplateReplicas'
25683
25683
  onlineInstancesToOffline:
@@ -26656,14 +26656,14 @@ components:
26656
26656
  type: string
26657
26657
  classCode:
26658
26658
  description: |
26659
- Class code for component-level vscale. Required when instanceTemplates is omitted. Ignored for instance-template vscale; each template sets its own classCode.
26659
+ Class code for the component-level VerticalScaling resources. Does not override instanceTemplates[].classCode. Required when instanceTemplates is omitted. When both are set, KB ops fill component resources and per-template Instances together.
26660
26660
  type: string
26661
26661
  instanceTemplates:
26662
26662
  type: array
26663
26663
  minItems: 1
26664
26664
  items:
26665
26665
  $ref: '#/components/schemas/instanceTemplateVScale'
26666
- description: Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently.
26666
+ description: Per-template classCode assignments. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Each item sets name and classCode independently. Top-level classCode does not replace these values.
26667
26667
  nullable: true
26668
26668
  schedule:
26669
26669
  $ref: '#/components/schemas/taskSchedule'
@@ -31916,7 +31916,8 @@ components:
31916
31916
  Declares instance-template support for this mode component.
31917
31917
  Create requires instanceTemplates with name and replicas.
31918
31918
  HScale replica changes require instanceTemplates with name and replicas;
31919
- shard-count changes use shards and cannot be combined with instanceTemplates.
31919
+ shard-count changes use shards; they may be set together with
31920
+ instanceTemplates (KB ops fill both).
31920
31921
  VScale requires instanceTemplates with name and classCode;
31921
31922
  only those names are updated.
31922
31923
  The platform does not even-split or fill in missing templates.