@openshift-migration-advisor/planner-sdk 0.21.0-dd2aa7ede360 → 0.22.0

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.
@@ -1 +1 @@
1
- 7.25.0-SNAPSHOT
1
+ 7.26.0-SNAPSHOT
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/planner-sdk@0.21.0-dd2aa7ede360
1
+ # @openshift-migration-advisor/planner-sdk@0.22.0
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -205,8 +205,8 @@ and is automatically generated by the
205
205
  [OpenAPI Generator](https://openapi-generator.tech) project:
206
206
 
207
207
  - API version: `v1alpha1`
208
- - Package version: `0.21.0-dd2aa7ede360`
209
- - Generator version: `7.25.0-SNAPSHOT`
208
+ - Package version: `0.22.0`
209
+ - Generator version: `7.26.0-SNAPSHOT`
210
210
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
211
211
 
212
212
  The generated npm module supports the following:
@@ -43,6 +43,10 @@ export interface Infra {
43
43
  * RAM memory Overcommitment Ratio. Calculated as total Allocated memory / Total memory available
44
44
  */
45
45
  memoryOverCommitment?: number;
46
+ /**
47
+ * Average VM density per ESXi host. Calculated as total VMs / totalHosts
48
+ */
49
+ vmsPerHostAverage?: number;
46
50
  /**
47
51
  *
48
52
  */
@@ -42,6 +42,7 @@ export function InfraFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'clustersPerDatacenter': json['clustersPerDatacenter'] == null ? undefined : json['clustersPerDatacenter'],
43
43
  'cpuOverCommitment': json['cpuOverCommitment'] == null ? undefined : json['cpuOverCommitment'],
44
44
  'memoryOverCommitment': json['memoryOverCommitment'] == null ? undefined : json['memoryOverCommitment'],
45
+ 'vmsPerHostAverage': json['vmsPerHostAverage'] == null ? undefined : json['vmsPerHostAverage'],
45
46
  'hosts': json['hosts'] == null ? undefined : (json['hosts'].map(HostFromJSON)),
46
47
  'hostsPerCluster': json['hostsPerCluster'] == null ? undefined : json['hostsPerCluster'],
47
48
  'vmsPerCluster': json['vmsPerCluster'] == null ? undefined : json['vmsPerCluster'],
@@ -64,6 +65,7 @@ export function InfraToJSONTyped(value, ignoreDiscriminator = false) {
64
65
  'clustersPerDatacenter': value['clustersPerDatacenter'],
65
66
  'cpuOverCommitment': value['cpuOverCommitment'],
66
67
  'memoryOverCommitment': value['memoryOverCommitment'],
68
+ 'vmsPerHostAverage': value['vmsPerHostAverage'],
67
69
  'hosts': value['hosts'] == null ? undefined : (value['hosts'].map(HostToJSON)),
68
70
  'hostsPerCluster': value['hostsPerCluster'],
69
71
  'vmsPerCluster': value['vmsPerCluster'],
@@ -43,6 +43,10 @@ export interface Infra {
43
43
  * RAM memory Overcommitment Ratio. Calculated as total Allocated memory / Total memory available
44
44
  */
45
45
  memoryOverCommitment?: number;
46
+ /**
47
+ * Average VM density per ESXi host. Calculated as total VMs / totalHosts
48
+ */
49
+ vmsPerHostAverage?: number;
46
50
  /**
47
51
  *
48
52
  */
@@ -49,6 +49,7 @@ function InfraFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'clustersPerDatacenter': json['clustersPerDatacenter'] == null ? undefined : json['clustersPerDatacenter'],
50
50
  'cpuOverCommitment': json['cpuOverCommitment'] == null ? undefined : json['cpuOverCommitment'],
51
51
  'memoryOverCommitment': json['memoryOverCommitment'] == null ? undefined : json['memoryOverCommitment'],
52
+ 'vmsPerHostAverage': json['vmsPerHostAverage'] == null ? undefined : json['vmsPerHostAverage'],
52
53
  'hosts': json['hosts'] == null ? undefined : (json['hosts'].map(Host_js_1.HostFromJSON)),
53
54
  'hostsPerCluster': json['hostsPerCluster'] == null ? undefined : json['hostsPerCluster'],
54
55
  'vmsPerCluster': json['vmsPerCluster'] == null ? undefined : json['vmsPerCluster'],
@@ -71,6 +72,7 @@ function InfraToJSONTyped(value, ignoreDiscriminator = false) {
71
72
  'clustersPerDatacenter': value['clustersPerDatacenter'],
72
73
  'cpuOverCommitment': value['cpuOverCommitment'],
73
74
  'memoryOverCommitment': value['memoryOverCommitment'],
75
+ 'vmsPerHostAverage': value['vmsPerHostAverage'],
74
76
  'hosts': value['hosts'] == null ? undefined : (value['hosts'].map(Host_js_1.HostToJSON)),
75
77
  'hostsPerCluster': value['hostsPerCluster'],
76
78
  'vmsPerCluster': value['vmsPerCluster'],
package/docs/Infra.md CHANGED
@@ -12,6 +12,7 @@ Name | Type
12
12
  `clustersPerDatacenter` | Array<number>
13
13
  `cpuOverCommitment` | number
14
14
  `memoryOverCommitment` | number
15
+ `vmsPerHostAverage` | number
15
16
  `hosts` | [Array<Host>](Host.md)
16
17
  `hostsPerCluster` | Array<number>
17
18
  `vmsPerCluster` | Array<number>
@@ -32,6 +33,7 @@ const example = {
32
33
  "clustersPerDatacenter": null,
33
34
  "cpuOverCommitment": null,
34
35
  "memoryOverCommitment": null,
36
+ "vmsPerHostAverage": null,
35
37
  "hosts": null,
36
38
  "hostsPerCluster": null,
37
39
  "vmsPerCluster": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.21.0-dd2aa7ede360",
3
+ "version": "0.22.0",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -66,6 +66,10 @@ export interface Infra {
66
66
  * RAM memory Overcommitment Ratio. Calculated as total Allocated memory / Total memory available
67
67
  */
68
68
  memoryOverCommitment?: number;
69
+ /**
70
+ * Average VM density per ESXi host. Calculated as total VMs / totalHosts
71
+ */
72
+ vmsPerHostAverage?: number;
69
73
  /**
70
74
  *
71
75
  */
@@ -121,6 +125,7 @@ export function InfraFromJSONTyped(json: any, ignoreDiscriminator: boolean): Inf
121
125
  'clustersPerDatacenter': json['clustersPerDatacenter'] == null ? undefined : json['clustersPerDatacenter'],
122
126
  'cpuOverCommitment': json['cpuOverCommitment'] == null ? undefined : json['cpuOverCommitment'],
123
127
  'memoryOverCommitment': json['memoryOverCommitment'] == null ? undefined : json['memoryOverCommitment'],
128
+ 'vmsPerHostAverage': json['vmsPerHostAverage'] == null ? undefined : json['vmsPerHostAverage'],
124
129
  'hosts': json['hosts'] == null ? undefined : ((json['hosts'] as Array<any>).map(HostFromJSON)),
125
130
  'hostsPerCluster': json['hostsPerCluster'] == null ? undefined : json['hostsPerCluster'],
126
131
  'vmsPerCluster': json['vmsPerCluster'] == null ? undefined : json['vmsPerCluster'],
@@ -147,6 +152,7 @@ export function InfraToJSONTyped(value?: Infra | null, ignoreDiscriminator: bool
147
152
  'clustersPerDatacenter': value['clustersPerDatacenter'],
148
153
  'cpuOverCommitment': value['cpuOverCommitment'],
149
154
  'memoryOverCommitment': value['memoryOverCommitment'],
155
+ 'vmsPerHostAverage': value['vmsPerHostAverage'],
150
156
  'hosts': value['hosts'] == null ? undefined : ((value['hosts'] as Array<any>).map(HostToJSON)),
151
157
  'hostsPerCluster': value['hostsPerCluster'],
152
158
  'vmsPerCluster': value['vmsPerCluster'],