@openshift-migration-advisor/agent-sdk 0.31.0-8fbde84d9594 → 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 (38) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +4 -2
  3. package/dist/esm/models/ApplicationOverview.d.ts +16 -0
  4. package/dist/esm/models/ApplicationOverview.js +12 -0
  5. package/dist/esm/models/HostPhysicalNIC.d.ts +34 -0
  6. package/dist/esm/models/HostPhysicalNIC.js +45 -0
  7. package/dist/esm/models/OsInfo.d.ts +12 -0
  8. package/dist/esm/models/OsInfo.js +9 -0
  9. package/dist/esm/models/Product.d.ts +66 -0
  10. package/dist/esm/models/Product.js +61 -0
  11. package/dist/esm/models/VirtualMachineDetail.d.ts +10 -0
  12. package/dist/esm/models/VirtualMachineDetail.js +6 -0
  13. package/dist/esm/models/index.d.ts +2 -0
  14. package/dist/esm/models/index.js +2 -0
  15. package/dist/models/ApplicationOverview.d.ts +16 -0
  16. package/dist/models/ApplicationOverview.js +12 -0
  17. package/dist/models/HostPhysicalNIC.d.ts +34 -0
  18. package/dist/models/HostPhysicalNIC.js +52 -0
  19. package/dist/models/OsInfo.d.ts +12 -0
  20. package/dist/models/OsInfo.js +10 -1
  21. package/dist/models/Product.d.ts +66 -0
  22. package/dist/models/Product.js +68 -0
  23. package/dist/models/VirtualMachineDetail.d.ts +10 -0
  24. package/dist/models/VirtualMachineDetail.js +6 -0
  25. package/dist/models/index.d.ts +2 -0
  26. package/dist/models/index.js +2 -0
  27. package/docs/ApplicationOverview.md +8 -0
  28. package/docs/HostPhysicalNIC.md +36 -0
  29. package/docs/OsInfo.md +2 -0
  30. package/docs/Product.md +52 -0
  31. package/docs/VirtualMachineDetail.md +4 -0
  32. package/package.json +1 -1
  33. package/src/models/ApplicationOverview.ts +26 -0
  34. package/src/models/HostPhysicalNIC.ts +70 -0
  35. package/src/models/OsInfo.ts +15 -0
  36. package/src/models/Product.ts +118 -0
  37. package/src/models/VirtualMachineDetail.ts +26 -0
  38. package/src/models/index.ts +2 -0
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.OsInfoSupportTierEnum = void 0;
16
+ exports.OsInfoMtvStatusEnum = exports.OsInfoSupportTierEnum = void 0;
17
17
  exports.instanceOfOsInfo = instanceOfOsInfo;
18
18
  exports.OsInfoFromJSON = OsInfoFromJSON;
19
19
  exports.OsInfoFromJSONTyped = OsInfoFromJSONTyped;
@@ -28,6 +28,13 @@ exports.OsInfoSupportTierEnum = {
28
28
  CommunitySupported: 'community_supported',
29
29
  SpecialHandling: 'special_handling',
30
30
  };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.OsInfoMtvStatusEnum = {
35
+ Green: 'green',
36
+ Blue: 'blue',
37
+ };
31
38
  /**
32
39
  * Check if a given object implements the OsInfo interface.
33
40
  */
@@ -49,6 +56,7 @@ function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
49
56
  'count': json['count'],
50
57
  'supported': json['supported'],
51
58
  'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
59
+ 'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
52
60
  'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
53
61
  };
54
62
  }
@@ -63,6 +71,7 @@ function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
63
71
  'count': value['count'],
64
72
  'supported': value['supported'],
65
73
  'supportTier': value['supportTier'],
74
+ 'mtvStatus': value['mtvStatus'],
66
75
  'upgradeRecommendation': value['upgradeRecommendation'],
67
76
  };
68
77
  }
@@ -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
+ *
14
+ * @export
15
+ * @interface Product
16
+ */
17
+ export interface Product {
18
+ /**
19
+ * Product key
20
+ */
21
+ key: number;
22
+ /**
23
+ * Product class identifier
24
+ */
25
+ classId?: string;
26
+ /**
27
+ * Product instance identifier
28
+ */
29
+ instanceId?: string;
30
+ /**
31
+ * Product name
32
+ */
33
+ name?: string;
34
+ /**
35
+ * Product vendor
36
+ */
37
+ vendor?: string;
38
+ /**
39
+ * Product version
40
+ */
41
+ version?: string;
42
+ /**
43
+ * Full product version
44
+ */
45
+ fullVersion?: string;
46
+ /**
47
+ * Product vendor URL
48
+ */
49
+ vendorUrl?: string;
50
+ /**
51
+ * Product URL
52
+ */
53
+ productUrl?: string;
54
+ /**
55
+ * Application URL
56
+ */
57
+ appUrl?: string;
58
+ }
59
+ /**
60
+ * Check if a given object implements the Product interface.
61
+ */
62
+ export declare function instanceOfProduct(value: object): value is Product;
63
+ export declare function ProductFromJSON(json: any): Product;
64
+ export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
65
+ export declare function ProductToJSON(json: any): Product;
66
+ export declare function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator?: boolean): any;
@@ -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
+ }
@@ -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';
@@ -154,6 +156,10 @@ export interface VirtualMachineDetail {
154
156
  *
155
157
  */
156
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>;
157
163
  /**
158
164
  * Adapter count reported by the source; 0 when unavailable
159
165
  */
@@ -186,6 +192,10 @@ export interface VirtualMachineDetail {
186
192
  * List of processes detected on this VM
187
193
  */
188
194
  processes?: Array<Process>;
195
+ /**
196
+ * Products configured in the VM's vApp settings
197
+ */
198
+ products?: Array<Product>;
189
199
  }
190
200
  /**
191
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");
@@ -95,6 +97,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
95
97
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
96
98
  'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
97
99
  'disks': (json['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskFromJSON)),
100
+ 'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : (json['hostPhysicalNics'].map(HostPhysicalNIC_js_1.HostPhysicalNICFromJSON)),
98
101
  'nicCount': json['nicCount'],
99
102
  'nics': (json['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICFromJSON)),
100
103
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceFromJSON)),
@@ -103,6 +106,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
103
106
  'inspection': json['inspection'] == null ? undefined : (0, VirtualMachineInspectionResults_js_1.VirtualMachineInspectionResultsFromJSON)(json['inspection']),
104
107
  'utilization': json['utilization'] == null ? undefined : (0, VmUtilizationDetails_js_1.VmUtilizationDetailsFromJSON)(json['utilization']),
105
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)),
106
110
  };
107
111
  }
108
112
  function VirtualMachineDetailToJSON(json) {
@@ -144,6 +148,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
144
148
  'toolsStatus': value['toolsStatus'],
145
149
  'toolsRunningStatus': value['toolsRunningStatus'],
146
150
  'disks': (value['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskToJSON)),
151
+ 'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : (value['hostPhysicalNics'].map(HostPhysicalNIC_js_1.HostPhysicalNICToJSON)),
147
152
  'nicCount': value['nicCount'],
148
153
  'nics': (value['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICToJSON)),
149
154
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceToJSON)),
@@ -152,5 +157,6 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
152
157
  'inspection': (0, VirtualMachineInspectionResults_js_1.VirtualMachineInspectionResultsToJSON)(value['inspection']),
153
158
  'utilization': (0, VmUtilizationDetails_js_1.VmUtilizationDetailsToJSON)(value['utilization']),
154
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)),
155
161
  };
156
162
  }
@@ -38,6 +38,7 @@ export * from './GroupResponse.js';
38
38
  export * from './GuestNetwork.js';
39
39
  export * from './Histogram.js';
40
40
  export * from './Host.js';
41
+ export * from './HostPhysicalNIC.js';
41
42
  export * from './HostStorageAdapter.js';
42
43
  export * from './HostStorageLun.js';
43
44
  export * from './Infra.js';
@@ -53,6 +54,7 @@ export * from './OsInfo.js';
53
54
  export * from './PairCapability.js';
54
55
  export * from './PairCapabilityRequest.js';
55
56
  export * from './Process.js';
57
+ export * from './Product.js';
56
58
  export * from './RDMBacking.js';
57
59
  export * from './RightsizingClusterResponse.js';
58
60
  export * from './RightsizingClusterUtilization.js';
@@ -56,6 +56,7 @@ __exportStar(require("./GroupResponse.js"), exports);
56
56
  __exportStar(require("./GuestNetwork.js"), exports);
57
57
  __exportStar(require("./Histogram.js"), exports);
58
58
  __exportStar(require("./Host.js"), exports);
59
+ __exportStar(require("./HostPhysicalNIC.js"), exports);
59
60
  __exportStar(require("./HostStorageAdapter.js"), exports);
60
61
  __exportStar(require("./HostStorageLun.js"), exports);
61
62
  __exportStar(require("./Infra.js"), exports);
@@ -71,6 +72,7 @@ __exportStar(require("./OsInfo.js"), exports);
71
72
  __exportStar(require("./PairCapability.js"), exports);
72
73
  __exportStar(require("./PairCapabilityRequest.js"), exports);
73
74
  __exportStar(require("./Process.js"), exports);
75
+ __exportStar(require("./Product.js"), exports);
74
76
  __exportStar(require("./RDMBacking.js"), exports);
75
77
  __exportStar(require("./RightsizingClusterResponse.js"), exports);
76
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
@@ -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
+
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
+
@@ -38,6 +38,7 @@ Name | Type
38
38
  `toolsStatus` | string
39
39
  `toolsRunningStatus` | string
40
40
  `disks` | [Array&lt;VirtualMachineDisk&gt;](VirtualMachineDisk.md)
41
+ `hostPhysicalNics` | [Array&lt;HostPhysicalNIC&gt;](HostPhysicalNIC.md)
41
42
  `nicCount` | number
42
43
  `nics` | [Array&lt;VirtualMachineNIC&gt;](VirtualMachineNIC.md)
43
44
  `devices` | [Array&lt;VirtualMachineDevice&gt;](VirtualMachineDevice.md)
@@ -46,6 +47,7 @@ Name | Type
46
47
  `inspection` | [VirtualMachineInspectionResults](VirtualMachineInspectionResults.md)
47
48
  `utilization` | [VmUtilizationDetails](VmUtilizationDetails.md)
48
49
  `processes` | [Array&lt;Process&gt;](Process.md)
50
+ `products` | [Array&lt;Product&gt;](Product.md)
49
51
 
50
52
  ## Example
51
53
 
@@ -86,6 +88,7 @@ const example = {
86
88
  "toolsStatus": null,
87
89
  "toolsRunningStatus": null,
88
90
  "disks": null,
91
+ "hostPhysicalNics": null,
89
92
  "nicCount": null,
90
93
  "nics": null,
91
94
  "devices": null,
@@ -94,6 +97,7 @@ const example = {
94
97
  "inspection": null,
95
98
  "utilization": null,
96
99
  "processes": null,
100
+ "products": null,
97
101
  } satisfies VirtualMachineDetail
98
102
 
99
103
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/agent-sdk",
3
- "version": "0.31.0-8fbde84d9594",
3
+ "version": "0.31.0-91c2f03b4968",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/agent-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -35,6 +35,22 @@ export interface ApplicationOverview {
35
35
  * Application description
36
36
  */
37
37
  description: string;
38
+ /**
39
+ * Application vendor
40
+ */
41
+ vendor: string;
42
+ /**
43
+ * Application category
44
+ */
45
+ category: string;
46
+ /**
47
+ * Detection confidence percentage; defaults to 0 when omitted
48
+ */
49
+ confidence?: number;
50
+ /**
51
+ * Whether the application has a known container deployment option
52
+ */
53
+ containerizationCandidate?: boolean;
38
54
  /**
39
55
  * Number of VMs running this application
40
56
  */
@@ -51,6 +67,8 @@ export interface ApplicationOverview {
51
67
  export function instanceOfApplicationOverview(value: object): value is ApplicationOverview {
52
68
  if (!('name' in value) || value['name'] === undefined) return false;
53
69
  if (!('description' in value) || value['description'] === undefined) return false;
70
+ if (!('vendor' in value) || value['vendor'] === undefined) return false;
71
+ if (!('category' in value) || value['category'] === undefined) return false;
54
72
  if (!('vmCount' in value) || value['vmCount'] === undefined) return false;
55
73
  if (!('vms' in value) || value['vms'] === undefined) return false;
56
74
  return true;
@@ -68,6 +86,10 @@ export function ApplicationOverviewFromJSONTyped(json: any, ignoreDiscriminator:
68
86
 
69
87
  'name': json['name'],
70
88
  'description': json['description'],
89
+ 'vendor': json['vendor'],
90
+ 'category': json['category'],
91
+ 'confidence': json['confidence'] == null ? undefined : json['confidence'],
92
+ 'containerizationCandidate': json['containerizationCandidate'] == null ? undefined : json['containerizationCandidate'],
71
93
  'vmCount': json['vmCount'],
72
94
  'vms': ((json['vms'] as Array<any>).map(ApplicationVMFromJSON)),
73
95
  };
@@ -86,6 +108,10 @@ export function ApplicationOverviewToJSONTyped(value?: ApplicationOverview | nul
86
108
 
87
109
  'name': value['name'],
88
110
  'description': value['description'],
111
+ 'vendor': value['vendor'],
112
+ 'category': value['category'],
113
+ 'confidence': value['confidence'],
114
+ 'containerizationCandidate': value['containerizationCandidate'],
89
115
  'vmCount': value['vmCount'],
90
116
  'vms': ((value['vms'] as Array<any>).map(ApplicationVMToJSON)),
91
117
  };
@@ -0,0 +1,70 @@
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 HostPhysicalNIC
20
+ */
21
+ export interface HostPhysicalNIC {
22
+ /**
23
+ * Source physical NIC identity, scoped to the VM's host and collection.
24
+ */
25
+ id: string;
26
+ /**
27
+ * Reported link speed in Mbps; omitted when unknown. This is not measured throughput.
28
+ */
29
+ linkSpeedMbps?: number;
30
+ }
31
+
32
+ /**
33
+ * Check if a given object implements the HostPhysicalNIC interface.
34
+ */
35
+ export function instanceOfHostPhysicalNIC(value: object): value is HostPhysicalNIC {
36
+ if (!('id' in value) || value['id'] === undefined) return false;
37
+ return true;
38
+ }
39
+
40
+ export function HostPhysicalNICFromJSON(json: any): HostPhysicalNIC {
41
+ return HostPhysicalNICFromJSONTyped(json, false);
42
+ }
43
+
44
+ export function HostPhysicalNICFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostPhysicalNIC {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+
50
+ 'id': json['id'],
51
+ 'linkSpeedMbps': json['linkSpeedMbps'] == null ? undefined : json['linkSpeedMbps'],
52
+ };
53
+ }
54
+
55
+ export function HostPhysicalNICToJSON(json: any): HostPhysicalNIC {
56
+ return HostPhysicalNICToJSONTyped(json, false);
57
+ }
58
+
59
+ export function HostPhysicalNICToJSONTyped(value?: HostPhysicalNIC | null, ignoreDiscriminator: boolean = false): any {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+
64
+ return {
65
+
66
+ 'id': value['id'],
67
+ 'linkSpeedMbps': value['linkSpeedMbps'],
68
+ };
69
+ }
70
+
@@ -31,6 +31,10 @@ export interface OsInfo {
31
31
  * OS support tier per Red Hat KCS article 4234591
32
32
  */
33
33
  supportTier?: OsInfoSupportTierEnum;
34
+ /**
35
+ * MTV verification per Red Hat KCS article 4234591. Green means tested and verified; blue means successfully running on the target cluster. Omitted when the OS/architecture has no listed status.
36
+ */
37
+ mtvStatus?: OsInfoMtvStatusEnum;
34
38
  /**
35
39
  * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
36
40
  */
@@ -49,6 +53,15 @@ export const OsInfoSupportTierEnum = {
49
53
  } as const;
50
54
  export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
51
55
 
56
+ /**
57
+ * @export
58
+ */
59
+ export const OsInfoMtvStatusEnum = {
60
+ Green: 'green',
61
+ Blue: 'blue',
62
+ } as const;
63
+ export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
64
+
52
65
 
53
66
  /**
54
67
  * Check if a given object implements the OsInfo interface.
@@ -72,6 +85,7 @@ export function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Os
72
85
  'count': json['count'],
73
86
  'supported': json['supported'],
74
87
  'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
88
+ 'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
75
89
  'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
76
90
  };
77
91
  }
@@ -90,6 +104,7 @@ export function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator: bo
90
104
  'count': value['count'],
91
105
  'supported': value['supported'],
92
106
  'supportTier': value['supportTier'],
107
+ 'mtvStatus': value['mtvStatus'],
93
108
  'upgradeRecommendation': value['upgradeRecommendation'],
94
109
  };
95
110
  }