@openshift-migration-advisor/agent-sdk 0.16.0 → 0.17.0-a72771aca4b0

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 (80) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +14 -9
  3. package/dist/apis/DefaultApi.d.ts +74 -85
  4. package/dist/apis/DefaultApi.js +80 -86
  5. package/dist/esm/apis/DefaultApi.d.ts +74 -85
  6. package/dist/esm/apis/DefaultApi.js +80 -86
  7. package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +38 -0
  8. package/dist/esm/models/BatchUpdateExclusionRequest.js +47 -0
  9. package/dist/esm/models/CollectorStartRequest.d.ts +12 -12
  10. package/dist/esm/models/CollectorStartRequest.js +5 -11
  11. package/dist/esm/models/Datastore.js +1 -1
  12. package/dist/esm/models/ExportInventory400Response.d.ts +32 -0
  13. package/dist/esm/models/ExportInventory400Response.js +41 -0
  14. package/dist/esm/models/ExportInventory500Response.d.ts +32 -0
  15. package/dist/esm/models/ExportInventory500Response.js +41 -0
  16. package/dist/esm/models/Host.js +3 -3
  17. package/dist/esm/models/IssuesBreakdown.d.ts +56 -0
  18. package/dist/esm/models/IssuesBreakdown.js +59 -0
  19. package/dist/esm/models/OsInfo.d.ts +16 -0
  20. package/dist/esm/models/OsInfo.js +11 -0
  21. package/dist/esm/models/Process.d.ts +38 -0
  22. package/dist/esm/models/Process.js +45 -0
  23. package/dist/esm/models/VMs.d.ts +7 -0
  24. package/dist/esm/models/VMs.js +3 -0
  25. package/dist/esm/models/VirtualMachineDetail.d.ts +7 -0
  26. package/dist/esm/models/VirtualMachineDetail.js +3 -0
  27. package/dist/esm/models/index.d.ts +5 -0
  28. package/dist/esm/models/index.js +5 -0
  29. package/dist/esm/runtime.d.ts +1 -0
  30. package/dist/esm/runtime.js +4 -0
  31. package/dist/models/BatchUpdateExclusionRequest.d.ts +38 -0
  32. package/dist/models/BatchUpdateExclusionRequest.js +54 -0
  33. package/dist/models/CollectorStartRequest.d.ts +12 -12
  34. package/dist/models/CollectorStartRequest.js +5 -11
  35. package/dist/models/Datastore.js +1 -1
  36. package/dist/models/ExportInventory400Response.d.ts +32 -0
  37. package/dist/models/ExportInventory400Response.js +48 -0
  38. package/dist/models/ExportInventory500Response.d.ts +32 -0
  39. package/dist/models/ExportInventory500Response.js +48 -0
  40. package/dist/models/Host.js +3 -3
  41. package/dist/models/IssuesBreakdown.d.ts +56 -0
  42. package/dist/models/IssuesBreakdown.js +66 -0
  43. package/dist/models/OsInfo.d.ts +16 -0
  44. package/dist/models/OsInfo.js +12 -0
  45. package/dist/models/Process.d.ts +38 -0
  46. package/dist/models/Process.js +52 -0
  47. package/dist/models/VMs.d.ts +7 -0
  48. package/dist/models/VMs.js +3 -0
  49. package/dist/models/VirtualMachineDetail.d.ts +7 -0
  50. package/dist/models/VirtualMachineDetail.js +3 -0
  51. package/dist/models/index.d.ts +5 -0
  52. package/dist/models/index.js +5 -0
  53. package/dist/runtime.d.ts +1 -0
  54. package/dist/runtime.js +5 -0
  55. package/docs/BatchUpdateExclusionRequest.md +36 -0
  56. package/docs/CollectorStartRequest.md +3 -2
  57. package/docs/DefaultApi.md +139 -139
  58. package/docs/ExportInventory400Response.md +34 -0
  59. package/docs/ExportInventory500Response.md +34 -0
  60. package/docs/IssuesBreakdown.md +42 -0
  61. package/docs/OsInfo.md +2 -0
  62. package/docs/Process.md +36 -0
  63. package/docs/VMs.md +2 -0
  64. package/docs/VirtualMachineDetail.md +2 -0
  65. package/package.json +1 -1
  66. package/src/apis/DefaultApi.ts +159 -159
  67. package/src/models/BatchUpdateExclusionRequest.ts +75 -0
  68. package/src/models/CollectorStartRequest.ts +17 -20
  69. package/src/models/Datastore.ts +1 -1
  70. package/src/models/ExportInventory400Response.ts +65 -0
  71. package/src/models/ExportInventory500Response.ts +65 -0
  72. package/src/models/Host.ts +3 -3
  73. package/src/models/IssuesBreakdown.ts +102 -0
  74. package/src/models/OsInfo.ts +21 -0
  75. package/src/models/Process.ts +74 -0
  76. package/src/models/VMs.ts +15 -0
  77. package/src/models/VirtualMachineDetail.ts +15 -0
  78. package/src/models/index.ts +5 -0
  79. package/src/runtime.ts +5 -0
  80. package/tsconfig.json +1 -1
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Start collection. Credentials are optional if previously stored via PUT /credentials.
14
14
  * @export
15
15
  * @interface CollectorStartRequest
16
16
  */
@@ -20,31 +20,31 @@ export interface CollectorStartRequest {
20
20
  * @type {string}
21
21
  * @memberof CollectorStartRequest
22
22
  */
23
- url: string;
23
+ url?: string;
24
24
  /**
25
- *
25
+ * vCenter username
26
26
  * @type {string}
27
27
  * @memberof CollectorStartRequest
28
28
  */
29
- username: string;
29
+ username?: string;
30
30
  /**
31
- *
31
+ * vCenter password
32
32
  * @type {string}
33
33
  * @memberof CollectorStartRequest
34
34
  */
35
- password: string;
35
+ password?: string;
36
36
  /**
37
- * PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
38
- * @type {string}
37
+ * Skip TLS certificate verification
38
+ * @type {boolean}
39
39
  * @memberof CollectorStartRequest
40
40
  */
41
- cacert?: string;
41
+ skipTls?: boolean;
42
42
  /**
43
- * When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
44
- * @type {boolean}
43
+ * PEM-encoded CA certificate bundle
44
+ * @type {string}
45
45
  * @memberof CollectorStartRequest
46
46
  */
47
- skipTls?: boolean;
47
+ cacert?: string;
48
48
  }
49
49
  /**
50
50
  * Check if a given object implements the CollectorStartRequest interface.
@@ -22,12 +22,6 @@ exports.CollectorStartRequestToJSONTyped = CollectorStartRequestToJSONTyped;
22
22
  * Check if a given object implements the CollectorStartRequest interface.
23
23
  */
24
24
  function instanceOfCollectorStartRequest(value) {
25
- if (!('url' in value) || value['url'] === undefined)
26
- return false;
27
- if (!('username' in value) || value['username'] === undefined)
28
- return false;
29
- if (!('password' in value) || value['password'] === undefined)
30
- return false;
31
25
  return true;
32
26
  }
33
27
  function CollectorStartRequestFromJSON(json) {
@@ -38,11 +32,11 @@ function CollectorStartRequestFromJSONTyped(json, ignoreDiscriminator) {
38
32
  return json;
39
33
  }
40
34
  return {
41
- 'url': json['url'],
42
- 'username': json['username'],
43
- 'password': json['password'],
44
- 'cacert': json['cacert'] == null ? undefined : json['cacert'],
35
+ 'url': json['url'] == null ? undefined : json['url'],
36
+ 'username': json['username'] == null ? undefined : json['username'],
37
+ 'password': json['password'] == null ? undefined : json['password'],
45
38
  'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
39
+ 'cacert': json['cacert'] == null ? undefined : json['cacert'],
46
40
  };
47
41
  }
48
42
  function CollectorStartRequestToJSON(json) {
@@ -56,7 +50,7 @@ function CollectorStartRequestToJSONTyped(value, ignoreDiscriminator = false) {
56
50
  'url': value['url'],
57
51
  'username': value['username'],
58
52
  'password': value['password'],
59
- 'cacert': value['cacert'],
60
53
  'skipTls': value['skipTls'],
54
+ 'cacert': value['cacert'],
61
55
  };
62
56
  }
@@ -56,7 +56,7 @@ function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'hardwareAcceleratedMove': json['hardwareAcceleratedMove'],
57
57
  'protocolType': json['protocolType'],
58
58
  'model': json['model'],
59
- 'hostId': json['hostId'] == null ? undefined : json['hostId'],
59
+ 'hostId': json['hostId'] === undefined ? undefined : json['hostId'] === null ? null : json['hostId'],
60
60
  };
61
61
  }
62
62
  function DatastoreToJSON(json) {
@@ -0,0 +1,32 @@
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: v1
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 ExportInventory400Response
16
+ */
17
+ export interface ExportInventory400Response {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExportInventory400Response
22
+ */
23
+ error?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ExportInventory400Response interface.
27
+ */
28
+ export declare function instanceOfExportInventory400Response(value: object): value is ExportInventory400Response;
29
+ export declare function ExportInventory400ResponseFromJSON(json: any): ExportInventory400Response;
30
+ export declare function ExportInventory400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportInventory400Response;
31
+ export declare function ExportInventory400ResponseToJSON(json: any): ExportInventory400Response;
32
+ export declare function ExportInventory400ResponseToJSONTyped(value?: ExportInventory400Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
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: v1
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.instanceOfExportInventory400Response = instanceOfExportInventory400Response;
17
+ exports.ExportInventory400ResponseFromJSON = ExportInventory400ResponseFromJSON;
18
+ exports.ExportInventory400ResponseFromJSONTyped = ExportInventory400ResponseFromJSONTyped;
19
+ exports.ExportInventory400ResponseToJSON = ExportInventory400ResponseToJSON;
20
+ exports.ExportInventory400ResponseToJSONTyped = ExportInventory400ResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ExportInventory400Response interface.
23
+ */
24
+ function instanceOfExportInventory400Response(value) {
25
+ return true;
26
+ }
27
+ function ExportInventory400ResponseFromJSON(json) {
28
+ return ExportInventory400ResponseFromJSONTyped(json, false);
29
+ }
30
+ function ExportInventory400ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'error': json['error'] == null ? undefined : json['error'],
36
+ };
37
+ }
38
+ function ExportInventory400ResponseToJSON(json) {
39
+ return ExportInventory400ResponseToJSONTyped(json, false);
40
+ }
41
+ function ExportInventory400ResponseToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'error': value['error'],
47
+ };
48
+ }
@@ -0,0 +1,32 @@
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: v1
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 ExportInventory500Response
16
+ */
17
+ export interface ExportInventory500Response {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ExportInventory500Response
22
+ */
23
+ error?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ExportInventory500Response interface.
27
+ */
28
+ export declare function instanceOfExportInventory500Response(value: object): value is ExportInventory500Response;
29
+ export declare function ExportInventory500ResponseFromJSON(json: any): ExportInventory500Response;
30
+ export declare function ExportInventory500ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportInventory500Response;
31
+ export declare function ExportInventory500ResponseToJSON(json: any): ExportInventory500Response;
32
+ export declare function ExportInventory500ResponseToJSONTyped(value?: ExportInventory500Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
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: v1
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.instanceOfExportInventory500Response = instanceOfExportInventory500Response;
17
+ exports.ExportInventory500ResponseFromJSON = ExportInventory500ResponseFromJSON;
18
+ exports.ExportInventory500ResponseFromJSONTyped = ExportInventory500ResponseFromJSONTyped;
19
+ exports.ExportInventory500ResponseToJSON = ExportInventory500ResponseToJSON;
20
+ exports.ExportInventory500ResponseToJSONTyped = ExportInventory500ResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ExportInventory500Response interface.
23
+ */
24
+ function instanceOfExportInventory500Response(value) {
25
+ return true;
26
+ }
27
+ function ExportInventory500ResponseFromJSON(json) {
28
+ return ExportInventory500ResponseFromJSONTyped(json, false);
29
+ }
30
+ function ExportInventory500ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'error': json['error'] == null ? undefined : json['error'],
36
+ };
37
+ }
38
+ function ExportInventory500ResponseToJSON(json) {
39
+ return ExportInventory500ResponseToJSONTyped(json, false);
40
+ }
41
+ function ExportInventory500ResponseToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'error': value['error'],
47
+ };
48
+ }
@@ -39,9 +39,9 @@ function HostFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'id': json['id'] == null ? undefined : json['id'],
40
40
  'vendor': json['vendor'],
41
41
  'model': json['model'],
42
- 'cpuCores': json['cpuCores'] == null ? undefined : json['cpuCores'],
43
- 'cpuSockets': json['cpuSockets'] == null ? undefined : json['cpuSockets'],
44
- 'memoryMB': json['memoryMB'] == null ? undefined : json['memoryMB'],
42
+ 'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
43
+ 'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
44
+ 'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
45
45
  };
46
46
  }
47
47
  function HostToJSON(json) {
@@ -0,0 +1,56 @@
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: v1
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 IssuesBreakdown
16
+ */
17
+ export interface IssuesBreakdown {
18
+ /**
19
+ * Number of VMs with at least one Critical issue
20
+ * @type {number}
21
+ * @memberof IssuesBreakdown
22
+ */
23
+ critical: number;
24
+ /**
25
+ * Number of VMs with at least one Warning issue
26
+ * @type {number}
27
+ * @memberof IssuesBreakdown
28
+ */
29
+ warning: number;
30
+ /**
31
+ * Number of VMs with at least one Information issue
32
+ * @type {number}
33
+ * @memberof IssuesBreakdown
34
+ */
35
+ information: number;
36
+ /**
37
+ * Number of VMs with at least one Advisory issue
38
+ * @type {number}
39
+ * @memberof IssuesBreakdown
40
+ */
41
+ advisory: number;
42
+ /**
43
+ * Number of VMs with at least one Error issue
44
+ * @type {number}
45
+ * @memberof IssuesBreakdown
46
+ */
47
+ error: number;
48
+ }
49
+ /**
50
+ * Check if a given object implements the IssuesBreakdown interface.
51
+ */
52
+ export declare function instanceOfIssuesBreakdown(value: object): value is IssuesBreakdown;
53
+ export declare function IssuesBreakdownFromJSON(json: any): IssuesBreakdown;
54
+ export declare function IssuesBreakdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssuesBreakdown;
55
+ export declare function IssuesBreakdownToJSON(json: any): IssuesBreakdown;
56
+ export declare function IssuesBreakdownToJSONTyped(value?: IssuesBreakdown | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
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: v1
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.instanceOfIssuesBreakdown = instanceOfIssuesBreakdown;
17
+ exports.IssuesBreakdownFromJSON = IssuesBreakdownFromJSON;
18
+ exports.IssuesBreakdownFromJSONTyped = IssuesBreakdownFromJSONTyped;
19
+ exports.IssuesBreakdownToJSON = IssuesBreakdownToJSON;
20
+ exports.IssuesBreakdownToJSONTyped = IssuesBreakdownToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the IssuesBreakdown interface.
23
+ */
24
+ function instanceOfIssuesBreakdown(value) {
25
+ if (!('critical' in value) || value['critical'] === undefined)
26
+ return false;
27
+ if (!('warning' in value) || value['warning'] === undefined)
28
+ return false;
29
+ if (!('information' in value) || value['information'] === undefined)
30
+ return false;
31
+ if (!('advisory' in value) || value['advisory'] === undefined)
32
+ return false;
33
+ if (!('error' in value) || value['error'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function IssuesBreakdownFromJSON(json) {
38
+ return IssuesBreakdownFromJSONTyped(json, false);
39
+ }
40
+ function IssuesBreakdownFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'critical': json['critical'],
46
+ 'warning': json['warning'],
47
+ 'information': json['information'],
48
+ 'advisory': json['advisory'],
49
+ 'error': json['error'],
50
+ };
51
+ }
52
+ function IssuesBreakdownToJSON(json) {
53
+ return IssuesBreakdownToJSONTyped(json, false);
54
+ }
55
+ function IssuesBreakdownToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'critical': value['critical'],
61
+ 'warning': value['warning'],
62
+ 'information': value['information'],
63
+ 'advisory': value['advisory'],
64
+ 'error': value['error'],
65
+ };
66
+ }
@@ -27,6 +27,12 @@ export interface OsInfo {
27
27
  * @memberof OsInfo
28
28
  */
29
29
  supported: boolean;
30
+ /**
31
+ * OS support tier per Red Hat KCS article 4234591
32
+ * @type {OsInfoSupportTierEnum}
33
+ * @memberof OsInfo
34
+ */
35
+ supportTier?: OsInfoSupportTierEnum;
30
36
  /**
31
37
  * Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
32
38
  * @type {string}
@@ -34,6 +40,16 @@ export interface OsInfo {
34
40
  */
35
41
  upgradeRecommendation?: string;
36
42
  }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const OsInfoSupportTierEnum: {
47
+ readonly Certified: "certified";
48
+ readonly VendorSupported: "vendor_supported";
49
+ readonly CommunitySupported: "community_supported";
50
+ readonly SpecialHandling: "special_handling";
51
+ };
52
+ export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
37
53
  /**
38
54
  * Check if a given object implements the OsInfo interface.
39
55
  */
@@ -13,11 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.OsInfoSupportTierEnum = void 0;
16
17
  exports.instanceOfOsInfo = instanceOfOsInfo;
17
18
  exports.OsInfoFromJSON = OsInfoFromJSON;
18
19
  exports.OsInfoFromJSONTyped = OsInfoFromJSONTyped;
19
20
  exports.OsInfoToJSON = OsInfoToJSON;
20
21
  exports.OsInfoToJSONTyped = OsInfoToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.OsInfoSupportTierEnum = {
26
+ Certified: 'certified',
27
+ VendorSupported: 'vendor_supported',
28
+ CommunitySupported: 'community_supported',
29
+ SpecialHandling: 'special_handling'
30
+ };
21
31
  /**
22
32
  * Check if a given object implements the OsInfo interface.
23
33
  */
@@ -38,6 +48,7 @@ function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
38
48
  return {
39
49
  'count': json['count'],
40
50
  'supported': json['supported'],
51
+ 'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
41
52
  'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
42
53
  };
43
54
  }
@@ -51,6 +62,7 @@ function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
51
62
  return {
52
63
  'count': value['count'],
53
64
  'supported': value['supported'],
65
+ 'supportTier': value['supportTier'],
54
66
  'upgradeRecommendation': value['upgradeRecommendation'],
55
67
  };
56
68
  }
@@ -0,0 +1,38 @@
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: v1
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 Process
16
+ */
17
+ export interface Process {
18
+ /**
19
+ * Name of the process
20
+ * @type {string}
21
+ * @memberof Process
22
+ */
23
+ name: string;
24
+ /**
25
+ * Version of the process
26
+ * @type {string}
27
+ * @memberof Process
28
+ */
29
+ version?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the Process interface.
33
+ */
34
+ export declare function instanceOfProcess(value: object): value is Process;
35
+ export declare function ProcessFromJSON(json: any): Process;
36
+ export declare function ProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): Process;
37
+ export declare function ProcessToJSON(json: any): Process;
38
+ export declare function ProcessToJSONTyped(value?: Process | 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: v1
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.instanceOfProcess = instanceOfProcess;
17
+ exports.ProcessFromJSON = ProcessFromJSON;
18
+ exports.ProcessFromJSONTyped = ProcessFromJSONTyped;
19
+ exports.ProcessToJSON = ProcessToJSON;
20
+ exports.ProcessToJSONTyped = ProcessToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Process interface.
23
+ */
24
+ function instanceOfProcess(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function ProcessFromJSON(json) {
30
+ return ProcessFromJSONTyped(json, false);
31
+ }
32
+ function ProcessFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ 'version': json['version'] == null ? undefined : json['version'],
39
+ };
40
+ }
41
+ function ProcessToJSON(json) {
42
+ return ProcessToJSONTyped(json, false);
43
+ }
44
+ function ProcessToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'name': value['name'],
50
+ 'version': value['version'],
51
+ };
52
+ }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { MigrationIssue } from './MigrationIssue.js';
13
13
  import type { OsInfo } from './OsInfo.js';
14
+ import type { IssuesBreakdown } from './IssuesBreakdown.js';
14
15
  import type { DiskSizeTierSummary } from './DiskSizeTierSummary.js';
15
16
  import type { DiskTypeSummary } from './DiskTypeSummary.js';
16
17
  import type { VMResourceBreakdown } from './VMResourceBreakdown.js';
@@ -177,6 +178,12 @@ export interface VMs {
177
178
  * @memberof VMs
178
179
  */
179
180
  migrationWarnings: Array<MigrationIssue>;
181
+ /**
182
+ *
183
+ * @type {IssuesBreakdown}
184
+ * @memberof VMs
185
+ */
186
+ issuesBreakdown?: IssuesBreakdown;
180
187
  }
181
188
  /**
182
189
  * Check if a given object implements the VMs interface.
@@ -21,6 +21,7 @@ exports.VMsToJSONTyped = VMsToJSONTyped;
21
21
  const runtime_js_1 = require("../runtime.js");
22
22
  const MigrationIssue_js_1 = require("./MigrationIssue.js");
23
23
  const OsInfo_js_1 = require("./OsInfo.js");
24
+ const IssuesBreakdown_js_1 = require("./IssuesBreakdown.js");
24
25
  const DiskSizeTierSummary_js_1 = require("./DiskSizeTierSummary.js");
25
26
  const DiskTypeSummary_js_1 = require("./DiskTypeSummary.js");
26
27
  const VMResourceBreakdown_js_1 = require("./VMResourceBreakdown.js");
@@ -78,6 +79,7 @@ function VMsFromJSONTyped(json, ignoreDiscriminator) {
78
79
  'osInfo': json['osInfo'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['osInfo'], OsInfo_js_1.OsInfoFromJSON)),
79
80
  'notMigratableReasons': (json['notMigratableReasons'].map(MigrationIssue_js_1.MigrationIssueFromJSON)),
80
81
  'migrationWarnings': (json['migrationWarnings'].map(MigrationIssue_js_1.MigrationIssueFromJSON)),
82
+ 'issuesBreakdown': json['issuesBreakdown'] == null ? undefined : (0, IssuesBreakdown_js_1.IssuesBreakdownFromJSON)(json['issuesBreakdown']),
81
83
  };
82
84
  }
83
85
  function VMsToJSON(json) {
@@ -110,5 +112,6 @@ function VMsToJSONTyped(value, ignoreDiscriminator = false) {
110
112
  'osInfo': value['osInfo'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['osInfo'], OsInfo_js_1.OsInfoToJSON)),
111
113
  'notMigratableReasons': (value['notMigratableReasons'].map(MigrationIssue_js_1.MigrationIssueToJSON)),
112
114
  'migrationWarnings': (value['migrationWarnings'].map(MigrationIssue_js_1.MigrationIssueToJSON)),
115
+ 'issuesBreakdown': (0, IssuesBreakdown_js_1.IssuesBreakdownToJSON)(value['issuesBreakdown']),
113
116
  };
114
117
  }
@@ -14,6 +14,7 @@ import type { GuestNetwork } from './GuestNetwork.js';
14
14
  import type { VMIssue } from './VMIssue.js';
15
15
  import type { VMDevice } from './VMDevice.js';
16
16
  import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
17
+ import type { Process } from './Process.js';
17
18
  import type { VMDisk } from './VMDisk.js';
18
19
  import type { VmInspectionResults } from './VmInspectionResults.js';
19
20
  /**
@@ -226,6 +227,12 @@ export interface VirtualMachineDetail {
226
227
  * @memberof VirtualMachineDetail
227
228
  */
228
229
  utilization?: VmUtilizationDetails;
230
+ /**
231
+ * List of processes detected on this VM
232
+ * @type {Array<Process>}
233
+ * @memberof VirtualMachineDetail
234
+ */
235
+ processes?: Array<Process>;
229
236
  }
230
237
  /**
231
238
  * Check if a given object implements the VirtualMachineDetail interface.
@@ -23,6 +23,7 @@ const GuestNetwork_js_1 = require("./GuestNetwork.js");
23
23
  const VMIssue_js_1 = require("./VMIssue.js");
24
24
  const VMDevice_js_1 = require("./VMDevice.js");
25
25
  const VmUtilizationDetails_js_1 = require("./VmUtilizationDetails.js");
26
+ const Process_js_1 = require("./Process.js");
26
27
  const VMDisk_js_1 = require("./VMDisk.js");
27
28
  const VmInspectionResults_js_1 = require("./VmInspectionResults.js");
28
29
  /**
@@ -91,6 +92,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
91
92
  'issues': json['issues'] == null ? undefined : (json['issues'].map(VMIssue_js_1.VMIssueFromJSON)),
92
93
  'inspection': json['inspection'] == null ? undefined : (0, VmInspectionResults_js_1.VmInspectionResultsFromJSON)(json['inspection']),
93
94
  'utilization': json['utilization'] == null ? undefined : (0, VmUtilizationDetails_js_1.VmUtilizationDetailsFromJSON)(json['utilization']),
95
+ 'processes': json['processes'] == null ? undefined : (json['processes'].map(Process_js_1.ProcessFromJSON)),
94
96
  };
95
97
  }
96
98
  function VirtualMachineDetailToJSON(json) {
@@ -135,5 +137,6 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
135
137
  'issues': value['issues'] == null ? undefined : (value['issues'].map(VMIssue_js_1.VMIssueToJSON)),
136
138
  'inspection': (0, VmInspectionResults_js_1.VmInspectionResultsToJSON)(value['inspection']),
137
139
  'utilization': (0, VmUtilizationDetails_js_1.VmUtilizationDetailsToJSON)(value['utilization']),
140
+ 'processes': value['processes'] == null ? undefined : (value['processes'].map(Process_js_1.ProcessToJSON)),
138
141
  };
139
142
  }