@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.0-4e95135f8529
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 +74 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +80 -17
- package/dist/apis/DefaultApi.d.ts +1108 -95
- package/dist/apis/DefaultApi.js +1374 -263
- package/dist/esm/apis/DefaultApi.d.ts +1108 -95
- package/dist/esm/apis/DefaultApi.js +1350 -239
- package/dist/esm/models/AgentStatus.d.ts +1 -1
- package/dist/esm/models/AgentStatus.js +3 -3
- package/dist/esm/models/ApplicationListResponse.d.ts +33 -0
- package/dist/esm/models/ApplicationListResponse.js +44 -0
- package/dist/esm/models/ApplicationOverview.d.ts +51 -0
- package/dist/esm/models/ApplicationOverview.js +56 -0
- package/dist/esm/models/ApplicationVM.d.ts +38 -0
- package/dist/esm/models/ApplicationVM.js +47 -0
- package/dist/esm/models/BenchmarkRun.d.ts +104 -0
- package/dist/esm/models/BenchmarkRun.js +85 -0
- package/dist/esm/models/ClusterFeatures.d.ts +54 -0
- package/dist/esm/models/ClusterFeatures.js +54 -0
- package/dist/esm/models/ClusterUtilization.d.ts +68 -0
- package/dist/esm/models/ClusterUtilization.js +67 -0
- package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
- package/dist/esm/models/CollectorStartRequest.js +4 -0
- package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
- package/dist/esm/models/CreateGroupRequest.js +0 -2
- package/dist/esm/models/CredentialStatus.d.ts +38 -0
- package/dist/esm/models/CredentialStatus.js +47 -0
- package/dist/esm/models/DatastoreDetail.d.ts +90 -0
- package/dist/esm/models/DatastoreDetail.js +74 -0
- package/dist/esm/models/DatastorePair.d.ts +50 -0
- package/dist/esm/models/DatastorePair.js +53 -0
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
- package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
- package/dist/esm/models/EstimateRange.d.ts +44 -0
- package/dist/esm/models/EstimateRange.js +45 -0
- package/dist/esm/models/ForecastStats.d.ts +87 -0
- package/dist/esm/models/ForecastStats.js +64 -0
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
- package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
- package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
- package/dist/esm/models/ForecasterPairStatus.js +82 -0
- package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
- package/dist/esm/models/ForecasterStartRequest.js +53 -0
- package/dist/esm/models/ForecasterStatus.d.ts +47 -0
- package/dist/esm/models/ForecasterStatus.js +53 -0
- package/dist/esm/models/Group.d.ts +0 -6
- package/dist/esm/models/Group.js +0 -2
- package/dist/esm/models/GroupResponse.d.ts +7 -0
- package/dist/esm/models/GroupResponse.js +3 -0
- package/dist/esm/models/InspectorStatus.d.ts +6 -10
- package/dist/esm/models/InspectorStatus.js +5 -9
- package/dist/esm/models/Inventory.d.ts +7 -1
- package/dist/esm/models/Inventory.js +5 -3
- package/dist/esm/models/InventoryData.d.ts +14 -0
- package/dist/esm/models/InventoryData.js +6 -0
- package/dist/esm/models/PairCapability.d.ts +60 -0
- package/dist/esm/models/PairCapability.js +64 -0
- package/dist/esm/models/PairCapabilityRequest.d.ts +40 -0
- package/dist/esm/models/PairCapabilityRequest.js +47 -0
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +38 -0
- package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +39 -0
- package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
- package/dist/esm/models/RightsizingClusterResponse.d.ts +39 -0
- package/dist/esm/models/RightsizingClusterResponse.js +48 -0
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +112 -0
- package/dist/esm/models/RightsizingClusterUtilization.js +95 -0
- package/dist/esm/models/RightsizingCollectRequest.d.ts +70 -0
- package/dist/esm/models/RightsizingCollectRequest.js +56 -0
- package/dist/esm/models/RightsizingMetricStats.d.ts +62 -0
- package/dist/esm/models/RightsizingMetricStats.js +63 -0
- package/dist/esm/models/RightsizingReport.d.ts +81 -0
- package/dist/esm/models/RightsizingReport.js +76 -0
- package/dist/esm/models/RightsizingReportListResponse.d.ts +39 -0
- package/dist/esm/models/RightsizingReportListResponse.js +48 -0
- package/dist/esm/models/RightsizingReportSummary.d.ts +74 -0
- package/dist/esm/models/RightsizingReportSummary.js +71 -0
- package/dist/esm/models/RightsizingVMReport.d.ts +53 -0
- package/dist/esm/models/RightsizingVMReport.js +57 -0
- package/dist/esm/models/StartInspectionRequest.d.ts +39 -0
- package/dist/esm/models/{InspectorStartRequest.js → StartInspectionRequest.js} +12 -12
- package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/esm/models/StopForecasterPair202Response.js +49 -0
- package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/esm/models/UpdateGroupRequest.js +0 -2
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
- package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +56 -0
- package/dist/esm/models/VMFilterOptionsResponse.js +59 -0
- package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
- package/dist/esm/models/VMLabelsResponse.js +47 -0
- package/dist/esm/models/VMNIC.d.ts +12 -0
- package/dist/esm/models/VMNIC.js +4 -0
- package/dist/esm/models/VMs.d.ts +18 -0
- package/dist/esm/models/VMs.js +4 -0
- package/dist/esm/models/VcenterCredentials.d.ts +12 -0
- package/dist/esm/models/VcenterCredentials.js +4 -0
- package/dist/esm/models/VirtualMachine.d.ts +57 -3
- package/dist/esm/models/VirtualMachine.js +22 -6
- package/dist/esm/models/VirtualMachineDetail.d.ts +22 -3
- package/dist/esm/models/VirtualMachineDetail.js +10 -3
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
- package/dist/esm/models/VmInspectionConcern.d.ts +44 -0
- package/dist/esm/models/VmInspectionConcern.js +51 -0
- package/dist/esm/models/VmInspectionResults.d.ts +33 -0
- package/dist/esm/models/VmInspectionResults.js +42 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -1
- package/dist/esm/models/VmInspectionStatus.js +1 -2
- package/dist/esm/models/VmUtilizationDetails.d.ts +116 -0
- package/dist/esm/models/VmUtilizationDetails.js +99 -0
- package/dist/esm/models/index.d.ts +37 -1
- package/dist/esm/models/index.js +37 -1
- package/dist/esm/runtime.js +3 -2
- package/dist/models/AgentStatus.d.ts +1 -1
- package/dist/models/AgentStatus.js +3 -3
- package/dist/models/ApplicationListResponse.d.ts +33 -0
- package/dist/models/ApplicationListResponse.js +51 -0
- package/dist/models/ApplicationOverview.d.ts +51 -0
- package/dist/models/ApplicationOverview.js +63 -0
- package/dist/models/ApplicationVM.d.ts +38 -0
- package/dist/models/ApplicationVM.js +54 -0
- package/dist/models/BenchmarkRun.d.ts +104 -0
- package/dist/models/BenchmarkRun.js +92 -0
- package/dist/models/ClusterFeatures.d.ts +54 -0
- package/dist/models/ClusterFeatures.js +62 -0
- package/dist/models/ClusterUtilization.d.ts +68 -0
- package/dist/models/ClusterUtilization.js +74 -0
- package/dist/models/CollectorStartRequest.d.ts +12 -0
- package/dist/models/CollectorStartRequest.js +4 -0
- package/dist/models/CreateGroupRequest.d.ts +0 -6
- package/dist/models/CreateGroupRequest.js +0 -2
- package/dist/models/CredentialStatus.d.ts +38 -0
- package/dist/models/CredentialStatus.js +54 -0
- package/dist/models/DatastoreDetail.d.ts +90 -0
- package/dist/models/DatastoreDetail.js +82 -0
- package/dist/models/DatastorePair.d.ts +50 -0
- package/dist/models/DatastorePair.js +60 -0
- package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
- package/dist/models/DeleteLabelGloballyResponse.js +54 -0
- package/dist/models/EstimateRange.d.ts +44 -0
- package/dist/models/EstimateRange.js +52 -0
- package/dist/models/ForecastStats.d.ts +87 -0
- package/dist/models/ForecastStats.js +71 -0
- package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
- package/dist/models/ForecasterDatastoresRequest.js +49 -0
- package/dist/models/ForecasterPairStatus.d.ts +98 -0
- package/dist/models/ForecasterPairStatus.js +90 -0
- package/dist/models/ForecasterStartRequest.d.ts +58 -0
- package/dist/models/ForecasterStartRequest.js +60 -0
- package/dist/models/ForecasterStatus.d.ts +47 -0
- package/dist/models/ForecasterStatus.js +61 -0
- package/dist/models/Group.d.ts +0 -6
- package/dist/models/Group.js +0 -2
- package/dist/models/GroupResponse.d.ts +7 -0
- package/dist/models/GroupResponse.js +3 -0
- package/dist/models/InspectorStatus.d.ts +6 -10
- package/dist/models/InspectorStatus.js +5 -9
- package/dist/models/Inventory.d.ts +7 -1
- package/dist/models/Inventory.js +5 -3
- package/dist/models/InventoryData.d.ts +14 -0
- package/dist/models/InventoryData.js +6 -0
- package/dist/models/PairCapability.d.ts +60 -0
- package/dist/models/PairCapability.js +72 -0
- package/dist/models/PairCapabilityRequest.d.ts +40 -0
- package/dist/models/PairCapabilityRequest.js +54 -0
- package/dist/models/PutForecasterCredentials403Response.d.ts +38 -0
- package/dist/models/PutForecasterCredentials403Response.js +50 -0
- package/dist/models/RightsizingClusterListResponse.d.ts +39 -0
- package/dist/models/RightsizingClusterListResponse.js +55 -0
- package/dist/models/RightsizingClusterResponse.d.ts +39 -0
- package/dist/models/RightsizingClusterResponse.js +55 -0
- package/dist/models/RightsizingClusterUtilization.d.ts +112 -0
- package/dist/models/RightsizingClusterUtilization.js +102 -0
- package/dist/models/RightsizingCollectRequest.d.ts +70 -0
- package/dist/models/RightsizingCollectRequest.js +63 -0
- package/dist/models/RightsizingMetricStats.d.ts +62 -0
- package/dist/models/RightsizingMetricStats.js +70 -0
- package/dist/models/RightsizingReport.d.ts +81 -0
- package/dist/models/RightsizingReport.js +83 -0
- package/dist/models/RightsizingReportListResponse.d.ts +39 -0
- package/dist/models/RightsizingReportListResponse.js +55 -0
- package/dist/models/RightsizingReportSummary.d.ts +74 -0
- package/dist/models/RightsizingReportSummary.js +78 -0
- package/dist/models/RightsizingVMReport.d.ts +53 -0
- package/dist/models/RightsizingVMReport.js +64 -0
- package/dist/models/StartInspectionRequest.d.ts +39 -0
- package/dist/models/StartInspectionRequest.js +55 -0
- package/dist/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/models/StopForecasterPair202Response.js +57 -0
- package/dist/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/models/UpdateGroupRequest.js +0 -2
- package/dist/models/UpdateLabelVMsRequest.d.ts +38 -0
- package/dist/models/UpdateLabelVMsRequest.js +50 -0
- package/dist/models/VMFilterOptionsResponse.d.ts +56 -0
- package/dist/models/VMFilterOptionsResponse.js +66 -0
- package/dist/models/VMLabelsResponse.d.ts +38 -0
- package/dist/models/VMLabelsResponse.js +54 -0
- package/dist/models/VMNIC.d.ts +12 -0
- package/dist/models/VMNIC.js +4 -0
- package/dist/models/VMs.d.ts +18 -0
- package/dist/models/VMs.js +4 -0
- package/dist/models/VcenterCredentials.d.ts +12 -0
- package/dist/models/VcenterCredentials.js +4 -0
- package/dist/models/VirtualMachine.d.ts +57 -3
- package/dist/models/VirtualMachine.js +22 -6
- package/dist/models/VirtualMachineDetail.d.ts +22 -3
- package/dist/models/VirtualMachineDetail.js +10 -3
- package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/models/VirtualMachineUpdateRequest.js +50 -0
- package/dist/models/VmInspectionConcern.d.ts +44 -0
- package/dist/models/VmInspectionConcern.js +58 -0
- package/dist/models/VmInspectionResults.d.ts +33 -0
- package/dist/models/VmInspectionResults.js +49 -0
- package/dist/models/VmInspectionStatus.d.ts +0 -1
- package/dist/models/VmInspectionStatus.js +1 -2
- package/dist/models/VmUtilizationDetails.d.ts +116 -0
- package/dist/models/VmUtilizationDetails.js +106 -0
- package/dist/models/index.d.ts +37 -1
- package/dist/models/index.js +37 -1
- package/dist/runtime.js +3 -2
- package/docs/AgentStatus.md +2 -2
- package/docs/ApplicationListResponse.md +34 -0
- package/docs/ApplicationOverview.md +40 -0
- package/docs/ApplicationVM.md +36 -0
- package/docs/BenchmarkRun.md +58 -0
- package/docs/ClusterFeatures.md +38 -0
- package/docs/ClusterUtilization.md +46 -0
- package/docs/CollectorStartRequest.md +4 -0
- package/docs/CreateGroupRequest.md +0 -2
- package/docs/CredentialStatus.md +36 -0
- package/docs/DatastoreDetail.md +50 -0
- package/docs/DatastorePair.md +40 -0
- package/docs/DefaultApi.md +2126 -310
- package/docs/DeleteLabelGloballyResponse.md +36 -0
- package/docs/EstimateRange.md +39 -0
- package/docs/ForecastStats.md +52 -0
- package/docs/ForecasterDatastoresRequest.md +34 -0
- package/docs/ForecasterPairStatus.md +52 -0
- package/docs/ForecasterStartRequest.md +42 -0
- package/docs/ForecasterStatus.md +36 -0
- package/docs/GetInventory200Response.md +4 -2
- package/docs/Group.md +0 -2
- package/docs/GroupResponse.md +2 -0
- package/docs/InspectorStatus.md +2 -2
- package/docs/Inventory.md +4 -2
- package/docs/InventoryData.md +4 -0
- package/docs/PairCapability.md +40 -0
- package/docs/PairCapabilityRequest.md +36 -0
- package/docs/PutForecasterCredentials403Response.md +36 -0
- package/docs/RightsizingClusterListResponse.md +36 -0
- package/docs/RightsizingClusterResponse.md +36 -0
- package/docs/RightsizingClusterUtilization.md +60 -0
- package/docs/RightsizingCollectRequest.md +46 -0
- package/docs/RightsizingMetricStats.md +44 -0
- package/docs/RightsizingReport.md +50 -0
- package/docs/RightsizingReportListResponse.md +36 -0
- package/docs/RightsizingReportSummary.md +49 -0
- package/docs/RightsizingVMReport.md +40 -0
- package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +7 -6
- package/docs/StopForecasterPair202Response.md +36 -0
- package/docs/UpdateGroupRequest.md +0 -2
- package/docs/UpdateLabelVMsRequest.md +36 -0
- package/docs/VMFilterOptionsResponse.md +42 -0
- package/docs/VMLabelsResponse.md +36 -0
- package/docs/VMNIC.md +4 -0
- package/docs/VMs.md +4 -0
- package/docs/VcenterCredentials.md +4 -0
- package/docs/VirtualMachine.md +22 -4
- package/docs/VirtualMachineDetail.md +7 -1
- package/docs/VirtualMachineUpdateRequest.md +36 -0
- package/docs/VmInspectionConcern.md +39 -0
- package/docs/VmInspectionResults.md +35 -0
- package/docs/VmUtilizationDetails.md +62 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +2580 -491
- package/src/models/AgentStatus.ts +4 -4
- package/src/models/ApplicationListResponse.ts +74 -0
- package/src/models/ApplicationOverview.ts +101 -0
- package/src/models/ApplicationVM.ts +75 -0
- package/src/models/BenchmarkRun.ts +171 -0
- package/src/models/ClusterFeatures.ts +94 -0
- package/src/models/ClusterUtilization.ts +120 -0
- package/src/models/CollectorStartRequest.ts +16 -0
- package/src/models/CreateGroupRequest.ts +0 -8
- package/src/models/CredentialStatus.ts +75 -0
- package/src/models/DatastoreDetail.ts +146 -0
- package/src/models/DatastorePair.ts +92 -0
- package/src/models/DeleteLabelGloballyResponse.ts +75 -0
- package/src/models/EstimateRange.ts +81 -0
- package/src/models/ForecastStats.ts +147 -0
- package/src/models/ForecasterDatastoresRequest.ts +73 -0
- package/src/models/ForecasterPairStatus.ts +158 -0
- package/src/models/ForecasterStartRequest.ts +113 -0
- package/src/models/ForecasterStatus.ts +93 -0
- package/src/models/Group.ts +0 -8
- package/src/models/GroupResponse.ts +15 -0
- package/src/models/InspectorStatus.ts +15 -12
- package/src/models/Inventory.ts +12 -4
- package/src/models/InventoryData.ts +30 -0
- package/src/models/PairCapability.ts +106 -0
- package/src/models/PairCapabilityRequest.ts +89 -0
- package/src/models/PutForecasterCredentials403Response.ts +73 -0
- package/src/models/RightsizingClusterListResponse.ts +83 -0
- package/src/models/RightsizingClusterResponse.ts +83 -0
- package/src/models/RightsizingClusterUtilization.ts +185 -0
- package/src/models/RightsizingCollectRequest.ts +123 -0
- package/src/models/RightsizingMetricStats.ts +111 -0
- package/src/models/RightsizingReport.ts +146 -0
- package/src/models/RightsizingReportListResponse.ts +83 -0
- package/src/models/RightsizingReportSummary.ts +129 -0
- package/src/models/RightsizingVMReport.ts +101 -0
- package/src/models/StartInspectionRequest.ts +83 -0
- package/src/models/StopForecasterPair202Response.ts +83 -0
- package/src/models/UpdateGroupRequest.ts +0 -8
- package/src/models/UpdateLabelVMsRequest.ts +73 -0
- package/src/models/VMFilterOptionsResponse.ts +102 -0
- package/src/models/VMLabelsResponse.ts +75 -0
- package/src/models/VMNIC.ts +16 -0
- package/src/models/VMs.ts +18 -0
- package/src/models/VcenterCredentials.ts +16 -0
- package/src/models/VirtualMachine.ts +79 -8
- package/src/models/VirtualMachineDetail.ts +42 -11
- package/src/models/VirtualMachineUpdateRequest.ts +73 -0
- package/src/models/VmInspectionConcern.ts +84 -0
- package/src/models/VmInspectionResults.ts +73 -0
- package/src/models/VmInspectionStatus.ts +1 -2
- package/src/models/VmUtilizationDetails.ts +192 -0
- package/src/models/index.ts +37 -1
- package/src/runtime.ts +2 -3
- package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
- package/dist/models/InspectorStartRequest.d.ts +0 -39
- package/dist/models/InspectorStartRequest.js +0 -55
- package/src/models/InspectorStartRequest.ts +0 -83
|
@@ -19,11 +19,12 @@ exports.VirtualMachineDetailFromJSONTyped = VirtualMachineDetailFromJSONTyped;
|
|
|
19
19
|
exports.VirtualMachineDetailToJSON = VirtualMachineDetailToJSON;
|
|
20
20
|
exports.VirtualMachineDetailToJSONTyped = VirtualMachineDetailToJSONTyped;
|
|
21
21
|
const VMNIC_js_1 = require("./VMNIC.js");
|
|
22
|
-
const VmInspectionStatus_js_1 = require("./VmInspectionStatus.js");
|
|
23
22
|
const GuestNetwork_js_1 = require("./GuestNetwork.js");
|
|
24
23
|
const VMIssue_js_1 = require("./VMIssue.js");
|
|
25
24
|
const VMDevice_js_1 = require("./VMDevice.js");
|
|
25
|
+
const VmUtilizationDetails_js_1 = require("./VmUtilizationDetails.js");
|
|
26
26
|
const VMDisk_js_1 = require("./VMDisk.js");
|
|
27
|
+
const VmInspectionResults_js_1 = require("./VmInspectionResults.js");
|
|
27
28
|
/**
|
|
28
29
|
* Check if a given object implements the VirtualMachineDetail interface.
|
|
29
30
|
*/
|
|
@@ -77,6 +78,8 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
78
|
'storageUsed': json['storageUsed'] == null ? undefined : json['storageUsed'],
|
|
78
79
|
'template': json['template'] == null ? undefined : json['template'],
|
|
79
80
|
'migratable': json['migratable'] == null ? undefined : json['migratable'],
|
|
81
|
+
'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
|
|
82
|
+
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
80
83
|
'faultToleranceEnabled': json['faultToleranceEnabled'] == null ? undefined : json['faultToleranceEnabled'],
|
|
81
84
|
'nestedHVEnabled': json['nestedHVEnabled'] == null ? undefined : json['nestedHVEnabled'],
|
|
82
85
|
'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
|
|
@@ -86,7 +89,8 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
89
|
'devices': json['devices'] == null ? undefined : (json['devices'].map(VMDevice_js_1.VMDeviceFromJSON)),
|
|
87
90
|
'guestNetworks': json['guestNetworks'] == null ? undefined : (json['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkFromJSON)),
|
|
88
91
|
'issues': json['issues'] == null ? undefined : (json['issues'].map(VMIssue_js_1.VMIssueFromJSON)),
|
|
89
|
-
'inspection': json['inspection'] == null ? undefined : (0,
|
|
92
|
+
'inspection': json['inspection'] == null ? undefined : (0, VmInspectionResults_js_1.VmInspectionResultsFromJSON)(json['inspection']),
|
|
93
|
+
'utilization': json['utilization'] == null ? undefined : (0, VmUtilizationDetails_js_1.VmUtilizationDetailsFromJSON)(json['utilization']),
|
|
90
94
|
};
|
|
91
95
|
}
|
|
92
96
|
function VirtualMachineDetailToJSON(json) {
|
|
@@ -118,6 +122,8 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
118
122
|
'storageUsed': value['storageUsed'],
|
|
119
123
|
'template': value['template'],
|
|
120
124
|
'migratable': value['migratable'],
|
|
125
|
+
'migrationExcluded': value['migrationExcluded'],
|
|
126
|
+
'labels': value['labels'],
|
|
121
127
|
'faultToleranceEnabled': value['faultToleranceEnabled'],
|
|
122
128
|
'nestedHVEnabled': value['nestedHVEnabled'],
|
|
123
129
|
'toolsStatus': value['toolsStatus'],
|
|
@@ -127,6 +133,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
127
133
|
'devices': value['devices'] == null ? undefined : (value['devices'].map(VMDevice_js_1.VMDeviceToJSON)),
|
|
128
134
|
'guestNetworks': value['guestNetworks'] == null ? undefined : (value['guestNetworks'].map(GuestNetwork_js_1.GuestNetworkToJSON)),
|
|
129
135
|
'issues': value['issues'] == null ? undefined : (value['issues'].map(VMIssue_js_1.VMIssueToJSON)),
|
|
130
|
-
'inspection': (0,
|
|
136
|
+
'inspection': (0, VmInspectionResults_js_1.VmInspectionResultsToJSON)(value['inspection']),
|
|
137
|
+
'utilization': (0, VmUtilizationDetails_js_1.VmUtilizationDetailsToJSON)(value['utilization']),
|
|
131
138
|
};
|
|
132
139
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VirtualMachineUpdateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface VirtualMachineUpdateRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Whether to exclude this VM from migration
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof VirtualMachineUpdateRequest
|
|
22
|
+
*/
|
|
23
|
+
migrationExcluded?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* User-defined labels (replaces existing labels)
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof VirtualMachineUpdateRequest
|
|
28
|
+
*/
|
|
29
|
+
labels?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the VirtualMachineUpdateRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfVirtualMachineUpdateRequest(value: object): value is VirtualMachineUpdateRequest;
|
|
35
|
+
export declare function VirtualMachineUpdateRequestFromJSON(json: any): VirtualMachineUpdateRequest;
|
|
36
|
+
export declare function VirtualMachineUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineUpdateRequest;
|
|
37
|
+
export declare function VirtualMachineUpdateRequestToJSON(json: any): VirtualMachineUpdateRequest;
|
|
38
|
+
export declare function VirtualMachineUpdateRequestToJSONTyped(value?: VirtualMachineUpdateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVirtualMachineUpdateRequest = instanceOfVirtualMachineUpdateRequest;
|
|
17
|
+
exports.VirtualMachineUpdateRequestFromJSON = VirtualMachineUpdateRequestFromJSON;
|
|
18
|
+
exports.VirtualMachineUpdateRequestFromJSONTyped = VirtualMachineUpdateRequestFromJSONTyped;
|
|
19
|
+
exports.VirtualMachineUpdateRequestToJSON = VirtualMachineUpdateRequestToJSON;
|
|
20
|
+
exports.VirtualMachineUpdateRequestToJSONTyped = VirtualMachineUpdateRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VirtualMachineUpdateRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVirtualMachineUpdateRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function VirtualMachineUpdateRequestFromJSON(json) {
|
|
28
|
+
return VirtualMachineUpdateRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function VirtualMachineUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
|
|
36
|
+
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function VirtualMachineUpdateRequestToJSON(json) {
|
|
40
|
+
return VirtualMachineUpdateRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function VirtualMachineUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'migrationExcluded': value['migrationExcluded'],
|
|
48
|
+
'labels': value['labels'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Represents the structure of vm-migration-detective library inspection concerns
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VmInspectionConcern
|
|
16
|
+
*/
|
|
17
|
+
export interface VmInspectionConcern {
|
|
18
|
+
/**
|
|
19
|
+
* Short label identifying the concern
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VmInspectionConcern
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VmInspectionConcern
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VmInspectionConcern
|
|
34
|
+
*/
|
|
35
|
+
category: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the VmInspectionConcern interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfVmInspectionConcern(value: object): value is VmInspectionConcern;
|
|
41
|
+
export declare function VmInspectionConcernFromJSON(json: any): VmInspectionConcern;
|
|
42
|
+
export declare function VmInspectionConcernFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionConcern;
|
|
43
|
+
export declare function VmInspectionConcernToJSON(json: any): VmInspectionConcern;
|
|
44
|
+
export declare function VmInspectionConcernToJSONTyped(value?: VmInspectionConcern | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVmInspectionConcern = instanceOfVmInspectionConcern;
|
|
17
|
+
exports.VmInspectionConcernFromJSON = VmInspectionConcernFromJSON;
|
|
18
|
+
exports.VmInspectionConcernFromJSONTyped = VmInspectionConcernFromJSONTyped;
|
|
19
|
+
exports.VmInspectionConcernToJSON = VmInspectionConcernToJSON;
|
|
20
|
+
exports.VmInspectionConcernToJSONTyped = VmInspectionConcernToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VmInspectionConcern interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVmInspectionConcern(value) {
|
|
25
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function VmInspectionConcernFromJSON(json) {
|
|
34
|
+
return VmInspectionConcernFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function VmInspectionConcernFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'label': json['label'],
|
|
42
|
+
'message': json['message'],
|
|
43
|
+
'category': json['category'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function VmInspectionConcernToJSON(json) {
|
|
47
|
+
return VmInspectionConcernToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function VmInspectionConcernToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'label': value['label'],
|
|
55
|
+
'message': value['message'],
|
|
56
|
+
'category': value['category'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { VmInspectionConcern } from './VmInspectionConcern.js';
|
|
13
|
+
/**
|
|
14
|
+
* VirtualMachine Inspection results
|
|
15
|
+
* @export
|
|
16
|
+
* @interface VmInspectionResults
|
|
17
|
+
*/
|
|
18
|
+
export interface VmInspectionResults {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<VmInspectionConcern>}
|
|
22
|
+
* @memberof VmInspectionResults
|
|
23
|
+
*/
|
|
24
|
+
concerns?: Array<VmInspectionConcern>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the VmInspectionResults interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfVmInspectionResults(value: object): value is VmInspectionResults;
|
|
30
|
+
export declare function VmInspectionResultsFromJSON(json: any): VmInspectionResults;
|
|
31
|
+
export declare function VmInspectionResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmInspectionResults;
|
|
32
|
+
export declare function VmInspectionResultsToJSON(json: any): VmInspectionResults;
|
|
33
|
+
export declare function VmInspectionResultsToJSONTyped(value?: VmInspectionResults | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVmInspectionResults = instanceOfVmInspectionResults;
|
|
17
|
+
exports.VmInspectionResultsFromJSON = VmInspectionResultsFromJSON;
|
|
18
|
+
exports.VmInspectionResultsFromJSONTyped = VmInspectionResultsFromJSONTyped;
|
|
19
|
+
exports.VmInspectionResultsToJSON = VmInspectionResultsToJSON;
|
|
20
|
+
exports.VmInspectionResultsToJSONTyped = VmInspectionResultsToJSONTyped;
|
|
21
|
+
const VmInspectionConcern_js_1 = require("./VmInspectionConcern.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the VmInspectionResults interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfVmInspectionResults(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function VmInspectionResultsFromJSON(json) {
|
|
29
|
+
return VmInspectionResultsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function VmInspectionResultsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'concerns': json['concerns'] == null ? undefined : (json['concerns'].map(VmInspectionConcern_js_1.VmInspectionConcernFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function VmInspectionResultsToJSON(json) {
|
|
40
|
+
return VmInspectionResultsToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function VmInspectionResultsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'concerns': value['concerns'] == null ? undefined : (value['concerns'].map(VmInspectionConcern_js_1.VmInspectionConcernToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -43,7 +43,6 @@ export declare const VmInspectionStatusStateEnum: {
|
|
|
43
43
|
readonly VmInspectionStatusStateCompleted: "completed";
|
|
44
44
|
readonly VmInspectionStatusStateCanceled: "canceled";
|
|
45
45
|
readonly VmInspectionStatusStateError: "error";
|
|
46
|
-
readonly VmInspectionStatusStateNotFound: "not_found";
|
|
47
46
|
};
|
|
48
47
|
export type VmInspectionStatusStateEnum = typeof VmInspectionStatusStateEnum[keyof typeof VmInspectionStatusStateEnum];
|
|
49
48
|
/**
|
|
@@ -27,8 +27,7 @@ exports.VmInspectionStatusStateEnum = {
|
|
|
27
27
|
VmInspectionStatusStateRunning: 'running',
|
|
28
28
|
VmInspectionStatusStateCompleted: 'completed',
|
|
29
29
|
VmInspectionStatusStateCanceled: 'canceled',
|
|
30
|
-
VmInspectionStatusStateError: 'error'
|
|
31
|
-
VmInspectionStatusStateNotFound: 'not_found'
|
|
30
|
+
VmInspectionStatusStateError: 'error'
|
|
32
31
|
};
|
|
33
32
|
/**
|
|
34
33
|
* Check if a given object implements the VmInspectionStatus interface.
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VmUtilizationDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface VmUtilizationDetails {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VmUtilizationDetails
|
|
22
|
+
*/
|
|
23
|
+
moid: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VmUtilizationDetails
|
|
28
|
+
*/
|
|
29
|
+
vm_name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Number of vCPUs provisioned for this VM
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof VmUtilizationDetails
|
|
34
|
+
*/
|
|
35
|
+
provisioned_cpus: number;
|
|
36
|
+
/**
|
|
37
|
+
* Provisioned RAM (MB)
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof VmUtilizationDetails
|
|
40
|
+
*/
|
|
41
|
+
provisioned_memory_mb: number;
|
|
42
|
+
/**
|
|
43
|
+
* Provisioned disk (KB)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof VmUtilizationDetails
|
|
46
|
+
*/
|
|
47
|
+
provisioned_disk_kb: number;
|
|
48
|
+
/**
|
|
49
|
+
* CPU utilization average (%)
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof VmUtilizationDetails
|
|
52
|
+
*/
|
|
53
|
+
cpu_avg: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof VmUtilizationDetails
|
|
58
|
+
*/
|
|
59
|
+
cpu_p95: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof VmUtilizationDetails
|
|
64
|
+
*/
|
|
65
|
+
cpu_max: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof VmUtilizationDetails
|
|
70
|
+
*/
|
|
71
|
+
cpu_latest: number;
|
|
72
|
+
/**
|
|
73
|
+
* Memory utilization average (%)
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof VmUtilizationDetails
|
|
76
|
+
*/
|
|
77
|
+
mem_avg: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof VmUtilizationDetails
|
|
82
|
+
*/
|
|
83
|
+
mem_p95: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof VmUtilizationDetails
|
|
88
|
+
*/
|
|
89
|
+
mem_max: number;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof VmUtilizationDetails
|
|
94
|
+
*/
|
|
95
|
+
mem_latest: number;
|
|
96
|
+
/**
|
|
97
|
+
* Disk utilization (%)
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof VmUtilizationDetails
|
|
100
|
+
*/
|
|
101
|
+
disk: number;
|
|
102
|
+
/**
|
|
103
|
+
* Data confidence — sample_count / expected_sample_count × 100
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof VmUtilizationDetails
|
|
106
|
+
*/
|
|
107
|
+
confidence: number;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Check if a given object implements the VmUtilizationDetails interface.
|
|
111
|
+
*/
|
|
112
|
+
export declare function instanceOfVmUtilizationDetails(value: object): value is VmUtilizationDetails;
|
|
113
|
+
export declare function VmUtilizationDetailsFromJSON(json: any): VmUtilizationDetails;
|
|
114
|
+
export declare function VmUtilizationDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmUtilizationDetails;
|
|
115
|
+
export declare function VmUtilizationDetailsToJSON(json: any): VmUtilizationDetails;
|
|
116
|
+
export declare function VmUtilizationDetailsToJSONTyped(value?: VmUtilizationDetails | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVmUtilizationDetails = instanceOfVmUtilizationDetails;
|
|
17
|
+
exports.VmUtilizationDetailsFromJSON = VmUtilizationDetailsFromJSON;
|
|
18
|
+
exports.VmUtilizationDetailsFromJSONTyped = VmUtilizationDetailsFromJSONTyped;
|
|
19
|
+
exports.VmUtilizationDetailsToJSON = VmUtilizationDetailsToJSON;
|
|
20
|
+
exports.VmUtilizationDetailsToJSONTyped = VmUtilizationDetailsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VmUtilizationDetails interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVmUtilizationDetails(value) {
|
|
25
|
+
if (!('moid' in value) || value['moid'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('vm_name' in value) || value['vm_name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('provisioned_cpus' in value) || value['provisioned_cpus'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('provisioned_memory_mb' in value) || value['provisioned_memory_mb'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('provisioned_disk_kb' in value) || value['provisioned_disk_kb'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('cpu_avg' in value) || value['cpu_avg'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('cpu_p95' in value) || value['cpu_p95'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('cpu_max' in value) || value['cpu_max'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('cpu_latest' in value) || value['cpu_latest'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('mem_avg' in value) || value['mem_avg'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('mem_p95' in value) || value['mem_p95'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('mem_max' in value) || value['mem_max'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('mem_latest' in value) || value['mem_latest'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('disk' in value) || value['disk'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('confidence' in value) || value['confidence'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
function VmUtilizationDetailsFromJSON(json) {
|
|
58
|
+
return VmUtilizationDetailsFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function VmUtilizationDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'moid': json['moid'],
|
|
66
|
+
'vm_name': json['vm_name'],
|
|
67
|
+
'provisioned_cpus': json['provisioned_cpus'],
|
|
68
|
+
'provisioned_memory_mb': json['provisioned_memory_mb'],
|
|
69
|
+
'provisioned_disk_kb': json['provisioned_disk_kb'],
|
|
70
|
+
'cpu_avg': json['cpu_avg'],
|
|
71
|
+
'cpu_p95': json['cpu_p95'],
|
|
72
|
+
'cpu_max': json['cpu_max'],
|
|
73
|
+
'cpu_latest': json['cpu_latest'],
|
|
74
|
+
'mem_avg': json['mem_avg'],
|
|
75
|
+
'mem_p95': json['mem_p95'],
|
|
76
|
+
'mem_max': json['mem_max'],
|
|
77
|
+
'mem_latest': json['mem_latest'],
|
|
78
|
+
'disk': json['disk'],
|
|
79
|
+
'confidence': json['confidence'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function VmUtilizationDetailsToJSON(json) {
|
|
83
|
+
return VmUtilizationDetailsToJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
function VmUtilizationDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
86
|
+
if (value == null) {
|
|
87
|
+
return value;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
'moid': value['moid'],
|
|
91
|
+
'vm_name': value['vm_name'],
|
|
92
|
+
'provisioned_cpus': value['provisioned_cpus'],
|
|
93
|
+
'provisioned_memory_mb': value['provisioned_memory_mb'],
|
|
94
|
+
'provisioned_disk_kb': value['provisioned_disk_kb'],
|
|
95
|
+
'cpu_avg': value['cpu_avg'],
|
|
96
|
+
'cpu_p95': value['cpu_p95'],
|
|
97
|
+
'cpu_max': value['cpu_max'],
|
|
98
|
+
'cpu_latest': value['cpu_latest'],
|
|
99
|
+
'mem_avg': value['mem_avg'],
|
|
100
|
+
'mem_p95': value['mem_p95'],
|
|
101
|
+
'mem_max': value['mem_max'],
|
|
102
|
+
'mem_latest': value['mem_latest'],
|
|
103
|
+
'disk': value['disk'],
|
|
104
|
+
'confidence': value['confidence'],
|
|
105
|
+
};
|
|
106
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
export * from './AgentModeRequest.js';
|
|
2
2
|
export * from './AgentStatus.js';
|
|
3
|
+
export * from './ApplicationListResponse.js';
|
|
4
|
+
export * from './ApplicationOverview.js';
|
|
5
|
+
export * from './ApplicationVM.js';
|
|
6
|
+
export * from './BenchmarkRun.js';
|
|
7
|
+
export * from './ClusterFeatures.js';
|
|
8
|
+
export * from './ClusterUtilization.js';
|
|
3
9
|
export * from './CollectorStartRequest.js';
|
|
4
10
|
export * from './CollectorStatus.js';
|
|
5
11
|
export * from './CreateGroupRequest.js';
|
|
12
|
+
export * from './CredentialStatus.js';
|
|
6
13
|
export * from './Datastore.js';
|
|
14
|
+
export * from './DatastoreDetail.js';
|
|
15
|
+
export * from './DatastorePair.js';
|
|
16
|
+
export * from './DeleteLabelGloballyResponse.js';
|
|
7
17
|
export * from './DiskSizeTierSummary.js';
|
|
8
18
|
export * from './DiskTypeSummary.js';
|
|
19
|
+
export * from './EstimateRange.js';
|
|
20
|
+
export * from './ForecastStats.js';
|
|
21
|
+
export * from './ForecasterDatastoresRequest.js';
|
|
22
|
+
export * from './ForecasterPairStatus.js';
|
|
23
|
+
export * from './ForecasterStartRequest.js';
|
|
24
|
+
export * from './ForecasterStatus.js';
|
|
9
25
|
export * from './GetInventory200Response.js';
|
|
10
26
|
export * from './Group.js';
|
|
11
27
|
export * from './GroupListResponse.js';
|
|
@@ -14,19 +30,35 @@ export * from './GuestNetwork.js';
|
|
|
14
30
|
export * from './Histogram.js';
|
|
15
31
|
export * from './Host.js';
|
|
16
32
|
export * from './Infra.js';
|
|
17
|
-
export * from './InspectorStartRequest.js';
|
|
18
33
|
export * from './InspectorStatus.js';
|
|
19
34
|
export * from './Inventory.js';
|
|
20
35
|
export * from './InventoryData.js';
|
|
21
36
|
export * from './MigrationIssue.js';
|
|
22
37
|
export * from './Network.js';
|
|
23
38
|
export * from './OsInfo.js';
|
|
39
|
+
export * from './PairCapability.js';
|
|
40
|
+
export * from './PairCapabilityRequest.js';
|
|
41
|
+
export * from './PutForecasterCredentials403Response.js';
|
|
42
|
+
export * from './RightsizingClusterListResponse.js';
|
|
43
|
+
export * from './RightsizingClusterResponse.js';
|
|
44
|
+
export * from './RightsizingClusterUtilization.js';
|
|
45
|
+
export * from './RightsizingCollectRequest.js';
|
|
46
|
+
export * from './RightsizingMetricStats.js';
|
|
47
|
+
export * from './RightsizingReport.js';
|
|
48
|
+
export * from './RightsizingReportListResponse.js';
|
|
49
|
+
export * from './RightsizingReportSummary.js';
|
|
50
|
+
export * from './RightsizingVMReport.js';
|
|
51
|
+
export * from './StartInspectionRequest.js';
|
|
52
|
+
export * from './StopForecasterPair202Response.js';
|
|
24
53
|
export * from './UpdateGroupRequest.js';
|
|
25
54
|
export * from './UpdateInventory.js';
|
|
55
|
+
export * from './UpdateLabelVMsRequest.js';
|
|
26
56
|
export * from './VCenter.js';
|
|
27
57
|
export * from './VMDevice.js';
|
|
28
58
|
export * from './VMDisk.js';
|
|
59
|
+
export * from './VMFilterOptionsResponse.js';
|
|
29
60
|
export * from './VMIssue.js';
|
|
61
|
+
export * from './VMLabelsResponse.js';
|
|
30
62
|
export * from './VMNIC.js';
|
|
31
63
|
export * from './VMResourceBreakdown.js';
|
|
32
64
|
export * from './VMs.js';
|
|
@@ -36,4 +68,8 @@ export * from './VersionInfo.js';
|
|
|
36
68
|
export * from './VirtualMachine.js';
|
|
37
69
|
export * from './VirtualMachineDetail.js';
|
|
38
70
|
export * from './VirtualMachineListResponse.js';
|
|
71
|
+
export * from './VirtualMachineUpdateRequest.js';
|
|
72
|
+
export * from './VmInspectionConcern.js';
|
|
73
|
+
export * from './VmInspectionResults.js';
|
|
39
74
|
export * from './VmInspectionStatus.js';
|
|
75
|
+
export * from './VmUtilizationDetails.js';
|