@openshift-migration-advisor/agent-sdk 0.19.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/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +161 -0
- package/dist/apis/DefaultApi.js +11 -1
- package/dist/esm/apis/DefaultApi.d.ts +161 -0
- package/dist/esm/apis/DefaultApi.js +10 -0
- package/dist/esm/models/AgentModeRequest.d.ts +0 -2
- package/dist/esm/models/AgentStatus.d.ts +0 -6
- package/dist/esm/models/ApplicationListResponse.d.ts +0 -2
- package/dist/esm/models/ApplicationOverview.d.ts +0 -8
- package/dist/esm/models/ApplicationVM.d.ts +0 -4
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +0 -4
- package/dist/esm/models/BenchmarkRun.d.ts +0 -26
- package/dist/esm/models/CapabilityStatus.d.ts +0 -2
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +0 -6
- package/dist/esm/models/ClusterFeatures.d.ts +0 -6
- package/dist/esm/models/ClusterUtilization.d.ts +0 -14
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -10
- package/dist/esm/models/CollectorStatus.d.ts +0 -4
- package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
- package/dist/esm/models/CredentialStatus.d.ts +0 -6
- package/dist/esm/models/Datastore.d.ts +0 -20
- package/dist/esm/models/DatastoreDetail.d.ts +0 -18
- package/dist/esm/models/DatastorePair.d.ts +0 -8
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +0 -4
- package/dist/esm/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/esm/models/DiskTypeSummary.d.ts +0 -4
- package/dist/esm/models/EstimateRange.d.ts +0 -6
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -2
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -2
- package/dist/esm/models/ForecastStats.d.ts +0 -20
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -2
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -20
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -10
- package/dist/esm/models/ForecasterStatus.d.ts +0 -4
- package/dist/esm/models/Group.d.ts +0 -12
- package/dist/esm/models/GroupListResponse.d.ts +0 -8
- package/dist/esm/models/GroupResponse.d.ts +0 -12
- package/dist/esm/models/GuestNetwork.d.ts +0 -10
- package/dist/esm/models/Histogram.d.ts +0 -6
- package/dist/esm/models/Host.d.ts +0 -12
- package/dist/esm/models/Infra.d.ts +0 -24
- package/dist/esm/models/InspectorStatus.d.ts +0 -4
- package/dist/esm/models/Inventory.d.ts +0 -8
- package/dist/esm/models/InventoryData.d.ts +0 -10
- package/dist/esm/models/IssuesBreakdown.d.ts +0 -10
- package/dist/esm/models/MigrationIssue.d.ts +0 -8
- package/dist/esm/models/Network.d.ts +0 -10
- package/dist/esm/models/OperationCapability.d.ts +0 -4
- package/dist/esm/models/OsInfo.d.ts +0 -8
- package/dist/esm/models/PairCapability.d.ts +0 -8
- package/dist/esm/models/PairCapabilityRequest.d.ts +0 -4
- package/dist/esm/models/Process.d.ts +0 -4
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -4
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -4
- package/dist/esm/models/RightsizingClusterResponse.d.ts +0 -4
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +0 -28
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -14
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -12
- package/dist/esm/models/RightsizingReport.d.ts +0 -18
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -4
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -16
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -8
- package/dist/esm/models/StartInspectionRequest.d.ts +0 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +0 -4
- package/dist/esm/models/StorageIoConfiguration.d.ts +0 -8
- package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/esm/models/UpdateInventory.d.ts +0 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +0 -4
- package/dist/esm/models/VCenter.d.ts +0 -2
- package/dist/esm/models/VMDevice.d.ts +0 -2
- package/dist/esm/models/VMDisk.d.ts +0 -14
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +0 -10
- package/dist/esm/models/VMIssue.d.ts +0 -6
- package/dist/esm/models/VMLabelsResponse.d.ts +0 -4
- package/dist/esm/models/VMNIC.d.ts +0 -10
- package/dist/esm/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/esm/models/VMs.d.ts +0 -46
- package/dist/esm/models/VcenterCredentials.d.ts +0 -10
- package/dist/esm/models/VddkProperties.d.ts +0 -6
- package/dist/esm/models/VersionInfo.d.ts +0 -6
- package/dist/esm/models/VirtualMachine.d.ts +0 -42
- package/dist/esm/models/VirtualMachineDetail.d.ts +0 -70
- package/dist/esm/models/VirtualMachineListResponse.d.ts +0 -8
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +0 -4
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -6
- package/dist/esm/models/VmInspectionResults.d.ts +0 -2
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -8
- package/dist/esm/models/VmUtilizationDetails.d.ts +0 -30
- package/dist/models/AgentModeRequest.d.ts +0 -2
- package/dist/models/AgentStatus.d.ts +0 -6
- package/dist/models/ApplicationListResponse.d.ts +0 -2
- package/dist/models/ApplicationOverview.d.ts +0 -8
- package/dist/models/ApplicationVM.d.ts +0 -4
- package/dist/models/BatchUpdateExclusionRequest.d.ts +0 -4
- package/dist/models/BenchmarkRun.d.ts +0 -26
- package/dist/models/CapabilityStatus.d.ts +0 -2
- package/dist/models/CapabilityStatusCapabilities.d.ts +0 -6
- package/dist/models/ClusterFeatures.d.ts +0 -6
- package/dist/models/ClusterUtilization.d.ts +0 -14
- package/dist/models/CollectorStartRequest.d.ts +0 -10
- package/dist/models/CollectorStatus.d.ts +0 -4
- package/dist/models/CreateGroupRequest.d.ts +0 -6
- package/dist/models/CredentialStatus.d.ts +0 -6
- package/dist/models/Datastore.d.ts +0 -20
- package/dist/models/DatastoreDetail.d.ts +0 -18
- package/dist/models/DatastorePair.d.ts +0 -8
- package/dist/models/DeleteLabelGloballyResponse.d.ts +0 -4
- package/dist/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/models/DiskTypeSummary.d.ts +0 -4
- package/dist/models/EstimateRange.d.ts +0 -6
- package/dist/models/ExportInventory400Response.d.ts +0 -2
- package/dist/models/ExportInventory500Response.d.ts +0 -2
- package/dist/models/ForecastStats.d.ts +0 -20
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -2
- package/dist/models/ForecasterPairStatus.d.ts +0 -20
- package/dist/models/ForecasterStartRequest.d.ts +0 -10
- package/dist/models/ForecasterStatus.d.ts +0 -4
- package/dist/models/Group.d.ts +0 -12
- package/dist/models/GroupListResponse.d.ts +0 -8
- package/dist/models/GroupResponse.d.ts +0 -12
- package/dist/models/GuestNetwork.d.ts +0 -10
- package/dist/models/Histogram.d.ts +0 -6
- package/dist/models/Host.d.ts +0 -12
- package/dist/models/Infra.d.ts +0 -24
- package/dist/models/InspectorStatus.d.ts +0 -4
- package/dist/models/Inventory.d.ts +0 -8
- package/dist/models/InventoryData.d.ts +0 -10
- package/dist/models/IssuesBreakdown.d.ts +0 -10
- package/dist/models/MigrationIssue.d.ts +0 -8
- package/dist/models/Network.d.ts +0 -10
- package/dist/models/OperationCapability.d.ts +0 -4
- package/dist/models/OsInfo.d.ts +0 -8
- package/dist/models/PairCapability.d.ts +0 -8
- package/dist/models/PairCapabilityRequest.d.ts +0 -4
- package/dist/models/Process.d.ts +0 -4
- package/dist/models/PutForecasterCredentials403Response.d.ts +0 -4
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -4
- package/dist/models/RightsizingClusterResponse.d.ts +0 -4
- package/dist/models/RightsizingClusterUtilization.d.ts +0 -28
- package/dist/models/RightsizingCollectRequest.d.ts +0 -14
- package/dist/models/RightsizingMetricStats.d.ts +0 -12
- package/dist/models/RightsizingReport.d.ts +0 -18
- package/dist/models/RightsizingReportListResponse.d.ts +0 -4
- package/dist/models/RightsizingReportSummary.d.ts +0 -16
- package/dist/models/RightsizingVMReport.d.ts +0 -8
- package/dist/models/StartInspectionRequest.d.ts +0 -4
- package/dist/models/StopForecasterPair202Response.d.ts +0 -4
- package/dist/models/StorageIoConfiguration.d.ts +0 -8
- package/dist/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/models/UpdateInventory.d.ts +0 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +0 -4
- package/dist/models/VCenter.d.ts +0 -2
- package/dist/models/VMDevice.d.ts +0 -2
- package/dist/models/VMDisk.d.ts +0 -14
- package/dist/models/VMFilterOptionsResponse.d.ts +0 -10
- package/dist/models/VMIssue.d.ts +0 -6
- package/dist/models/VMLabelsResponse.d.ts +0 -4
- package/dist/models/VMNIC.d.ts +0 -10
- package/dist/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/models/VMs.d.ts +0 -46
- package/dist/models/VcenterCredentials.d.ts +0 -10
- package/dist/models/VddkProperties.d.ts +0 -6
- package/dist/models/VersionInfo.d.ts +0 -6
- package/dist/models/VirtualMachine.d.ts +0 -42
- package/dist/models/VirtualMachineDetail.d.ts +0 -70
- package/dist/models/VirtualMachineListResponse.d.ts +0 -8
- package/dist/models/VirtualMachineUpdateRequest.d.ts +0 -4
- package/dist/models/VmInspectionConcern.d.ts +0 -6
- package/dist/models/VmInspectionResults.d.ts +0 -2
- package/dist/models/VmInspectionStatus.d.ts +0 -8
- package/dist/models/VmUtilizationDetails.d.ts +0 -30
- package/docs/DefaultApi.md +6 -3
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +166 -0
- package/src/models/AgentModeRequest.ts +0 -2
- package/src/models/AgentStatus.ts +0 -6
- package/src/models/ApplicationListResponse.ts +0 -2
- package/src/models/ApplicationOverview.ts +0 -8
- package/src/models/ApplicationVM.ts +0 -4
- package/src/models/BatchUpdateExclusionRequest.ts +0 -4
- package/src/models/BenchmarkRun.ts +0 -26
- package/src/models/CapabilityStatus.ts +0 -2
- package/src/models/CapabilityStatusCapabilities.ts +0 -6
- package/src/models/ClusterFeatures.ts +0 -6
- package/src/models/ClusterUtilization.ts +0 -14
- package/src/models/CollectorStartRequest.ts +0 -10
- package/src/models/CollectorStatus.ts +0 -4
- package/src/models/CreateGroupRequest.ts +0 -6
- package/src/models/CredentialStatus.ts +0 -6
- package/src/models/Datastore.ts +0 -20
- package/src/models/DatastoreDetail.ts +0 -18
- package/src/models/DatastorePair.ts +0 -8
- package/src/models/DeleteLabelGloballyResponse.ts +0 -4
- package/src/models/DiskSizeTierSummary.ts +0 -4
- package/src/models/DiskTypeSummary.ts +0 -4
- package/src/models/EstimateRange.ts +0 -6
- package/src/models/ExportInventory400Response.ts +0 -2
- package/src/models/ExportInventory500Response.ts +0 -2
- package/src/models/ForecastStats.ts +0 -20
- package/src/models/ForecasterDatastoresRequest.ts +0 -2
- package/src/models/ForecasterPairStatus.ts +0 -20
- package/src/models/ForecasterStartRequest.ts +0 -10
- package/src/models/ForecasterStatus.ts +0 -4
- package/src/models/Group.ts +0 -12
- package/src/models/GroupListResponse.ts +0 -8
- package/src/models/GroupResponse.ts +0 -12
- package/src/models/GuestNetwork.ts +0 -10
- package/src/models/Histogram.ts +0 -6
- package/src/models/Host.ts +0 -12
- package/src/models/Infra.ts +0 -24
- package/src/models/InspectorStatus.ts +0 -4
- package/src/models/Inventory.ts +0 -8
- package/src/models/InventoryData.ts +0 -10
- package/src/models/IssuesBreakdown.ts +0 -10
- package/src/models/MigrationIssue.ts +0 -8
- package/src/models/Network.ts +0 -10
- package/src/models/OperationCapability.ts +0 -4
- package/src/models/OsInfo.ts +0 -8
- package/src/models/PairCapability.ts +0 -8
- package/src/models/PairCapabilityRequest.ts +0 -4
- package/src/models/Process.ts +0 -4
- package/src/models/PutForecasterCredentials403Response.ts +0 -4
- package/src/models/RightsizingClusterListResponse.ts +0 -4
- package/src/models/RightsizingClusterResponse.ts +0 -4
- package/src/models/RightsizingClusterUtilization.ts +0 -28
- package/src/models/RightsizingCollectRequest.ts +0 -14
- package/src/models/RightsizingMetricStats.ts +0 -12
- package/src/models/RightsizingReport.ts +0 -18
- package/src/models/RightsizingReportListResponse.ts +0 -4
- package/src/models/RightsizingReportSummary.ts +0 -16
- package/src/models/RightsizingVMReport.ts +0 -8
- package/src/models/StartInspectionRequest.ts +0 -4
- package/src/models/StopForecasterPair202Response.ts +0 -4
- package/src/models/StorageIoConfiguration.ts +0 -8
- package/src/models/UpdateGroupRequest.ts +0 -6
- package/src/models/UpdateInventory.ts +0 -4
- package/src/models/UpdateLabelVMsRequest.ts +0 -4
- package/src/models/VCenter.ts +0 -2
- package/src/models/VMDevice.ts +0 -2
- package/src/models/VMDisk.ts +0 -14
- package/src/models/VMFilterOptionsResponse.ts +0 -10
- package/src/models/VMIssue.ts +0 -6
- package/src/models/VMLabelsResponse.ts +0 -4
- package/src/models/VMNIC.ts +0 -10
- package/src/models/VMResourceBreakdown.ts +0 -10
- package/src/models/VMs.ts +0 -46
- package/src/models/VcenterCredentials.ts +0 -10
- package/src/models/VddkProperties.ts +0 -6
- package/src/models/VersionInfo.ts +0 -6
- package/src/models/VirtualMachine.ts +0 -42
- package/src/models/VirtualMachineDetail.ts +0 -70
- package/src/models/VirtualMachineListResponse.ts +0 -8
- package/src/models/VirtualMachineUpdateRequest.ts +0 -4
- package/src/models/VmInspectionConcern.ts +0 -6
- package/src/models/VmInspectionResults.ts +0 -2
- package/src/models/VmInspectionStatus.ts +0 -8
- package/src/models/VmUtilizationDetails.ts +0 -30
package/dist/esm/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
|
}
|
|
@@ -17,32 +17,22 @@
|
|
|
17
17
|
export interface VcenterCredentials {
|
|
18
18
|
/**
|
|
19
19
|
* vCenter URL
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VcenterCredentials
|
|
22
20
|
*/
|
|
23
21
|
url: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VcenterCredentials
|
|
28
24
|
*/
|
|
29
25
|
username: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof VcenterCredentials
|
|
34
28
|
*/
|
|
35
29
|
password: string;
|
|
36
30
|
/**
|
|
37
31
|
* PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof VcenterCredentials
|
|
40
32
|
*/
|
|
41
33
|
cacert?: string;
|
|
42
34
|
/**
|
|
43
35
|
* When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof VcenterCredentials
|
|
46
36
|
*/
|
|
47
37
|
skipTls?: boolean;
|
|
48
38
|
}
|
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface VddkProperties {
|
|
18
18
|
/**
|
|
19
19
|
* The matching vSphere Client version
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VddkProperties
|
|
22
20
|
*/
|
|
23
21
|
version: string;
|
|
24
22
|
/**
|
|
25
23
|
* md5 sum of the uploaded tarball
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VddkProperties
|
|
28
24
|
*/
|
|
29
25
|
md5: string;
|
|
30
26
|
/**
|
|
31
27
|
* provided tarball bytes
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof VddkProperties
|
|
34
28
|
*/
|
|
35
29
|
bytes?: number;
|
|
36
30
|
}
|
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface VersionInfo {
|
|
18
18
|
/**
|
|
19
19
|
* Agent version (e.g. v2.0.0)
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VersionInfo
|
|
22
20
|
*/
|
|
23
21
|
version: string;
|
|
24
22
|
/**
|
|
25
23
|
* Git commit SHA used to build the agent
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VersionInfo
|
|
28
24
|
*/
|
|
29
25
|
gitCommit: string;
|
|
30
26
|
/**
|
|
31
27
|
* Git commit SHA of the UI used to build the agent
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof VersionInfo
|
|
34
28
|
*/
|
|
35
29
|
uiGitCommit: string;
|
|
36
30
|
}
|
|
@@ -18,128 +18,86 @@ import type { VmInspectionStatus } from './VmInspectionStatus.js';
|
|
|
18
18
|
export interface VirtualMachine {
|
|
19
19
|
/**
|
|
20
20
|
* VirtualMachine name
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof VirtualMachine
|
|
23
21
|
*/
|
|
24
22
|
name: string;
|
|
25
23
|
/**
|
|
26
24
|
* VirtualMachine ID in vCenter
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof VirtualMachine
|
|
29
25
|
*/
|
|
30
26
|
id: string;
|
|
31
27
|
/**
|
|
32
28
|
* vCenter state (e.g., poweredOn, poweredOff, suspended)
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof VirtualMachine
|
|
35
29
|
*/
|
|
36
30
|
vCenterState: string;
|
|
37
31
|
/**
|
|
38
32
|
* Cluster name
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof VirtualMachine
|
|
41
33
|
*/
|
|
42
34
|
cluster: string;
|
|
43
35
|
/**
|
|
44
36
|
* Datacenter name
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof VirtualMachine
|
|
47
37
|
*/
|
|
48
38
|
datacenter: string;
|
|
49
39
|
/**
|
|
50
40
|
* Total disk size in MB
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof VirtualMachine
|
|
53
41
|
*/
|
|
54
42
|
diskSize: number;
|
|
55
43
|
/**
|
|
56
44
|
* Memory size in MB
|
|
57
|
-
* @type {number}
|
|
58
|
-
* @memberof VirtualMachine
|
|
59
45
|
*/
|
|
60
46
|
memory: number;
|
|
61
47
|
/**
|
|
62
48
|
* Number of issues found for this VirtualMachine
|
|
63
|
-
* @type {number}
|
|
64
|
-
* @memberof VirtualMachine
|
|
65
49
|
*/
|
|
66
50
|
issueCount: number;
|
|
67
51
|
/**
|
|
68
52
|
* True if the vm is migratable for MTV. False otherwise
|
|
69
|
-
* @type {boolean}
|
|
70
|
-
* @memberof VirtualMachine
|
|
71
53
|
*/
|
|
72
54
|
migratable?: boolean;
|
|
73
55
|
/**
|
|
74
56
|
* True if the vm is a template. False otherwise
|
|
75
|
-
* @type {boolean}
|
|
76
|
-
* @memberof VirtualMachine
|
|
77
57
|
*/
|
|
78
58
|
template?: boolean;
|
|
79
59
|
/**
|
|
80
60
|
* Whether this VM is excluded from migration
|
|
81
|
-
* @type {boolean}
|
|
82
|
-
* @memberof VirtualMachine
|
|
83
61
|
*/
|
|
84
62
|
migrationExcluded?: boolean;
|
|
85
63
|
/**
|
|
86
64
|
*
|
|
87
|
-
* @type {VmInspectionStatus}
|
|
88
|
-
* @memberof VirtualMachine
|
|
89
65
|
*/
|
|
90
66
|
inspectionStatus?: VmInspectionStatus;
|
|
91
67
|
/**
|
|
92
68
|
* Number of inspection concerns recorded for the latest persisted inspection result
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof VirtualMachine
|
|
95
69
|
*/
|
|
96
70
|
inspectionConcernCount?: number;
|
|
97
71
|
/**
|
|
98
72
|
* Names of groups this VM matches
|
|
99
|
-
* @type {Array<string>}
|
|
100
|
-
* @memberof VirtualMachine
|
|
101
73
|
*/
|
|
102
74
|
groups?: Array<string>;
|
|
103
75
|
/**
|
|
104
76
|
* User-defined labels for this VM
|
|
105
|
-
* @type {Array<string>}
|
|
106
|
-
* @memberof VirtualMachine
|
|
107
77
|
*/
|
|
108
78
|
labels?: Array<string>;
|
|
109
79
|
/**
|
|
110
80
|
* CPU utilization at p95 (%); absent when no utilization data
|
|
111
|
-
* @type {number}
|
|
112
|
-
* @memberof VirtualMachine
|
|
113
81
|
*/
|
|
114
82
|
utilization_cpu_p95?: number;
|
|
115
83
|
/**
|
|
116
84
|
* Memory utilization at p95 (%); absent when no utilization data
|
|
117
|
-
* @type {number}
|
|
118
|
-
* @memberof VirtualMachine
|
|
119
85
|
*/
|
|
120
86
|
utilization_mem_p95?: number;
|
|
121
87
|
/**
|
|
122
88
|
* CPU utilization at max (%); absent when no utilization data
|
|
123
|
-
* @type {number}
|
|
124
|
-
* @memberof VirtualMachine
|
|
125
89
|
*/
|
|
126
90
|
utilization_cpu_max?: number;
|
|
127
91
|
/**
|
|
128
92
|
* Memory utilization at max (%); absent when no utilization data
|
|
129
|
-
* @type {number}
|
|
130
|
-
* @memberof VirtualMachine
|
|
131
93
|
*/
|
|
132
94
|
utilization_mem_max?: number;
|
|
133
95
|
/**
|
|
134
96
|
* Disk utilization (%); absent when no utilization data
|
|
135
|
-
* @type {number}
|
|
136
|
-
* @memberof VirtualMachine
|
|
137
97
|
*/
|
|
138
98
|
utilization_disk?: number;
|
|
139
99
|
/**
|
|
140
100
|
* Data confidence — sample_count / expected_sample_count × 100
|
|
141
|
-
* @type {number}
|
|
142
|
-
* @memberof VirtualMachine
|
|
143
101
|
*/
|
|
144
102
|
utilization_confidence?: number;
|
|
145
103
|
}
|
|
@@ -25,212 +25,142 @@ import type { VmInspectionResults } from './VmInspectionResults.js';
|
|
|
25
25
|
export interface VirtualMachineDetail {
|
|
26
26
|
/**
|
|
27
27
|
* Unique identifier for the VirtualMachine in vCenter
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof VirtualMachineDetail
|
|
30
28
|
*/
|
|
31
29
|
id: string;
|
|
32
30
|
/**
|
|
33
31
|
* Display name of the VirtualMachine
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof VirtualMachineDetail
|
|
36
32
|
*/
|
|
37
33
|
name: string;
|
|
38
34
|
/**
|
|
39
35
|
* Universally unique identifier assigned by vCenter
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof VirtualMachineDetail
|
|
42
36
|
*/
|
|
43
37
|
uuid?: string;
|
|
44
38
|
/**
|
|
45
39
|
* Firmware type used by the VirtualMachine (bios or efi)
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof VirtualMachineDetail
|
|
48
40
|
*/
|
|
49
41
|
firmware?: string;
|
|
50
42
|
/**
|
|
51
43
|
* Current power state of the VirtualMachine (poweredOn, poweredOff, or suspended)
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof VirtualMachineDetail
|
|
54
44
|
*/
|
|
55
45
|
powerState: string;
|
|
56
46
|
/**
|
|
57
47
|
* State of the connection between vCenter and the VirtualMachine's host (connected, disconnected, orphaned, or inaccessible)
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof VirtualMachineDetail
|
|
60
48
|
*/
|
|
61
49
|
connectionState: string;
|
|
62
50
|
/**
|
|
63
51
|
* Reference to the ESXi host where the VirtualMachine is running
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof VirtualMachineDetail
|
|
66
52
|
*/
|
|
67
53
|
host?: string;
|
|
68
54
|
/**
|
|
69
55
|
* Name of the datacenter containing the VirtualMachine
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof VirtualMachineDetail
|
|
72
56
|
*/
|
|
73
57
|
datacenter?: string;
|
|
74
58
|
/**
|
|
75
59
|
* Name of the cluster containing the VirtualMachine
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof VirtualMachineDetail
|
|
78
60
|
*/
|
|
79
61
|
cluster?: string;
|
|
80
62
|
/**
|
|
81
63
|
* Reference to the inventory folder containing the VirtualMachine
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof VirtualMachineDetail
|
|
84
64
|
*/
|
|
85
65
|
folder?: string;
|
|
86
66
|
/**
|
|
87
67
|
* Total number of virtual CPUs allocated to the VirtualMachine
|
|
88
|
-
* @type {number}
|
|
89
|
-
* @memberof VirtualMachineDetail
|
|
90
68
|
*/
|
|
91
69
|
cpuCount: number;
|
|
92
70
|
/**
|
|
93
71
|
* Number of CPU cores per virtual socket
|
|
94
|
-
* @type {number}
|
|
95
|
-
* @memberof VirtualMachineDetail
|
|
96
72
|
*/
|
|
97
73
|
coresPerSocket: number;
|
|
98
74
|
/**
|
|
99
75
|
* List of physical CPU IDs the VirtualMachine is pinned to for scheduling
|
|
100
|
-
* @type {Array<number>}
|
|
101
|
-
* @memberof VirtualMachineDetail
|
|
102
76
|
*/
|
|
103
77
|
cpuAffinity?: Array<number>;
|
|
104
78
|
/**
|
|
105
79
|
* Amount of memory allocated to the VirtualMachine in megabytes
|
|
106
|
-
* @type {number}
|
|
107
|
-
* @memberof VirtualMachineDetail
|
|
108
80
|
*/
|
|
109
81
|
memoryMB: number;
|
|
110
82
|
/**
|
|
111
83
|
* Full name of the guest operating system as reported by VMware Tools
|
|
112
|
-
* @type {string}
|
|
113
|
-
* @memberof VirtualMachineDetail
|
|
114
84
|
*/
|
|
115
85
|
guestName?: string;
|
|
116
86
|
/**
|
|
117
87
|
* VMware identifier for the guest OS type (e.g., rhel8_64Guest)
|
|
118
|
-
* @type {string}
|
|
119
|
-
* @memberof VirtualMachineDetail
|
|
120
88
|
*/
|
|
121
89
|
guestId?: string;
|
|
122
90
|
/**
|
|
123
91
|
* Hostname of the guest OS as reported by VMware Tools
|
|
124
|
-
* @type {string}
|
|
125
|
-
* @memberof VirtualMachineDetail
|
|
126
92
|
*/
|
|
127
93
|
hostName?: string;
|
|
128
94
|
/**
|
|
129
95
|
* Primary IP address of the guest OS as reported by VMware Tools
|
|
130
|
-
* @type {string}
|
|
131
|
-
* @memberof VirtualMachineDetail
|
|
132
96
|
*/
|
|
133
97
|
ipAddress?: string;
|
|
134
98
|
/**
|
|
135
99
|
* Total storage space consumed by the VirtualMachine in bytes
|
|
136
|
-
* @type {number}
|
|
137
|
-
* @memberof VirtualMachineDetail
|
|
138
100
|
*/
|
|
139
101
|
storageUsed?: number;
|
|
140
102
|
/**
|
|
141
103
|
* Whether the VirtualMachine is a template rather than a regular VirtualMachine
|
|
142
|
-
* @type {boolean}
|
|
143
|
-
* @memberof VirtualMachineDetail
|
|
144
104
|
*/
|
|
145
105
|
template?: boolean;
|
|
146
106
|
/**
|
|
147
107
|
* Whether the VirtualMachine can be migrated (true if no critical issues)
|
|
148
|
-
* @type {boolean}
|
|
149
|
-
* @memberof VirtualMachineDetail
|
|
150
108
|
*/
|
|
151
109
|
migratable?: boolean;
|
|
152
110
|
/**
|
|
153
111
|
* Whether this VM is excluded from migration
|
|
154
|
-
* @type {boolean}
|
|
155
|
-
* @memberof VirtualMachineDetail
|
|
156
112
|
*/
|
|
157
113
|
migrationExcluded?: boolean;
|
|
158
114
|
/**
|
|
159
115
|
* User-defined labels for this VM
|
|
160
|
-
* @type {Array<string>}
|
|
161
|
-
* @memberof VirtualMachineDetail
|
|
162
116
|
*/
|
|
163
117
|
labels?: Array<string>;
|
|
164
118
|
/**
|
|
165
119
|
* Whether VMware Fault Tolerance is enabled, which maintains a live shadow VirtualMachine for instant failover
|
|
166
|
-
* @type {boolean}
|
|
167
|
-
* @memberof VirtualMachineDetail
|
|
168
120
|
*/
|
|
169
121
|
faultToleranceEnabled?: boolean;
|
|
170
122
|
/**
|
|
171
123
|
* Whether nested virtualization is enabled, allowing hypervisors to run inside the VirtualMachine
|
|
172
|
-
* @type {boolean}
|
|
173
|
-
* @memberof VirtualMachineDetail
|
|
174
124
|
*/
|
|
175
125
|
nestedHVEnabled?: boolean;
|
|
176
126
|
/**
|
|
177
127
|
* Installation status of VMware Tools (toolsNotInstalled, toolsNotRunning, toolsOld, toolsOk)
|
|
178
|
-
* @type {string}
|
|
179
|
-
* @memberof VirtualMachineDetail
|
|
180
128
|
*/
|
|
181
129
|
toolsStatus?: string;
|
|
182
130
|
/**
|
|
183
131
|
* Whether VMware Tools is currently running in the guest OS
|
|
184
|
-
* @type {string}
|
|
185
|
-
* @memberof VirtualMachineDetail
|
|
186
132
|
*/
|
|
187
133
|
toolsRunningStatus?: string;
|
|
188
134
|
/**
|
|
189
135
|
* List of virtual disks attached to the VirtualMachine
|
|
190
|
-
* @type {Array<VMDisk>}
|
|
191
|
-
* @memberof VirtualMachineDetail
|
|
192
136
|
*/
|
|
193
137
|
disks: Array<VMDisk>;
|
|
194
138
|
/**
|
|
195
139
|
* List of virtual network interface cards attached to the VirtualMachine
|
|
196
|
-
* @type {Array<VMNIC>}
|
|
197
|
-
* @memberof VirtualMachineDetail
|
|
198
140
|
*/
|
|
199
141
|
nics: Array<VMNIC>;
|
|
200
142
|
/**
|
|
201
143
|
* List of other virtual devices attached to the VirtualMachine
|
|
202
|
-
* @type {Array<VMDevice>}
|
|
203
|
-
* @memberof VirtualMachineDetail
|
|
204
144
|
*/
|
|
205
145
|
devices?: Array<VMDevice>;
|
|
206
146
|
/**
|
|
207
147
|
* Network configuration inside the guest OS as reported by VMware Tools
|
|
208
|
-
* @type {Array<GuestNetwork>}
|
|
209
|
-
* @memberof VirtualMachineDetail
|
|
210
148
|
*/
|
|
211
149
|
guestNetworks?: Array<GuestNetwork>;
|
|
212
150
|
/**
|
|
213
151
|
* List of issues affecting this VirtualMachine
|
|
214
|
-
* @type {Array<VMIssue>}
|
|
215
|
-
* @memberof VirtualMachineDetail
|
|
216
152
|
*/
|
|
217
153
|
issues?: Array<VMIssue>;
|
|
218
154
|
/**
|
|
219
155
|
*
|
|
220
|
-
* @type {VmInspectionResults}
|
|
221
|
-
* @memberof VirtualMachineDetail
|
|
222
156
|
*/
|
|
223
157
|
inspection?: VmInspectionResults;
|
|
224
158
|
/**
|
|
225
159
|
*
|
|
226
|
-
* @type {VmUtilizationDetails}
|
|
227
|
-
* @memberof VirtualMachineDetail
|
|
228
160
|
*/
|
|
229
161
|
utilization?: VmUtilizationDetails;
|
|
230
162
|
/**
|
|
231
163
|
* List of processes detected on this VM
|
|
232
|
-
* @type {Array<Process>}
|
|
233
|
-
* @memberof VirtualMachineDetail
|
|
234
164
|
*/
|
|
235
165
|
processes?: Array<Process>;
|
|
236
166
|
}
|
|
@@ -18,26 +18,18 @@ import type { VirtualMachine } from './VirtualMachine.js';
|
|
|
18
18
|
export interface VirtualMachineListResponse {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<VirtualMachine>}
|
|
22
|
-
* @memberof VirtualMachineListResponse
|
|
23
21
|
*/
|
|
24
22
|
vms: Array<VirtualMachine>;
|
|
25
23
|
/**
|
|
26
24
|
* Total number of VMs matching the filter
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof VirtualMachineListResponse
|
|
29
25
|
*/
|
|
30
26
|
total: number;
|
|
31
27
|
/**
|
|
32
28
|
* Current page number
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof VirtualMachineListResponse
|
|
35
29
|
*/
|
|
36
30
|
page: number;
|
|
37
31
|
/**
|
|
38
32
|
* Total number of pages
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof VirtualMachineListResponse
|
|
41
33
|
*/
|
|
42
34
|
pageCount: number;
|
|
43
35
|
}
|
|
@@ -17,14 +17,10 @@
|
|
|
17
17
|
export interface VirtualMachineUpdateRequest {
|
|
18
18
|
/**
|
|
19
19
|
* Whether to exclude this VM from migration
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof VirtualMachineUpdateRequest
|
|
22
20
|
*/
|
|
23
21
|
migrationExcluded?: boolean;
|
|
24
22
|
/**
|
|
25
23
|
* User-defined labels (replaces existing labels)
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof VirtualMachineUpdateRequest
|
|
28
24
|
*/
|
|
29
25
|
labels?: Array<string>;
|
|
30
26
|
}
|
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface VmInspectionConcern {
|
|
18
18
|
/**
|
|
19
19
|
* Short label identifying the concern
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VmInspectionConcern
|
|
22
20
|
*/
|
|
23
21
|
label: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VmInspectionConcern
|
|
28
24
|
*/
|
|
29
25
|
message: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof VmInspectionConcern
|
|
34
28
|
*/
|
|
35
29
|
category: string;
|
|
36
30
|
}
|
|
@@ -17,26 +17,18 @@
|
|
|
17
17
|
export interface VmInspectionStatus {
|
|
18
18
|
/**
|
|
19
19
|
* Current inspection state
|
|
20
|
-
* @type {VmInspectionStatusStateEnum}
|
|
21
|
-
* @memberof VmInspectionStatus
|
|
22
20
|
*/
|
|
23
21
|
state: VmInspectionStatusStateEnum;
|
|
24
22
|
/**
|
|
25
23
|
* State details
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VmInspectionStatus
|
|
28
24
|
*/
|
|
29
25
|
message: string;
|
|
30
26
|
/**
|
|
31
27
|
* Error message when state is error
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof VmInspectionStatus
|
|
34
28
|
*/
|
|
35
29
|
error?: string;
|
|
36
30
|
/**
|
|
37
31
|
* Inspection results
|
|
38
|
-
* @type {object}
|
|
39
|
-
* @memberof VmInspectionStatus
|
|
40
32
|
*/
|
|
41
33
|
results?: object;
|
|
42
34
|
}
|