@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
@@ -43,12 +43,14 @@ docs/Infra.md
43
43
  docs/InspectorStatus.md
44
44
  docs/Inventory.md
45
45
  docs/InventoryData.md
46
+ docs/IssuesBreakdown.md
46
47
  docs/MigrationIssue.md
47
48
  docs/Network.md
48
49
  docs/OperationCapability.md
49
50
  docs/OsInfo.md
50
51
  docs/PairCapability.md
51
52
  docs/PairCapabilityRequest.md
53
+ docs/Process.md
52
54
  docs/PutForecasterCredentials403Response.md
53
55
  docs/RightsizingClusterListResponse.md
54
56
  docs/RightsizingClusterResponse.md
@@ -61,6 +63,7 @@ docs/RightsizingReportSummary.md
61
63
  docs/RightsizingVMReport.md
62
64
  docs/StartInspectionRequest.md
63
65
  docs/StopForecasterPair202Response.md
66
+ docs/StorageIoConfiguration.md
64
67
  docs/UpdateGroupRequest.md
65
68
  docs/UpdateInventory.md
66
69
  docs/UpdateLabelVMsRequest.md
@@ -128,12 +131,14 @@ src/models/Infra.ts
128
131
  src/models/InspectorStatus.ts
129
132
  src/models/Inventory.ts
130
133
  src/models/InventoryData.ts
134
+ src/models/IssuesBreakdown.ts
131
135
  src/models/MigrationIssue.ts
132
136
  src/models/Network.ts
133
137
  src/models/OperationCapability.ts
134
138
  src/models/OsInfo.ts
135
139
  src/models/PairCapability.ts
136
140
  src/models/PairCapabilityRequest.ts
141
+ src/models/Process.ts
137
142
  src/models/PutForecasterCredentials403Response.ts
138
143
  src/models/RightsizingClusterListResponse.ts
139
144
  src/models/RightsizingClusterResponse.ts
@@ -146,6 +151,7 @@ src/models/RightsizingReportSummary.ts
146
151
  src/models/RightsizingVMReport.ts
147
152
  src/models/StartInspectionRequest.ts
148
153
  src/models/StopForecasterPair202Response.ts
154
+ src/models/StorageIoConfiguration.ts
149
155
  src/models/UpdateGroupRequest.ts
150
156
  src/models/UpdateInventory.ts
151
157
  src/models/UpdateLabelVMsRequest.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/agent-sdk@0.17.0-fa395f816b50
1
+ # @openshift-migration-advisor/agent-sdk@0.18.0-c896a2e1a4de
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -71,10 +71,8 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
71
71
  *DefaultApi* | [**getInspectorStatus**](docs/DefaultApi.md#getinspectorstatus) | **GET** /inspector | Get inspector status
72
72
  *DefaultApi* | [**getInspectorVddkStatus**](docs/DefaultApi.md#getinspectorvddkstatus) | **GET** /inspector/vddk | Get VDDK status
73
73
  *DefaultApi* | [**getInventory**](docs/DefaultApi.md#getinventory) | **GET** /inventory | Get collected inventory
74
- *DefaultApi* | [**getLatestRightsizingClusters**](docs/DefaultApi.md#getlatestrightsizingclusters) | **GET** /cluster_rightsizing | Get cluster-level utilization aggregates for the latest completed report
75
74
  *DefaultApi* | [**getRightsizingReport**](docs/DefaultApi.md#getrightsizingreport) | **GET** /rightsizing/{report_id} | Get a specific rightsizing report with full VM metrics
76
75
  *DefaultApi* | [**getRightsizingReportCluster**](docs/DefaultApi.md#getrightsizingreportcluster) | **GET** /rightsizing/{report_id}/clusters/{cluster_id} | Get utilization for a specific cluster from a specific report
77
- *DefaultApi* | [**getRightsizingReportClusters**](docs/DefaultApi.md#getrightsizingreportclusters) | **GET** /cluster_rightsizing/{report_id} | Get cluster-level utilization aggregates for a specific report
78
76
  *DefaultApi* | [**getVM**](docs/DefaultApi.md#getvm) | **GET** /vms/{id} | Get details about a vm
79
77
  *DefaultApi* | [**getVMLabels**](docs/DefaultApi.md#getvmlabels) | **GET** /vms/labels | Get all distinct labels in use across VMs
80
78
  *DefaultApi* | [**getVMUtilization**](docs/DefaultApi.md#getvmutilization) | **GET** /vms/{id}/utilization | Get utilization breakdown for a specific VM
@@ -146,12 +144,14 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
146
144
  - [InspectorStatus](docs/InspectorStatus.md)
147
145
  - [Inventory](docs/Inventory.md)
148
146
  - [InventoryData](docs/InventoryData.md)
147
+ - [IssuesBreakdown](docs/IssuesBreakdown.md)
149
148
  - [MigrationIssue](docs/MigrationIssue.md)
150
149
  - [Network](docs/Network.md)
151
150
  - [OperationCapability](docs/OperationCapability.md)
152
151
  - [OsInfo](docs/OsInfo.md)
153
152
  - [PairCapability](docs/PairCapability.md)
154
153
  - [PairCapabilityRequest](docs/PairCapabilityRequest.md)
154
+ - [Process](docs/Process.md)
155
155
  - [PutForecasterCredentials403Response](docs/PutForecasterCredentials403Response.md)
156
156
  - [RightsizingClusterListResponse](docs/RightsizingClusterListResponse.md)
157
157
  - [RightsizingClusterResponse](docs/RightsizingClusterResponse.md)
@@ -164,6 +164,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
164
164
  - [RightsizingVMReport](docs/RightsizingVMReport.md)
165
165
  - [StartInspectionRequest](docs/StartInspectionRequest.md)
166
166
  - [StopForecasterPair202Response](docs/StopForecasterPair202Response.md)
167
+ - [StorageIoConfiguration](docs/StorageIoConfiguration.md)
167
168
  - [UpdateGroupRequest](docs/UpdateGroupRequest.md)
168
169
  - [UpdateInventory](docs/UpdateInventory.md)
169
170
  - [UpdateLabelVMsRequest](docs/UpdateLabelVMsRequest.md)
@@ -200,7 +201,7 @@ and is automatically generated by the
200
201
  [OpenAPI Generator](https://openapi-generator.tech) project:
201
202
 
202
203
  - API version: `v1`
203
- - Package version: `0.17.0-fa395f816b50`
204
+ - Package version: `0.18.0-c896a2e1a4de`
204
205
  - Generator version: `7.24.0-SNAPSHOT`
205
206
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
206
207
 
@@ -96,9 +96,6 @@ export interface GetInventoryRequest {
96
96
  withAgentId?: boolean;
97
97
  groupId?: string;
98
98
  }
99
- export interface GetLatestRightsizingClustersRequest {
100
- byExpression?: string;
101
- }
102
99
  export interface GetRightsizingReportRequest {
103
100
  reportId: string;
104
101
  }
@@ -106,10 +103,6 @@ export interface GetRightsizingReportClusterRequest {
106
103
  reportId: string;
107
104
  clusterId: string;
108
105
  }
109
- export interface GetRightsizingReportClustersRequest {
110
- reportId: string;
111
- byExpression?: string;
112
- }
113
106
  export interface GetVMRequest {
114
107
  id: string;
115
108
  }
@@ -606,29 +599,6 @@ export interface DefaultApiInterface {
606
599
  * Get collected inventory
607
600
  */
608
601
  getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInventory200Response>;
609
- /**
610
- * Creates request options for getLatestRightsizingClusters without sending the request
611
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
612
- * @deprecated
613
- * @throws {RequiredError}
614
- * @memberof DefaultApiInterface
615
- */
616
- getLatestRightsizingClustersRequestOpts(requestParameters: GetLatestRightsizingClustersRequest): Promise<runtime.RequestOpts>;
617
- /**
618
- *
619
- * @summary Get cluster-level utilization aggregates for the latest completed report
620
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
621
- * @param {*} [options] Override http request option.
622
- * @deprecated
623
- * @throws {RequiredError}
624
- * @memberof DefaultApiInterface
625
- */
626
- getLatestRightsizingClustersRaw(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
627
- /**
628
- * Get cluster-level utilization aggregates for the latest completed report
629
- * @deprecated
630
- */
631
- getLatestRightsizingClusters(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
632
602
  /**
633
603
  * Creates request options for getRightsizingReport without sending the request
634
604
  * @param {string} reportId Report UUID
@@ -671,31 +641,6 @@ export interface DefaultApiInterface {
671
641
  * Get utilization for a specific cluster from a specific report
672
642
  */
673
643
  getRightsizingReportCluster(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
674
- /**
675
- * Creates request options for getRightsizingReportClusters without sending the request
676
- * @param {string} reportId Rightsizing report UUID
677
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
678
- * @deprecated
679
- * @throws {RequiredError}
680
- * @memberof DefaultApiInterface
681
- */
682
- getRightsizingReportClustersRequestOpts(requestParameters: GetRightsizingReportClustersRequest): Promise<runtime.RequestOpts>;
683
- /**
684
- *
685
- * @summary Get cluster-level utilization aggregates for a specific report
686
- * @param {string} reportId Rightsizing report UUID
687
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
688
- * @param {*} [options] Override http request option.
689
- * @deprecated
690
- * @throws {RequiredError}
691
- * @memberof DefaultApiInterface
692
- */
693
- getRightsizingReportClustersRaw(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
694
- /**
695
- * Get cluster-level utilization aggregates for a specific report
696
- * @deprecated
697
- */
698
- getRightsizingReportClusters(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
699
644
  /**
700
645
  * Creates request options for getVM without sending the request
701
646
  * @param {string} id VirtualMachine id
@@ -1519,21 +1464,6 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1519
1464
  * Get collected inventory
1520
1465
  */
1521
1466
  getInventory(requestParameters?: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInventory200Response>;
1522
- /**
1523
- * Creates request options for getLatestRightsizingClusters without sending the request
1524
- * @deprecated
1525
- */
1526
- getLatestRightsizingClustersRequestOpts(requestParameters: GetLatestRightsizingClustersRequest): Promise<runtime.RequestOpts>;
1527
- /**
1528
- * Get cluster-level utilization aggregates for the latest completed report
1529
- * @deprecated
1530
- */
1531
- getLatestRightsizingClustersRaw(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
1532
- /**
1533
- * Get cluster-level utilization aggregates for the latest completed report
1534
- * @deprecated
1535
- */
1536
- getLatestRightsizingClusters(requestParameters?: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
1537
1467
  /**
1538
1468
  * Creates request options for getRightsizingReport without sending the request
1539
1469
  */
@@ -1558,21 +1488,6 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1558
1488
  * Get utilization for a specific cluster from a specific report
1559
1489
  */
1560
1490
  getRightsizingReportCluster(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
1561
- /**
1562
- * Creates request options for getRightsizingReportClusters without sending the request
1563
- * @deprecated
1564
- */
1565
- getRightsizingReportClustersRequestOpts(requestParameters: GetRightsizingReportClustersRequest): Promise<runtime.RequestOpts>;
1566
- /**
1567
- * Get cluster-level utilization aggregates for a specific report
1568
- * @deprecated
1569
- */
1570
- getRightsizingReportClustersRaw(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
1571
- /**
1572
- * Get cluster-level utilization aggregates for a specific report
1573
- * @deprecated
1574
- */
1575
- getRightsizingReportClusters(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
1576
1491
  /**
1577
1492
  * Creates request options for getVM without sending the request
1578
1493
  */
@@ -880,47 +880,6 @@ class DefaultApi extends runtime.BaseAPI {
880
880
  return yield response.value();
881
881
  });
882
882
  }
883
- /**
884
- * Creates request options for getLatestRightsizingClusters without sending the request
885
- * @deprecated
886
- */
887
- getLatestRightsizingClustersRequestOpts(requestParameters) {
888
- return __awaiter(this, void 0, void 0, function* () {
889
- const queryParameters = {};
890
- if (requestParameters['byExpression'] != null) {
891
- queryParameters['byExpression'] = requestParameters['byExpression'];
892
- }
893
- const headerParameters = {};
894
- let urlPath = `/cluster_rightsizing`;
895
- return {
896
- path: urlPath,
897
- method: 'GET',
898
- headers: headerParameters,
899
- query: queryParameters,
900
- };
901
- });
902
- }
903
- /**
904
- * Get cluster-level utilization aggregates for the latest completed report
905
- * @deprecated
906
- */
907
- getLatestRightsizingClustersRaw(requestParameters, initOverrides) {
908
- return __awaiter(this, void 0, void 0, function* () {
909
- const requestOptions = yield this.getLatestRightsizingClustersRequestOpts(requestParameters);
910
- const response = yield this.request(requestOptions, initOverrides);
911
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, RightsizingClusterListResponse_js_1.RightsizingClusterListResponseFromJSON)(jsonValue));
912
- });
913
- }
914
- /**
915
- * Get cluster-level utilization aggregates for the latest completed report
916
- * @deprecated
917
- */
918
- getLatestRightsizingClusters() {
919
- return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
920
- const response = yield this.getLatestRightsizingClustersRaw(requestParameters, initOverrides);
921
- return yield response.value();
922
- });
923
- }
924
883
  /**
925
884
  * Creates request options for getRightsizingReport without sending the request
926
885
  */
@@ -1003,51 +962,6 @@ class DefaultApi extends runtime.BaseAPI {
1003
962
  return yield response.value();
1004
963
  });
1005
964
  }
1006
- /**
1007
- * Creates request options for getRightsizingReportClusters without sending the request
1008
- * @deprecated
1009
- */
1010
- getRightsizingReportClustersRequestOpts(requestParameters) {
1011
- return __awaiter(this, void 0, void 0, function* () {
1012
- if (requestParameters['reportId'] == null) {
1013
- throw new runtime.RequiredError('reportId', 'Required parameter "reportId" was null or undefined when calling getRightsizingReportClusters().');
1014
- }
1015
- const queryParameters = {};
1016
- if (requestParameters['byExpression'] != null) {
1017
- queryParameters['byExpression'] = requestParameters['byExpression'];
1018
- }
1019
- const headerParameters = {};
1020
- let urlPath = `/cluster_rightsizing/{report_id}`;
1021
- urlPath = urlPath.replace('{report_id}', encodeURIComponent(String(requestParameters['reportId'])));
1022
- return {
1023
- path: urlPath,
1024
- method: 'GET',
1025
- headers: headerParameters,
1026
- query: queryParameters,
1027
- };
1028
- });
1029
- }
1030
- /**
1031
- * Get cluster-level utilization aggregates for a specific report
1032
- * @deprecated
1033
- */
1034
- getRightsizingReportClustersRaw(requestParameters, initOverrides) {
1035
- return __awaiter(this, void 0, void 0, function* () {
1036
- const requestOptions = yield this.getRightsizingReportClustersRequestOpts(requestParameters);
1037
- const response = yield this.request(requestOptions, initOverrides);
1038
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, RightsizingClusterListResponse_js_1.RightsizingClusterListResponseFromJSON)(jsonValue));
1039
- });
1040
- }
1041
- /**
1042
- * Get cluster-level utilization aggregates for a specific report
1043
- * @deprecated
1044
- */
1045
- getRightsizingReportClusters(requestParameters, initOverrides) {
1046
- return __awaiter(this, void 0, void 0, function* () {
1047
- const response = yield this.getRightsizingReportClustersRaw(requestParameters, initOverrides);
1048
- return yield response.value();
1049
- });
1050
- }
1051
965
  /**
1052
966
  * Creates request options for getVM without sending the request
1053
967
  */
@@ -96,9 +96,6 @@ export interface GetInventoryRequest {
96
96
  withAgentId?: boolean;
97
97
  groupId?: string;
98
98
  }
99
- export interface GetLatestRightsizingClustersRequest {
100
- byExpression?: string;
101
- }
102
99
  export interface GetRightsizingReportRequest {
103
100
  reportId: string;
104
101
  }
@@ -106,10 +103,6 @@ export interface GetRightsizingReportClusterRequest {
106
103
  reportId: string;
107
104
  clusterId: string;
108
105
  }
109
- export interface GetRightsizingReportClustersRequest {
110
- reportId: string;
111
- byExpression?: string;
112
- }
113
106
  export interface GetVMRequest {
114
107
  id: string;
115
108
  }
@@ -606,29 +599,6 @@ export interface DefaultApiInterface {
606
599
  * Get collected inventory
607
600
  */
608
601
  getInventory(requestParameters: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInventory200Response>;
609
- /**
610
- * Creates request options for getLatestRightsizingClusters without sending the request
611
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
612
- * @deprecated
613
- * @throws {RequiredError}
614
- * @memberof DefaultApiInterface
615
- */
616
- getLatestRightsizingClustersRequestOpts(requestParameters: GetLatestRightsizingClustersRequest): Promise<runtime.RequestOpts>;
617
- /**
618
- *
619
- * @summary Get cluster-level utilization aggregates for the latest completed report
620
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
621
- * @param {*} [options] Override http request option.
622
- * @deprecated
623
- * @throws {RequiredError}
624
- * @memberof DefaultApiInterface
625
- */
626
- getLatestRightsizingClustersRaw(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
627
- /**
628
- * Get cluster-level utilization aggregates for the latest completed report
629
- * @deprecated
630
- */
631
- getLatestRightsizingClusters(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
632
602
  /**
633
603
  * Creates request options for getRightsizingReport without sending the request
634
604
  * @param {string} reportId Report UUID
@@ -671,31 +641,6 @@ export interface DefaultApiInterface {
671
641
  * Get utilization for a specific cluster from a specific report
672
642
  */
673
643
  getRightsizingReportCluster(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
674
- /**
675
- * Creates request options for getRightsizingReportClusters without sending the request
676
- * @param {string} reportId Rightsizing report UUID
677
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
678
- * @deprecated
679
- * @throws {RequiredError}
680
- * @memberof DefaultApiInterface
681
- */
682
- getRightsizingReportClustersRequestOpts(requestParameters: GetRightsizingReportClustersRequest): Promise<runtime.RequestOpts>;
683
- /**
684
- *
685
- * @summary Get cluster-level utilization aggregates for a specific report
686
- * @param {string} reportId Rightsizing report UUID
687
- * @param {string} [byExpression] Filter DSL expression (e.g. \&quot;cluster_id &#x3D; \&#39;domain-c123\&#39;\&quot;). Omit to return all clusters.
688
- * @param {*} [options] Override http request option.
689
- * @deprecated
690
- * @throws {RequiredError}
691
- * @memberof DefaultApiInterface
692
- */
693
- getRightsizingReportClustersRaw(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
694
- /**
695
- * Get cluster-level utilization aggregates for a specific report
696
- * @deprecated
697
- */
698
- getRightsizingReportClusters(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
699
644
  /**
700
645
  * Creates request options for getVM without sending the request
701
646
  * @param {string} id VirtualMachine id
@@ -1519,21 +1464,6 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1519
1464
  * Get collected inventory
1520
1465
  */
1521
1466
  getInventory(requestParameters?: GetInventoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetInventory200Response>;
1522
- /**
1523
- * Creates request options for getLatestRightsizingClusters without sending the request
1524
- * @deprecated
1525
- */
1526
- getLatestRightsizingClustersRequestOpts(requestParameters: GetLatestRightsizingClustersRequest): Promise<runtime.RequestOpts>;
1527
- /**
1528
- * Get cluster-level utilization aggregates for the latest completed report
1529
- * @deprecated
1530
- */
1531
- getLatestRightsizingClustersRaw(requestParameters: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
1532
- /**
1533
- * Get cluster-level utilization aggregates for the latest completed report
1534
- * @deprecated
1535
- */
1536
- getLatestRightsizingClusters(requestParameters?: GetLatestRightsizingClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
1537
1467
  /**
1538
1468
  * Creates request options for getRightsizingReport without sending the request
1539
1469
  */
@@ -1558,21 +1488,6 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
1558
1488
  * Get utilization for a specific cluster from a specific report
1559
1489
  */
1560
1490
  getRightsizingReportCluster(requestParameters: GetRightsizingReportClusterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterResponse>;
1561
- /**
1562
- * Creates request options for getRightsizingReportClusters without sending the request
1563
- * @deprecated
1564
- */
1565
- getRightsizingReportClustersRequestOpts(requestParameters: GetRightsizingReportClustersRequest): Promise<runtime.RequestOpts>;
1566
- /**
1567
- * Get cluster-level utilization aggregates for a specific report
1568
- * @deprecated
1569
- */
1570
- getRightsizingReportClustersRaw(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RightsizingClusterListResponse>>;
1571
- /**
1572
- * Get cluster-level utilization aggregates for a specific report
1573
- * @deprecated
1574
- */
1575
- getRightsizingReportClusters(requestParameters: GetRightsizingReportClustersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RightsizingClusterListResponse>;
1576
1491
  /**
1577
1492
  * Creates request options for getVM without sending the request
1578
1493
  */
@@ -877,47 +877,6 @@ export class DefaultApi extends runtime.BaseAPI {
877
877
  return yield response.value();
878
878
  });
879
879
  }
880
- /**
881
- * Creates request options for getLatestRightsizingClusters without sending the request
882
- * @deprecated
883
- */
884
- getLatestRightsizingClustersRequestOpts(requestParameters) {
885
- return __awaiter(this, void 0, void 0, function* () {
886
- const queryParameters = {};
887
- if (requestParameters['byExpression'] != null) {
888
- queryParameters['byExpression'] = requestParameters['byExpression'];
889
- }
890
- const headerParameters = {};
891
- let urlPath = `/cluster_rightsizing`;
892
- return {
893
- path: urlPath,
894
- method: 'GET',
895
- headers: headerParameters,
896
- query: queryParameters,
897
- };
898
- });
899
- }
900
- /**
901
- * Get cluster-level utilization aggregates for the latest completed report
902
- * @deprecated
903
- */
904
- getLatestRightsizingClustersRaw(requestParameters, initOverrides) {
905
- return __awaiter(this, void 0, void 0, function* () {
906
- const requestOptions = yield this.getLatestRightsizingClustersRequestOpts(requestParameters);
907
- const response = yield this.request(requestOptions, initOverrides);
908
- return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingClusterListResponseFromJSON(jsonValue));
909
- });
910
- }
911
- /**
912
- * Get cluster-level utilization aggregates for the latest completed report
913
- * @deprecated
914
- */
915
- getLatestRightsizingClusters() {
916
- return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
917
- const response = yield this.getLatestRightsizingClustersRaw(requestParameters, initOverrides);
918
- return yield response.value();
919
- });
920
- }
921
880
  /**
922
881
  * Creates request options for getRightsizingReport without sending the request
923
882
  */
@@ -1000,51 +959,6 @@ export class DefaultApi extends runtime.BaseAPI {
1000
959
  return yield response.value();
1001
960
  });
1002
961
  }
1003
- /**
1004
- * Creates request options for getRightsizingReportClusters without sending the request
1005
- * @deprecated
1006
- */
1007
- getRightsizingReportClustersRequestOpts(requestParameters) {
1008
- return __awaiter(this, void 0, void 0, function* () {
1009
- if (requestParameters['reportId'] == null) {
1010
- throw new runtime.RequiredError('reportId', 'Required parameter "reportId" was null or undefined when calling getRightsizingReportClusters().');
1011
- }
1012
- const queryParameters = {};
1013
- if (requestParameters['byExpression'] != null) {
1014
- queryParameters['byExpression'] = requestParameters['byExpression'];
1015
- }
1016
- const headerParameters = {};
1017
- let urlPath = `/cluster_rightsizing/{report_id}`;
1018
- urlPath = urlPath.replace('{report_id}', encodeURIComponent(String(requestParameters['reportId'])));
1019
- return {
1020
- path: urlPath,
1021
- method: 'GET',
1022
- headers: headerParameters,
1023
- query: queryParameters,
1024
- };
1025
- });
1026
- }
1027
- /**
1028
- * Get cluster-level utilization aggregates for a specific report
1029
- * @deprecated
1030
- */
1031
- getRightsizingReportClustersRaw(requestParameters, initOverrides) {
1032
- return __awaiter(this, void 0, void 0, function* () {
1033
- const requestOptions = yield this.getRightsizingReportClustersRequestOpts(requestParameters);
1034
- const response = yield this.request(requestOptions, initOverrides);
1035
- return new runtime.JSONApiResponse(response, (jsonValue) => RightsizingClusterListResponseFromJSON(jsonValue));
1036
- });
1037
- }
1038
- /**
1039
- * Get cluster-level utilization aggregates for a specific report
1040
- * @deprecated
1041
- */
1042
- getRightsizingReportClusters(requestParameters, initOverrides) {
1043
- return __awaiter(this, void 0, void 0, function* () {
1044
- const response = yield this.getRightsizingReportClustersRaw(requestParameters, initOverrides);
1045
- return yield response.value();
1046
- });
1047
- }
1048
962
  /**
1049
963
  * Creates request options for getVM without sending the request
1050
964
  */
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { StorageIoConfiguration } from './StorageIoConfiguration.js';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -69,6 +70,12 @@ export interface Datastore {
69
70
  * @memberof Datastore
70
71
  */
71
72
  hostId?: string | null;
73
+ /**
74
+ *
75
+ * @type {StorageIoConfiguration}
76
+ * @memberof Datastore
77
+ */
78
+ storageIoConfiguration?: StorageIoConfiguration;
72
79
  }
73
80
  /**
74
81
  * Check if a given object implements the Datastore interface.
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { StorageIoConfigurationFromJSON, StorageIoConfigurationToJSON, } from './StorageIoConfiguration.js';
14
15
  /**
15
16
  * Check if a given object implements the Datastore interface.
16
17
  */
@@ -50,6 +51,7 @@ export function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
50
51
  'protocolType': json['protocolType'],
51
52
  'model': json['model'],
52
53
  'hostId': json['hostId'] === undefined ? undefined : json['hostId'] === null ? null : json['hostId'],
54
+ 'storageIoConfiguration': json['storageIoConfiguration'] == null ? undefined : StorageIoConfigurationFromJSON(json['storageIoConfiguration']),
53
55
  };
54
56
  }
55
57
  export function DatastoreToJSON(json) {
@@ -69,5 +71,6 @@ export function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
69
71
  'protocolType': value['protocolType'],
70
72
  'model': value['model'],
71
73
  'hostId': value['hostId'],
74
+ 'storageIoConfiguration': StorageIoConfigurationToJSON(value['storageIoConfiguration']),
72
75
  };
73
76
  }
@@ -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;