@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
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the VmInspectionConcern interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVmInspectionConcern(value) {
|
|
18
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function VmInspectionConcernFromJSON(json) {
|
|
27
|
+
return VmInspectionConcernFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function VmInspectionConcernFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'label': json['label'],
|
|
35
|
+
'message': json['message'],
|
|
36
|
+
'category': json['category'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function VmInspectionConcernToJSON(json) {
|
|
40
|
+
return VmInspectionConcernToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function VmInspectionConcernToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'label': value['label'],
|
|
48
|
+
'message': value['message'],
|
|
49
|
+
'category': value['category'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { VmInspectionConcernFromJSON, VmInspectionConcernToJSON, } from './VmInspectionConcern.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the VmInspectionResults interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfVmInspectionResults(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function VmInspectionResultsFromJSON(json) {
|
|
22
|
+
return VmInspectionResultsFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function VmInspectionResultsFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'concerns': json['concerns'] == null ? undefined : (json['concerns'].map(VmInspectionConcernFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function VmInspectionResultsToJSON(json) {
|
|
33
|
+
return VmInspectionResultsToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function VmInspectionResultsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'concerns': value['concerns'] == null ? undefined : (value['concerns'].map(VmInspectionConcernToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -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
|
/**
|
|
@@ -19,8 +19,7 @@ export const VmInspectionStatusStateEnum = {
|
|
|
19
19
|
VmInspectionStatusStateRunning: 'running',
|
|
20
20
|
VmInspectionStatusStateCompleted: 'completed',
|
|
21
21
|
VmInspectionStatusStateCanceled: 'canceled',
|
|
22
|
-
VmInspectionStatusStateError: 'error'
|
|
23
|
-
VmInspectionStatusStateNotFound: 'not_found'
|
|
22
|
+
VmInspectionStatusStateError: 'error'
|
|
24
23
|
};
|
|
25
24
|
/**
|
|
26
25
|
* 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,99 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the VmUtilizationDetails interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVmUtilizationDetails(value) {
|
|
18
|
+
if (!('moid' in value) || value['moid'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('vm_name' in value) || value['vm_name'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('provisioned_cpus' in value) || value['provisioned_cpus'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('provisioned_memory_mb' in value) || value['provisioned_memory_mb'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('provisioned_disk_kb' in value) || value['provisioned_disk_kb'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('cpu_avg' in value) || value['cpu_avg'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('cpu_p95' in value) || value['cpu_p95'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('cpu_max' in value) || value['cpu_max'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('cpu_latest' in value) || value['cpu_latest'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('mem_avg' in value) || value['mem_avg'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('mem_p95' in value) || value['mem_p95'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('mem_max' in value) || value['mem_max'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('mem_latest' in value) || value['mem_latest'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('disk' in value) || value['disk'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('confidence' in value) || value['confidence'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
export function VmUtilizationDetailsFromJSON(json) {
|
|
51
|
+
return VmUtilizationDetailsFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function VmUtilizationDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'moid': json['moid'],
|
|
59
|
+
'vm_name': json['vm_name'],
|
|
60
|
+
'provisioned_cpus': json['provisioned_cpus'],
|
|
61
|
+
'provisioned_memory_mb': json['provisioned_memory_mb'],
|
|
62
|
+
'provisioned_disk_kb': json['provisioned_disk_kb'],
|
|
63
|
+
'cpu_avg': json['cpu_avg'],
|
|
64
|
+
'cpu_p95': json['cpu_p95'],
|
|
65
|
+
'cpu_max': json['cpu_max'],
|
|
66
|
+
'cpu_latest': json['cpu_latest'],
|
|
67
|
+
'mem_avg': json['mem_avg'],
|
|
68
|
+
'mem_p95': json['mem_p95'],
|
|
69
|
+
'mem_max': json['mem_max'],
|
|
70
|
+
'mem_latest': json['mem_latest'],
|
|
71
|
+
'disk': json['disk'],
|
|
72
|
+
'confidence': json['confidence'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
export function VmUtilizationDetailsToJSON(json) {
|
|
76
|
+
return VmUtilizationDetailsToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
export function VmUtilizationDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'moid': value['moid'],
|
|
84
|
+
'vm_name': value['vm_name'],
|
|
85
|
+
'provisioned_cpus': value['provisioned_cpus'],
|
|
86
|
+
'provisioned_memory_mb': value['provisioned_memory_mb'],
|
|
87
|
+
'provisioned_disk_kb': value['provisioned_disk_kb'],
|
|
88
|
+
'cpu_avg': value['cpu_avg'],
|
|
89
|
+
'cpu_p95': value['cpu_p95'],
|
|
90
|
+
'cpu_max': value['cpu_max'],
|
|
91
|
+
'cpu_latest': value['cpu_latest'],
|
|
92
|
+
'mem_avg': value['mem_avg'],
|
|
93
|
+
'mem_p95': value['mem_p95'],
|
|
94
|
+
'mem_max': value['mem_max'],
|
|
95
|
+
'mem_latest': value['mem_latest'],
|
|
96
|
+
'disk': value['disk'],
|
|
97
|
+
'confidence': value['confidence'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -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';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -2,12 +2,28 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AgentModeRequest.js';
|
|
4
4
|
export * from './AgentStatus.js';
|
|
5
|
+
export * from './ApplicationListResponse.js';
|
|
6
|
+
export * from './ApplicationOverview.js';
|
|
7
|
+
export * from './ApplicationVM.js';
|
|
8
|
+
export * from './BenchmarkRun.js';
|
|
9
|
+
export * from './ClusterFeatures.js';
|
|
10
|
+
export * from './ClusterUtilization.js';
|
|
5
11
|
export * from './CollectorStartRequest.js';
|
|
6
12
|
export * from './CollectorStatus.js';
|
|
7
13
|
export * from './CreateGroupRequest.js';
|
|
14
|
+
export * from './CredentialStatus.js';
|
|
8
15
|
export * from './Datastore.js';
|
|
16
|
+
export * from './DatastoreDetail.js';
|
|
17
|
+
export * from './DatastorePair.js';
|
|
18
|
+
export * from './DeleteLabelGloballyResponse.js';
|
|
9
19
|
export * from './DiskSizeTierSummary.js';
|
|
10
20
|
export * from './DiskTypeSummary.js';
|
|
21
|
+
export * from './EstimateRange.js';
|
|
22
|
+
export * from './ForecastStats.js';
|
|
23
|
+
export * from './ForecasterDatastoresRequest.js';
|
|
24
|
+
export * from './ForecasterPairStatus.js';
|
|
25
|
+
export * from './ForecasterStartRequest.js';
|
|
26
|
+
export * from './ForecasterStatus.js';
|
|
11
27
|
export * from './GetInventory200Response.js';
|
|
12
28
|
export * from './Group.js';
|
|
13
29
|
export * from './GroupListResponse.js';
|
|
@@ -16,19 +32,35 @@ export * from './GuestNetwork.js';
|
|
|
16
32
|
export * from './Histogram.js';
|
|
17
33
|
export * from './Host.js';
|
|
18
34
|
export * from './Infra.js';
|
|
19
|
-
export * from './InspectorStartRequest.js';
|
|
20
35
|
export * from './InspectorStatus.js';
|
|
21
36
|
export * from './Inventory.js';
|
|
22
37
|
export * from './InventoryData.js';
|
|
23
38
|
export * from './MigrationIssue.js';
|
|
24
39
|
export * from './Network.js';
|
|
25
40
|
export * from './OsInfo.js';
|
|
41
|
+
export * from './PairCapability.js';
|
|
42
|
+
export * from './PairCapabilityRequest.js';
|
|
43
|
+
export * from './PutForecasterCredentials403Response.js';
|
|
44
|
+
export * from './RightsizingClusterListResponse.js';
|
|
45
|
+
export * from './RightsizingClusterResponse.js';
|
|
46
|
+
export * from './RightsizingClusterUtilization.js';
|
|
47
|
+
export * from './RightsizingCollectRequest.js';
|
|
48
|
+
export * from './RightsizingMetricStats.js';
|
|
49
|
+
export * from './RightsizingReport.js';
|
|
50
|
+
export * from './RightsizingReportListResponse.js';
|
|
51
|
+
export * from './RightsizingReportSummary.js';
|
|
52
|
+
export * from './RightsizingVMReport.js';
|
|
53
|
+
export * from './StartInspectionRequest.js';
|
|
54
|
+
export * from './StopForecasterPair202Response.js';
|
|
26
55
|
export * from './UpdateGroupRequest.js';
|
|
27
56
|
export * from './UpdateInventory.js';
|
|
57
|
+
export * from './UpdateLabelVMsRequest.js';
|
|
28
58
|
export * from './VCenter.js';
|
|
29
59
|
export * from './VMDevice.js';
|
|
30
60
|
export * from './VMDisk.js';
|
|
61
|
+
export * from './VMFilterOptionsResponse.js';
|
|
31
62
|
export * from './VMIssue.js';
|
|
63
|
+
export * from './VMLabelsResponse.js';
|
|
32
64
|
export * from './VMNIC.js';
|
|
33
65
|
export * from './VMResourceBreakdown.js';
|
|
34
66
|
export * from './VMs.js';
|
|
@@ -38,4 +70,8 @@ export * from './VersionInfo.js';
|
|
|
38
70
|
export * from './VirtualMachine.js';
|
|
39
71
|
export * from './VirtualMachineDetail.js';
|
|
40
72
|
export * from './VirtualMachineListResponse.js';
|
|
73
|
+
export * from './VirtualMachineUpdateRequest.js';
|
|
74
|
+
export * from './VmInspectionConcern.js';
|
|
75
|
+
export * from './VmInspectionResults.js';
|
|
41
76
|
export * from './VmInspectionStatus.js';
|
|
77
|
+
export * from './VmUtilizationDetails.js';
|
package/dist/esm/runtime.js
CHANGED
|
@@ -210,7 +210,7 @@ export class BaseAPI {
|
|
|
210
210
|
return next;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
BaseAPI.jsonRegex =
|
|
213
|
+
BaseAPI.jsonRegex = /^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$/i;
|
|
214
214
|
;
|
|
215
215
|
function isBlob(value) {
|
|
216
216
|
return typeof Blob !== 'undefined' && value instanceof Blob;
|
|
@@ -297,8 +297,9 @@ export function mapValues(data, fn) {
|
|
|
297
297
|
return result;
|
|
298
298
|
}
|
|
299
299
|
export function canConsumeForm(consumes) {
|
|
300
|
+
var _a;
|
|
300
301
|
for (const consume of consumes) {
|
|
301
|
-
if ('multipart/form-data'
|
|
302
|
+
if (((_a = consume.contentType) === null || _a === void 0 ? void 0 : _a.startsWith('multipart/form-data')) == true) {
|
|
302
303
|
return true;
|
|
303
304
|
}
|
|
304
305
|
}
|
|
@@ -26,7 +26,7 @@ export interface AgentStatus {
|
|
|
26
26
|
* @type {AgentStatusConsoleConnectionEnum}
|
|
27
27
|
* @memberof AgentStatus
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
console_connection: AgentStatusConsoleConnectionEnum;
|
|
30
30
|
/**
|
|
31
31
|
* Connection error description
|
|
32
32
|
* @type {string}
|
|
@@ -39,7 +39,7 @@ exports.AgentStatusConsoleConnectionEnum = {
|
|
|
39
39
|
function instanceOfAgentStatus(value) {
|
|
40
40
|
if (!('mode' in value) || value['mode'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
-
if (!('
|
|
42
|
+
if (!('console_connection' in value) || value['console_connection'] === undefined)
|
|
43
43
|
return false;
|
|
44
44
|
return true;
|
|
45
45
|
}
|
|
@@ -52,7 +52,7 @@ function AgentStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
}
|
|
53
53
|
return {
|
|
54
54
|
'mode': json['mode'],
|
|
55
|
-
'
|
|
55
|
+
'console_connection': json['console_connection'],
|
|
56
56
|
'error': json['error'] == null ? undefined : json['error'],
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -65,7 +65,7 @@ function AgentStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
65
65
|
}
|
|
66
66
|
return {
|
|
67
67
|
'mode': value['mode'],
|
|
68
|
-
'console_connection': value['
|
|
68
|
+
'console_connection': value['console_connection'],
|
|
69
69
|
'error': value['error'],
|
|
70
70
|
};
|
|
71
71
|
}
|
|
@@ -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 { ApplicationOverview } from './ApplicationOverview.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApplicationListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ApplicationListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApplicationOverview>}
|
|
22
|
+
* @memberof ApplicationListResponse
|
|
23
|
+
*/
|
|
24
|
+
applications: Array<ApplicationOverview>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ApplicationListResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfApplicationListResponse(value: object): value is ApplicationListResponse;
|
|
30
|
+
export declare function ApplicationListResponseFromJSON(json: any): ApplicationListResponse;
|
|
31
|
+
export declare function ApplicationListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationListResponse;
|
|
32
|
+
export declare function ApplicationListResponseToJSON(json: any): ApplicationListResponse;
|
|
33
|
+
export declare function ApplicationListResponseToJSONTyped(value?: ApplicationListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfApplicationListResponse = instanceOfApplicationListResponse;
|
|
17
|
+
exports.ApplicationListResponseFromJSON = ApplicationListResponseFromJSON;
|
|
18
|
+
exports.ApplicationListResponseFromJSONTyped = ApplicationListResponseFromJSONTyped;
|
|
19
|
+
exports.ApplicationListResponseToJSON = ApplicationListResponseToJSON;
|
|
20
|
+
exports.ApplicationListResponseToJSONTyped = ApplicationListResponseToJSONTyped;
|
|
21
|
+
const ApplicationOverview_js_1 = require("./ApplicationOverview.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApplicationListResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApplicationListResponse(value) {
|
|
26
|
+
if (!('applications' in value) || value['applications'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ApplicationListResponseFromJSON(json) {
|
|
31
|
+
return ApplicationListResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ApplicationListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'applications': (json['applications'].map(ApplicationOverview_js_1.ApplicationOverviewFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ApplicationListResponseToJSON(json) {
|
|
42
|
+
return ApplicationListResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ApplicationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'applications': (value['applications'].map(ApplicationOverview_js_1.ApplicationOverviewToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|