@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
@@ -49,6 +49,7 @@ docs/GroupsApi.md
49
49
  docs/GuestNetwork.md
50
50
  docs/Histogram.md
51
51
  docs/Host.md
52
+ docs/HostPhysicalNIC.md
52
53
  docs/HostStorageAdapter.md
53
54
  docs/HostStorageLun.md
54
55
  docs/Infra.md
@@ -66,6 +67,7 @@ docs/OsInfo.md
66
67
  docs/PairCapability.md
67
68
  docs/PairCapabilityRequest.md
68
69
  docs/Process.md
70
+ docs/Product.md
69
71
  docs/RDMBacking.md
70
72
  docs/RightsizingApi.md
71
73
  docs/RightsizingClusterResponse.md
@@ -154,6 +156,7 @@ src/models/GroupResponse.ts
154
156
  src/models/GuestNetwork.ts
155
157
  src/models/Histogram.ts
156
158
  src/models/Host.ts
159
+ src/models/HostPhysicalNIC.ts
157
160
  src/models/HostStorageAdapter.ts
158
161
  src/models/HostStorageLun.ts
159
162
  src/models/Infra.ts
@@ -169,6 +172,7 @@ src/models/OsInfo.ts
169
172
  src/models/PairCapability.ts
170
173
  src/models/PairCapabilityRequest.ts
171
174
  src/models/Process.ts
175
+ src/models/Product.ts
172
176
  src/models/RDMBacking.ts
173
177
  src/models/RightsizingClusterResponse.ts
174
178
  src/models/RightsizingClusterUtilization.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/agent-sdk@0.31.0-8fbde84d9594
1
+ # @openshift-migration-advisor/agent-sdk@0.31.0-91c2f03b4968
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -146,6 +146,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
146
146
  - [GuestNetwork](docs/GuestNetwork.md)
147
147
  - [Histogram](docs/Histogram.md)
148
148
  - [Host](docs/Host.md)
149
+ - [HostPhysicalNIC](docs/HostPhysicalNIC.md)
149
150
  - [HostStorageAdapter](docs/HostStorageAdapter.md)
150
151
  - [HostStorageLun](docs/HostStorageLun.md)
151
152
  - [Infra](docs/Infra.md)
@@ -161,6 +162,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
161
162
  - [PairCapability](docs/PairCapability.md)
162
163
  - [PairCapabilityRequest](docs/PairCapabilityRequest.md)
163
164
  - [Process](docs/Process.md)
165
+ - [Product](docs/Product.md)
164
166
  - [RDMBacking](docs/RDMBacking.md)
165
167
  - [RightsizingClusterResponse](docs/RightsizingClusterResponse.md)
166
168
  - [RightsizingClusterUtilization](docs/RightsizingClusterUtilization.md)
@@ -204,7 +206,7 @@ and is automatically generated by the
204
206
  [OpenAPI Generator](https://openapi-generator.tech) project:
205
207
 
206
208
  - API version: `v2`
207
- - Package version: `0.31.0-8fbde84d9594`
209
+ - Package version: `0.31.0-91c2f03b4968`
208
210
  - Generator version: `7.28.0-SNAPSHOT`
209
211
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
210
212
 
@@ -24,6 +24,22 @@ export interface ApplicationOverview {
24
24
  * Application description
25
25
  */
26
26
  description: string;
27
+ /**
28
+ * Application vendor
29
+ */
30
+ vendor: string;
31
+ /**
32
+ * Application category
33
+ */
34
+ category: string;
35
+ /**
36
+ * Detection confidence percentage; defaults to 0 when omitted
37
+ */
38
+ confidence?: number;
39
+ /**
40
+ * Whether the application has a known container deployment option
41
+ */
42
+ containerizationCandidate?: boolean;
27
43
  /**
28
44
  * Number of VMs running this application
29
45
  */
@@ -20,6 +20,10 @@ export function instanceOfApplicationOverview(value) {
20
20
  return false;
21
21
  if (!('description' in value) || value['description'] === undefined)
22
22
  return false;
23
+ if (!('vendor' in value) || value['vendor'] === undefined)
24
+ return false;
25
+ if (!('category' in value) || value['category'] === undefined)
26
+ return false;
23
27
  if (!('vmCount' in value) || value['vmCount'] === undefined)
24
28
  return false;
25
29
  if (!('vms' in value) || value['vms'] === undefined)
@@ -36,6 +40,10 @@ export function ApplicationOverviewFromJSONTyped(json, ignoreDiscriminator) {
36
40
  return {
37
41
  'name': json['name'],
38
42
  'description': json['description'],
43
+ 'vendor': json['vendor'],
44
+ 'category': json['category'],
45
+ 'confidence': json['confidence'] == null ? undefined : json['confidence'],
46
+ 'containerizationCandidate': json['containerizationCandidate'] == null ? undefined : json['containerizationCandidate'],
39
47
  'vmCount': json['vmCount'],
40
48
  'vms': (json['vms'].map(ApplicationVMFromJSON)),
41
49
  };
@@ -50,6 +58,10 @@ export function ApplicationOverviewToJSONTyped(value, ignoreDiscriminator = fals
50
58
  return {
51
59
  'name': value['name'],
52
60
  'description': value['description'],
61
+ 'vendor': value['vendor'],
62
+ 'category': value['category'],
63
+ 'confidence': value['confidence'],
64
+ 'containerizationCandidate': value['containerizationCandidate'],
53
65
  'vmCount': value['vmCount'],
54
66
  'vms': (value['vms'].map(ApplicationVMToJSON)),
55
67
  };
@@ -0,0 +1,34 @@
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 HostPhysicalNIC
16
+ */
17
+ export interface HostPhysicalNIC {
18
+ /**
19
+ * Source physical NIC identity, scoped to the VM's host and collection.
20
+ */
21
+ id: string;
22
+ /**
23
+ * Reported link speed in Mbps; omitted when unknown. This is not measured throughput.
24
+ */
25
+ linkSpeedMbps?: number;
26
+ }
27
+ /**
28
+ * Check if a given object implements the HostPhysicalNIC interface.
29
+ */
30
+ export declare function instanceOfHostPhysicalNIC(value: object): value is HostPhysicalNIC;
31
+ export declare function HostPhysicalNICFromJSON(json: any): HostPhysicalNIC;
32
+ export declare function HostPhysicalNICFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostPhysicalNIC;
33
+ export declare function HostPhysicalNICToJSON(json: any): HostPhysicalNIC;
34
+ export declare function HostPhysicalNICToJSONTyped(value?: HostPhysicalNIC | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
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
+ * Check if a given object implements the HostPhysicalNIC interface.
16
+ */
17
+ export function instanceOfHostPhysicalNIC(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function HostPhysicalNICFromJSON(json) {
23
+ return HostPhysicalNICFromJSONTyped(json, false);
24
+ }
25
+ export function HostPhysicalNICFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'id': json['id'],
31
+ 'linkSpeedMbps': json['linkSpeedMbps'] == null ? undefined : json['linkSpeedMbps'],
32
+ };
33
+ }
34
+ export function HostPhysicalNICToJSON(json) {
35
+ return HostPhysicalNICToJSONTyped(json, false);
36
+ }
37
+ export function HostPhysicalNICToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'id': value['id'],
43
+ 'linkSpeedMbps': value['linkSpeedMbps'],
44
+ };
45
+ }
@@ -27,6 +27,10 @@ export interface OsInfo {
27
27
  * OS support tier per Red Hat KCS article 4234591
28
28
  */
29
29
  supportTier?: OsInfoSupportTierEnum;
30
+ /**
31
+ * 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.
32
+ */
33
+ mtvStatus?: OsInfoMtvStatusEnum;
30
34
  /**
31
35
  * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
32
36
  */
@@ -42,6 +46,14 @@ export declare const OsInfoSupportTierEnum: {
42
46
  readonly SpecialHandling: "special_handling";
43
47
  };
44
48
  export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const OsInfoMtvStatusEnum: {
53
+ readonly Green: "green";
54
+ readonly Blue: "blue";
55
+ };
56
+ export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
45
57
  /**
46
58
  * Check if a given object implements the OsInfo interface.
47
59
  */
@@ -20,6 +20,13 @@ export const OsInfoSupportTierEnum = {
20
20
  CommunitySupported: 'community_supported',
21
21
  SpecialHandling: 'special_handling',
22
22
  };
23
+ /**
24
+ * @export
25
+ */
26
+ export const OsInfoMtvStatusEnum = {
27
+ Green: 'green',
28
+ Blue: 'blue',
29
+ };
23
30
  /**
24
31
  * Check if a given object implements the OsInfo interface.
25
32
  */
@@ -41,6 +48,7 @@ export function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
41
48
  'count': json['count'],
42
49
  'supported': json['supported'],
43
50
  'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
51
+ 'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
44
52
  'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
45
53
  };
46
54
  }
@@ -55,6 +63,7 @@ export function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
55
63
  'count': value['count'],
56
64
  'supported': value['supported'],
57
65
  'supportTier': value['supportTier'],
66
+ 'mtvStatus': value['mtvStatus'],
58
67
  'upgradeRecommendation': value['upgradeRecommendation'],
59
68
  };
60
69
  }
@@ -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,61 @@
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
+ * Check if a given object implements the Product interface.
16
+ */
17
+ export function instanceOfProduct(value) {
18
+ if (!('key' in value) || value['key'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function ProductFromJSON(json) {
23
+ return ProductFromJSONTyped(json, false);
24
+ }
25
+ export function ProductFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'key': json['key'],
31
+ 'classId': json['classId'] == null ? undefined : json['classId'],
32
+ 'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
33
+ 'name': json['name'] == null ? undefined : json['name'],
34
+ 'vendor': json['vendor'] == null ? undefined : json['vendor'],
35
+ 'version': json['version'] == null ? undefined : json['version'],
36
+ 'fullVersion': json['fullVersion'] == null ? undefined : json['fullVersion'],
37
+ 'vendorUrl': json['vendorUrl'] == null ? undefined : json['vendorUrl'],
38
+ 'productUrl': json['productUrl'] == null ? undefined : json['productUrl'],
39
+ 'appUrl': json['appUrl'] == null ? undefined : json['appUrl'],
40
+ };
41
+ }
42
+ export function ProductToJSON(json) {
43
+ return ProductToJSONTyped(json, false);
44
+ }
45
+ export function ProductToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'key': value['key'],
51
+ 'classId': value['classId'],
52
+ 'instanceId': value['instanceId'],
53
+ 'name': value['name'],
54
+ 'vendor': value['vendor'],
55
+ 'version': value['version'],
56
+ 'fullVersion': value['fullVersion'],
57
+ 'vendorUrl': value['vendorUrl'],
58
+ 'productUrl': value['productUrl'],
59
+ 'appUrl': value['appUrl'],
60
+ };
61
+ }
@@ -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.
@@ -16,6 +16,8 @@ import { InspectionStatusFromJSON, InspectionStatusToJSON, } from './InspectionS
16
16
  import { GuestNetworkFromJSON, GuestNetworkToJSON, } from './GuestNetwork.js';
17
17
  import { VirtualMachineIssueFromJSON, VirtualMachineIssueToJSON, } from './VirtualMachineIssue.js';
18
18
  import { VirtualMachineDeviceFromJSON, VirtualMachineDeviceToJSON, } from './VirtualMachineDevice.js';
19
+ import { HostPhysicalNICFromJSON, HostPhysicalNICToJSON, } from './HostPhysicalNIC.js';
20
+ import { ProductFromJSON, ProductToJSON, } from './Product.js';
19
21
  import { VmUtilizationDetailsFromJSON, VmUtilizationDetailsToJSON, } from './VmUtilizationDetails.js';
20
22
  import { ProcessFromJSON, ProcessToJSON, } from './Process.js';
21
23
  import { VirtualMachineDiskFromJSON, VirtualMachineDiskToJSON, } from './VirtualMachineDisk.js';
@@ -88,6 +90,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
88
90
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
89
91
  'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
90
92
  'disks': (json['disks'].map(VirtualMachineDiskFromJSON)),
93
+ 'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : (json['hostPhysicalNics'].map(HostPhysicalNICFromJSON)),
91
94
  'nicCount': json['nicCount'],
92
95
  'nics': (json['nics'].map(VirtualMachineNICFromJSON)),
93
96
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDeviceFromJSON)),
@@ -96,6 +99,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
96
99
  'inspection': json['inspection'] == null ? undefined : VirtualMachineInspectionResultsFromJSON(json['inspection']),
97
100
  'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
98
101
  'processes': json['processes'] == null ? undefined : (json['processes'].map(ProcessFromJSON)),
102
+ 'products': json['products'] == null ? undefined : (json['products'].map(ProductFromJSON)),
99
103
  };
100
104
  }
101
105
  export function VirtualMachineDetailToJSON(json) {
@@ -137,6 +141,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
137
141
  'toolsStatus': value['toolsStatus'],
138
142
  'toolsRunningStatus': value['toolsRunningStatus'],
139
143
  'disks': (value['disks'].map(VirtualMachineDiskToJSON)),
144
+ 'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : (value['hostPhysicalNics'].map(HostPhysicalNICToJSON)),
140
145
  'nicCount': value['nicCount'],
141
146
  'nics': (value['nics'].map(VirtualMachineNICToJSON)),
142
147
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDeviceToJSON)),
@@ -145,5 +150,6 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
145
150
  'inspection': VirtualMachineInspectionResultsToJSON(value['inspection']),
146
151
  'utilization': VmUtilizationDetailsToJSON(value['utilization']),
147
152
  'processes': value['processes'] == null ? undefined : (value['processes'].map(ProcessToJSON)),
153
+ 'products': value['products'] == null ? undefined : (value['products'].map(ProductToJSON)),
148
154
  };
149
155
  }
@@ -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';
@@ -40,6 +40,7 @@ export * from './GroupResponse.js';
40
40
  export * from './GuestNetwork.js';
41
41
  export * from './Histogram.js';
42
42
  export * from './Host.js';
43
+ export * from './HostPhysicalNIC.js';
43
44
  export * from './HostStorageAdapter.js';
44
45
  export * from './HostStorageLun.js';
45
46
  export * from './Infra.js';
@@ -55,6 +56,7 @@ export * from './OsInfo.js';
55
56
  export * from './PairCapability.js';
56
57
  export * from './PairCapabilityRequest.js';
57
58
  export * from './Process.js';
59
+ export * from './Product.js';
58
60
  export * from './RDMBacking.js';
59
61
  export * from './RightsizingClusterResponse.js';
60
62
  export * from './RightsizingClusterUtilization.js';
@@ -24,6 +24,22 @@ export interface ApplicationOverview {
24
24
  * Application description
25
25
  */
26
26
  description: string;
27
+ /**
28
+ * Application vendor
29
+ */
30
+ vendor: string;
31
+ /**
32
+ * Application category
33
+ */
34
+ category: string;
35
+ /**
36
+ * Detection confidence percentage; defaults to 0 when omitted
37
+ */
38
+ confidence?: number;
39
+ /**
40
+ * Whether the application has a known container deployment option
41
+ */
42
+ containerizationCandidate?: boolean;
27
43
  /**
28
44
  * Number of VMs running this application
29
45
  */
@@ -27,6 +27,10 @@ function instanceOfApplicationOverview(value) {
27
27
  return false;
28
28
  if (!('description' in value) || value['description'] === undefined)
29
29
  return false;
30
+ if (!('vendor' in value) || value['vendor'] === undefined)
31
+ return false;
32
+ if (!('category' in value) || value['category'] === undefined)
33
+ return false;
30
34
  if (!('vmCount' in value) || value['vmCount'] === undefined)
31
35
  return false;
32
36
  if (!('vms' in value) || value['vms'] === undefined)
@@ -43,6 +47,10 @@ function ApplicationOverviewFromJSONTyped(json, ignoreDiscriminator) {
43
47
  return {
44
48
  'name': json['name'],
45
49
  'description': json['description'],
50
+ 'vendor': json['vendor'],
51
+ 'category': json['category'],
52
+ 'confidence': json['confidence'] == null ? undefined : json['confidence'],
53
+ 'containerizationCandidate': json['containerizationCandidate'] == null ? undefined : json['containerizationCandidate'],
46
54
  'vmCount': json['vmCount'],
47
55
  'vms': (json['vms'].map(ApplicationVM_js_1.ApplicationVMFromJSON)),
48
56
  };
@@ -57,6 +65,10 @@ function ApplicationOverviewToJSONTyped(value, ignoreDiscriminator = false) {
57
65
  return {
58
66
  'name': value['name'],
59
67
  'description': value['description'],
68
+ 'vendor': value['vendor'],
69
+ 'category': value['category'],
70
+ 'confidence': value['confidence'],
71
+ 'containerizationCandidate': value['containerizationCandidate'],
60
72
  'vmCount': value['vmCount'],
61
73
  'vms': (value['vms'].map(ApplicationVM_js_1.ApplicationVMToJSON)),
62
74
  };
@@ -0,0 +1,34 @@
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 HostPhysicalNIC
16
+ */
17
+ export interface HostPhysicalNIC {
18
+ /**
19
+ * Source physical NIC identity, scoped to the VM's host and collection.
20
+ */
21
+ id: string;
22
+ /**
23
+ * Reported link speed in Mbps; omitted when unknown. This is not measured throughput.
24
+ */
25
+ linkSpeedMbps?: number;
26
+ }
27
+ /**
28
+ * Check if a given object implements the HostPhysicalNIC interface.
29
+ */
30
+ export declare function instanceOfHostPhysicalNIC(value: object): value is HostPhysicalNIC;
31
+ export declare function HostPhysicalNICFromJSON(json: any): HostPhysicalNIC;
32
+ export declare function HostPhysicalNICFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostPhysicalNIC;
33
+ export declare function HostPhysicalNICToJSON(json: any): HostPhysicalNIC;
34
+ export declare function HostPhysicalNICToJSONTyped(value?: HostPhysicalNIC | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfHostPhysicalNIC = instanceOfHostPhysicalNIC;
17
+ exports.HostPhysicalNICFromJSON = HostPhysicalNICFromJSON;
18
+ exports.HostPhysicalNICFromJSONTyped = HostPhysicalNICFromJSONTyped;
19
+ exports.HostPhysicalNICToJSON = HostPhysicalNICToJSON;
20
+ exports.HostPhysicalNICToJSONTyped = HostPhysicalNICToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the HostPhysicalNIC interface.
23
+ */
24
+ function instanceOfHostPhysicalNIC(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function HostPhysicalNICFromJSON(json) {
30
+ return HostPhysicalNICFromJSONTyped(json, false);
31
+ }
32
+ function HostPhysicalNICFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ 'linkSpeedMbps': json['linkSpeedMbps'] == null ? undefined : json['linkSpeedMbps'],
39
+ };
40
+ }
41
+ function HostPhysicalNICToJSON(json) {
42
+ return HostPhysicalNICToJSONTyped(json, false);
43
+ }
44
+ function HostPhysicalNICToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'id': value['id'],
50
+ 'linkSpeedMbps': value['linkSpeedMbps'],
51
+ };
52
+ }
@@ -27,6 +27,10 @@ export interface OsInfo {
27
27
  * OS support tier per Red Hat KCS article 4234591
28
28
  */
29
29
  supportTier?: OsInfoSupportTierEnum;
30
+ /**
31
+ * 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.
32
+ */
33
+ mtvStatus?: OsInfoMtvStatusEnum;
30
34
  /**
31
35
  * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
32
36
  */
@@ -42,6 +46,14 @@ export declare const OsInfoSupportTierEnum: {
42
46
  readonly SpecialHandling: "special_handling";
43
47
  };
44
48
  export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const OsInfoMtvStatusEnum: {
53
+ readonly Green: "green";
54
+ readonly Blue: "blue";
55
+ };
56
+ export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
45
57
  /**
46
58
  * Check if a given object implements the OsInfo interface.
47
59
  */