kb-cloud-client-typescript 0.0.0-support-instance-template-ops.20260920.740 → 0.0.0-support-instance-template-ops.20260920.824

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 for every declared name; component replicas must equal the sum of those replica counts. HScale/vscale: if instanceTemplates names are set, KB ops include per-instance config; if omitted, only the component-level fields are set. 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 shards. Top-level replicas does not override these counts; KB ops fill component replicaChanges and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
39
+ * Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names; if omitted, component-level replicaChanges/shards are used with no Instances. Works on sharding components. Top-level replicas and shards do not override these counts. Names must be unique and declared.
40
40
  * @type {Array<InstanceTemplateReplicas>}
41
41
  * @memberof OpsHScale
42
42
  */
@@ -42,7 +42,7 @@ export interface 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. Top-level classCode does not replace these values.
45
+ * Per-template classCode assignments. If set, KB VerticalScaling includes instances[] for those names; if omitted, only component resources are set. 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 for every declared name; component replicas must equal the sum of those replica counts. HScale/vscale: if instanceTemplates names are set, KB ops include per-instance config; if omitted, only the component-level fields are set. 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 shards. Top-level replicas does not override these counts; KB ops fill component replicaChanges and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
39
+ * Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names; if omitted, component-level replicaChanges/shards are used with no Instances. Works on sharding components. Top-level replicas and shards do not override these counts. Names must be unique and declared.
40
40
  * @type {Array<InstanceTemplateReplicas>}
41
41
  * @memberof OpsHScale
42
42
  */
@@ -42,7 +42,7 @@ export interface 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. Top-level classCode does not replace these values.
45
+ * Per-template classCode assignments. If set, KB VerticalScaling includes instances[] for those names; if omitted, only component resources are set. 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.740",
3
+ "version": "0.0.0-support-instance-template-ops.20260920.824",
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 for every declared name; component replicas must equal the sum of those replica counts. HScale/vscale: if instanceTemplates names are set, KB ops include per-instance config; if omitted, only the component-level fields are set. 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 shards. Top-level replicas does not override these counts; KB ops fill component replicaChanges and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
48
+ * Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names; if omitted, component-level replicaChanges/shards are used with no Instances. Works on sharding components. Top-level replicas and shards do not override these counts. Names must be unique and declared.
49
49
  * @type {Array<InstanceTemplateReplicas>}
50
50
  * @memberof OpsHScale
51
51
  */
@@ -51,7 +51,7 @@ export interface 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. Top-level classCode does not replace these values.
54
+ * Per-template classCode assignments. If set, KB VerticalScaling includes instances[] for those names; if omitted, only component resources are set. 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 shards. Top-level replicas does not override these counts; KB ops fill component replicaChanges and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
30490
+ description: Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names; if omitted, component-level replicaChanges/shards are used with no Instances. Works on sharding components. Top-level replicas and shards do not override these counts. Names must be unique and declared.
30491
30491
  items:
30492
30492
  $ref: '#/components/schemas/instanceTemplateReplicas'
30493
30493
  onlineInstancesToOffline:
@@ -34555,7 +34555,7 @@ components:
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. Top-level classCode does not replace these values.
34558
+ description: Per-template classCode assignments. If set, KB VerticalScaling includes instances[] for those names; if omitted, only component resources are set. 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'
@@ -38293,11 +38293,10 @@ components:
38293
38293
  type: object
38294
38294
  description: |
38295
38295
  Declares instance-template support for this mode component.
38296
- Create requires instanceTemplates with name and replicas.
38297
- HScale replica changes require instanceTemplates with name and replicas;
38298
- shard-count changes use shards and cannot be combined with instanceTemplates.
38299
- VScale requires instanceTemplates with name and classCode;
38300
- only those names are updated.
38296
+ Create requires instanceTemplates for every declared name; component
38297
+ replicas must equal the sum of those replica counts.
38298
+ HScale/vscale: if instanceTemplates names are set, KB ops include
38299
+ per-instance config; if omitted, only the component-level fields are set.
38301
38300
  The platform does not even-split or fill in missing templates.
38302
38301
  Instance online/offline can be set together with instanceTemplates.
38303
38302
  When absent, the component uses component-level operations.
@@ -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 for every declared name; component replicas must equal the sum of those replica counts. HScale/vscale: if instanceTemplates names are set, KB ops include per-instance config; if omitted, only the component-level fields are set. 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 shards. Top-level replicas does not override these counts; KB ops fill component replicaChanges and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
48
+ * Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names; if omitted, component-level replicaChanges/shards are used with no Instances. Works on sharding components. Top-level replicas and shards do not override these counts. Names must be unique and declared.
49
49
  * @type {Array<InstanceTemplateReplicas>}
50
50
  * @memberof OpsHScale
51
51
  */
@@ -51,7 +51,7 @@ export interface 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. Top-level classCode does not replace these values.
54
+ * Per-template classCode assignments. If set, KB VerticalScaling includes instances[] for those names; if omitted, only component resources are set. 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 shards. Top-level replicas does not override these counts; KB ops fill component replicaChanges and per-template instances together. Names must be unique and declared; unspecified templates are left unchanged.
25680
+ description: Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names; if omitted, component-level replicaChanges/shards are used with no Instances. Works on sharding components. Top-level replicas and shards do not override these counts. Names must be unique and declared.
25681
25681
  items:
25682
25682
  $ref: '#/components/schemas/instanceTemplateReplicas'
25683
25683
  onlineInstancesToOffline:
@@ -26663,7 +26663,7 @@ components:
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. Top-level classCode does not replace these values.
26666
+ description: Per-template classCode assignments. If set, KB VerticalScaling includes instances[] for those names; if omitted, only component resources are set. 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'
@@ -31914,11 +31914,10 @@ components:
31914
31914
  type: object
31915
31915
  description: |
31916
31916
  Declares instance-template support for this mode component.
31917
- Create requires instanceTemplates with name and replicas.
31918
- HScale replica changes require instanceTemplates with name and replicas;
31919
- shard-count changes use shards and cannot be combined with instanceTemplates.
31920
- VScale requires instanceTemplates with name and classCode;
31921
- only those names are updated.
31917
+ Create requires instanceTemplates for every declared name; component
31918
+ replicas must equal the sum of those replica counts.
31919
+ HScale/vscale: if instanceTemplates names are set, KB ops include
31920
+ per-instance config; if omitted, only the component-level fields are set.
31922
31921
  The platform does not even-split or fill in missing templates.
31923
31922
  Instance online/offline can be set together with instanceTemplates.
31924
31923
  When absent, the component uses component-level operations.