@openshift-migration-advisor/planner-sdk 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +4 -3
- 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 +5 -18
- package/dist/esm/models/Datastore.js +3 -0
- 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 +50 -0
- package/dist/esm/models/StorageIoConfiguration.js +54 -0
- 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/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- 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 +5 -18
- package/dist/models/Datastore.js +3 -0
- 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 +50 -0
- package/dist/models/StorageIoConfiguration.js +62 -0
- 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/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/docs/Datastore.md +2 -0
- package/docs/StorageIoConfiguration.md +40 -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 +14 -18
- 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 +92 -0
- 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
- package/src/models/index.ts +1 -0
|
@@ -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
|
}
|
|
@@ -43,56 +43,38 @@ import {
|
|
|
43
43
|
export interface SourceCreate {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof SourceCreate
|
|
48
46
|
*/
|
|
49
47
|
name: string;
|
|
50
48
|
/**
|
|
51
49
|
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof SourceCreate
|
|
54
50
|
*/
|
|
55
51
|
sshPublicKey?: string | null;
|
|
56
52
|
/**
|
|
57
53
|
*
|
|
58
|
-
* @type {AgentProxy}
|
|
59
|
-
* @memberof SourceCreate
|
|
60
54
|
*/
|
|
61
55
|
proxy?: AgentProxy;
|
|
62
56
|
/**
|
|
63
57
|
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof SourceCreate
|
|
66
58
|
*/
|
|
67
59
|
certificateChain?: string | null;
|
|
68
60
|
/**
|
|
69
61
|
*
|
|
70
|
-
* @type {VmNetwork}
|
|
71
|
-
* @memberof SourceCreate
|
|
72
62
|
*/
|
|
73
63
|
network?: VmNetwork;
|
|
74
64
|
/**
|
|
75
65
|
*
|
|
76
|
-
* @type {VmNetwork}
|
|
77
|
-
* @memberof SourceCreate
|
|
78
66
|
*/
|
|
79
67
|
vmNetwork?: VmNetwork;
|
|
80
68
|
/**
|
|
81
69
|
*
|
|
82
|
-
* @type {Array<Label>}
|
|
83
|
-
* @memberof SourceCreate
|
|
84
70
|
*/
|
|
85
71
|
labels?: Array<Label>;
|
|
86
72
|
/**
|
|
87
73
|
* Set to false to clear all proxy fields. When true or omitted, proxy fields are preserved or updated normally.
|
|
88
|
-
* @type {boolean}
|
|
89
|
-
* @memberof SourceCreate
|
|
90
74
|
*/
|
|
91
75
|
enableProxy?: boolean;
|
|
92
76
|
/**
|
|
93
77
|
* Set to dhcp to clear all network fields. Set to static when providing vmNetwork/network data. When omitted, network fields are preserved or updated normally.
|
|
94
|
-
* @type {SourceCreateNetworkConfigTypeEnum}
|
|
95
|
-
* @memberof SourceCreate
|
|
96
78
|
*/
|
|
97
79
|
networkConfigType?: SourceCreateNetworkConfigTypeEnum;
|
|
98
80
|
}
|
|
@@ -36,20 +36,14 @@ import {
|
|
|
36
36
|
export interface SourceInfra {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {AgentProxy}
|
|
40
|
-
* @memberof SourceInfra
|
|
41
39
|
*/
|
|
42
40
|
proxy?: AgentProxy;
|
|
43
41
|
/**
|
|
44
42
|
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof SourceInfra
|
|
47
43
|
*/
|
|
48
44
|
sshPublicKey?: string | null;
|
|
49
45
|
/**
|
|
50
46
|
*
|
|
51
|
-
* @type {VmNetwork}
|
|
52
|
-
* @memberof SourceInfra
|
|
53
47
|
*/
|
|
54
48
|
vmNetwork?: VmNetwork;
|
|
55
49
|
}
|
|
@@ -43,56 +43,38 @@ import {
|
|
|
43
43
|
export interface SourceUpdate {
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof SourceUpdate
|
|
48
46
|
*/
|
|
49
47
|
name?: string;
|
|
50
48
|
/**
|
|
51
49
|
*
|
|
52
|
-
* @type {Array<Label>}
|
|
53
|
-
* @memberof SourceUpdate
|
|
54
50
|
*/
|
|
55
51
|
labels?: Array<Label>;
|
|
56
52
|
/**
|
|
57
53
|
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof SourceUpdate
|
|
60
54
|
*/
|
|
61
55
|
sshPublicKey?: string | null;
|
|
62
56
|
/**
|
|
63
57
|
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof SourceUpdate
|
|
66
58
|
*/
|
|
67
59
|
certificateChain?: string | null;
|
|
68
60
|
/**
|
|
69
61
|
*
|
|
70
|
-
* @type {AgentProxy}
|
|
71
|
-
* @memberof SourceUpdate
|
|
72
62
|
*/
|
|
73
63
|
proxy?: AgentProxy;
|
|
74
64
|
/**
|
|
75
65
|
*
|
|
76
|
-
* @type {VmNetwork}
|
|
77
|
-
* @memberof SourceUpdate
|
|
78
66
|
*/
|
|
79
67
|
network?: VmNetwork;
|
|
80
68
|
/**
|
|
81
69
|
*
|
|
82
|
-
* @type {VmNetwork}
|
|
83
|
-
* @memberof SourceUpdate
|
|
84
70
|
*/
|
|
85
71
|
vmNetwork?: VmNetwork;
|
|
86
72
|
/**
|
|
87
73
|
* Set to false to clear all proxy fields. When true or omitted, proxy fields are preserved or updated normally.
|
|
88
|
-
* @type {boolean}
|
|
89
|
-
* @memberof SourceUpdate
|
|
90
74
|
*/
|
|
91
75
|
enableProxy?: boolean;
|
|
92
76
|
/**
|
|
93
77
|
* Set to dhcp to clear all network fields. Set to static when providing vmNetwork/network data. When omitted, network fields are preserved or updated normally.
|
|
94
|
-
* @type {SourceUpdateNetworkConfigTypeEnum}
|
|
95
|
-
* @memberof SourceUpdate
|
|
96
78
|
*/
|
|
97
79
|
networkConfigType?: SourceUpdateNetworkConfigTypeEnum;
|
|
98
80
|
}
|
|
@@ -36,86 +36,58 @@ import {
|
|
|
36
36
|
export interface StandaloneClusterRequirementsRequest {
|
|
37
37
|
/**
|
|
38
38
|
* Total number of VMs to size for
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
41
39
|
*/
|
|
42
40
|
totalVMs: number;
|
|
43
41
|
/**
|
|
44
42
|
* Total CPU cores across all VMs
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
47
43
|
*/
|
|
48
44
|
totalCPU: number;
|
|
49
45
|
/**
|
|
50
46
|
* Total memory (GB) across all VMs
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
53
47
|
*/
|
|
54
48
|
totalMemory: number;
|
|
55
49
|
/**
|
|
56
50
|
* CPU over-commit ratio (e.g., "1:4")
|
|
57
|
-
* @type {CpuOverCommitRatio}
|
|
58
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
59
51
|
*/
|
|
60
52
|
cpuOverCommitRatio: CpuOverCommitRatio;
|
|
61
53
|
/**
|
|
62
54
|
* Memory over-commit ratio (e.g., "1:2")
|
|
63
|
-
* @type {MemoryOverCommitRatio}
|
|
64
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
65
55
|
*/
|
|
66
56
|
memoryOverCommitRatio: MemoryOverCommitRatio;
|
|
67
57
|
/**
|
|
68
58
|
* CPU cores per worker node
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
71
59
|
*/
|
|
72
60
|
workerNodeCPU: number;
|
|
73
61
|
/**
|
|
74
62
|
* Memory (GB) per worker node
|
|
75
|
-
* @type {number}
|
|
76
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
77
63
|
*/
|
|
78
64
|
workerNodeMemory: number;
|
|
79
65
|
/**
|
|
80
66
|
* Number of CPU threads per worker node (for SMT calculation). If not provided, assumes no SMT (threads = cores). Must be >= workerNodeCPU
|
|
81
|
-
* @type {number}
|
|
82
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
83
67
|
*/
|
|
84
68
|
workerNodeThreads?: number;
|
|
85
69
|
/**
|
|
86
70
|
* Allow workload scheduling on control plane nodes (default: false)
|
|
87
|
-
* @type {boolean}
|
|
88
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
89
71
|
*/
|
|
90
72
|
controlPlaneSchedulable?: boolean;
|
|
91
73
|
/**
|
|
92
74
|
* CPU cores per control plane node (default: 6)
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
95
75
|
*/
|
|
96
76
|
controlPlaneCPU?: number;
|
|
97
77
|
/**
|
|
98
78
|
* Memory in GB per control plane node (default: 16)
|
|
99
|
-
* @type {number}
|
|
100
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
101
79
|
*/
|
|
102
80
|
controlPlaneMemory?: number;
|
|
103
81
|
/**
|
|
104
82
|
* Number of control plane nodes: 1 or 3 (default: 3)
|
|
105
|
-
* @type {StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum}
|
|
106
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
107
83
|
*/
|
|
108
84
|
controlPlaneNodeCount?: StandaloneClusterRequirementsRequestControlPlaneNodeCountEnum;
|
|
109
85
|
/**
|
|
110
86
|
* If true, control plane is hosted externally. Incompatible with control plane fields (default: false)
|
|
111
|
-
* @type {boolean}
|
|
112
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
113
87
|
*/
|
|
114
88
|
hostedControlPlane?: boolean;
|
|
115
89
|
/**
|
|
116
90
|
* If true, creates a 3-node compact cluster with no dedicated workers. Requires controlPlaneNodeCount=3 and controlPlaneSchedulable=true. Incompatible with hostedControlPlane=true
|
|
117
|
-
* @type {boolean}
|
|
118
|
-
* @memberof StandaloneClusterRequirementsRequest
|
|
119
91
|
*/
|
|
120
92
|
compactMode?: boolean;
|
|
121
93
|
}
|
|
@@ -36,14 +36,10 @@ import {
|
|
|
36
36
|
export interface StandaloneClusterRequirementsResponse {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {ClusterSizing}
|
|
40
|
-
* @memberof StandaloneClusterRequirementsResponse
|
|
41
39
|
*/
|
|
42
40
|
clusterSizing: ClusterSizing;
|
|
43
41
|
/**
|
|
44
42
|
*
|
|
45
|
-
* @type {SizingResourceConsumption}
|
|
46
|
-
* @memberof StandaloneClusterRequirementsResponse
|
|
47
43
|
*/
|
|
48
44
|
resourceConsumption: SizingResourceConsumption;
|
|
49
45
|
}
|
package/src/models/Status.ts
CHANGED
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface Status {
|
|
22
22
|
/**
|
|
23
23
|
* A human-readable description of the status of this operation.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Status
|
|
26
24
|
*/
|
|
27
25
|
message?: string;
|
|
28
26
|
/**
|
|
29
27
|
* 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.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Status
|
|
32
28
|
*/
|
|
33
29
|
reason?: string;
|
|
34
30
|
/**
|
|
35
31
|
* 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
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Status
|
|
38
32
|
*/
|
|
39
33
|
status?: string;
|
|
40
34
|
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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: v1alpha1
|
|
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
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface StorageIoConfiguration
|
|
20
|
+
*/
|
|
21
|
+
export interface StorageIoConfiguration {
|
|
22
|
+
/**
|
|
23
|
+
* Whether Storage I/O Control is enabled for this datastore
|
|
24
|
+
*/
|
|
25
|
+
enabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Latency threshold in milliseconds beyond which the storage array is considered congested
|
|
28
|
+
*/
|
|
29
|
+
congestionThreshold?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Mode for congestion threshold calculation
|
|
32
|
+
*/
|
|
33
|
+
congestionThresholdMode?: StorageIoConfigurationCongestionThresholdModeEnum;
|
|
34
|
+
/**
|
|
35
|
+
* Percent of peak throughput
|
|
36
|
+
*/
|
|
37
|
+
percentOfPeakThroughput?: number;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
export const StorageIoConfigurationCongestionThresholdModeEnum = {
|
|
45
|
+
Automatic: 'automatic',
|
|
46
|
+
Manual: 'manual'
|
|
47
|
+
} as const;
|
|
48
|
+
export type StorageIoConfigurationCongestionThresholdModeEnum = typeof StorageIoConfigurationCongestionThresholdModeEnum[keyof typeof StorageIoConfigurationCongestionThresholdModeEnum];
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the StorageIoConfiguration interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfStorageIoConfiguration(value: object): value is StorageIoConfiguration {
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function StorageIoConfigurationFromJSON(json: any): StorageIoConfiguration {
|
|
59
|
+
return StorageIoConfigurationFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function StorageIoConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageIoConfiguration {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
69
|
+
'congestionThreshold': json['congestionThreshold'] == null ? undefined : json['congestionThreshold'],
|
|
70
|
+
'congestionThresholdMode': json['congestionThresholdMode'] == null ? undefined : json['congestionThresholdMode'],
|
|
71
|
+
'percentOfPeakThroughput': json['percentOfPeakThroughput'] == null ? undefined : json['percentOfPeakThroughput'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function StorageIoConfigurationToJSON(json: any): StorageIoConfiguration {
|
|
76
|
+
return StorageIoConfigurationToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function StorageIoConfigurationToJSONTyped(value?: StorageIoConfiguration | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'enabled': value['enabled'],
|
|
87
|
+
'congestionThreshold': value['congestionThreshold'],
|
|
88
|
+
'congestionThresholdMode': value['congestionThresholdMode'],
|
|
89
|
+
'percentOfPeakThroughput': value['percentOfPeakThroughput'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|