@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,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 UpdateLabelVMsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateLabelVMsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* VMs to add the label to
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof UpdateLabelVMsRequest
|
|
22
|
+
*/
|
|
23
|
+
add?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* VMs to remove the label from
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof UpdateLabelVMsRequest
|
|
28
|
+
*/
|
|
29
|
+
remove?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UpdateLabelVMsRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUpdateLabelVMsRequest(value: object): value is UpdateLabelVMsRequest;
|
|
35
|
+
export declare function UpdateLabelVMsRequestFromJSON(json: any): UpdateLabelVMsRequest;
|
|
36
|
+
export declare function UpdateLabelVMsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLabelVMsRequest;
|
|
37
|
+
export declare function UpdateLabelVMsRequestToJSON(json: any): UpdateLabelVMsRequest;
|
|
38
|
+
export declare function UpdateLabelVMsRequestToJSONTyped(value?: UpdateLabelVMsRequest | 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.instanceOfUpdateLabelVMsRequest = instanceOfUpdateLabelVMsRequest;
|
|
17
|
+
exports.UpdateLabelVMsRequestFromJSON = UpdateLabelVMsRequestFromJSON;
|
|
18
|
+
exports.UpdateLabelVMsRequestFromJSONTyped = UpdateLabelVMsRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateLabelVMsRequestToJSON = UpdateLabelVMsRequestToJSON;
|
|
20
|
+
exports.UpdateLabelVMsRequestToJSONTyped = UpdateLabelVMsRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateLabelVMsRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateLabelVMsRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateLabelVMsRequestFromJSON(json) {
|
|
28
|
+
return UpdateLabelVMsRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateLabelVMsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'add': json['add'] == null ? undefined : json['add'],
|
|
36
|
+
'remove': json['remove'] == null ? undefined : json['remove'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UpdateLabelVMsRequestToJSON(json) {
|
|
40
|
+
return UpdateLabelVMsRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UpdateLabelVMsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'add': value['add'],
|
|
48
|
+
'remove': value['remove'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 VMFilterOptionsResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface VMFilterOptionsResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Distinct cluster names
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof VMFilterOptionsResponse
|
|
22
|
+
*/
|
|
23
|
+
clusters: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Distinct datacenter names
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof VMFilterOptionsResponse
|
|
28
|
+
*/
|
|
29
|
+
datacenters: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Distinct concern labels
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof VMFilterOptionsResponse
|
|
34
|
+
*/
|
|
35
|
+
concernLabels: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Distinct concern categories
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof VMFilterOptionsResponse
|
|
40
|
+
*/
|
|
41
|
+
concernCategories: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Distinct detected application names
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof VMFilterOptionsResponse
|
|
46
|
+
*/
|
|
47
|
+
applications: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the VMFilterOptionsResponse interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfVMFilterOptionsResponse(value: object): value is VMFilterOptionsResponse;
|
|
53
|
+
export declare function VMFilterOptionsResponseFromJSON(json: any): VMFilterOptionsResponse;
|
|
54
|
+
export declare function VMFilterOptionsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMFilterOptionsResponse;
|
|
55
|
+
export declare function VMFilterOptionsResponseToJSON(json: any): VMFilterOptionsResponse;
|
|
56
|
+
export declare function VMFilterOptionsResponseToJSONTyped(value?: VMFilterOptionsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.instanceOfVMFilterOptionsResponse = instanceOfVMFilterOptionsResponse;
|
|
17
|
+
exports.VMFilterOptionsResponseFromJSON = VMFilterOptionsResponseFromJSON;
|
|
18
|
+
exports.VMFilterOptionsResponseFromJSONTyped = VMFilterOptionsResponseFromJSONTyped;
|
|
19
|
+
exports.VMFilterOptionsResponseToJSON = VMFilterOptionsResponseToJSON;
|
|
20
|
+
exports.VMFilterOptionsResponseToJSONTyped = VMFilterOptionsResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VMFilterOptionsResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVMFilterOptionsResponse(value) {
|
|
25
|
+
if (!('clusters' in value) || value['clusters'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('datacenters' in value) || value['datacenters'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('concernLabels' in value) || value['concernLabels'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('concernCategories' in value) || value['concernCategories'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('applications' in value) || value['applications'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function VMFilterOptionsResponseFromJSON(json) {
|
|
38
|
+
return VMFilterOptionsResponseFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function VMFilterOptionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'clusters': json['clusters'],
|
|
46
|
+
'datacenters': json['datacenters'],
|
|
47
|
+
'concernLabels': json['concernLabels'],
|
|
48
|
+
'concernCategories': json['concernCategories'],
|
|
49
|
+
'applications': json['applications'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function VMFilterOptionsResponseToJSON(json) {
|
|
53
|
+
return VMFilterOptionsResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function VMFilterOptionsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'clusters': value['clusters'],
|
|
61
|
+
'datacenters': value['datacenters'],
|
|
62
|
+
'concernLabels': value['concernLabels'],
|
|
63
|
+
'concernCategories': value['concernCategories'],
|
|
64
|
+
'applications': value['applications'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -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 VMLabelsResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface VMLabelsResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Distinct labels currently in use
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof VMLabelsResponse
|
|
22
|
+
*/
|
|
23
|
+
labels: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Number of VMs with each label (same order as labels array)
|
|
26
|
+
* @type {Array<number>}
|
|
27
|
+
* @memberof VMLabelsResponse
|
|
28
|
+
*/
|
|
29
|
+
counts: Array<number>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the VMLabelsResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfVMLabelsResponse(value: object): value is VMLabelsResponse;
|
|
35
|
+
export declare function VMLabelsResponseFromJSON(json: any): VMLabelsResponse;
|
|
36
|
+
export declare function VMLabelsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMLabelsResponse;
|
|
37
|
+
export declare function VMLabelsResponseToJSON(json: any): VMLabelsResponse;
|
|
38
|
+
export declare function VMLabelsResponseToJSONTyped(value?: VMLabelsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfVMLabelsResponse = instanceOfVMLabelsResponse;
|
|
17
|
+
exports.VMLabelsResponseFromJSON = VMLabelsResponseFromJSON;
|
|
18
|
+
exports.VMLabelsResponseFromJSONTyped = VMLabelsResponseFromJSONTyped;
|
|
19
|
+
exports.VMLabelsResponseToJSON = VMLabelsResponseToJSON;
|
|
20
|
+
exports.VMLabelsResponseToJSONTyped = VMLabelsResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VMLabelsResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVMLabelsResponse(value) {
|
|
25
|
+
if (!('labels' in value) || value['labels'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('counts' in value) || value['counts'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function VMLabelsResponseFromJSON(json) {
|
|
32
|
+
return VMLabelsResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function VMLabelsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'labels': json['labels'],
|
|
40
|
+
'counts': json['counts'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function VMLabelsResponseToJSON(json) {
|
|
44
|
+
return VMLabelsResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function VMLabelsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'labels': value['labels'],
|
|
52
|
+
'counts': value['counts'],
|
|
53
|
+
};
|
|
54
|
+
}
|
package/dist/models/VMNIC.d.ts
CHANGED
|
@@ -33,6 +33,18 @@ export interface VMNIC {
|
|
|
33
33
|
* @memberof VMNIC
|
|
34
34
|
*/
|
|
35
35
|
index?: number;
|
|
36
|
+
/**
|
|
37
|
+
* IPv4 address of this NIC as reported by VMware Tools
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VMNIC
|
|
40
|
+
*/
|
|
41
|
+
ipv4Address?: string;
|
|
42
|
+
/**
|
|
43
|
+
* IPv6 address of this NIC as reported by VMware Tools
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof VMNIC
|
|
46
|
+
*/
|
|
47
|
+
ipv6Address?: string;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the VMNIC interface.
|
package/dist/models/VMNIC.js
CHANGED
|
@@ -35,6 +35,8 @@ function VMNICFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
36
36
|
'network': json['network'] == null ? undefined : json['network'],
|
|
37
37
|
'index': json['index'] == null ? undefined : json['index'],
|
|
38
|
+
'ipv4Address': json['ipv4Address'] == null ? undefined : json['ipv4Address'],
|
|
39
|
+
'ipv6Address': json['ipv6Address'] == null ? undefined : json['ipv6Address'],
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
function VMNICToJSON(json) {
|
|
@@ -48,5 +50,7 @@ function VMNICToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
48
50
|
'mac': value['mac'],
|
|
49
51
|
'network': value['network'],
|
|
50
52
|
'index': value['index'],
|
|
53
|
+
'ipv4Address': value['ipv4Address'],
|
|
54
|
+
'ipv6Address': value['ipv6Address'],
|
|
51
55
|
};
|
|
52
56
|
}
|
package/dist/models/VMs.d.ts
CHANGED
|
@@ -58,6 +58,15 @@ export interface VMs {
|
|
|
58
58
|
diskSizeTier?: {
|
|
59
59
|
[key: string]: DiskSizeTierSummary;
|
|
60
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* Distribution of VMs across disk-complexity tiers used by the estimation engine (0-10TiB, 10-20TiB, 20-50TiB, 50+TiB).
|
|
63
|
+
*
|
|
64
|
+
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
65
|
+
* @memberof VMs
|
|
66
|
+
*/
|
|
67
|
+
diskComplexityTier?: {
|
|
68
|
+
[key: string]: DiskSizeTierSummary;
|
|
69
|
+
};
|
|
61
70
|
/**
|
|
62
71
|
*
|
|
63
72
|
* @type {{ [key: string]: DiskTypeSummary; }}
|
|
@@ -94,10 +103,19 @@ export interface VMs {
|
|
|
94
103
|
* Distribution of VMs by migration complexity level (0=Unsupported, 1=Easy, 2=Medium, 3=Hard, 4=WhiteGlove)
|
|
95
104
|
* @type {{ [key: string]: number; }}
|
|
96
105
|
* @memberof VMs
|
|
106
|
+
* @deprecated
|
|
97
107
|
*/
|
|
98
108
|
distributionByComplexity?: {
|
|
99
109
|
[key: string]: number;
|
|
100
110
|
};
|
|
111
|
+
/**
|
|
112
|
+
* Distribution of VMs by migration complexity level, enriched with total disk size per level. Supersedes distributionByComplexity.
|
|
113
|
+
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
114
|
+
* @memberof VMs
|
|
115
|
+
*/
|
|
116
|
+
complexityDistribution?: {
|
|
117
|
+
[key: string]: DiskSizeTierSummary;
|
|
118
|
+
};
|
|
101
119
|
/**
|
|
102
120
|
*
|
|
103
121
|
* @type {VMResourceBreakdown}
|
package/dist/models/VMs.js
CHANGED
|
@@ -62,11 +62,13 @@ function VMsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
62
|
'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
|
|
63
63
|
'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['cpuCores']),
|
|
64
64
|
'diskSizeTier': json['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
|
|
65
|
+
'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskComplexityTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
|
|
65
66
|
'diskTypes': json['diskTypes'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskTypes'], DiskTypeSummary_js_1.DiskTypeSummaryFromJSON)),
|
|
66
67
|
'distributionByCpuTier': json['distributionByCpuTier'] == null ? undefined : json['distributionByCpuTier'],
|
|
67
68
|
'distributionByMemoryTier': json['distributionByMemoryTier'] == null ? undefined : json['distributionByMemoryTier'],
|
|
68
69
|
'distributionByNicCount': json['distributionByNicCount'] == null ? undefined : json['distributionByNicCount'],
|
|
69
70
|
'distributionByComplexity': json['distributionByComplexity'] == null ? undefined : json['distributionByComplexity'],
|
|
71
|
+
'complexityDistribution': json['complexityDistribution'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['complexityDistribution'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
|
|
70
72
|
'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['ramGB']),
|
|
71
73
|
'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskGB']),
|
|
72
74
|
'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskCount']),
|
|
@@ -92,11 +94,13 @@ function VMsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
92
94
|
'totalWithSharedDisks': value['totalWithSharedDisks'],
|
|
93
95
|
'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['cpuCores']),
|
|
94
96
|
'diskSizeTier': value['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
|
|
97
|
+
'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskComplexityTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
|
|
95
98
|
'diskTypes': value['diskTypes'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskTypes'], DiskTypeSummary_js_1.DiskTypeSummaryToJSON)),
|
|
96
99
|
'distributionByCpuTier': value['distributionByCpuTier'],
|
|
97
100
|
'distributionByMemoryTier': value['distributionByMemoryTier'],
|
|
98
101
|
'distributionByNicCount': value['distributionByNicCount'],
|
|
99
102
|
'distributionByComplexity': value['distributionByComplexity'],
|
|
103
|
+
'complexityDistribution': value['complexityDistribution'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['complexityDistribution'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
|
|
100
104
|
'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['ramGB']),
|
|
101
105
|
'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskGB']),
|
|
102
106
|
'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskCount']),
|
|
@@ -33,6 +33,18 @@ export interface VcenterCredentials {
|
|
|
33
33
|
* @memberof VcenterCredentials
|
|
34
34
|
*/
|
|
35
35
|
password: string;
|
|
36
|
+
/**
|
|
37
|
+
* PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VcenterCredentials
|
|
40
|
+
*/
|
|
41
|
+
cacert?: string;
|
|
42
|
+
/**
|
|
43
|
+
* When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof VcenterCredentials
|
|
46
|
+
*/
|
|
47
|
+
skipTls?: boolean;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the VcenterCredentials interface.
|
|
@@ -41,6 +41,8 @@ function VcenterCredentialsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'url': json['url'],
|
|
42
42
|
'username': json['username'],
|
|
43
43
|
'password': json['password'],
|
|
44
|
+
'cacert': json['cacert'] == null ? undefined : json['cacert'],
|
|
45
|
+
'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
function VcenterCredentialsToJSON(json) {
|
|
@@ -54,5 +56,7 @@ function VcenterCredentialsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
56
|
'url': value['url'],
|
|
55
57
|
'username': value['username'],
|
|
56
58
|
'password': value['password'],
|
|
59
|
+
'cacert': value['cacert'],
|
|
60
|
+
'skipTls': value['skipTls'],
|
|
57
61
|
};
|
|
58
62
|
}
|
|
@@ -76,18 +76,72 @@ export interface VirtualMachine {
|
|
|
76
76
|
* @memberof VirtualMachine
|
|
77
77
|
*/
|
|
78
78
|
template?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Whether this VM is excluded from migration
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof VirtualMachine
|
|
83
|
+
*/
|
|
84
|
+
migrationExcluded?: boolean;
|
|
79
85
|
/**
|
|
80
86
|
*
|
|
81
87
|
* @type {VmInspectionStatus}
|
|
82
88
|
* @memberof VirtualMachine
|
|
83
89
|
*/
|
|
84
|
-
|
|
90
|
+
inspectionStatus?: VmInspectionStatus;
|
|
91
|
+
/**
|
|
92
|
+
* Number of inspection concerns recorded for the latest persisted inspection result
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof VirtualMachine
|
|
95
|
+
*/
|
|
96
|
+
inspectionConcernCount?: number;
|
|
97
|
+
/**
|
|
98
|
+
* Names of groups this VM matches
|
|
99
|
+
* @type {Array<string>}
|
|
100
|
+
* @memberof VirtualMachine
|
|
101
|
+
*/
|
|
102
|
+
groups?: Array<string>;
|
|
85
103
|
/**
|
|
86
|
-
*
|
|
104
|
+
* User-defined labels for this VM
|
|
87
105
|
* @type {Array<string>}
|
|
88
106
|
* @memberof VirtualMachine
|
|
89
107
|
*/
|
|
90
|
-
|
|
108
|
+
labels?: Array<string>;
|
|
109
|
+
/**
|
|
110
|
+
* CPU utilization at p95 (%); absent when no utilization data
|
|
111
|
+
* @type {number}
|
|
112
|
+
* @memberof VirtualMachine
|
|
113
|
+
*/
|
|
114
|
+
utilization_cpu_p95?: number;
|
|
115
|
+
/**
|
|
116
|
+
* Memory utilization at p95 (%); absent when no utilization data
|
|
117
|
+
* @type {number}
|
|
118
|
+
* @memberof VirtualMachine
|
|
119
|
+
*/
|
|
120
|
+
utilization_mem_p95?: number;
|
|
121
|
+
/**
|
|
122
|
+
* CPU utilization at max (%); absent when no utilization data
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof VirtualMachine
|
|
125
|
+
*/
|
|
126
|
+
utilization_cpu_max?: number;
|
|
127
|
+
/**
|
|
128
|
+
* Memory utilization at max (%); absent when no utilization data
|
|
129
|
+
* @type {number}
|
|
130
|
+
* @memberof VirtualMachine
|
|
131
|
+
*/
|
|
132
|
+
utilization_mem_max?: number;
|
|
133
|
+
/**
|
|
134
|
+
* Disk utilization (%); absent when no utilization data
|
|
135
|
+
* @type {number}
|
|
136
|
+
* @memberof VirtualMachine
|
|
137
|
+
*/
|
|
138
|
+
utilization_disk?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Data confidence — sample_count / expected_sample_count × 100
|
|
141
|
+
* @type {number}
|
|
142
|
+
* @memberof VirtualMachine
|
|
143
|
+
*/
|
|
144
|
+
utilization_confidence?: number;
|
|
91
145
|
}
|
|
92
146
|
/**
|
|
93
147
|
* Check if a given object implements the VirtualMachine interface.
|
|
@@ -39,8 +39,6 @@ function instanceOfVirtualMachine(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('issueCount' in value) || value['issueCount'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
-
if (!('inspection' in value) || value['inspection'] === undefined)
|
|
43
|
-
return false;
|
|
44
42
|
return true;
|
|
45
43
|
}
|
|
46
44
|
function VirtualMachineFromJSON(json) {
|
|
@@ -61,8 +59,17 @@ function VirtualMachineFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
59
|
'issueCount': json['issueCount'],
|
|
62
60
|
'migratable': json['migratable'] == null ? undefined : json['migratable'],
|
|
63
61
|
'template': json['template'] == null ? undefined : json['template'],
|
|
64
|
-
'
|
|
65
|
-
'
|
|
62
|
+
'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
|
|
63
|
+
'inspectionStatus': json['inspectionStatus'] == null ? undefined : (0, VmInspectionStatus_js_1.VmInspectionStatusFromJSON)(json['inspectionStatus']),
|
|
64
|
+
'inspectionConcernCount': json['inspectionConcernCount'] == null ? undefined : json['inspectionConcernCount'],
|
|
65
|
+
'groups': json['groups'] == null ? undefined : json['groups'],
|
|
66
|
+
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
67
|
+
'utilization_cpu_p95': json['utilization_cpu_p95'] == null ? undefined : json['utilization_cpu_p95'],
|
|
68
|
+
'utilization_mem_p95': json['utilization_mem_p95'] == null ? undefined : json['utilization_mem_p95'],
|
|
69
|
+
'utilization_cpu_max': json['utilization_cpu_max'] == null ? undefined : json['utilization_cpu_max'],
|
|
70
|
+
'utilization_mem_max': json['utilization_mem_max'] == null ? undefined : json['utilization_mem_max'],
|
|
71
|
+
'utilization_disk': json['utilization_disk'] == null ? undefined : json['utilization_disk'],
|
|
72
|
+
'utilization_confidence': json['utilization_confidence'] == null ? undefined : json['utilization_confidence'],
|
|
66
73
|
};
|
|
67
74
|
}
|
|
68
75
|
function VirtualMachineToJSON(json) {
|
|
@@ -83,7 +90,16 @@ function VirtualMachineToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
83
90
|
'issueCount': value['issueCount'],
|
|
84
91
|
'migratable': value['migratable'],
|
|
85
92
|
'template': value['template'],
|
|
86
|
-
'
|
|
87
|
-
'
|
|
93
|
+
'migrationExcluded': value['migrationExcluded'],
|
|
94
|
+
'inspectionStatus': (0, VmInspectionStatus_js_1.VmInspectionStatusToJSON)(value['inspectionStatus']),
|
|
95
|
+
'inspectionConcernCount': value['inspectionConcernCount'],
|
|
96
|
+
'groups': value['groups'],
|
|
97
|
+
'labels': value['labels'],
|
|
98
|
+
'utilization_cpu_p95': value['utilization_cpu_p95'],
|
|
99
|
+
'utilization_mem_p95': value['utilization_mem_p95'],
|
|
100
|
+
'utilization_cpu_max': value['utilization_cpu_max'],
|
|
101
|
+
'utilization_mem_max': value['utilization_mem_max'],
|
|
102
|
+
'utilization_disk': value['utilization_disk'],
|
|
103
|
+
'utilization_confidence': value['utilization_confidence'],
|
|
88
104
|
};
|
|
89
105
|
}
|
|
@@ -10,11 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { VMNIC } from './VMNIC.js';
|
|
13
|
-
import type { VmInspectionStatus } from './VmInspectionStatus.js';
|
|
14
13
|
import type { GuestNetwork } from './GuestNetwork.js';
|
|
15
14
|
import type { VMIssue } from './VMIssue.js';
|
|
16
15
|
import type { VMDevice } from './VMDevice.js';
|
|
16
|
+
import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
|
|
17
17
|
import type { VMDisk } from './VMDisk.js';
|
|
18
|
+
import type { VmInspectionResults } from './VmInspectionResults.js';
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
21
|
* @export
|
|
@@ -147,6 +148,18 @@ export interface VirtualMachineDetail {
|
|
|
147
148
|
* @memberof VirtualMachineDetail
|
|
148
149
|
*/
|
|
149
150
|
migratable?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Whether this VM is excluded from migration
|
|
153
|
+
* @type {boolean}
|
|
154
|
+
* @memberof VirtualMachineDetail
|
|
155
|
+
*/
|
|
156
|
+
migrationExcluded?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* User-defined labels for this VM
|
|
159
|
+
* @type {Array<string>}
|
|
160
|
+
* @memberof VirtualMachineDetail
|
|
161
|
+
*/
|
|
162
|
+
labels?: Array<string>;
|
|
150
163
|
/**
|
|
151
164
|
* Whether VMware Fault Tolerance is enabled, which maintains a live shadow VirtualMachine for instant failover
|
|
152
165
|
* @type {boolean}
|
|
@@ -203,10 +216,16 @@ export interface VirtualMachineDetail {
|
|
|
203
216
|
issues?: Array<VMIssue>;
|
|
204
217
|
/**
|
|
205
218
|
*
|
|
206
|
-
* @type {
|
|
219
|
+
* @type {VmInspectionResults}
|
|
220
|
+
* @memberof VirtualMachineDetail
|
|
221
|
+
*/
|
|
222
|
+
inspection?: VmInspectionResults;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {VmUtilizationDetails}
|
|
207
226
|
* @memberof VirtualMachineDetail
|
|
208
227
|
*/
|
|
209
|
-
|
|
228
|
+
utilization?: VmUtilizationDetails;
|
|
210
229
|
}
|
|
211
230
|
/**
|
|
212
231
|
* Check if a given object implements the VirtualMachineDetail interface.
|