@openshift-migration-advisor/planner-sdk 0.19.0 → 0.20.1
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/README.md +2 -2
- package/dist/apis/AccountApi.d.ts +48 -0
- package/dist/apis/AssessmentApi.d.ts +54 -0
- package/dist/apis/ImageApi.d.ts +6 -0
- package/dist/apis/JobApi.d.ts +12 -0
- package/dist/apis/PartnerApi.d.ts +24 -0
- package/dist/apis/SizingApi.d.ts +3 -0
- package/dist/apis/SourceApi.d.ts +21 -0
- package/dist/esm/apis/AccountApi.d.ts +48 -0
- package/dist/esm/apis/AssessmentApi.d.ts +54 -0
- package/dist/esm/apis/ImageApi.d.ts +6 -0
- package/dist/esm/apis/JobApi.d.ts +12 -0
- package/dist/esm/apis/PartnerApi.d.ts +24 -0
- package/dist/esm/apis/SizingApi.d.ts +3 -0
- package/dist/esm/apis/SourceApi.d.ts +21 -0
- package/dist/esm/models/Agent.d.ts +0 -14
- package/dist/esm/models/AgentProxy.d.ts +0 -6
- package/dist/esm/models/Assessment.d.ts +0 -20
- package/dist/esm/models/AssessmentForm.d.ts +0 -8
- package/dist/esm/models/AssessmentSharing.d.ts +0 -6
- package/dist/esm/models/AssessmentSubsetInventory.d.ts +0 -12
- package/dist/esm/models/AssessmentUpdate.d.ts +0 -2
- package/dist/esm/models/ClusterFeatures.d.ts +0 -6
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +0 -24
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +0 -12
- package/dist/esm/models/ClusterRequirementsStoredInput.d.ts +0 -24
- package/dist/esm/models/ClusterSizing.d.ts +0 -18
- package/dist/esm/models/ClusterUtilization.d.ts +0 -14
- package/dist/esm/models/ComplexityDiskScoreEntry.d.ts +0 -6
- package/dist/esm/models/ComplexityOSNameEntry.d.ts +0 -6
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +0 -4
- package/dist/esm/models/Customer.d.ts +0 -12
- package/dist/esm/models/Datastore.d.ts +0 -20
- package/dist/esm/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/esm/models/DiskTypeSummary.d.ts +0 -4
- package/dist/esm/models/EstimationContext.d.ts +0 -4
- package/dist/esm/models/EstimationDetail.d.ts +0 -8
- package/dist/esm/models/Group.d.ts +0 -16
- package/dist/esm/models/GroupCreate.d.ts +0 -10
- package/dist/esm/models/GroupUpdate.d.ts +0 -8
- package/dist/esm/models/Histogram.d.ts +0 -6
- package/dist/esm/models/Host.d.ts +0 -12
- package/dist/esm/models/Identity.d.ts +0 -8
- package/dist/esm/models/Info.d.ts +0 -8
- package/dist/esm/models/Infra.d.ts +0 -24
- package/dist/esm/models/Inventory.d.ts +0 -8
- package/dist/esm/models/InventoryData.d.ts +0 -10
- package/dist/esm/models/InventoryTotals.d.ts +0 -6
- package/dist/esm/models/Ipv4Config.d.ts +0 -8
- package/dist/esm/models/IssuesBreakdown.d.ts +0 -10
- package/dist/esm/models/Job.d.ts +0 -8
- package/dist/esm/models/Label.d.ts +0 -4
- package/dist/esm/models/Member.d.ts +0 -10
- package/dist/esm/models/MemberCreate.d.ts +0 -4
- package/dist/esm/models/MemberUpdate.d.ts +0 -2
- package/dist/esm/models/MigrationComplexityRequest.d.ts +0 -2
- package/dist/esm/models/MigrationComplexityResponse.d.ts +0 -10
- package/dist/esm/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
- package/dist/esm/models/MigrationEstimationRequest.d.ts +0 -6
- package/dist/esm/models/MigrationEstimationResponse.d.ts +0 -4
- package/dist/esm/models/MigrationIssue.d.ts +0 -8
- package/dist/esm/models/ModelError.d.ts +0 -2
- package/dist/esm/models/Network.d.ts +0 -10
- package/dist/esm/models/OptimizationStatus.d.ts +0 -4
- package/dist/esm/models/OsDiskEstimationEntry.d.ts +0 -8
- package/dist/esm/models/OsInfo.d.ts +0 -8
- package/dist/esm/models/PartnerRequest.d.ts +0 -26
- package/dist/esm/models/PartnerRequestCreate.d.ts +0 -10
- package/dist/esm/models/PartnerRequestUpdate.d.ts +0 -4
- package/dist/esm/models/PartnerSummary.d.ts +0 -8
- package/dist/esm/models/PresignedUrl.d.ts +0 -4
- package/dist/esm/models/Savings.d.ts +0 -6
- package/dist/esm/models/SchemaEstimationResult.d.ts +0 -6
- package/dist/esm/models/SharingSubject.d.ts +0 -6
- package/dist/esm/models/SizingOverCommitRatio.d.ts +0 -4
- package/dist/esm/models/SizingResourceConsumption.d.ts +0 -8
- package/dist/esm/models/SizingResourceLimits.d.ts +0 -4
- package/dist/esm/models/Snapshot.d.ts +0 -6
- package/dist/esm/models/Source.d.ts +0 -24
- package/dist/esm/models/SourceCreate.d.ts +0 -18
- package/dist/esm/models/SourceInfra.d.ts +0 -6
- package/dist/esm/models/SourceUpdate.d.ts +0 -18
- package/dist/esm/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
- package/dist/esm/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
- package/dist/esm/models/Status.d.ts +0 -6
- package/dist/esm/models/StorageIoConfiguration.d.ts +0 -8
- package/dist/esm/models/UpdateInventory.d.ts +0 -4
- package/dist/esm/models/VCenter.d.ts +0 -2
- package/dist/esm/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/esm/models/VMs.d.ts +0 -46
- package/dist/esm/models/VmNetwork.d.ts +0 -2
- package/dist/models/Agent.d.ts +0 -14
- package/dist/models/AgentProxy.d.ts +0 -6
- package/dist/models/Assessment.d.ts +0 -20
- package/dist/models/AssessmentForm.d.ts +0 -8
- package/dist/models/AssessmentSharing.d.ts +0 -6
- package/dist/models/AssessmentSubsetInventory.d.ts +0 -12
- package/dist/models/AssessmentUpdate.d.ts +0 -2
- package/dist/models/ClusterFeatures.d.ts +0 -6
- package/dist/models/ClusterRequirementsRequest.d.ts +0 -24
- package/dist/models/ClusterRequirementsResponse.d.ts +0 -12
- package/dist/models/ClusterRequirementsStoredInput.d.ts +0 -24
- package/dist/models/ClusterSizing.d.ts +0 -18
- package/dist/models/ClusterUtilization.d.ts +0 -14
- package/dist/models/ComplexityDiskScoreEntry.d.ts +0 -6
- package/dist/models/ComplexityOSNameEntry.d.ts +0 -6
- package/dist/models/ComplexityOSScoreEntry.d.ts +0 -4
- package/dist/models/Customer.d.ts +0 -12
- package/dist/models/Datastore.d.ts +0 -20
- package/dist/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/models/DiskTypeSummary.d.ts +0 -4
- package/dist/models/EstimationContext.d.ts +0 -4
- package/dist/models/EstimationDetail.d.ts +0 -8
- package/dist/models/Group.d.ts +0 -16
- package/dist/models/GroupCreate.d.ts +0 -10
- package/dist/models/GroupUpdate.d.ts +0 -8
- package/dist/models/Histogram.d.ts +0 -6
- package/dist/models/Host.d.ts +0 -12
- package/dist/models/Identity.d.ts +0 -8
- package/dist/models/Info.d.ts +0 -8
- package/dist/models/Infra.d.ts +0 -24
- package/dist/models/Inventory.d.ts +0 -8
- package/dist/models/InventoryData.d.ts +0 -10
- package/dist/models/InventoryTotals.d.ts +0 -6
- package/dist/models/Ipv4Config.d.ts +0 -8
- package/dist/models/IssuesBreakdown.d.ts +0 -10
- package/dist/models/Job.d.ts +0 -8
- package/dist/models/Label.d.ts +0 -4
- package/dist/models/Member.d.ts +0 -10
- package/dist/models/MemberCreate.d.ts +0 -4
- package/dist/models/MemberUpdate.d.ts +0 -2
- package/dist/models/MigrationComplexityRequest.d.ts +0 -2
- package/dist/models/MigrationComplexityResponse.d.ts +0 -10
- package/dist/models/MigrationEstimationByComplexityResponse.d.ts +0 -6
- package/dist/models/MigrationEstimationRequest.d.ts +0 -6
- package/dist/models/MigrationEstimationResponse.d.ts +0 -4
- package/dist/models/MigrationIssue.d.ts +0 -8
- package/dist/models/ModelError.d.ts +0 -2
- package/dist/models/Network.d.ts +0 -10
- package/dist/models/OptimizationStatus.d.ts +0 -4
- package/dist/models/OsDiskEstimationEntry.d.ts +0 -8
- package/dist/models/OsInfo.d.ts +0 -8
- package/dist/models/PartnerRequest.d.ts +0 -26
- package/dist/models/PartnerRequestCreate.d.ts +0 -10
- package/dist/models/PartnerRequestUpdate.d.ts +0 -4
- package/dist/models/PartnerSummary.d.ts +0 -8
- package/dist/models/PresignedUrl.d.ts +0 -4
- package/dist/models/Savings.d.ts +0 -6
- package/dist/models/SchemaEstimationResult.d.ts +0 -6
- package/dist/models/SharingSubject.d.ts +0 -6
- package/dist/models/SizingOverCommitRatio.d.ts +0 -4
- package/dist/models/SizingResourceConsumption.d.ts +0 -8
- package/dist/models/SizingResourceLimits.d.ts +0 -4
- package/dist/models/Snapshot.d.ts +0 -6
- package/dist/models/Source.d.ts +0 -24
- package/dist/models/SourceCreate.d.ts +0 -18
- package/dist/models/SourceInfra.d.ts +0 -6
- package/dist/models/SourceUpdate.d.ts +0 -18
- package/dist/models/StandaloneClusterRequirementsRequest.d.ts +0 -28
- package/dist/models/StandaloneClusterRequirementsResponse.d.ts +0 -4
- package/dist/models/Status.d.ts +0 -6
- package/dist/models/StorageIoConfiguration.d.ts +0 -8
- package/dist/models/UpdateInventory.d.ts +0 -4
- package/dist/models/VCenter.d.ts +0 -2
- package/dist/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/models/VMs.d.ts +0 -46
- package/dist/models/VmNetwork.d.ts +0 -2
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +48 -0
- package/src/apis/AssessmentApi.ts +54 -0
- package/src/apis/ImageApi.ts +6 -0
- package/src/apis/JobApi.ts +12 -0
- package/src/apis/PartnerApi.ts +24 -0
- package/src/apis/SizingApi.ts +3 -0
- package/src/apis/SourceApi.ts +21 -0
- package/src/models/Agent.ts +0 -14
- package/src/models/AgentProxy.ts +0 -6
- package/src/models/Assessment.ts +0 -20
- package/src/models/AssessmentForm.ts +0 -8
- package/src/models/AssessmentSharing.ts +0 -6
- package/src/models/AssessmentSubsetInventory.ts +0 -12
- package/src/models/AssessmentUpdate.ts +0 -2
- package/src/models/ClusterFeatures.ts +0 -6
- package/src/models/ClusterRequirementsRequest.ts +0 -24
- package/src/models/ClusterRequirementsResponse.ts +0 -12
- package/src/models/ClusterRequirementsStoredInput.ts +0 -24
- package/src/models/ClusterSizing.ts +0 -18
- package/src/models/ClusterUtilization.ts +0 -14
- package/src/models/ComplexityDiskScoreEntry.ts +0 -6
- package/src/models/ComplexityOSNameEntry.ts +0 -6
- package/src/models/ComplexityOSScoreEntry.ts +0 -4
- package/src/models/Customer.ts +0 -12
- package/src/models/Datastore.ts +0 -20
- package/src/models/DiskSizeTierSummary.ts +0 -4
- package/src/models/DiskTypeSummary.ts +0 -4
- package/src/models/EstimationContext.ts +0 -4
- package/src/models/EstimationDetail.ts +0 -8
- package/src/models/Group.ts +0 -16
- package/src/models/GroupCreate.ts +0 -10
- package/src/models/GroupUpdate.ts +0 -8
- package/src/models/Histogram.ts +0 -6
- package/src/models/Host.ts +0 -12
- package/src/models/Identity.ts +0 -8
- package/src/models/Info.ts +0 -8
- package/src/models/Infra.ts +0 -24
- package/src/models/Inventory.ts +0 -8
- package/src/models/InventoryData.ts +0 -10
- package/src/models/InventoryTotals.ts +0 -6
- package/src/models/Ipv4Config.ts +0 -8
- package/src/models/IssuesBreakdown.ts +0 -10
- package/src/models/Job.ts +0 -8
- package/src/models/Label.ts +0 -4
- package/src/models/Member.ts +0 -10
- package/src/models/MemberCreate.ts +0 -4
- package/src/models/MemberUpdate.ts +0 -2
- package/src/models/MigrationComplexityRequest.ts +0 -2
- package/src/models/MigrationComplexityResponse.ts +0 -10
- package/src/models/MigrationEstimationByComplexityResponse.ts +0 -6
- package/src/models/MigrationEstimationRequest.ts +0 -6
- package/src/models/MigrationEstimationResponse.ts +0 -4
- package/src/models/MigrationIssue.ts +0 -8
- package/src/models/ModelError.ts +0 -2
- package/src/models/Network.ts +0 -10
- package/src/models/OptimizationStatus.ts +0 -4
- package/src/models/OsDiskEstimationEntry.ts +0 -8
- package/src/models/OsInfo.ts +0 -8
- package/src/models/PartnerRequest.ts +0 -26
- package/src/models/PartnerRequestCreate.ts +0 -10
- package/src/models/PartnerRequestUpdate.ts +0 -4
- package/src/models/PartnerSummary.ts +0 -8
- package/src/models/PresignedUrl.ts +0 -4
- package/src/models/Savings.ts +0 -6
- package/src/models/SchemaEstimationResult.ts +0 -6
- package/src/models/SharingSubject.ts +0 -6
- package/src/models/SizingOverCommitRatio.ts +0 -4
- package/src/models/SizingResourceConsumption.ts +0 -8
- package/src/models/SizingResourceLimits.ts +0 -4
- package/src/models/Snapshot.ts +0 -6
- package/src/models/Source.ts +0 -24
- package/src/models/SourceCreate.ts +0 -18
- package/src/models/SourceInfra.ts +0 -6
- package/src/models/SourceUpdate.ts +0 -18
- package/src/models/StandaloneClusterRequirementsRequest.ts +0 -28
- package/src/models/StandaloneClusterRequirementsResponse.ts +0 -4
- package/src/models/Status.ts +0 -6
- package/src/models/StorageIoConfiguration.ts +0 -8
- package/src/models/UpdateInventory.ts +0 -4
- package/src/models/VCenter.ts +0 -2
- package/src/models/VMResourceBreakdown.ts +0 -10
- package/src/models/VMs.ts +0 -46
- package/src/models/VmNetwork.ts +0 -2
|
@@ -44,36 +44,26 @@ export interface MigrationComplexityResponse {
|
|
|
44
44
|
/**
|
|
45
45
|
* 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.
|
|
46
46
|
*
|
|
47
|
-
* @type {Array<ComplexityDiskScoreEntry>}
|
|
48
|
-
* @memberof MigrationComplexityResponse
|
|
49
47
|
*/
|
|
50
48
|
complexityByDisk: Array<ComplexityDiskScoreEntry>;
|
|
51
49
|
/**
|
|
52
50
|
* OS complexity scores, one entry per score level (0-4). Score 1 indicates the least complex OS to migrate; score 0 indicates an OS with unknown complexity. All five score levels are always present.
|
|
53
51
|
*
|
|
54
|
-
* @type {Array<ComplexityOSScoreEntry>}
|
|
55
|
-
* @memberof MigrationComplexityResponse
|
|
56
52
|
*/
|
|
57
53
|
complexityByOS: Array<ComplexityOSScoreEntry>;
|
|
58
54
|
/**
|
|
59
55
|
* 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.
|
|
60
56
|
*
|
|
61
|
-
* @type {{ [key: string]: number; }}
|
|
62
|
-
* @memberof MigrationComplexityResponse
|
|
63
57
|
*/
|
|
64
58
|
diskSizeRatings: { [key: string]: number; };
|
|
65
59
|
/**
|
|
66
60
|
* 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 = unknown, 1-4 = increasing complexity). The map contains one entry per distinct OS name in the cluster, regardless of how many VMs run it.
|
|
67
61
|
*
|
|
68
|
-
* @type {{ [key: string]: number; }}
|
|
69
|
-
* @memberof MigrationComplexityResponse
|
|
70
62
|
*/
|
|
71
63
|
osRatings: { [key: string]: number; };
|
|
72
64
|
/**
|
|
73
65
|
* Per-OS-name complexity breakdown. One entry per distinct OS name found in the cluster's inventory. Each entry carries the OS name string, its numeric complexity score (0–4), and the number of VMs running it.
|
|
74
66
|
*
|
|
75
|
-
* @type {Array<ComplexityOSNameEntry>}
|
|
76
|
-
* @memberof MigrationComplexityResponse
|
|
77
67
|
*/
|
|
78
68
|
complexityByOSName: Array<ComplexityOSNameEntry>;
|
|
79
69
|
}
|
|
@@ -36,20 +36,14 @@ import {
|
|
|
36
36
|
export interface MigrationEstimationByComplexityResponse {
|
|
37
37
|
/**
|
|
38
38
|
* Combined OS+Disk complexity distribution with per-bucket estimation. All 5 score levels (0-4) always present.
|
|
39
|
-
* @type {Array<OsDiskEstimationEntry>}
|
|
40
|
-
* @memberof MigrationEstimationByComplexityResponse
|
|
41
39
|
*/
|
|
42
40
|
complexityByOsDisk: Array<OsDiskEstimationEntry>;
|
|
43
41
|
/**
|
|
44
42
|
* Decision matrix: outer keys are OS scores (0-4), inner keys are disk scores (1-4), values are combined scores.
|
|
45
|
-
* @type {{ [key: string]: { [key: string]: number; }; }}
|
|
46
|
-
* @memberof MigrationEstimationByComplexityResponse
|
|
47
43
|
*/
|
|
48
44
|
complexityMatrix: { [key: string]: { [key: string]: number; }; };
|
|
49
45
|
/**
|
|
50
46
|
*
|
|
51
|
-
* @type {EstimationContext}
|
|
52
|
-
* @memberof MigrationEstimationByComplexityResponse
|
|
53
47
|
*/
|
|
54
48
|
estimationContext?: EstimationContext;
|
|
55
49
|
}
|
|
@@ -21,22 +21,16 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface MigrationEstimationRequest {
|
|
22
22
|
/**
|
|
23
23
|
* ID of the cluster to calculate migration estimation for
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof MigrationEstimationRequest
|
|
26
24
|
*/
|
|
27
25
|
clusterId: string;
|
|
28
26
|
/**
|
|
29
27
|
* Schemas to run. Valid values: "network-based", "storage-offload". If omitted, all schemas are run.
|
|
30
28
|
*
|
|
31
|
-
* @type {Array<string>}
|
|
32
|
-
* @memberof MigrationEstimationRequest
|
|
33
29
|
*/
|
|
34
30
|
estimationSchema?: Array<string>;
|
|
35
31
|
/**
|
|
36
32
|
* Optional calculator parameter overrides. Keys must match known calculator param names (e.g. "transfer_rate_mbps", "work_hours_per_day", "troubleshoot_mins_per_vm", "post_migration_engineers"). User-supplied values take precedence over both defaults and inventory-derived values. Unknown keys are rejected with HTTP 400.
|
|
37
33
|
*
|
|
38
|
-
* @type {{ [key: string]: any; }}
|
|
39
|
-
* @memberof MigrationEstimationRequest
|
|
40
34
|
*/
|
|
41
35
|
params?: { [key: string]: any; };
|
|
42
36
|
}
|
|
@@ -37,14 +37,10 @@ import {
|
|
|
37
37
|
export interface MigrationEstimationResponse {
|
|
38
38
|
/**
|
|
39
39
|
* Estimation results keyed by schema name (e.g. "network-based", "storage-offload").
|
|
40
|
-
* @type {{ [key: string]: SchemaEstimationResult; }}
|
|
41
|
-
* @memberof MigrationEstimationResponse
|
|
42
40
|
*/
|
|
43
41
|
estimation: { [key: string]: SchemaEstimationResult; };
|
|
44
42
|
/**
|
|
45
43
|
*
|
|
46
|
-
* @type {EstimationContext}
|
|
47
|
-
* @memberof MigrationEstimationResponse
|
|
48
44
|
*/
|
|
49
45
|
estimationContext: EstimationContext;
|
|
50
46
|
}
|
|
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface MigrationIssue {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof MigrationIssue
|
|
26
24
|
*/
|
|
27
25
|
id?: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof MigrationIssue
|
|
32
28
|
*/
|
|
33
29
|
label: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof MigrationIssue
|
|
38
32
|
*/
|
|
39
33
|
assessment: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof MigrationIssue
|
|
44
36
|
*/
|
|
45
37
|
count: number;
|
|
46
38
|
}
|
package/src/models/ModelError.ts
CHANGED
package/src/models/Network.ts
CHANGED
|
@@ -21,32 +21,22 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Network {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {NetworkTypeEnum}
|
|
25
|
-
* @memberof Network
|
|
26
24
|
*/
|
|
27
25
|
type: NetworkTypeEnum;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Network
|
|
32
28
|
*/
|
|
33
29
|
name: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Network
|
|
38
32
|
*/
|
|
39
33
|
vlanId?: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Network
|
|
44
36
|
*/
|
|
45
37
|
dvswitch?: string;
|
|
46
38
|
/**
|
|
47
39
|
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof Network
|
|
50
40
|
*/
|
|
51
41
|
vmsCount?: number;
|
|
52
42
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface OptimizationStatus {
|
|
22
22
|
/**
|
|
23
23
|
* Whether optimization was attempted based on available utilization data
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof OptimizationStatus
|
|
26
24
|
*/
|
|
27
25
|
attempted: boolean;
|
|
28
26
|
/**
|
|
29
27
|
* Reason for optimization result
|
|
30
|
-
* @type {OptimizationStatusReasonEnum}
|
|
31
|
-
* @memberof OptimizationStatus
|
|
32
28
|
*/
|
|
33
29
|
reason: OptimizationStatusReasonEnum;
|
|
34
30
|
}
|
|
@@ -29,26 +29,18 @@ import {
|
|
|
29
29
|
export interface OsDiskEstimationEntry {
|
|
30
30
|
/**
|
|
31
31
|
* Combined OS+Disk complexity score (0-4).
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof OsDiskEstimationEntry
|
|
34
32
|
*/
|
|
35
33
|
score: number;
|
|
36
34
|
/**
|
|
37
35
|
* Number of VMs at this complexity level.
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof OsDiskEstimationEntry
|
|
40
36
|
*/
|
|
41
37
|
vmCount: number;
|
|
42
38
|
/**
|
|
43
39
|
* Total provisioned disk across VMs in this bucket (decimal TB). 0.0 when ComplexityDistribution is absent from the inventory.
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof OsDiskEstimationEntry
|
|
46
40
|
*/
|
|
47
41
|
totalDiskSizeTB: number;
|
|
48
42
|
/**
|
|
49
43
|
* Full estimation breakdown keyed by schema name. Absent for empty buckets (vmCount == 0).
|
|
50
|
-
* @type {{ [key: string]: SchemaEstimationResult; }}
|
|
51
|
-
* @memberof OsDiskEstimationEntry
|
|
52
44
|
*/
|
|
53
45
|
estimation?: { [key: string]: SchemaEstimationResult; };
|
|
54
46
|
}
|
package/src/models/OsInfo.ts
CHANGED
|
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface OsInfo {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof OsInfo
|
|
26
24
|
*/
|
|
27
25
|
count: number;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof OsInfo
|
|
32
28
|
*/
|
|
33
29
|
supported: boolean;
|
|
34
30
|
/**
|
|
35
31
|
* OS support tier per Red Hat KCS article 4234591
|
|
36
|
-
* @type {OsInfoSupportTierEnum}
|
|
37
|
-
* @memberof OsInfo
|
|
38
32
|
*/
|
|
39
33
|
supportTier?: OsInfoSupportTierEnum;
|
|
40
34
|
/**
|
|
41
35
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof OsInfo
|
|
44
36
|
*/
|
|
45
37
|
upgradeRecommendation?: string;
|
|
46
38
|
}
|
|
@@ -36,80 +36,54 @@ import {
|
|
|
36
36
|
export interface PartnerRequest {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof PartnerRequest
|
|
41
39
|
*/
|
|
42
40
|
id: string;
|
|
43
41
|
/**
|
|
44
42
|
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof PartnerRequest
|
|
47
43
|
*/
|
|
48
44
|
username: string;
|
|
49
45
|
/**
|
|
50
46
|
*
|
|
51
|
-
* @type {PartnerSummary}
|
|
52
|
-
* @memberof PartnerRequest
|
|
53
47
|
*/
|
|
54
48
|
partner: PartnerSummary;
|
|
55
49
|
/**
|
|
56
50
|
*
|
|
57
|
-
* @type {PartnerRequestStatus}
|
|
58
|
-
* @memberof PartnerRequest
|
|
59
51
|
*/
|
|
60
52
|
requestStatus: PartnerRequestStatus;
|
|
61
53
|
/**
|
|
62
54
|
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof PartnerRequest
|
|
65
55
|
*/
|
|
66
56
|
name: string;
|
|
67
57
|
/**
|
|
68
58
|
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof PartnerRequest
|
|
71
59
|
*/
|
|
72
60
|
contactName: string;
|
|
73
61
|
/**
|
|
74
62
|
*
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof PartnerRequest
|
|
77
63
|
*/
|
|
78
64
|
contactPhone: string;
|
|
79
65
|
/**
|
|
80
66
|
*
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof PartnerRequest
|
|
83
67
|
*/
|
|
84
68
|
email: string;
|
|
85
69
|
/**
|
|
86
70
|
*
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof PartnerRequest
|
|
89
71
|
*/
|
|
90
72
|
location: string;
|
|
91
73
|
/**
|
|
92
74
|
*
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof PartnerRequest
|
|
95
75
|
*/
|
|
96
76
|
reason?: string | null;
|
|
97
77
|
/**
|
|
98
78
|
*
|
|
99
|
-
* @type {Date}
|
|
100
|
-
* @memberof PartnerRequest
|
|
101
79
|
*/
|
|
102
80
|
acceptedAt?: Date | null;
|
|
103
81
|
/**
|
|
104
82
|
*
|
|
105
|
-
* @type {Date}
|
|
106
|
-
* @memberof PartnerRequest
|
|
107
83
|
*/
|
|
108
84
|
terminatedAt?: Date | null;
|
|
109
85
|
/**
|
|
110
86
|
*
|
|
111
|
-
* @type {Date}
|
|
112
|
-
* @memberof PartnerRequest
|
|
113
87
|
*/
|
|
114
88
|
createdAt: Date;
|
|
115
89
|
}
|
|
@@ -21,32 +21,22 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface PartnerRequestCreate {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PartnerRequestCreate
|
|
26
24
|
*/
|
|
27
25
|
name: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PartnerRequestCreate
|
|
32
28
|
*/
|
|
33
29
|
contactName: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof PartnerRequestCreate
|
|
38
32
|
*/
|
|
39
33
|
contactPhone: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof PartnerRequestCreate
|
|
44
36
|
*/
|
|
45
37
|
email: string;
|
|
46
38
|
/**
|
|
47
39
|
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof PartnerRequestCreate
|
|
50
40
|
*/
|
|
51
41
|
location: string;
|
|
52
42
|
}
|
|
@@ -29,14 +29,10 @@ import {
|
|
|
29
29
|
export interface PartnerRequestUpdate {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {PartnerRequestStatus}
|
|
33
|
-
* @memberof PartnerRequestUpdate
|
|
34
32
|
*/
|
|
35
33
|
status: PartnerRequestStatus;
|
|
36
34
|
/**
|
|
37
35
|
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof PartnerRequestUpdate
|
|
40
36
|
*/
|
|
41
37
|
reason?: string;
|
|
42
38
|
}
|
|
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface PartnerSummary {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PartnerSummary
|
|
26
24
|
*/
|
|
27
25
|
id: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PartnerSummary
|
|
32
28
|
*/
|
|
33
29
|
name: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof PartnerSummary
|
|
38
32
|
*/
|
|
39
33
|
company: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof PartnerSummary
|
|
44
36
|
*/
|
|
45
37
|
icon: string;
|
|
46
38
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface PresignedUrl {
|
|
22
22
|
/**
|
|
23
23
|
* Pre-signed URL for downloading the source discovery image.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof PresignedUrl
|
|
26
24
|
*/
|
|
27
25
|
url: string;
|
|
28
26
|
/**
|
|
29
27
|
* Expiration time for the URL token.
|
|
30
|
-
* @type {Date}
|
|
31
|
-
* @memberof PresignedUrl
|
|
32
28
|
*/
|
|
33
29
|
expiresAt?: Date;
|
|
34
30
|
}
|
package/src/models/Savings.ts
CHANGED
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Savings {
|
|
22
22
|
/**
|
|
23
23
|
* Number of nodes saved compared to baseline
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof Savings
|
|
26
24
|
*/
|
|
27
25
|
nodesSaved: number;
|
|
28
26
|
/**
|
|
29
27
|
* Percentage reduction in nodes
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof Savings
|
|
32
28
|
*/
|
|
33
29
|
percentageReduction: number;
|
|
34
30
|
/**
|
|
35
31
|
* Human-readable description of savings source
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Savings
|
|
38
32
|
*/
|
|
39
33
|
description: string;
|
|
40
34
|
}
|
|
@@ -29,20 +29,14 @@ import {
|
|
|
29
29
|
export interface SchemaEstimationResult {
|
|
30
30
|
/**
|
|
31
31
|
* Minimum total estimated duration across all calculators
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SchemaEstimationResult
|
|
34
32
|
*/
|
|
35
33
|
minTotalDuration: string;
|
|
36
34
|
/**
|
|
37
35
|
* Maximum total estimated duration across all calculators
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SchemaEstimationResult
|
|
40
36
|
*/
|
|
41
37
|
maxTotalDuration: string;
|
|
42
38
|
/**
|
|
43
39
|
* Per-calculator results
|
|
44
|
-
* @type {{ [key: string]: EstimationDetail; }}
|
|
45
|
-
* @memberof SchemaEstimationResult
|
|
46
40
|
*/
|
|
47
41
|
breakdown: { [key: string]: EstimationDetail; };
|
|
48
42
|
}
|
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface SharingSubject {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SharingSubject
|
|
26
24
|
*/
|
|
27
25
|
type: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SharingSubject
|
|
32
28
|
*/
|
|
33
29
|
id: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof SharingSubject
|
|
38
32
|
*/
|
|
39
33
|
name: string;
|
|
40
34
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface SizingOverCommitRatio {
|
|
22
22
|
/**
|
|
23
23
|
* CPU over-commit ratio
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof SizingOverCommitRatio
|
|
26
24
|
*/
|
|
27
25
|
cpu: number;
|
|
28
26
|
/**
|
|
29
27
|
* Memory over-commit ratio
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof SizingOverCommitRatio
|
|
32
28
|
*/
|
|
33
29
|
memory: number;
|
|
34
30
|
}
|
|
@@ -36,26 +36,18 @@ import {
|
|
|
36
36
|
export interface SizingResourceConsumption {
|
|
37
37
|
/**
|
|
38
38
|
* Total CPU requested
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof SizingResourceConsumption
|
|
41
39
|
*/
|
|
42
40
|
cpu: number;
|
|
43
41
|
/**
|
|
44
42
|
* Total memory (GB) requested
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof SizingResourceConsumption
|
|
47
43
|
*/
|
|
48
44
|
memory: number;
|
|
49
45
|
/**
|
|
50
46
|
*
|
|
51
|
-
* @type {SizingResourceLimits}
|
|
52
|
-
* @memberof SizingResourceConsumption
|
|
53
47
|
*/
|
|
54
48
|
limits?: SizingResourceLimits;
|
|
55
49
|
/**
|
|
56
50
|
*
|
|
57
|
-
* @type {SizingOverCommitRatio}
|
|
58
|
-
* @memberof SizingResourceConsumption
|
|
59
51
|
*/
|
|
60
52
|
overCommitRatio?: SizingOverCommitRatio;
|
|
61
53
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface SizingResourceLimits {
|
|
22
22
|
/**
|
|
23
23
|
* Total CPU limits
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof SizingResourceLimits
|
|
26
24
|
*/
|
|
27
25
|
cpu: number;
|
|
28
26
|
/**
|
|
29
27
|
* Total memory (GB) limits
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof SizingResourceLimits
|
|
32
28
|
*/
|
|
33
29
|
memory: number;
|
|
34
30
|
}
|
package/src/models/Snapshot.ts
CHANGED
|
@@ -36,20 +36,14 @@ import {
|
|
|
36
36
|
export interface Snapshot {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {Inventory}
|
|
40
|
-
* @memberof Snapshot
|
|
41
39
|
*/
|
|
42
40
|
inventory: Inventory;
|
|
43
41
|
/**
|
|
44
42
|
*
|
|
45
|
-
* @type {Date}
|
|
46
|
-
* @memberof Snapshot
|
|
47
43
|
*/
|
|
48
44
|
createdAt: Date;
|
|
49
45
|
/**
|
|
50
46
|
*
|
|
51
|
-
* @type {Array<AssessmentSubsetInventory>}
|
|
52
|
-
* @memberof Snapshot
|
|
53
47
|
*/
|
|
54
48
|
subsetInventories?: Array<AssessmentSubsetInventory> | null;
|
|
55
49
|
}
|
package/src/models/Source.ts
CHANGED
|
@@ -50,74 +50,50 @@ import {
|
|
|
50
50
|
export interface Source {
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Source
|
|
55
53
|
*/
|
|
56
54
|
id: string;
|
|
57
55
|
/**
|
|
58
56
|
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof Source
|
|
61
57
|
*/
|
|
62
58
|
name: string;
|
|
63
59
|
/**
|
|
64
60
|
*
|
|
65
|
-
* @type {Inventory}
|
|
66
|
-
* @memberof Source
|
|
67
61
|
*/
|
|
68
62
|
inventory?: Inventory;
|
|
69
63
|
/**
|
|
70
64
|
*
|
|
71
|
-
* @type {Date}
|
|
72
|
-
* @memberof Source
|
|
73
65
|
*/
|
|
74
66
|
createdAt: Date;
|
|
75
67
|
/**
|
|
76
68
|
*
|
|
77
|
-
* @type {Date}
|
|
78
|
-
* @memberof Source
|
|
79
69
|
*/
|
|
80
70
|
updatedAt: Date;
|
|
81
71
|
/**
|
|
82
72
|
*
|
|
83
|
-
* @type {boolean}
|
|
84
|
-
* @memberof Source
|
|
85
73
|
*/
|
|
86
74
|
onPremises: boolean;
|
|
87
75
|
/**
|
|
88
76
|
*
|
|
89
|
-
* @type {Agent}
|
|
90
|
-
* @memberof Source
|
|
91
77
|
*/
|
|
92
78
|
agent?: Agent;
|
|
93
79
|
/**
|
|
94
80
|
*
|
|
95
|
-
* @type {Array<Label>}
|
|
96
|
-
* @memberof Source
|
|
97
81
|
*/
|
|
98
82
|
labels?: Array<Label>;
|
|
99
83
|
/**
|
|
100
84
|
*
|
|
101
|
-
* @type {SourceInfra}
|
|
102
|
-
* @memberof Source
|
|
103
85
|
*/
|
|
104
86
|
infra?: SourceInfra;
|
|
105
87
|
/**
|
|
106
88
|
* Agent version (version tag) stored when OVA was downloaded
|
|
107
|
-
* @type {string}
|
|
108
|
-
* @memberof Source
|
|
109
89
|
*/
|
|
110
90
|
agentVersion?: string | null;
|
|
111
91
|
/**
|
|
112
92
|
* Warning message if stored agent version differs from current agent version
|
|
113
|
-
* @type {string}
|
|
114
|
-
* @memberof Source
|
|
115
93
|
*/
|
|
116
94
|
agentVersionWarning?: string | null;
|
|
117
95
|
/**
|
|
118
96
|
* Indicates whether the inventory was updated automatically by an agent or manually by a user
|
|
119
|
-
* @type {SourceUpdateTypeEnum}
|
|
120
|
-
* @memberof Source
|
|
121
97
|
*/
|
|
122
98
|
updateType?: SourceUpdateTypeEnum;
|
|
123
99
|
}
|