@openshift-migration-advisor/agent-sdk 0.17.0-fa395f816b50 → 0.18.0-c896a2e1a4de

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 (50) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +5 -4
  3. package/dist/apis/DefaultApi.d.ts +0 -85
  4. package/dist/apis/DefaultApi.js +0 -86
  5. package/dist/esm/apis/DefaultApi.d.ts +0 -85
  6. package/dist/esm/apis/DefaultApi.js +0 -86
  7. package/dist/esm/models/Datastore.d.ts +7 -0
  8. package/dist/esm/models/Datastore.js +3 -0
  9. package/dist/esm/models/IssuesBreakdown.d.ts +56 -0
  10. package/dist/esm/models/IssuesBreakdown.js +59 -0
  11. package/dist/esm/models/Process.d.ts +38 -0
  12. package/dist/esm/models/Process.js +45 -0
  13. package/dist/esm/models/StorageIoConfiguration.d.ts +58 -0
  14. package/dist/esm/models/StorageIoConfiguration.js +54 -0
  15. package/dist/esm/models/VMs.d.ts +7 -0
  16. package/dist/esm/models/VMs.js +3 -0
  17. package/dist/esm/models/VirtualMachineDetail.d.ts +7 -0
  18. package/dist/esm/models/VirtualMachineDetail.js +3 -0
  19. package/dist/esm/models/index.d.ts +3 -0
  20. package/dist/esm/models/index.js +3 -0
  21. package/dist/models/Datastore.d.ts +7 -0
  22. package/dist/models/Datastore.js +3 -0
  23. package/dist/models/IssuesBreakdown.d.ts +56 -0
  24. package/dist/models/IssuesBreakdown.js +66 -0
  25. package/dist/models/Process.d.ts +38 -0
  26. package/dist/models/Process.js +52 -0
  27. package/dist/models/StorageIoConfiguration.d.ts +58 -0
  28. package/dist/models/StorageIoConfiguration.js +62 -0
  29. package/dist/models/VMs.d.ts +7 -0
  30. package/dist/models/VMs.js +3 -0
  31. package/dist/models/VirtualMachineDetail.d.ts +7 -0
  32. package/dist/models/VirtualMachineDetail.js +3 -0
  33. package/dist/models/index.d.ts +3 -0
  34. package/dist/models/index.js +3 -0
  35. package/docs/Datastore.md +2 -0
  36. package/docs/DefaultApi.md +0 -139
  37. package/docs/IssuesBreakdown.md +42 -0
  38. package/docs/Process.md +36 -0
  39. package/docs/StorageIoConfiguration.md +40 -0
  40. package/docs/VMs.md +2 -0
  41. package/docs/VirtualMachineDetail.md +2 -0
  42. package/package.json +1 -1
  43. package/src/apis/DefaultApi.ts +0 -159
  44. package/src/models/Datastore.ts +16 -0
  45. package/src/models/IssuesBreakdown.ts +102 -0
  46. package/src/models/Process.ts +74 -0
  47. package/src/models/StorageIoConfiguration.ts +100 -0
  48. package/src/models/VMs.ts +15 -0
  49. package/src/models/VirtualMachineDetail.ts +15 -0
  50. package/src/models/index.ts +3 -0
@@ -300,10 +300,6 @@ export interface GetInventoryRequest {
300
300
  groupId?: string;
301
301
  }
302
302
 
303
- export interface GetLatestRightsizingClustersRequest {
304
- byExpression?: string;
305
- }
306
-
307
303
  export interface GetRightsizingReportRequest {
308
304
  reportId: string;
309
305
  }
@@ -313,11 +309,6 @@ export interface GetRightsizingReportClusterRequest {
313
309
  clusterId: string;
314
310
  }
315
311
 
316
- export interface GetRightsizingReportClustersRequest {
317
- reportId: string;
318
- byExpression?: string;
319
- }
320
-
321
312
  export interface GetVMRequest {
322
313
  id: string;
323
314
  }
@@ -897,32 +888,6 @@ export interface DefaultApiInterface {
897
888
  */
898
889
  getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInventory200Response>;
899
890
 
900
- /**
901
- * Creates request options for getLatestRightsizingClusters without sending the request
902
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
903
- * @deprecated
904
- * @throws {RequiredError}
905
- * @memberof DefaultApiInterface
906
- */
907
- getLatestRightsizingClustersRequestOpts(requestParameters: GetLatestRightsizingClustersRequest): Promise<runtime.RequestOpts>;
908
-
909
- /**
910
- *
911
- * @summary Get cluster-level utilization aggregates for the latest completed report
912
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
913
- * @param {*} [options] Override http request option.
914
- * @deprecated
915
- * @throws {RequiredError}
916
- * @memberof DefaultApiInterface
917
- */
918
- getLatestRightsizingClustersRaw(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
919
-
920
- /**
921
- * Get cluster-level utilization aggregates for the latest completed report
922
- * @deprecated
923
- */
924
- getLatestRightsizingClusters(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
925
-
926
891
  /**
927
892
  * Creates request options for getRightsizingReport without sending the request
928
893
  * @param {string} reportId Report UUID
@@ -971,34 +936,6 @@ export interface DefaultApiInterface {
971
936
  */
972
937
  getRightsizingReportCluster(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
973
938
 
974
- /**
975
- * Creates request options for getRightsizingReportClusters without sending the request
976
- * @param {string} reportId Rightsizing report UUID
977
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
978
- * @deprecated
979
- * @throws {RequiredError}
980
- * @memberof DefaultApiInterface
981
- */
982
- getRightsizingReportClustersRequestOpts(requestParameters: GetRightsizingReportClustersRequest): Promise<runtime.RequestOpts>;
983
-
984
- /**
985
- *
986
- * @summary Get cluster-level utilization aggregates for a specific report
987
- * @param {string} reportId Rightsizing report UUID
988
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
989
- * @param {*} [options] Override http request option.
990
- * @deprecated
991
- * @throws {RequiredError}
992
- * @memberof DefaultApiInterface
993
- */
994
- getRightsizingReportClustersRaw(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
995
-
996
- /**
997
- * Get cluster-level utilization aggregates for a specific report
998
- * @deprecated
999
- */
1000
- getRightsizingReportClusters(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
1001
-
1002
939
  /**
1003
940
  * Creates request options for getVM without sending the request
1004
941
  * @param {string} id VirtualMachine id
@@ -2532,50 +2469,6 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
2532
2469
  return await response.value();
2533
2470
  }
2534
2471
 
2535
- /**
2536
- * Creates request options for getLatestRightsizingClusters without sending the request
2537
- * @deprecated
2538
- */
2539
- async getLatestRightsizingClustersRequestOpts(requestParameters: GetLatestRightsizingClustersRequest): Promise<runtime.RequestOpts> {
2540
- const queryParameters: any = {};
2541
-
2542
- if (requestParameters['byExpression'] != null) {
2543
- queryParameters['byExpression'] = requestParameters['byExpression'];
2544
- }
2545
-
2546
- const headerParameters: runtime.HTTPHeaders = {};
2547
-
2548
-
2549
- let urlPath = `/cluster_rightsizing`;
2550
-
2551
- return {
2552
- path: urlPath,
2553
- method: 'GET',
2554
- headers: headerParameters,
2555
- query: queryParameters,
2556
- };
2557
- }
2558
-
2559
- /**
2560
- * Get cluster-level utilization aggregates for the latest completed report
2561
- * @deprecated
2562
- */
2563
- async getLatestRightsizingClustersRaw(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>> {
2564
- const requestOptions = await this.getLatestRightsizingClustersRequestOpts(requestParameters);
2565
- const response = await this.request(requestOptions, initOverrides);
2566
-
2567
- return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingClusterListResponseFromJSON(jsonValue));
2568
- }
2569
-
2570
- /**
2571
- * Get cluster-level utilization aggregates for the latest completed report
2572
- * @deprecated
2573
- */
2574
- async getLatestRightsizingClusters(requestParameters: GetLatestRightsizingClustersRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse> {
2575
- const response = await this.getLatestRightsizingClustersRaw(requestParameters, initOverrides);
2576
- return await response.value();
2577
- }
2578
-
2579
2472
  /**
2580
2473
  * Creates request options for getRightsizingReport without sending the request
2581
2474
  */
@@ -2674,58 +2567,6 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
2674
2567
  return await response.value();
2675
2568
  }
2676
2569
 
2677
- /**
2678
- * Creates request options for getRightsizingReportClusters without sending the request
2679
- * @deprecated
2680
- */
2681
- async getRightsizingReportClustersRequestOpts(requestParameters: GetRightsizingReportClustersRequest): Promise<runtime.RequestOpts> {
2682
- if (requestParameters['reportId'] == null) {
2683
- throw new runtime.RequiredError(
2684
- 'reportId',
2685
- 'Required parameter "reportId" was null or undefined when calling getRightsizingReportClusters().'
2686
- );
2687
- }
2688
-
2689
- const queryParameters: any = {};
2690
-
2691
- if (requestParameters['byExpression'] != null) {
2692
- queryParameters['byExpression'] = requestParameters['byExpression'];
2693
- }
2694
-
2695
- const headerParameters: runtime.HTTPHeaders = {};
2696
-
2697
-
2698
- let urlPath = `/cluster_rightsizing/{report_id}`;
2699
- urlPath = urlPath.replace('{report_id}', encodeURIComponent(String(requestParameters['reportId'])));
2700
-
2701
- return {
2702
- path: urlPath,
2703
- method: 'GET',
2704
- headers: headerParameters,
2705
- query: queryParameters,
2706
- };
2707
- }
2708
-
2709
- /**
2710
- * Get cluster-level utilization aggregates for a specific report
2711
- * @deprecated
2712
- */
2713
- async getRightsizingReportClustersRaw(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>> {
2714
- const requestOptions = await this.getRightsizingReportClustersRequestOpts(requestParameters);
2715
- const response = await this.request(requestOptions, initOverrides);
2716
-
2717
- return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingClusterListResponseFromJSON(jsonValue));
2718
- }
2719
-
2720
- /**
2721
- * Get cluster-level utilization aggregates for a specific report
2722
- * @deprecated
2723
- */
2724
- async getRightsizingReportClusters(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse> {
2725
- const response = await this.getRightsizingReportClustersRaw(requestParameters, initOverrides);
2726
- return await response.value();
2727
- }
2728
-
2729
2570
  /**
2730
2571
  * Creates request options for getVM without sending the request
2731
2572
  */
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
+ import type { StorageIoConfiguration } from './StorageIoConfiguration.js';
17
+ import {
18
+ StorageIoConfigurationFromJSON,
19
+ StorageIoConfigurationFromJSONTyped,
20
+ StorageIoConfigurationToJSON,
21
+ StorageIoConfigurationToJSONTyped,
22
+ } from './StorageIoConfiguration.js';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -73,6 +81,12 @@ export interface Datastore {
73
81
  * @memberof Datastore
74
82
  */
75
83
  hostId?: string | null;
84
+ /**
85
+ *
86
+ * @type {StorageIoConfiguration}
87
+ * @memberof Datastore
88
+ */
89
+ storageIoConfiguration?: StorageIoConfiguration;
76
90
  }
77
91
 
78
92
  /**
@@ -109,6 +123,7 @@ export function DatastoreFromJSONTyped(json: any, ignoreDiscriminator: boolean):
109
123
  'protocolType': json['protocolType'],
110
124
  'model': json['model'],
111
125
  'hostId': json['hostId'] === undefined ? undefined : json['hostId'] === null ? null : json['hostId'],
126
+ 'storageIoConfiguration': json['storageIoConfiguration'] == null ? undefined : StorageIoConfigurationFromJSON(json['storageIoConfiguration']),
112
127
  };
113
128
  }
114
129
 
@@ -132,6 +147,7 @@ export function DatastoreToJSONTyped(value?: Datastore | null, ignoreDiscriminat
132
147
  'protocolType': value['protocolType'],
133
148
  'model': value['model'],
134
149
  'hostId': value['hostId'],
150
+ 'storageIoConfiguration': StorageIoConfigurationToJSON(value['storageIoConfiguration']),
135
151
  };
136
152
  }
137
153
 
@@ -0,0 +1,102 @@
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: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface IssuesBreakdown
20
+ */
21
+ export interface IssuesBreakdown {
22
+ /**
23
+ * Number of VMs with at least one Critical issue
24
+ * @type {number}
25
+ * @memberof IssuesBreakdown
26
+ */
27
+ critical: number;
28
+ /**
29
+ * Number of VMs with at least one Warning issue
30
+ * @type {number}
31
+ * @memberof IssuesBreakdown
32
+ */
33
+ warning: number;
34
+ /**
35
+ * Number of VMs with at least one Information issue
36
+ * @type {number}
37
+ * @memberof IssuesBreakdown
38
+ */
39
+ information: number;
40
+ /**
41
+ * Number of VMs with at least one Advisory issue
42
+ * @type {number}
43
+ * @memberof IssuesBreakdown
44
+ */
45
+ advisory: number;
46
+ /**
47
+ * Number of VMs with at least one Error issue
48
+ * @type {number}
49
+ * @memberof IssuesBreakdown
50
+ */
51
+ error: number;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the IssuesBreakdown interface.
56
+ */
57
+ export function instanceOfIssuesBreakdown(value: object): value is IssuesBreakdown {
58
+ if (!('critical' in value) || value['critical'] === undefined) return false;
59
+ if (!('warning' in value) || value['warning'] === undefined) return false;
60
+ if (!('information' in value) || value['information'] === undefined) return false;
61
+ if (!('advisory' in value) || value['advisory'] === undefined) return false;
62
+ if (!('error' in value) || value['error'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function IssuesBreakdownFromJSON(json: any): IssuesBreakdown {
67
+ return IssuesBreakdownFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function IssuesBreakdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssuesBreakdown {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'critical': json['critical'],
77
+ 'warning': json['warning'],
78
+ 'information': json['information'],
79
+ 'advisory': json['advisory'],
80
+ 'error': json['error'],
81
+ };
82
+ }
83
+
84
+ export function IssuesBreakdownToJSON(json: any): IssuesBreakdown {
85
+ return IssuesBreakdownToJSONTyped(json, false);
86
+ }
87
+
88
+ export function IssuesBreakdownToJSONTyped(value?: IssuesBreakdown | null, ignoreDiscriminator: boolean = false): any {
89
+ if (value == null) {
90
+ return value;
91
+ }
92
+
93
+ return {
94
+
95
+ 'critical': value['critical'],
96
+ 'warning': value['warning'],
97
+ 'information': value['information'],
98
+ 'advisory': value['advisory'],
99
+ 'error': value['error'],
100
+ };
101
+ }
102
+
@@ -0,0 +1,74 @@
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: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface Process
20
+ */
21
+ export interface Process {
22
+ /**
23
+ * Name of the process
24
+ * @type {string}
25
+ * @memberof Process
26
+ */
27
+ name: string;
28
+ /**
29
+ * Version of the process
30
+ * @type {string}
31
+ * @memberof Process
32
+ */
33
+ version?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the Process interface.
38
+ */
39
+ export function instanceOfProcess(value: object): value is Process {
40
+ if (!('name' in value) || value['name'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function ProcessFromJSON(json: any): Process {
45
+ return ProcessFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function ProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): Process {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'name': json['name'],
55
+ 'version': json['version'] == null ? undefined : json['version'],
56
+ };
57
+ }
58
+
59
+ export function ProcessToJSON(json: any): Process {
60
+ return ProcessToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ProcessToJSONTyped(value?: Process | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'name': value['name'],
71
+ 'version': value['version'],
72
+ };
73
+ }
74
+
@@ -0,0 +1,100 @@
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: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime.js';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface StorageIoConfiguration
20
+ */
21
+ export interface StorageIoConfiguration {
22
+ /**
23
+ * Whether Storage I/O Control is enabled for this datastore
24
+ * @type {boolean}
25
+ * @memberof StorageIoConfiguration
26
+ */
27
+ enabled?: boolean;
28
+ /**
29
+ * Latency threshold in milliseconds beyond which the storage array is considered congested
30
+ * @type {number}
31
+ * @memberof StorageIoConfiguration
32
+ */
33
+ congestionThreshold?: number;
34
+ /**
35
+ * Mode for congestion threshold calculation
36
+ * @type {StorageIoConfigurationCongestionThresholdModeEnum}
37
+ * @memberof StorageIoConfiguration
38
+ */
39
+ congestionThresholdMode?: StorageIoConfigurationCongestionThresholdModeEnum;
40
+ /**
41
+ * Percent of peak throughput
42
+ * @type {number}
43
+ * @memberof StorageIoConfiguration
44
+ */
45
+ percentOfPeakThroughput?: number;
46
+ }
47
+
48
+
49
+ /**
50
+ * @export
51
+ */
52
+ export const StorageIoConfigurationCongestionThresholdModeEnum = {
53
+ Automatic: 'automatic',
54
+ Manual: 'manual'
55
+ } as const;
56
+ export type StorageIoConfigurationCongestionThresholdModeEnum = typeof StorageIoConfigurationCongestionThresholdModeEnum[keyof typeof StorageIoConfigurationCongestionThresholdModeEnum];
57
+
58
+
59
+ /**
60
+ * Check if a given object implements the StorageIoConfiguration interface.
61
+ */
62
+ export function instanceOfStorageIoConfiguration(value: object): value is StorageIoConfiguration {
63
+ return true;
64
+ }
65
+
66
+ export function StorageIoConfigurationFromJSON(json: any): StorageIoConfiguration {
67
+ return StorageIoConfigurationFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function StorageIoConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageIoConfiguration {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
77
+ 'congestionThreshold': json['congestionThreshold'] == null ? undefined : json['congestionThreshold'],
78
+ 'congestionThresholdMode': json['congestionThresholdMode'] == null ? undefined : json['congestionThresholdMode'],
79
+ 'percentOfPeakThroughput': json['percentOfPeakThroughput'] == null ? undefined : json['percentOfPeakThroughput'],
80
+ };
81
+ }
82
+
83
+ export function StorageIoConfigurationToJSON(json: any): StorageIoConfiguration {
84
+ return StorageIoConfigurationToJSONTyped(json, false);
85
+ }
86
+
87
+ export function StorageIoConfigurationToJSONTyped(value?: StorageIoConfiguration | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'enabled': value['enabled'],
95
+ 'congestionThreshold': value['congestionThreshold'],
96
+ 'congestionThresholdMode': value['congestionThresholdMode'],
97
+ 'percentOfPeakThroughput': value['percentOfPeakThroughput'],
98
+ };
99
+ }
100
+
package/src/models/VMs.ts CHANGED
@@ -27,6 +27,13 @@ import {
27
27
  OsInfoToJSON,
28
28
  OsInfoToJSONTyped,
29
29
  } from './OsInfo.js';
30
+ import type { IssuesBreakdown } from './IssuesBreakdown.js';
31
+ import {
32
+ IssuesBreakdownFromJSON,
33
+ IssuesBreakdownFromJSONTyped,
34
+ IssuesBreakdownToJSON,
35
+ IssuesBreakdownToJSONTyped,
36
+ } from './IssuesBreakdown.js';
30
37
  import type { DiskSizeTierSummary } from './DiskSizeTierSummary.js';
31
38
  import {
32
39
  DiskSizeTierSummaryFromJSON,
@@ -190,6 +197,12 @@ export interface VMs {
190
197
  * @memberof VMs
191
198
  */
192
199
  migrationWarnings: Array<MigrationIssue>;
200
+ /**
201
+ *
202
+ * @type {IssuesBreakdown}
203
+ * @memberof VMs
204
+ */
205
+ issuesBreakdown?: IssuesBreakdown;
193
206
  }
194
207
 
195
208
  /**
@@ -240,6 +253,7 @@ export function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs {
240
253
  'osInfo': json['osInfo'] == null ? undefined : (mapValues(json['osInfo'], OsInfoFromJSON)),
241
254
  'notMigratableReasons': ((json['notMigratableReasons'] as Array<any>).map(MigrationIssueFromJSON)),
242
255
  'migrationWarnings': ((json['migrationWarnings'] as Array<any>).map(MigrationIssueFromJSON)),
256
+ 'issuesBreakdown': json['issuesBreakdown'] == null ? undefined : IssuesBreakdownFromJSON(json['issuesBreakdown']),
243
257
  };
244
258
  }
245
259
 
@@ -276,6 +290,7 @@ export function VMsToJSONTyped(value?: VMs | null, ignoreDiscriminator: boolean
276
290
  'osInfo': value['osInfo'] == null ? undefined : (mapValues(value['osInfo'], OsInfoToJSON)),
277
291
  'notMigratableReasons': ((value['notMigratableReasons'] as Array<any>).map(MigrationIssueToJSON)),
278
292
  'migrationWarnings': ((value['migrationWarnings'] as Array<any>).map(MigrationIssueToJSON)),
293
+ 'issuesBreakdown': IssuesBreakdownToJSON(value['issuesBreakdown']),
279
294
  };
280
295
  }
281
296
 
@@ -48,6 +48,13 @@ import {
48
48
  VmUtilizationDetailsToJSON,
49
49
  VmUtilizationDetailsToJSONTyped,
50
50
  } from './VmUtilizationDetails.js';
51
+ import type { Process } from './Process.js';
52
+ import {
53
+ ProcessFromJSON,
54
+ ProcessFromJSONTyped,
55
+ ProcessToJSON,
56
+ ProcessToJSONTyped,
57
+ } from './Process.js';
51
58
  import type { VMDisk } from './VMDisk.js';
52
59
  import {
53
60
  VMDiskFromJSON,
@@ -273,6 +280,12 @@ export interface VirtualMachineDetail {
273
280
  * @memberof VirtualMachineDetail
274
281
  */
275
282
  utilization?: VmUtilizationDetails;
283
+ /**
284
+ * List of processes detected on this VM
285
+ * @type {Array<Process>}
286
+ * @memberof VirtualMachineDetail
287
+ */
288
+ processes?: Array<Process>;
276
289
  }
277
290
 
278
291
  /**
@@ -335,6 +348,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
335
348
  'issues': json['issues'] == null ? undefined : ((json['issues'] as Array<any>).map(VMIssueFromJSON)),
336
349
  'inspection': json['inspection'] == null ? undefined : VmInspectionResultsFromJSON(json['inspection']),
337
350
  'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
351
+ 'processes': json['processes'] == null ? undefined : ((json['processes'] as Array<any>).map(ProcessFromJSON)),
338
352
  };
339
353
  }
340
354
 
@@ -383,6 +397,7 @@ export function VirtualMachineDetailToJSONTyped(value?: VirtualMachineDetail | n
383
397
  'issues': value['issues'] == null ? undefined : ((value['issues'] as Array<any>).map(VMIssueToJSON)),
384
398
  'inspection': VmInspectionResultsToJSON(value['inspection']),
385
399
  'utilization': VmUtilizationDetailsToJSON(value['utilization']),
400
+ 'processes': value['processes'] == null ? undefined : ((value['processes'] as Array<any>).map(ProcessToJSON)),
386
401
  };
387
402
  }
388
403
 
@@ -40,12 +40,14 @@ export * from './Infra.js';
40
40
  export * from './InspectorStatus.js';
41
41
  export * from './Inventory.js';
42
42
  export * from './InventoryData.js';
43
+ export * from './IssuesBreakdown.js';
43
44
  export * from './MigrationIssue.js';
44
45
  export * from './Network.js';
45
46
  export * from './OperationCapability.js';
46
47
  export * from './OsInfo.js';
47
48
  export * from './PairCapability.js';
48
49
  export * from './PairCapabilityRequest.js';
50
+ export * from './Process.js';
49
51
  export * from './PutForecasterCredentials403Response.js';
50
52
  export * from './RightsizingClusterListResponse.js';
51
53
  export * from './RightsizingClusterResponse.js';
@@ -58,6 +60,7 @@ export * from './RightsizingReportSummary.js';
58
60
  export * from './RightsizingVMReport.js';
59
61
  export * from './StartInspectionRequest.js';
60
62
  export * from './StopForecasterPair202Response.js';
63
+ export * from './StorageIoConfiguration.js';
61
64
  export * from './UpdateGroupRequest.js';
62
65
  export * from './UpdateInventory.js';
63
66
  export * from './UpdateLabelVMsRequest.js';