kb-cloud-client-typescript 2.4.0-alpha.5 → 2.4.0-alpha.7

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,6 +13,7 @@ import type { Component } from './component';
13
13
  import type { EnvironmentModule } from './environment-module';
14
14
  import type { NodePoolNode } from './node-pool-node';
15
15
  import type { Register } from './register';
16
+ import type { StaticCluster } from './static-cluster';
16
17
  import type { StorageConfig } from './storage-config';
17
18
  /**
18
19
  * Configuration to provision infrastructure for this environment
@@ -44,6 +45,18 @@ export interface ProvisionConfig {
44
45
  * @memberof ProvisionConfig
45
46
  */
46
47
  'storage'?: StorageConfig;
48
+ /**
49
+ *
50
+ * @type {StaticCluster}
51
+ * @memberof ProvisionConfig
52
+ */
53
+ 'victoriaMetrics'?: StaticCluster;
54
+ /**
55
+ *
56
+ * @type {StaticCluster}
57
+ * @memberof ProvisionConfig
58
+ */
59
+ 'victoriaLogs'?: StaticCluster;
47
60
  /**
48
61
  * option modules of environment
49
62
  * @type {Array<EnvironmentModule>}
@@ -1 +1 @@
1
- {"version":3,"file":"provision-config.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/provision-config.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,UAAU,EAAE,QAAQ,CAAC;IACrB;;;;OAIG;IACH,WAAW,EAAE,SAAS,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACxC"}
1
+ {"version":3,"file":"provision-config.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/provision-config.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,UAAU,EAAE,QAAQ,CAAC;IACrB;;;;OAIG;IACH,WAAW,EAAE,SAAS,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC;;;;OAIG;IACH,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.4.0-alpha.5",
3
+ "version": "2.4.0-alpha.7",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -27,6 +27,9 @@ import type { NodePoolNode } from './node-pool-node';
27
27
  import type { Register } from './register';
28
28
  // May contain unused imports in some cases
29
29
  // @ts-ignore
30
+ import type { StaticCluster } from './static-cluster';
31
+ // May contain unused imports in some cases
32
+ // @ts-ignore
30
33
  import type { StorageConfig } from './storage-config';
31
34
 
32
35
  /**
@@ -59,6 +62,18 @@ export interface ProvisionConfig {
59
62
  * @memberof ProvisionConfig
60
63
  */
61
64
  'storage'?: StorageConfig;
65
+ /**
66
+ *
67
+ * @type {StaticCluster}
68
+ * @memberof ProvisionConfig
69
+ */
70
+ 'victoriaMetrics'?: StaticCluster;
71
+ /**
72
+ *
73
+ * @type {StaticCluster}
74
+ * @memberof ProvisionConfig
75
+ */
76
+ 'victoriaLogs'?: StaticCluster;
62
77
  /**
63
78
  * option modules of environment
64
79
  * @type {Array<EnvironmentModule>}
package/src/adminapi.yaml CHANGED
@@ -32170,6 +32170,12 @@ components:
32170
32170
  $ref: '#/components/schemas/nodePool'
32171
32171
  storage:
32172
32172
  $ref: '#/components/schemas/storageConfig'
32173
+ victoriaMetrics:
32174
+ description: Optional vm-storage spec (replicas, disk, classCode) when adding an environment. vm-insert and vm-select keep installer defaults.
32175
+ $ref: '#/components/schemas/staticCluster'
32176
+ victoriaLogs:
32177
+ description: Optional vlstorage spec (replicas, disk, classCode) when adding an environment. vlinsert and vlselect keep installer defaults.
32178
+ $ref: '#/components/schemas/staticCluster'
32173
32179
  modules:
32174
32180
  type: array
32175
32181
  description: option modules of environment