kb-cloud-client-typescript 2.3.0-alpha.155 → 2.3.0-alpha.156

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.
Files changed (132) hide show
  1. package/dist/adminapi/apis/environment-api.d.ts +56 -0
  2. package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/environment-api.js +69 -0
  4. package/dist/adminapi/apis/environment-api.js.map +1 -1
  5. package/dist/adminapi/models/cluster-create.d.ts +13 -0
  6. package/dist/adminapi/models/cluster-create.d.ts.map +1 -1
  7. package/dist/adminapi/models/cluster.d.ts +13 -0
  8. package/dist/adminapi/models/cluster.d.ts.map +1 -1
  9. package/dist/adminapi/models/environment-create.d.ts +6 -0
  10. package/dist/adminapi/models/environment-create.d.ts.map +1 -1
  11. package/dist/adminapi/models/environment-update.d.ts +6 -0
  12. package/dist/adminapi/models/environment-update.d.ts.map +1 -1
  13. package/dist/adminapi/models/environment.d.ts +6 -0
  14. package/dist/adminapi/models/environment.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.d.ts +8 -1
  16. package/dist/adminapi/models/index.d.ts.map +1 -1
  17. package/dist/adminapi/models/index.js +8 -1
  18. package/dist/adminapi/models/index.js.map +1 -1
  19. package/dist/adminapi/models/koordinator-node-reservation.d.ts +71 -0
  20. package/dist/adminapi/models/koordinator-node-reservation.d.ts.map +1 -0
  21. package/dist/adminapi/models/{storage-config-log.d.ts → koordinator-node-reservation.js} +5 -14
  22. package/dist/adminapi/models/koordinator-node-reservation.js.map +1 -0
  23. package/dist/adminapi/models/koordinator-reservation-allocate-policy.d.ts +22 -0
  24. package/dist/adminapi/models/koordinator-reservation-allocate-policy.d.ts.map +1 -0
  25. package/dist/adminapi/models/koordinator-reservation-allocate-policy.js +26 -0
  26. package/dist/adminapi/models/koordinator-reservation-allocate-policy.js.map +1 -0
  27. package/dist/adminapi/models/koordinator-reservation-resource-class.d.ts +22 -0
  28. package/dist/adminapi/models/koordinator-reservation-resource-class.d.ts.map +1 -0
  29. package/dist/adminapi/models/koordinator-reservation-resource-class.js +26 -0
  30. package/dist/adminapi/models/koordinator-reservation-resource-class.js.map +1 -0
  31. package/dist/adminapi/models/koordinator-reservation-resources.d.ts +31 -0
  32. package/dist/adminapi/models/koordinator-reservation-resources.d.ts.map +1 -0
  33. package/dist/adminapi/models/koordinator-reservation-resources.js +16 -0
  34. package/dist/adminapi/models/koordinator-reservation-resources.js.map +1 -0
  35. package/dist/adminapi/models/koordinator-reservation-status.d.ts +50 -0
  36. package/dist/adminapi/models/koordinator-reservation-status.d.ts.map +1 -0
  37. package/dist/adminapi/models/koordinator-reservation-status.js +16 -0
  38. package/dist/adminapi/models/koordinator-reservation-status.js.map +1 -0
  39. package/dist/adminapi/models/koordinator-reservation-summary-item.d.ts +51 -0
  40. package/dist/adminapi/models/koordinator-reservation-summary-item.d.ts.map +1 -0
  41. package/dist/adminapi/models/koordinator-reservation-summary-item.js +16 -0
  42. package/dist/adminapi/models/koordinator-reservation-summary-item.js.map +1 -0
  43. package/dist/adminapi/models/koordinator-reservation-summary.d.ts +51 -0
  44. package/dist/adminapi/models/koordinator-reservation-summary.d.ts.map +1 -0
  45. package/dist/adminapi/models/koordinator-reservation-summary.js +16 -0
  46. package/dist/adminapi/models/koordinator-reservation-summary.js.map +1 -0
  47. package/dist/adminapi/models/node.d.ts +7 -0
  48. package/dist/adminapi/models/node.d.ts.map +1 -1
  49. package/dist/adminapi/models/scheduler-option.d.ts +37 -0
  50. package/dist/adminapi/models/scheduler-option.d.ts.map +1 -0
  51. package/dist/adminapi/models/{storage-config-log.js → scheduler-option.js} +1 -1
  52. package/dist/adminapi/models/scheduler-option.js.map +1 -0
  53. package/dist/adminapi/models/storage-config.d.ts +0 -7
  54. package/dist/adminapi/models/storage-config.d.ts.map +1 -1
  55. package/dist/internalapi/models/cluster.d.ts +13 -0
  56. package/dist/internalapi/models/cluster.d.ts.map +1 -1
  57. package/dist/internalapi/models/index.d.ts +1 -0
  58. package/dist/internalapi/models/index.d.ts.map +1 -1
  59. package/dist/internalapi/models/index.js +1 -0
  60. package/dist/internalapi/models/index.js.map +1 -1
  61. package/dist/internalapi/models/koordinator-reservation-resource-class.d.ts +22 -0
  62. package/dist/internalapi/models/koordinator-reservation-resource-class.d.ts.map +1 -0
  63. package/dist/internalapi/models/koordinator-reservation-resource-class.js +26 -0
  64. package/dist/internalapi/models/koordinator-reservation-resource-class.js.map +1 -0
  65. package/dist/openapi/models/cluster-create.d.ts +13 -0
  66. package/dist/openapi/models/cluster-create.d.ts.map +1 -1
  67. package/dist/openapi/models/cluster.d.ts +13 -0
  68. package/dist/openapi/models/cluster.d.ts.map +1 -1
  69. package/dist/openapi/models/index.d.ts +5 -0
  70. package/dist/openapi/models/index.d.ts.map +1 -1
  71. package/dist/openapi/models/index.js +5 -0
  72. package/dist/openapi/models/index.js.map +1 -1
  73. package/dist/openapi/models/koordinator-node-reservation.d.ts +71 -0
  74. package/dist/openapi/models/koordinator-node-reservation.d.ts.map +1 -0
  75. package/dist/openapi/models/koordinator-node-reservation.js +16 -0
  76. package/dist/openapi/models/koordinator-node-reservation.js.map +1 -0
  77. package/dist/openapi/models/koordinator-reservation-allocate-policy.d.ts +22 -0
  78. package/dist/openapi/models/koordinator-reservation-allocate-policy.d.ts.map +1 -0
  79. package/dist/openapi/models/koordinator-reservation-allocate-policy.js +26 -0
  80. package/dist/openapi/models/koordinator-reservation-allocate-policy.js.map +1 -0
  81. package/dist/openapi/models/koordinator-reservation-resource-class.d.ts +22 -0
  82. package/dist/openapi/models/koordinator-reservation-resource-class.d.ts.map +1 -0
  83. package/dist/openapi/models/koordinator-reservation-resource-class.js +26 -0
  84. package/dist/openapi/models/koordinator-reservation-resource-class.js.map +1 -0
  85. package/dist/openapi/models/koordinator-reservation-resources.d.ts +31 -0
  86. package/dist/openapi/models/koordinator-reservation-resources.d.ts.map +1 -0
  87. package/dist/openapi/models/koordinator-reservation-resources.js +16 -0
  88. package/dist/openapi/models/koordinator-reservation-resources.js.map +1 -0
  89. package/dist/openapi/models/koordinator-reservation-status.d.ts +50 -0
  90. package/dist/openapi/models/koordinator-reservation-status.d.ts.map +1 -0
  91. package/dist/openapi/models/koordinator-reservation-status.js +16 -0
  92. package/dist/openapi/models/koordinator-reservation-status.js.map +1 -0
  93. package/dist/openapi/models/node.d.ts +7 -0
  94. package/dist/openapi/models/node.d.ts.map +1 -1
  95. package/package.json +1 -1
  96. package/src/adminapi/.openapi-generator/FILES +8 -1
  97. package/src/adminapi/apis/environment-api.ts +102 -0
  98. package/src/adminapi/models/cluster-create.ts +15 -0
  99. package/src/adminapi/models/cluster.ts +15 -0
  100. package/src/adminapi/models/environment-create.ts +6 -0
  101. package/src/adminapi/models/environment-update.ts +6 -0
  102. package/src/adminapi/models/environment.ts +6 -0
  103. package/src/adminapi/models/index.ts +8 -1
  104. package/src/adminapi/models/koordinator-node-reservation.ts +86 -0
  105. package/src/adminapi/models/koordinator-reservation-allocate-policy.ts +31 -0
  106. package/src/adminapi/models/{storage-config-log.ts → koordinator-reservation-resource-class.ts} +11 -10
  107. package/src/adminapi/models/koordinator-reservation-resources.ts +36 -0
  108. package/src/adminapi/models/koordinator-reservation-status.ts +57 -0
  109. package/src/adminapi/models/koordinator-reservation-summary-item.ts +62 -0
  110. package/src/adminapi/models/koordinator-reservation-summary.ts +60 -0
  111. package/src/adminapi/models/node.ts +9 -0
  112. package/src/adminapi/models/scheduler-option.ts +42 -0
  113. package/src/adminapi/models/storage-config.ts +0 -9
  114. package/src/adminapi.yaml +164 -10
  115. package/src/internalapi/.openapi-generator/FILES +1 -0
  116. package/src/internalapi/models/cluster.ts +15 -0
  117. package/src/internalapi/models/index.ts +1 -0
  118. package/src/internalapi/models/koordinator-reservation-resource-class.ts +31 -0
  119. package/src/internalapi.yaml +13 -0
  120. package/src/openapi/.openapi-generator/FILES +5 -0
  121. package/src/openapi/models/cluster-create.ts +15 -0
  122. package/src/openapi/models/cluster.ts +15 -0
  123. package/src/openapi/models/index.ts +5 -0
  124. package/src/openapi/models/koordinator-node-reservation.ts +86 -0
  125. package/src/openapi/models/koordinator-reservation-allocate-policy.ts +31 -0
  126. package/src/openapi/models/koordinator-reservation-resource-class.ts +31 -0
  127. package/src/openapi/models/koordinator-reservation-resources.ts +36 -0
  128. package/src/openapi/models/koordinator-reservation-status.ts +57 -0
  129. package/src/openapi/models/node.ts +9 -0
  130. package/src/openapi.yaml +77 -0
  131. package/dist/adminapi/models/storage-config-log.d.ts.map +0 -1
  132. package/dist/adminapi/models/storage-config-log.js.map +0 -1
@@ -39,6 +39,9 @@ import type { ComponentItemCreate } from './component-item-create';
39
39
  import type { InitOptionItem } from './init-option-item';
40
40
  // May contain unused imports in some cases
41
41
  // @ts-ignore
42
+ import type { KoordinatorReservationResourceClass } from './koordinator-reservation-resource-class';
43
+ // May contain unused imports in some cases
44
+ // @ts-ignore
42
45
  import type { NetworkMode } from './network-mode';
43
46
  // May contain unused imports in some cases
44
47
  // @ts-ignore
@@ -212,6 +215,18 @@ export interface ClusterCreate {
212
215
  * @memberof ClusterCreate
213
216
  */
214
217
  'schedulingPolicy'?: SchedulingPolicyType;
218
+ /**
219
+ * Scheduler used by this cluster. If omitted, KBE uses the environment default. When koordinatorEnabled is true for the target environment, the environment default is the globally configured Koordinator scheduler.
220
+ * @type {string}
221
+ * @memberof ClusterCreate
222
+ */
223
+ 'schedulerName'?: string | null;
224
+ /**
225
+ *
226
+ * @type {KoordinatorReservationResourceClass}
227
+ * @memberof ClusterCreate
228
+ */
229
+ 'reservationResourceClass'?: KoordinatorReservationResourceClass;
215
230
  }
216
231
 
217
232
 
@@ -39,6 +39,9 @@ import type { ComponentItem } from './component-item';
39
39
  import type { InitOptionItem } from './init-option-item';
40
40
  // May contain unused imports in some cases
41
41
  // @ts-ignore
42
+ import type { KoordinatorReservationResourceClass } from './koordinator-reservation-resource-class';
43
+ // May contain unused imports in some cases
44
+ // @ts-ignore
42
45
  import type { NetworkMode } from './network-mode';
43
46
  // May contain unused imports in some cases
44
47
  // @ts-ignore
@@ -314,6 +317,18 @@ export interface Cluster {
314
317
  * @memberof Cluster
315
318
  */
316
319
  'schedulingPolicy'?: SchedulingPolicyType;
320
+ /**
321
+ * Effective scheduler used when the cluster was created.
322
+ * @type {string}
323
+ * @memberof Cluster
324
+ */
325
+ 'schedulerName'?: string | null;
326
+ /**
327
+ *
328
+ * @type {KoordinatorReservationResourceClass}
329
+ * @memberof Cluster
330
+ */
331
+ 'reservationResourceClass'?: KoordinatorReservationResourceClass;
317
332
  }
318
333
 
319
334
 
@@ -131,6 +131,12 @@ export interface EnvironmentCreate {
131
131
  * @memberof EnvironmentCreate
132
132
  */
133
133
  'sla'?: boolean;
134
+ /**
135
+ * Whether this environment has Koordinator installed and can use Koordinator scheduler and reservations.
136
+ * @type {boolean}
137
+ * @memberof EnvironmentCreate
138
+ */
139
+ 'koordinatorEnabled'?: boolean;
134
140
  }
135
141
 
136
142
 
@@ -152,6 +152,12 @@ export interface EnvironmentUpdate {
152
152
  * @memberof EnvironmentUpdate
153
153
  */
154
154
  'slaEnabled'?: boolean;
155
+ /**
156
+ * Whether this environment has Koordinator installed and can use Koordinator scheduler and reservations.
157
+ * @type {boolean}
158
+ * @memberof EnvironmentUpdate
159
+ */
160
+ 'koordinatorEnabled'?: boolean;
155
161
  /**
156
162
  *
157
163
  * @type {ClusterSchedulingPolicy}
@@ -188,6 +188,12 @@ export interface Environment {
188
188
  * @memberof Environment
189
189
  */
190
190
  'slaEnabled'?: boolean;
191
+ /**
192
+ * Whether this environment has Koordinator installed and can use Koordinator scheduler and reservations.
193
+ * @type {boolean}
194
+ * @memberof Environment
195
+ */
196
+ 'koordinatorEnabled'?: boolean;
191
197
  }
192
198
 
193
199
 
@@ -461,6 +461,13 @@ export * from './ip-whitelist';
461
461
  export * from './ip-whitelist-list';
462
462
  export * from './key';
463
463
  export * from './key-list';
464
+ export * from './koordinator-node-reservation';
465
+ export * from './koordinator-reservation-allocate-policy';
466
+ export * from './koordinator-reservation-resource-class';
467
+ export * from './koordinator-reservation-resources';
468
+ export * from './koordinator-reservation-status';
469
+ export * from './koordinator-reservation-summary';
470
+ export * from './koordinator-reservation-summary-item';
464
471
  export * from './kubeconfig';
465
472
  export * from './license';
466
473
  export * from './license-option';
@@ -763,6 +770,7 @@ export * from './role-update';
763
770
  export * from './sla';
764
771
  export * from './slacluster';
765
772
  export * from './slasettings';
773
+ export * from './scheduler-option';
766
774
  export * from './scheduling-config';
767
775
  export * from './scheduling-policy-type';
768
776
  export * from './select-module-mode';
@@ -801,7 +809,6 @@ export * from './storage-class-update';
801
809
  export * from './storage-class-volume-binding-mode';
802
810
  export * from './storage-config';
803
811
  export * from './storage-config-backup';
804
- export * from './storage-config-log';
805
812
  export * from './storage-create';
806
813
  export * from './storage-display-name';
807
814
  export * from './storage-option';
@@ -0,0 +1,86 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { KoordinatorReservationAllocatePolicy } from './koordinator-reservation-allocate-policy';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { KoordinatorReservationResourceClass } from './koordinator-reservation-resource-class';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { KoordinatorReservationResources } from './koordinator-reservation-resources';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
27
+ import type { KoordinatorReservationStatus } from './koordinator-reservation-status';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface KoordinatorNodeReservation
33
+ */
34
+ export interface KoordinatorNodeReservation {
35
+ /**
36
+ *
37
+ * @type {KoordinatorReservationResourceClass}
38
+ * @memberof KoordinatorNodeReservation
39
+ */
40
+ 'resourceClass': KoordinatorReservationResourceClass;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof KoordinatorNodeReservation
45
+ */
46
+ 'reservationName'?: string;
47
+ /**
48
+ *
49
+ * @type {KoordinatorReservationResources}
50
+ * @memberof KoordinatorNodeReservation
51
+ */
52
+ 'resources': KoordinatorReservationResources;
53
+ /**
54
+ * Kubernetes duration string. Koordinator defaults omitted ttl to 24h.
55
+ * @type {string}
56
+ * @memberof KoordinatorNodeReservation
57
+ */
58
+ 'ttl'?: string;
59
+ /**
60
+ *
61
+ * @type {boolean}
62
+ * @memberof KoordinatorNodeReservation
63
+ */
64
+ 'allocateOnce'?: boolean;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof KoordinatorNodeReservation
69
+ */
70
+ 'preAllocation'?: boolean;
71
+ /**
72
+ *
73
+ * @type {KoordinatorReservationAllocatePolicy}
74
+ * @memberof KoordinatorNodeReservation
75
+ */
76
+ 'allocatePolicy'?: KoordinatorReservationAllocatePolicy;
77
+ /**
78
+ *
79
+ * @type {KoordinatorReservationStatus}
80
+ * @memberof KoordinatorNodeReservation
81
+ */
82
+ 'status'?: KoordinatorReservationStatus;
83
+ }
84
+
85
+
86
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const KoordinatorReservationAllocatePolicy = {
24
+ Restricted: 'Restricted',
25
+ Aligned: 'Aligned'
26
+ } as const;
27
+
28
+ export type KoordinatorReservationAllocatePolicy = typeof KoordinatorReservationAllocatePolicy[keyof typeof KoordinatorReservationAllocatePolicy];
29
+
30
+
31
+
@@ -15,16 +15,17 @@
15
15
 
16
16
 
17
17
  /**
18
- * the storage config for log
18
+ *
19
19
  * @export
20
- * @interface StorageConfigLog
20
+ * @enum {string}
21
21
  */
22
- export interface StorageConfigLog {
23
- /**
24
- * the name of storage
25
- * @type {string}
26
- * @memberof StorageConfigLog
27
- */
28
- 'storageName': string;
29
- }
22
+
23
+ export const KoordinatorReservationResourceClass = {
24
+ database: 'database',
25
+ business: 'business'
26
+ } as const;
27
+
28
+ export type KoordinatorReservationResourceClass = typeof KoordinatorReservationResourceClass[keyof typeof KoordinatorReservationResourceClass];
29
+
30
+
30
31
 
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * Resource requests supported by KBE for Koordinator Reservations. Values are Kubernetes quantities and responses use Kubernetes canonical quantity strings.
19
+ * @export
20
+ * @interface KoordinatorReservationResources
21
+ */
22
+ export interface KoordinatorReservationResources {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof KoordinatorReservationResources
27
+ */
28
+ 'cpu'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof KoordinatorReservationResources
33
+ */
34
+ 'memory'?: string;
35
+ }
36
+
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { KoordinatorReservationResources } from './koordinator-reservation-resources';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface KoordinatorReservationStatus
24
+ */
25
+ export interface KoordinatorReservationStatus {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof KoordinatorReservationStatus
30
+ */
31
+ 'phase'?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof KoordinatorReservationStatus
36
+ */
37
+ 'nodeName'?: string;
38
+ /**
39
+ *
40
+ * @type {KoordinatorReservationResources}
41
+ * @memberof KoordinatorReservationStatus
42
+ */
43
+ 'allocatable'?: KoordinatorReservationResources;
44
+ /**
45
+ *
46
+ * @type {KoordinatorReservationResources}
47
+ * @memberof KoordinatorReservationStatus
48
+ */
49
+ 'allocated'?: KoordinatorReservationResources;
50
+ /**
51
+ *
52
+ * @type {KoordinatorReservationResources}
53
+ * @memberof KoordinatorReservationStatus
54
+ */
55
+ 'available'?: KoordinatorReservationResources;
56
+ }
57
+
@@ -0,0 +1,62 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { KoordinatorReservationResourceClass } from './koordinator-reservation-resource-class';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { KoordinatorReservationResources } from './koordinator-reservation-resources';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface KoordinatorReservationSummaryItem
27
+ */
28
+ export interface KoordinatorReservationSummaryItem {
29
+ /**
30
+ *
31
+ * @type {KoordinatorReservationResourceClass}
32
+ * @memberof KoordinatorReservationSummaryItem
33
+ */
34
+ 'resourceClass'?: KoordinatorReservationResourceClass;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof KoordinatorReservationSummaryItem
39
+ */
40
+ 'nodeCount'?: number;
41
+ /**
42
+ *
43
+ * @type {KoordinatorReservationResources}
44
+ * @memberof KoordinatorReservationSummaryItem
45
+ */
46
+ 'total'?: KoordinatorReservationResources;
47
+ /**
48
+ *
49
+ * @type {KoordinatorReservationResources}
50
+ * @memberof KoordinatorReservationSummaryItem
51
+ */
52
+ 'allocated'?: KoordinatorReservationResources;
53
+ /**
54
+ *
55
+ * @type {KoordinatorReservationResources}
56
+ * @memberof KoordinatorReservationSummaryItem
57
+ */
58
+ 'available'?: KoordinatorReservationResources;
59
+ }
60
+
61
+
62
+
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { KoordinatorReservationSummaryItem } from './koordinator-reservation-summary-item';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { SchedulerOption } from './scheduler-option';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface KoordinatorReservationSummary
27
+ */
28
+ export interface KoordinatorReservationSummary {
29
+ /**
30
+ *
31
+ * @type {boolean}
32
+ * @memberof KoordinatorReservationSummary
33
+ */
34
+ 'enabled': boolean;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof KoordinatorReservationSummary
39
+ */
40
+ 'schedulerName'?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof KoordinatorReservationSummary
45
+ */
46
+ 'defaultSchedulerName'?: string;
47
+ /**
48
+ *
49
+ * @type {Array<SchedulerOption>}
50
+ * @memberof KoordinatorReservationSummary
51
+ */
52
+ 'schedulerOptions': Array<SchedulerOption>;
53
+ /**
54
+ *
55
+ * @type {Array<KoordinatorReservationSummaryItem>}
56
+ * @memberof KoordinatorReservationSummary
57
+ */
58
+ 'items': Array<KoordinatorReservationSummaryItem>;
59
+ }
60
+
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { KoordinatorNodeReservation } from './koordinator-node-reservation';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import type { NodeStatus } from './node-status';
@@ -110,6 +113,12 @@ export interface Node {
110
113
  * @memberof Node
111
114
  */
112
115
  'managed'?: boolean;
116
+ /**
117
+ *
118
+ * @type {Array<KoordinatorNodeReservation>}
119
+ * @memberof Node
120
+ */
121
+ 'koordinatorReservations'?: Array<KoordinatorNodeReservation>;
113
122
  /**
114
123
  *
115
124
  * @type {NodeStatus}
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface SchedulerOption
21
+ */
22
+ export interface SchedulerOption {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SchedulerOption
27
+ */
28
+ 'name'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SchedulerOption
33
+ */
34
+ 'displayName'?: string;
35
+ /**
36
+ *
37
+ * @type {boolean}
38
+ * @memberof SchedulerOption
39
+ */
40
+ 'default'?: boolean;
41
+ }
42
+
@@ -19,9 +19,6 @@ import type { EnvironmentStorage } from './environment-storage';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
21
  import type { StorageConfigBackup } from './storage-config-backup';
22
- // May contain unused imports in some cases
23
- // @ts-ignore
24
- import type { StorageConfigLog } from './storage-config-log';
25
22
 
26
23
  /**
27
24
  * Storage config for environment
@@ -35,12 +32,6 @@ export interface StorageConfig {
35
32
  * @memberof StorageConfig
36
33
  */
37
34
  'storages': Array<EnvironmentStorage>;
38
- /**
39
- *
40
- * @type {StorageConfigLog}
41
- * @memberof StorageConfig
42
- */
43
- 'log': StorageConfigLog;
44
35
  /**
45
36
  *
46
37
  * @type {StorageConfigBackup}