@openshift-migration-advisor/planner-sdk 0.5.1 → 0.6.0-2f3328163282
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.
- package/.openapi-generator/FILES +8 -0
- package/README.md +7 -2
- package/dist/apis/AssessmentApi.d.ts +39 -2
- package/dist/apis/AssessmentApi.js +45 -1
- package/dist/apis/HealthApi.d.ts +1 -1
- package/dist/apis/HealthApi.js +1 -1
- package/dist/apis/ImageApi.d.ts +1 -1
- package/dist/apis/ImageApi.js +1 -1
- package/dist/apis/InfoApi.d.ts +5 -5
- package/dist/apis/InfoApi.js +3 -3
- package/dist/apis/JobApi.d.ts +1 -1
- package/dist/apis/JobApi.js +1 -1
- package/dist/apis/SourceApi.d.ts +1 -1
- package/dist/apis/SourceApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +39 -2
- package/dist/esm/apis/AssessmentApi.js +46 -2
- package/dist/esm/apis/HealthApi.d.ts +1 -1
- package/dist/esm/apis/HealthApi.js +1 -1
- package/dist/esm/apis/ImageApi.d.ts +1 -1
- package/dist/esm/apis/ImageApi.js +1 -1
- package/dist/esm/apis/InfoApi.d.ts +5 -5
- package/dist/esm/apis/InfoApi.js +3 -3
- package/dist/esm/apis/JobApi.d.ts +1 -1
- package/dist/esm/apis/JobApi.js +1 -1
- package/dist/esm/apis/SourceApi.d.ts +1 -1
- package/dist/esm/apis/SourceApi.js +1 -1
- package/dist/esm/models/Agent.d.ts +1 -1
- package/dist/esm/models/Agent.js +1 -1
- package/dist/esm/models/AgentProxy.d.ts +1 -1
- package/dist/esm/models/AgentProxy.js +1 -1
- package/dist/esm/models/Assessment.d.ts +1 -1
- package/dist/esm/models/Assessment.js +1 -1
- package/dist/esm/models/AssessmentForm.d.ts +2 -2
- package/dist/esm/models/AssessmentForm.js +1 -1
- package/dist/esm/models/AssessmentUpdate.d.ts +1 -1
- package/dist/esm/models/AssessmentUpdate.js +1 -1
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +13 -1
- package/dist/esm/models/ClusterRequirementsRequest.js +5 -1
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/esm/models/ClusterRequirementsResponse.js +1 -1
- package/dist/esm/models/ClusterSizing.d.ts +1 -1
- package/dist/esm/models/ClusterSizing.js +1 -1
- package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +45 -0
- package/dist/esm/models/ComplexityDiskScoreEntry.js +51 -0
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +39 -0
- package/dist/esm/models/ComplexityOSScoreEntry.js +47 -0
- package/dist/esm/models/Datastore.d.ts +1 -1
- package/dist/esm/models/Datastore.js +1 -1
- package/dist/esm/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/esm/models/DiskSizeTierSummary.js +1 -1
- package/dist/esm/models/DiskTypeSummary.d.ts +1 -1
- package/dist/esm/models/DiskTypeSummary.js +1 -1
- package/dist/esm/models/EstimationDetail.d.ts +1 -1
- package/dist/esm/models/EstimationDetail.js +1 -1
- package/dist/esm/models/Histogram.d.ts +1 -1
- package/dist/esm/models/Histogram.js +1 -1
- package/dist/esm/models/Host.d.ts +1 -1
- package/dist/esm/models/Host.js +1 -1
- package/dist/esm/models/Info.d.ts +2 -2
- package/dist/esm/models/Info.js +1 -1
- package/dist/esm/models/Infra.d.ts +1 -1
- package/dist/esm/models/Infra.js +1 -1
- package/dist/esm/models/Inventory.d.ts +1 -1
- package/dist/esm/models/Inventory.js +1 -1
- package/dist/esm/models/InventoryData.d.ts +1 -1
- package/dist/esm/models/InventoryData.js +1 -1
- package/dist/esm/models/InventoryTotals.d.ts +1 -1
- package/dist/esm/models/InventoryTotals.js +1 -1
- package/dist/esm/models/Ipv4Config.d.ts +1 -1
- package/dist/esm/models/Ipv4Config.js +1 -1
- package/dist/esm/models/Job.d.ts +1 -1
- package/dist/esm/models/Job.js +1 -1
- package/dist/esm/models/JobStatus.d.ts +1 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Label.d.ts +1 -1
- package/dist/esm/models/Label.js +1 -1
- package/dist/esm/models/MigrationComplexityRequest.d.ts +32 -0
- package/dist/esm/models/MigrationComplexityRequest.js +43 -0
- package/dist/esm/models/MigrationComplexityResponse.d.ts +60 -0
- package/dist/esm/models/MigrationComplexityResponse.js +57 -0
- package/dist/esm/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationRequest.js +1 -1
- package/dist/esm/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/esm/models/MigrationEstimationResponse.js +1 -1
- package/dist/esm/models/MigrationIssue.d.ts +1 -1
- package/dist/esm/models/MigrationIssue.js +1 -1
- package/dist/esm/models/ModelError.d.ts +1 -7
- package/dist/esm/models/ModelError.js +1 -3
- package/dist/esm/models/Network.d.ts +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/OsInfo.d.ts +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PresignedUrl.d.ts +1 -1
- package/dist/esm/models/PresignedUrl.js +1 -1
- package/dist/esm/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/esm/models/SizingOverCommitRatio.js +1 -1
- package/dist/esm/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/esm/models/SizingResourceConsumption.js +1 -1
- package/dist/esm/models/SizingResourceLimits.d.ts +1 -1
- package/dist/esm/models/SizingResourceLimits.js +1 -1
- package/dist/esm/models/Snapshot.d.ts +1 -1
- package/dist/esm/models/Snapshot.js +1 -1
- package/dist/esm/models/Source.d.ts +1 -1
- package/dist/esm/models/Source.js +1 -1
- package/dist/esm/models/SourceCreate.d.ts +1 -1
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceInfra.d.ts +1 -1
- package/dist/esm/models/SourceInfra.js +1 -1
- package/dist/esm/models/SourceUpdate.d.ts +1 -1
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/Status.d.ts +1 -1
- package/dist/esm/models/Status.js +1 -1
- package/dist/esm/models/UpdateInventory.d.ts +1 -1
- package/dist/esm/models/UpdateInventory.js +1 -1
- package/dist/esm/models/VCenter.d.ts +1 -1
- package/dist/esm/models/VCenter.js +1 -1
- package/dist/esm/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/esm/models/VMResourceBreakdown.js +1 -1
- package/dist/esm/models/VMs.d.ts +1 -1
- package/dist/esm/models/VMs.js +1 -1
- package/dist/esm/models/VmNetwork.d.ts +1 -1
- package/dist/esm/models/VmNetwork.js +1 -1
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +16 -1
- package/dist/models/Agent.d.ts +1 -1
- package/dist/models/Agent.js +1 -1
- package/dist/models/AgentProxy.d.ts +1 -1
- package/dist/models/AgentProxy.js +1 -1
- package/dist/models/Assessment.d.ts +1 -1
- package/dist/models/Assessment.js +1 -1
- package/dist/models/AssessmentForm.d.ts +2 -2
- package/dist/models/AssessmentForm.js +1 -1
- package/dist/models/AssessmentUpdate.d.ts +1 -1
- package/dist/models/AssessmentUpdate.js +1 -1
- package/dist/models/ClusterRequirementsRequest.d.ts +13 -1
- package/dist/models/ClusterRequirementsRequest.js +5 -1
- package/dist/models/ClusterRequirementsResponse.d.ts +1 -1
- package/dist/models/ClusterRequirementsResponse.js +1 -1
- package/dist/models/ClusterSizing.d.ts +1 -1
- package/dist/models/ClusterSizing.js +1 -1
- package/dist/models/ComplexityDiskScoreEntry.d.ts +45 -0
- package/dist/models/ComplexityDiskScoreEntry.js +58 -0
- package/dist/models/ComplexityOSScoreEntry.d.ts +39 -0
- package/dist/models/ComplexityOSScoreEntry.js +54 -0
- package/dist/models/Datastore.d.ts +1 -1
- package/dist/models/Datastore.js +1 -1
- package/dist/models/DiskSizeTierSummary.d.ts +1 -1
- package/dist/models/DiskSizeTierSummary.js +1 -1
- package/dist/models/DiskTypeSummary.d.ts +1 -1
- package/dist/models/DiskTypeSummary.js +1 -1
- package/dist/models/EstimationDetail.d.ts +1 -1
- package/dist/models/EstimationDetail.js +1 -1
- package/dist/models/Histogram.d.ts +1 -1
- package/dist/models/Histogram.js +1 -1
- package/dist/models/Host.d.ts +1 -1
- package/dist/models/Host.js +1 -1
- package/dist/models/Info.d.ts +2 -2
- package/dist/models/Info.js +1 -1
- package/dist/models/Infra.d.ts +1 -1
- package/dist/models/Infra.js +1 -1
- package/dist/models/Inventory.d.ts +1 -1
- package/dist/models/Inventory.js +1 -1
- package/dist/models/InventoryData.d.ts +1 -1
- package/dist/models/InventoryData.js +1 -1
- package/dist/models/InventoryTotals.d.ts +1 -1
- package/dist/models/InventoryTotals.js +1 -1
- package/dist/models/Ipv4Config.d.ts +1 -1
- package/dist/models/Ipv4Config.js +1 -1
- package/dist/models/Job.d.ts +1 -1
- package/dist/models/Job.js +1 -1
- package/dist/models/JobStatus.d.ts +1 -1
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Label.d.ts +1 -1
- package/dist/models/Label.js +1 -1
- package/dist/models/MigrationComplexityRequest.d.ts +32 -0
- package/dist/models/MigrationComplexityRequest.js +50 -0
- package/dist/models/MigrationComplexityResponse.d.ts +60 -0
- package/dist/models/MigrationComplexityResponse.js +64 -0
- package/dist/models/MigrationEstimationRequest.d.ts +1 -1
- package/dist/models/MigrationEstimationRequest.js +1 -1
- package/dist/models/MigrationEstimationResponse.d.ts +1 -1
- package/dist/models/MigrationEstimationResponse.js +1 -1
- package/dist/models/MigrationIssue.d.ts +1 -1
- package/dist/models/MigrationIssue.js +1 -1
- package/dist/models/ModelError.d.ts +1 -7
- package/dist/models/ModelError.js +1 -3
- package/dist/models/Network.d.ts +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/OsInfo.d.ts +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PresignedUrl.d.ts +1 -1
- package/dist/models/PresignedUrl.js +1 -1
- package/dist/models/SizingOverCommitRatio.d.ts +1 -1
- package/dist/models/SizingOverCommitRatio.js +1 -1
- package/dist/models/SizingResourceConsumption.d.ts +1 -1
- package/dist/models/SizingResourceConsumption.js +1 -1
- package/dist/models/SizingResourceLimits.d.ts +1 -1
- package/dist/models/SizingResourceLimits.js +1 -1
- package/dist/models/Snapshot.d.ts +1 -1
- package/dist/models/Snapshot.js +1 -1
- package/dist/models/Source.d.ts +1 -1
- package/dist/models/Source.js +1 -1
- package/dist/models/SourceCreate.d.ts +1 -1
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceInfra.d.ts +1 -1
- package/dist/models/SourceInfra.js +1 -1
- package/dist/models/SourceUpdate.d.ts +1 -1
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/Status.d.ts +1 -1
- package/dist/models/Status.js +1 -1
- package/dist/models/UpdateInventory.d.ts +1 -1
- package/dist/models/UpdateInventory.js +1 -1
- package/dist/models/VCenter.d.ts +1 -1
- package/dist/models/VCenter.js +1 -1
- package/dist/models/VMResourceBreakdown.d.ts +1 -1
- package/dist/models/VMResourceBreakdown.js +1 -1
- package/dist/models/VMs.d.ts +1 -1
- package/dist/models/VMs.js +1 -1
- package/dist/models/VmNetwork.d.ts +1 -1
- package/dist/models/VmNetwork.js +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +16 -1
- package/docs/AssessmentApi.md +76 -0
- package/docs/ClusterRequirementsRequest.md +4 -0
- package/docs/ComplexityDiskScoreEntry.md +39 -0
- package/docs/ComplexityOSScoreEntry.md +37 -0
- package/docs/Info.md +1 -1
- package/docs/InfoApi.md +1 -1
- package/docs/MigrationComplexityRequest.md +35 -0
- package/docs/MigrationComplexityResponse.md +41 -0
- package/docs/ModelError.md +0 -2
- package/package.json +1 -1
- package/src/apis/AssessmentApi.ts +91 -1
- package/src/apis/HealthApi.ts +1 -1
- package/src/apis/ImageApi.ts +1 -1
- package/src/apis/InfoApi.ts +5 -5
- package/src/apis/JobApi.ts +1 -1
- package/src/apis/SourceApi.ts +1 -1
- package/src/models/Agent.ts +1 -1
- package/src/models/AgentProxy.ts +1 -1
- package/src/models/Assessment.ts +1 -1
- package/src/models/AssessmentForm.ts +2 -2
- package/src/models/AssessmentUpdate.ts +1 -1
- package/src/models/ClusterRequirementsRequest.ts +17 -1
- package/src/models/ClusterRequirementsResponse.ts +1 -1
- package/src/models/ClusterSizing.ts +1 -1
- package/src/models/ComplexityDiskScoreEntry.ts +85 -0
- package/src/models/ComplexityOSScoreEntry.ts +76 -0
- package/src/models/Datastore.ts +1 -1
- package/src/models/DiskSizeTierSummary.ts +1 -1
- package/src/models/DiskTypeSummary.ts +1 -1
- package/src/models/EstimationDetail.ts +1 -1
- package/src/models/Histogram.ts +1 -1
- package/src/models/Host.ts +1 -1
- package/src/models/Info.ts +2 -2
- package/src/models/Infra.ts +1 -1
- package/src/models/Inventory.ts +1 -1
- package/src/models/InventoryData.ts +1 -1
- package/src/models/InventoryTotals.ts +1 -1
- package/src/models/Ipv4Config.ts +1 -1
- package/src/models/Job.ts +1 -1
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Label.ts +1 -1
- package/src/models/MigrationComplexityRequest.ts +66 -0
- package/src/models/MigrationComplexityResponse.ts +112 -0
- package/src/models/MigrationEstimationRequest.ts +1 -1
- package/src/models/MigrationEstimationResponse.ts +1 -1
- package/src/models/MigrationIssue.ts +1 -1
- package/src/models/ModelError.ts +1 -9
- package/src/models/Network.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PresignedUrl.ts +1 -1
- package/src/models/SizingOverCommitRatio.ts +1 -1
- package/src/models/SizingResourceConsumption.ts +1 -1
- package/src/models/SizingResourceLimits.ts +1 -1
- package/src/models/Snapshot.ts +1 -1
- package/src/models/Source.ts +1 -1
- package/src/models/SourceCreate.ts +1 -1
- package/src/models/SourceInfra.ts +1 -1
- package/src/models/SourceUpdate.ts +1 -1
- package/src/models/Status.ts +1 -1
- package/src/models/UpdateInventory.ts +1 -1
- package/src/models/VCenter.ts +1 -1
- package/src/models/VMResourceBreakdown.ts +1 -1
- package/src/models/VMs.ts +1 -1
- package/src/models/VmNetwork.ts +1 -1
- package/src/models/index.ts +4 -0
- package/src/runtime.ts +19 -1
package/dist/models/VCenter.d.ts
CHANGED
package/dist/models/VCenter.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
package/dist/models/VMs.d.ts
CHANGED
package/dist/models/VMs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
package/dist/models/VmNetwork.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
package/dist/models/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export * from './AssessmentUpdate.js';
|
|
|
6
6
|
export * from './ClusterRequirementsRequest.js';
|
|
7
7
|
export * from './ClusterRequirementsResponse.js';
|
|
8
8
|
export * from './ClusterSizing.js';
|
|
9
|
+
export * from './ComplexityDiskScoreEntry.js';
|
|
10
|
+
export * from './ComplexityOSScoreEntry.js';
|
|
9
11
|
export * from './Datastore.js';
|
|
10
12
|
export * from './DiskSizeTierSummary.js';
|
|
11
13
|
export * from './DiskTypeSummary.js';
|
|
@@ -21,6 +23,8 @@ export * from './Ipv4Config.js';
|
|
|
21
23
|
export * from './Job.js';
|
|
22
24
|
export * from './JobStatus.js';
|
|
23
25
|
export * from './Label.js';
|
|
26
|
+
export * from './MigrationComplexityRequest.js';
|
|
27
|
+
export * from './MigrationComplexityResponse.js';
|
|
24
28
|
export * from './MigrationEstimationRequest.js';
|
|
25
29
|
export * from './MigrationEstimationResponse.js';
|
|
26
30
|
export * from './MigrationIssue.js';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,8 @@ __exportStar(require("./AssessmentUpdate.js"), exports);
|
|
|
24
24
|
__exportStar(require("./ClusterRequirementsRequest.js"), exports);
|
|
25
25
|
__exportStar(require("./ClusterRequirementsResponse.js"), exports);
|
|
26
26
|
__exportStar(require("./ClusterSizing.js"), exports);
|
|
27
|
+
__exportStar(require("./ComplexityDiskScoreEntry.js"), exports);
|
|
28
|
+
__exportStar(require("./ComplexityOSScoreEntry.js"), exports);
|
|
27
29
|
__exportStar(require("./Datastore.js"), exports);
|
|
28
30
|
__exportStar(require("./DiskSizeTierSummary.js"), exports);
|
|
29
31
|
__exportStar(require("./DiskTypeSummary.js"), exports);
|
|
@@ -39,6 +41,8 @@ __exportStar(require("./Ipv4Config.js"), exports);
|
|
|
39
41
|
__exportStar(require("./Job.js"), exports);
|
|
40
42
|
__exportStar(require("./JobStatus.js"), exports);
|
|
41
43
|
__exportStar(require("./Label.js"), exports);
|
|
44
|
+
__exportStar(require("./MigrationComplexityRequest.js"), exports);
|
|
45
|
+
__exportStar(require("./MigrationComplexityResponse.js"), exports);
|
|
42
46
|
__exportStar(require("./MigrationEstimationRequest.js"), exports);
|
|
43
47
|
__exportStar(require("./MigrationEstimationResponse.js"), exports);
|
|
44
48
|
__exportStar(require("./MigrationIssue.js"), exports);
|
package/dist/runtime.d.ts
CHANGED
package/dist/runtime.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* Migration
|
|
5
|
+
* OpenShift Migration Advisor API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: undefined
|
|
@@ -232,6 +232,11 @@ class ResponseError extends Error {
|
|
|
232
232
|
super(msg);
|
|
233
233
|
this.response = response;
|
|
234
234
|
this.name = "ResponseError";
|
|
235
|
+
// restore prototype chain
|
|
236
|
+
const actualProto = new.target.prototype;
|
|
237
|
+
if (Object.setPrototypeOf) {
|
|
238
|
+
Object.setPrototypeOf(this, actualProto);
|
|
239
|
+
}
|
|
235
240
|
}
|
|
236
241
|
}
|
|
237
242
|
exports.ResponseError = ResponseError;
|
|
@@ -240,6 +245,11 @@ class FetchError extends Error {
|
|
|
240
245
|
super(msg);
|
|
241
246
|
this.cause = cause;
|
|
242
247
|
this.name = "FetchError";
|
|
248
|
+
// restore prototype chain
|
|
249
|
+
const actualProto = new.target.prototype;
|
|
250
|
+
if (Object.setPrototypeOf) {
|
|
251
|
+
Object.setPrototypeOf(this, actualProto);
|
|
252
|
+
}
|
|
243
253
|
}
|
|
244
254
|
}
|
|
245
255
|
exports.FetchError = FetchError;
|
|
@@ -248,6 +258,11 @@ class RequiredError extends Error {
|
|
|
248
258
|
super(msg);
|
|
249
259
|
this.field = field;
|
|
250
260
|
this.name = "RequiredError";
|
|
261
|
+
// restore prototype chain
|
|
262
|
+
const actualProto = new.target.prototype;
|
|
263
|
+
if (Object.setPrototypeOf) {
|
|
264
|
+
Object.setPrototypeOf(this, actualProto);
|
|
265
|
+
}
|
|
251
266
|
}
|
|
252
267
|
}
|
|
253
268
|
exports.RequiredError = RequiredError;
|
package/docs/AssessmentApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *https://raw.githubusercontent.com*
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
| [**calculateAssessmentClusterRequirements**](AssessmentApi.md#calculateassessmentclusterrequirements) | **POST** /api/v1/assessments/{id}/cluster-requirements | |
|
|
8
|
+
| [**calculateMigrationComplexity**](AssessmentApi.md#calculatemigrationcomplexity) | **POST** /api/v1/assessments/{id}/complexity-estimation | |
|
|
8
9
|
| [**calculateMigrationEstimation**](AssessmentApi.md#calculatemigrationestimation) | **POST** /api/v1/assessments/{id}/migration-estimation | |
|
|
9
10
|
| [**createAssessment**](AssessmentApi.md#createassessment) | **POST** /api/v1/assessments | |
|
|
10
11
|
| [**deleteAssessment**](AssessmentApi.md#deleteassessment) | **DELETE** /api/v1/assessments/{id} | |
|
|
@@ -90,6 +91,81 @@ No authorization required
|
|
|
90
91
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
91
92
|
|
|
92
93
|
|
|
94
|
+
## calculateMigrationComplexity
|
|
95
|
+
|
|
96
|
+
> MigrationComplexityResponse calculateMigrationComplexity(id, migrationComplexityRequest)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
Calculate migration complexity estimation for an assessment cluster
|
|
101
|
+
|
|
102
|
+
### Example
|
|
103
|
+
|
|
104
|
+
```ts
|
|
105
|
+
import {
|
|
106
|
+
Configuration,
|
|
107
|
+
AssessmentApi,
|
|
108
|
+
} from '@openshift-migration-advisor/planner-sdk';
|
|
109
|
+
import type { CalculateMigrationComplexityRequest } from '@openshift-migration-advisor/planner-sdk';
|
|
110
|
+
|
|
111
|
+
async function example() {
|
|
112
|
+
console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
|
|
113
|
+
const api = new AssessmentApi();
|
|
114
|
+
|
|
115
|
+
const body = {
|
|
116
|
+
// string | ID of the assessment
|
|
117
|
+
id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
118
|
+
// MigrationComplexityRequest
|
|
119
|
+
migrationComplexityRequest: {"clusterId":"domain-c8"},
|
|
120
|
+
} satisfies CalculateMigrationComplexityRequest;
|
|
121
|
+
|
|
122
|
+
try {
|
|
123
|
+
const data = await api.calculateMigrationComplexity(body);
|
|
124
|
+
console.log(data);
|
|
125
|
+
} catch (error) {
|
|
126
|
+
console.error(error);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// Run the test
|
|
131
|
+
example().catch(console.error);
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Parameters
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
| Name | Type | Description | Notes |
|
|
138
|
+
|------------- | ------------- | ------------- | -------------|
|
|
139
|
+
| **id** | `string` | ID of the assessment | [Defaults to `undefined`] |
|
|
140
|
+
| **migrationComplexityRequest** | [MigrationComplexityRequest](MigrationComplexityRequest.md) | | |
|
|
141
|
+
|
|
142
|
+
### Return type
|
|
143
|
+
|
|
144
|
+
[**MigrationComplexityResponse**](MigrationComplexityResponse.md)
|
|
145
|
+
|
|
146
|
+
### Authorization
|
|
147
|
+
|
|
148
|
+
No authorization required
|
|
149
|
+
|
|
150
|
+
### HTTP request headers
|
|
151
|
+
|
|
152
|
+
- **Content-Type**: `application/json`
|
|
153
|
+
- **Accept**: `application/json`
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### HTTP response details
|
|
157
|
+
| Status code | Description | Response headers |
|
|
158
|
+
|-------------|-------------|------------------|
|
|
159
|
+
| **200** | Migration complexity estimation successful | - |
|
|
160
|
+
| **400** | Bad Request | - |
|
|
161
|
+
| **401** | Unauthorized | - |
|
|
162
|
+
| **403** | Forbidden | - |
|
|
163
|
+
| **404** | Assessment not found | - |
|
|
164
|
+
| **500** | Internal error | - |
|
|
165
|
+
|
|
166
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
167
|
+
|
|
168
|
+
|
|
93
169
|
## calculateMigrationEstimation
|
|
94
170
|
|
|
95
171
|
> MigrationEstimationResponse calculateMigrationEstimation(id, migrationEstimationRequest)
|
|
@@ -14,6 +14,8 @@ Name | Type
|
|
|
14
14
|
`workerNodeMemory` | number
|
|
15
15
|
`workerNodeThreads` | number
|
|
16
16
|
`controlPlaneSchedulable` | boolean
|
|
17
|
+
`controlPlaneCPU` | number
|
|
18
|
+
`controlPlaneMemory` | number
|
|
17
19
|
|
|
18
20
|
## Example
|
|
19
21
|
|
|
@@ -29,6 +31,8 @@ const example = {
|
|
|
29
31
|
"workerNodeMemory": null,
|
|
30
32
|
"workerNodeThreads": null,
|
|
31
33
|
"controlPlaneSchedulable": null,
|
|
34
|
+
"controlPlaneCPU": null,
|
|
35
|
+
"controlPlaneMemory": null,
|
|
32
36
|
} satisfies ClusterRequirementsRequest
|
|
33
37
|
|
|
34
38
|
console.log(example)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
# ComplexityDiskScoreEntry
|
|
3
|
+
|
|
4
|
+
One entry in the disk complexity breakdown
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`score` | number
|
|
11
|
+
`vmCount` | number
|
|
12
|
+
`totalSizeTB` | number
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { ComplexityDiskScoreEntry } from '@openshift-migration-advisor/planner-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"score": null,
|
|
22
|
+
"vmCount": null,
|
|
23
|
+
"totalSizeTB": null,
|
|
24
|
+
} satisfies ComplexityDiskScoreEntry
|
|
25
|
+
|
|
26
|
+
console.log(example)
|
|
27
|
+
|
|
28
|
+
// Convert the instance to a JSON string
|
|
29
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
30
|
+
console.log(exampleJSON)
|
|
31
|
+
|
|
32
|
+
// Parse the JSON string back to an object
|
|
33
|
+
const exampleParsed = JSON.parse(exampleJSON) as ComplexityDiskScoreEntry
|
|
34
|
+
console.log(exampleParsed)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
38
|
+
|
|
39
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
# ComplexityOSScoreEntry
|
|
3
|
+
|
|
4
|
+
One entry in the OS complexity breakdown
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`score` | number
|
|
11
|
+
`vmCount` | number
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { ComplexityOSScoreEntry } from '@openshift-migration-advisor/planner-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"score": null,
|
|
21
|
+
"vmCount": null,
|
|
22
|
+
} satisfies ComplexityOSScoreEntry
|
|
23
|
+
|
|
24
|
+
console.log(example)
|
|
25
|
+
|
|
26
|
+
// Convert the instance to a JSON string
|
|
27
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
28
|
+
console.log(exampleJSON)
|
|
29
|
+
|
|
30
|
+
// Parse the JSON string back to an object
|
|
31
|
+
const exampleParsed = JSON.parse(exampleJSON) as ComplexityOSScoreEntry
|
|
32
|
+
console.log(exampleParsed)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
36
|
+
|
|
37
|
+
|
package/docs/Info.md
CHANGED
package/docs/InfoApi.md
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
# MigrationComplexityRequest
|
|
3
|
+
|
|
4
|
+
Request payload for calculating migration complexity estimation
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`clusterId` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { MigrationComplexityRequest } from '@openshift-migration-advisor/planner-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"clusterId": domain-c8,
|
|
20
|
+
} satisfies MigrationComplexityRequest
|
|
21
|
+
|
|
22
|
+
console.log(example)
|
|
23
|
+
|
|
24
|
+
// Convert the instance to a JSON string
|
|
25
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
26
|
+
console.log(exampleJSON)
|
|
27
|
+
|
|
28
|
+
// Parse the JSON string back to an object
|
|
29
|
+
const exampleParsed = JSON.parse(exampleJSON) as MigrationComplexityRequest
|
|
30
|
+
console.log(exampleParsed)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
34
|
+
|
|
35
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
# MigrationComplexityResponse
|
|
3
|
+
|
|
4
|
+
Migration complexity estimation results
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`complexityByDisk` | [Array<ComplexityDiskScoreEntry>](ComplexityDiskScoreEntry.md)
|
|
11
|
+
`complexityByOS` | [Array<ComplexityOSScoreEntry>](ComplexityOSScoreEntry.md)
|
|
12
|
+
`diskSizeRatings` | { [key: string]: number; }
|
|
13
|
+
`osRatings` | { [key: string]: number; }
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { MigrationComplexityResponse } from '@openshift-migration-advisor/planner-sdk'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"complexityByDisk": null,
|
|
23
|
+
"complexityByOS": null,
|
|
24
|
+
"diskSizeRatings": null,
|
|
25
|
+
"osRatings": null,
|
|
26
|
+
} satisfies MigrationComplexityResponse
|
|
27
|
+
|
|
28
|
+
console.log(example)
|
|
29
|
+
|
|
30
|
+
// Convert the instance to a JSON string
|
|
31
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
32
|
+
console.log(exampleJSON)
|
|
33
|
+
|
|
34
|
+
// Parse the JSON string back to an object
|
|
35
|
+
const exampleParsed = JSON.parse(exampleJSON) as MigrationComplexityResponse
|
|
36
|
+
console.log(exampleParsed)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
40
|
+
|
|
41
|
+
|
package/docs/ModelError.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`message` | string
|
|
10
|
-
`requestId` | string
|
|
11
10
|
|
|
12
11
|
## Example
|
|
13
12
|
|
|
@@ -17,7 +16,6 @@ import type { ModelError } from '@openshift-migration-advisor/planner-sdk'
|
|
|
17
16
|
// TODO: Update the object below with actual values
|
|
18
17
|
const example = {
|
|
19
18
|
"message": null,
|
|
20
|
-
"requestId": null,
|
|
21
19
|
} satisfies ModelError
|
|
22
20
|
|
|
23
21
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -20,6 +20,8 @@ import type {
|
|
|
20
20
|
AssessmentUpdate,
|
|
21
21
|
ClusterRequirementsRequest,
|
|
22
22
|
ClusterRequirementsResponse,
|
|
23
|
+
MigrationComplexityRequest,
|
|
24
|
+
MigrationComplexityResponse,
|
|
23
25
|
MigrationEstimationRequest,
|
|
24
26
|
MigrationEstimationResponse,
|
|
25
27
|
} from '../models/index.js';
|
|
@@ -34,6 +36,10 @@ import {
|
|
|
34
36
|
ClusterRequirementsRequestToJSON,
|
|
35
37
|
ClusterRequirementsResponseFromJSON,
|
|
36
38
|
ClusterRequirementsResponseToJSON,
|
|
39
|
+
MigrationComplexityRequestFromJSON,
|
|
40
|
+
MigrationComplexityRequestToJSON,
|
|
41
|
+
MigrationComplexityResponseFromJSON,
|
|
42
|
+
MigrationComplexityResponseToJSON,
|
|
37
43
|
MigrationEstimationRequestFromJSON,
|
|
38
44
|
MigrationEstimationRequestToJSON,
|
|
39
45
|
MigrationEstimationResponseFromJSON,
|
|
@@ -45,6 +51,11 @@ export interface CalculateAssessmentClusterRequirementsRequest {
|
|
|
45
51
|
clusterRequirementsRequest: ClusterRequirementsRequest;
|
|
46
52
|
}
|
|
47
53
|
|
|
54
|
+
export interface CalculateMigrationComplexityRequest {
|
|
55
|
+
id: string;
|
|
56
|
+
migrationComplexityRequest: MigrationComplexityRequest;
|
|
57
|
+
}
|
|
58
|
+
|
|
48
59
|
export interface CalculateMigrationEstimationRequest {
|
|
49
60
|
id: string;
|
|
50
61
|
migrationEstimationRequest: MigrationEstimationRequest;
|
|
@@ -102,6 +113,30 @@ export interface AssessmentApiInterface {
|
|
|
102
113
|
*/
|
|
103
114
|
calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
|
|
104
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
118
|
+
* @param {string} id ID of the assessment
|
|
119
|
+
* @param {MigrationComplexityRequest} migrationComplexityRequest
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
* @memberof AssessmentApiInterface
|
|
122
|
+
*/
|
|
123
|
+
calculateMigrationComplexityRequestOpts(requestParameters: CalculateMigrationComplexityRequest): Promise<runtime.RequestOpts>;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
127
|
+
* @param {string} id ID of the assessment
|
|
128
|
+
* @param {MigrationComplexityRequest} migrationComplexityRequest
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
* @memberof AssessmentApiInterface
|
|
132
|
+
*/
|
|
133
|
+
calculateMigrationComplexityRaw(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationComplexityResponse>>;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
137
|
+
*/
|
|
138
|
+
calculateMigrationComplexity(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationComplexityResponse>;
|
|
139
|
+
|
|
105
140
|
/**
|
|
106
141
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
107
142
|
* @param {string} id ID of the assessment
|
|
@@ -300,6 +335,61 @@ export class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInter
|
|
|
300
335
|
return await response.value();
|
|
301
336
|
}
|
|
302
337
|
|
|
338
|
+
/**
|
|
339
|
+
* Creates request options for calculateMigrationComplexity without sending the request
|
|
340
|
+
*/
|
|
341
|
+
async calculateMigrationComplexityRequestOpts(requestParameters: CalculateMigrationComplexityRequest): Promise<runtime.RequestOpts> {
|
|
342
|
+
if (requestParameters['id'] == null) {
|
|
343
|
+
throw new runtime.RequiredError(
|
|
344
|
+
'id',
|
|
345
|
+
'Required parameter "id" was null or undefined when calling calculateMigrationComplexity().'
|
|
346
|
+
);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
if (requestParameters['migrationComplexityRequest'] == null) {
|
|
350
|
+
throw new runtime.RequiredError(
|
|
351
|
+
'migrationComplexityRequest',
|
|
352
|
+
'Required parameter "migrationComplexityRequest" was null or undefined when calling calculateMigrationComplexity().'
|
|
353
|
+
);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
const queryParameters: any = {};
|
|
357
|
+
|
|
358
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
359
|
+
|
|
360
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
let urlPath = `/api/v1/assessments/{id}/complexity-estimation`;
|
|
364
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
365
|
+
|
|
366
|
+
return {
|
|
367
|
+
path: urlPath,
|
|
368
|
+
method: 'POST',
|
|
369
|
+
headers: headerParameters,
|
|
370
|
+
query: queryParameters,
|
|
371
|
+
body: MigrationComplexityRequestToJSON(requestParameters['migrationComplexityRequest']),
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
377
|
+
*/
|
|
378
|
+
async calculateMigrationComplexityRaw(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MigrationComplexityResponse>> {
|
|
379
|
+
const requestOptions = await this.calculateMigrationComplexityRequestOpts(requestParameters);
|
|
380
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
381
|
+
|
|
382
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MigrationComplexityResponseFromJSON(jsonValue));
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Calculate migration complexity estimation for an assessment cluster
|
|
387
|
+
*/
|
|
388
|
+
async calculateMigrationComplexity(requestParameters: CalculateMigrationComplexityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MigrationComplexityResponse> {
|
|
389
|
+
const response = await this.calculateMigrationComplexityRaw(requestParameters, initOverrides);
|
|
390
|
+
return await response.value();
|
|
391
|
+
}
|
|
392
|
+
|
|
303
393
|
/**
|
|
304
394
|
* Creates request options for calculateMigrationEstimation without sending the request
|
|
305
395
|
*/
|
package/src/apis/HealthApi.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/apis/ImageApi.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
package/src/apis/InfoApi.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Migration
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: undefined
|
|
@@ -37,7 +37,7 @@ export interface InfoApiInterface {
|
|
|
37
37
|
getInfoRequestOpts(): Promise<runtime.RequestOpts>;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Get
|
|
40
|
+
* Get OpenShift Migration Advisor information
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
* @memberof InfoApiInterface
|
|
@@ -45,7 +45,7 @@ export interface InfoApiInterface {
|
|
|
45
45
|
getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>>;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Get
|
|
48
|
+
* Get OpenShift Migration Advisor information
|
|
49
49
|
*/
|
|
50
50
|
getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info>;
|
|
51
51
|
|
|
@@ -76,7 +76,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* Get
|
|
79
|
+
* Get OpenShift Migration Advisor information
|
|
80
80
|
*/
|
|
81
81
|
async getInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Info>> {
|
|
82
82
|
const requestOptions = await this.getInfoRequestOpts();
|
|
@@ -86,7 +86,7 @@ export class InfoApi extends runtime.BaseAPI implements InfoApiInterface {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
* Get
|
|
89
|
+
* Get OpenShift Migration Advisor information
|
|
90
90
|
*/
|
|
91
91
|
async getInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Info> {
|
|
92
92
|
const response = await this.getInfoRaw(initOverrides);
|