@openshift-migration-advisor/agent-sdk 0.12.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +74 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +75 -10
- package/dist/apis/DefaultApi.d.ts +1102 -63
- package/dist/apis/DefaultApi.js +1333 -189
- package/dist/esm/apis/DefaultApi.d.ts +1102 -63
- package/dist/esm/apis/DefaultApi.js +1309 -165
- 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/CapabilityStatus.d.ts +33 -0
- package/dist/esm/models/CapabilityStatus.js +44 -0
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +45 -0
- package/dist/esm/models/CapabilityStatusCapabilities.js +52 -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 +44 -0
- package/dist/esm/models/CredentialStatus.js +51 -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 +0 -17
- package/dist/esm/models/InspectorStatus.js +1 -10
- 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/OperationCapability.d.ts +38 -0
- package/dist/esm/models/OperationCapability.js +45 -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 +8 -1
- package/dist/esm/models/StartInspectionRequest.js +3 -0
- 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/VcenterCredentials.d.ts +12 -0
- package/dist/esm/models/VcenterCredentials.js +4 -0
- package/dist/esm/models/VirtualMachine.d.ts +50 -2
- package/dist/esm/models/VirtualMachine.js +18 -2
- package/dist/esm/models/VirtualMachineDetail.d.ts +19 -0
- package/dist/esm/models/VirtualMachineDetail.js +7 -0
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +6 -0
- package/dist/esm/models/VmInspectionStatus.js +4 -0
- 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 -0
- package/dist/esm/models/index.js +37 -0
- package/dist/esm/runtime.js +2 -1
- 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/CapabilityStatus.d.ts +33 -0
- package/dist/models/CapabilityStatus.js +51 -0
- package/dist/models/CapabilityStatusCapabilities.d.ts +45 -0
- package/dist/models/CapabilityStatusCapabilities.js +59 -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 +44 -0
- package/dist/models/CredentialStatus.js +58 -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 +0 -17
- package/dist/models/InspectorStatus.js +1 -10
- 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/OperationCapability.d.ts +38 -0
- package/dist/models/OperationCapability.js +52 -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 +8 -1
- package/dist/models/StartInspectionRequest.js +3 -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/VcenterCredentials.d.ts +12 -0
- package/dist/models/VcenterCredentials.js +4 -0
- package/dist/models/VirtualMachine.d.ts +50 -2
- package/dist/models/VirtualMachine.js +18 -2
- package/dist/models/VirtualMachineDetail.d.ts +19 -0
- package/dist/models/VirtualMachineDetail.js +7 -0
- package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/models/VirtualMachineUpdateRequest.js +50 -0
- package/dist/models/VmInspectionStatus.d.ts +6 -0
- package/dist/models/VmInspectionStatus.js +4 -0
- package/dist/models/VmUtilizationDetails.d.ts +116 -0
- package/dist/models/VmUtilizationDetails.js +106 -0
- package/dist/models/index.d.ts +37 -0
- package/dist/models/index.js +37 -0
- package/dist/runtime.js +2 -1
- 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/CapabilityStatus.md +34 -0
- package/docs/CapabilityStatusCapabilities.md +38 -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 +38 -0
- package/docs/DatastoreDetail.md +50 -0
- package/docs/DatastorePair.md +40 -0
- package/docs/DefaultApi.md +2170 -304
- 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 +0 -4
- package/docs/Inventory.md +4 -2
- package/docs/InventoryData.md +4 -0
- package/docs/OperationCapability.md +36 -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/StartInspectionRequest.md +3 -1
- 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/VcenterCredentials.md +4 -0
- package/docs/VirtualMachine.md +18 -2
- package/docs/VirtualMachineDetail.md +6 -0
- package/docs/VirtualMachineUpdateRequest.md +36 -0
- package/docs/VmInspectionStatus.md +2 -0
- package/docs/VmUtilizationDetails.md +62 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +2566 -430
- 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/CapabilityStatus.ts +74 -0
- package/src/models/CapabilityStatusCapabilities.ts +92 -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 +84 -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 +1 -28
- package/src/models/Inventory.ts +12 -4
- package/src/models/InventoryData.ts +30 -0
- package/src/models/OperationCapability.ts +74 -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 +17 -1
- 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/VcenterCredentials.ts +16 -0
- package/src/models/VirtualMachine.ts +68 -4
- package/src/models/VirtualMachineDetail.ts +31 -0
- package/src/models/VirtualMachineUpdateRequest.ts +73 -0
- package/src/models/VmInspectionStatus.ts +9 -0
- package/src/models/VmUtilizationDetails.ts +192 -0
- package/src/models/index.ts +37 -0
- package/src/runtime.ts +1 -2
|
@@ -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.instanceOfDeleteLabelGloballyResponse = instanceOfDeleteLabelGloballyResponse;
|
|
17
|
+
exports.DeleteLabelGloballyResponseFromJSON = DeleteLabelGloballyResponseFromJSON;
|
|
18
|
+
exports.DeleteLabelGloballyResponseFromJSONTyped = DeleteLabelGloballyResponseFromJSONTyped;
|
|
19
|
+
exports.DeleteLabelGloballyResponseToJSON = DeleteLabelGloballyResponseToJSON;
|
|
20
|
+
exports.DeleteLabelGloballyResponseToJSONTyped = DeleteLabelGloballyResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DeleteLabelGloballyResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDeleteLabelGloballyResponse(value) {
|
|
25
|
+
if (!('affected' in value) || value['affected'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function DeleteLabelGloballyResponseFromJSON(json) {
|
|
32
|
+
return DeleteLabelGloballyResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function DeleteLabelGloballyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'affected': json['affected'],
|
|
40
|
+
'label': json['label'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function DeleteLabelGloballyResponseToJSON(json) {
|
|
44
|
+
return DeleteLabelGloballyResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DeleteLabelGloballyResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'affected': value['affected'],
|
|
52
|
+
'label': value['label'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Time estimates for migrating 1TB of data
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EstimateRange
|
|
16
|
+
*/
|
|
17
|
+
export interface EstimateRange {
|
|
18
|
+
/**
|
|
19
|
+
* Duration string (e.g., "25m40s")
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EstimateRange
|
|
22
|
+
*/
|
|
23
|
+
bestCase?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Duration string (e.g., "26m49s")
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EstimateRange
|
|
28
|
+
*/
|
|
29
|
+
expected?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Duration string (e.g., "29m12s")
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EstimateRange
|
|
34
|
+
*/
|
|
35
|
+
worstCase?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the EstimateRange interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfEstimateRange(value: object): value is EstimateRange;
|
|
41
|
+
export declare function EstimateRangeFromJSON(json: any): EstimateRange;
|
|
42
|
+
export declare function EstimateRangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): EstimateRange;
|
|
43
|
+
export declare function EstimateRangeToJSON(json: any): EstimateRange;
|
|
44
|
+
export declare function EstimateRangeToJSONTyped(value?: EstimateRange | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfEstimateRange = instanceOfEstimateRange;
|
|
17
|
+
exports.EstimateRangeFromJSON = EstimateRangeFromJSON;
|
|
18
|
+
exports.EstimateRangeFromJSONTyped = EstimateRangeFromJSONTyped;
|
|
19
|
+
exports.EstimateRangeToJSON = EstimateRangeToJSON;
|
|
20
|
+
exports.EstimateRangeToJSONTyped = EstimateRangeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EstimateRange interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEstimateRange(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function EstimateRangeFromJSON(json) {
|
|
28
|
+
return EstimateRangeFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function EstimateRangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'bestCase': json['bestCase'] == null ? undefined : json['bestCase'],
|
|
36
|
+
'expected': json['expected'] == null ? undefined : json['expected'],
|
|
37
|
+
'worstCase': json['worstCase'] == null ? undefined : json['worstCase'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function EstimateRangeToJSON(json) {
|
|
41
|
+
return EstimateRangeToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function EstimateRangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'bestCase': value['bestCase'],
|
|
49
|
+
'expected': value['expected'],
|
|
50
|
+
'worstCase': value['worstCase'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 { EstimateRange } from './EstimateRange.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ForecastStats
|
|
17
|
+
*/
|
|
18
|
+
export interface ForecastStats {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ForecastStats
|
|
23
|
+
*/
|
|
24
|
+
pairName: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ForecastStats
|
|
29
|
+
*/
|
|
30
|
+
sampleCount: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ForecastStats
|
|
35
|
+
*/
|
|
36
|
+
meanMbps?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ForecastStats
|
|
41
|
+
*/
|
|
42
|
+
medianMbps?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ForecastStats
|
|
47
|
+
*/
|
|
48
|
+
minMbps?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof ForecastStats
|
|
53
|
+
*/
|
|
54
|
+
maxMbps?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ForecastStats
|
|
59
|
+
*/
|
|
60
|
+
stddevMbps?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Lower bound of 95% confidence interval
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof ForecastStats
|
|
65
|
+
*/
|
|
66
|
+
ci95LowerMbps?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Upper bound of 95% confidence interval
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof ForecastStats
|
|
71
|
+
*/
|
|
72
|
+
ci95UpperMbps?: number;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {EstimateRange}
|
|
76
|
+
* @memberof ForecastStats
|
|
77
|
+
*/
|
|
78
|
+
estimatePer1TB?: EstimateRange;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the ForecastStats interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfForecastStats(value: object): value is ForecastStats;
|
|
84
|
+
export declare function ForecastStatsFromJSON(json: any): ForecastStats;
|
|
85
|
+
export declare function ForecastStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecastStats;
|
|
86
|
+
export declare function ForecastStatsToJSON(json: any): ForecastStats;
|
|
87
|
+
export declare function ForecastStatsToJSONTyped(value?: ForecastStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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.instanceOfForecastStats = instanceOfForecastStats;
|
|
17
|
+
exports.ForecastStatsFromJSON = ForecastStatsFromJSON;
|
|
18
|
+
exports.ForecastStatsFromJSONTyped = ForecastStatsFromJSONTyped;
|
|
19
|
+
exports.ForecastStatsToJSON = ForecastStatsToJSON;
|
|
20
|
+
exports.ForecastStatsToJSONTyped = ForecastStatsToJSONTyped;
|
|
21
|
+
const EstimateRange_js_1 = require("./EstimateRange.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ForecastStats interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfForecastStats(value) {
|
|
26
|
+
if (!('pairName' in value) || value['pairName'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('sampleCount' in value) || value['sampleCount'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function ForecastStatsFromJSON(json) {
|
|
33
|
+
return ForecastStatsFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function ForecastStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'pairName': json['pairName'],
|
|
41
|
+
'sampleCount': json['sampleCount'],
|
|
42
|
+
'meanMbps': json['meanMbps'] == null ? undefined : json['meanMbps'],
|
|
43
|
+
'medianMbps': json['medianMbps'] == null ? undefined : json['medianMbps'],
|
|
44
|
+
'minMbps': json['minMbps'] == null ? undefined : json['minMbps'],
|
|
45
|
+
'maxMbps': json['maxMbps'] == null ? undefined : json['maxMbps'],
|
|
46
|
+
'stddevMbps': json['stddevMbps'] == null ? undefined : json['stddevMbps'],
|
|
47
|
+
'ci95LowerMbps': json['ci95LowerMbps'] == null ? undefined : json['ci95LowerMbps'],
|
|
48
|
+
'ci95UpperMbps': json['ci95UpperMbps'] == null ? undefined : json['ci95UpperMbps'],
|
|
49
|
+
'estimatePer1TB': json['estimatePer1TB'] == null ? undefined : (0, EstimateRange_js_1.EstimateRangeFromJSON)(json['estimatePer1TB']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function ForecastStatsToJSON(json) {
|
|
53
|
+
return ForecastStatsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ForecastStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'pairName': value['pairName'],
|
|
61
|
+
'sampleCount': value['sampleCount'],
|
|
62
|
+
'meanMbps': value['meanMbps'],
|
|
63
|
+
'medianMbps': value['medianMbps'],
|
|
64
|
+
'minMbps': value['minMbps'],
|
|
65
|
+
'maxMbps': value['maxMbps'],
|
|
66
|
+
'stddevMbps': value['stddevMbps'],
|
|
67
|
+
'ci95LowerMbps': value['ci95LowerMbps'],
|
|
68
|
+
'ci95UpperMbps': value['ci95UpperMbps'],
|
|
69
|
+
'estimatePer1TB': (0, EstimateRange_js_1.EstimateRangeToJSON)(value['estimatePer1TB']),
|
|
70
|
+
};
|
|
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 { VcenterCredentials } from './VcenterCredentials.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ForecasterDatastoresRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface ForecasterDatastoresRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {VcenterCredentials}
|
|
22
|
+
* @memberof ForecasterDatastoresRequest
|
|
23
|
+
*/
|
|
24
|
+
credentials?: VcenterCredentials;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ForecasterDatastoresRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfForecasterDatastoresRequest(value: object): value is ForecasterDatastoresRequest;
|
|
30
|
+
export declare function ForecasterDatastoresRequestFromJSON(json: any): ForecasterDatastoresRequest;
|
|
31
|
+
export declare function ForecasterDatastoresRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterDatastoresRequest;
|
|
32
|
+
export declare function ForecasterDatastoresRequestToJSON(json: any): ForecasterDatastoresRequest;
|
|
33
|
+
export declare function ForecasterDatastoresRequestToJSONTyped(value?: ForecasterDatastoresRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfForecasterDatastoresRequest = instanceOfForecasterDatastoresRequest;
|
|
17
|
+
exports.ForecasterDatastoresRequestFromJSON = ForecasterDatastoresRequestFromJSON;
|
|
18
|
+
exports.ForecasterDatastoresRequestFromJSONTyped = ForecasterDatastoresRequestFromJSONTyped;
|
|
19
|
+
exports.ForecasterDatastoresRequestToJSON = ForecasterDatastoresRequestToJSON;
|
|
20
|
+
exports.ForecasterDatastoresRequestToJSONTyped = ForecasterDatastoresRequestToJSONTyped;
|
|
21
|
+
const VcenterCredentials_js_1 = require("./VcenterCredentials.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ForecasterDatastoresRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfForecasterDatastoresRequest(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ForecasterDatastoresRequestFromJSON(json) {
|
|
29
|
+
return ForecasterDatastoresRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ForecasterDatastoresRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'credentials': json['credentials'] == null ? undefined : (0, VcenterCredentials_js_1.VcenterCredentialsFromJSON)(json['credentials']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ForecasterDatastoresRequestToJSON(json) {
|
|
40
|
+
return ForecasterDatastoresRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ForecasterDatastoresRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'credentials': (0, VcenterCredentials_js_1.VcenterCredentialsToJSON)(value['credentials']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 ForecasterPairStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface ForecasterPairStatus {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ForecasterPairStatus
|
|
22
|
+
*/
|
|
23
|
+
pairName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ForecasterPairStatus
|
|
28
|
+
*/
|
|
29
|
+
sourceDatastore: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ForecasterPairStatus
|
|
34
|
+
*/
|
|
35
|
+
targetDatastore: string;
|
|
36
|
+
/**
|
|
37
|
+
* ESXi host used for the benchmark (user-specified or auto-selected)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ForecasterPairStatus
|
|
40
|
+
*/
|
|
41
|
+
host?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Per-pair state within a benchmark run
|
|
44
|
+
* @type {ForecasterPairStatusStateEnum}
|
|
45
|
+
* @memberof ForecasterPairStatus
|
|
46
|
+
*/
|
|
47
|
+
state: ForecasterPairStatusStateEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Error message when pair state is error
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ForecasterPairStatus
|
|
52
|
+
*/
|
|
53
|
+
error?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Number of completed iterations
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ForecasterPairStatus
|
|
58
|
+
*/
|
|
59
|
+
completedRuns: number;
|
|
60
|
+
/**
|
|
61
|
+
* Total iterations planned
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ForecasterPairStatus
|
|
64
|
+
*/
|
|
65
|
+
totalRuns: number;
|
|
66
|
+
/**
|
|
67
|
+
* Total bytes to upload during preparation (present during preparing state)
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ForecasterPairStatus
|
|
70
|
+
*/
|
|
71
|
+
prepBytesTotal?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Bytes uploaded so far during preparation
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof ForecasterPairStatus
|
|
76
|
+
*/
|
|
77
|
+
prepBytesUploaded?: number;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const ForecasterPairStatusStateEnum: {
|
|
83
|
+
readonly ForecasterPairStatusStatePending: "pending";
|
|
84
|
+
readonly ForecasterPairStatusStatePreparing: "preparing";
|
|
85
|
+
readonly ForecasterPairStatusStateRunning: "running";
|
|
86
|
+
readonly ForecasterPairStatusStateCompleted: "completed";
|
|
87
|
+
readonly ForecasterPairStatusStateError: "error";
|
|
88
|
+
readonly ForecasterPairStatusStateCanceled: "canceled";
|
|
89
|
+
};
|
|
90
|
+
export type ForecasterPairStatusStateEnum = typeof ForecasterPairStatusStateEnum[keyof typeof ForecasterPairStatusStateEnum];
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the ForecasterPairStatus interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfForecasterPairStatus(value: object): value is ForecasterPairStatus;
|
|
95
|
+
export declare function ForecasterPairStatusFromJSON(json: any): ForecasterPairStatus;
|
|
96
|
+
export declare function ForecasterPairStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterPairStatus;
|
|
97
|
+
export declare function ForecasterPairStatusToJSON(json: any): ForecasterPairStatus;
|
|
98
|
+
export declare function ForecasterPairStatusToJSONTyped(value?: ForecasterPairStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,90 @@
|
|
|
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.ForecasterPairStatusStateEnum = void 0;
|
|
17
|
+
exports.instanceOfForecasterPairStatus = instanceOfForecasterPairStatus;
|
|
18
|
+
exports.ForecasterPairStatusFromJSON = ForecasterPairStatusFromJSON;
|
|
19
|
+
exports.ForecasterPairStatusFromJSONTyped = ForecasterPairStatusFromJSONTyped;
|
|
20
|
+
exports.ForecasterPairStatusToJSON = ForecasterPairStatusToJSON;
|
|
21
|
+
exports.ForecasterPairStatusToJSONTyped = ForecasterPairStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ForecasterPairStatusStateEnum = {
|
|
26
|
+
ForecasterPairStatusStatePending: 'pending',
|
|
27
|
+
ForecasterPairStatusStatePreparing: 'preparing',
|
|
28
|
+
ForecasterPairStatusStateRunning: 'running',
|
|
29
|
+
ForecasterPairStatusStateCompleted: 'completed',
|
|
30
|
+
ForecasterPairStatusStateError: 'error',
|
|
31
|
+
ForecasterPairStatusStateCanceled: 'canceled'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ForecasterPairStatus interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfForecasterPairStatus(value) {
|
|
37
|
+
if (!('pairName' in value) || value['pairName'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('completedRuns' in value) || value['completedRuns'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('totalRuns' in value) || value['totalRuns'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function ForecasterPairStatusFromJSON(json) {
|
|
52
|
+
return ForecasterPairStatusFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function ForecasterPairStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'pairName': json['pairName'],
|
|
60
|
+
'sourceDatastore': json['sourceDatastore'],
|
|
61
|
+
'targetDatastore': json['targetDatastore'],
|
|
62
|
+
'host': json['host'] == null ? undefined : json['host'],
|
|
63
|
+
'state': json['state'],
|
|
64
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
65
|
+
'completedRuns': json['completedRuns'],
|
|
66
|
+
'totalRuns': json['totalRuns'],
|
|
67
|
+
'prepBytesTotal': json['prepBytesTotal'] == null ? undefined : json['prepBytesTotal'],
|
|
68
|
+
'prepBytesUploaded': json['prepBytesUploaded'] == null ? undefined : json['prepBytesUploaded'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function ForecasterPairStatusToJSON(json) {
|
|
72
|
+
return ForecasterPairStatusToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
function ForecasterPairStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'pairName': value['pairName'],
|
|
80
|
+
'sourceDatastore': value['sourceDatastore'],
|
|
81
|
+
'targetDatastore': value['targetDatastore'],
|
|
82
|
+
'host': value['host'],
|
|
83
|
+
'state': value['state'],
|
|
84
|
+
'error': value['error'],
|
|
85
|
+
'completedRuns': value['completedRuns'],
|
|
86
|
+
'totalRuns': value['totalRuns'],
|
|
87
|
+
'prepBytesTotal': value['prepBytesTotal'],
|
|
88
|
+
'prepBytesUploaded': value['prepBytesUploaded'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { VcenterCredentials } from './VcenterCredentials.js';
|
|
13
|
+
import type { DatastorePair } from './DatastorePair.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ForecasterStartRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface ForecasterStartRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {VcenterCredentials}
|
|
23
|
+
* @memberof ForecasterStartRequest
|
|
24
|
+
*/
|
|
25
|
+
credentials?: VcenterCredentials;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<DatastorePair>}
|
|
29
|
+
* @memberof ForecasterStartRequest
|
|
30
|
+
*/
|
|
31
|
+
pairs: Array<DatastorePair>;
|
|
32
|
+
/**
|
|
33
|
+
* Disk size in GB for benchmark (default 10)
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof ForecasterStartRequest
|
|
36
|
+
*/
|
|
37
|
+
diskSizeGb?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Number of benchmark iterations per pair (default 5)
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof ForecasterStartRequest
|
|
42
|
+
*/
|
|
43
|
+
iterations?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Max parallel pairs (default 1, sequential)
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof ForecasterStartRequest
|
|
48
|
+
*/
|
|
49
|
+
concurrency?: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the ForecasterStartRequest interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfForecasterStartRequest(value: object): value is ForecasterStartRequest;
|
|
55
|
+
export declare function ForecasterStartRequestFromJSON(json: any): ForecasterStartRequest;
|
|
56
|
+
export declare function ForecasterStartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterStartRequest;
|
|
57
|
+
export declare function ForecasterStartRequestToJSON(json: any): ForecasterStartRequest;
|
|
58
|
+
export declare function ForecasterStartRequestToJSONTyped(value?: ForecasterStartRequest | null, ignoreDiscriminator?: boolean): any;
|