@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
|
@@ -37,6 +37,18 @@ export interface CollectorStartRequest {
|
|
|
37
37
|
* @memberof CollectorStartRequest
|
|
38
38
|
*/
|
|
39
39
|
password: string;
|
|
40
|
+
/**
|
|
41
|
+
* PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CollectorStartRequest
|
|
44
|
+
*/
|
|
45
|
+
cacert?: string;
|
|
46
|
+
/**
|
|
47
|
+
* When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof CollectorStartRequest
|
|
50
|
+
*/
|
|
51
|
+
skipTls?: boolean;
|
|
40
52
|
}
|
|
41
53
|
|
|
42
54
|
/**
|
|
@@ -62,6 +74,8 @@ export function CollectorStartRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
62
74
|
'url': json['url'],
|
|
63
75
|
'username': json['username'],
|
|
64
76
|
'password': json['password'],
|
|
77
|
+
'cacert': json['cacert'] == null ? undefined : json['cacert'],
|
|
78
|
+
'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
|
|
65
79
|
};
|
|
66
80
|
}
|
|
67
81
|
|
|
@@ -79,6 +93,8 @@ export function CollectorStartRequestToJSONTyped(value?: CollectorStartRequest |
|
|
|
79
93
|
'url': value['url'],
|
|
80
94
|
'username': value['username'],
|
|
81
95
|
'password': value['password'],
|
|
96
|
+
'cacert': value['cacert'],
|
|
97
|
+
'skipTls': value['skipTls'],
|
|
82
98
|
};
|
|
83
99
|
}
|
|
84
100
|
|
|
@@ -37,12 +37,6 @@ export interface CreateGroupRequest {
|
|
|
37
37
|
* @memberof CreateGroupRequest
|
|
38
38
|
*/
|
|
39
39
|
filter: string;
|
|
40
|
-
/**
|
|
41
|
-
* Tags to apply to matching VMs (only alphanumeric, underscore, and dot allowed)
|
|
42
|
-
* @type {Array<string>}
|
|
43
|
-
* @memberof CreateGroupRequest
|
|
44
|
-
*/
|
|
45
|
-
tags?: Array<string>;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
42
|
/**
|
|
@@ -67,7 +61,6 @@ export function CreateGroupRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
67
61
|
'name': json['name'],
|
|
68
62
|
'description': json['description'] == null ? undefined : json['description'],
|
|
69
63
|
'filter': json['filter'],
|
|
70
|
-
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
71
64
|
};
|
|
72
65
|
}
|
|
73
66
|
|
|
@@ -85,7 +78,6 @@ export function CreateGroupRequestToJSONTyped(value?: CreateGroupRequest | null,
|
|
|
85
78
|
'name': value['name'],
|
|
86
79
|
'description': value['description'],
|
|
87
80
|
'filter': value['filter'],
|
|
88
|
-
'tags': value['tags'],
|
|
89
81
|
};
|
|
90
82
|
}
|
|
91
83
|
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CredentialStatus
|
|
20
|
+
*/
|
|
21
|
+
export interface CredentialStatus {
|
|
22
|
+
/**
|
|
23
|
+
* vCenter URL the credentials belong to
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CredentialStatus
|
|
26
|
+
*/
|
|
27
|
+
url: string;
|
|
28
|
+
/**
|
|
29
|
+
* Whether credentials are stored for the returned URL.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof CredentialStatus
|
|
32
|
+
*/
|
|
33
|
+
valid: boolean;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the CredentialStatus interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfCredentialStatus(value: object): value is CredentialStatus {
|
|
40
|
+
if (!('url' in value) || value['url'] === undefined) return false;
|
|
41
|
+
if (!('valid' in value) || value['valid'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function CredentialStatusFromJSON(json: any): CredentialStatus {
|
|
46
|
+
return CredentialStatusFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function CredentialStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialStatus {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'url': json['url'],
|
|
56
|
+
'valid': json['valid'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CredentialStatusToJSON(json: any): CredentialStatus {
|
|
61
|
+
return CredentialStatusToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CredentialStatusToJSONTyped(value?: CredentialStatus | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'url': value['url'],
|
|
72
|
+
'valid': value['valid'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,146 @@
|
|
|
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
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DatastoreDetail
|
|
20
|
+
*/
|
|
21
|
+
export interface DatastoreDetail {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof DatastoreDetail
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* Datastore type (VMFS, NFS, VVol, OTHER)
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof DatastoreDetail
|
|
32
|
+
*/
|
|
33
|
+
type: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof DatastoreDetail
|
|
38
|
+
*/
|
|
39
|
+
capacityGb: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof DatastoreDetail
|
|
44
|
+
*/
|
|
45
|
+
freeGb: number;
|
|
46
|
+
/**
|
|
47
|
+
* SCSI vendor string (e.g., NETAPP, PURE, DGC)
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof DatastoreDetail
|
|
50
|
+
*/
|
|
51
|
+
storageVendor?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof DatastoreDetail
|
|
56
|
+
*/
|
|
57
|
+
storageModel?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Derived from NAA device ID prefix. Same value means same physical storage array. Absent for NFS and local datastores.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof DatastoreDetail
|
|
62
|
+
*/
|
|
63
|
+
storageArrayId?: string;
|
|
64
|
+
/**
|
|
65
|
+
* NAA device identifiers for the datastore's backing LUNs
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof DatastoreDetail
|
|
68
|
+
*/
|
|
69
|
+
naaDevices?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Intrinsic offload capabilities of this datastore based on vendor support
|
|
72
|
+
* @type {Array<DatastoreDetailCapabilitiesEnum>}
|
|
73
|
+
* @memberof DatastoreDetail
|
|
74
|
+
*/
|
|
75
|
+
capabilities?: Array<DatastoreDetailCapabilitiesEnum>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const DatastoreDetailCapabilitiesEnum = {
|
|
83
|
+
CopyOffload: 'copy-offload',
|
|
84
|
+
Xcopy: 'xcopy',
|
|
85
|
+
Rdm: 'rdm',
|
|
86
|
+
Vvol: 'vvol'
|
|
87
|
+
} as const;
|
|
88
|
+
export type DatastoreDetailCapabilitiesEnum = typeof DatastoreDetailCapabilitiesEnum[keyof typeof DatastoreDetailCapabilitiesEnum];
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the DatastoreDetail interface.
|
|
93
|
+
*/
|
|
94
|
+
export function instanceOfDatastoreDetail(value: object): value is DatastoreDetail {
|
|
95
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
96
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
97
|
+
if (!('capacityGb' in value) || value['capacityGb'] === undefined) return false;
|
|
98
|
+
if (!('freeGb' in value) || value['freeGb'] === undefined) return false;
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function DatastoreDetailFromJSON(json: any): DatastoreDetail {
|
|
103
|
+
return DatastoreDetailFromJSONTyped(json, false);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function DatastoreDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatastoreDetail {
|
|
107
|
+
if (json == null) {
|
|
108
|
+
return json;
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
|
|
112
|
+
'name': json['name'],
|
|
113
|
+
'type': json['type'],
|
|
114
|
+
'capacityGb': json['capacityGb'],
|
|
115
|
+
'freeGb': json['freeGb'],
|
|
116
|
+
'storageVendor': json['storageVendor'] == null ? undefined : json['storageVendor'],
|
|
117
|
+
'storageModel': json['storageModel'] == null ? undefined : json['storageModel'],
|
|
118
|
+
'storageArrayId': json['storageArrayId'] == null ? undefined : json['storageArrayId'],
|
|
119
|
+
'naaDevices': json['naaDevices'] == null ? undefined : json['naaDevices'],
|
|
120
|
+
'capabilities': json['capabilities'] == null ? undefined : json['capabilities'],
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function DatastoreDetailToJSON(json: any): DatastoreDetail {
|
|
125
|
+
return DatastoreDetailToJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function DatastoreDetailToJSONTyped(value?: DatastoreDetail | null, ignoreDiscriminator: boolean = false): any {
|
|
129
|
+
if (value == null) {
|
|
130
|
+
return value;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
|
|
135
|
+
'name': value['name'],
|
|
136
|
+
'type': value['type'],
|
|
137
|
+
'capacityGb': value['capacityGb'],
|
|
138
|
+
'freeGb': value['freeGb'],
|
|
139
|
+
'storageVendor': value['storageVendor'],
|
|
140
|
+
'storageModel': value['storageModel'],
|
|
141
|
+
'storageArrayId': value['storageArrayId'],
|
|
142
|
+
'naaDevices': value['naaDevices'],
|
|
143
|
+
'capabilities': value['capabilities'],
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DatastorePair
|
|
20
|
+
*/
|
|
21
|
+
export interface DatastorePair {
|
|
22
|
+
/**
|
|
23
|
+
* User-defined name for this pair
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof DatastorePair
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* Source datastore name
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof DatastorePair
|
|
32
|
+
*/
|
|
33
|
+
sourceDatastore: string;
|
|
34
|
+
/**
|
|
35
|
+
* Target datastore name
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof DatastorePair
|
|
38
|
+
*/
|
|
39
|
+
targetDatastore: string;
|
|
40
|
+
/**
|
|
41
|
+
* Optional ESXi host name to pin the benchmark to. If omitted, a host common to both datastores is selected automatically.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof DatastorePair
|
|
44
|
+
*/
|
|
45
|
+
host?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the DatastorePair interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfDatastorePair(value: object): value is DatastorePair {
|
|
52
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
53
|
+
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined) return false;
|
|
54
|
+
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined) return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function DatastorePairFromJSON(json: any): DatastorePair {
|
|
59
|
+
return DatastorePairFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function DatastorePairFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatastorePair {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'name': json['name'],
|
|
69
|
+
'sourceDatastore': json['sourceDatastore'],
|
|
70
|
+
'targetDatastore': json['targetDatastore'],
|
|
71
|
+
'host': json['host'] == null ? undefined : json['host'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function DatastorePairToJSON(json: any): DatastorePair {
|
|
76
|
+
return DatastorePairToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function DatastorePairToJSONTyped(value?: DatastorePair | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'name': value['name'],
|
|
87
|
+
'sourceDatastore': value['sourceDatastore'],
|
|
88
|
+
'targetDatastore': value['targetDatastore'],
|
|
89
|
+
'host': value['host'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DeleteLabelGloballyResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteLabelGloballyResponse {
|
|
22
|
+
/**
|
|
23
|
+
* Number of VMs that had the label removed
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof DeleteLabelGloballyResponse
|
|
26
|
+
*/
|
|
27
|
+
affected: number;
|
|
28
|
+
/**
|
|
29
|
+
* The label that was removed
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof DeleteLabelGloballyResponse
|
|
32
|
+
*/
|
|
33
|
+
label: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the DeleteLabelGloballyResponse interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfDeleteLabelGloballyResponse(value: object): value is DeleteLabelGloballyResponse {
|
|
40
|
+
if (!('affected' in value) || value['affected'] === undefined) return false;
|
|
41
|
+
if (!('label' in value) || value['label'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function DeleteLabelGloballyResponseFromJSON(json: any): DeleteLabelGloballyResponse {
|
|
46
|
+
return DeleteLabelGloballyResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function DeleteLabelGloballyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteLabelGloballyResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'affected': json['affected'],
|
|
56
|
+
'label': json['label'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function DeleteLabelGloballyResponseToJSON(json: any): DeleteLabelGloballyResponse {
|
|
61
|
+
return DeleteLabelGloballyResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function DeleteLabelGloballyResponseToJSONTyped(value?: DeleteLabelGloballyResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'affected': value['affected'],
|
|
72
|
+
'label': value['label'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
* Time estimates for migrating 1TB of data
|
|
18
|
+
* @export
|
|
19
|
+
* @interface EstimateRange
|
|
20
|
+
*/
|
|
21
|
+
export interface EstimateRange {
|
|
22
|
+
/**
|
|
23
|
+
* Duration string (e.g., "25m40s")
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof EstimateRange
|
|
26
|
+
*/
|
|
27
|
+
bestCase?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Duration string (e.g., "26m49s")
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof EstimateRange
|
|
32
|
+
*/
|
|
33
|
+
expected?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Duration string (e.g., "29m12s")
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof EstimateRange
|
|
38
|
+
*/
|
|
39
|
+
worstCase?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the EstimateRange interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfEstimateRange(value: object): value is EstimateRange {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function EstimateRangeFromJSON(json: any): EstimateRange {
|
|
50
|
+
return EstimateRangeFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function EstimateRangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): EstimateRange {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'bestCase': json['bestCase'] == null ? undefined : json['bestCase'],
|
|
60
|
+
'expected': json['expected'] == null ? undefined : json['expected'],
|
|
61
|
+
'worstCase': json['worstCase'] == null ? undefined : json['worstCase'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function EstimateRangeToJSON(json: any): EstimateRange {
|
|
66
|
+
return EstimateRangeToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function EstimateRangeToJSONTyped(value?: EstimateRange | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'bestCase': value['bestCase'],
|
|
77
|
+
'expected': value['expected'],
|
|
78
|
+
'worstCase': value['worstCase'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,147 @@
|
|
|
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
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { EstimateRange } from './EstimateRange.js';
|
|
17
|
+
import {
|
|
18
|
+
EstimateRangeFromJSON,
|
|
19
|
+
EstimateRangeFromJSONTyped,
|
|
20
|
+
EstimateRangeToJSON,
|
|
21
|
+
EstimateRangeToJSONTyped,
|
|
22
|
+
} from './EstimateRange.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ForecastStats
|
|
28
|
+
*/
|
|
29
|
+
export interface ForecastStats {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ForecastStats
|
|
34
|
+
*/
|
|
35
|
+
pairName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ForecastStats
|
|
40
|
+
*/
|
|
41
|
+
sampleCount: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ForecastStats
|
|
46
|
+
*/
|
|
47
|
+
meanMbps?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ForecastStats
|
|
52
|
+
*/
|
|
53
|
+
medianMbps?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ForecastStats
|
|
58
|
+
*/
|
|
59
|
+
minMbps?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ForecastStats
|
|
64
|
+
*/
|
|
65
|
+
maxMbps?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ForecastStats
|
|
70
|
+
*/
|
|
71
|
+
stddevMbps?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Lower bound of 95% confidence interval
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof ForecastStats
|
|
76
|
+
*/
|
|
77
|
+
ci95LowerMbps?: number;
|
|
78
|
+
/**
|
|
79
|
+
* Upper bound of 95% confidence interval
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof ForecastStats
|
|
82
|
+
*/
|
|
83
|
+
ci95UpperMbps?: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {EstimateRange}
|
|
87
|
+
* @memberof ForecastStats
|
|
88
|
+
*/
|
|
89
|
+
estimatePer1TB?: EstimateRange;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the ForecastStats interface.
|
|
94
|
+
*/
|
|
95
|
+
export function instanceOfForecastStats(value: object): value is ForecastStats {
|
|
96
|
+
if (!('pairName' in value) || value['pairName'] === undefined) return false;
|
|
97
|
+
if (!('sampleCount' in value) || value['sampleCount'] === undefined) return false;
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function ForecastStatsFromJSON(json: any): ForecastStats {
|
|
102
|
+
return ForecastStatsFromJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function ForecastStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecastStats {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'pairName': json['pairName'],
|
|
112
|
+
'sampleCount': json['sampleCount'],
|
|
113
|
+
'meanMbps': json['meanMbps'] == null ? undefined : json['meanMbps'],
|
|
114
|
+
'medianMbps': json['medianMbps'] == null ? undefined : json['medianMbps'],
|
|
115
|
+
'minMbps': json['minMbps'] == null ? undefined : json['minMbps'],
|
|
116
|
+
'maxMbps': json['maxMbps'] == null ? undefined : json['maxMbps'],
|
|
117
|
+
'stddevMbps': json['stddevMbps'] == null ? undefined : json['stddevMbps'],
|
|
118
|
+
'ci95LowerMbps': json['ci95LowerMbps'] == null ? undefined : json['ci95LowerMbps'],
|
|
119
|
+
'ci95UpperMbps': json['ci95UpperMbps'] == null ? undefined : json['ci95UpperMbps'],
|
|
120
|
+
'estimatePer1TB': json['estimatePer1TB'] == null ? undefined : EstimateRangeFromJSON(json['estimatePer1TB']),
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function ForecastStatsToJSON(json: any): ForecastStats {
|
|
125
|
+
return ForecastStatsToJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function ForecastStatsToJSONTyped(value?: ForecastStats | null, ignoreDiscriminator: boolean = false): any {
|
|
129
|
+
if (value == null) {
|
|
130
|
+
return value;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
|
|
135
|
+
'pairName': value['pairName'],
|
|
136
|
+
'sampleCount': value['sampleCount'],
|
|
137
|
+
'meanMbps': value['meanMbps'],
|
|
138
|
+
'medianMbps': value['medianMbps'],
|
|
139
|
+
'minMbps': value['minMbps'],
|
|
140
|
+
'maxMbps': value['maxMbps'],
|
|
141
|
+
'stddevMbps': value['stddevMbps'],
|
|
142
|
+
'ci95LowerMbps': value['ci95LowerMbps'],
|
|
143
|
+
'ci95UpperMbps': value['ci95UpperMbps'],
|
|
144
|
+
'estimatePer1TB': EstimateRangeToJSON(value['estimatePer1TB']),
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|