kb-cloud-client-typescript 0.0.0-support-instance-template-ops.20260920.1103 → 0.0.0-support-instance-template-ops.20260920.1106

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 for every declared name; component replicas must equal the sum of those replica counts. HScale: if instanceTemplates names are set, KB ops include per-instance replicaChanges; if omitted, only component-level fields are set. VScale is component-level only (no per-template class). 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: instanceTemplates requires top-level replicas. Named templates attach as scaleIn/scaleOut.instances; omit names for component-level only. VScale is component-level only (no per-template class). 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
  */
@@ -12,7 +12,7 @@
12
12
  import type { InstanceTemplateReplicas } from './instance-template-replicas';
13
13
  import type { TaskSchedule } from './task-schedule';
14
14
  /**
15
- * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas, shards, or instanceTemplates.
15
+ * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. instanceTemplates is an optional overlay and requires top-level replicas.
16
16
  * @export
17
17
  * @interface OpsHScale
18
18
  */
@@ -36,7 +36,7 @@ export interface OpsHScale {
36
36
  */
37
37
  'replicas'?: number | null;
38
38
  /**
39
- * Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names. Top-level replicas is component-level and is applied together (not dropped). Names must be unique and declared.
39
+ * Target replica count for named instance templates. Requires top-level replicas (component-level). If set, KB ops include scaleIn/scaleOut.instances for those names. Names must be unique and declared.
40
40
  * @type {Array<InstanceTemplateReplicas>}
41
41
  * @memberof OpsHScale
42
42
  */
@@ -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 for every declared name; component replicas must equal the sum of those replica counts. HScale: if instanceTemplates names are set, KB ops include per-instance replicaChanges; if omitted, only component-level fields are set. VScale is component-level only (no per-template class). 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: instanceTemplates requires top-level replicas. Named templates attach as scaleIn/scaleOut.instances; omit names for component-level only. VScale is component-level only (no per-template class). 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
  */
@@ -12,7 +12,7 @@
12
12
  import type { InstanceTemplateReplicas } from './instance-template-replicas';
13
13
  import type { TaskSchedule } from './task-schedule';
14
14
  /**
15
- * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas, shards, or instanceTemplates.
15
+ * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. instanceTemplates is an optional overlay and requires top-level replicas.
16
16
  * @export
17
17
  * @interface OpsHScale
18
18
  */
@@ -36,7 +36,7 @@ export interface OpsHScale {
36
36
  */
37
37
  'replicas'?: number | null;
38
38
  /**
39
- * Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names. Top-level replicas is component-level and is applied together (not dropped). Names must be unique and declared.
39
+ * Target replica count for named instance templates. Requires top-level replicas (component-level). If set, KB ops include scaleIn/scaleOut.instances for those names. Names must be unique and declared.
40
40
  * @type {Array<InstanceTemplateReplicas>}
41
41
  * @memberof OpsHScale
42
42
  */
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.1103",
3
+ "version": "0.0.0-support-instance-template-ops.20260920.1106",
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 for every declared name; component replicas must equal the sum of those replica counts. HScale: if instanceTemplates names are set, KB ops include per-instance replicaChanges; if omitted, only component-level fields are set. VScale is component-level only (no per-template class). 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: instanceTemplates requires top-level replicas. Named templates attach as scaleIn/scaleOut.instances; omit names for component-level only. VScale is component-level only (no per-template class). 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
  */
@@ -21,7 +21,7 @@ import type { InstanceTemplateReplicas } from './instance-template-replicas';
21
21
  import type { TaskSchedule } from './task-schedule';
22
22
 
23
23
  /**
24
- * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas, shards, or instanceTemplates.
24
+ * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. instanceTemplates is an optional overlay and requires top-level replicas.
25
25
  * @export
26
26
  * @interface OpsHScale
27
27
  */
@@ -45,7 +45,7 @@ export interface OpsHScale {
45
45
  */
46
46
  'replicas'?: number | null;
47
47
  /**
48
- * Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names. Top-level replicas is component-level and is applied together (not dropped). Names must be unique and declared.
48
+ * Target replica count for named instance templates. Requires top-level replicas (component-level). If set, KB ops include scaleIn/scaleOut.instances for those names. Names must be unique and declared.
49
49
  * @type {Array<InstanceTemplateReplicas>}
50
50
  * @memberof OpsHScale
51
51
  */
package/src/adminapi.yaml CHANGED
@@ -30470,7 +30470,7 @@ components:
30470
30470
  minimum: 1
30471
30471
  description: Target replica count for this instance template.
30472
30472
  opsHScale:
30473
- description: OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas, shards, or instanceTemplates.
30473
+ description: OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. instanceTemplates is an optional overlay and requires top-level replicas.
30474
30474
  required:
30475
30475
  - component
30476
30476
  properties:
@@ -30489,7 +30489,7 @@ components:
30489
30489
  instanceTemplates:
30490
30490
  type: array
30491
30491
  minItems: 1
30492
- description: Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names. Top-level replicas is component-level and is applied together (not dropped). Names must be unique and declared.
30492
+ description: Target replica count for named instance templates. Requires top-level replicas (component-level). If set, KB ops include scaleIn/scaleOut.instances for those names. Names must be unique and declared.
30493
30493
  items:
30494
30494
  $ref: '#/components/schemas/instanceTemplateReplicas'
30495
30495
  onlineInstancesToOffline:
@@ -38273,8 +38273,8 @@ components:
38273
38273
  Declares instance-template support for this mode component.
38274
38274
  Create requires instanceTemplates for every declared name; component
38275
38275
  replicas must equal the sum of those replica counts.
38276
- HScale: if instanceTemplates names are set, KB ops include per-instance
38277
- replicaChanges; if omitted, only component-level fields are set.
38276
+ HScale: instanceTemplates requires top-level replicas. Named templates
38277
+ attach as scaleIn/scaleOut.instances; omit names for component-level only.
38278
38278
  VScale is component-level only (no per-template class).
38279
38279
  The platform does not even-split or fill in missing templates.
38280
38280
  Instance online/offline can be set together with instanceTemplates.
@@ -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 for every declared name; component replicas must equal the sum of those replica counts. HScale: if instanceTemplates names are set, KB ops include per-instance replicaChanges; if omitted, only component-level fields are set. VScale is component-level only (no per-template class). 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: instanceTemplates requires top-level replicas. Named templates attach as scaleIn/scaleOut.instances; omit names for component-level only. VScale is component-level only (no per-template class). 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
  */
@@ -21,7 +21,7 @@ import type { InstanceTemplateReplicas } from './instance-template-replicas';
21
21
  import type { TaskSchedule } from './task-schedule';
22
22
 
23
23
  /**
24
- * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas, shards, or instanceTemplates.
24
+ * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. instanceTemplates is an optional overlay and requires top-level replicas.
25
25
  * @export
26
26
  * @interface OpsHScale
27
27
  */
@@ -45,7 +45,7 @@ export interface OpsHScale {
45
45
  */
46
46
  'replicas'?: number | null;
47
47
  /**
48
- * Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names. Top-level replicas is component-level and is applied together (not dropped). Names must be unique and declared.
48
+ * Target replica count for named instance templates. Requires top-level replicas (component-level). If set, KB ops include scaleIn/scaleOut.instances for those names. Names must be unique and declared.
49
49
  * @type {Array<InstanceTemplateReplicas>}
50
50
  * @memberof OpsHScale
51
51
  */
package/src/openapi.yaml CHANGED
@@ -25660,7 +25660,7 @@ components:
25660
25660
  minimum: 1
25661
25661
  description: Target replica count for this instance template.
25662
25662
  opsHScale:
25663
- description: OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas, shards, or instanceTemplates.
25663
+ description: OpsHScale is the payload to horizontally scale a KubeBlocks cluster. Specify replicas or shards. instanceTemplates is an optional overlay and requires top-level replicas.
25664
25664
  required:
25665
25665
  - component
25666
25666
  properties:
@@ -25679,7 +25679,7 @@ components:
25679
25679
  instanceTemplates:
25680
25680
  type: array
25681
25681
  minItems: 1
25682
- description: Target replica count for named instance templates. If set, KB ops include scaleIn/scaleOut.instances for those names. Top-level replicas is component-level and is applied together (not dropped). Names must be unique and declared.
25682
+ description: Target replica count for named instance templates. Requires top-level replicas (component-level). If set, KB ops include scaleIn/scaleOut.instances for those names. Names must be unique and declared.
25683
25683
  items:
25684
25684
  $ref: '#/components/schemas/instanceTemplateReplicas'
25685
25685
  onlineInstancesToOffline:
@@ -31894,8 +31894,8 @@ components:
31894
31894
  Declares instance-template support for this mode component.
31895
31895
  Create requires instanceTemplates for every declared name; component
31896
31896
  replicas must equal the sum of those replica counts.
31897
- HScale: if instanceTemplates names are set, KB ops include per-instance
31898
- replicaChanges; if omitted, only component-level fields are set.
31897
+ HScale: instanceTemplates requires top-level replicas. Named templates
31898
+ attach as scaleIn/scaleOut.instances; omit names for component-level only.
31899
31899
  VScale is component-level only (no per-template class).
31900
31900
  The platform does not even-split or fill in missing templates.
31901
31901
  Instance online/offline can be set together with instanceTemplates.