@openshift-migration-advisor/agent-sdk 0.30.0 → 0.31.0-8fbde84d9594

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 (98) hide show
  1. package/.openapi-generator/FILES +10 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +8 -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/CollectedInventory.d.ts +31 -0
  9. package/dist/esm/models/CollectedInventory.js +44 -0
  10. package/dist/esm/models/Datastore.d.ts +14 -2
  11. package/dist/esm/models/Datastore.js +6 -0
  12. package/dist/esm/models/GroupResponse.d.ts +2 -2
  13. package/dist/esm/models/GroupResponse.js +3 -3
  14. package/dist/esm/models/Host.d.ts +10 -0
  15. package/dist/esm/models/Host.js +6 -0
  16. package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
  17. package/dist/esm/models/HostStorageAdapter.js +55 -0
  18. package/dist/esm/models/HostStorageLun.d.ts +50 -0
  19. package/dist/esm/models/HostStorageLun.js +51 -0
  20. package/dist/esm/models/Inventory.d.ts +24 -2
  21. package/dist/esm/models/Inventory.js +17 -4
  22. package/dist/esm/models/RDMBacking.d.ts +30 -0
  23. package/dist/esm/models/RDMBacking.js +41 -0
  24. package/dist/esm/models/UpdateInventory.d.ts +2 -2
  25. package/dist/esm/models/UpdateInventory.js +3 -3
  26. package/dist/esm/models/VirtualMachineDatastore.d.ts +66 -0
  27. package/dist/esm/models/VirtualMachineDatastore.js +59 -0
  28. package/dist/esm/models/VirtualMachineDetail.d.ts +8 -0
  29. package/dist/esm/models/VirtualMachineDetail.js +6 -0
  30. package/dist/esm/models/VirtualMachineDisk.d.ts +10 -0
  31. package/dist/esm/models/VirtualMachineDisk.js +6 -0
  32. package/dist/esm/models/VirtualMachineNIC.d.ts +16 -0
  33. package/dist/esm/models/VirtualMachineNIC.js +8 -0
  34. package/dist/esm/models/index.d.ts +5 -1
  35. package/dist/esm/models/index.js +5 -1
  36. package/dist/models/CollectedInventory.d.ts +31 -0
  37. package/dist/models/CollectedInventory.js +51 -0
  38. package/dist/models/Datastore.d.ts +14 -2
  39. package/dist/models/Datastore.js +6 -0
  40. package/dist/models/GroupResponse.d.ts +2 -2
  41. package/dist/models/GroupResponse.js +3 -3
  42. package/dist/models/Host.d.ts +10 -0
  43. package/dist/models/Host.js +6 -0
  44. package/dist/models/HostStorageAdapter.d.ts +58 -0
  45. package/dist/models/HostStorageAdapter.js +62 -0
  46. package/dist/models/HostStorageLun.d.ts +50 -0
  47. package/dist/models/HostStorageLun.js +58 -0
  48. package/dist/models/Inventory.d.ts +24 -2
  49. package/dist/models/Inventory.js +17 -4
  50. package/dist/models/RDMBacking.d.ts +30 -0
  51. package/dist/models/RDMBacking.js +48 -0
  52. package/dist/models/UpdateInventory.d.ts +2 -2
  53. package/dist/models/UpdateInventory.js +3 -3
  54. package/dist/models/VirtualMachineDatastore.d.ts +66 -0
  55. package/dist/models/VirtualMachineDatastore.js +66 -0
  56. package/dist/models/VirtualMachineDetail.d.ts +8 -0
  57. package/dist/models/VirtualMachineDetail.js +6 -0
  58. package/dist/models/VirtualMachineDisk.d.ts +10 -0
  59. package/dist/models/VirtualMachineDisk.js +6 -0
  60. package/dist/models/VirtualMachineNIC.d.ts +16 -0
  61. package/dist/models/VirtualMachineNIC.js +8 -0
  62. package/dist/models/index.d.ts +5 -1
  63. package/dist/models/index.js +5 -1
  64. package/docs/CollectedInventory.md +34 -0
  65. package/docs/Datastore.md +6 -0
  66. package/docs/GroupResponse.md +1 -1
  67. package/docs/Host.md +4 -0
  68. package/docs/HostStorageAdapter.md +49 -0
  69. package/docs/HostStorageLun.md +45 -0
  70. package/docs/InventoriesApi.md +4 -4
  71. package/docs/Inventory.md +12 -2
  72. package/docs/{Inventory1.md → RDMBacking.md} +7 -14
  73. package/docs/UpdateInventory.md +1 -1
  74. package/docs/VirtualMachineDatastore.md +53 -0
  75. package/docs/VirtualMachineDetail.md +4 -0
  76. package/docs/VirtualMachineDisk.md +4 -0
  77. package/docs/VirtualMachineNIC.md +8 -0
  78. package/package.json +1 -1
  79. package/src/apis/InventoriesApi.ts +14 -14
  80. package/src/models/CollectedInventory.ts +72 -0
  81. package/src/models/Datastore.ts +20 -2
  82. package/src/models/GroupResponse.ts +9 -9
  83. package/src/models/Host.ts +27 -0
  84. package/src/models/HostStorageAdapter.ts +105 -0
  85. package/src/models/HostStorageLun.ts +93 -0
  86. package/src/models/Inventory.ts +42 -11
  87. package/src/models/RDMBacking.ts +63 -0
  88. package/src/models/UpdateInventory.ts +9 -9
  89. package/src/models/VirtualMachineDatastore.ts +117 -0
  90. package/src/models/VirtualMachineDetail.ts +13 -0
  91. package/src/models/VirtualMachineDisk.ts +27 -0
  92. package/src/models/VirtualMachineNIC.ts +24 -0
  93. package/src/models/index.ts +5 -1
  94. package/dist/esm/models/Inventory1.d.ts +0 -49
  95. package/dist/esm/models/Inventory1.js +0 -55
  96. package/dist/models/Inventory1.d.ts +0 -49
  97. package/dist/models/Inventory1.js +0 -62
  98. package/src/models/Inventory1.ts +0 -97
@@ -16,6 +16,7 @@ docs/CapabilityStatus.md
16
16
  docs/CapabilityStatusCapabilities.md
17
17
  docs/ClusterFeatures.md
18
18
  docs/ClusterUtilization.md
19
+ docs/CollectedInventory.md
19
20
  docs/Collection.md
20
21
  docs/CollectionAggregate.md
21
22
  docs/CollectionComparisonDiff.md
@@ -48,13 +49,14 @@ docs/GroupsApi.md
48
49
  docs/GuestNetwork.md
49
50
  docs/Histogram.md
50
51
  docs/Host.md
52
+ docs/HostStorageAdapter.md
53
+ docs/HostStorageLun.md
51
54
  docs/Infra.md
52
55
  docs/InspectionStatus.md
53
56
  docs/InspectorApi.md
54
57
  docs/InspectorStatus.md
55
58
  docs/InventoriesApi.md
56
59
  docs/Inventory.md
57
- docs/Inventory1.md
58
60
  docs/InventoryData.md
59
61
  docs/IssuesBreakdown.md
60
62
  docs/MigrationIssue.md
@@ -64,6 +66,7 @@ docs/OsInfo.md
64
66
  docs/PairCapability.md
65
67
  docs/PairCapabilityRequest.md
66
68
  docs/Process.md
69
+ docs/RDMBacking.md
67
70
  docs/RightsizingApi.md
68
71
  docs/RightsizingClusterResponse.md
69
72
  docs/RightsizingClusterUtilization.md
@@ -84,6 +87,7 @@ docs/VddkProperties.md
84
87
  docs/VersionApi.md
85
88
  docs/VersionInfo.md
86
89
  docs/VirtualMachine.md
90
+ docs/VirtualMachineDatastore.md
87
91
  docs/VirtualMachineDetail.md
88
92
  docs/VirtualMachineDevice.md
89
93
  docs/VirtualMachineDisk.md
@@ -122,6 +126,7 @@ src/models/CapabilityStatus.ts
122
126
  src/models/CapabilityStatusCapabilities.ts
123
127
  src/models/ClusterFeatures.ts
124
128
  src/models/ClusterUtilization.ts
129
+ src/models/CollectedInventory.ts
125
130
  src/models/Collection.ts
126
131
  src/models/CollectionAggregate.ts
127
132
  src/models/CollectionComparisonDiff.ts
@@ -149,11 +154,12 @@ src/models/GroupResponse.ts
149
154
  src/models/GuestNetwork.ts
150
155
  src/models/Histogram.ts
151
156
  src/models/Host.ts
157
+ src/models/HostStorageAdapter.ts
158
+ src/models/HostStorageLun.ts
152
159
  src/models/Infra.ts
153
160
  src/models/InspectionStatus.ts
154
161
  src/models/InspectorStatus.ts
155
162
  src/models/Inventory.ts
156
- src/models/Inventory1.ts
157
163
  src/models/InventoryData.ts
158
164
  src/models/IssuesBreakdown.ts
159
165
  src/models/MigrationIssue.ts
@@ -163,6 +169,7 @@ src/models/OsInfo.ts
163
169
  src/models/PairCapability.ts
164
170
  src/models/PairCapabilityRequest.ts
165
171
  src/models/Process.ts
172
+ src/models/RDMBacking.ts
166
173
  src/models/RightsizingClusterResponse.ts
167
174
  src/models/RightsizingClusterUtilization.ts
168
175
  src/models/StartForecasterRequest.ts
@@ -181,6 +188,7 @@ src/models/VcenterCredentials.ts
181
188
  src/models/VddkProperties.ts
182
189
  src/models/VersionInfo.ts
183
190
  src/models/VirtualMachine.ts
191
+ src/models/VirtualMachineDatastore.ts
184
192
  src/models/VirtualMachineDetail.ts
185
193
  src/models/VirtualMachineDevice.ts
186
194
  src/models/VirtualMachineDisk.ts
@@ -1 +1 @@
1
- 7.27.0-SNAPSHOT
1
+ 7.28.0-SNAPSHOT
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/agent-sdk@0.30.0
1
+ # @openshift-migration-advisor/agent-sdk@0.31.0-8fbde84d9594
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -118,6 +118,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
118
118
  - [CapabilityStatusCapabilities](docs/CapabilityStatusCapabilities.md)
119
119
  - [ClusterFeatures](docs/ClusterFeatures.md)
120
120
  - [ClusterUtilization](docs/ClusterUtilization.md)
121
+ - [CollectedInventory](docs/CollectedInventory.md)
121
122
  - [Collection](docs/Collection.md)
122
123
  - [CollectionAggregate](docs/CollectionAggregate.md)
123
124
  - [CollectionComparisonDiff](docs/CollectionComparisonDiff.md)
@@ -145,11 +146,12 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
145
146
  - [GuestNetwork](docs/GuestNetwork.md)
146
147
  - [Histogram](docs/Histogram.md)
147
148
  - [Host](docs/Host.md)
149
+ - [HostStorageAdapter](docs/HostStorageAdapter.md)
150
+ - [HostStorageLun](docs/HostStorageLun.md)
148
151
  - [Infra](docs/Infra.md)
149
152
  - [InspectionStatus](docs/InspectionStatus.md)
150
153
  - [InspectorStatus](docs/InspectorStatus.md)
151
154
  - [Inventory](docs/Inventory.md)
152
- - [Inventory1](docs/Inventory1.md)
153
155
  - [InventoryData](docs/InventoryData.md)
154
156
  - [IssuesBreakdown](docs/IssuesBreakdown.md)
155
157
  - [MigrationIssue](docs/MigrationIssue.md)
@@ -159,6 +161,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
159
161
  - [PairCapability](docs/PairCapability.md)
160
162
  - [PairCapabilityRequest](docs/PairCapabilityRequest.md)
161
163
  - [Process](docs/Process.md)
164
+ - [RDMBacking](docs/RDMBacking.md)
162
165
  - [RightsizingClusterResponse](docs/RightsizingClusterResponse.md)
163
166
  - [RightsizingClusterUtilization](docs/RightsizingClusterUtilization.md)
164
167
  - [StartForecasterRequest](docs/StartForecasterRequest.md)
@@ -177,6 +180,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
177
180
  - [VddkProperties](docs/VddkProperties.md)
178
181
  - [VersionInfo](docs/VersionInfo.md)
179
182
  - [VirtualMachine](docs/VirtualMachine.md)
183
+ - [VirtualMachineDatastore](docs/VirtualMachineDatastore.md)
180
184
  - [VirtualMachineDetail](docs/VirtualMachineDetail.md)
181
185
  - [VirtualMachineDevice](docs/VirtualMachineDevice.md)
182
186
  - [VirtualMachineDisk](docs/VirtualMachineDisk.md)
@@ -200,8 +204,8 @@ and is automatically generated by the
200
204
  [OpenAPI Generator](https://openapi-generator.tech) project:
201
205
 
202
206
  - API version: `v2`
203
- - Package version: `0.30.0`
204
- - Generator version: `7.27.0-SNAPSHOT`
207
+ - Package version: `0.31.0-8fbde84d9594`
208
+ - Generator version: `7.28.0-SNAPSHOT`
205
209
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
206
210
 
207
211
  The generated npm module supports the following:
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
- import { type Inventory } from '../models/Inventory.js';
13
+ import { type CollectedInventory } from '../models/CollectedInventory.js';
14
14
  export interface GetInventoryRequest {
15
15
  /**
16
16
  * Collection ID
@@ -45,11 +45,11 @@ export interface InventoriesApiInterface {
45
45
  * @throws {RequiredError}
46
46
  * @memberof InventoriesApiInterface
47
47
  */
48
- getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
48
+ getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectedInventory>>;
49
49
  /**
50
50
  * Get collected inventory for a collection
51
51
  */
52
- getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
52
+ getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectedInventory>;
53
53
  /**
54
54
  * Creates request options for getLatestInventory without sending the request
55
55
  * @param {'main' | 'all'} [scope] Selects which inventories to return. \&quot;main\&quot; (default) returns only the main inventory as JSON. \&quot;all\&quot; returns a ZIP bundle containing the main inventory (inventory.json) and every group subset inventory (subsets/&lt;groupId&gt;.json), for manual upload in disconnected environments.
@@ -65,11 +65,11 @@ export interface InventoriesApiInterface {
65
65
  * @throws {RequiredError}
66
66
  * @memberof InventoriesApiInterface
67
67
  */
68
- getLatestInventoryRaw(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
68
+ getLatestInventoryRaw(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectedInventory>>;
69
69
  /**
70
70
  * Get inventory from the latest collection
71
71
  */
72
- getLatestInventory(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
72
+ getLatestInventory(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectedInventory>;
73
73
  }
74
74
  /**
75
75
  *
@@ -82,11 +82,11 @@ export declare class InventoriesApi extends runtime.BaseAPI implements Inventori
82
82
  /**
83
83
  * Get collected inventory for a collection
84
84
  */
85
- getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
85
+ getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectedInventory>>;
86
86
  /**
87
87
  * Get collected inventory for a collection
88
88
  */
89
- getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
89
+ getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectedInventory>;
90
90
  /**
91
91
  * Creates request options for getLatestInventory without sending the request
92
92
  */
@@ -94,11 +94,11 @@ export declare class InventoriesApi extends runtime.BaseAPI implements Inventori
94
94
  /**
95
95
  * Get inventory from the latest collection
96
96
  */
97
- getLatestInventoryRaw(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
97
+ getLatestInventoryRaw(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectedInventory>>;
98
98
  /**
99
99
  * Get inventory from the latest collection
100
100
  */
101
- getLatestInventory(requestParameters?: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
101
+ getLatestInventory(requestParameters?: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectedInventory>;
102
102
  }
103
103
  /**
104
104
  * @export
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.GetLatestInventoryScopeEnum = exports.InventoriesApi = void 0;
26
26
  const runtime = require("../runtime.js");
27
- const Inventory_js_1 = require("../models/Inventory.js");
27
+ const CollectedInventory_js_1 = require("../models/CollectedInventory.js");
28
28
  /**
29
29
  *
30
30
  */
@@ -56,7 +56,7 @@ class InventoriesApi extends runtime.BaseAPI {
56
56
  return __awaiter(this, void 0, void 0, function* () {
57
57
  const requestOptions = yield this.getInventoryRequestOpts(requestParameters);
58
58
  const response = yield this.request(requestOptions, initOverrides);
59
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, Inventory_js_1.InventoryFromJSON)(jsonValue));
59
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, CollectedInventory_js_1.CollectedInventoryFromJSON)(jsonValue));
60
60
  });
61
61
  }
62
62
  /**
@@ -94,7 +94,7 @@ class InventoriesApi extends runtime.BaseAPI {
94
94
  return __awaiter(this, void 0, void 0, function* () {
95
95
  const requestOptions = yield this.getLatestInventoryRequestOpts(requestParameters);
96
96
  const response = yield this.request(requestOptions, initOverrides);
97
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, Inventory_js_1.InventoryFromJSON)(jsonValue));
97
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, CollectedInventory_js_1.CollectedInventoryFromJSON)(jsonValue));
98
98
  });
99
99
  }
100
100
  /**
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime.js';
13
- import { type Inventory } from '../models/Inventory.js';
13
+ import { type CollectedInventory } from '../models/CollectedInventory.js';
14
14
  export interface GetInventoryRequest {
15
15
  /**
16
16
  * Collection ID
@@ -45,11 +45,11 @@ export interface InventoriesApiInterface {
45
45
  * @throws {RequiredError}
46
46
  * @memberof InventoriesApiInterface
47
47
  */
48
- getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
48
+ getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectedInventory>>;
49
49
  /**
50
50
  * Get collected inventory for a collection
51
51
  */
52
- getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
52
+ getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectedInventory>;
53
53
  /**
54
54
  * Creates request options for getLatestInventory without sending the request
55
55
  * @param {'main' | 'all'} [scope] Selects which inventories to return. \&quot;main\&quot; (default) returns only the main inventory as JSON. \&quot;all\&quot; returns a ZIP bundle containing the main inventory (inventory.json) and every group subset inventory (subsets/&lt;groupId&gt;.json), for manual upload in disconnected environments.
@@ -65,11 +65,11 @@ export interface InventoriesApiInterface {
65
65
  * @throws {RequiredError}
66
66
  * @memberof InventoriesApiInterface
67
67
  */
68
- getLatestInventoryRaw(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
68
+ getLatestInventoryRaw(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectedInventory>>;
69
69
  /**
70
70
  * Get inventory from the latest collection
71
71
  */
72
- getLatestInventory(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
72
+ getLatestInventory(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectedInventory>;
73
73
  }
74
74
  /**
75
75
  *
@@ -82,11 +82,11 @@ export declare class InventoriesApi extends runtime.BaseAPI implements Inventori
82
82
  /**
83
83
  * Get collected inventory for a collection
84
84
  */
85
- getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
85
+ getInventoryRaw(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectedInventory>>;
86
86
  /**
87
87
  * Get collected inventory for a collection
88
88
  */
89
- getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
89
+ getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectedInventory>;
90
90
  /**
91
91
  * Creates request options for getLatestInventory without sending the request
92
92
  */
@@ -94,11 +94,11 @@ export declare class InventoriesApi extends runtime.BaseAPI implements Inventori
94
94
  /**
95
95
  * Get inventory from the latest collection
96
96
  */
97
- getLatestInventoryRaw(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Inventory>>;
97
+ getLatestInventoryRaw(requestParameters: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectedInventory>>;
98
98
  /**
99
99
  * Get inventory from the latest collection
100
100
  */
101
- getLatestInventory(requestParameters?: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Inventory>;
101
+ getLatestInventory(requestParameters?: GetLatestInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectedInventory>;
102
102
  }
103
103
  /**
104
104
  * @export
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime.js';
24
- import { InventoryFromJSON, } from '../models/Inventory.js';
24
+ import { CollectedInventoryFromJSON, } from '../models/CollectedInventory.js';
25
25
  /**
26
26
  *
27
27
  */
@@ -53,7 +53,7 @@ export class InventoriesApi extends runtime.BaseAPI {
53
53
  return __awaiter(this, void 0, void 0, function* () {
54
54
  const requestOptions = yield this.getInventoryRequestOpts(requestParameters);
55
55
  const response = yield this.request(requestOptions, initOverrides);
56
- return new runtime.JSONApiResponse(response, (jsonValue) => InventoryFromJSON(jsonValue));
56
+ return new runtime.JSONApiResponse(response, (jsonValue) => CollectedInventoryFromJSON(jsonValue));
57
57
  });
58
58
  }
59
59
  /**
@@ -91,7 +91,7 @@ export class InventoriesApi extends runtime.BaseAPI {
91
91
  return __awaiter(this, void 0, void 0, function* () {
92
92
  const requestOptions = yield this.getLatestInventoryRequestOpts(requestParameters);
93
93
  const response = yield this.request(requestOptions, initOverrides);
94
- return new runtime.JSONApiResponse(response, (jsonValue) => InventoryFromJSON(jsonValue));
94
+ return new runtime.JSONApiResponse(response, (jsonValue) => CollectedInventoryFromJSON(jsonValue));
95
95
  });
96
96
  }
97
97
  /**
@@ -0,0 +1,31 @@
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 { UpdateInventory } from './UpdateInventory.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CollectedInventory
17
+ */
18
+ export interface CollectedInventory {
19
+ /**
20
+ *
21
+ */
22
+ inventory: UpdateInventory;
23
+ }
24
+ /**
25
+ * Check if a given object implements the CollectedInventory interface.
26
+ */
27
+ export declare function instanceOfCollectedInventory(value: object): value is CollectedInventory;
28
+ export declare function CollectedInventoryFromJSON(json: any): CollectedInventory;
29
+ export declare function CollectedInventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectedInventory;
30
+ export declare function CollectedInventoryToJSON(json: any): CollectedInventory;
31
+ export declare function CollectedInventoryToJSONTyped(value?: CollectedInventory | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
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 { UpdateInventoryFromJSON, UpdateInventoryToJSON, } from './UpdateInventory.js';
15
+ /**
16
+ * Check if a given object implements the CollectedInventory interface.
17
+ */
18
+ export function instanceOfCollectedInventory(value) {
19
+ if (!('inventory' in value) || value['inventory'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function CollectedInventoryFromJSON(json) {
24
+ return CollectedInventoryFromJSONTyped(json, false);
25
+ }
26
+ export function CollectedInventoryFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'inventory': UpdateInventoryFromJSON(json['inventory']),
32
+ };
33
+ }
34
+ export function CollectedInventoryToJSON(json) {
35
+ return CollectedInventoryToJSONTyped(json, false);
36
+ }
37
+ export function CollectedInventoryToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'inventory': UpdateInventoryToJSON(value['inventory']),
43
+ };
44
+ }
@@ -20,6 +20,18 @@ export interface Datastore {
20
20
  *
21
21
  */
22
22
  type: string;
23
+ /**
24
+ * Canonical identifiers for devices backing the datastore (for example, an NAA identifier for a SCSI LUN); may be unavailable for some datastore types
25
+ */
26
+ backingDeviceIds?: Array<string>;
27
+ /**
28
+ * Filesystem type reported by the datastore, such as VMFS, NFS, or NFS41
29
+ */
30
+ filesystemType?: string;
31
+ /**
32
+ * VMFS major version when reported; omitted when unknown or not applicable
33
+ */
34
+ filesystemMajorVersion?: number;
23
35
  /**
24
36
  * Storage access category derived from Datastore.Type
25
37
  */
@@ -37,7 +49,7 @@ export interface Datastore {
37
49
  */
38
50
  freeCapacityGB: number;
39
51
  /**
40
- *
52
+ * Vendor reported by matching backing devices when available
41
53
  */
42
54
  vendor: string;
43
55
  /**
@@ -53,7 +65,7 @@ export interface Datastore {
53
65
  */
54
66
  protocolType: string;
55
67
  /**
56
- *
68
+ * Model reported by matching backing devices when available
57
69
  */
58
70
  model: string;
59
71
  /**
@@ -51,6 +51,9 @@ export function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
51
51
  }
52
52
  return {
53
53
  'type': json['type'],
54
+ 'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
55
+ 'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
56
+ 'filesystemMajorVersion': json['filesystemMajorVersion'] == null ? undefined : json['filesystemMajorVersion'],
54
57
  'storageProtocol': json['storageProtocol'] == null ? undefined : json['storageProtocol'],
55
58
  'vsanSnapshotSupport': json['vsanSnapshotSupport'] == null ? undefined : json['vsanSnapshotSupport'],
56
59
  'totalCapacityGB': json['totalCapacityGB'],
@@ -73,6 +76,9 @@ export function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
73
76
  }
74
77
  return {
75
78
  'type': value['type'],
79
+ 'backingDeviceIds': value['backingDeviceIds'],
80
+ 'filesystemType': value['filesystemType'],
81
+ 'filesystemMajorVersion': value['filesystemMajorVersion'],
76
82
  'storageProtocol': value['storageProtocol'],
77
83
  'vsanSnapshotSupport': value['vsanSnapshotSupport'],
78
84
  'totalCapacityGB': value['totalCapacityGB'],
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Group } from './Group.js';
13
- import type { Inventory1 } from './Inventory1.js';
13
+ import type { Inventory } from './Inventory.js';
14
14
  import type { VirtualMachine } from './VirtualMachine.js';
15
15
  /**
16
16
  *
@@ -25,7 +25,7 @@ export interface GroupResponse {
25
25
  /**
26
26
  *
27
27
  */
28
- inventory?: Inventory1;
28
+ inventory?: Inventory;
29
29
  /**
30
30
  *
31
31
  */
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { GroupFromJSON, GroupToJSON, } from './Group.js';
15
- import { Inventory1FromJSON, Inventory1ToJSON, } from './Inventory1.js';
15
+ import { InventoryFromJSON, InventoryToJSON, } from './Inventory.js';
16
16
  import { VirtualMachineFromJSON, VirtualMachineToJSON, } from './VirtualMachine.js';
17
17
  /**
18
18
  * Check if a given object implements the GroupResponse interface.
@@ -39,7 +39,7 @@ export function GroupResponseFromJSONTyped(json, ignoreDiscriminator) {
39
39
  }
40
40
  return {
41
41
  'group': GroupFromJSON(json['group']),
42
- 'inventory': json['inventory'] == null ? undefined : Inventory1FromJSON(json['inventory']),
42
+ 'inventory': json['inventory'] == null ? undefined : InventoryFromJSON(json['inventory']),
43
43
  'vms': (json['vms'].map(VirtualMachineFromJSON)),
44
44
  'total': json['total'],
45
45
  'page': json['page'],
@@ -55,7 +55,7 @@ export function GroupResponseToJSONTyped(value, ignoreDiscriminator = false) {
55
55
  }
56
56
  return {
57
57
  'group': GroupToJSON(value['group']),
58
- 'inventory': Inventory1ToJSON(value['inventory']),
58
+ 'inventory': InventoryToJSON(value['inventory']),
59
59
  'vms': (value['vms'].map(VirtualMachineToJSON)),
60
60
  'total': value['total'],
61
61
  'page': value['page'],
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { HostStorageAdapter } from './HostStorageAdapter.js';
13
+ import type { HostStorageLun } from './HostStorageLun.js';
12
14
  /**
13
15
  *
14
16
  * @export
@@ -47,6 +49,14 @@ export interface Host {
47
49
  * Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
48
50
  */
49
51
  storageVmotionSupported?: boolean;
52
+ /**
53
+ * Available host storage adapters. Omitted when no records are available; this does not imply a complete empty inventory.
54
+ */
55
+ storageAdapters?: Array<HostStorageAdapter>;
56
+ /**
57
+ * Available host-visible LUNs and adapter associations, without per-path state or VM disk placement.
58
+ */
59
+ storageLuns?: Array<HostStorageLun>;
50
60
  }
51
61
  /**
52
62
  * Check if a given object implements the Host interface.
@@ -11,6 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { HostStorageAdapterFromJSON, HostStorageAdapterToJSON, } from './HostStorageAdapter.js';
15
+ import { HostStorageLunFromJSON, HostStorageLunToJSON, } from './HostStorageLun.js';
14
16
  /**
15
17
  * Check if a given object implements the Host interface.
16
18
  */
@@ -37,6 +39,8 @@ export function HostFromJSONTyped(json, ignoreDiscriminator) {
37
39
  'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
38
40
  'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
39
41
  'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
42
+ 'storageAdapters': json['storageAdapters'] == null ? undefined : (json['storageAdapters'].map(HostStorageAdapterFromJSON)),
43
+ 'storageLuns': json['storageLuns'] == null ? undefined : (json['storageLuns'].map(HostStorageLunFromJSON)),
40
44
  };
41
45
  }
42
46
  export function HostToJSON(json) {
@@ -55,5 +59,7 @@ export function HostToJSONTyped(value, ignoreDiscriminator = false) {
55
59
  'memoryMB': value['memoryMB'],
56
60
  'vmotionSupported': value['vmotionSupported'],
57
61
  'storageVmotionSupported': value['storageVmotionSupported'],
62
+ 'storageAdapters': value['storageAdapters'] == null ? undefined : (value['storageAdapters'].map(HostStorageAdapterToJSON)),
63
+ 'storageLuns': value['storageLuns'] == null ? undefined : (value['storageLuns'].map(HostStorageLunToJSON)),
58
64
  };
59
65
  }
@@ -0,0 +1,58 @@
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 adapter facts. Missing or conflicting values are omitted.
14
+ * @export
15
+ * @interface HostStorageAdapter
16
+ */
17
+ export interface HostStorageAdapter {
18
+ /**
19
+ * Host-local adapter device name.
20
+ */
21
+ device?: string;
22
+ /**
23
+ * Source adapter key; distinct from device name.
24
+ */
25
+ key?: string;
26
+ /**
27
+ * Adapter type as supplied by the source.
28
+ */
29
+ type?: string;
30
+ /**
31
+ * Adapter protocol as supplied by the source.
32
+ */
33
+ protocol?: string;
34
+ /**
35
+ * Adapter model.
36
+ */
37
+ model?: string;
38
+ /**
39
+ * Adapter driver.
40
+ */
41
+ driver?: string;
42
+ /**
43
+ * Node WWN as identifier text, preserving leading zeros.
44
+ */
45
+ nodeWwn?: string;
46
+ /**
47
+ * Port WWN as identifier text, preserving leading zeros.
48
+ */
49
+ portWwn?: string;
50
+ }
51
+ /**
52
+ * Check if a given object implements the HostStorageAdapter interface.
53
+ */
54
+ export declare function instanceOfHostStorageAdapter(value: object): value is HostStorageAdapter;
55
+ export declare function HostStorageAdapterFromJSON(json: any): HostStorageAdapter;
56
+ export declare function HostStorageAdapterFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostStorageAdapter;
57
+ export declare function HostStorageAdapterToJSON(json: any): HostStorageAdapter;
58
+ export declare function HostStorageAdapterToJSONTyped(value?: HostStorageAdapter | null, ignoreDiscriminator?: boolean): any;