@openshift-migration-advisor/agent-sdk 0.31.0 → 0.32.0-41b526ed8c91

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 (103) hide show
  1. package/.openapi-generator/FILES +10 -2
  2. package/README.md +7 -4
  3. package/dist/apis/CollectorApi.d.ts +0 -38
  4. package/dist/apis/CollectorApi.js +0 -59
  5. package/dist/apis/InventoriesApi.d.ts +9 -9
  6. package/dist/apis/InventoriesApi.js +3 -3
  7. package/dist/esm/apis/CollectorApi.d.ts +0 -38
  8. package/dist/esm/apis/CollectorApi.js +0 -59
  9. package/dist/esm/apis/InventoriesApi.d.ts +9 -9
  10. package/dist/esm/apis/InventoriesApi.js +3 -3
  11. package/dist/esm/models/ApplicationOverview.d.ts +16 -0
  12. package/dist/esm/models/ApplicationOverview.js +12 -0
  13. package/dist/esm/models/CollectedInventory.d.ts +31 -0
  14. package/dist/esm/models/CollectedInventory.js +44 -0
  15. package/dist/esm/models/GroupResponse.d.ts +2 -2
  16. package/dist/esm/models/GroupResponse.js +3 -3
  17. package/dist/esm/models/Host.d.ts +10 -0
  18. package/dist/esm/models/Host.js +6 -0
  19. package/dist/esm/models/HostPhysicalNIC.d.ts +34 -0
  20. package/dist/esm/models/HostPhysicalNIC.js +45 -0
  21. package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
  22. package/dist/esm/models/HostStorageAdapter.js +55 -0
  23. package/dist/esm/models/HostStorageLun.d.ts +50 -0
  24. package/dist/esm/models/HostStorageLun.js +51 -0
  25. package/dist/esm/models/Inventory.d.ts +24 -2
  26. package/dist/esm/models/Inventory.js +17 -4
  27. package/dist/esm/models/OsInfo.d.ts +12 -0
  28. package/dist/esm/models/OsInfo.js +9 -0
  29. package/dist/esm/models/Product.d.ts +66 -0
  30. package/dist/esm/models/Product.js +61 -0
  31. package/dist/esm/models/UpdateInventory.d.ts +2 -2
  32. package/dist/esm/models/UpdateInventory.js +3 -3
  33. package/dist/esm/models/VirtualMachineDetail.d.ts +14 -0
  34. package/dist/esm/models/VirtualMachineDetail.js +8 -0
  35. package/dist/esm/models/VirtualMachineNIC.d.ts +12 -0
  36. package/dist/esm/models/VirtualMachineNIC.js +6 -0
  37. package/dist/esm/models/index.d.ts +5 -1
  38. package/dist/esm/models/index.js +5 -1
  39. package/dist/models/ApplicationOverview.d.ts +16 -0
  40. package/dist/models/ApplicationOverview.js +12 -0
  41. package/dist/models/CollectedInventory.d.ts +31 -0
  42. package/dist/models/CollectedInventory.js +51 -0
  43. package/dist/models/GroupResponse.d.ts +2 -2
  44. package/dist/models/GroupResponse.js +3 -3
  45. package/dist/models/Host.d.ts +10 -0
  46. package/dist/models/Host.js +6 -0
  47. package/dist/models/HostPhysicalNIC.d.ts +34 -0
  48. package/dist/models/HostPhysicalNIC.js +52 -0
  49. package/dist/models/HostStorageAdapter.d.ts +58 -0
  50. package/dist/models/HostStorageAdapter.js +62 -0
  51. package/dist/models/HostStorageLun.d.ts +50 -0
  52. package/dist/models/HostStorageLun.js +58 -0
  53. package/dist/models/Inventory.d.ts +24 -2
  54. package/dist/models/Inventory.js +17 -4
  55. package/dist/models/OsInfo.d.ts +12 -0
  56. package/dist/models/OsInfo.js +10 -1
  57. package/dist/models/Product.d.ts +66 -0
  58. package/dist/models/Product.js +68 -0
  59. package/dist/models/UpdateInventory.d.ts +2 -2
  60. package/dist/models/UpdateInventory.js +3 -3
  61. package/dist/models/VirtualMachineDetail.d.ts +14 -0
  62. package/dist/models/VirtualMachineDetail.js +8 -0
  63. package/dist/models/VirtualMachineNIC.d.ts +12 -0
  64. package/dist/models/VirtualMachineNIC.js +6 -0
  65. package/dist/models/index.d.ts +5 -1
  66. package/dist/models/index.js +5 -1
  67. package/docs/ApplicationOverview.md +8 -0
  68. package/docs/{Inventory1.md → CollectedInventory.md} +6 -16
  69. package/docs/CollectorApi.md +0 -70
  70. package/docs/GroupResponse.md +1 -1
  71. package/docs/Host.md +4 -0
  72. package/docs/HostPhysicalNIC.md +36 -0
  73. package/docs/HostStorageAdapter.md +49 -0
  74. package/docs/HostStorageLun.md +45 -0
  75. package/docs/InventoriesApi.md +4 -4
  76. package/docs/Inventory.md +12 -2
  77. package/docs/OsInfo.md +2 -0
  78. package/docs/Product.md +52 -0
  79. package/docs/UpdateInventory.md +1 -1
  80. package/docs/VirtualMachineDetail.md +6 -0
  81. package/docs/VirtualMachineNIC.md +6 -0
  82. package/package.json +1 -1
  83. package/src/apis/CollectorApi.ts +0 -97
  84. package/src/apis/InventoriesApi.ts +14 -14
  85. package/src/models/ApplicationOverview.ts +26 -0
  86. package/src/models/CollectedInventory.ts +72 -0
  87. package/src/models/GroupResponse.ts +9 -9
  88. package/src/models/Host.ts +27 -0
  89. package/src/models/HostPhysicalNIC.ts +70 -0
  90. package/src/models/HostStorageAdapter.ts +105 -0
  91. package/src/models/HostStorageLun.ts +93 -0
  92. package/src/models/Inventory.ts +42 -11
  93. package/src/models/OsInfo.ts +15 -0
  94. package/src/models/Product.ts +118 -0
  95. package/src/models/UpdateInventory.ts +9 -9
  96. package/src/models/VirtualMachineDetail.ts +32 -0
  97. package/src/models/VirtualMachineNIC.ts +18 -0
  98. package/src/models/index.ts +5 -1
  99. package/dist/esm/models/Inventory1.d.ts +0 -53
  100. package/dist/esm/models/Inventory1.js +0 -57
  101. package/dist/models/Inventory1.d.ts +0 -53
  102. package/dist/models/Inventory1.js +0 -64
  103. package/src/models/Inventory1.ts +0 -103
@@ -19,6 +19,18 @@ export interface VirtualMachineNIC {
19
19
  * Virtual adapter model, such as Vmxnet3 or E1000
20
20
  */
21
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>;
22
34
  /**
23
35
  * MAC address
24
36
  */
@@ -33,6 +33,9 @@ function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
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'],
36
39
  'mac': json['mac'] == null ? undefined : json['mac'],
37
40
  'network': json['network'] == null ? undefined : json['network'],
38
41
  'index': json['index'] == null ? undefined : json['index'],
@@ -47,6 +50,9 @@ function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false) {
47
50
  }
48
51
  return {
49
52
  'adapter': value['adapter'],
53
+ 'vlanId': value['vlanId'],
54
+ 'ipv4Addresses': value['ipv4Addresses'],
55
+ 'ipv6Addresses': value['ipv6Addresses'],
50
56
  'mac': value['mac'],
51
57
  'network': value['network'],
52
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,7 @@ 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';
54
58
  export * from './RDMBacking.js';
55
59
  export * from './RightsizingClusterResponse.js';
56
60
  export * from './RightsizingClusterUtilization.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,7 @@ __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);
72
76
  __exportStar(require("./RDMBacking.js"), exports);
73
77
  __exportStar(require("./RightsizingClusterResponse.js"), exports);
74
78
  __exportStar(require("./RightsizingClusterUtilization.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
@@ -1,32 +1,22 @@
1
1
 
2
- # Inventory1
2
+ # CollectedInventory
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `vcenter_id` | string
10
- `vcenter_version` | string
11
- `clusters` | [{ [key: string]: InventoryData; }](InventoryData.md)
12
- `vcenter` | [InventoryData](InventoryData.md)
13
- `created_at` | Date
14
- `collection_time` | Date
9
+ `inventory` | [UpdateInventory](UpdateInventory.md)
15
10
 
16
11
  ## Example
17
12
 
18
13
  ```typescript
19
- import type { Inventory1 } from '@openshift-migration-advisor/agent-sdk'
14
+ import type { CollectedInventory } from '@openshift-migration-advisor/agent-sdk'
20
15
 
21
16
  // TODO: Update the object below with actual values
22
17
  const example = {
23
- "vcenter_id": null,
24
- "vcenter_version": null,
25
- "clusters": null,
26
- "vcenter": null,
27
- "created_at": null,
28
- "collection_time": null,
29
- } satisfies Inventory1
18
+ "inventory": null,
19
+ } satisfies CollectedInventory
30
20
 
31
21
  console.log(example)
32
22
 
@@ -35,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
35
25
  console.log(exampleJSON)
36
26
 
37
27
  // Parse the JSON string back to an object
38
- const exampleParsed = JSON.parse(exampleJSON) as Inventory1
28
+ const exampleParsed = JSON.parse(exampleJSON) as CollectedInventory
39
29
  console.log(exampleParsed)
40
30
  ```
41
31
 
@@ -6,7 +6,6 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
6
6
  |------------- | ------------- | -------------|
7
7
  | [**getCollectorStatus**](CollectorApi.md#getcollectorstatus) | **GET** /collector | Get collector status |
8
8
  | [**startCollector**](CollectorApi.md#startcollector) | **POST** /collector | Start a collection |
9
- | [**startRvtoolsCollector**](CollectorApi.md#startrvtoolscollector) | **POST** /collector/rvtools | Start a collection from RVTools files |
10
9
  | [**stopCollector**](CollectorApi.md#stopcollector) | **DELETE** /collector | Stop collector |
11
10
 
12
11
 
@@ -129,75 +128,6 @@ No authorization required
129
128
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
130
129
 
131
130
 
132
- ## startRvtoolsCollector
133
-
134
- > CollectorStatus startRvtoolsCollector(files)
135
-
136
- Start a collection from RVTools files
137
-
138
- ### Example
139
-
140
- ```ts
141
- import {
142
- Configuration,
143
- CollectorApi,
144
- } from '@openshift-migration-advisor/agent-sdk';
145
- import type { StartRvtoolsCollectorRequest } from '@openshift-migration-advisor/agent-sdk';
146
-
147
- async function example() {
148
- console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
149
- const api = new CollectorApi();
150
-
151
- const body = {
152
- // Array<Blob>
153
- files: [new Blob(['example file content'], { type: 'application/octet-stream' })],
154
- } satisfies StartRvtoolsCollectorRequest;
155
-
156
- try {
157
- const data = await api.startRvtoolsCollector(body);
158
- console.log(data);
159
- } catch (error) {
160
- console.error(error);
161
- }
162
- }
163
-
164
- // Run the test
165
- example().catch(console.error);
166
- ```
167
-
168
- ### Parameters
169
-
170
-
171
- | Name | Type | Description | Notes |
172
- |------------- | ------------- | ------------- | -------------|
173
- | **files** | `Array<Blob>` | | |
174
-
175
- ### Return type
176
-
177
- [**CollectorStatus**](CollectorStatus.md)
178
-
179
- ### Authorization
180
-
181
- No authorization required
182
-
183
- ### HTTP request headers
184
-
185
- - **Content-Type**: `multipart/form-data`
186
- - **Accept**: `application/json`
187
-
188
-
189
- ### HTTP response details
190
- | Status code | Description | Response headers |
191
- |-------------|-------------|------------------|
192
- | **202** | Collection started | - |
193
- | **400** | No files provided | - |
194
- | **409** | Collection already in progress | - |
195
- | **500** | Internal server error | - |
196
- | **501** | RVTools mode is not enabled | - |
197
-
198
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
199
-
200
-
201
131
  ## stopCollector
202
132
 
203
133
  > stopCollector()
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `group` | [Group](Group.md)
10
- `inventory` | [Inventory1](Inventory1.md)
10
+ `inventory` | [Inventory](Inventory.md)
11
11
  `vms` | [Array&lt;VirtualMachine&gt;](VirtualMachine.md)
12
12
  `total` | number
13
13
  `page` | number
package/docs/Host.md CHANGED
@@ -14,6 +14,8 @@ Name | Type
14
14
  `memoryMB` | number
15
15
  `vmotionSupported` | boolean
16
16
  `storageVmotionSupported` | boolean
17
+ `storageAdapters` | [Array&lt;HostStorageAdapter&gt;](HostStorageAdapter.md)
18
+ `storageLuns` | [Array&lt;HostStorageLun&gt;](HostStorageLun.md)
17
19
 
18
20
  ## Example
19
21
 
@@ -30,6 +32,8 @@ const example = {
30
32
  "memoryMB": null,
31
33
  "vmotionSupported": null,
32
34
  "storageVmotionSupported": null,
35
+ "storageAdapters": null,
36
+ "storageLuns": null,
33
37
  } satisfies Host
34
38
 
35
39
  console.log(example)
@@ -0,0 +1,36 @@
1
+
2
+ # HostPhysicalNIC
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `linkSpeedMbps` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { HostPhysicalNIC } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "id": null,
20
+ "linkSpeedMbps": null,
21
+ } satisfies HostPhysicalNIC
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as HostPhysicalNIC
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,49 @@
1
+
2
+ # HostStorageAdapter
3
+
4
+ Source-provided adapter facts. Missing or conflicting values are omitted.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `device` | string
11
+ `key` | string
12
+ `type` | string
13
+ `protocol` | string
14
+ `model` | string
15
+ `driver` | string
16
+ `nodeWwn` | string
17
+ `portWwn` | string
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { HostStorageAdapter } from '@openshift-migration-advisor/agent-sdk'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "device": null,
27
+ "key": null,
28
+ "type": null,
29
+ "protocol": null,
30
+ "model": null,
31
+ "driver": null,
32
+ "nodeWwn": null,
33
+ "portWwn": null,
34
+ } satisfies HostStorageAdapter
35
+
36
+ console.log(example)
37
+
38
+ // Convert the instance to a JSON string
39
+ const exampleJSON: string = JSON.stringify(example)
40
+ console.log(exampleJSON)
41
+
42
+ // Parse the JSON string back to an object
43
+ const exampleParsed = JSON.parse(exampleJSON) as HostStorageAdapter
44
+ console.log(exampleParsed)
45
+ ```
46
+
47
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
48
+
49
+
@@ -0,0 +1,45 @@
1
+
2
+ # HostStorageLun
3
+
4
+ A host-visible LUN; missing or conflicting identity/metadata fields are omitted.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `canonicalName` | string
11
+ `key` | string
12
+ `lunUuid` | string
13
+ `vendor` | string
14
+ `model` | string
15
+ `adapterDevices` | Array&lt;string&gt;
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { HostStorageLun } from '@openshift-migration-advisor/agent-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "canonicalName": null,
25
+ "key": null,
26
+ "lunUuid": null,
27
+ "vendor": null,
28
+ "model": null,
29
+ "adapterDevices": null,
30
+ } satisfies HostStorageLun
31
+
32
+ console.log(example)
33
+
34
+ // Convert the instance to a JSON string
35
+ const exampleJSON: string = JSON.stringify(example)
36
+ console.log(exampleJSON)
37
+
38
+ // Parse the JSON string back to an object
39
+ const exampleParsed = JSON.parse(exampleJSON) as HostStorageLun
40
+ console.log(exampleParsed)
41
+ ```
42
+
43
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
44
+
45
+
@@ -11,7 +11,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
11
11
 
12
12
  ## getInventory
13
13
 
14
- > Inventory getInventory(id)
14
+ > CollectedInventory getInventory(id)
15
15
 
16
16
  Get collected inventory for a collection
17
17
 
@@ -54,7 +54,7 @@ example().catch(console.error);
54
54
 
55
55
  ### Return type
56
56
 
57
- [**Inventory**](Inventory.md)
57
+ [**CollectedInventory**](CollectedInventory.md)
58
58
 
59
59
  ### Authorization
60
60
 
@@ -78,7 +78,7 @@ No authorization required
78
78
 
79
79
  ## getLatestInventory
80
80
 
81
- > Inventory getLatestInventory(scope)
81
+ > CollectedInventory getLatestInventory(scope)
82
82
 
83
83
  Get inventory from the latest collection
84
84
 
@@ -121,7 +121,7 @@ example().catch(console.error);
121
121
 
122
122
  ### Return type
123
123
 
124
- [**Inventory**](Inventory.md)
124
+ [**CollectedInventory**](CollectedInventory.md)
125
125
 
126
126
  ### Authorization
127
127
 
package/docs/Inventory.md CHANGED
@@ -6,7 +6,12 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `inventory` | [UpdateInventory](UpdateInventory.md)
9
+ `vcenter_id` | string
10
+ `vcenter_version` | string
11
+ `clusters` | [{ [key: string]: InventoryData; }](InventoryData.md)
12
+ `vcenter` | [InventoryData](InventoryData.md)
13
+ `created_at` | Date
14
+ `collection_time` | Date
10
15
 
11
16
  ## Example
12
17
 
@@ -15,7 +20,12 @@ import type { Inventory } from '@openshift-migration-advisor/agent-sdk'
15
20
 
16
21
  // TODO: Update the object below with actual values
17
22
  const example = {
18
- "inventory": null,
23
+ "vcenter_id": null,
24
+ "vcenter_version": null,
25
+ "clusters": null,
26
+ "vcenter": null,
27
+ "created_at": null,
28
+ "collection_time": null,
19
29
  } satisfies Inventory
20
30
 
21
31
  console.log(example)
package/docs/OsInfo.md CHANGED
@@ -9,6 +9,7 @@ Name | Type
9
9
  `count` | number
10
10
  `supported` | boolean
11
11
  `supportTier` | string
12
+ `mtvStatus` | string
12
13
  `upgradeRecommendation` | string
13
14
 
14
15
  ## Example
@@ -21,6 +22,7 @@ const example = {
21
22
  "count": null,
22
23
  "supported": null,
23
24
  "supportTier": null,
25
+ "mtvStatus": null,
24
26
  "upgradeRecommendation": null,
25
27
  } satisfies OsInfo
26
28
 
@@ -0,0 +1,52 @@
1
+
2
+ # Product
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `key` | number
10
+ `classId` | string
11
+ `instanceId` | string
12
+ `name` | string
13
+ `vendor` | string
14
+ `version` | string
15
+ `fullVersion` | string
16
+ `vendorUrl` | string
17
+ `productUrl` | string
18
+ `appUrl` | string
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { Product } from '@openshift-migration-advisor/agent-sdk'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "key": null,
28
+ "classId": null,
29
+ "instanceId": null,
30
+ "name": null,
31
+ "vendor": null,
32
+ "version": null,
33
+ "fullVersion": null,
34
+ "vendorUrl": null,
35
+ "productUrl": null,
36
+ "appUrl": null,
37
+ } satisfies Product
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as Product
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `agentId` | string
10
- `inventory` | [Inventory1](Inventory1.md)
10
+ `inventory` | [Inventory](Inventory.md)
11
11
 
12
12
  ## Example
13
13
 
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | string
10
10
  `name` | string
11
+ `annotation` | string
11
12
  `vCenterID` | string
12
13
  `uuid` | string
13
14
  `firmware` | string
@@ -37,6 +38,7 @@ Name | Type
37
38
  `toolsStatus` | string
38
39
  `toolsRunningStatus` | string
39
40
  `disks` | [Array&lt;VirtualMachineDisk&gt;](VirtualMachineDisk.md)
41
+ `hostPhysicalNics` | [Array&lt;HostPhysicalNIC&gt;](HostPhysicalNIC.md)
40
42
  `nicCount` | number
41
43
  `nics` | [Array&lt;VirtualMachineNIC&gt;](VirtualMachineNIC.md)
42
44
  `devices` | [Array&lt;VirtualMachineDevice&gt;](VirtualMachineDevice.md)
@@ -45,6 +47,7 @@ Name | Type
45
47
  `inspection` | [VirtualMachineInspectionResults](VirtualMachineInspectionResults.md)
46
48
  `utilization` | [VmUtilizationDetails](VmUtilizationDetails.md)
47
49
  `processes` | [Array&lt;Process&gt;](Process.md)
50
+ `products` | [Array&lt;Product&gt;](Product.md)
48
51
 
49
52
  ## Example
50
53
 
@@ -55,6 +58,7 @@ import type { VirtualMachineDetail } from '@openshift-migration-advisor/agent-sd
55
58
  const example = {
56
59
  "id": null,
57
60
  "name": null,
61
+ "annotation": null,
58
62
  "vCenterID": null,
59
63
  "uuid": null,
60
64
  "firmware": null,
@@ -84,6 +88,7 @@ const example = {
84
88
  "toolsStatus": null,
85
89
  "toolsRunningStatus": null,
86
90
  "disks": null,
91
+ "hostPhysicalNics": null,
87
92
  "nicCount": null,
88
93
  "nics": null,
89
94
  "devices": null,
@@ -92,6 +97,7 @@ const example = {
92
97
  "inspection": null,
93
98
  "utilization": null,
94
99
  "processes": null,
100
+ "products": null,
95
101
  } satisfies VirtualMachineDetail
96
102
 
97
103
  console.log(example)
@@ -7,6 +7,9 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `adapter` | string
10
+ `vlanId` | string
11
+ `ipv4Addresses` | Array&lt;string&gt;
12
+ `ipv6Addresses` | Array&lt;string&gt;
10
13
  `mac` | string
11
14
  `network` | string
12
15
  `index` | number
@@ -19,6 +22,9 @@ import type { VirtualMachineNIC } from '@openshift-migration-advisor/agent-sdk'
19
22
  // TODO: Update the object below with actual values
20
23
  const example = {
21
24
  "adapter": null,
25
+ "vlanId": null,
26
+ "ipv4Addresses": null,
27
+ "ipv6Addresses": null,
22
28
  "mac": null,
23
29
  "network": null,
24
30
  "index": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/agent-sdk",
3
- "version": "0.31.0",
3
+ "version": "0.32.0-41b526ed8c91",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/agent-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {