@openshift-migration-advisor/agent-sdk 0.31.0 → 0.32.0-b4969275f1eb
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 +18 -2
- package/README.md +12 -4
- package/dist/apis/AppliancesApi.d.ts +64 -0
- package/dist/apis/AppliancesApi.js +72 -0
- package/dist/apis/CollectorApi.d.ts +0 -38
- package/dist/apis/CollectorApi.js +0 -59
- package/dist/apis/GroupsApi.d.ts +39 -0
- package/dist/apis/GroupsApi.js +40 -0
- package/dist/apis/InventoriesApi.d.ts +9 -9
- package/dist/apis/InventoriesApi.js +3 -3
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AppliancesApi.d.ts +64 -0
- package/dist/esm/apis/AppliancesApi.js +68 -0
- package/dist/esm/apis/CollectorApi.d.ts +0 -38
- package/dist/esm/apis/CollectorApi.js +0 -59
- package/dist/esm/apis/GroupsApi.d.ts +39 -0
- package/dist/esm/apis/GroupsApi.js +40 -0
- package/dist/esm/apis/InventoriesApi.d.ts +9 -9
- package/dist/esm/apis/InventoriesApi.js +3 -3
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Appliance.d.ts +51 -0
- package/dist/esm/models/Appliance.js +64 -0
- package/dist/esm/models/ApplianceListResponse.d.ts +31 -0
- package/dist/esm/models/ApplianceListResponse.js +44 -0
- package/dist/esm/models/ApplicationOverview.d.ts +16 -0
- package/dist/esm/models/ApplicationOverview.js +12 -0
- package/dist/esm/models/CollectedInventory.d.ts +31 -0
- package/dist/esm/models/CollectedInventory.js +44 -0
- package/dist/esm/models/GroupResponse.d.ts +2 -2
- package/dist/esm/models/GroupResponse.js +3 -3
- package/dist/esm/models/Host.d.ts +10 -0
- package/dist/esm/models/Host.js +6 -0
- package/dist/esm/models/HostPhysicalNIC.d.ts +34 -0
- package/dist/esm/models/HostPhysicalNIC.js +45 -0
- package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
- package/dist/esm/models/HostStorageAdapter.js +55 -0
- package/dist/esm/models/HostStorageLun.d.ts +50 -0
- package/dist/esm/models/HostStorageLun.js +51 -0
- package/dist/esm/models/Inventory.d.ts +24 -2
- package/dist/esm/models/Inventory.js +17 -4
- package/dist/esm/models/OsInfo.d.ts +12 -0
- package/dist/esm/models/OsInfo.js +9 -0
- package/dist/esm/models/Product.d.ts +66 -0
- package/dist/esm/models/Product.js +61 -0
- package/dist/esm/models/UpdateInventory.d.ts +2 -2
- package/dist/esm/models/UpdateInventory.js +3 -3
- package/dist/esm/models/VirtualMachineDetail.d.ts +14 -0
- package/dist/esm/models/VirtualMachineDetail.js +8 -0
- package/dist/esm/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/esm/models/VirtualMachineIdentity.js +47 -0
- package/dist/esm/models/VirtualMachineNIC.d.ts +12 -0
- package/dist/esm/models/VirtualMachineNIC.js +6 -0
- package/dist/esm/models/index.d.ts +8 -1
- package/dist/esm/models/index.js +8 -1
- package/dist/models/Appliance.d.ts +51 -0
- package/dist/models/Appliance.js +71 -0
- package/dist/models/ApplianceListResponse.d.ts +31 -0
- package/dist/models/ApplianceListResponse.js +51 -0
- package/dist/models/ApplicationOverview.d.ts +16 -0
- package/dist/models/ApplicationOverview.js +12 -0
- package/dist/models/CollectedInventory.d.ts +31 -0
- package/dist/models/CollectedInventory.js +51 -0
- package/dist/models/GroupResponse.d.ts +2 -2
- package/dist/models/GroupResponse.js +3 -3
- package/dist/models/Host.d.ts +10 -0
- package/dist/models/Host.js +6 -0
- package/dist/models/HostPhysicalNIC.d.ts +34 -0
- package/dist/models/HostPhysicalNIC.js +52 -0
- package/dist/models/HostStorageAdapter.d.ts +58 -0
- package/dist/models/HostStorageAdapter.js +62 -0
- package/dist/models/HostStorageLun.d.ts +50 -0
- package/dist/models/HostStorageLun.js +58 -0
- package/dist/models/Inventory.d.ts +24 -2
- package/dist/models/Inventory.js +17 -4
- package/dist/models/OsInfo.d.ts +12 -0
- package/dist/models/OsInfo.js +10 -1
- package/dist/models/Product.d.ts +66 -0
- package/dist/models/Product.js +68 -0
- package/dist/models/UpdateInventory.d.ts +2 -2
- package/dist/models/UpdateInventory.js +3 -3
- package/dist/models/VirtualMachineDetail.d.ts +14 -0
- package/dist/models/VirtualMachineDetail.js +8 -0
- package/dist/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/models/VirtualMachineIdentity.js +54 -0
- package/dist/models/VirtualMachineNIC.d.ts +12 -0
- package/dist/models/VirtualMachineNIC.js +6 -0
- package/dist/models/index.d.ts +8 -1
- package/dist/models/index.js +8 -1
- package/docs/{Inventory1.md → Appliance.md} +16 -16
- package/docs/ApplianceListResponse.md +34 -0
- package/docs/AppliancesApi.md +76 -0
- package/docs/ApplicationOverview.md +8 -0
- package/docs/CollectedInventory.md +34 -0
- package/docs/CollectorApi.md +0 -70
- package/docs/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +68 -0
- package/docs/Host.md +4 -0
- package/docs/HostPhysicalNIC.md +36 -0
- package/docs/HostStorageAdapter.md +49 -0
- package/docs/HostStorageLun.md +45 -0
- package/docs/InventoriesApi.md +4 -4
- package/docs/Inventory.md +12 -2
- package/docs/OsInfo.md +2 -0
- package/docs/Product.md +52 -0
- package/docs/UpdateInventory.md +1 -1
- package/docs/VirtualMachineDetail.md +6 -0
- package/docs/VirtualMachineIdentity.md +36 -0
- package/docs/VirtualMachineNIC.md +6 -0
- package/package.json +1 -1
- package/src/apis/AppliancesApi.ts +111 -0
- package/src/apis/CollectorApi.ts +0 -97
- package/src/apis/GroupsApi.ts +80 -0
- package/src/apis/InventoriesApi.ts +14 -14
- package/src/apis/index.ts +1 -0
- package/src/models/Appliance.ts +107 -0
- package/src/models/ApplianceListResponse.ts +72 -0
- package/src/models/ApplicationOverview.ts +26 -0
- package/src/models/CollectedInventory.ts +72 -0
- package/src/models/GroupResponse.ts +9 -9
- package/src/models/Host.ts +27 -0
- package/src/models/HostPhysicalNIC.ts +70 -0
- package/src/models/HostStorageAdapter.ts +105 -0
- package/src/models/HostStorageLun.ts +93 -0
- package/src/models/Inventory.ts +42 -11
- package/src/models/OsInfo.ts +15 -0
- package/src/models/Product.ts +118 -0
- package/src/models/UpdateInventory.ts +9 -9
- package/src/models/VirtualMachineDetail.ts +32 -0
- package/src/models/VirtualMachineIdentity.ts +71 -0
- package/src/models/VirtualMachineNIC.ts +18 -0
- package/src/models/index.ts +8 -1
- package/dist/esm/models/Inventory1.d.ts +0 -53
- package/dist/esm/models/Inventory1.js +0 -57
- package/dist/models/Inventory1.d.ts +0 -53
- package/dist/models/Inventory1.js +0 -64
- package/src/models/Inventory1.ts +0 -103
package/src/models/OsInfo.ts
CHANGED
|
@@ -31,6 +31,10 @@ export interface OsInfo {
|
|
|
31
31
|
* OS support tier per Red Hat KCS article 4234591
|
|
32
32
|
*/
|
|
33
33
|
supportTier?: OsInfoSupportTierEnum;
|
|
34
|
+
/**
|
|
35
|
+
* MTV verification per Red Hat KCS article 4234591. Green means tested and verified; blue means successfully running on the target cluster. Omitted when the OS/architecture has no listed status.
|
|
36
|
+
*/
|
|
37
|
+
mtvStatus?: OsInfoMtvStatusEnum;
|
|
34
38
|
/**
|
|
35
39
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
36
40
|
*/
|
|
@@ -49,6 +53,15 @@ export const OsInfoSupportTierEnum = {
|
|
|
49
53
|
} as const;
|
|
50
54
|
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
51
55
|
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export const OsInfoMtvStatusEnum = {
|
|
60
|
+
Green: 'green',
|
|
61
|
+
Blue: 'blue',
|
|
62
|
+
} as const;
|
|
63
|
+
export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
|
|
64
|
+
|
|
52
65
|
|
|
53
66
|
/**
|
|
54
67
|
* Check if a given object implements the OsInfo interface.
|
|
@@ -72,6 +85,7 @@ export function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Os
|
|
|
72
85
|
'count': json['count'],
|
|
73
86
|
'supported': json['supported'],
|
|
74
87
|
'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
|
|
88
|
+
'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
|
|
75
89
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
76
90
|
};
|
|
77
91
|
}
|
|
@@ -90,6 +104,7 @@ export function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator: bo
|
|
|
90
104
|
'count': value['count'],
|
|
91
105
|
'supported': value['supported'],
|
|
92
106
|
'supportTier': value['supportTier'],
|
|
107
|
+
'mtvStatus': value['mtvStatus'],
|
|
93
108
|
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
94
109
|
};
|
|
95
110
|
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
|
+
*
|
|
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
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface Product
|
|
20
|
+
*/
|
|
21
|
+
export interface Product {
|
|
22
|
+
/**
|
|
23
|
+
* Product key
|
|
24
|
+
*/
|
|
25
|
+
key: number;
|
|
26
|
+
/**
|
|
27
|
+
* Product class identifier
|
|
28
|
+
*/
|
|
29
|
+
classId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Product instance identifier
|
|
32
|
+
*/
|
|
33
|
+
instanceId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Product name
|
|
36
|
+
*/
|
|
37
|
+
name?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Product vendor
|
|
40
|
+
*/
|
|
41
|
+
vendor?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Product version
|
|
44
|
+
*/
|
|
45
|
+
version?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Full product version
|
|
48
|
+
*/
|
|
49
|
+
fullVersion?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Product vendor URL
|
|
52
|
+
*/
|
|
53
|
+
vendorUrl?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Product URL
|
|
56
|
+
*/
|
|
57
|
+
productUrl?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Application URL
|
|
60
|
+
*/
|
|
61
|
+
appUrl?: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the Product interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfProduct(value: object): value is Product {
|
|
68
|
+
if (!('key' in value) || value['key'] === undefined) return false;
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ProductFromJSON(json: any): Product {
|
|
73
|
+
return ProductFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'key': json['key'],
|
|
83
|
+
'classId': json['classId'] == null ? undefined : json['classId'],
|
|
84
|
+
'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
|
|
85
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
86
|
+
'vendor': json['vendor'] == null ? undefined : json['vendor'],
|
|
87
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
88
|
+
'fullVersion': json['fullVersion'] == null ? undefined : json['fullVersion'],
|
|
89
|
+
'vendorUrl': json['vendorUrl'] == null ? undefined : json['vendorUrl'],
|
|
90
|
+
'productUrl': json['productUrl'] == null ? undefined : json['productUrl'],
|
|
91
|
+
'appUrl': json['appUrl'] == null ? undefined : json['appUrl'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function ProductToJSON(json: any): Product {
|
|
96
|
+
return ProductToJSONTyped(json, false);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator: boolean = false): any {
|
|
100
|
+
if (value == null) {
|
|
101
|
+
return value;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return {
|
|
105
|
+
|
|
106
|
+
'key': value['key'],
|
|
107
|
+
'classId': value['classId'],
|
|
108
|
+
'instanceId': value['instanceId'],
|
|
109
|
+
'name': value['name'],
|
|
110
|
+
'vendor': value['vendor'],
|
|
111
|
+
'version': value['version'],
|
|
112
|
+
'fullVersion': value['fullVersion'],
|
|
113
|
+
'vendorUrl': value['vendorUrl'],
|
|
114
|
+
'productUrl': value['productUrl'],
|
|
115
|
+
'appUrl': value['appUrl'],
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
-
import type {
|
|
16
|
+
import type { Inventory } from './Inventory.js';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
InventoryFromJSON,
|
|
19
|
+
InventoryFromJSONTyped,
|
|
20
|
+
InventoryToJSON,
|
|
21
|
+
InventoryToJSONTyped,
|
|
22
|
+
} from './Inventory.js';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -34,7 +34,7 @@ export interface UpdateInventory {
|
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
|
-
inventory:
|
|
37
|
+
inventory: Inventory;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -57,7 +57,7 @@ export function UpdateInventoryFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
57
57
|
return {
|
|
58
58
|
|
|
59
59
|
'agentId': json['agentId'],
|
|
60
|
-
'inventory':
|
|
60
|
+
'inventory': InventoryFromJSON(json['inventory']),
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -73,7 +73,7 @@ export function UpdateInventoryToJSONTyped(value?: UpdateInventory | null, ignor
|
|
|
73
73
|
return {
|
|
74
74
|
|
|
75
75
|
'agentId': value['agentId'],
|
|
76
|
-
'inventory':
|
|
76
|
+
'inventory': InventoryToJSON(value['inventory']),
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -48,6 +48,20 @@ import {
|
|
|
48
48
|
VirtualMachineDeviceToJSON,
|
|
49
49
|
VirtualMachineDeviceToJSONTyped,
|
|
50
50
|
} from './VirtualMachineDevice.js';
|
|
51
|
+
import type { HostPhysicalNIC } from './HostPhysicalNIC.js';
|
|
52
|
+
import {
|
|
53
|
+
HostPhysicalNICFromJSON,
|
|
54
|
+
HostPhysicalNICFromJSONTyped,
|
|
55
|
+
HostPhysicalNICToJSON,
|
|
56
|
+
HostPhysicalNICToJSONTyped,
|
|
57
|
+
} from './HostPhysicalNIC.js';
|
|
58
|
+
import type { Product } from './Product.js';
|
|
59
|
+
import {
|
|
60
|
+
ProductFromJSON,
|
|
61
|
+
ProductFromJSONTyped,
|
|
62
|
+
ProductToJSON,
|
|
63
|
+
ProductToJSONTyped,
|
|
64
|
+
} from './Product.js';
|
|
51
65
|
import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
|
|
52
66
|
import {
|
|
53
67
|
VmUtilizationDetailsFromJSON,
|
|
@@ -91,6 +105,10 @@ export interface VirtualMachineDetail {
|
|
|
91
105
|
* Display name of the VirtualMachine
|
|
92
106
|
*/
|
|
93
107
|
name: string;
|
|
108
|
+
/**
|
|
109
|
+
* Free-text notes/description for the VirtualMachine in vSphere
|
|
110
|
+
*/
|
|
111
|
+
annotation?: string;
|
|
94
112
|
/**
|
|
95
113
|
* Identifier of the vCenter this VirtualMachine belongs to
|
|
96
114
|
*/
|
|
@@ -207,6 +225,10 @@ export interface VirtualMachineDetail {
|
|
|
207
225
|
*
|
|
208
226
|
*/
|
|
209
227
|
disks: Array<VirtualMachineDisk>;
|
|
228
|
+
/**
|
|
229
|
+
* Physical NICs reported on the VM's host. An empty array means no records were retained.
|
|
230
|
+
*/
|
|
231
|
+
hostPhysicalNics?: Array<HostPhysicalNIC>;
|
|
210
232
|
/**
|
|
211
233
|
* Adapter count reported by the source; 0 when unavailable
|
|
212
234
|
*/
|
|
@@ -239,6 +261,10 @@ export interface VirtualMachineDetail {
|
|
|
239
261
|
* List of processes detected on this VM
|
|
240
262
|
*/
|
|
241
263
|
processes?: Array<Process>;
|
|
264
|
+
/**
|
|
265
|
+
* Products configured in the VM's vApp settings
|
|
266
|
+
*/
|
|
267
|
+
products?: Array<Product>;
|
|
242
268
|
}
|
|
243
269
|
|
|
244
270
|
/**
|
|
@@ -271,6 +297,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
271
297
|
|
|
272
298
|
'id': json['id'],
|
|
273
299
|
'name': json['name'],
|
|
300
|
+
'annotation': json['annotation'] == null ? undefined : json['annotation'],
|
|
274
301
|
'vCenterID': json['vCenterID'],
|
|
275
302
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
276
303
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -300,6 +327,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
300
327
|
'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
|
|
301
328
|
'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
|
|
302
329
|
'disks': ((json['disks'] as Array<any>).map(VirtualMachineDiskFromJSON)),
|
|
330
|
+
'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : ((json['hostPhysicalNics'] as Array<any>).map(HostPhysicalNICFromJSON)),
|
|
303
331
|
'nicCount': json['nicCount'],
|
|
304
332
|
'nics': ((json['nics'] as Array<any>).map(VirtualMachineNICFromJSON)),
|
|
305
333
|
'devices': json['devices'] == null ? undefined : ((json['devices'] as Array<any>).map(VirtualMachineDeviceFromJSON)),
|
|
@@ -308,6 +336,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
308
336
|
'inspection': json['inspection'] == null ? undefined : VirtualMachineInspectionResultsFromJSON(json['inspection']),
|
|
309
337
|
'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
|
|
310
338
|
'processes': json['processes'] == null ? undefined : ((json['processes'] as Array<any>).map(ProcessFromJSON)),
|
|
339
|
+
'products': json['products'] == null ? undefined : ((json['products'] as Array<any>).map(ProductFromJSON)),
|
|
311
340
|
};
|
|
312
341
|
}
|
|
313
342
|
|
|
@@ -324,6 +353,7 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
|
|
|
324
353
|
|
|
325
354
|
'id': value['id'],
|
|
326
355
|
'name': value['name'],
|
|
356
|
+
'annotation': value['annotation'],
|
|
327
357
|
'vCenterID': value['vCenterID'],
|
|
328
358
|
'uuid': value['uuid'],
|
|
329
359
|
'firmware': value['firmware'],
|
|
@@ -352,6 +382,7 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
|
|
|
352
382
|
'toolsStatus': value['toolsStatus'],
|
|
353
383
|
'toolsRunningStatus': value['toolsRunningStatus'],
|
|
354
384
|
'disks': ((value['disks'] as Array<any>).map(VirtualMachineDiskToJSON)),
|
|
385
|
+
'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : ((value['hostPhysicalNics'] as Array<any>).map(HostPhysicalNICToJSON)),
|
|
355
386
|
'nicCount': value['nicCount'],
|
|
356
387
|
'nics': ((value['nics'] as Array<any>).map(VirtualMachineNICToJSON)),
|
|
357
388
|
'devices': value['devices'] == null ? undefined : ((value['devices'] as Array<any>).map(VirtualMachineDeviceToJSON)),
|
|
@@ -360,6 +391,7 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
|
|
|
360
391
|
'inspection': VirtualMachineInspectionResultsToJSON(value['inspection']),
|
|
361
392
|
'utilization': VmUtilizationDetailsToJSON(value['utilization']),
|
|
362
393
|
'processes': value['processes'] == null ? undefined : ((value['processes'] as Array<any>).map(ProcessToJSON)),
|
|
394
|
+
'products': value['products'] == null ? undefined : ((value['products'] as Array<any>).map(ProductToJSON)),
|
|
363
395
|
};
|
|
364
396
|
}
|
|
365
397
|
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v2
|
|
8
|
+
*
|
|
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
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VirtualMachineIdentity
|
|
20
|
+
*/
|
|
21
|
+
export interface VirtualMachineIdentity {
|
|
22
|
+
/**
|
|
23
|
+
* VM ID
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* VM name
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the VirtualMachineIdentity interface.
|
|
34
|
+
*/
|
|
35
|
+
export function instanceOfVirtualMachineIdentity(value: object): value is VirtualMachineIdentity {
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
37
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function VirtualMachineIdentityFromJSON(json: any): VirtualMachineIdentity {
|
|
42
|
+
return VirtualMachineIdentityFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function VirtualMachineIdentityFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineIdentity {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'name': json['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function VirtualMachineIdentityToJSON(json: any): VirtualMachineIdentity {
|
|
57
|
+
return VirtualMachineIdentityToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function VirtualMachineIdentityToJSONTyped(value?: VirtualMachineIdentity | null, ignoreDiscriminator: boolean = false): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'name': value['name'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -23,6 +23,18 @@ export interface VirtualMachineNIC {
|
|
|
23
23
|
* Virtual adapter model, such as Vmxnet3 or E1000
|
|
24
24
|
*/
|
|
25
25
|
adapter?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Port-group VLAN configuration when supplied; empty when unknown.
|
|
28
|
+
*/
|
|
29
|
+
vlanId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
32
|
+
*/
|
|
33
|
+
ipv4Addresses?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
* IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
36
|
+
*/
|
|
37
|
+
ipv6Addresses?: Array<string>;
|
|
26
38
|
/**
|
|
27
39
|
* MAC address
|
|
28
40
|
*/
|
|
@@ -55,6 +67,9 @@ export function VirtualMachineNICFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
55
67
|
return {
|
|
56
68
|
|
|
57
69
|
'adapter': json['adapter'] == null ? undefined : json['adapter'],
|
|
70
|
+
'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
|
|
71
|
+
'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
|
|
72
|
+
'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
|
|
58
73
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
59
74
|
'network': json['network'] == null ? undefined : json['network'],
|
|
60
75
|
'index': json['index'] == null ? undefined : json['index'],
|
|
@@ -73,6 +88,9 @@ export function VirtualMachineNICToJSONTyped(value?: VirtualMachineNIC | null, i
|
|
|
73
88
|
return {
|
|
74
89
|
|
|
75
90
|
'adapter': value['adapter'],
|
|
91
|
+
'vlanId': value['vlanId'],
|
|
92
|
+
'ipv4Addresses': value['ipv4Addresses'],
|
|
93
|
+
'ipv6Addresses': value['ipv6Addresses'],
|
|
76
94
|
'mac': value['mac'],
|
|
77
95
|
'network': value['network'],
|
|
78
96
|
'index': value['index'],
|
package/src/models/index.ts
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
export * from './AgentModeRequest.js';
|
|
4
4
|
export * from './AgentStatus.js';
|
|
5
5
|
export * from './AgentStatusConsoleConnection.js';
|
|
6
|
+
export * from './Appliance.js';
|
|
7
|
+
export * from './ApplianceListResponse.js';
|
|
6
8
|
export * from './ApplicationListResponse.js';
|
|
7
9
|
export * from './ApplicationOverview.js';
|
|
8
10
|
export * from './ApplicationVM.js';
|
|
@@ -12,6 +14,7 @@ export * from './CapabilityStatus.js';
|
|
|
12
14
|
export * from './CapabilityStatusCapabilities.js';
|
|
13
15
|
export * from './ClusterFeatures.js';
|
|
14
16
|
export * from './ClusterUtilization.js';
|
|
17
|
+
export * from './CollectedInventory.js';
|
|
15
18
|
export * from './Collection.js';
|
|
16
19
|
export * from './CollectionAggregate.js';
|
|
17
20
|
export * from './CollectionComparisonDiff.js';
|
|
@@ -39,11 +42,13 @@ export * from './GroupResponse.js';
|
|
|
39
42
|
export * from './GuestNetwork.js';
|
|
40
43
|
export * from './Histogram.js';
|
|
41
44
|
export * from './Host.js';
|
|
45
|
+
export * from './HostPhysicalNIC.js';
|
|
46
|
+
export * from './HostStorageAdapter.js';
|
|
47
|
+
export * from './HostStorageLun.js';
|
|
42
48
|
export * from './Infra.js';
|
|
43
49
|
export * from './InspectionStatus.js';
|
|
44
50
|
export * from './InspectorStatus.js';
|
|
45
51
|
export * from './Inventory.js';
|
|
46
|
-
export * from './Inventory1.js';
|
|
47
52
|
export * from './InventoryData.js';
|
|
48
53
|
export * from './IssuesBreakdown.js';
|
|
49
54
|
export * from './MigrationIssue.js';
|
|
@@ -53,6 +58,7 @@ export * from './OsInfo.js';
|
|
|
53
58
|
export * from './PairCapability.js';
|
|
54
59
|
export * from './PairCapabilityRequest.js';
|
|
55
60
|
export * from './Process.js';
|
|
61
|
+
export * from './Product.js';
|
|
56
62
|
export * from './RDMBacking.js';
|
|
57
63
|
export * from './RightsizingClusterResponse.js';
|
|
58
64
|
export * from './RightsizingClusterUtilization.js';
|
|
@@ -76,6 +82,7 @@ export * from './VirtualMachineDatastore.js';
|
|
|
76
82
|
export * from './VirtualMachineDetail.js';
|
|
77
83
|
export * from './VirtualMachineDevice.js';
|
|
78
84
|
export * from './VirtualMachineDisk.js';
|
|
85
|
+
export * from './VirtualMachineIdentity.js';
|
|
79
86
|
export * from './VirtualMachineInspectionConcern.js';
|
|
80
87
|
export * from './VirtualMachineInspectionResults.js';
|
|
81
88
|
export * from './VirtualMachineIssue.js';
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assisted Migration Agent API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v2
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { InventoryData } from './InventoryData.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Inventory1
|
|
17
|
-
*/
|
|
18
|
-
export interface Inventory1 {
|
|
19
|
-
/**
|
|
20
|
-
* ID of the vCenter
|
|
21
|
-
*/
|
|
22
|
-
vcenter_id: string;
|
|
23
|
-
/**
|
|
24
|
-
* Version of the vCenter api. For example "8.0.3.0"
|
|
25
|
-
*/
|
|
26
|
-
vcenter_version?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Map of cluster names to their inventory data
|
|
29
|
-
*/
|
|
30
|
-
clusters: {
|
|
31
|
-
[key: string]: InventoryData;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
vcenter?: InventoryData;
|
|
37
|
-
/**
|
|
38
|
-
* Timestamp when the inventory document was built
|
|
39
|
-
*/
|
|
40
|
-
created_at?: Date;
|
|
41
|
-
/**
|
|
42
|
-
* Oldest known source collection time. Agent data uses collection database creation time; RVTools uses export metadata, assuming UTC when no timezone is specified. Null when unknown.
|
|
43
|
-
*/
|
|
44
|
-
collection_time?: Date | null;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the Inventory1 interface.
|
|
48
|
-
*/
|
|
49
|
-
export declare function instanceOfInventory1(value: object): value is Inventory1;
|
|
50
|
-
export declare function Inventory1FromJSON(json: any): Inventory1;
|
|
51
|
-
export declare function Inventory1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory1;
|
|
52
|
-
export declare function Inventory1ToJSON(json: any): Inventory1;
|
|
53
|
-
export declare function Inventory1ToJSONTyped(value?: Inventory1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Assisted Migration Agent API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v2
|
|
8
|
-
*
|
|
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
|
-
import { mapValues, parseDateTime, serializeDateTime } from '../runtime.js';
|
|
15
|
-
import { InventoryDataFromJSON, InventoryDataToJSON, } from './InventoryData.js';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the Inventory1 interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfInventory1(value) {
|
|
20
|
-
if (!('vcenter_id' in value) || value['vcenter_id'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('clusters' in value) || value['clusters'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
export function Inventory1FromJSON(json) {
|
|
27
|
-
return Inventory1FromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
export function Inventory1FromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'vcenter_id': json['vcenter_id'],
|
|
35
|
-
'vcenter_version': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
36
|
-
'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
|
|
37
|
-
'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
|
|
38
|
-
'created_at': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
|
|
39
|
-
'collection_time': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : (parseDateTime(json['collection_time'])),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
export function Inventory1ToJSON(json) {
|
|
43
|
-
return Inventory1ToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
export function Inventory1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'vcenter_id': value['vcenter_id'],
|
|
51
|
-
'vcenter_version': value['vcenter_version'],
|
|
52
|
-
'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
|
|
53
|
-
'vcenter': InventoryDataToJSON(value['vcenter']),
|
|
54
|
-
'created_at': value['created_at'] == null ? value['created_at'] : serializeDateTime(value['created_at']),
|
|
55
|
-
'collection_time': value['collection_time'] == null ? value['collection_time'] : serializeDateTime(value['collection_time']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assisted Migration Agent API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v2
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { InventoryData } from './InventoryData.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Inventory1
|
|
17
|
-
*/
|
|
18
|
-
export interface Inventory1 {
|
|
19
|
-
/**
|
|
20
|
-
* ID of the vCenter
|
|
21
|
-
*/
|
|
22
|
-
vcenter_id: string;
|
|
23
|
-
/**
|
|
24
|
-
* Version of the vCenter api. For example "8.0.3.0"
|
|
25
|
-
*/
|
|
26
|
-
vcenter_version?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Map of cluster names to their inventory data
|
|
29
|
-
*/
|
|
30
|
-
clusters: {
|
|
31
|
-
[key: string]: InventoryData;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
vcenter?: InventoryData;
|
|
37
|
-
/**
|
|
38
|
-
* Timestamp when the inventory document was built
|
|
39
|
-
*/
|
|
40
|
-
created_at?: Date;
|
|
41
|
-
/**
|
|
42
|
-
* Oldest known source collection time. Agent data uses collection database creation time; RVTools uses export metadata, assuming UTC when no timezone is specified. Null when unknown.
|
|
43
|
-
*/
|
|
44
|
-
collection_time?: Date | null;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the Inventory1 interface.
|
|
48
|
-
*/
|
|
49
|
-
export declare function instanceOfInventory1(value: object): value is Inventory1;
|
|
50
|
-
export declare function Inventory1FromJSON(json: any): Inventory1;
|
|
51
|
-
export declare function Inventory1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory1;
|
|
52
|
-
export declare function Inventory1ToJSON(json: any): Inventory1;
|
|
53
|
-
export declare function Inventory1ToJSONTyped(value?: Inventory1 | null, ignoreDiscriminator?: boolean): any;
|