@openshift-migration-advisor/agent-sdk 0.31.0 → 0.32.0-b4969275f1eb

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 (138) hide show
  1. package/.openapi-generator/FILES +18 -2
  2. package/README.md +12 -4
  3. package/dist/apis/AppliancesApi.d.ts +64 -0
  4. package/dist/apis/AppliancesApi.js +72 -0
  5. package/dist/apis/CollectorApi.d.ts +0 -38
  6. package/dist/apis/CollectorApi.js +0 -59
  7. package/dist/apis/GroupsApi.d.ts +39 -0
  8. package/dist/apis/GroupsApi.js +40 -0
  9. package/dist/apis/InventoriesApi.d.ts +9 -9
  10. package/dist/apis/InventoriesApi.js +3 -3
  11. package/dist/apis/index.d.ts +1 -0
  12. package/dist/apis/index.js +1 -0
  13. package/dist/esm/apis/AppliancesApi.d.ts +64 -0
  14. package/dist/esm/apis/AppliancesApi.js +68 -0
  15. package/dist/esm/apis/CollectorApi.d.ts +0 -38
  16. package/dist/esm/apis/CollectorApi.js +0 -59
  17. package/dist/esm/apis/GroupsApi.d.ts +39 -0
  18. package/dist/esm/apis/GroupsApi.js +40 -0
  19. package/dist/esm/apis/InventoriesApi.d.ts +9 -9
  20. package/dist/esm/apis/InventoriesApi.js +3 -3
  21. package/dist/esm/apis/index.d.ts +1 -0
  22. package/dist/esm/apis/index.js +1 -0
  23. package/dist/esm/models/Appliance.d.ts +51 -0
  24. package/dist/esm/models/Appliance.js +64 -0
  25. package/dist/esm/models/ApplianceListResponse.d.ts +31 -0
  26. package/dist/esm/models/ApplianceListResponse.js +44 -0
  27. package/dist/esm/models/ApplicationOverview.d.ts +16 -0
  28. package/dist/esm/models/ApplicationOverview.js +12 -0
  29. package/dist/esm/models/CollectedInventory.d.ts +31 -0
  30. package/dist/esm/models/CollectedInventory.js +44 -0
  31. package/dist/esm/models/GroupResponse.d.ts +2 -2
  32. package/dist/esm/models/GroupResponse.js +3 -3
  33. package/dist/esm/models/Host.d.ts +10 -0
  34. package/dist/esm/models/Host.js +6 -0
  35. package/dist/esm/models/HostPhysicalNIC.d.ts +34 -0
  36. package/dist/esm/models/HostPhysicalNIC.js +45 -0
  37. package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
  38. package/dist/esm/models/HostStorageAdapter.js +55 -0
  39. package/dist/esm/models/HostStorageLun.d.ts +50 -0
  40. package/dist/esm/models/HostStorageLun.js +51 -0
  41. package/dist/esm/models/Inventory.d.ts +24 -2
  42. package/dist/esm/models/Inventory.js +17 -4
  43. package/dist/esm/models/OsInfo.d.ts +12 -0
  44. package/dist/esm/models/OsInfo.js +9 -0
  45. package/dist/esm/models/Product.d.ts +66 -0
  46. package/dist/esm/models/Product.js +61 -0
  47. package/dist/esm/models/UpdateInventory.d.ts +2 -2
  48. package/dist/esm/models/UpdateInventory.js +3 -3
  49. package/dist/esm/models/VirtualMachineDetail.d.ts +14 -0
  50. package/dist/esm/models/VirtualMachineDetail.js +8 -0
  51. package/dist/esm/models/VirtualMachineIdentity.d.ts +34 -0
  52. package/dist/esm/models/VirtualMachineIdentity.js +47 -0
  53. package/dist/esm/models/VirtualMachineNIC.d.ts +12 -0
  54. package/dist/esm/models/VirtualMachineNIC.js +6 -0
  55. package/dist/esm/models/index.d.ts +8 -1
  56. package/dist/esm/models/index.js +8 -1
  57. package/dist/models/Appliance.d.ts +51 -0
  58. package/dist/models/Appliance.js +71 -0
  59. package/dist/models/ApplianceListResponse.d.ts +31 -0
  60. package/dist/models/ApplianceListResponse.js +51 -0
  61. package/dist/models/ApplicationOverview.d.ts +16 -0
  62. package/dist/models/ApplicationOverview.js +12 -0
  63. package/dist/models/CollectedInventory.d.ts +31 -0
  64. package/dist/models/CollectedInventory.js +51 -0
  65. package/dist/models/GroupResponse.d.ts +2 -2
  66. package/dist/models/GroupResponse.js +3 -3
  67. package/dist/models/Host.d.ts +10 -0
  68. package/dist/models/Host.js +6 -0
  69. package/dist/models/HostPhysicalNIC.d.ts +34 -0
  70. package/dist/models/HostPhysicalNIC.js +52 -0
  71. package/dist/models/HostStorageAdapter.d.ts +58 -0
  72. package/dist/models/HostStorageAdapter.js +62 -0
  73. package/dist/models/HostStorageLun.d.ts +50 -0
  74. package/dist/models/HostStorageLun.js +58 -0
  75. package/dist/models/Inventory.d.ts +24 -2
  76. package/dist/models/Inventory.js +17 -4
  77. package/dist/models/OsInfo.d.ts +12 -0
  78. package/dist/models/OsInfo.js +10 -1
  79. package/dist/models/Product.d.ts +66 -0
  80. package/dist/models/Product.js +68 -0
  81. package/dist/models/UpdateInventory.d.ts +2 -2
  82. package/dist/models/UpdateInventory.js +3 -3
  83. package/dist/models/VirtualMachineDetail.d.ts +14 -0
  84. package/dist/models/VirtualMachineDetail.js +8 -0
  85. package/dist/models/VirtualMachineIdentity.d.ts +34 -0
  86. package/dist/models/VirtualMachineIdentity.js +54 -0
  87. package/dist/models/VirtualMachineNIC.d.ts +12 -0
  88. package/dist/models/VirtualMachineNIC.js +6 -0
  89. package/dist/models/index.d.ts +8 -1
  90. package/dist/models/index.js +8 -1
  91. package/docs/{Inventory1.md → Appliance.md} +16 -16
  92. package/docs/ApplianceListResponse.md +34 -0
  93. package/docs/AppliancesApi.md +76 -0
  94. package/docs/ApplicationOverview.md +8 -0
  95. package/docs/CollectedInventory.md +34 -0
  96. package/docs/CollectorApi.md +0 -70
  97. package/docs/GroupResponse.md +1 -1
  98. package/docs/GroupsApi.md +68 -0
  99. package/docs/Host.md +4 -0
  100. package/docs/HostPhysicalNIC.md +36 -0
  101. package/docs/HostStorageAdapter.md +49 -0
  102. package/docs/HostStorageLun.md +45 -0
  103. package/docs/InventoriesApi.md +4 -4
  104. package/docs/Inventory.md +12 -2
  105. package/docs/OsInfo.md +2 -0
  106. package/docs/Product.md +52 -0
  107. package/docs/UpdateInventory.md +1 -1
  108. package/docs/VirtualMachineDetail.md +6 -0
  109. package/docs/VirtualMachineIdentity.md +36 -0
  110. package/docs/VirtualMachineNIC.md +6 -0
  111. package/package.json +1 -1
  112. package/src/apis/AppliancesApi.ts +111 -0
  113. package/src/apis/CollectorApi.ts +0 -97
  114. package/src/apis/GroupsApi.ts +80 -0
  115. package/src/apis/InventoriesApi.ts +14 -14
  116. package/src/apis/index.ts +1 -0
  117. package/src/models/Appliance.ts +107 -0
  118. package/src/models/ApplianceListResponse.ts +72 -0
  119. package/src/models/ApplicationOverview.ts +26 -0
  120. package/src/models/CollectedInventory.ts +72 -0
  121. package/src/models/GroupResponse.ts +9 -9
  122. package/src/models/Host.ts +27 -0
  123. package/src/models/HostPhysicalNIC.ts +70 -0
  124. package/src/models/HostStorageAdapter.ts +105 -0
  125. package/src/models/HostStorageLun.ts +93 -0
  126. package/src/models/Inventory.ts +42 -11
  127. package/src/models/OsInfo.ts +15 -0
  128. package/src/models/Product.ts +118 -0
  129. package/src/models/UpdateInventory.ts +9 -9
  130. package/src/models/VirtualMachineDetail.ts +32 -0
  131. package/src/models/VirtualMachineIdentity.ts +71 -0
  132. package/src/models/VirtualMachineNIC.ts +18 -0
  133. package/src/models/index.ts +8 -1
  134. package/dist/esm/models/Inventory1.d.ts +0 -53
  135. package/dist/esm/models/Inventory1.js +0 -57
  136. package/dist/models/Inventory1.d.ts +0 -53
  137. package/dist/models/Inventory1.js +0 -64
  138. package/src/models/Inventory1.ts +0 -103
@@ -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
+ }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Inventory1 } from './Inventory1.js';
12
+ import type { Inventory } from './Inventory.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -23,7 +23,7 @@ export interface UpdateInventory {
23
23
  /**
24
24
  *
25
25
  */
26
- inventory: Inventory1;
26
+ inventory: Inventory;
27
27
  }
28
28
  /**
29
29
  * Check if a given object implements the UpdateInventory interface.
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { Inventory1FromJSON, Inventory1ToJSON, } from './Inventory1.js';
14
+ import { InventoryFromJSON, InventoryToJSON, } from './Inventory.js';
15
15
  /**
16
16
  * Check if a given object implements the UpdateInventory interface.
17
17
  */
@@ -31,7 +31,7 @@ export function UpdateInventoryFromJSONTyped(json, ignoreDiscriminator) {
31
31
  }
32
32
  return {
33
33
  'agentId': json['agentId'],
34
- 'inventory': Inventory1FromJSON(json['inventory']),
34
+ 'inventory': InventoryFromJSON(json['inventory']),
35
35
  };
36
36
  }
37
37
  export function UpdateInventoryToJSON(json) {
@@ -43,6 +43,6 @@ export function UpdateInventoryToJSONTyped(value, ignoreDiscriminator = false) {
43
43
  }
44
44
  return {
45
45
  'agentId': value['agentId'],
46
- 'inventory': Inventory1ToJSON(value['inventory']),
46
+ 'inventory': InventoryToJSON(value['inventory']),
47
47
  };
48
48
  }
@@ -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';
@@ -32,6 +34,10 @@ export interface VirtualMachineDetail {
32
34
  * Display name of the VirtualMachine
33
35
  */
34
36
  name: string;
37
+ /**
38
+ * Free-text notes/description for the VirtualMachine in vSphere
39
+ */
40
+ annotation?: string;
35
41
  /**
36
42
  * Identifier of the vCenter this VirtualMachine belongs to
37
43
  */
@@ -150,6 +156,10 @@ export interface VirtualMachineDetail {
150
156
  *
151
157
  */
152
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>;
153
163
  /**
154
164
  * Adapter count reported by the source; 0 when unavailable
155
165
  */
@@ -182,6 +192,10 @@ export interface VirtualMachineDetail {
182
192
  * List of processes detected on this VM
183
193
  */
184
194
  processes?: Array<Process>;
195
+ /**
196
+ * Products configured in the VM's vApp settings
197
+ */
198
+ products?: Array<Product>;
185
199
  }
186
200
  /**
187
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';
@@ -58,6 +60,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
58
60
  return {
59
61
  'id': json['id'],
60
62
  'name': json['name'],
63
+ 'annotation': json['annotation'] == null ? undefined : json['annotation'],
61
64
  'vCenterID': json['vCenterID'],
62
65
  'uuid': json['uuid'] == null ? undefined : json['uuid'],
63
66
  'firmware': json['firmware'] == null ? undefined : json['firmware'],
@@ -87,6 +90,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
87
90
  'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
88
91
  'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
89
92
  'disks': (json['disks'].map(VirtualMachineDiskFromJSON)),
93
+ 'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : (json['hostPhysicalNics'].map(HostPhysicalNICFromJSON)),
90
94
  'nicCount': json['nicCount'],
91
95
  'nics': (json['nics'].map(VirtualMachineNICFromJSON)),
92
96
  'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDeviceFromJSON)),
@@ -95,6 +99,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
95
99
  'inspection': json['inspection'] == null ? undefined : VirtualMachineInspectionResultsFromJSON(json['inspection']),
96
100
  'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
97
101
  'processes': json['processes'] == null ? undefined : (json['processes'].map(ProcessFromJSON)),
102
+ 'products': json['products'] == null ? undefined : (json['products'].map(ProductFromJSON)),
98
103
  };
99
104
  }
100
105
  export function VirtualMachineDetailToJSON(json) {
@@ -107,6 +112,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
107
112
  return {
108
113
  'id': value['id'],
109
114
  'name': value['name'],
115
+ 'annotation': value['annotation'],
110
116
  'vCenterID': value['vCenterID'],
111
117
  'uuid': value['uuid'],
112
118
  'firmware': value['firmware'],
@@ -135,6 +141,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
135
141
  'toolsStatus': value['toolsStatus'],
136
142
  'toolsRunningStatus': value['toolsRunningStatus'],
137
143
  'disks': (value['disks'].map(VirtualMachineDiskToJSON)),
144
+ 'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : (value['hostPhysicalNics'].map(HostPhysicalNICToJSON)),
138
145
  'nicCount': value['nicCount'],
139
146
  'nics': (value['nics'].map(VirtualMachineNICToJSON)),
140
147
  'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDeviceToJSON)),
@@ -143,5 +150,6 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
143
150
  'inspection': VirtualMachineInspectionResultsToJSON(value['inspection']),
144
151
  'utilization': VmUtilizationDetailsToJSON(value['utilization']),
145
152
  'processes': value['processes'] == null ? undefined : (value['processes'].map(ProcessToJSON)),
153
+ 'products': value['products'] == null ? undefined : (value['products'].map(ProductToJSON)),
146
154
  };
147
155
  }
@@ -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 VirtualMachineIdentity
16
+ */
17
+ export interface VirtualMachineIdentity {
18
+ /**
19
+ * VM ID
20
+ */
21
+ id: string;
22
+ /**
23
+ * VM name
24
+ */
25
+ name: string;
26
+ }
27
+ /**
28
+ * Check if a given object implements the VirtualMachineIdentity interface.
29
+ */
30
+ export declare function instanceOfVirtualMachineIdentity(value: object): value is VirtualMachineIdentity;
31
+ export declare function VirtualMachineIdentityFromJSON(json: any): VirtualMachineIdentity;
32
+ export declare function VirtualMachineIdentityFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineIdentity;
33
+ export declare function VirtualMachineIdentityToJSON(json: any): VirtualMachineIdentity;
34
+ export declare function VirtualMachineIdentityToJSONTyped(value?: VirtualMachineIdentity | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,47 @@
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 VirtualMachineIdentity interface.
16
+ */
17
+ export function instanceOfVirtualMachineIdentity(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function VirtualMachineIdentityFromJSON(json) {
25
+ return VirtualMachineIdentityFromJSONTyped(json, false);
26
+ }
27
+ export function VirtualMachineIdentityFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'id': json['id'],
33
+ 'name': json['name'],
34
+ };
35
+ }
36
+ export function VirtualMachineIdentityToJSON(json) {
37
+ return VirtualMachineIdentityToJSONTyped(json, false);
38
+ }
39
+ export function VirtualMachineIdentityToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'id': value['id'],
45
+ 'name': value['name'],
46
+ };
47
+ }
@@ -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
  */
@@ -26,6 +26,9 @@ export function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
26
26
  }
27
27
  return {
28
28
  'adapter': json['adapter'] == null ? undefined : json['adapter'],
29
+ 'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
30
+ 'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
31
+ 'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
29
32
  'mac': json['mac'] == null ? undefined : json['mac'],
30
33
  'network': json['network'] == null ? undefined : json['network'],
31
34
  'index': json['index'] == null ? undefined : json['index'],
@@ -40,6 +43,9 @@ export function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false)
40
43
  }
41
44
  return {
42
45
  'adapter': value['adapter'],
46
+ 'vlanId': value['vlanId'],
47
+ 'ipv4Addresses': value['ipv4Addresses'],
48
+ 'ipv6Addresses': value['ipv6Addresses'],
43
49
  'mac': value['mac'],
44
50
  'network': value['network'],
45
51
  'index': value['index'],
@@ -1,6 +1,8 @@
1
1
  export * from './AgentModeRequest.js';
2
2
  export * from './AgentStatus.js';
3
3
  export * from './AgentStatusConsoleConnection.js';
4
+ export * from './Appliance.js';
5
+ export * from './ApplianceListResponse.js';
4
6
  export * from './ApplicationListResponse.js';
5
7
  export * from './ApplicationOverview.js';
6
8
  export * from './ApplicationVM.js';
@@ -10,6 +12,7 @@ export * from './CapabilityStatus.js';
10
12
  export * from './CapabilityStatusCapabilities.js';
11
13
  export * from './ClusterFeatures.js';
12
14
  export * from './ClusterUtilization.js';
15
+ export * from './CollectedInventory.js';
13
16
  export * from './Collection.js';
14
17
  export * from './CollectionAggregate.js';
15
18
  export * from './CollectionComparisonDiff.js';
@@ -37,11 +40,13 @@ export * from './GroupResponse.js';
37
40
  export * from './GuestNetwork.js';
38
41
  export * from './Histogram.js';
39
42
  export * from './Host.js';
43
+ export * from './HostPhysicalNIC.js';
44
+ export * from './HostStorageAdapter.js';
45
+ export * from './HostStorageLun.js';
40
46
  export * from './Infra.js';
41
47
  export * from './InspectionStatus.js';
42
48
  export * from './InspectorStatus.js';
43
49
  export * from './Inventory.js';
44
- export * from './Inventory1.js';
45
50
  export * from './InventoryData.js';
46
51
  export * from './IssuesBreakdown.js';
47
52
  export * from './MigrationIssue.js';
@@ -51,6 +56,7 @@ export * from './OsInfo.js';
51
56
  export * from './PairCapability.js';
52
57
  export * from './PairCapabilityRequest.js';
53
58
  export * from './Process.js';
59
+ export * from './Product.js';
54
60
  export * from './RDMBacking.js';
55
61
  export * from './RightsizingClusterResponse.js';
56
62
  export * from './RightsizingClusterUtilization.js';
@@ -74,6 +80,7 @@ export * from './VirtualMachineDatastore.js';
74
80
  export * from './VirtualMachineDetail.js';
75
81
  export * from './VirtualMachineDevice.js';
76
82
  export * from './VirtualMachineDisk.js';
83
+ export * from './VirtualMachineIdentity.js';
77
84
  export * from './VirtualMachineInspectionConcern.js';
78
85
  export * from './VirtualMachineInspectionResults.js';
79
86
  export * from './VirtualMachineIssue.js';
@@ -3,6 +3,8 @@
3
3
  export * from './AgentModeRequest.js';
4
4
  export * from './AgentStatus.js';
5
5
  export * from './AgentStatusConsoleConnection.js';
6
+ export * from './Appliance.js';
7
+ export * from './ApplianceListResponse.js';
6
8
  export * from './ApplicationListResponse.js';
7
9
  export * from './ApplicationOverview.js';
8
10
  export * from './ApplicationVM.js';
@@ -12,6 +14,7 @@ export * from './CapabilityStatus.js';
12
14
  export * from './CapabilityStatusCapabilities.js';
13
15
  export * from './ClusterFeatures.js';
14
16
  export * from './ClusterUtilization.js';
17
+ export * from './CollectedInventory.js';
15
18
  export * from './Collection.js';
16
19
  export * from './CollectionAggregate.js';
17
20
  export * from './CollectionComparisonDiff.js';
@@ -39,11 +42,13 @@ export * from './GroupResponse.js';
39
42
  export * from './GuestNetwork.js';
40
43
  export * from './Histogram.js';
41
44
  export * from './Host.js';
45
+ export * from './HostPhysicalNIC.js';
46
+ export * from './HostStorageAdapter.js';
47
+ export * from './HostStorageLun.js';
42
48
  export * from './Infra.js';
43
49
  export * from './InspectionStatus.js';
44
50
  export * from './InspectorStatus.js';
45
51
  export * from './Inventory.js';
46
- export * from './Inventory1.js';
47
52
  export * from './InventoryData.js';
48
53
  export * from './IssuesBreakdown.js';
49
54
  export * from './MigrationIssue.js';
@@ -53,6 +58,7 @@ export * from './OsInfo.js';
53
58
  export * from './PairCapability.js';
54
59
  export * from './PairCapabilityRequest.js';
55
60
  export * from './Process.js';
61
+ export * from './Product.js';
56
62
  export * from './RDMBacking.js';
57
63
  export * from './RightsizingClusterResponse.js';
58
64
  export * from './RightsizingClusterUtilization.js';
@@ -76,6 +82,7 @@ export * from './VirtualMachineDatastore.js';
76
82
  export * from './VirtualMachineDetail.js';
77
83
  export * from './VirtualMachineDevice.js';
78
84
  export * from './VirtualMachineDisk.js';
85
+ export * from './VirtualMachineIdentity.js';
79
86
  export * from './VirtualMachineInspectionConcern.js';
80
87
  export * from './VirtualMachineInspectionResults.js';
81
88
  export * from './VirtualMachineIssue.js';
@@ -0,0 +1,51 @@
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 { VirtualMachineIdentity } from './VirtualMachineIdentity.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Appliance
17
+ */
18
+ export interface Appliance {
19
+ /**
20
+ * Appliance product name
21
+ */
22
+ name: string;
23
+ /**
24
+ * Appliance vendor; defaults to Unknown when not reported
25
+ */
26
+ vendor: string;
27
+ /**
28
+ * Appliance product version; defaults to empty when not reported
29
+ */
30
+ version: string;
31
+ /**
32
+ *
33
+ */
34
+ confidence: number;
35
+ /**
36
+ * Number of VMs running this appliance
37
+ */
38
+ vmCount: number;
39
+ /**
40
+ *
41
+ */
42
+ vms: Array<VirtualMachineIdentity>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the Appliance interface.
46
+ */
47
+ export declare function instanceOfAppliance(value: object): value is Appliance;
48
+ export declare function ApplianceFromJSON(json: any): Appliance;
49
+ export declare function ApplianceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Appliance;
50
+ export declare function ApplianceToJSON(json: any): Appliance;
51
+ export declare function ApplianceToJSONTyped(value?: Appliance | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
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.instanceOfAppliance = instanceOfAppliance;
17
+ exports.ApplianceFromJSON = ApplianceFromJSON;
18
+ exports.ApplianceFromJSONTyped = ApplianceFromJSONTyped;
19
+ exports.ApplianceToJSON = ApplianceToJSON;
20
+ exports.ApplianceToJSONTyped = ApplianceToJSONTyped;
21
+ const VirtualMachineIdentity_js_1 = require("./VirtualMachineIdentity.js");
22
+ /**
23
+ * Check if a given object implements the Appliance interface.
24
+ */
25
+ function instanceOfAppliance(value) {
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ if (!('vendor' in value) || value['vendor'] === undefined)
29
+ return false;
30
+ if (!('version' in value) || value['version'] === undefined)
31
+ return false;
32
+ if (!('confidence' in value) || value['confidence'] === undefined)
33
+ return false;
34
+ if (!('vmCount' in value) || value['vmCount'] === undefined)
35
+ return false;
36
+ if (!('vms' in value) || value['vms'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function ApplianceFromJSON(json) {
41
+ return ApplianceFromJSONTyped(json, false);
42
+ }
43
+ function ApplianceFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'name': json['name'],
49
+ 'vendor': json['vendor'],
50
+ 'version': json['version'],
51
+ 'confidence': json['confidence'],
52
+ 'vmCount': json['vmCount'],
53
+ 'vms': (json['vms'].map(VirtualMachineIdentity_js_1.VirtualMachineIdentityFromJSON)),
54
+ };
55
+ }
56
+ function ApplianceToJSON(json) {
57
+ return ApplianceToJSONTyped(json, false);
58
+ }
59
+ function ApplianceToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'name': value['name'],
65
+ 'vendor': value['vendor'],
66
+ 'version': value['version'],
67
+ 'confidence': value['confidence'],
68
+ 'vmCount': value['vmCount'],
69
+ 'vms': (value['vms'].map(VirtualMachineIdentity_js_1.VirtualMachineIdentityToJSON)),
70
+ };
71
+ }