@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/src/models/VMs.ts
CHANGED
|
@@ -64,143 +64,97 @@ import {
|
|
|
64
64
|
export interface VMs {
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
|
-
* @type {number}
|
|
68
|
-
* @memberof VMs
|
|
69
67
|
*/
|
|
70
68
|
total: number;
|
|
71
69
|
/**
|
|
72
70
|
*
|
|
73
|
-
* @type {number}
|
|
74
|
-
* @memberof VMs
|
|
75
71
|
*/
|
|
76
72
|
totalMigratable: number;
|
|
77
73
|
/**
|
|
78
74
|
*
|
|
79
|
-
* @type {number}
|
|
80
|
-
* @memberof VMs
|
|
81
75
|
*/
|
|
82
76
|
totalMigratableWithWarnings?: number;
|
|
83
77
|
/**
|
|
84
78
|
* Number of VMs that have at least one shared disk
|
|
85
|
-
* @type {number}
|
|
86
|
-
* @memberof VMs
|
|
87
79
|
*/
|
|
88
80
|
totalWithSharedDisks?: number;
|
|
89
81
|
/**
|
|
90
82
|
*
|
|
91
|
-
* @type {VMResourceBreakdown}
|
|
92
|
-
* @memberof VMs
|
|
93
83
|
*/
|
|
94
84
|
cpuCores: VMResourceBreakdown;
|
|
95
85
|
/**
|
|
96
86
|
*
|
|
97
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
98
|
-
* @memberof VMs
|
|
99
87
|
*/
|
|
100
88
|
diskSizeTier?: { [key: string]: DiskSizeTierSummary; };
|
|
101
89
|
/**
|
|
102
90
|
* Distribution of VMs across disk-complexity tiers used by the estimation engine (0-10TiB, 10-20TiB, 20-50TiB, 50+TiB).
|
|
103
91
|
*
|
|
104
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
105
|
-
* @memberof VMs
|
|
106
92
|
*/
|
|
107
93
|
diskComplexityTier?: { [key: string]: DiskSizeTierSummary; };
|
|
108
94
|
/**
|
|
109
95
|
*
|
|
110
|
-
* @type {{ [key: string]: DiskTypeSummary; }}
|
|
111
|
-
* @memberof VMs
|
|
112
96
|
*/
|
|
113
97
|
diskTypes?: { [key: string]: DiskTypeSummary; };
|
|
114
98
|
/**
|
|
115
99
|
* Distribution of VMs across CPU tier buckets (e.g., "0-4", "5-8", "9-16", "17-32", "32+")
|
|
116
|
-
* @type {{ [key: string]: number; }}
|
|
117
|
-
* @memberof VMs
|
|
118
100
|
*/
|
|
119
101
|
distributionByCpuTier?: { [key: string]: number; };
|
|
120
102
|
/**
|
|
121
103
|
* Distribution of VMs across Memory tier buckets (e.g., "0-4", "5-16", "17-32", "33-64", "65-128", "129-256", "256+")
|
|
122
|
-
* @type {{ [key: string]: number; }}
|
|
123
|
-
* @memberof VMs
|
|
124
104
|
*/
|
|
125
105
|
distributionByMemoryTier?: { [key: string]: number; };
|
|
126
106
|
/**
|
|
127
107
|
* Distribution of VMs by NIC count (e.g., "0", "1", "2", "3", "4+")
|
|
128
|
-
* @type {{ [key: string]: number; }}
|
|
129
|
-
* @memberof VMs
|
|
130
108
|
*/
|
|
131
109
|
distributionByNicCount?: { [key: string]: number; };
|
|
132
110
|
/**
|
|
133
111
|
* Distribution of VMs by migration complexity level (0=Unsupported, 1=Easy, 2=Medium, 3=Hard, 4=WhiteGlove)
|
|
134
|
-
* @type {{ [key: string]: number; }}
|
|
135
|
-
* @memberof VMs
|
|
136
112
|
* @deprecated
|
|
137
113
|
*/
|
|
138
114
|
distributionByComplexity?: { [key: string]: number; };
|
|
139
115
|
/**
|
|
140
116
|
* Distribution of VMs by migration complexity level, enriched with total disk size per level. Supersedes distributionByComplexity.
|
|
141
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
142
|
-
* @memberof VMs
|
|
143
117
|
*/
|
|
144
118
|
complexityDistribution?: { [key: string]: DiskSizeTierSummary; };
|
|
145
119
|
/**
|
|
146
120
|
*
|
|
147
|
-
* @type {VMResourceBreakdown}
|
|
148
|
-
* @memberof VMs
|
|
149
121
|
*/
|
|
150
122
|
ramGB: VMResourceBreakdown;
|
|
151
123
|
/**
|
|
152
124
|
*
|
|
153
|
-
* @type {VMResourceBreakdown}
|
|
154
|
-
* @memberof VMs
|
|
155
125
|
*/
|
|
156
126
|
diskGB: VMResourceBreakdown;
|
|
157
127
|
/**
|
|
158
128
|
*
|
|
159
|
-
* @type {VMResourceBreakdown}
|
|
160
|
-
* @memberof VMs
|
|
161
129
|
*/
|
|
162
130
|
diskCount: VMResourceBreakdown;
|
|
163
131
|
/**
|
|
164
132
|
*
|
|
165
|
-
* @type {VMResourceBreakdown}
|
|
166
|
-
* @memberof VMs
|
|
167
133
|
*/
|
|
168
134
|
nicCount?: VMResourceBreakdown;
|
|
169
135
|
/**
|
|
170
136
|
*
|
|
171
|
-
* @type {{ [key: string]: number; }}
|
|
172
|
-
* @memberof VMs
|
|
173
137
|
*/
|
|
174
138
|
powerStates: { [key: string]: number; };
|
|
175
139
|
/**
|
|
176
140
|
*
|
|
177
|
-
* @type {{ [key: string]: number; }}
|
|
178
|
-
* @memberof VMs
|
|
179
141
|
* @deprecated
|
|
180
142
|
*/
|
|
181
143
|
os?: { [key: string]: number; };
|
|
182
144
|
/**
|
|
183
145
|
*
|
|
184
|
-
* @type {{ [key: string]: OsInfo; }}
|
|
185
|
-
* @memberof VMs
|
|
186
146
|
*/
|
|
187
147
|
osInfo?: { [key: string]: OsInfo; };
|
|
188
148
|
/**
|
|
189
149
|
*
|
|
190
|
-
* @type {Array<MigrationIssue>}
|
|
191
|
-
* @memberof VMs
|
|
192
150
|
*/
|
|
193
151
|
notMigratableReasons: Array<MigrationIssue>;
|
|
194
152
|
/**
|
|
195
153
|
*
|
|
196
|
-
* @type {Array<MigrationIssue>}
|
|
197
|
-
* @memberof VMs
|
|
198
154
|
*/
|
|
199
155
|
migrationWarnings: Array<MigrationIssue>;
|
|
200
156
|
/**
|
|
201
157
|
*
|
|
202
|
-
* @type {IssuesBreakdown}
|
|
203
|
-
* @memberof VMs
|
|
204
158
|
*/
|
|
205
159
|
issuesBreakdown?: IssuesBreakdown;
|
|
206
160
|
}
|
|
@@ -21,32 +21,22 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VcenterCredentials {
|
|
22
22
|
/**
|
|
23
23
|
* vCenter URL
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof VcenterCredentials
|
|
26
24
|
*/
|
|
27
25
|
url: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof VcenterCredentials
|
|
32
28
|
*/
|
|
33
29
|
username: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof VcenterCredentials
|
|
38
32
|
*/
|
|
39
33
|
password: string;
|
|
40
34
|
/**
|
|
41
35
|
* PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof VcenterCredentials
|
|
44
36
|
*/
|
|
45
37
|
cacert?: string;
|
|
46
38
|
/**
|
|
47
39
|
* 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.
|
|
48
|
-
* @type {boolean}
|
|
49
|
-
* @memberof VcenterCredentials
|
|
50
40
|
*/
|
|
51
41
|
skipTls?: boolean;
|
|
52
42
|
}
|
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VddkProperties {
|
|
22
22
|
/**
|
|
23
23
|
* The matching vSphere Client version
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof VddkProperties
|
|
26
24
|
*/
|
|
27
25
|
version: string;
|
|
28
26
|
/**
|
|
29
27
|
* md5 sum of the uploaded tarball
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof VddkProperties
|
|
32
28
|
*/
|
|
33
29
|
md5: string;
|
|
34
30
|
/**
|
|
35
31
|
* provided tarball bytes
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof VddkProperties
|
|
38
32
|
*/
|
|
39
33
|
bytes?: number;
|
|
40
34
|
}
|
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VersionInfo {
|
|
22
22
|
/**
|
|
23
23
|
* Agent version (e.g. v2.0.0)
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof VersionInfo
|
|
26
24
|
*/
|
|
27
25
|
version: string;
|
|
28
26
|
/**
|
|
29
27
|
* Git commit SHA used to build the agent
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof VersionInfo
|
|
32
28
|
*/
|
|
33
29
|
gitCommit: string;
|
|
34
30
|
/**
|
|
35
31
|
* Git commit SHA of the UI used to build the agent
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof VersionInfo
|
|
38
32
|
*/
|
|
39
33
|
uiGitCommit: string;
|
|
40
34
|
}
|
|
@@ -29,128 +29,86 @@ import {
|
|
|
29
29
|
export interface VirtualMachine {
|
|
30
30
|
/**
|
|
31
31
|
* VirtualMachine name
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof VirtualMachine
|
|
34
32
|
*/
|
|
35
33
|
name: string;
|
|
36
34
|
/**
|
|
37
35
|
* VirtualMachine ID in vCenter
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof VirtualMachine
|
|
40
36
|
*/
|
|
41
37
|
id: string;
|
|
42
38
|
/**
|
|
43
39
|
* vCenter state (e.g., poweredOn, poweredOff, suspended)
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof VirtualMachine
|
|
46
40
|
*/
|
|
47
41
|
vCenterState: string;
|
|
48
42
|
/**
|
|
49
43
|
* Cluster name
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof VirtualMachine
|
|
52
44
|
*/
|
|
53
45
|
cluster: string;
|
|
54
46
|
/**
|
|
55
47
|
* Datacenter name
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof VirtualMachine
|
|
58
48
|
*/
|
|
59
49
|
datacenter: string;
|
|
60
50
|
/**
|
|
61
51
|
* Total disk size in MB
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof VirtualMachine
|
|
64
52
|
*/
|
|
65
53
|
diskSize: number;
|
|
66
54
|
/**
|
|
67
55
|
* Memory size in MB
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof VirtualMachine
|
|
70
56
|
*/
|
|
71
57
|
memory: number;
|
|
72
58
|
/**
|
|
73
59
|
* Number of issues found for this VirtualMachine
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof VirtualMachine
|
|
76
60
|
*/
|
|
77
61
|
issueCount: number;
|
|
78
62
|
/**
|
|
79
63
|
* True if the vm is migratable for MTV. False otherwise
|
|
80
|
-
* @type {boolean}
|
|
81
|
-
* @memberof VirtualMachine
|
|
82
64
|
*/
|
|
83
65
|
migratable?: boolean;
|
|
84
66
|
/**
|
|
85
67
|
* True if the vm is a template. False otherwise
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @memberof VirtualMachine
|
|
88
68
|
*/
|
|
89
69
|
template?: boolean;
|
|
90
70
|
/**
|
|
91
71
|
* Whether this VM is excluded from migration
|
|
92
|
-
* @type {boolean}
|
|
93
|
-
* @memberof VirtualMachine
|
|
94
72
|
*/
|
|
95
73
|
migrationExcluded?: boolean;
|
|
96
74
|
/**
|
|
97
75
|
*
|
|
98
|
-
* @type {VmInspectionStatus}
|
|
99
|
-
* @memberof VirtualMachine
|
|
100
76
|
*/
|
|
101
77
|
inspectionStatus?: VmInspectionStatus;
|
|
102
78
|
/**
|
|
103
79
|
* Number of inspection concerns recorded for the latest persisted inspection result
|
|
104
|
-
* @type {number}
|
|
105
|
-
* @memberof VirtualMachine
|
|
106
80
|
*/
|
|
107
81
|
inspectionConcernCount?: number;
|
|
108
82
|
/**
|
|
109
83
|
* Names of groups this VM matches
|
|
110
|
-
* @type {Array<string>}
|
|
111
|
-
* @memberof VirtualMachine
|
|
112
84
|
*/
|
|
113
85
|
groups?: Array<string>;
|
|
114
86
|
/**
|
|
115
87
|
* User-defined labels for this VM
|
|
116
|
-
* @type {Array<string>}
|
|
117
|
-
* @memberof VirtualMachine
|
|
118
88
|
*/
|
|
119
89
|
labels?: Array<string>;
|
|
120
90
|
/**
|
|
121
91
|
* CPU utilization at p95 (%); absent when no utilization data
|
|
122
|
-
* @type {number}
|
|
123
|
-
* @memberof VirtualMachine
|
|
124
92
|
*/
|
|
125
93
|
utilization_cpu_p95?: number;
|
|
126
94
|
/**
|
|
127
95
|
* Memory utilization at p95 (%); absent when no utilization data
|
|
128
|
-
* @type {number}
|
|
129
|
-
* @memberof VirtualMachine
|
|
130
96
|
*/
|
|
131
97
|
utilization_mem_p95?: number;
|
|
132
98
|
/**
|
|
133
99
|
* CPU utilization at max (%); absent when no utilization data
|
|
134
|
-
* @type {number}
|
|
135
|
-
* @memberof VirtualMachine
|
|
136
100
|
*/
|
|
137
101
|
utilization_cpu_max?: number;
|
|
138
102
|
/**
|
|
139
103
|
* Memory utilization at max (%); absent when no utilization data
|
|
140
|
-
* @type {number}
|
|
141
|
-
* @memberof VirtualMachine
|
|
142
104
|
*/
|
|
143
105
|
utilization_mem_max?: number;
|
|
144
106
|
/**
|
|
145
107
|
* Disk utilization (%); absent when no utilization data
|
|
146
|
-
* @type {number}
|
|
147
|
-
* @memberof VirtualMachine
|
|
148
108
|
*/
|
|
149
109
|
utilization_disk?: number;
|
|
150
110
|
/**
|
|
151
111
|
* Data confidence — sample_count / expected_sample_count × 100
|
|
152
|
-
* @type {number}
|
|
153
|
-
* @memberof VirtualMachine
|
|
154
112
|
*/
|
|
155
113
|
utilization_confidence?: number;
|
|
156
114
|
}
|
|
@@ -78,212 +78,142 @@ import {
|
|
|
78
78
|
export interface VirtualMachineDetail {
|
|
79
79
|
/**
|
|
80
80
|
* Unique identifier for the VirtualMachine in vCenter
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof VirtualMachineDetail
|
|
83
81
|
*/
|
|
84
82
|
id: string;
|
|
85
83
|
/**
|
|
86
84
|
* Display name of the VirtualMachine
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof VirtualMachineDetail
|
|
89
85
|
*/
|
|
90
86
|
name: string;
|
|
91
87
|
/**
|
|
92
88
|
* Universally unique identifier assigned by vCenter
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof VirtualMachineDetail
|
|
95
89
|
*/
|
|
96
90
|
uuid?: string;
|
|
97
91
|
/**
|
|
98
92
|
* Firmware type used by the VirtualMachine (bios or efi)
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof VirtualMachineDetail
|
|
101
93
|
*/
|
|
102
94
|
firmware?: string;
|
|
103
95
|
/**
|
|
104
96
|
* Current power state of the VirtualMachine (poweredOn, poweredOff, or suspended)
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof VirtualMachineDetail
|
|
107
97
|
*/
|
|
108
98
|
powerState: string;
|
|
109
99
|
/**
|
|
110
100
|
* State of the connection between vCenter and the VirtualMachine's host (connected, disconnected, orphaned, or inaccessible)
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof VirtualMachineDetail
|
|
113
101
|
*/
|
|
114
102
|
connectionState: string;
|
|
115
103
|
/**
|
|
116
104
|
* Reference to the ESXi host where the VirtualMachine is running
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof VirtualMachineDetail
|
|
119
105
|
*/
|
|
120
106
|
host?: string;
|
|
121
107
|
/**
|
|
122
108
|
* Name of the datacenter containing the VirtualMachine
|
|
123
|
-
* @type {string}
|
|
124
|
-
* @memberof VirtualMachineDetail
|
|
125
109
|
*/
|
|
126
110
|
datacenter?: string;
|
|
127
111
|
/**
|
|
128
112
|
* Name of the cluster containing the VirtualMachine
|
|
129
|
-
* @type {string}
|
|
130
|
-
* @memberof VirtualMachineDetail
|
|
131
113
|
*/
|
|
132
114
|
cluster?: string;
|
|
133
115
|
/**
|
|
134
116
|
* Reference to the inventory folder containing the VirtualMachine
|
|
135
|
-
* @type {string}
|
|
136
|
-
* @memberof VirtualMachineDetail
|
|
137
117
|
*/
|
|
138
118
|
folder?: string;
|
|
139
119
|
/**
|
|
140
120
|
* Total number of virtual CPUs allocated to the VirtualMachine
|
|
141
|
-
* @type {number}
|
|
142
|
-
* @memberof VirtualMachineDetail
|
|
143
121
|
*/
|
|
144
122
|
cpuCount: number;
|
|
145
123
|
/**
|
|
146
124
|
* Number of CPU cores per virtual socket
|
|
147
|
-
* @type {number}
|
|
148
|
-
* @memberof VirtualMachineDetail
|
|
149
125
|
*/
|
|
150
126
|
coresPerSocket: number;
|
|
151
127
|
/**
|
|
152
128
|
* List of physical CPU IDs the VirtualMachine is pinned to for scheduling
|
|
153
|
-
* @type {Array<number>}
|
|
154
|
-
* @memberof VirtualMachineDetail
|
|
155
129
|
*/
|
|
156
130
|
cpuAffinity?: Array<number>;
|
|
157
131
|
/**
|
|
158
132
|
* Amount of memory allocated to the VirtualMachine in megabytes
|
|
159
|
-
* @type {number}
|
|
160
|
-
* @memberof VirtualMachineDetail
|
|
161
133
|
*/
|
|
162
134
|
memoryMB: number;
|
|
163
135
|
/**
|
|
164
136
|
* Full name of the guest operating system as reported by VMware Tools
|
|
165
|
-
* @type {string}
|
|
166
|
-
* @memberof VirtualMachineDetail
|
|
167
137
|
*/
|
|
168
138
|
guestName?: string;
|
|
169
139
|
/**
|
|
170
140
|
* VMware identifier for the guest OS type (e.g., rhel8_64Guest)
|
|
171
|
-
* @type {string}
|
|
172
|
-
* @memberof VirtualMachineDetail
|
|
173
141
|
*/
|
|
174
142
|
guestId?: string;
|
|
175
143
|
/**
|
|
176
144
|
* Hostname of the guest OS as reported by VMware Tools
|
|
177
|
-
* @type {string}
|
|
178
|
-
* @memberof VirtualMachineDetail
|
|
179
145
|
*/
|
|
180
146
|
hostName?: string;
|
|
181
147
|
/**
|
|
182
148
|
* Primary IP address of the guest OS as reported by VMware Tools
|
|
183
|
-
* @type {string}
|
|
184
|
-
* @memberof VirtualMachineDetail
|
|
185
149
|
*/
|
|
186
150
|
ipAddress?: string;
|
|
187
151
|
/**
|
|
188
152
|
* Total storage space consumed by the VirtualMachine in bytes
|
|
189
|
-
* @type {number}
|
|
190
|
-
* @memberof VirtualMachineDetail
|
|
191
153
|
*/
|
|
192
154
|
storageUsed?: number;
|
|
193
155
|
/**
|
|
194
156
|
* Whether the VirtualMachine is a template rather than a regular VirtualMachine
|
|
195
|
-
* @type {boolean}
|
|
196
|
-
* @memberof VirtualMachineDetail
|
|
197
157
|
*/
|
|
198
158
|
template?: boolean;
|
|
199
159
|
/**
|
|
200
160
|
* Whether the VirtualMachine can be migrated (true if no critical issues)
|
|
201
|
-
* @type {boolean}
|
|
202
|
-
* @memberof VirtualMachineDetail
|
|
203
161
|
*/
|
|
204
162
|
migratable?: boolean;
|
|
205
163
|
/**
|
|
206
164
|
* Whether this VM is excluded from migration
|
|
207
|
-
* @type {boolean}
|
|
208
|
-
* @memberof VirtualMachineDetail
|
|
209
165
|
*/
|
|
210
166
|
migrationExcluded?: boolean;
|
|
211
167
|
/**
|
|
212
168
|
* User-defined labels for this VM
|
|
213
|
-
* @type {Array<string>}
|
|
214
|
-
* @memberof VirtualMachineDetail
|
|
215
169
|
*/
|
|
216
170
|
labels?: Array<string>;
|
|
217
171
|
/**
|
|
218
172
|
* Whether VMware Fault Tolerance is enabled, which maintains a live shadow VirtualMachine for instant failover
|
|
219
|
-
* @type {boolean}
|
|
220
|
-
* @memberof VirtualMachineDetail
|
|
221
173
|
*/
|
|
222
174
|
faultToleranceEnabled?: boolean;
|
|
223
175
|
/**
|
|
224
176
|
* Whether nested virtualization is enabled, allowing hypervisors to run inside the VirtualMachine
|
|
225
|
-
* @type {boolean}
|
|
226
|
-
* @memberof VirtualMachineDetail
|
|
227
177
|
*/
|
|
228
178
|
nestedHVEnabled?: boolean;
|
|
229
179
|
/**
|
|
230
180
|
* Installation status of VMware Tools (toolsNotInstalled, toolsNotRunning, toolsOld, toolsOk)
|
|
231
|
-
* @type {string}
|
|
232
|
-
* @memberof VirtualMachineDetail
|
|
233
181
|
*/
|
|
234
182
|
toolsStatus?: string;
|
|
235
183
|
/**
|
|
236
184
|
* Whether VMware Tools is currently running in the guest OS
|
|
237
|
-
* @type {string}
|
|
238
|
-
* @memberof VirtualMachineDetail
|
|
239
185
|
*/
|
|
240
186
|
toolsRunningStatus?: string;
|
|
241
187
|
/**
|
|
242
188
|
* List of virtual disks attached to the VirtualMachine
|
|
243
|
-
* @type {Array<VMDisk>}
|
|
244
|
-
* @memberof VirtualMachineDetail
|
|
245
189
|
*/
|
|
246
190
|
disks: Array<VMDisk>;
|
|
247
191
|
/**
|
|
248
192
|
* List of virtual network interface cards attached to the VirtualMachine
|
|
249
|
-
* @type {Array<VMNIC>}
|
|
250
|
-
* @memberof VirtualMachineDetail
|
|
251
193
|
*/
|
|
252
194
|
nics: Array<VMNIC>;
|
|
253
195
|
/**
|
|
254
196
|
* List of other virtual devices attached to the VirtualMachine
|
|
255
|
-
* @type {Array<VMDevice>}
|
|
256
|
-
* @memberof VirtualMachineDetail
|
|
257
197
|
*/
|
|
258
198
|
devices?: Array<VMDevice>;
|
|
259
199
|
/**
|
|
260
200
|
* Network configuration inside the guest OS as reported by VMware Tools
|
|
261
|
-
* @type {Array<GuestNetwork>}
|
|
262
|
-
* @memberof VirtualMachineDetail
|
|
263
201
|
*/
|
|
264
202
|
guestNetworks?: Array<GuestNetwork>;
|
|
265
203
|
/**
|
|
266
204
|
* List of issues affecting this VirtualMachine
|
|
267
|
-
* @type {Array<VMIssue>}
|
|
268
|
-
* @memberof VirtualMachineDetail
|
|
269
205
|
*/
|
|
270
206
|
issues?: Array<VMIssue>;
|
|
271
207
|
/**
|
|
272
208
|
*
|
|
273
|
-
* @type {VmInspectionResults}
|
|
274
|
-
* @memberof VirtualMachineDetail
|
|
275
209
|
*/
|
|
276
210
|
inspection?: VmInspectionResults;
|
|
277
211
|
/**
|
|
278
212
|
*
|
|
279
|
-
* @type {VmUtilizationDetails}
|
|
280
|
-
* @memberof VirtualMachineDetail
|
|
281
213
|
*/
|
|
282
214
|
utilization?: VmUtilizationDetails;
|
|
283
215
|
/**
|
|
284
216
|
* List of processes detected on this VM
|
|
285
|
-
* @type {Array<Process>}
|
|
286
|
-
* @memberof VirtualMachineDetail
|
|
287
217
|
*/
|
|
288
218
|
processes?: Array<Process>;
|
|
289
219
|
}
|
|
@@ -29,26 +29,18 @@ import {
|
|
|
29
29
|
export interface VirtualMachineListResponse {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {Array<VirtualMachine>}
|
|
33
|
-
* @memberof VirtualMachineListResponse
|
|
34
32
|
*/
|
|
35
33
|
vms: Array<VirtualMachine>;
|
|
36
34
|
/**
|
|
37
35
|
* Total number of VMs matching the filter
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof VirtualMachineListResponse
|
|
40
36
|
*/
|
|
41
37
|
total: number;
|
|
42
38
|
/**
|
|
43
39
|
* Current page number
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof VirtualMachineListResponse
|
|
46
40
|
*/
|
|
47
41
|
page: number;
|
|
48
42
|
/**
|
|
49
43
|
* Total number of pages
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof VirtualMachineListResponse
|
|
52
44
|
*/
|
|
53
45
|
pageCount: number;
|
|
54
46
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VirtualMachineUpdateRequest {
|
|
22
22
|
/**
|
|
23
23
|
* Whether to exclude this VM from migration
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof VirtualMachineUpdateRequest
|
|
26
24
|
*/
|
|
27
25
|
migrationExcluded?: boolean;
|
|
28
26
|
/**
|
|
29
27
|
* User-defined labels (replaces existing labels)
|
|
30
|
-
* @type {Array<string>}
|
|
31
|
-
* @memberof VirtualMachineUpdateRequest
|
|
32
28
|
*/
|
|
33
29
|
labels?: Array<string>;
|
|
34
30
|
}
|
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VmInspectionConcern {
|
|
22
22
|
/**
|
|
23
23
|
* Short label identifying the concern
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof VmInspectionConcern
|
|
26
24
|
*/
|
|
27
25
|
label: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof VmInspectionConcern
|
|
32
28
|
*/
|
|
33
29
|
message: string;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof VmInspectionConcern
|
|
38
32
|
*/
|
|
39
33
|
category: string;
|
|
40
34
|
}
|
|
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VmInspectionStatus {
|
|
22
22
|
/**
|
|
23
23
|
* Current inspection state
|
|
24
|
-
* @type {VmInspectionStatusStateEnum}
|
|
25
|
-
* @memberof VmInspectionStatus
|
|
26
24
|
*/
|
|
27
25
|
state: VmInspectionStatusStateEnum;
|
|
28
26
|
/**
|
|
29
27
|
* State details
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof VmInspectionStatus
|
|
32
28
|
*/
|
|
33
29
|
message: string;
|
|
34
30
|
/**
|
|
35
31
|
* Error message when state is error
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof VmInspectionStatus
|
|
38
32
|
*/
|
|
39
33
|
error?: string;
|
|
40
34
|
/**
|
|
41
35
|
* Inspection results
|
|
42
|
-
* @type {object}
|
|
43
|
-
* @memberof VmInspectionStatus
|
|
44
36
|
*/
|
|
45
37
|
results?: object;
|
|
46
38
|
}
|