kb-cloud-client-typescript 0.0.0-support-instance-template-ops.20260920.333 → 0.0.0-support-instance-template-ops.20260920.410

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 requires instanceTemplates with name and replicas. VScale uses one classCode; instanceTemplates names are optional (omit to apply the class to the component and every declared template). The platform does not even-split or fill in missing templates. Individual instance online/offline is not supported. 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 and cannot be combined with instanceTemplates. VScale uses one classCode and requires instanceTemplates names; only those names are updated. The platform does not even-split or fill in missing templates. Individual instance online/offline is not supported. 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 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. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
40
40
  * @type {Array<InstanceTemplateReplicas>}
41
41
  * @memberof OpsHScale
42
42
  */
@@ -41,7 +41,7 @@ export interface OpsVScale {
41
41
  */
42
42
  'classCode'?: string;
43
43
  /**
44
- * Optional instance template names to apply the single classCode to. When omitted on an instance-template component, the class is applied to the component and every declared template. When set, only these names are updated. Names must be unique and declared.
44
+ * Instance template names to apply the single classCode to. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Names must be unique and declared.
45
45
  * @type {Set<string>}
46
46
  * @memberof OpsVScale
47
47
  */
@@ -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 requires instanceTemplates with name and replicas. VScale uses one classCode; instanceTemplates names are optional (omit to apply the class to the component and every declared template). The platform does not even-split or fill in missing templates. Individual instance online/offline is not supported. 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 and cannot be combined with instanceTemplates. VScale uses one classCode and requires instanceTemplates names; only those names are updated. The platform does not even-split or fill in missing templates. Individual instance online/offline is not supported. 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 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. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
40
40
  * @type {Array<InstanceTemplateReplicas>}
41
41
  * @memberof OpsHScale
42
42
  */
@@ -41,7 +41,7 @@ export interface OpsVScale {
41
41
  */
42
42
  'classCode'?: string;
43
43
  /**
44
- * Optional instance template names to apply the single classCode to. When omitted on an instance-template component, the class is applied to the component and every declared template. When set, only these names are updated. Names must be unique and declared.
44
+ * Instance template names to apply the single classCode to. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Names must be unique and declared.
45
45
  * @type {Set<string>}
46
46
  * @memberof OpsVScale
47
47
  */
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.333",
3
+ "version": "0.0.0-support-instance-template-ops.20260920.410",
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 requires instanceTemplates with name and replicas. VScale uses one classCode; instanceTemplates names are optional (omit to apply the class to the component and every declared template). The platform does not even-split or fill in missing templates. Individual instance online/offline is not supported. 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 and cannot be combined with instanceTemplates. VScale uses one classCode and requires instanceTemplates names; only those names are updated. The platform does not even-split or fill in missing templates. Individual instance online/offline is not supported. 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 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. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
49
49
  * @type {Array<InstanceTemplateReplicas>}
50
50
  * @memberof OpsHScale
51
51
  */
@@ -48,7 +48,7 @@ export interface OpsVScale {
48
48
  */
49
49
  'classCode'?: string;
50
50
  /**
51
- * Optional instance template names to apply the single classCode to. When omitted on an instance-template component, the class is applied to the component and every declared template. When set, only these names are updated. Names must be unique and declared.
51
+ * Instance template names to apply the single classCode to. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Names must be unique and declared.
52
52
  * @type {Set<string>}
53
53
  * @memberof OpsVScale
54
54
  */
package/src/adminapi.yaml CHANGED
@@ -30484,7 +30484,7 @@ components:
30484
30484
  instanceTemplates:
30485
30485
  type: array
30486
30486
  minItems: 1
30487
- description: Target replica count for one or more instance templates. Required 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.
30487
+ 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.
30488
30488
  items:
30489
30489
  $ref: '#/components/schemas/instanceTemplateReplicas'
30490
30490
  onlineInstancesToOffline:
@@ -34538,7 +34538,7 @@ components:
34538
34538
  uniqueItems: true
34539
34539
  items:
34540
34540
  type: string
34541
- description: Optional instance template names to apply the single classCode to. When omitted on an instance-template component, the class is applied to the component and every declared template. When set, only these names are updated. Names must be unique and declared.
34541
+ description: Instance template names to apply the single classCode to. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Names must be unique and declared.
34542
34542
  nullable: true
34543
34543
  schedule:
34544
34544
  $ref: '#/components/schemas/taskSchedule'
@@ -38276,9 +38276,10 @@ components:
38276
38276
  description: |
38277
38277
  Declares instance-template support for this mode component.
38278
38278
  Create requires instanceTemplates with name and replicas.
38279
- HScale requires instanceTemplates with name and replicas.
38280
- VScale uses one classCode; instanceTemplates names are optional
38281
- (omit to apply the class to the component and every declared template).
38279
+ HScale replica changes require instanceTemplates with name and replicas;
38280
+ shard-count changes use shards and cannot be combined with instanceTemplates.
38281
+ VScale uses one classCode and requires instanceTemplates names;
38282
+ only those names are updated.
38282
38283
  The platform does not even-split or fill in missing templates.
38283
38284
  Individual instance online/offline is not supported.
38284
38285
  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 requires instanceTemplates with name and replicas. VScale uses one classCode; instanceTemplates names are optional (omit to apply the class to the component and every declared template). The platform does not even-split or fill in missing templates. Individual instance online/offline is not supported. 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 and cannot be combined with instanceTemplates. VScale uses one classCode and requires instanceTemplates names; only those names are updated. The platform does not even-split or fill in missing templates. Individual instance online/offline is not supported. 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 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. Mutually exclusive with replicas and shards. Names must be unique and declared; unspecified templates are left unchanged.
49
49
  * @type {Array<InstanceTemplateReplicas>}
50
50
  * @memberof OpsHScale
51
51
  */
@@ -48,7 +48,7 @@ export interface OpsVScale {
48
48
  */
49
49
  'classCode'?: string;
50
50
  /**
51
- * Optional instance template names to apply the single classCode to. When omitted on an instance-template component, the class is applied to the component and every declared template. When set, only these names are updated. Names must be unique and declared.
51
+ * Instance template names to apply the single classCode to. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Names must be unique and declared.
52
52
  * @type {Set<string>}
53
53
  * @memberof OpsVScale
54
54
  */
package/src/openapi.yaml CHANGED
@@ -25674,7 +25674,7 @@ components:
25674
25674
  instanceTemplates:
25675
25675
  type: array
25676
25676
  minItems: 1
25677
- description: Target replica count for one or more instance templates. Required 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.
25677
+ 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.
25678
25678
  items:
25679
25679
  $ref: '#/components/schemas/instanceTemplateReplicas'
25680
25680
  onlineInstancesToOffline:
@@ -26646,7 +26646,7 @@ components:
26646
26646
  uniqueItems: true
26647
26647
  items:
26648
26648
  type: string
26649
- description: Optional instance template names to apply the single classCode to. When omitted on an instance-template component, the class is applied to the component and every declared template. When set, only these names are updated. Names must be unique and declared.
26649
+ description: Instance template names to apply the single classCode to. Required when the engine option declares instanceTemplate with vscale. Only these names are updated. Names must be unique and declared.
26650
26650
  nullable: true
26651
26651
  schedule:
26652
26652
  $ref: '#/components/schemas/taskSchedule'
@@ -31897,9 +31897,10 @@ components:
31897
31897
  description: |
31898
31898
  Declares instance-template support for this mode component.
31899
31899
  Create requires instanceTemplates with name and replicas.
31900
- HScale requires instanceTemplates with name and replicas.
31901
- VScale uses one classCode; instanceTemplates names are optional
31902
- (omit to apply the class to the component and every declared template).
31900
+ HScale replica changes require instanceTemplates with name and replicas;
31901
+ shard-count changes use shards and cannot be combined with instanceTemplates.
31902
+ VScale uses one classCode and requires instanceTemplates names;
31903
+ only those names are updated.
31903
31904
  The platform does not even-split or fill in missing templates.
31904
31905
  Individual instance online/offline is not supported.
31905
31906
  When absent, the component uses component-level operations.