@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,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
+
@@ -0,0 +1,63 @@
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
+ * Source-provided backing identity for an RDM disk; omitted when unavailable
18
+ * @export
19
+ * @interface RDMBacking
20
+ */
21
+ export interface RDMBacking {
22
+ /**
23
+ * LUN UUID reported directly by the RDM disk backing, when available
24
+ */
25
+ lunUuid?: string;
26
+ }
27
+
28
+ /**
29
+ * Check if a given object implements the RDMBacking interface.
30
+ */
31
+ export function instanceOfRDMBacking(value: object): value is RDMBacking {
32
+ return true;
33
+ }
34
+
35
+ export function RDMBackingFromJSON(json: any): RDMBacking {
36
+ return RDMBackingFromJSONTyped(json, false);
37
+ }
38
+
39
+ export function RDMBackingFromJSONTyped(json: any, ignoreDiscriminator: boolean): RDMBacking {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+
45
+ 'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
46
+ };
47
+ }
48
+
49
+ export function RDMBackingToJSON(json: any): RDMBacking {
50
+ return RDMBackingToJSONTyped(json, false);
51
+ }
52
+
53
+ export function RDMBackingToJSONTyped(value?: RDMBacking | null, ignoreDiscriminator: boolean = false): any {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+
58
+ return {
59
+
60
+ 'lunUuid': value['lunUuid'],
61
+ };
62
+ }
63
+
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
- import type { Inventory1 } from './Inventory1.js';
16
+ import type { Inventory } from './Inventory.js';
17
17
  import {
18
- Inventory1FromJSON,
19
- Inventory1FromJSONTyped,
20
- Inventory1ToJSON,
21
- Inventory1ToJSONTyped,
22
- } from './Inventory1.js';
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: Inventory1;
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': Inventory1FromJSON(json['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': Inventory1ToJSON(value['inventory']),
76
+ 'inventory': InventoryToJSON(value['inventory']),
77
77
  };
78
78
  }
79
79
 
@@ -0,0 +1,117 @@
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
+ * Datastore backing this virtual disk
18
+ * @export
19
+ * @interface VirtualMachineDatastore
20
+ */
21
+ export interface VirtualMachineDatastore {
22
+ /**
23
+ * Datastore object ID
24
+ */
25
+ id?: string;
26
+ /**
27
+ * Datastore name
28
+ */
29
+ name?: string;
30
+ /**
31
+ * Datastore type (VMFS, NFS, vSAN, vVol)
32
+ */
33
+ type?: string;
34
+ /**
35
+ * Datastore filesystem type
36
+ */
37
+ filesystemType?: string;
38
+ /**
39
+ * Datastore filesystem major version when available
40
+ */
41
+ filesystemMajorVersion?: number;
42
+ /**
43
+ * Backing storage transport protocol when available (for example FC, iSCSI, or NFS)
44
+ */
45
+ protocolType?: string;
46
+ /**
47
+ * Datastore storage access category when available (Block, File, or Object)
48
+ */
49
+ storageProtocol?: string;
50
+ /**
51
+ * Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
52
+ */
53
+ backingDeviceIds?: Array<string>;
54
+ /**
55
+ * Vendor reported by matching backing devices when available
56
+ */
57
+ vendor?: string;
58
+ /**
59
+ * Model reported by matching backing devices when available
60
+ */
61
+ model?: string;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the VirtualMachineDatastore interface.
66
+ */
67
+ export function instanceOfVirtualMachineDatastore(value: object): value is VirtualMachineDatastore {
68
+ return true;
69
+ }
70
+
71
+ export function VirtualMachineDatastoreFromJSON(json: any): VirtualMachineDatastore {
72
+ return VirtualMachineDatastoreFromJSONTyped(json, false);
73
+ }
74
+
75
+ export function VirtualMachineDatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineDatastore {
76
+ if (json == null) {
77
+ return json;
78
+ }
79
+ return {
80
+
81
+ 'id': json['id'] == null ? undefined : json['id'],
82
+ 'name': json['name'] == null ? undefined : json['name'],
83
+ 'type': json['type'] == null ? undefined : json['type'],
84
+ 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
85
+ 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
86
+ 'protocolType': json['protocolType'] == null ? undefined : json['protocolType'],
87
+ 'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
88
+ 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
89
+ 'vendor': json['vendor'] == null ? undefined : json['vendor'],
90
+ 'model': json['model'] == null ? undefined : json['model'],
91
+ };
92
+ }
93
+
94
+ export function VirtualMachineDatastoreToJSON(json: any): VirtualMachineDatastore {
95
+ return VirtualMachineDatastoreToJSONTyped(json, false);
96
+ }
97
+
98
+ export function VirtualMachineDatastoreToJSONTyped(value?: VirtualMachineDatastore | null, ignoreDiscriminator: boolean = false): any {
99
+ if (value == null) {
100
+ return value;
101
+ }
102
+
103
+ return {
104
+
105
+ 'id': value['id'],
106
+ 'name': value['name'],
107
+ 'type': value['type'],
108
+ 'filesystemType': value['filesystemType'],
109
+ 'filesystemMajorVersion': value['filesystemMajorVersion'],
110
+ 'protocolType': value['protocolType'],
111
+ 'storageProtocol': value['storageProtocol'],
112
+ 'backingDeviceIds': value['backingDeviceIds'],
113
+ 'vendor': value['vendor'],
114
+ 'model': value['model'],
115
+ };
116
+ }
117
+
@@ -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,14 @@ 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>;
232
+ /**
233
+ * Adapter count reported by the source; 0 when unavailable
234
+ */
235
+ nicCount: number;
210
236
  /**
211
237
  *
212
238
  */
@@ -235,6 +261,10 @@ export interface VirtualMachineDetail {
235
261
  * List of processes detected on this VM
236
262
  */
237
263
  processes?: Array<Process>;
264
+ /**
265
+ * Products configured in the VM's vApp settings
266
+ */
267
+ products?: Array<Product>;
238
268
  }
239
269
 
240
270
  /**
@@ -250,6 +280,7 @@ export function instanceOfVirtualMachineDetail(value: object): value is VirtualM
250
280
  if (!('coresPerSocket' in value) || value['coresPerSocket'] === undefined) return false;
251
281
  if (!('memoryMB' in value) || value['memoryMB'] === undefined) return false;
252
282
  if (!('disks' in value) || value['disks'] === undefined) return false;
283
+ if (!('nicCount' in value) || value['nicCount'] === undefined) return false;
253
284
  if (!('nics' in value) || value['nics'] === undefined) return false;
254
285
  return true;
255
286
  }
@@ -266,6 +297,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
266
297
 
267
298
  'id': json['id'],
268
299
  'name': json['name'],
300
+ 'annotation': json['annotation'] == null ? undefined : json['annotation'],
269
301
  'vCenterID': json['vCenterID'],
270
302
  'uuid': json['uuid'] == null ? undefined : json['uuid'],
271
303
  'firmware': json['firmware'] == null ? undefined : json['firmware'],
@@ -295,6 +327,8 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
295
327
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
296
328
  'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
297
329
  'disks': ((json['disks'] as Array<any>).map(VirtualMachineDiskFromJSON)),
330
+ 'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : ((json['hostPhysicalNics'] as Array<any>).map(HostPhysicalNICFromJSON)),
331
+ 'nicCount': json['nicCount'],
298
332
  'nics': ((json['nics'] as Array<any>).map(VirtualMachineNICFromJSON)),
299
333
  'devices': json['devices'] == null ? undefined : ((json['devices'] as Array<any>).map(VirtualMachineDeviceFromJSON)),
300
334
  'guestNetworks': json['guestNetworks'] == null ? undefined : ((json['guestNetworks'] as Array<any>).map(GuestNetworkFromJSON)),
@@ -302,6 +336,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
302
336
  'inspection': json['inspection'] == null ? undefined : VirtualMachineInspectionResultsFromJSON(json['inspection']),
303
337
  'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
304
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)),
305
340
  };
306
341
  }
307
342
 
@@ -318,6 +353,7 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
318
353
 
319
354
  'id': value['id'],
320
355
  'name': value['name'],
356
+ 'annotation': value['annotation'],
321
357
  'vCenterID': value['vCenterID'],
322
358
  'uuid': value['uuid'],
323
359
  'firmware': value['firmware'],
@@ -346,6 +382,8 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
346
382
  'toolsStatus': value['toolsStatus'],
347
383
  'toolsRunningStatus': value['toolsRunningStatus'],
348
384
  'disks': ((value['disks'] as Array<any>).map(VirtualMachineDiskToJSON)),
385
+ 'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : ((value['hostPhysicalNics'] as Array<any>).map(HostPhysicalNICToJSON)),
386
+ 'nicCount': value['nicCount'],
349
387
  'nics': ((value['nics'] as Array<any>).map(VirtualMachineNICToJSON)),
350
388
  'devices': value['devices'] == null ? undefined : ((value['devices'] as Array<any>).map(VirtualMachineDeviceToJSON)),
351
389
  'guestNetworks': value['guestNetworks'] == null ? undefined : ((value['guestNetworks'] as Array<any>).map(GuestNetworkToJSON)),
@@ -353,6 +391,7 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
353
391
  'inspection': VirtualMachineInspectionResultsToJSON(value['inspection']),
354
392
  'utilization': VmUtilizationDetailsToJSON(value['utilization']),
355
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)),
356
395
  };
357
396
  }
358
397
 
@@ -13,6 +13,21 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
+ import type { RDMBacking } from './RDMBacking.js';
17
+ import {
18
+ RDMBackingFromJSON,
19
+ RDMBackingFromJSONTyped,
20
+ RDMBackingToJSON,
21
+ RDMBackingToJSONTyped,
22
+ } from './RDMBacking.js';
23
+ import type { VirtualMachineDatastore } from './VirtualMachineDatastore.js';
24
+ import {
25
+ VirtualMachineDatastoreFromJSON,
26
+ VirtualMachineDatastoreFromJSONTyped,
27
+ VirtualMachineDatastoreToJSON,
28
+ VirtualMachineDatastoreToJSONTyped,
29
+ } from './VirtualMachineDatastore.js';
30
+
16
31
  /**
17
32
  *
18
33
  * @export
@@ -39,6 +54,10 @@ export interface VirtualMachineDisk {
39
54
  * Whether this is a Raw Device Mapping
40
55
  */
41
56
  rdm?: boolean;
57
+ /**
58
+ *
59
+ */
60
+ rdmBacking?: RDMBacking;
42
61
  /**
43
62
  * Bus type (scsi, ide, sata, nvme)
44
63
  */
@@ -47,6 +66,10 @@ export interface VirtualMachineDisk {
47
66
  * Disk mode (persistent, independent_persistent, independent_nonpersistent)
48
67
  */
49
68
  mode?: string;
69
+ /**
70
+ *
71
+ */
72
+ datastore?: VirtualMachineDatastore;
50
73
  }
51
74
 
52
75
  /**
@@ -71,8 +94,10 @@ export function VirtualMachineDiskFromJSONTyped(json: any, ignoreDiscriminator:
71
94
  'capacity': json['capacity'] == null ? undefined : json['capacity'],
72
95
  'shared': json['shared'] == null ? undefined : json['shared'],
73
96
  'rdm': json['rdm'] == null ? undefined : json['rdm'],
97
+ 'rdmBacking': json['rdmBacking'] == null ? undefined : RDMBackingFromJSON(json['rdmBacking']),
74
98
  'bus': json['bus'] == null ? undefined : json['bus'],
75
99
  'mode': json['mode'] == null ? undefined : json['mode'],
100
+ 'datastore': json['datastore'] == null ? undefined : VirtualMachineDatastoreFromJSON(json['datastore']),
76
101
  };
77
102
  }
78
103
 
@@ -92,8 +117,10 @@ export function VirtualMachineDiskToJSONTyped(value?: VirtualMachineDisk | null,
92
117
  'capacity': value['capacity'],
93
118
  'shared': value['shared'],
94
119
  'rdm': value['rdm'],
120
+ 'rdmBacking': RDMBackingToJSON(value['rdmBacking']),
95
121
  'bus': value['bus'],
96
122
  'mode': value['mode'],
123
+ 'datastore': VirtualMachineDatastoreToJSON(value['datastore']),
97
124
  };
98
125
  }
99
126
 
@@ -19,6 +19,22 @@ import { mapValues } from '../runtime.js';
19
19
  * @interface VirtualMachineNIC
20
20
  */
21
21
  export interface VirtualMachineNIC {
22
+ /**
23
+ * Virtual adapter model, such as Vmxnet3 or E1000
24
+ */
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>;
22
38
  /**
23
39
  * MAC address
24
40
  */
@@ -50,6 +66,10 @@ export function VirtualMachineNICFromJSONTyped(json: any, ignoreDiscriminator: b
50
66
  }
51
67
  return {
52
68
 
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'],
53
73
  'mac': json['mac'] == null ? undefined : json['mac'],
54
74
  'network': json['network'] == null ? undefined : json['network'],
55
75
  'index': json['index'] == null ? undefined : json['index'],
@@ -67,6 +87,10 @@ export function VirtualMachineNICToJSONTyped(value?: VirtualMachineNIC | null, i
67
87
 
68
88
  return {
69
89
 
90
+ 'adapter': value['adapter'],
91
+ 'vlanId': value['vlanId'],
92
+ 'ipv4Addresses': value['ipv4Addresses'],
93
+ 'ipv6Addresses': value['ipv6Addresses'],
70
94
  'mac': value['mac'],
71
95
  'network': value['network'],
72
96
  'index': value['index'],
@@ -12,6 +12,7 @@ export * from './CapabilityStatus.js';
12
12
  export * from './CapabilityStatusCapabilities.js';
13
13
  export * from './ClusterFeatures.js';
14
14
  export * from './ClusterUtilization.js';
15
+ export * from './CollectedInventory.js';
15
16
  export * from './Collection.js';
16
17
  export * from './CollectionAggregate.js';
17
18
  export * from './CollectionComparisonDiff.js';
@@ -39,11 +40,13 @@ export * from './GroupResponse.js';
39
40
  export * from './GuestNetwork.js';
40
41
  export * from './Histogram.js';
41
42
  export * from './Host.js';
43
+ export * from './HostPhysicalNIC.js';
44
+ export * from './HostStorageAdapter.js';
45
+ export * from './HostStorageLun.js';
42
46
  export * from './Infra.js';
43
47
  export * from './InspectionStatus.js';
44
48
  export * from './InspectorStatus.js';
45
49
  export * from './Inventory.js';
46
- export * from './Inventory1.js';
47
50
  export * from './InventoryData.js';
48
51
  export * from './IssuesBreakdown.js';
49
52
  export * from './MigrationIssue.js';
@@ -53,6 +56,8 @@ export * from './OsInfo.js';
53
56
  export * from './PairCapability.js';
54
57
  export * from './PairCapabilityRequest.js';
55
58
  export * from './Process.js';
59
+ export * from './Product.js';
60
+ export * from './RDMBacking.js';
56
61
  export * from './RightsizingClusterResponse.js';
57
62
  export * from './RightsizingClusterUtilization.js';
58
63
  export * from './StartForecasterRequest.js';
@@ -71,6 +76,7 @@ export * from './VcenterCredentials.js';
71
76
  export * from './VddkProperties.js';
72
77
  export * from './VersionInfo.js';
73
78
  export * from './VirtualMachine.js';
79
+ export * from './VirtualMachineDatastore.js';
74
80
  export * from './VirtualMachineDetail.js';
75
81
  export * from './VirtualMachineDevice.js';
76
82
  export * from './VirtualMachineDisk.js';
@@ -1,49 +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 data was created or collected
39
- */
40
- created_at?: Date;
41
- }
42
- /**
43
- * Check if a given object implements the Inventory1 interface.
44
- */
45
- export declare function instanceOfInventory1(value: object): value is Inventory1;
46
- export declare function Inventory1FromJSON(json: any): Inventory1;
47
- export declare function Inventory1FromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory1;
48
- export declare function Inventory1ToJSON(json: any): Inventory1;
49
- export declare function Inventory1ToJSONTyped(value?: Inventory1 | null, ignoreDiscriminator?: boolean): any;