@openshift-migration-advisor/planner-sdk 0.7.0-4ccf2aa66adf → 0.8.0-265da09b88bf

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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/planner-sdk@0.7.0-4ccf2aa66adf
1
+ # @openshift-migration-advisor/planner-sdk@0.8.0-265da09b88bf
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -140,7 +140,7 @@ and is automatically generated by the
140
140
  [OpenAPI Generator](https://openapi-generator.tech) project:
141
141
 
142
142
  - API version: `undefined`
143
- - Package version: `0.7.0-4ccf2aa66adf`
143
+ - Package version: `0.8.0-265da09b88bf`
144
144
  - Generator version: `7.21.0-SNAPSHOT`
145
145
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
146
146
 
@@ -52,7 +52,7 @@ export interface ClusterRequirementsRequest {
52
52
  */
53
53
  workerNodeThreads?: number;
54
54
  /**
55
- * Allow workload scheduling on control plane nodes
55
+ * Allow workload scheduling on control plane nodes (default: false)
56
56
  * @type {boolean}
57
57
  * @memberof ClusterRequirementsRequest
58
58
  */
@@ -64,17 +64,23 @@ export interface ClusterRequirementsRequest {
64
64
  */
65
65
  controlPlaneCPU?: number;
66
66
  /**
67
- * Memory (GB) per control plane node (default: 16)
67
+ * Memory in GB per control plane node (default: 16)
68
68
  * @type {number}
69
69
  * @memberof ClusterRequirementsRequest
70
70
  */
71
71
  controlPlaneMemory?: number;
72
72
  /**
73
- * Number of control plane nodes (1 for single node, 3 for HA)
73
+ * Number of control plane nodes: 1 or 3 (default: 3)
74
74
  * @type {ClusterRequirementsRequestControlPlaneNodeCountEnum}
75
75
  * @memberof ClusterRequirementsRequest
76
76
  */
77
77
  controlPlaneNodeCount?: ClusterRequirementsRequestControlPlaneNodeCountEnum;
78
+ /**
79
+ * If true, control plane is hosted externally. Incompatible with control plane fields (default: false)
80
+ * @type {boolean}
81
+ * @memberof ClusterRequirementsRequest
82
+ */
83
+ hostedControlPlane?: boolean;
78
84
  }
79
85
  /**
80
86
  * @export
@@ -69,6 +69,7 @@ export function ClusterRequirementsRequestFromJSONTyped(json, ignoreDiscriminato
69
69
  'controlPlaneCPU': json['controlPlaneCPU'] == null ? undefined : json['controlPlaneCPU'],
70
70
  'controlPlaneMemory': json['controlPlaneMemory'] == null ? undefined : json['controlPlaneMemory'],
71
71
  'controlPlaneNodeCount': json['controlPlaneNodeCount'] == null ? undefined : json['controlPlaneNodeCount'],
72
+ 'hostedControlPlane': json['hostedControlPlane'] == null ? undefined : json['hostedControlPlane'],
72
73
  };
73
74
  }
74
75
  export function ClusterRequirementsRequestToJSON(json) {
@@ -89,5 +90,6 @@ export function ClusterRequirementsRequestToJSONTyped(value, ignoreDiscriminator
89
90
  'controlPlaneCPU': value['controlPlaneCPU'],
90
91
  'controlPlaneMemory': value['controlPlaneMemory'],
91
92
  'controlPlaneNodeCount': value['controlPlaneNodeCount'],
93
+ 'hostedControlPlane': value['hostedControlPlane'],
92
94
  };
93
95
  }
@@ -73,6 +73,18 @@ export interface Source {
73
73
  * @memberof Source
74
74
  */
75
75
  infra?: SourceInfra;
76
+ /**
77
+ * Agent version (version tag) stored when OVA was downloaded
78
+ * @type {string}
79
+ * @memberof Source
80
+ */
81
+ agentVersion?: string | null;
82
+ /**
83
+ * Warning message if stored agent version differs from current agent version
84
+ * @type {string}
85
+ * @memberof Source
86
+ */
87
+ agentVersionWarning?: string | null;
76
88
  }
77
89
  /**
78
90
  * Check if a given object implements the Source interface.
@@ -48,6 +48,8 @@ export function SourceFromJSONTyped(json, ignoreDiscriminator) {
48
48
  'agent': json['agent'] == null ? undefined : AgentFromJSON(json['agent']),
49
49
  'labels': json['labels'] == null ? undefined : (json['labels'].map(LabelFromJSON)),
50
50
  'infra': json['infra'] == null ? undefined : SourceInfraFromJSON(json['infra']),
51
+ 'agentVersion': json['agentVersion'] == null ? undefined : json['agentVersion'],
52
+ 'agentVersionWarning': json['agentVersionWarning'] == null ? undefined : json['agentVersionWarning'],
51
53
  };
52
54
  }
53
55
  export function SourceToJSON(json) {
@@ -67,5 +69,7 @@ export function SourceToJSONTyped(value, ignoreDiscriminator = false) {
67
69
  'agent': AgentToJSON(value['agent']),
68
70
  'labels': value['labels'] == null ? undefined : (value['labels'].map(LabelToJSON)),
69
71
  'infra': SourceInfraToJSON(value['infra']),
72
+ 'agentVersion': value['agentVersion'],
73
+ 'agentVersionWarning': value['agentVersionWarning'],
70
74
  };
71
75
  }
@@ -94,10 +94,19 @@ export interface VMs {
94
94
  * Distribution of VMs by migration complexity level (0=Unsupported, 1=Easy, 2=Medium, 3=Hard, 4=WhiteGlove)
95
95
  * @type {{ [key: string]: number; }}
96
96
  * @memberof VMs
97
+ * @deprecated
97
98
  */
98
99
  distributionByComplexity?: {
99
100
  [key: string]: number;
100
101
  };
102
+ /**
103
+ * Distribution of VMs by migration complexity level, enriched with total disk size per level. Supersedes distributionByComplexity.
104
+ * @type {{ [key: string]: DiskSizeTierSummary; }}
105
+ * @memberof VMs
106
+ */
107
+ complexityDistribution?: {
108
+ [key: string]: DiskSizeTierSummary;
109
+ };
101
110
  /**
102
111
  *
103
112
  * @type {VMResourceBreakdown}
@@ -60,6 +60,7 @@ export function VMsFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'distributionByMemoryTier': json['distributionByMemoryTier'] == null ? undefined : json['distributionByMemoryTier'],
61
61
  'distributionByNicCount': json['distributionByNicCount'] == null ? undefined : json['distributionByNicCount'],
62
62
  'distributionByComplexity': json['distributionByComplexity'] == null ? undefined : json['distributionByComplexity'],
63
+ 'complexityDistribution': json['complexityDistribution'] == null ? undefined : (mapValues(json['complexityDistribution'], DiskSizeTierSummaryFromJSON)),
63
64
  'ramGB': VMResourceBreakdownFromJSON(json['ramGB']),
64
65
  'diskGB': VMResourceBreakdownFromJSON(json['diskGB']),
65
66
  'diskCount': VMResourceBreakdownFromJSON(json['diskCount']),
@@ -90,6 +91,7 @@ export function VMsToJSONTyped(value, ignoreDiscriminator = false) {
90
91
  'distributionByMemoryTier': value['distributionByMemoryTier'],
91
92
  'distributionByNicCount': value['distributionByNicCount'],
92
93
  'distributionByComplexity': value['distributionByComplexity'],
94
+ 'complexityDistribution': value['complexityDistribution'] == null ? undefined : (mapValues(value['complexityDistribution'], DiskSizeTierSummaryToJSON)),
93
95
  'ramGB': VMResourceBreakdownToJSON(value['ramGB']),
94
96
  'diskGB': VMResourceBreakdownToJSON(value['diskGB']),
95
97
  'diskCount': VMResourceBreakdownToJSON(value['diskCount']),
@@ -52,7 +52,7 @@ export interface ClusterRequirementsRequest {
52
52
  */
53
53
  workerNodeThreads?: number;
54
54
  /**
55
- * Allow workload scheduling on control plane nodes
55
+ * Allow workload scheduling on control plane nodes (default: false)
56
56
  * @type {boolean}
57
57
  * @memberof ClusterRequirementsRequest
58
58
  */
@@ -64,17 +64,23 @@ export interface ClusterRequirementsRequest {
64
64
  */
65
65
  controlPlaneCPU?: number;
66
66
  /**
67
- * Memory (GB) per control plane node (default: 16)
67
+ * Memory in GB per control plane node (default: 16)
68
68
  * @type {number}
69
69
  * @memberof ClusterRequirementsRequest
70
70
  */
71
71
  controlPlaneMemory?: number;
72
72
  /**
73
- * Number of control plane nodes (1 for single node, 3 for HA)
73
+ * Number of control plane nodes: 1 or 3 (default: 3)
74
74
  * @type {ClusterRequirementsRequestControlPlaneNodeCountEnum}
75
75
  * @memberof ClusterRequirementsRequest
76
76
  */
77
77
  controlPlaneNodeCount?: ClusterRequirementsRequestControlPlaneNodeCountEnum;
78
+ /**
79
+ * If true, control plane is hosted externally. Incompatible with control plane fields (default: false)
80
+ * @type {boolean}
81
+ * @memberof ClusterRequirementsRequest
82
+ */
83
+ hostedControlPlane?: boolean;
78
84
  }
79
85
  /**
80
86
  * @export
@@ -77,6 +77,7 @@ function ClusterRequirementsRequestFromJSONTyped(json, ignoreDiscriminator) {
77
77
  'controlPlaneCPU': json['controlPlaneCPU'] == null ? undefined : json['controlPlaneCPU'],
78
78
  'controlPlaneMemory': json['controlPlaneMemory'] == null ? undefined : json['controlPlaneMemory'],
79
79
  'controlPlaneNodeCount': json['controlPlaneNodeCount'] == null ? undefined : json['controlPlaneNodeCount'],
80
+ 'hostedControlPlane': json['hostedControlPlane'] == null ? undefined : json['hostedControlPlane'],
80
81
  };
81
82
  }
82
83
  function ClusterRequirementsRequestToJSON(json) {
@@ -97,5 +98,6 @@ function ClusterRequirementsRequestToJSONTyped(value, ignoreDiscriminator = fals
97
98
  'controlPlaneCPU': value['controlPlaneCPU'],
98
99
  'controlPlaneMemory': value['controlPlaneMemory'],
99
100
  'controlPlaneNodeCount': value['controlPlaneNodeCount'],
101
+ 'hostedControlPlane': value['hostedControlPlane'],
100
102
  };
101
103
  }
@@ -73,6 +73,18 @@ export interface Source {
73
73
  * @memberof Source
74
74
  */
75
75
  infra?: SourceInfra;
76
+ /**
77
+ * Agent version (version tag) stored when OVA was downloaded
78
+ * @type {string}
79
+ * @memberof Source
80
+ */
81
+ agentVersion?: string | null;
82
+ /**
83
+ * Warning message if stored agent version differs from current agent version
84
+ * @type {string}
85
+ * @memberof Source
86
+ */
87
+ agentVersionWarning?: string | null;
76
88
  }
77
89
  /**
78
90
  * Check if a given object implements the Source interface.
@@ -55,6 +55,8 @@ function SourceFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'agent': json['agent'] == null ? undefined : (0, Agent_js_1.AgentFromJSON)(json['agent']),
56
56
  'labels': json['labels'] == null ? undefined : (json['labels'].map(Label_js_1.LabelFromJSON)),
57
57
  'infra': json['infra'] == null ? undefined : (0, SourceInfra_js_1.SourceInfraFromJSON)(json['infra']),
58
+ 'agentVersion': json['agentVersion'] == null ? undefined : json['agentVersion'],
59
+ 'agentVersionWarning': json['agentVersionWarning'] == null ? undefined : json['agentVersionWarning'],
58
60
  };
59
61
  }
60
62
  function SourceToJSON(json) {
@@ -74,5 +76,7 @@ function SourceToJSONTyped(value, ignoreDiscriminator = false) {
74
76
  'agent': (0, Agent_js_1.AgentToJSON)(value['agent']),
75
77
  'labels': value['labels'] == null ? undefined : (value['labels'].map(Label_js_1.LabelToJSON)),
76
78
  'infra': (0, SourceInfra_js_1.SourceInfraToJSON)(value['infra']),
79
+ 'agentVersion': value['agentVersion'],
80
+ 'agentVersionWarning': value['agentVersionWarning'],
77
81
  };
78
82
  }
@@ -94,10 +94,19 @@ export interface VMs {
94
94
  * Distribution of VMs by migration complexity level (0=Unsupported, 1=Easy, 2=Medium, 3=Hard, 4=WhiteGlove)
95
95
  * @type {{ [key: string]: number; }}
96
96
  * @memberof VMs
97
+ * @deprecated
97
98
  */
98
99
  distributionByComplexity?: {
99
100
  [key: string]: number;
100
101
  };
102
+ /**
103
+ * Distribution of VMs by migration complexity level, enriched with total disk size per level. Supersedes distributionByComplexity.
104
+ * @type {{ [key: string]: DiskSizeTierSummary; }}
105
+ * @memberof VMs
106
+ */
107
+ complexityDistribution?: {
108
+ [key: string]: DiskSizeTierSummary;
109
+ };
101
110
  /**
102
111
  *
103
112
  * @type {VMResourceBreakdown}
@@ -67,6 +67,7 @@ function VMsFromJSONTyped(json, ignoreDiscriminator) {
67
67
  'distributionByMemoryTier': json['distributionByMemoryTier'] == null ? undefined : json['distributionByMemoryTier'],
68
68
  'distributionByNicCount': json['distributionByNicCount'] == null ? undefined : json['distributionByNicCount'],
69
69
  'distributionByComplexity': json['distributionByComplexity'] == null ? undefined : json['distributionByComplexity'],
70
+ 'complexityDistribution': json['complexityDistribution'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['complexityDistribution'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
70
71
  'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['ramGB']),
71
72
  'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskGB']),
72
73
  'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskCount']),
@@ -97,6 +98,7 @@ function VMsToJSONTyped(value, ignoreDiscriminator = false) {
97
98
  'distributionByMemoryTier': value['distributionByMemoryTier'],
98
99
  'distributionByNicCount': value['distributionByNicCount'],
99
100
  'distributionByComplexity': value['distributionByComplexity'],
101
+ 'complexityDistribution': value['complexityDistribution'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['complexityDistribution'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
100
102
  'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['ramGB']),
101
103
  'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskGB']),
102
104
  'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskCount']),
@@ -17,6 +17,7 @@ Name | Type
17
17
  `controlPlaneCPU` | number
18
18
  `controlPlaneMemory` | number
19
19
  `controlPlaneNodeCount` | number
20
+ `hostedControlPlane` | boolean
20
21
 
21
22
  ## Example
22
23
 
@@ -35,6 +36,7 @@ const example = {
35
36
  "controlPlaneCPU": null,
36
37
  "controlPlaneMemory": null,
37
38
  "controlPlaneNodeCount": null,
39
+ "hostedControlPlane": null,
38
40
  } satisfies ClusterRequirementsRequest
39
41
 
40
42
  console.log(example)
package/docs/Source.md CHANGED
@@ -15,6 +15,8 @@ Name | Type
15
15
  `agent` | [Agent](Agent.md)
16
16
  `labels` | [Array<Label>](Label.md)
17
17
  `infra` | [SourceInfra](SourceInfra.md)
18
+ `agentVersion` | string
19
+ `agentVersionWarning` | string
18
20
 
19
21
  ## Example
20
22
 
@@ -32,6 +34,8 @@ const example = {
32
34
  "agent": null,
33
35
  "labels": null,
34
36
  "infra": null,
37
+ "agentVersion": null,
38
+ "agentVersionWarning": null,
35
39
  } satisfies Source
36
40
 
37
41
  console.log(example)
package/docs/VMs.md CHANGED
@@ -17,6 +17,7 @@ Name | Type
17
17
  `distributionByMemoryTier` | { [key: string]: number; }
18
18
  `distributionByNicCount` | { [key: string]: number; }
19
19
  `distributionByComplexity` | { [key: string]: number; }
20
+ `complexityDistribution` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
20
21
  `ramGB` | [VMResourceBreakdown](VMResourceBreakdown.md)
21
22
  `diskGB` | [VMResourceBreakdown](VMResourceBreakdown.md)
22
23
  `diskCount` | [VMResourceBreakdown](VMResourceBreakdown.md)
@@ -45,6 +46,7 @@ const example = {
45
46
  "distributionByMemoryTier": null,
46
47
  "distributionByNicCount": null,
47
48
  "distributionByComplexity": null,
49
+ "complexityDistribution": null,
48
50
  "ramGB": null,
49
51
  "diskGB": null,
50
52
  "diskCount": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/planner-sdk",
3
- "version": "0.7.0-4ccf2aa66adf",
3
+ "version": "0.8.0-265da09b88bf",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/planner-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -56,7 +56,7 @@ export interface ClusterRequirementsRequest {
56
56
  */
57
57
  workerNodeThreads?: number;
58
58
  /**
59
- * Allow workload scheduling on control plane nodes
59
+ * Allow workload scheduling on control plane nodes (default: false)
60
60
  * @type {boolean}
61
61
  * @memberof ClusterRequirementsRequest
62
62
  */
@@ -68,17 +68,23 @@ export interface ClusterRequirementsRequest {
68
68
  */
69
69
  controlPlaneCPU?: number;
70
70
  /**
71
- * Memory (GB) per control plane node (default: 16)
71
+ * Memory in GB per control plane node (default: 16)
72
72
  * @type {number}
73
73
  * @memberof ClusterRequirementsRequest
74
74
  */
75
75
  controlPlaneMemory?: number;
76
76
  /**
77
- * Number of control plane nodes (1 for single node, 3 for HA)
77
+ * Number of control plane nodes: 1 or 3 (default: 3)
78
78
  * @type {ClusterRequirementsRequestControlPlaneNodeCountEnum}
79
79
  * @memberof ClusterRequirementsRequest
80
80
  */
81
81
  controlPlaneNodeCount?: ClusterRequirementsRequestControlPlaneNodeCountEnum;
82
+ /**
83
+ * If true, control plane is hosted externally. Incompatible with control plane fields (default: false)
84
+ * @type {boolean}
85
+ * @memberof ClusterRequirementsRequest
86
+ */
87
+ hostedControlPlane?: boolean;
82
88
  }
83
89
 
84
90
 
@@ -145,6 +151,7 @@ export function ClusterRequirementsRequestFromJSONTyped(json: any, ignoreDiscrim
145
151
  'controlPlaneCPU': json['controlPlaneCPU'] == null ? undefined : json['controlPlaneCPU'],
146
152
  'controlPlaneMemory': json['controlPlaneMemory'] == null ? undefined : json['controlPlaneMemory'],
147
153
  'controlPlaneNodeCount': json['controlPlaneNodeCount'] == null ? undefined : json['controlPlaneNodeCount'],
154
+ 'hostedControlPlane': json['hostedControlPlane'] == null ? undefined : json['hostedControlPlane'],
148
155
  };
149
156
  }
150
157
 
@@ -169,6 +176,7 @@ export function ClusterRequirementsRequestToJSONTyped(value?: ClusterRequirement
169
176
  'controlPlaneCPU': value['controlPlaneCPU'],
170
177
  'controlPlaneMemory': value['controlPlaneMemory'],
171
178
  'controlPlaneNodeCount': value['controlPlaneNodeCount'],
179
+ 'hostedControlPlane': value['hostedControlPlane'],
172
180
  };
173
181
  }
174
182
 
@@ -102,6 +102,18 @@ export interface Source {
102
102
  * @memberof Source
103
103
  */
104
104
  infra?: SourceInfra;
105
+ /**
106
+ * Agent version (version tag) stored when OVA was downloaded
107
+ * @type {string}
108
+ * @memberof Source
109
+ */
110
+ agentVersion?: string | null;
111
+ /**
112
+ * Warning message if stored agent version differs from current agent version
113
+ * @type {string}
114
+ * @memberof Source
115
+ */
116
+ agentVersionWarning?: string | null;
105
117
  }
106
118
 
107
119
  /**
@@ -135,6 +147,8 @@ export function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): So
135
147
  'agent': json['agent'] == null ? undefined : AgentFromJSON(json['agent']),
136
148
  'labels': json['labels'] == null ? undefined : ((json['labels'] as Array<any>).map(LabelFromJSON)),
137
149
  'infra': json['infra'] == null ? undefined : SourceInfraFromJSON(json['infra']),
150
+ 'agentVersion': json['agentVersion'] == null ? undefined : json['agentVersion'],
151
+ 'agentVersionWarning': json['agentVersionWarning'] == null ? undefined : json['agentVersionWarning'],
138
152
  };
139
153
  }
140
154
 
@@ -158,6 +172,8 @@ export function SourceToJSONTyped(value?: Source | null, ignoreDiscriminator: bo
158
172
  'agent': AgentToJSON(value['agent']),
159
173
  'labels': value['labels'] == null ? undefined : ((value['labels'] as Array<any>).map(LabelToJSON)),
160
174
  'infra': SourceInfraToJSON(value['infra']),
175
+ 'agentVersion': value['agentVersion'],
176
+ 'agentVersionWarning': value['agentVersionWarning'],
161
177
  };
162
178
  }
163
179
 
package/src/models/VMs.ts CHANGED
@@ -119,8 +119,15 @@ export interface VMs {
119
119
  * Distribution of VMs by migration complexity level (0=Unsupported, 1=Easy, 2=Medium, 3=Hard, 4=WhiteGlove)
120
120
  * @type {{ [key: string]: number; }}
121
121
  * @memberof VMs
122
+ * @deprecated
122
123
  */
123
124
  distributionByComplexity?: { [key: string]: number; };
125
+ /**
126
+ * Distribution of VMs by migration complexity level, enriched with total disk size per level. Supersedes distributionByComplexity.
127
+ * @type {{ [key: string]: DiskSizeTierSummary; }}
128
+ * @memberof VMs
129
+ */
130
+ complexityDistribution?: { [key: string]: DiskSizeTierSummary; };
124
131
  /**
125
132
  *
126
133
  * @type {VMResourceBreakdown}
@@ -215,6 +222,7 @@ export function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs {
215
222
  'distributionByMemoryTier': json['distributionByMemoryTier'] == null ? undefined : json['distributionByMemoryTier'],
216
223
  'distributionByNicCount': json['distributionByNicCount'] == null ? undefined : json['distributionByNicCount'],
217
224
  'distributionByComplexity': json['distributionByComplexity'] == null ? undefined : json['distributionByComplexity'],
225
+ 'complexityDistribution': json['complexityDistribution'] == null ? undefined : (mapValues(json['complexityDistribution'], DiskSizeTierSummaryFromJSON)),
218
226
  'ramGB': VMResourceBreakdownFromJSON(json['ramGB']),
219
227
  'diskGB': VMResourceBreakdownFromJSON(json['diskGB']),
220
228
  'diskCount': VMResourceBreakdownFromJSON(json['diskCount']),
@@ -249,6 +257,7 @@ export function VMsToJSONTyped(value?: VMs | null, ignoreDiscriminator: boolean
249
257
  'distributionByMemoryTier': value['distributionByMemoryTier'],
250
258
  'distributionByNicCount': value['distributionByNicCount'],
251
259
  'distributionByComplexity': value['distributionByComplexity'],
260
+ 'complexityDistribution': value['complexityDistribution'] == null ? undefined : (mapValues(value['complexityDistribution'], DiskSizeTierSummaryToJSON)),
252
261
  'ramGB': VMResourceBreakdownToJSON(value['ramGB']),
253
262
  'diskGB': VMResourceBreakdownToJSON(value['diskGB']),
254
263
  'diskCount': VMResourceBreakdownToJSON(value['diskCount']),