@openshift-migration-advisor/planner-sdk 0.17.0 → 0.18.0-b5e8e71564be
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/.openapi-generator/FILES +4 -0
- package/README.md +4 -2
- package/dist/esm/models/Datastore.d.ts +7 -0
- package/dist/esm/models/Datastore.js +3 -0
- package/dist/esm/models/IssuesBreakdown.d.ts +56 -0
- package/dist/esm/models/IssuesBreakdown.js +59 -0
- package/dist/esm/models/OsInfo.d.ts +16 -0
- package/dist/esm/models/OsInfo.js +11 -0
- package/dist/esm/models/StorageIoConfiguration.d.ts +58 -0
- package/dist/esm/models/StorageIoConfiguration.js +54 -0
- package/dist/esm/models/VMs.d.ts +7 -0
- package/dist/esm/models/VMs.js +3 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/models/Datastore.d.ts +7 -0
- package/dist/models/Datastore.js +3 -0
- package/dist/models/IssuesBreakdown.d.ts +56 -0
- package/dist/models/IssuesBreakdown.js +66 -0
- package/dist/models/OsInfo.d.ts +16 -0
- package/dist/models/OsInfo.js +12 -0
- package/dist/models/StorageIoConfiguration.d.ts +58 -0
- package/dist/models/StorageIoConfiguration.js +62 -0
- package/dist/models/VMs.d.ts +7 -0
- package/dist/models/VMs.js +3 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/docs/Datastore.md +2 -0
- package/docs/IssuesBreakdown.md +42 -0
- package/docs/OsInfo.md +2 -0
- package/docs/StorageIoConfiguration.md +40 -0
- package/docs/VMs.md +2 -0
- package/package.json +1 -1
- package/src/models/Datastore.ts +16 -0
- package/src/models/IssuesBreakdown.ts +102 -0
- package/src/models/OsInfo.ts +21 -0
- package/src/models/StorageIoConfiguration.ts +100 -0
- package/src/models/VMs.ts +15 -0
- package/src/models/index.ts +2 -0
package/src/models/VMs.ts
CHANGED
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
OsInfoToJSON,
|
|
28
28
|
OsInfoToJSONTyped,
|
|
29
29
|
} from './OsInfo.js';
|
|
30
|
+
import type { IssuesBreakdown } from './IssuesBreakdown.js';
|
|
31
|
+
import {
|
|
32
|
+
IssuesBreakdownFromJSON,
|
|
33
|
+
IssuesBreakdownFromJSONTyped,
|
|
34
|
+
IssuesBreakdownToJSON,
|
|
35
|
+
IssuesBreakdownToJSONTyped,
|
|
36
|
+
} from './IssuesBreakdown.js';
|
|
30
37
|
import type { DiskSizeTierSummary } from './DiskSizeTierSummary.js';
|
|
31
38
|
import {
|
|
32
39
|
DiskSizeTierSummaryFromJSON,
|
|
@@ -190,6 +197,12 @@ export interface VMs {
|
|
|
190
197
|
* @memberof VMs
|
|
191
198
|
*/
|
|
192
199
|
migrationWarnings: Array<MigrationIssue>;
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @type {IssuesBreakdown}
|
|
203
|
+
* @memberof VMs
|
|
204
|
+
*/
|
|
205
|
+
issuesBreakdown?: IssuesBreakdown;
|
|
193
206
|
}
|
|
194
207
|
|
|
195
208
|
/**
|
|
@@ -240,6 +253,7 @@ export function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs {
|
|
|
240
253
|
'osInfo': json['osInfo'] == null ? undefined : (mapValues(json['osInfo'], OsInfoFromJSON)),
|
|
241
254
|
'notMigratableReasons': ((json['notMigratableReasons'] as Array<any>).map(MigrationIssueFromJSON)),
|
|
242
255
|
'migrationWarnings': ((json['migrationWarnings'] as Array<any>).map(MigrationIssueFromJSON)),
|
|
256
|
+
'issuesBreakdown': json['issuesBreakdown'] == null ? undefined : IssuesBreakdownFromJSON(json['issuesBreakdown']),
|
|
243
257
|
};
|
|
244
258
|
}
|
|
245
259
|
|
|
@@ -276,6 +290,7 @@ export function VMsToJSONTyped(value?: VMs | null, ignoreDiscriminator: boolean
|
|
|
276
290
|
'osInfo': value['osInfo'] == null ? undefined : (mapValues(value['osInfo'], OsInfoToJSON)),
|
|
277
291
|
'notMigratableReasons': ((value['notMigratableReasons'] as Array<any>).map(MigrationIssueToJSON)),
|
|
278
292
|
'migrationWarnings': ((value['migrationWarnings'] as Array<any>).map(MigrationIssueToJSON)),
|
|
293
|
+
'issuesBreakdown': IssuesBreakdownToJSON(value['issuesBreakdown']),
|
|
279
294
|
};
|
|
280
295
|
}
|
|
281
296
|
|
package/src/models/index.ts
CHANGED
|
@@ -35,6 +35,7 @@ export * from './Inventory.js';
|
|
|
35
35
|
export * from './InventoryData.js';
|
|
36
36
|
export * from './InventoryTotals.js';
|
|
37
37
|
export * from './Ipv4Config.js';
|
|
38
|
+
export * from './IssuesBreakdown.js';
|
|
38
39
|
export * from './Job.js';
|
|
39
40
|
export * from './JobStatus.js';
|
|
40
41
|
export * from './Label.js';
|
|
@@ -73,6 +74,7 @@ export * from './SourceUpdate.js';
|
|
|
73
74
|
export * from './StandaloneClusterRequirementsRequest.js';
|
|
74
75
|
export * from './StandaloneClusterRequirementsResponse.js';
|
|
75
76
|
export * from './Status.js';
|
|
77
|
+
export * from './StorageIoConfiguration.js';
|
|
76
78
|
export * from './UpdateInventory.js';
|
|
77
79
|
export * from './VCenter.js';
|
|
78
80
|
export * from './VMResourceBreakdown.js';
|