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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +4 -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/StorageIoConfiguration.d.ts +58 -0
  12. package/dist/esm/models/StorageIoConfiguration.js +54 -0
  13. package/dist/esm/models/VMs.d.ts +7 -0
  14. package/dist/esm/models/VMs.js +3 -0
  15. package/dist/esm/models/index.d.ts +2 -0
  16. package/dist/esm/models/index.js +2 -0
  17. package/dist/models/Datastore.d.ts +7 -0
  18. package/dist/models/Datastore.js +3 -0
  19. package/dist/models/IssuesBreakdown.d.ts +56 -0
  20. package/dist/models/IssuesBreakdown.js +66 -0
  21. package/dist/models/StorageIoConfiguration.d.ts +58 -0
  22. package/dist/models/StorageIoConfiguration.js +62 -0
  23. package/dist/models/VMs.d.ts +7 -0
  24. package/dist/models/VMs.js +3 -0
  25. package/dist/models/index.d.ts +2 -0
  26. package/dist/models/index.js +2 -0
  27. package/docs/Datastore.md +2 -0
  28. package/docs/DefaultApi.md +0 -139
  29. package/docs/IssuesBreakdown.md +42 -0
  30. package/docs/StorageIoConfiguration.md +40 -0
  31. package/docs/VMs.md +2 -0
  32. package/package.json +1 -1
  33. package/src/apis/DefaultApi.ts +0 -159
  34. package/src/models/Datastore.ts +16 -0
  35. package/src/models/IssuesBreakdown.ts +102 -0
  36. package/src/models/StorageIoConfiguration.ts +100 -0
  37. package/src/models/VMs.ts +15 -0
  38. package/src/models/index.ts +2 -0
@@ -43,6 +43,7 @@ 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
@@ -61,6 +62,7 @@ docs/RightsizingReportSummary.md
61
62
  docs/RightsizingVMReport.md
62
63
  docs/StartInspectionRequest.md
63
64
  docs/StopForecasterPair202Response.md
65
+ docs/StorageIoConfiguration.md
64
66
  docs/UpdateGroupRequest.md
65
67
  docs/UpdateInventory.md
66
68
  docs/UpdateLabelVMsRequest.md
@@ -128,6 +130,7 @@ src/models/Infra.ts
128
130
  src/models/InspectorStatus.ts
129
131
  src/models/Inventory.ts
130
132
  src/models/InventoryData.ts
133
+ src/models/IssuesBreakdown.ts
131
134
  src/models/MigrationIssue.ts
132
135
  src/models/Network.ts
133
136
  src/models/OperationCapability.ts
@@ -146,6 +149,7 @@ src/models/RightsizingReportSummary.ts
146
149
  src/models/RightsizingVMReport.ts
147
150
  src/models/StartInspectionRequest.ts
148
151
  src/models/StopForecasterPair202Response.ts
152
+ src/models/StorageIoConfiguration.ts
149
153
  src/models/UpdateGroupRequest.ts
150
154
  src/models/UpdateInventory.ts
151
155
  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
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,6 +144,7 @@ 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)
@@ -164,6 +163,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
164
163
  - [RightsizingVMReport](docs/RightsizingVMReport.md)
165
164
  - [StartInspectionRequest](docs/StartInspectionRequest.md)
166
165
  - [StopForecasterPair202Response](docs/StopForecasterPair202Response.md)
166
+ - [StorageIoConfiguration](docs/StorageIoConfiguration.md)
167
167
  - [UpdateGroupRequest](docs/UpdateGroupRequest.md)
168
168
  - [UpdateInventory](docs/UpdateInventory.md)
169
169
  - [UpdateLabelVMsRequest](docs/UpdateLabelVMsRequest.md)
@@ -200,7 +200,7 @@ and is automatically generated by the
200
200
  [OpenAPI Generator](https://openapi-generator.tech) project:
201
201
 
202
202
  - API version: `v1`
203
- - Package version: `0.17.0-fa395f816b50`
203
+ - Package version: `0.18.0`
204
204
  - Generator version: `7.24.0-SNAPSHOT`
205
205
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
206
206
 
@@ -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;