@openshift-migration-advisor/agent-sdk 0.30.0 → 0.31.0-91c2f03b4968

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 (122) hide show
  1. package/.openapi-generator/FILES +14 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +10 -4
  4. package/dist/apis/InventoriesApi.d.ts +9 -9
  5. package/dist/apis/InventoriesApi.js +3 -3
  6. package/dist/esm/apis/InventoriesApi.d.ts +9 -9
  7. package/dist/esm/apis/InventoriesApi.js +3 -3
  8. package/dist/esm/models/ApplicationOverview.d.ts +16 -0
  9. package/dist/esm/models/ApplicationOverview.js +12 -0
  10. package/dist/esm/models/CollectedInventory.d.ts +31 -0
  11. package/dist/esm/models/CollectedInventory.js +44 -0
  12. package/dist/esm/models/Datastore.d.ts +14 -2
  13. package/dist/esm/models/Datastore.js +6 -0
  14. package/dist/esm/models/GroupResponse.d.ts +2 -2
  15. package/dist/esm/models/GroupResponse.js +3 -3
  16. package/dist/esm/models/Host.d.ts +10 -0
  17. package/dist/esm/models/Host.js +6 -0
  18. package/dist/esm/models/HostPhysicalNIC.d.ts +34 -0
  19. package/dist/esm/models/HostPhysicalNIC.js +45 -0
  20. package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
  21. package/dist/esm/models/HostStorageAdapter.js +55 -0
  22. package/dist/esm/models/HostStorageLun.d.ts +50 -0
  23. package/dist/esm/models/HostStorageLun.js +51 -0
  24. package/dist/esm/models/Inventory.d.ts +24 -2
  25. package/dist/esm/models/Inventory.js +17 -4
  26. package/dist/esm/models/OsInfo.d.ts +12 -0
  27. package/dist/esm/models/OsInfo.js +9 -0
  28. package/dist/esm/models/Product.d.ts +66 -0
  29. package/dist/esm/models/Product.js +61 -0
  30. package/dist/esm/models/RDMBacking.d.ts +30 -0
  31. package/dist/esm/models/RDMBacking.js +41 -0
  32. package/dist/esm/models/UpdateInventory.d.ts +2 -2
  33. package/dist/esm/models/UpdateInventory.js +3 -3
  34. package/dist/esm/models/VirtualMachineDatastore.d.ts +66 -0
  35. package/dist/esm/models/VirtualMachineDatastore.js +59 -0
  36. package/dist/esm/models/VirtualMachineDetail.d.ts +18 -0
  37. package/dist/esm/models/VirtualMachineDetail.js +12 -0
  38. package/dist/esm/models/VirtualMachineDisk.d.ts +10 -0
  39. package/dist/esm/models/VirtualMachineDisk.js +6 -0
  40. package/dist/esm/models/VirtualMachineNIC.d.ts +16 -0
  41. package/dist/esm/models/VirtualMachineNIC.js +8 -0
  42. package/dist/esm/models/index.d.ts +7 -1
  43. package/dist/esm/models/index.js +7 -1
  44. package/dist/models/ApplicationOverview.d.ts +16 -0
  45. package/dist/models/ApplicationOverview.js +12 -0
  46. package/dist/models/CollectedInventory.d.ts +31 -0
  47. package/dist/models/CollectedInventory.js +51 -0
  48. package/dist/models/Datastore.d.ts +14 -2
  49. package/dist/models/Datastore.js +6 -0
  50. package/dist/models/GroupResponse.d.ts +2 -2
  51. package/dist/models/GroupResponse.js +3 -3
  52. package/dist/models/Host.d.ts +10 -0
  53. package/dist/models/Host.js +6 -0
  54. package/dist/models/HostPhysicalNIC.d.ts +34 -0
  55. package/dist/models/HostPhysicalNIC.js +52 -0
  56. package/dist/models/HostStorageAdapter.d.ts +58 -0
  57. package/dist/models/HostStorageAdapter.js +62 -0
  58. package/dist/models/HostStorageLun.d.ts +50 -0
  59. package/dist/models/HostStorageLun.js +58 -0
  60. package/dist/models/Inventory.d.ts +24 -2
  61. package/dist/models/Inventory.js +17 -4
  62. package/dist/models/OsInfo.d.ts +12 -0
  63. package/dist/models/OsInfo.js +10 -1
  64. package/dist/models/Product.d.ts +66 -0
  65. package/dist/models/Product.js +68 -0
  66. package/dist/models/RDMBacking.d.ts +30 -0
  67. package/dist/models/RDMBacking.js +48 -0
  68. package/dist/models/UpdateInventory.d.ts +2 -2
  69. package/dist/models/UpdateInventory.js +3 -3
  70. package/dist/models/VirtualMachineDatastore.d.ts +66 -0
  71. package/dist/models/VirtualMachineDatastore.js +66 -0
  72. package/dist/models/VirtualMachineDetail.d.ts +18 -0
  73. package/dist/models/VirtualMachineDetail.js +12 -0
  74. package/dist/models/VirtualMachineDisk.d.ts +10 -0
  75. package/dist/models/VirtualMachineDisk.js +6 -0
  76. package/dist/models/VirtualMachineNIC.d.ts +16 -0
  77. package/dist/models/VirtualMachineNIC.js +8 -0
  78. package/dist/models/index.d.ts +7 -1
  79. package/dist/models/index.js +7 -1
  80. package/docs/ApplicationOverview.md +8 -0
  81. package/docs/CollectedInventory.md +34 -0
  82. package/docs/Datastore.md +6 -0
  83. package/docs/GroupResponse.md +1 -1
  84. package/docs/Host.md +4 -0
  85. package/docs/HostPhysicalNIC.md +36 -0
  86. package/docs/HostStorageAdapter.md +49 -0
  87. package/docs/HostStorageLun.md +45 -0
  88. package/docs/InventoriesApi.md +4 -4
  89. package/docs/Inventory.md +12 -2
  90. package/docs/OsInfo.md +2 -0
  91. package/docs/Product.md +52 -0
  92. package/docs/{Inventory1.md → RDMBacking.md} +7 -14
  93. package/docs/UpdateInventory.md +1 -1
  94. package/docs/VirtualMachineDatastore.md +53 -0
  95. package/docs/VirtualMachineDetail.md +8 -0
  96. package/docs/VirtualMachineDisk.md +4 -0
  97. package/docs/VirtualMachineNIC.md +8 -0
  98. package/package.json +1 -1
  99. package/src/apis/InventoriesApi.ts +14 -14
  100. package/src/models/ApplicationOverview.ts +26 -0
  101. package/src/models/CollectedInventory.ts +72 -0
  102. package/src/models/Datastore.ts +20 -2
  103. package/src/models/GroupResponse.ts +9 -9
  104. package/src/models/Host.ts +27 -0
  105. package/src/models/HostPhysicalNIC.ts +70 -0
  106. package/src/models/HostStorageAdapter.ts +105 -0
  107. package/src/models/HostStorageLun.ts +93 -0
  108. package/src/models/Inventory.ts +42 -11
  109. package/src/models/OsInfo.ts +15 -0
  110. package/src/models/Product.ts +118 -0
  111. package/src/models/RDMBacking.ts +63 -0
  112. package/src/models/UpdateInventory.ts +9 -9
  113. package/src/models/VirtualMachineDatastore.ts +117 -0
  114. package/src/models/VirtualMachineDetail.ts +39 -0
  115. package/src/models/VirtualMachineDisk.ts +27 -0
  116. package/src/models/VirtualMachineNIC.ts +24 -0
  117. package/src/models/index.ts +7 -1
  118. package/dist/esm/models/Inventory1.d.ts +0 -49
  119. package/dist/esm/models/Inventory1.js +0 -55
  120. package/dist/models/Inventory1.d.ts +0 -49
  121. package/dist/models/Inventory1.js +0 -62
  122. package/src/models/Inventory1.ts +0 -97
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v2
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfProduct = instanceOfProduct;
17
+ exports.ProductFromJSON = ProductFromJSON;
18
+ exports.ProductFromJSONTyped = ProductFromJSONTyped;
19
+ exports.ProductToJSON = ProductToJSON;
20
+ exports.ProductToJSONTyped = ProductToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Product interface.
23
+ */
24
+ function instanceOfProduct(value) {
25
+ if (!('key' in value) || value['key'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function ProductFromJSON(json) {
30
+ return ProductFromJSONTyped(json, false);
31
+ }
32
+ function ProductFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'key': json['key'],
38
+ 'classId': json['classId'] == null ? undefined : json['classId'],
39
+ 'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
40
+ 'name': json['name'] == null ? undefined : json['name'],
41
+ 'vendor': json['vendor'] == null ? undefined : json['vendor'],
42
+ 'version': json['version'] == null ? undefined : json['version'],
43
+ 'fullVersion': json['fullVersion'] == null ? undefined : json['fullVersion'],
44
+ 'vendorUrl': json['vendorUrl'] == null ? undefined : json['vendorUrl'],
45
+ 'productUrl': json['productUrl'] == null ? undefined : json['productUrl'],
46
+ 'appUrl': json['appUrl'] == null ? undefined : json['appUrl'],
47
+ };
48
+ }
49
+ function ProductToJSON(json) {
50
+ return ProductToJSONTyped(json, false);
51
+ }
52
+ function ProductToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'key': value['key'],
58
+ 'classId': value['classId'],
59
+ 'instanceId': value['instanceId'],
60
+ 'name': value['name'],
61
+ 'vendor': value['vendor'],
62
+ 'version': value['version'],
63
+ 'fullVersion': value['fullVersion'],
64
+ 'vendorUrl': value['vendorUrl'],
65
+ 'productUrl': value['productUrl'],
66
+ 'appUrl': value['appUrl'],
67
+ };
68
+ }
@@ -0,0 +1,30 @@
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
+ /**
13
+ * Source-provided backing identity for an RDM disk; omitted when unavailable
14
+ * @export
15
+ * @interface RDMBacking
16
+ */
17
+ export interface RDMBacking {
18
+ /**
19
+ * LUN UUID reported directly by the RDM disk backing, when available
20
+ */
21
+ lunUuid?: string;
22
+ }
23
+ /**
24
+ * Check if a given object implements the RDMBacking interface.
25
+ */
26
+ export declare function instanceOfRDMBacking(value: object): value is RDMBacking;
27
+ export declare function RDMBackingFromJSON(json: any): RDMBacking;
28
+ export declare function RDMBackingFromJSONTyped(json: any, ignoreDiscriminator: boolean): RDMBacking;
29
+ export declare function RDMBackingToJSON(json: any): RDMBacking;
30
+ export declare function RDMBackingToJSONTyped(value?: RDMBacking | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v2
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRDMBacking = instanceOfRDMBacking;
17
+ exports.RDMBackingFromJSON = RDMBackingFromJSON;
18
+ exports.RDMBackingFromJSONTyped = RDMBackingFromJSONTyped;
19
+ exports.RDMBackingToJSON = RDMBackingToJSON;
20
+ exports.RDMBackingToJSONTyped = RDMBackingToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RDMBacking interface.
23
+ */
24
+ function instanceOfRDMBacking(value) {
25
+ return true;
26
+ }
27
+ function RDMBackingFromJSON(json) {
28
+ return RDMBackingFromJSONTyped(json, false);
29
+ }
30
+ function RDMBackingFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
36
+ };
37
+ }
38
+ function RDMBackingToJSON(json) {
39
+ return RDMBackingToJSONTyped(json, false);
40
+ }
41
+ function RDMBackingToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'lunUuid': value['lunUuid'],
47
+ };
48
+ }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Inventory1 } from './Inventory1.js';
12
+ import type { Inventory } from './Inventory.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -23,7 +23,7 @@ export interface UpdateInventory {
23
23
  /**
24
24
  *
25
25
  */
26
- inventory: Inventory1;
26
+ inventory: Inventory;
27
27
  }
28
28
  /**
29
29
  * Check if a given object implements the UpdateInventory interface.
@@ -18,7 +18,7 @@ exports.UpdateInventoryFromJSON = UpdateInventoryFromJSON;
18
18
  exports.UpdateInventoryFromJSONTyped = UpdateInventoryFromJSONTyped;
19
19
  exports.UpdateInventoryToJSON = UpdateInventoryToJSON;
20
20
  exports.UpdateInventoryToJSONTyped = UpdateInventoryToJSONTyped;
21
- const Inventory1_js_1 = require("./Inventory1.js");
21
+ const Inventory_js_1 = require("./Inventory.js");
22
22
  /**
23
23
  * Check if a given object implements the UpdateInventory interface.
24
24
  */
@@ -38,7 +38,7 @@ function UpdateInventoryFromJSONTyped(json, ignoreDiscriminator) {
38
38
  }
39
39
  return {
40
40
  'agentId': json['agentId'],
41
- 'inventory': (0, Inventory1_js_1.Inventory1FromJSON)(json['inventory']),
41
+ 'inventory': (0, Inventory_js_1.InventoryFromJSON)(json['inventory']),
42
42
  };
43
43
  }
44
44
  function UpdateInventoryToJSON(json) {
@@ -50,6 +50,6 @@ function UpdateInventoryToJSONTyped(value, ignoreDiscriminator = false) {
50
50
  }
51
51
  return {
52
52
  'agentId': value['agentId'],
53
- 'inventory': (0, Inventory1_js_1.Inventory1ToJSON)(value['inventory']),
53
+ 'inventory': (0, Inventory_js_1.InventoryToJSON)(value['inventory']),
54
54
  };
55
55
  }
@@ -0,0 +1,66 @@
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
+ /**
13
+ * Datastore backing this virtual disk
14
+ * @export
15
+ * @interface VirtualMachineDatastore
16
+ */
17
+ export interface VirtualMachineDatastore {
18
+ /**
19
+ * Datastore object ID
20
+ */
21
+ id?: string;
22
+ /**
23
+ * Datastore name
24
+ */
25
+ name?: string;
26
+ /**
27
+ * Datastore type (VMFS, NFS, vSAN, vVol)
28
+ */
29
+ type?: string;
30
+ /**
31
+ * Datastore filesystem type
32
+ */
33
+ filesystemType?: string;
34
+ /**
35
+ * Datastore filesystem major version when available
36
+ */
37
+ filesystemMajorVersion?: number;
38
+ /**
39
+ * Backing storage transport protocol when available (for example FC, iSCSI, or NFS)
40
+ */
41
+ protocolType?: string;
42
+ /**
43
+ * Datastore storage access category when available (Block, File, or Object)
44
+ */
45
+ storageProtocol?: string;
46
+ /**
47
+ * Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
48
+ */
49
+ backingDeviceIds?: Array<string>;
50
+ /**
51
+ * Vendor reported by matching backing devices when available
52
+ */
53
+ vendor?: string;
54
+ /**
55
+ * Model reported by matching backing devices when available
56
+ */
57
+ model?: string;
58
+ }
59
+ /**
60
+ * Check if a given object implements the VirtualMachineDatastore interface.
61
+ */
62
+ export declare function instanceOfVirtualMachineDatastore(value: object): value is VirtualMachineDatastore;
63
+ export declare function VirtualMachineDatastoreFromJSON(json: any): VirtualMachineDatastore;
64
+ export declare function VirtualMachineDatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineDatastore;
65
+ export declare function VirtualMachineDatastoreToJSON(json: any): VirtualMachineDatastore;
66
+ export declare function VirtualMachineDatastoreToJSONTyped(value?: VirtualMachineDatastore | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Assisted Migration Agent API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v2
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfVirtualMachineDatastore = instanceOfVirtualMachineDatastore;
17
+ exports.VirtualMachineDatastoreFromJSON = VirtualMachineDatastoreFromJSON;
18
+ exports.VirtualMachineDatastoreFromJSONTyped = VirtualMachineDatastoreFromJSONTyped;
19
+ exports.VirtualMachineDatastoreToJSON = VirtualMachineDatastoreToJSON;
20
+ exports.VirtualMachineDatastoreToJSONTyped = VirtualMachineDatastoreToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VirtualMachineDatastore interface.
23
+ */
24
+ function instanceOfVirtualMachineDatastore(value) {
25
+ return true;
26
+ }
27
+ function VirtualMachineDatastoreFromJSON(json) {
28
+ return VirtualMachineDatastoreFromJSONTyped(json, false);
29
+ }
30
+ function VirtualMachineDatastoreFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'] == null ? undefined : json['id'],
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'type': json['type'] == null ? undefined : json['type'],
38
+ 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
39
+ 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
40
+ 'protocolType': json['protocolType'] == null ? undefined : json['protocolType'],
41
+ 'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
42
+ 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
43
+ 'vendor': json['vendor'] == null ? undefined : json['vendor'],
44
+ 'model': json['model'] == null ? undefined : json['model'],
45
+ };
46
+ }
47
+ function VirtualMachineDatastoreToJSON(json) {
48
+ return VirtualMachineDatastoreToJSONTyped(json, false);
49
+ }
50
+ function VirtualMachineDatastoreToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'id': value['id'],
56
+ 'name': value['name'],
57
+ 'type': value['type'],
58
+ 'filesystemType': value['filesystemType'],
59
+ 'filesystemMajorVersion': value['filesystemMajorVersion'],
60
+ 'protocolType': value['protocolType'],
61
+ 'storageProtocol': value['storageProtocol'],
62
+ 'backingDeviceIds': value['backingDeviceIds'],
63
+ 'vendor': value['vendor'],
64
+ 'model': value['model'],
65
+ };
66
+ }
@@ -14,6 +14,8 @@ import type { InspectionStatus } from './InspectionStatus.js';
14
14
  import type { GuestNetwork } from './GuestNetwork.js';
15
15
  import type { VirtualMachineIssue } from './VirtualMachineIssue.js';
16
16
  import type { VirtualMachineDevice } from './VirtualMachineDevice.js';
17
+ import type { HostPhysicalNIC } from './HostPhysicalNIC.js';
18
+ import type { Product } from './Product.js';
17
19
  import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
18
20
  import type { Process } from './Process.js';
19
21
  import type { VirtualMachineDisk } from './VirtualMachineDisk.js';
@@ -32,6 +34,10 @@ export interface VirtualMachineDetail {
32
34
  * Display name of the VirtualMachine
33
35
  */
34
36
  name: string;
37
+ /**
38
+ * Free-text notes/description for the VirtualMachine in vSphere
39
+ */
40
+ annotation?: string;
35
41
  /**
36
42
  * Identifier of the vCenter this VirtualMachine belongs to
37
43
  */
@@ -150,6 +156,14 @@ export interface VirtualMachineDetail {
150
156
  *
151
157
  */
152
158
  disks: Array<VirtualMachineDisk>;
159
+ /**
160
+ * Physical NICs reported on the VM's host. An empty array means no records were retained.
161
+ */
162
+ hostPhysicalNics?: Array<HostPhysicalNIC>;
163
+ /**
164
+ * Adapter count reported by the source; 0 when unavailable
165
+ */
166
+ nicCount: number;
153
167
  /**
154
168
  *
155
169
  */
@@ -178,6 +192,10 @@ export interface VirtualMachineDetail {
178
192
  * List of processes detected on this VM
179
193
  */
180
194
  processes?: Array<Process>;
195
+ /**
196
+ * Products configured in the VM's vApp settings
197
+ */
198
+ products?: Array<Product>;
181
199
  }
182
200
  /**
183
201
  * Check if a given object implements the VirtualMachineDetail interface.
@@ -23,6 +23,8 @@ const InspectionStatus_js_1 = require("./InspectionStatus.js");
23
23
  const GuestNetwork_js_1 = require("./GuestNetwork.js");
24
24
  const VirtualMachineIssue_js_1 = require("./VirtualMachineIssue.js");
25
25
  const VirtualMachineDevice_js_1 = require("./VirtualMachineDevice.js");
26
+ const HostPhysicalNIC_js_1 = require("./HostPhysicalNIC.js");
27
+ const Product_js_1 = require("./Product.js");
26
28
  const VmUtilizationDetails_js_1 = require("./VmUtilizationDetails.js");
27
29
  const Process_js_1 = require("./Process.js");
28
30
  const VirtualMachineDisk_js_1 = require("./VirtualMachineDisk.js");
@@ -49,6 +51,8 @@ function instanceOfVirtualMachineDetail(value) {
49
51
  return false;
50
52
  if (!('disks' in value) || value['disks'] === undefined)
51
53
  return false;
54
+ if (!('nicCount' in value) || value['nicCount'] === undefined)
55
+ return false;
52
56
  if (!('nics' in value) || value['nics'] === undefined)
53
57
  return false;
54
58
  return true;
@@ -63,6 +67,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
63
67
  return {
64
68
  'id': json['id'],
65
69
  'name': json['name'],
70
+ 'annotation': json['annotation'] == null ? undefined : json['annotation'],
66
71
  'vCenterID': json['vCenterID'],
67
72
  'uuid': json['uuid'] == null ? undefined : json['uuid'],
68
73
  'firmware': json['firmware'] == null ? undefined : json['firmware'],
@@ -92,6 +97,8 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
92
97
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
93
98
  'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
94
99
  'disks': (json['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskFromJSON)),
100
+ 'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : (json['hostPhysicalNics'].map(HostPhysicalNIC_js_1.HostPhysicalNICFromJSON)),
101
+ 'nicCount': json['nicCount'],
95
102
  'nics': (json['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICFromJSON)),
96
103
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceFromJSON)),
97
104
  'guestNetworks': json['guestNetworks'] == null ? undefined : (json['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkFromJSON)),
@@ -99,6 +106,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
99
106
  'inspection': json['inspection'] == null ? undefined : (0, VirtualMachineInspectionResults_js_1.VirtualMachineInspectionResultsFromJSON)(json['inspection']),
100
107
  'utilization': json['utilization'] == null ? undefined : (0, VmUtilizationDetails_js_1.VmUtilizationDetailsFromJSON)(json['utilization']),
101
108
  'processes': json['processes'] == null ? undefined : (json['processes'].map(Process_js_1.ProcessFromJSON)),
109
+ 'products': json['products'] == null ? undefined : (json['products'].map(Product_js_1.ProductFromJSON)),
102
110
  };
103
111
  }
104
112
  function VirtualMachineDetailToJSON(json) {
@@ -111,6 +119,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
111
119
  return {
112
120
  'id': value['id'],
113
121
  'name': value['name'],
122
+ 'annotation': value['annotation'],
114
123
  'vCenterID': value['vCenterID'],
115
124
  'uuid': value['uuid'],
116
125
  'firmware': value['firmware'],
@@ -139,6 +148,8 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
139
148
  'toolsStatus': value['toolsStatus'],
140
149
  'toolsRunningStatus': value['toolsRunningStatus'],
141
150
  'disks': (value['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskToJSON)),
151
+ 'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : (value['hostPhysicalNics'].map(HostPhysicalNIC_js_1.HostPhysicalNICToJSON)),
152
+ 'nicCount': value['nicCount'],
142
153
  'nics': (value['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICToJSON)),
143
154
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceToJSON)),
144
155
  'guestNetworks': value['guestNetworks'] == null ? undefined : (value['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkToJSON)),
@@ -146,5 +157,6 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
146
157
  'inspection': (0, VirtualMachineInspectionResults_js_1.VirtualMachineInspectionResultsToJSON)(value['inspection']),
147
158
  'utilization': (0, VmUtilizationDetails_js_1.VmUtilizationDetailsToJSON)(value['utilization']),
148
159
  'processes': value['processes'] == null ? undefined : (value['processes'].map(Process_js_1.ProcessToJSON)),
160
+ 'products': value['products'] == null ? undefined : (value['products'].map(Product_js_1.ProductToJSON)),
149
161
  };
150
162
  }
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { RDMBacking } from './RDMBacking.js';
13
+ import type { VirtualMachineDatastore } from './VirtualMachineDatastore.js';
12
14
  /**
13
15
  *
14
16
  * @export
@@ -35,6 +37,10 @@ export interface VirtualMachineDisk {
35
37
  * Whether this is a Raw Device Mapping
36
38
  */
37
39
  rdm?: boolean;
40
+ /**
41
+ *
42
+ */
43
+ rdmBacking?: RDMBacking;
38
44
  /**
39
45
  * Bus type (scsi, ide, sata, nvme)
40
46
  */
@@ -43,6 +49,10 @@ export interface VirtualMachineDisk {
43
49
  * Disk mode (persistent, independent_persistent, independent_nonpersistent)
44
50
  */
45
51
  mode?: string;
52
+ /**
53
+ *
54
+ */
55
+ datastore?: VirtualMachineDatastore;
46
56
  }
47
57
  /**
48
58
  * Check if a given object implements the VirtualMachineDisk interface.
@@ -18,6 +18,8 @@ exports.VirtualMachineDiskFromJSON = VirtualMachineDiskFromJSON;
18
18
  exports.VirtualMachineDiskFromJSONTyped = VirtualMachineDiskFromJSONTyped;
19
19
  exports.VirtualMachineDiskToJSON = VirtualMachineDiskToJSON;
20
20
  exports.VirtualMachineDiskToJSONTyped = VirtualMachineDiskToJSONTyped;
21
+ const RDMBacking_js_1 = require("./RDMBacking.js");
22
+ const VirtualMachineDatastore_js_1 = require("./VirtualMachineDatastore.js");
21
23
  /**
22
24
  * Check if a given object implements the VirtualMachineDisk interface.
23
25
  */
@@ -37,8 +39,10 @@ function VirtualMachineDiskFromJSONTyped(json, ignoreDiscriminator) {
37
39
  'capacity': json['capacity'] == null ? undefined : json['capacity'],
38
40
  'shared': json['shared'] == null ? undefined : json['shared'],
39
41
  'rdm': json['rdm'] == null ? undefined : json['rdm'],
42
+ 'rdmBacking': json['rdmBacking'] == null ? undefined : (0, RDMBacking_js_1.RDMBackingFromJSON)(json['rdmBacking']),
40
43
  'bus': json['bus'] == null ? undefined : json['bus'],
41
44
  'mode': json['mode'] == null ? undefined : json['mode'],
45
+ 'datastore': json['datastore'] == null ? undefined : (0, VirtualMachineDatastore_js_1.VirtualMachineDatastoreFromJSON)(json['datastore']),
42
46
  };
43
47
  }
44
48
  function VirtualMachineDiskToJSON(json) {
@@ -54,7 +58,9 @@ function VirtualMachineDiskToJSONTyped(value, ignoreDiscriminator = false) {
54
58
  'capacity': value['capacity'],
55
59
  'shared': value['shared'],
56
60
  'rdm': value['rdm'],
61
+ 'rdmBacking': (0, RDMBacking_js_1.RDMBackingToJSON)(value['rdmBacking']),
57
62
  'bus': value['bus'],
58
63
  'mode': value['mode'],
64
+ 'datastore': (0, VirtualMachineDatastore_js_1.VirtualMachineDatastoreToJSON)(value['datastore']),
59
65
  };
60
66
  }
@@ -15,6 +15,22 @@
15
15
  * @interface VirtualMachineNIC
16
16
  */
17
17
  export interface VirtualMachineNIC {
18
+ /**
19
+ * Virtual adapter model, such as Vmxnet3 or E1000
20
+ */
21
+ adapter?: string;
22
+ /**
23
+ * Port-group VLAN configuration when supplied; empty when unknown.
24
+ */
25
+ vlanId?: string;
26
+ /**
27
+ * IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
28
+ */
29
+ ipv4Addresses?: Array<string>;
30
+ /**
31
+ * IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
32
+ */
33
+ ipv6Addresses?: Array<string>;
18
34
  /**
19
35
  * MAC address
20
36
  */
@@ -32,6 +32,10 @@ function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
+ 'adapter': json['adapter'] == null ? undefined : json['adapter'],
36
+ 'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
37
+ 'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
38
+ 'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
35
39
  'mac': json['mac'] == null ? undefined : json['mac'],
36
40
  'network': json['network'] == null ? undefined : json['network'],
37
41
  'index': json['index'] == null ? undefined : json['index'],
@@ -45,6 +49,10 @@ function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false) {
45
49
  return value;
46
50
  }
47
51
  return {
52
+ 'adapter': value['adapter'],
53
+ 'vlanId': value['vlanId'],
54
+ 'ipv4Addresses': value['ipv4Addresses'],
55
+ 'ipv6Addresses': value['ipv6Addresses'],
48
56
  'mac': value['mac'],
49
57
  'network': value['network'],
50
58
  'index': value['index'],
@@ -10,6 +10,7 @@ export * from './CapabilityStatus.js';
10
10
  export * from './CapabilityStatusCapabilities.js';
11
11
  export * from './ClusterFeatures.js';
12
12
  export * from './ClusterUtilization.js';
13
+ export * from './CollectedInventory.js';
13
14
  export * from './Collection.js';
14
15
  export * from './CollectionAggregate.js';
15
16
  export * from './CollectionComparisonDiff.js';
@@ -37,11 +38,13 @@ export * from './GroupResponse.js';
37
38
  export * from './GuestNetwork.js';
38
39
  export * from './Histogram.js';
39
40
  export * from './Host.js';
41
+ export * from './HostPhysicalNIC.js';
42
+ export * from './HostStorageAdapter.js';
43
+ export * from './HostStorageLun.js';
40
44
  export * from './Infra.js';
41
45
  export * from './InspectionStatus.js';
42
46
  export * from './InspectorStatus.js';
43
47
  export * from './Inventory.js';
44
- export * from './Inventory1.js';
45
48
  export * from './InventoryData.js';
46
49
  export * from './IssuesBreakdown.js';
47
50
  export * from './MigrationIssue.js';
@@ -51,6 +54,8 @@ export * from './OsInfo.js';
51
54
  export * from './PairCapability.js';
52
55
  export * from './PairCapabilityRequest.js';
53
56
  export * from './Process.js';
57
+ export * from './Product.js';
58
+ export * from './RDMBacking.js';
54
59
  export * from './RightsizingClusterResponse.js';
55
60
  export * from './RightsizingClusterUtilization.js';
56
61
  export * from './StartForecasterRequest.js';
@@ -69,6 +74,7 @@ export * from './VcenterCredentials.js';
69
74
  export * from './VddkProperties.js';
70
75
  export * from './VersionInfo.js';
71
76
  export * from './VirtualMachine.js';
77
+ export * from './VirtualMachineDatastore.js';
72
78
  export * from './VirtualMachineDetail.js';
73
79
  export * from './VirtualMachineDevice.js';
74
80
  export * from './VirtualMachineDisk.js';
@@ -28,6 +28,7 @@ __exportStar(require("./CapabilityStatus.js"), exports);
28
28
  __exportStar(require("./CapabilityStatusCapabilities.js"), exports);
29
29
  __exportStar(require("./ClusterFeatures.js"), exports);
30
30
  __exportStar(require("./ClusterUtilization.js"), exports);
31
+ __exportStar(require("./CollectedInventory.js"), exports);
31
32
  __exportStar(require("./Collection.js"), exports);
32
33
  __exportStar(require("./CollectionAggregate.js"), exports);
33
34
  __exportStar(require("./CollectionComparisonDiff.js"), exports);
@@ -55,11 +56,13 @@ __exportStar(require("./GroupResponse.js"), exports);
55
56
  __exportStar(require("./GuestNetwork.js"), exports);
56
57
  __exportStar(require("./Histogram.js"), exports);
57
58
  __exportStar(require("./Host.js"), exports);
59
+ __exportStar(require("./HostPhysicalNIC.js"), exports);
60
+ __exportStar(require("./HostStorageAdapter.js"), exports);
61
+ __exportStar(require("./HostStorageLun.js"), exports);
58
62
  __exportStar(require("./Infra.js"), exports);
59
63
  __exportStar(require("./InspectionStatus.js"), exports);
60
64
  __exportStar(require("./InspectorStatus.js"), exports);
61
65
  __exportStar(require("./Inventory.js"), exports);
62
- __exportStar(require("./Inventory1.js"), exports);
63
66
  __exportStar(require("./InventoryData.js"), exports);
64
67
  __exportStar(require("./IssuesBreakdown.js"), exports);
65
68
  __exportStar(require("./MigrationIssue.js"), exports);
@@ -69,6 +72,8 @@ __exportStar(require("./OsInfo.js"), exports);
69
72
  __exportStar(require("./PairCapability.js"), exports);
70
73
  __exportStar(require("./PairCapabilityRequest.js"), exports);
71
74
  __exportStar(require("./Process.js"), exports);
75
+ __exportStar(require("./Product.js"), exports);
76
+ __exportStar(require("./RDMBacking.js"), exports);
72
77
  __exportStar(require("./RightsizingClusterResponse.js"), exports);
73
78
  __exportStar(require("./RightsizingClusterUtilization.js"), exports);
74
79
  __exportStar(require("./StartForecasterRequest.js"), exports);
@@ -87,6 +92,7 @@ __exportStar(require("./VcenterCredentials.js"), exports);
87
92
  __exportStar(require("./VddkProperties.js"), exports);
88
93
  __exportStar(require("./VersionInfo.js"), exports);
89
94
  __exportStar(require("./VirtualMachine.js"), exports);
95
+ __exportStar(require("./VirtualMachineDatastore.js"), exports);
90
96
  __exportStar(require("./VirtualMachineDetail.js"), exports);
91
97
  __exportStar(require("./VirtualMachineDevice.js"), exports);
92
98
  __exportStar(require("./VirtualMachineDisk.js"), exports);
@@ -8,6 +8,10 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `name` | string
10
10
  `description` | string
11
+ `vendor` | string
12
+ `category` | string
13
+ `confidence` | number
14
+ `containerizationCandidate` | boolean
11
15
  `vmCount` | number
12
16
  `vms` | [Array&lt;ApplicationVM&gt;](ApplicationVM.md)
13
17
 
@@ -20,6 +24,10 @@ import type { ApplicationOverview } from '@openshift-migration-advisor/agent-sdk
20
24
  const example = {
21
25
  "name": null,
22
26
  "description": null,
27
+ "vendor": null,
28
+ "category": null,
29
+ "confidence": null,
30
+ "containerizationCandidate": null,
23
31
  "vmCount": null,
24
32
  "vms": null,
25
33
  } satisfies ApplicationOverview