kb-cloud-client-typescript 0.0.0-support-instance-template-ops.20260920.851 → 0.0.0-support-instance-template-ops.20260920.902

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.
@@ -37,7 +37,7 @@ export interface ComponentItemCreate {
37
37
  */
38
38
  'replicas'?: number | null;
39
39
  /**
40
- * Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances replace the Helm chart instances list (or add the field if the chart has none). Names must be in instanceTemplate.names; they need not already exist on the chart. Component replicas must equal the sum of these replica counts.
40
+ * Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances fully replace the Helm chart instances list. Names must be in instanceTemplate.names. Component replicas must equal the sum of these replica counts.
41
41
  * @type {Array<InstanceTemplateCreate>}
42
42
  * @memberof ComponentItemCreate
43
43
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
13
13
  /**
14
- * Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. Volume sizes are defined once on the component and copied onto each template.
14
+ * Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, annotations, and labels are optional overlays; omitted fields inherit the component. Node group is cluster-level. Volume sizes are defined once on the component and copied onto each template. The request list fully replaces chart instances.
15
15
  * @export
16
16
  * @interface InstanceTemplateCreate
17
17
  */
@@ -19,7 +19,7 @@ import type { InstanceTemplateOverlayField } from './instance-template-overlay-f
19
19
  */
20
20
  export interface ModeComponentInstanceTemplate {
21
21
  /**
22
- * Allowed instance template names for create and ops payloads. Request names must be in this list. They need not already exist on the Helm-rendered Cluster; create replaces or adds spec.instances.
22
+ * Allowed instance template names for create and ops payloads. Request names must be in this list. Create builds spec.instances from the request and replaces the chart-rendered list.
23
23
  * @type {Set<string>}
24
24
  * @memberof ModeComponentInstanceTemplate
25
25
  */
@@ -37,7 +37,7 @@ export interface ComponentItemCreate {
37
37
  */
38
38
  'replicas'?: number | null;
39
39
  /**
40
- * Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances replace the Helm chart instances list (or add the field if the chart has none). Names must be in instanceTemplate.names; they need not already exist on the chart. Component replicas must equal the sum of these replica counts.
40
+ * Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances fully replace the Helm chart instances list. Names must be in instanceTemplate.names. Component replicas must equal the sum of these replica counts.
41
41
  * @type {Array<InstanceTemplateCreate>}
42
42
  * @memberof ComponentItemCreate
43
43
  */
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
13
13
  /**
14
- * Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. Volume sizes are defined once on the component and copied onto each template.
14
+ * Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, annotations, and labels are optional overlays; omitted fields inherit the component. Node group is cluster-level. Volume sizes are defined once on the component and copied onto each template. The request list fully replaces chart instances.
15
15
  * @export
16
16
  * @interface InstanceTemplateCreate
17
17
  */
@@ -19,7 +19,7 @@ import type { InstanceTemplateOverlayField } from './instance-template-overlay-f
19
19
  */
20
20
  export interface ModeComponentInstanceTemplate {
21
21
  /**
22
- * Allowed instance template names for create and ops payloads. Request names must be in this list. They need not already exist on the Helm-rendered Cluster; create replaces or adds spec.instances.
22
+ * Allowed instance template names for create and ops payloads. Request names must be in this list. Create builds spec.instances from the request and replaces the chart-rendered list.
23
23
  * @type {Set<string>}
24
24
  * @memberof ModeComponentInstanceTemplate
25
25
  */
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.851",
3
+ "version": "0.0.0-support-instance-template-ops.20260920.902",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -48,7 +48,7 @@ export interface ComponentItemCreate {
48
48
  */
49
49
  'replicas'?: number | null;
50
50
  /**
51
- * Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances replace the Helm chart instances list (or add the field if the chart has none). Names must be in instanceTemplate.names; they need not already exist on the chart. Component replicas must equal the sum of these replica counts.
51
+ * Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances fully replace the Helm chart instances list. Names must be in instanceTemplate.names. Component replicas must equal the sum of these replica counts.
52
52
  * @type {Array<InstanceTemplateCreate>}
53
53
  * @memberof ComponentItemCreate
54
54
  */
@@ -18,7 +18,7 @@
18
18
  import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
19
19
 
20
20
  /**
21
- * Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. Volume sizes are defined once on the component and copied onto each template.
21
+ * Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, annotations, and labels are optional overlays; omitted fields inherit the component. Node group is cluster-level. Volume sizes are defined once on the component and copied onto each template. The request list fully replaces chart instances.
22
22
  * @export
23
23
  * @interface InstanceTemplateCreate
24
24
  */
@@ -30,7 +30,7 @@ import type { InstanceTemplateOverlayField } from './instance-template-overlay-f
30
30
  */
31
31
  export interface ModeComponentInstanceTemplate {
32
32
  /**
33
- * Allowed instance template names for create and ops payloads. Request names must be in this list. They need not already exist on the Helm-rendered Cluster; create replaces or adds spec.instances.
33
+ * Allowed instance template names for create and ops payloads. Request names must be in this list. Create builds spec.instances from the request and replaces the chart-rendered list.
34
34
  * @type {Set<string>}
35
35
  * @memberof ModeComponentInstanceTemplate
36
36
  */
package/src/adminapi.yaml CHANGED
@@ -28950,7 +28950,7 @@ components:
28950
28950
  instanceTemplateCreate:
28951
28951
  type: object
28952
28952
  description: |
28953
- Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. Volume sizes are defined once on the component and copied onto each template.
28953
+ Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, annotations, and labels are optional overlays; omitted fields inherit the component. Node group is cluster-level. Volume sizes are defined once on the component and copied onto each template. The request list fully replaces chart instances.
28954
28954
  required:
28955
28955
  - name
28956
28956
  - replicas
@@ -29081,7 +29081,7 @@ components:
29081
29081
  instanceTemplates:
29082
29082
  type: array
29083
29083
  minItems: 1
29084
- description: Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances replace the Helm chart instances list (or add the field if the chart has none). Names must be in instanceTemplate.names; they need not already exist on the chart. Component replicas must equal the sum of these replica counts.
29084
+ description: Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances fully replace the Helm chart instances list. Names must be in instanceTemplate.names. Component replicas must equal the sum of these replica counts.
29085
29085
  items:
29086
29086
  $ref: '#/components/schemas/instanceTemplateCreate'
29087
29087
  availabilityZone:
@@ -38318,8 +38318,8 @@ components:
38318
38318
  type: string
38319
38319
  description: |
38320
38320
  Allowed instance template names for create and ops payloads.
38321
- Request names must be in this list. They need not already exist
38322
- on the Helm-rendered Cluster; create replaces or adds spec.instances.
38321
+ Request names must be in this list. Create builds spec.instances
38322
+ from the request and replaces the chart-rendered list.
38323
38323
  ops:
38324
38324
  type: array
38325
38325
  minItems: 1
@@ -48,7 +48,7 @@ export interface ComponentItemCreate {
48
48
  */
49
49
  'replicas'?: number | null;
50
50
  /**
51
- * Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances replace the Helm chart instances list (or add the field if the chart has none). Names must be in instanceTemplate.names; they need not already exist on the chart. Component replicas must equal the sum of these replica counts.
51
+ * Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances fully replace the Helm chart instances list. Names must be in instanceTemplate.names. Component replicas must equal the sum of these replica counts.
52
52
  * @type {Array<InstanceTemplateCreate>}
53
53
  * @memberof ComponentItemCreate
54
54
  */
@@ -18,7 +18,7 @@
18
18
  import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
19
19
 
20
20
  /**
21
- * Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. Volume sizes are defined once on the component and copied onto each template.
21
+ * Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, annotations, and labels are optional overlays; omitted fields inherit the component. Node group is cluster-level. Volume sizes are defined once on the component and copied onto each template. The request list fully replaces chart instances.
22
22
  * @export
23
23
  * @interface InstanceTemplateCreate
24
24
  */
@@ -30,7 +30,7 @@ import type { InstanceTemplateOverlayField } from './instance-template-overlay-f
30
30
  */
31
31
  export interface ModeComponentInstanceTemplate {
32
32
  /**
33
- * Allowed instance template names for create and ops payloads. Request names must be in this list. They need not already exist on the Helm-rendered Cluster; create replaces or adds spec.instances.
33
+ * Allowed instance template names for create and ops payloads. Request names must be in this list. Create builds spec.instances from the request and replaces the chart-rendered list.
34
34
  * @type {Set<string>}
35
35
  * @memberof ModeComponentInstanceTemplate
36
36
  */
package/src/openapi.yaml CHANGED
@@ -24612,7 +24612,7 @@ components:
24612
24612
  instanceTemplateCreate:
24613
24613
  type: object
24614
24614
  description: |
24615
- Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, and annotations are optional overlays; omitted fields inherit the component. Node group is cluster-level and is inherited by every component and template. Volume sizes are defined once on the component and copied onto each template.
24615
+ Create assignment for one instance template. name and replicas are required. classCode, storageClass, availabilityZone, env, annotations, and labels are optional overlays; omitted fields inherit the component. Node group is cluster-level. Volume sizes are defined once on the component and copied onto each template. The request list fully replaces chart instances.
24616
24616
  required:
24617
24617
  - name
24618
24618
  - replicas
@@ -24738,7 +24738,7 @@ components:
24738
24738
  instanceTemplates:
24739
24739
  type: array
24740
24740
  minItems: 1
24741
- description: Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances replace the Helm chart instances list (or add the field if the chart has none). Names must be in instanceTemplate.names; they need not already exist on the chart. Component replicas must equal the sum of these replica counts.
24741
+ description: Per-template replicas and optional overlays (classCode, storageClass, availabilityZone, env, annotations, labels). Node group is cluster-level and inherited. Required when the engine option declares instanceTemplate. Request instances fully replace the Helm chart instances list. Names must be in instanceTemplate.names. Component replicas must equal the sum of these replica counts.
24742
24742
  items:
24743
24743
  $ref: '#/components/schemas/instanceTemplateCreate'
24744
24744
  availabilityZone:
@@ -31939,8 +31939,8 @@ components:
31939
31939
  type: string
31940
31940
  description: |
31941
31941
  Allowed instance template names for create and ops payloads.
31942
- Request names must be in this list. They need not already exist
31943
- on the Helm-rendered Cluster; create replaces or adds spec.instances.
31942
+ Request names must be in this list. Create builds spec.instances
31943
+ from the request and replaces the chart-rendered list.
31944
31944
  ops:
31945
31945
  type: array
31946
31946
  minItems: 1