@openshift-migration-advisor/planner-sdk 0.5.1 → 0.6.0-048145a30095
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 +27 -1
- package/dist/esm/models/ClusterRequirementsRequest.js +14 -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 +14 -2
- package/dist/esm/models/Info.js +5 -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 +27 -1
- package/dist/models/ClusterRequirementsRequest.js +15 -2
- 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 +14 -2
- package/dist/models/Info.js +5 -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 +6 -0
- package/docs/ComplexityDiskScoreEntry.md +39 -0
- package/docs/ComplexityOSScoreEntry.md +37 -0
- package/docs/Info.md +5 -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 +34 -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 +18 -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/esm/models/Job.d.ts
CHANGED
package/dist/esm/models/Job.js
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
|
|
@@ -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/dist/esm/models/Label.js
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
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
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
|
+
* Request payload for calculating migration complexity estimation
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MigrationComplexityRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface MigrationComplexityRequest {
|
|
18
|
+
/**
|
|
19
|
+
* ID of the cluster to calculate complexity estimation for
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MigrationComplexityRequest
|
|
22
|
+
*/
|
|
23
|
+
clusterId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the MigrationComplexityRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfMigrationComplexityRequest(value: object): value is MigrationComplexityRequest;
|
|
29
|
+
export declare function MigrationComplexityRequestFromJSON(json: any): MigrationComplexityRequest;
|
|
30
|
+
export declare function MigrationComplexityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationComplexityRequest;
|
|
31
|
+
export declare function MigrationComplexityRequestToJSON(json: any): MigrationComplexityRequest;
|
|
32
|
+
export declare function MigrationComplexityRequestToJSONTyped(value?: MigrationComplexityRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the MigrationComplexityRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMigrationComplexityRequest(value) {
|
|
18
|
+
if (!('clusterId' in value) || value['clusterId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function MigrationComplexityRequestFromJSON(json) {
|
|
23
|
+
return MigrationComplexityRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function MigrationComplexityRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'clusterId': json['clusterId'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function MigrationComplexityRequestToJSON(json) {
|
|
34
|
+
return MigrationComplexityRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function MigrationComplexityRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'clusterId': value['clusterId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
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
|
+
import type { ComplexityOSScoreEntry } from './ComplexityOSScoreEntry.js';
|
|
13
|
+
import type { ComplexityDiskScoreEntry } from './ComplexityDiskScoreEntry.js';
|
|
14
|
+
/**
|
|
15
|
+
* Migration complexity estimation results
|
|
16
|
+
* @export
|
|
17
|
+
* @interface MigrationComplexityResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface MigrationComplexityResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Disk-size complexity scores, one entry per score level (1-4). Score 1 is the least complex disk footprint; score 4 is the most complex. Scores correspond to provisioned disk size: 1 (<=10 TB), 2 (<=20 TB), 3 (<=50 TB), 4 (>50 TB). All four score levels are always present.
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<ComplexityDiskScoreEntry>}
|
|
24
|
+
* @memberof MigrationComplexityResponse
|
|
25
|
+
*/
|
|
26
|
+
complexityByDisk: Array<ComplexityDiskScoreEntry>;
|
|
27
|
+
/**
|
|
28
|
+
* OS complexity scores, one entry per score level (0-4). Score 1 indicates the least complex OS to migrate; score 0 indicates an OS that could not be classified. All five score levels are always present.
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<ComplexityOSScoreEntry>}
|
|
31
|
+
* @memberof MigrationComplexityResponse
|
|
32
|
+
*/
|
|
33
|
+
complexityByOS: Array<ComplexityOSScoreEntry>;
|
|
34
|
+
/**
|
|
35
|
+
* Static lookup table mapping each disk-size tier label to its numeric complexity score. The content is identical for every cluster and reflects the DiskSizeScores configuration in the complexity package.
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: number; }}
|
|
38
|
+
* @memberof MigrationComplexityResponse
|
|
39
|
+
*/
|
|
40
|
+
diskSizeRatings: {
|
|
41
|
+
[key: string]: number;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Per-OS-name score for every OS found in this cluster's inventory. Keys are the OS name strings exactly as they appear in vms.osInfo; values are the numeric complexity score assigned by ClassifyOS (0 = unclassified, 1-4 = increasing complexity). The map contains one entry per distinct OS name in the cluster, regardless of how many VMs run it.
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: number; }}
|
|
47
|
+
* @memberof MigrationComplexityResponse
|
|
48
|
+
*/
|
|
49
|
+
osRatings: {
|
|
50
|
+
[key: string]: number;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the MigrationComplexityResponse interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfMigrationComplexityResponse(value: object): value is MigrationComplexityResponse;
|
|
57
|
+
export declare function MigrationComplexityResponseFromJSON(json: any): MigrationComplexityResponse;
|
|
58
|
+
export declare function MigrationComplexityResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationComplexityResponse;
|
|
59
|
+
export declare function MigrationComplexityResponseToJSON(json: any): MigrationComplexityResponse;
|
|
60
|
+
export declare function MigrationComplexityResponseToJSONTyped(value?: MigrationComplexityResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ComplexityOSScoreEntryFromJSON, ComplexityOSScoreEntryToJSON, } from './ComplexityOSScoreEntry.js';
|
|
15
|
+
import { ComplexityDiskScoreEntryFromJSON, ComplexityDiskScoreEntryToJSON, } from './ComplexityDiskScoreEntry.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the MigrationComplexityResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfMigrationComplexityResponse(value) {
|
|
20
|
+
if (!('complexityByDisk' in value) || value['complexityByDisk'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('complexityByOS' in value) || value['complexityByOS'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('diskSizeRatings' in value) || value['diskSizeRatings'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('osRatings' in value) || value['osRatings'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function MigrationComplexityResponseFromJSON(json) {
|
|
31
|
+
return MigrationComplexityResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function MigrationComplexityResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'complexityByDisk': (json['complexityByDisk'].map(ComplexityDiskScoreEntryFromJSON)),
|
|
39
|
+
'complexityByOS': (json['complexityByOS'].map(ComplexityOSScoreEntryFromJSON)),
|
|
40
|
+
'diskSizeRatings': json['diskSizeRatings'],
|
|
41
|
+
'osRatings': json['osRatings'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function MigrationComplexityResponseToJSON(json) {
|
|
45
|
+
return MigrationComplexityResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function MigrationComplexityResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'complexityByDisk': (value['complexityByDisk'].map(ComplexityDiskScoreEntryToJSON)),
|
|
53
|
+
'complexityByOS': (value['complexityByOS'].map(ComplexityOSScoreEntryToJSON)),
|
|
54
|
+
'diskSizeRatings': value['diskSizeRatings'],
|
|
55
|
+
'osRatings': value['osRatings'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Migration
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: undefined
|
|
@@ -21,12 +21,6 @@ export interface ModelError {
|
|
|
21
21
|
* @memberof ModelError
|
|
22
22
|
*/
|
|
23
23
|
message: string;
|
|
24
|
-
/**
|
|
25
|
-
* Id of the request generating the error
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ModelError
|
|
28
|
-
*/
|
|
29
|
-
requestId?: string;
|
|
30
24
|
}
|
|
31
25
|
/**
|
|
32
26
|
* Check if a given object implements the ModelError interface.
|
|
@@ -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
|
|
@@ -28,7 +28,6 @@ export function ModelErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
30
|
'message': json['message'],
|
|
31
|
-
'requestId': json['requestId'] == null ? undefined : json['requestId'],
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
33
|
export function ModelErrorToJSON(json) {
|
|
@@ -40,6 +39,5 @@ export function ModelErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
40
39
|
}
|
|
41
40
|
return {
|
|
42
41
|
'message': value['message'],
|
|
43
|
-
'requestId': value['requestId'],
|
|
44
42
|
};
|
|
45
43
|
}
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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/dist/esm/models/VMs.d.ts
CHANGED