@openshift-migration-advisor/planner-sdk 0.19.0 → 0.20.1-4aa36419115d
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 +8 -12
- package/dist/esm/models/Host.js +4 -0
- 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 +8 -12
- package/dist/models/Host.js +4 -0
- 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/docs/Host.md +4 -0
- 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 +12 -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
|
@@ -19,86 +19,58 @@ import type { MemoryOverCommitRatio } from './MemoryOverCommitRatio.js';
|
|
|
19
19
|
export interface StandaloneClusterRequirementsRequest {
|
|
20
20
|
/**
|
|
21
21
|
* Total number of VMs to size for
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
24
22
|
*/
|
|
25
23
|
totalVMs: number;
|
|
26
24
|
/**
|
|
27
25
|
* Total CPU cores across all VMs
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
30
26
|
*/
|
|
31
27
|
totalCPU: number;
|
|
32
28
|
/**
|
|
33
29
|
* Total memory (GB) across all VMs
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
36
30
|
*/
|
|
37
31
|
totalMemory: number;
|
|
38
32
|
/**
|
|
39
33
|
* CPU over-commit ratio (e.g., "1:4")
|
|
40
|
-
* @type {CpuOverCommitRatio}
|
|
41
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
42
34
|
*/
|
|
43
35
|
cpuOverCommitRatio: CpuOverCommitRatio;
|
|
44
36
|
/**
|
|
45
37
|
* Memory over-commit ratio (e.g., "1:2")
|
|
46
|
-
* @type {MemoryOverCommitRatio}
|
|
47
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
48
38
|
*/
|
|
49
39
|
memoryOverCommitRatio: MemoryOverCommitRatio;
|
|
50
40
|
/**
|
|
51
41
|
* CPU cores per worker node
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
54
42
|
*/
|
|
55
43
|
workerNodeCPU: number;
|
|
56
44
|
/**
|
|
57
45
|
* Memory (GB) per worker node
|
|
58
|
-
* @type {number}
|
|
59
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
60
46
|
*/
|
|
61
47
|
workerNodeMemory: number;
|
|
62
48
|
/**
|
|
63
49
|
* Number of CPU threads per worker node (for SMT calculation). If not provided, assumes no SMT (threads = cores). Must be >= workerNodeCPU
|
|
64
|
-
* @type {number}
|
|
65
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
66
50
|
*/
|
|
67
51
|
workerNodeThreads?: number;
|
|
68
52
|
/**
|
|
69
53
|
* Allow workload scheduling on control plane nodes (default: false)
|
|
70
|
-
* @type {boolean}
|
|
71
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
72
54
|
*/
|
|
73
55
|
controlPlaneSchedulable?: boolean;
|
|
74
56
|
/**
|
|
75
57
|
* CPU cores per control plane node (default: 6)
|
|
76
|
-
* @type {number}
|
|
77
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
78
58
|
*/
|
|
79
59
|
controlPlaneCPU?: number;
|
|
80
60
|
/**
|
|
81
61
|
* Memory in GB per control plane node (default: 16)
|
|
82
|
-
* @type {number}
|
|
83
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
84
62
|
*/
|
|
85
63
|
controlPlaneMemory?: number;
|
|
86
64
|
/**
|
|
87
65
|
* Number of control plane nodes: 1 or 3 (default: 3)
|
|
88
|
-
* @type {StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum}
|
|
89
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
90
66
|
*/
|
|
91
67
|
controlPlaneNodeCount?: StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum;
|
|
92
68
|
/**
|
|
93
69
|
* If true, control plane is hosted externally. Incompatible with control plane fields (default: false)
|
|
94
|
-
* @type {boolean}
|
|
95
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
96
70
|
*/
|
|
97
71
|
hostedControlPlane?: boolean;
|
|
98
72
|
/**
|
|
99
73
|
* If true, creates a 3-node compact cluster with no dedicated workers. Requires controlPlaneNodeCount=3 and controlPlaneSchedulable=true. Incompatible with hostedControlPlane=true
|
|
100
|
-
* @type {boolean}
|
|
101
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
102
74
|
*/
|
|
103
75
|
compactMode?: boolean;
|
|
104
76
|
}
|
|
@@ -19,14 +19,10 @@ import type { ClusterSizing } from './ClusterSizing.js';
|
|
|
19
19
|
export interface StandaloneClusterRequirementsResponse {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {ClusterSizing}
|
|
23
|
-
* @memberof StandaloneClusterRequirementsResponse
|
|
24
22
|
*/
|
|
25
23
|
clusterSizing: ClusterSizing;
|
|
26
24
|
/**
|
|
27
25
|
*
|
|
28
|
-
* @type {SizingResourceConsumption}
|
|
29
|
-
* @memberof StandaloneClusterRequirementsResponse
|
|
30
26
|
*/
|
|
31
27
|
resourceConsumption: SizingResourceConsumption;
|
|
32
28
|
}
|
package/dist/models/Status.d.ts
CHANGED
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface Status {
|
|
18
18
|
/**
|
|
19
19
|
* A human-readable description of the status of this operation.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Status
|
|
22
20
|
*/
|
|
23
21
|
message?: string;
|
|
24
22
|
/**
|
|
25
23
|
* A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Status
|
|
28
24
|
*/
|
|
29
25
|
reason?: string;
|
|
30
26
|
/**
|
|
31
27
|
* Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Status
|
|
34
28
|
*/
|
|
35
29
|
status?: string;
|
|
36
30
|
}
|
|
@@ -17,26 +17,18 @@
|
|
|
17
17
|
export interface StorageIoConfiguration {
|
|
18
18
|
/**
|
|
19
19
|
* Whether Storage I/O Control is enabled for this datastore
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof StorageIoConfiguration
|
|
22
20
|
*/
|
|
23
21
|
enabled?: boolean;
|
|
24
22
|
/**
|
|
25
23
|
* Latency threshold in milliseconds beyond which the storage array is considered congested
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof StorageIoConfiguration
|
|
28
24
|
*/
|
|
29
25
|
congestionThreshold?: number;
|
|
30
26
|
/**
|
|
31
27
|
* Mode for congestion threshold calculation
|
|
32
|
-
* @type {StorageIoConfigurationCongestionThresholdModeEnum}
|
|
33
|
-
* @memberof StorageIoConfiguration
|
|
34
28
|
*/
|
|
35
29
|
congestionThresholdMode?: StorageIoConfigurationCongestionThresholdModeEnum;
|
|
36
30
|
/**
|
|
37
31
|
* Percent of peak throughput
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof StorageIoConfiguration
|
|
40
32
|
*/
|
|
41
33
|
percentOfPeakThroughput?: number;
|
|
42
34
|
}
|
|
@@ -18,14 +18,10 @@ import type { Inventory } from './Inventory.js';
|
|
|
18
18
|
export interface UpdateInventory {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UpdateInventory
|
|
23
21
|
*/
|
|
24
22
|
agentId: string;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {Inventory}
|
|
28
|
-
* @memberof UpdateInventory
|
|
29
25
|
*/
|
|
30
26
|
inventory: Inventory;
|
|
31
27
|
}
|
package/dist/models/VCenter.d.ts
CHANGED
|
@@ -18,32 +18,22 @@ import type { Histogram } from './Histogram.js';
|
|
|
18
18
|
export interface VMResourceBreakdown {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof VMResourceBreakdown
|
|
23
21
|
*/
|
|
24
22
|
total: number;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof VMResourceBreakdown
|
|
29
25
|
*/
|
|
30
26
|
totalForMigratable: number;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof VMResourceBreakdown
|
|
35
29
|
*/
|
|
36
30
|
totalForMigratableWithWarnings: number;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof VMResourceBreakdown
|
|
41
33
|
*/
|
|
42
34
|
totalForNotMigratable: number;
|
|
43
35
|
/**
|
|
44
36
|
*
|
|
45
|
-
* @type {Histogram}
|
|
46
|
-
* @memberof VMResourceBreakdown
|
|
47
37
|
* @deprecated
|
|
48
38
|
*/
|
|
49
39
|
histogram?: Histogram;
|
package/dist/models/VMs.d.ts
CHANGED
|
@@ -23,38 +23,26 @@ import type { VMResourceBreakdown } from './VMResourceBreakdown.js';
|
|
|
23
23
|
export interface VMs {
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof VMs
|
|
28
26
|
*/
|
|
29
27
|
total: number;
|
|
30
28
|
/**
|
|
31
29
|
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof VMs
|
|
34
30
|
*/
|
|
35
31
|
totalMigratable: number;
|
|
36
32
|
/**
|
|
37
33
|
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof VMs
|
|
40
34
|
*/
|
|
41
35
|
totalMigratableWithWarnings?: number;
|
|
42
36
|
/**
|
|
43
37
|
* Number of VMs that have at least one shared disk
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof VMs
|
|
46
38
|
*/
|
|
47
39
|
totalWithSharedDisks?: number;
|
|
48
40
|
/**
|
|
49
41
|
*
|
|
50
|
-
* @type {VMResourceBreakdown}
|
|
51
|
-
* @memberof VMs
|
|
52
42
|
*/
|
|
53
43
|
cpuCores: VMResourceBreakdown;
|
|
54
44
|
/**
|
|
55
45
|
*
|
|
56
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
57
|
-
* @memberof VMs
|
|
58
46
|
*/
|
|
59
47
|
diskSizeTier?: {
|
|
60
48
|
[key: string]: DiskSizeTierSummary;
|
|
@@ -62,48 +50,36 @@ export interface VMs {
|
|
|
62
50
|
/**
|
|
63
51
|
* Distribution of VMs across disk-complexity tiers used by the estimation engine (0-10TiB, 10-20TiB, 20-50TiB, 50+TiB).
|
|
64
52
|
*
|
|
65
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
66
|
-
* @memberof VMs
|
|
67
53
|
*/
|
|
68
54
|
diskComplexityTier?: {
|
|
69
55
|
[key: string]: DiskSizeTierSummary;
|
|
70
56
|
};
|
|
71
57
|
/**
|
|
72
58
|
*
|
|
73
|
-
* @type {{ [key: string]: DiskTypeSummary; }}
|
|
74
|
-
* @memberof VMs
|
|
75
59
|
*/
|
|
76
60
|
diskTypes?: {
|
|
77
61
|
[key: string]: DiskTypeSummary;
|
|
78
62
|
};
|
|
79
63
|
/**
|
|
80
64
|
* Distribution of VMs across CPU tier buckets (e.g., "0-4", "5-8", "9-16", "17-32", "32+")
|
|
81
|
-
* @type {{ [key: string]: number; }}
|
|
82
|
-
* @memberof VMs
|
|
83
65
|
*/
|
|
84
66
|
distributionByCpuTier?: {
|
|
85
67
|
[key: string]: number;
|
|
86
68
|
};
|
|
87
69
|
/**
|
|
88
70
|
* Distribution of VMs across Memory tier buckets (e.g., "0-4", "5-16", "17-32", "33-64", "65-128", "129-256", "256+")
|
|
89
|
-
* @type {{ [key: string]: number; }}
|
|
90
|
-
* @memberof VMs
|
|
91
71
|
*/
|
|
92
72
|
distributionByMemoryTier?: {
|
|
93
73
|
[key: string]: number;
|
|
94
74
|
};
|
|
95
75
|
/**
|
|
96
76
|
* Distribution of VMs by NIC count (e.g., "0", "1", "2", "3", "4+")
|
|
97
|
-
* @type {{ [key: string]: number; }}
|
|
98
|
-
* @memberof VMs
|
|
99
77
|
*/
|
|
100
78
|
distributionByNicCount?: {
|
|
101
79
|
[key: string]: number;
|
|
102
80
|
};
|
|
103
81
|
/**
|
|
104
82
|
* Distribution of VMs by migration complexity level (0=Unsupported, 1=Easy, 2=Medium, 3=Hard, 4=WhiteGlove)
|
|
105
|
-
* @type {{ [key: string]: number; }}
|
|
106
|
-
* @memberof VMs
|
|
107
83
|
* @deprecated
|
|
108
84
|
*/
|
|
109
85
|
distributionByComplexity?: {
|
|
@@ -111,48 +87,34 @@ export interface VMs {
|
|
|
111
87
|
};
|
|
112
88
|
/**
|
|
113
89
|
* Distribution of VMs by migration complexity level, enriched with total disk size per level. Supersedes distributionByComplexity.
|
|
114
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
115
|
-
* @memberof VMs
|
|
116
90
|
*/
|
|
117
91
|
complexityDistribution?: {
|
|
118
92
|
[key: string]: DiskSizeTierSummary;
|
|
119
93
|
};
|
|
120
94
|
/**
|
|
121
95
|
*
|
|
122
|
-
* @type {VMResourceBreakdown}
|
|
123
|
-
* @memberof VMs
|
|
124
96
|
*/
|
|
125
97
|
ramGB: VMResourceBreakdown;
|
|
126
98
|
/**
|
|
127
99
|
*
|
|
128
|
-
* @type {VMResourceBreakdown}
|
|
129
|
-
* @memberof VMs
|
|
130
100
|
*/
|
|
131
101
|
diskGB: VMResourceBreakdown;
|
|
132
102
|
/**
|
|
133
103
|
*
|
|
134
|
-
* @type {VMResourceBreakdown}
|
|
135
|
-
* @memberof VMs
|
|
136
104
|
*/
|
|
137
105
|
diskCount: VMResourceBreakdown;
|
|
138
106
|
/**
|
|
139
107
|
*
|
|
140
|
-
* @type {VMResourceBreakdown}
|
|
141
|
-
* @memberof VMs
|
|
142
108
|
*/
|
|
143
109
|
nicCount?: VMResourceBreakdown;
|
|
144
110
|
/**
|
|
145
111
|
*
|
|
146
|
-
* @type {{ [key: string]: number; }}
|
|
147
|
-
* @memberof VMs
|
|
148
112
|
*/
|
|
149
113
|
powerStates: {
|
|
150
114
|
[key: string]: number;
|
|
151
115
|
};
|
|
152
116
|
/**
|
|
153
117
|
*
|
|
154
|
-
* @type {{ [key: string]: number; }}
|
|
155
|
-
* @memberof VMs
|
|
156
118
|
* @deprecated
|
|
157
119
|
*/
|
|
158
120
|
os?: {
|
|
@@ -160,28 +122,20 @@ export interface VMs {
|
|
|
160
122
|
};
|
|
161
123
|
/**
|
|
162
124
|
*
|
|
163
|
-
* @type {{ [key: string]: OsInfo; }}
|
|
164
|
-
* @memberof VMs
|
|
165
125
|
*/
|
|
166
126
|
osInfo?: {
|
|
167
127
|
[key: string]: OsInfo;
|
|
168
128
|
};
|
|
169
129
|
/**
|
|
170
130
|
*
|
|
171
|
-
* @type {Array<MigrationIssue>}
|
|
172
|
-
* @memberof VMs
|
|
173
131
|
*/
|
|
174
132
|
notMigratableReasons: Array<MigrationIssue>;
|
|
175
133
|
/**
|
|
176
134
|
*
|
|
177
|
-
* @type {Array<MigrationIssue>}
|
|
178
|
-
* @memberof VMs
|
|
179
135
|
*/
|
|
180
136
|
migrationWarnings: Array<MigrationIssue>;
|
|
181
137
|
/**
|
|
182
138
|
*
|
|
183
|
-
* @type {IssuesBreakdown}
|
|
184
|
-
* @memberof VMs
|
|
185
139
|
*/
|
|
186
140
|
issuesBreakdown?: IssuesBreakdown;
|
|
187
141
|
}
|
package/docs/Host.md
CHANGED
|
@@ -12,6 +12,8 @@ Name | Type
|
|
|
12
12
|
`cpuCores` | number
|
|
13
13
|
`cpuSockets` | number
|
|
14
14
|
`memoryMB` | number
|
|
15
|
+
`vmotionSupported` | boolean
|
|
16
|
+
`storageVmotionSupported` | boolean
|
|
15
17
|
|
|
16
18
|
## Example
|
|
17
19
|
|
|
@@ -26,6 +28,8 @@ const example = {
|
|
|
26
28
|
"cpuCores": null,
|
|
27
29
|
"cpuSockets": null,
|
|
28
30
|
"memoryMB": null,
|
|
31
|
+
"vmotionSupported": null,
|
|
32
|
+
"storageVmotionSupported": null,
|
|
29
33
|
} satisfies Host
|
|
30
34
|
|
|
31
35
|
console.log(example)
|
package/package.json
CHANGED
package/src/apis/AccountApi.ts
CHANGED
|
@@ -50,45 +50,93 @@ import {
|
|
|
50
50
|
} from '../models/MemberUpdate.js';
|
|
51
51
|
|
|
52
52
|
export interface CreateGroupRequest {
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
53
56
|
groupCreate: GroupCreate;
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
export interface CreateGroupMemberRequest {
|
|
60
|
+
/**
|
|
61
|
+
* ID of the group
|
|
62
|
+
*/
|
|
57
63
|
id: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
58
67
|
memberCreate: MemberCreate;
|
|
59
68
|
}
|
|
60
69
|
|
|
61
70
|
export interface DeleteGroupRequest {
|
|
71
|
+
/**
|
|
72
|
+
* ID of the group
|
|
73
|
+
*/
|
|
62
74
|
id: string;
|
|
63
75
|
}
|
|
64
76
|
|
|
65
77
|
export interface GetGroupRequest {
|
|
78
|
+
/**
|
|
79
|
+
* ID of the group
|
|
80
|
+
*/
|
|
66
81
|
id: string;
|
|
67
82
|
}
|
|
68
83
|
|
|
69
84
|
export interface ListGroupMembersRequest {
|
|
85
|
+
/**
|
|
86
|
+
* ID of the group
|
|
87
|
+
*/
|
|
70
88
|
id: string;
|
|
71
89
|
}
|
|
72
90
|
|
|
73
91
|
export interface ListGroupsRequest {
|
|
92
|
+
/**
|
|
93
|
+
* Filter by group kind
|
|
94
|
+
*/
|
|
74
95
|
kind?: ListGroupsKindEnum;
|
|
96
|
+
/**
|
|
97
|
+
* Filter by name (case-insensitive partial match)
|
|
98
|
+
*/
|
|
75
99
|
name?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Filter by company (case-insensitive partial match)
|
|
102
|
+
*/
|
|
76
103
|
company?: string;
|
|
77
104
|
}
|
|
78
105
|
|
|
79
106
|
export interface RemoveGroupMemberRequest {
|
|
107
|
+
/**
|
|
108
|
+
* ID of the group
|
|
109
|
+
*/
|
|
80
110
|
id: string;
|
|
111
|
+
/**
|
|
112
|
+
* Username of the member
|
|
113
|
+
*/
|
|
81
114
|
username: string;
|
|
82
115
|
}
|
|
83
116
|
|
|
84
117
|
export interface UpdateGroupRequest {
|
|
118
|
+
/**
|
|
119
|
+
* ID of the group
|
|
120
|
+
*/
|
|
85
121
|
id: string;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
86
125
|
groupUpdate: GroupUpdate;
|
|
87
126
|
}
|
|
88
127
|
|
|
89
128
|
export interface UpdateGroupMemberRequest {
|
|
129
|
+
/**
|
|
130
|
+
* ID of the group
|
|
131
|
+
*/
|
|
90
132
|
id: string;
|
|
133
|
+
/**
|
|
134
|
+
* Username of the member
|
|
135
|
+
*/
|
|
91
136
|
username: string;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
92
140
|
memberUpdate: MemberUpdate;
|
|
93
141
|
}
|
|
94
142
|
|
|
@@ -75,56 +75,110 @@ import {
|
|
|
75
75
|
} from '../models/Status.js';
|
|
76
76
|
|
|
77
77
|
export interface CalculateAssessmentClusterRequirementsRequest {
|
|
78
|
+
/**
|
|
79
|
+
* ID of the assessment
|
|
80
|
+
*/
|
|
78
81
|
id: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
79
85
|
clusterRequirementsRequest: ClusterRequirementsRequest;
|
|
80
86
|
}
|
|
81
87
|
|
|
82
88
|
export interface CalculateMigrationComplexityRequest {
|
|
89
|
+
/**
|
|
90
|
+
* ID of the assessment
|
|
91
|
+
*/
|
|
83
92
|
id: string;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
84
96
|
migrationComplexityRequest: MigrationComplexityRequest;
|
|
85
97
|
}
|
|
86
98
|
|
|
87
99
|
export interface CalculateMigrationEstimationRequest {
|
|
100
|
+
/**
|
|
101
|
+
* ID of the assessment
|
|
102
|
+
*/
|
|
88
103
|
id: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
89
107
|
migrationEstimationRequest: MigrationEstimationRequest;
|
|
90
108
|
}
|
|
91
109
|
|
|
92
110
|
export interface CalculateMigrationEstimationByComplexityRequest {
|
|
111
|
+
/**
|
|
112
|
+
* ID of the assessment
|
|
113
|
+
*/
|
|
93
114
|
id: string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
94
118
|
migrationEstimationRequest: MigrationEstimationRequest;
|
|
95
119
|
}
|
|
96
120
|
|
|
97
121
|
export interface CreateAssessmentRequest {
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
98
125
|
assessmentForm: AssessmentForm;
|
|
99
126
|
}
|
|
100
127
|
|
|
101
128
|
export interface DeleteAssessmentRequest {
|
|
129
|
+
/**
|
|
130
|
+
* ID of the assessment
|
|
131
|
+
*/
|
|
102
132
|
id: string;
|
|
103
133
|
}
|
|
104
134
|
|
|
105
135
|
export interface GetAssessmentRequest {
|
|
136
|
+
/**
|
|
137
|
+
* ID of the assessment
|
|
138
|
+
*/
|
|
106
139
|
id: string;
|
|
107
140
|
}
|
|
108
141
|
|
|
109
142
|
export interface GetAssessmentClusterRequirementsStoredInputRequest {
|
|
143
|
+
/**
|
|
144
|
+
* ID of the assessment
|
|
145
|
+
*/
|
|
110
146
|
id: string;
|
|
147
|
+
/**
|
|
148
|
+
* ID of the VMware cluster
|
|
149
|
+
*/
|
|
111
150
|
clusterId: string;
|
|
112
151
|
}
|
|
113
152
|
|
|
114
153
|
export interface ListAssessmentsRequest {
|
|
154
|
+
/**
|
|
155
|
+
* Filter assessments by source ID
|
|
156
|
+
*/
|
|
115
157
|
sourceId?: string;
|
|
116
158
|
}
|
|
117
159
|
|
|
118
160
|
export interface ShareAssessmentRequest {
|
|
161
|
+
/**
|
|
162
|
+
* ID of the assessment
|
|
163
|
+
*/
|
|
119
164
|
id: string;
|
|
120
165
|
}
|
|
121
166
|
|
|
122
167
|
export interface UnshareAssessmentRequest {
|
|
168
|
+
/**
|
|
169
|
+
* ID of the assessment
|
|
170
|
+
*/
|
|
123
171
|
id: string;
|
|
124
172
|
}
|
|
125
173
|
|
|
126
174
|
export interface UpdateAssessmentRequest {
|
|
175
|
+
/**
|
|
176
|
+
* ID of the assessment
|
|
177
|
+
*/
|
|
127
178
|
id: string;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
*/
|
|
128
182
|
assessmentUpdate: AssessmentUpdate;
|
|
129
183
|
}
|
|
130
184
|
|
package/src/apis/ImageApi.ts
CHANGED
|
@@ -20,10 +20,16 @@ import {
|
|
|
20
20
|
} from '../models/PresignedUrl.js';
|
|
21
21
|
|
|
22
22
|
export interface GetSourceDownloadURLRequest {
|
|
23
|
+
/**
|
|
24
|
+
* Source id
|
|
25
|
+
*/
|
|
23
26
|
id: string;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
export interface HeadImageRequest {
|
|
30
|
+
/**
|
|
31
|
+
* Id of the source
|
|
32
|
+
*/
|
|
27
33
|
id: string;
|
|
28
34
|
}
|
|
29
35
|
|
package/src/apis/JobApi.ts
CHANGED
|
@@ -20,15 +20,27 @@ import {
|
|
|
20
20
|
} from '../models/Job.js';
|
|
21
21
|
|
|
22
22
|
export interface CancelJobRequest {
|
|
23
|
+
/**
|
|
24
|
+
* ID of the job
|
|
25
|
+
*/
|
|
23
26
|
id: number;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
export interface CreateRVToolsAssessmentRequest {
|
|
30
|
+
/**
|
|
31
|
+
* Name of the assessment
|
|
32
|
+
*/
|
|
27
33
|
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* File upload for assessment data
|
|
36
|
+
*/
|
|
28
37
|
file: Blob;
|
|
29
38
|
}
|
|
30
39
|
|
|
31
40
|
export interface GetJobRequest {
|
|
41
|
+
/**
|
|
42
|
+
* ID of the job
|
|
43
|
+
*/
|
|
32
44
|
id: number;
|
|
33
45
|
}
|
|
34
46
|
|