@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.0-645d2fae3eee
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 +62 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +68 -17
- package/dist/apis/DefaultApi.d.ts +919 -108
- package/dist/apis/DefaultApi.js +1140 -256
- package/dist/esm/apis/DefaultApi.d.ts +919 -108
- package/dist/esm/apis/DefaultApi.js +1121 -237
- package/dist/esm/models/AgentStatus.d.ts +1 -1
- package/dist/esm/models/AgentStatus.js +3 -3
- 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/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/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 +7 -0
- package/dist/esm/models/InventoryData.js +3 -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/UpdateLabelVMsRequest.d.ts +38 -0
- package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
- package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
- package/dist/esm/models/VMLabelsResponse.js +47 -0
- package/dist/esm/models/VMs.d.ts +18 -0
- package/dist/esm/models/VMs.js +4 -0
- package/dist/esm/models/VirtualMachine.d.ts +43 -1
- package/dist/esm/models/VirtualMachine.js +16 -4
- 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 +31 -1
- package/dist/esm/models/index.js +31 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AgentStatus.d.ts +1 -1
- package/dist/models/AgentStatus.js +3 -3
- 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/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/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 +7 -0
- package/dist/models/InventoryData.js +3 -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/UpdateLabelVMsRequest.d.ts +38 -0
- package/dist/models/UpdateLabelVMsRequest.js +50 -0
- package/dist/models/VMLabelsResponse.d.ts +38 -0
- package/dist/models/VMLabelsResponse.js +54 -0
- package/dist/models/VMs.d.ts +18 -0
- package/dist/models/VMs.js +4 -0
- package/dist/models/VirtualMachine.d.ts +43 -1
- package/dist/models/VirtualMachine.js +16 -4
- 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 +31 -1
- package/dist/models/index.js +31 -1
- package/dist/runtime.js +1 -1
- package/docs/AgentStatus.md +2 -2
- package/docs/BenchmarkRun.md +58 -0
- package/docs/ClusterFeatures.md +38 -0
- package/docs/DatastoreDetail.md +50 -0
- package/docs/DatastorePair.md +40 -0
- package/docs/DefaultApi.md +1701 -266
- 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/InspectorStatus.md +2 -2
- package/docs/Inventory.md +4 -2
- package/docs/InventoryData.md +2 -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/UpdateLabelVMsRequest.md +36 -0
- package/docs/VMLabelsResponse.md +36 -0
- package/docs/VMs.md +4 -0
- package/docs/VirtualMachine.md +16 -2
- 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 +2167 -479
- package/src/models/AgentStatus.ts +4 -4
- package/src/models/BenchmarkRun.ts +171 -0
- package/src/models/ClusterFeatures.ts +94 -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/InspectorStatus.ts +15 -12
- package/src/models/Inventory.ts +12 -4
- package/src/models/InventoryData.ts +15 -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/UpdateLabelVMsRequest.ts +73 -0
- package/src/models/VMLabelsResponse.ts +75 -0
- package/src/models/VMs.ts +18 -0
- package/src/models/VirtualMachine.ts +59 -4
- 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 +31 -1
- package/src/runtime.ts +1 -2
- 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,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VmUtilizationDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface VmUtilizationDetails {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VmUtilizationDetails
|
|
22
|
+
*/
|
|
23
|
+
moid: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VmUtilizationDetails
|
|
28
|
+
*/
|
|
29
|
+
vm_name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Number of vCPUs provisioned for this VM
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof VmUtilizationDetails
|
|
34
|
+
*/
|
|
35
|
+
provisioned_cpus: number;
|
|
36
|
+
/**
|
|
37
|
+
* Provisioned RAM (MB)
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof VmUtilizationDetails
|
|
40
|
+
*/
|
|
41
|
+
provisioned_memory_mb: number;
|
|
42
|
+
/**
|
|
43
|
+
* Provisioned disk (KB)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof VmUtilizationDetails
|
|
46
|
+
*/
|
|
47
|
+
provisioned_disk_kb: number;
|
|
48
|
+
/**
|
|
49
|
+
* CPU utilization average (%)
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof VmUtilizationDetails
|
|
52
|
+
*/
|
|
53
|
+
cpu_avg: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof VmUtilizationDetails
|
|
58
|
+
*/
|
|
59
|
+
cpu_p95: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof VmUtilizationDetails
|
|
64
|
+
*/
|
|
65
|
+
cpu_max: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof VmUtilizationDetails
|
|
70
|
+
*/
|
|
71
|
+
cpu_latest: number;
|
|
72
|
+
/**
|
|
73
|
+
* Memory utilization average (%)
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof VmUtilizationDetails
|
|
76
|
+
*/
|
|
77
|
+
mem_avg: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof VmUtilizationDetails
|
|
82
|
+
*/
|
|
83
|
+
mem_p95: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof VmUtilizationDetails
|
|
88
|
+
*/
|
|
89
|
+
mem_max: number;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof VmUtilizationDetails
|
|
94
|
+
*/
|
|
95
|
+
mem_latest: number;
|
|
96
|
+
/**
|
|
97
|
+
* Disk utilization (%)
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof VmUtilizationDetails
|
|
100
|
+
*/
|
|
101
|
+
disk: number;
|
|
102
|
+
/**
|
|
103
|
+
* Data confidence — sample_count / expected_sample_count × 100
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof VmUtilizationDetails
|
|
106
|
+
*/
|
|
107
|
+
confidence: number;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Check if a given object implements the VmUtilizationDetails interface.
|
|
111
|
+
*/
|
|
112
|
+
export declare function instanceOfVmUtilizationDetails(value: object): value is VmUtilizationDetails;
|
|
113
|
+
export declare function VmUtilizationDetailsFromJSON(json: any): VmUtilizationDetails;
|
|
114
|
+
export declare function VmUtilizationDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmUtilizationDetails;
|
|
115
|
+
export declare function VmUtilizationDetailsToJSON(json: any): VmUtilizationDetails;
|
|
116
|
+
export declare function VmUtilizationDetailsToJSONTyped(value?: VmUtilizationDetails | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the VmUtilizationDetails interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVmUtilizationDetails(value) {
|
|
18
|
+
if (!('moid' in value) || value['moid'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('vm_name' in value) || value['vm_name'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('provisioned_cpus' in value) || value['provisioned_cpus'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('provisioned_memory_mb' in value) || value['provisioned_memory_mb'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('provisioned_disk_kb' in value) || value['provisioned_disk_kb'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('cpu_avg' in value) || value['cpu_avg'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('cpu_p95' in value) || value['cpu_p95'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('cpu_max' in value) || value['cpu_max'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('cpu_latest' in value) || value['cpu_latest'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('mem_avg' in value) || value['mem_avg'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('mem_p95' in value) || value['mem_p95'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('mem_max' in value) || value['mem_max'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('mem_latest' in value) || value['mem_latest'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('disk' in value) || value['disk'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('confidence' in value) || value['confidence'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
export function VmUtilizationDetailsFromJSON(json) {
|
|
51
|
+
return VmUtilizationDetailsFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function VmUtilizationDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'moid': json['moid'],
|
|
59
|
+
'vm_name': json['vm_name'],
|
|
60
|
+
'provisioned_cpus': json['provisioned_cpus'],
|
|
61
|
+
'provisioned_memory_mb': json['provisioned_memory_mb'],
|
|
62
|
+
'provisioned_disk_kb': json['provisioned_disk_kb'],
|
|
63
|
+
'cpu_avg': json['cpu_avg'],
|
|
64
|
+
'cpu_p95': json['cpu_p95'],
|
|
65
|
+
'cpu_max': json['cpu_max'],
|
|
66
|
+
'cpu_latest': json['cpu_latest'],
|
|
67
|
+
'mem_avg': json['mem_avg'],
|
|
68
|
+
'mem_p95': json['mem_p95'],
|
|
69
|
+
'mem_max': json['mem_max'],
|
|
70
|
+
'mem_latest': json['mem_latest'],
|
|
71
|
+
'disk': json['disk'],
|
|
72
|
+
'confidence': json['confidence'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
export function VmUtilizationDetailsToJSON(json) {
|
|
76
|
+
return VmUtilizationDetailsToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
export function VmUtilizationDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'moid': value['moid'],
|
|
84
|
+
'vm_name': value['vm_name'],
|
|
85
|
+
'provisioned_cpus': value['provisioned_cpus'],
|
|
86
|
+
'provisioned_memory_mb': value['provisioned_memory_mb'],
|
|
87
|
+
'provisioned_disk_kb': value['provisioned_disk_kb'],
|
|
88
|
+
'cpu_avg': value['cpu_avg'],
|
|
89
|
+
'cpu_p95': value['cpu_p95'],
|
|
90
|
+
'cpu_max': value['cpu_max'],
|
|
91
|
+
'cpu_latest': value['cpu_latest'],
|
|
92
|
+
'mem_avg': value['mem_avg'],
|
|
93
|
+
'mem_p95': value['mem_p95'],
|
|
94
|
+
'mem_max': value['mem_max'],
|
|
95
|
+
'mem_latest': value['mem_latest'],
|
|
96
|
+
'disk': value['disk'],
|
|
97
|
+
'confidence': value['confidence'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
export * from './AgentModeRequest.js';
|
|
2
2
|
export * from './AgentStatus.js';
|
|
3
|
+
export * from './BenchmarkRun.js';
|
|
4
|
+
export * from './ClusterFeatures.js';
|
|
3
5
|
export * from './CollectorStartRequest.js';
|
|
4
6
|
export * from './CollectorStatus.js';
|
|
5
7
|
export * from './CreateGroupRequest.js';
|
|
6
8
|
export * from './Datastore.js';
|
|
9
|
+
export * from './DatastoreDetail.js';
|
|
10
|
+
export * from './DatastorePair.js';
|
|
11
|
+
export * from './DeleteLabelGloballyResponse.js';
|
|
7
12
|
export * from './DiskSizeTierSummary.js';
|
|
8
13
|
export * from './DiskTypeSummary.js';
|
|
14
|
+
export * from './EstimateRange.js';
|
|
15
|
+
export * from './ForecastStats.js';
|
|
16
|
+
export * from './ForecasterDatastoresRequest.js';
|
|
17
|
+
export * from './ForecasterPairStatus.js';
|
|
18
|
+
export * from './ForecasterStartRequest.js';
|
|
19
|
+
export * from './ForecasterStatus.js';
|
|
9
20
|
export * from './GetInventory200Response.js';
|
|
10
21
|
export * from './Group.js';
|
|
11
22
|
export * from './GroupListResponse.js';
|
|
@@ -14,19 +25,34 @@ export * from './GuestNetwork.js';
|
|
|
14
25
|
export * from './Histogram.js';
|
|
15
26
|
export * from './Host.js';
|
|
16
27
|
export * from './Infra.js';
|
|
17
|
-
export * from './InspectorStartRequest.js';
|
|
18
28
|
export * from './InspectorStatus.js';
|
|
19
29
|
export * from './Inventory.js';
|
|
20
30
|
export * from './InventoryData.js';
|
|
21
31
|
export * from './MigrationIssue.js';
|
|
22
32
|
export * from './Network.js';
|
|
23
33
|
export * from './OsInfo.js';
|
|
34
|
+
export * from './PairCapability.js';
|
|
35
|
+
export * from './PairCapabilityRequest.js';
|
|
36
|
+
export * from './PutForecasterCredentials403Response.js';
|
|
37
|
+
export * from './RightsizingClusterListResponse.js';
|
|
38
|
+
export * from './RightsizingClusterResponse.js';
|
|
39
|
+
export * from './RightsizingClusterUtilization.js';
|
|
40
|
+
export * from './RightsizingCollectRequest.js';
|
|
41
|
+
export * from './RightsizingMetricStats.js';
|
|
42
|
+
export * from './RightsizingReport.js';
|
|
43
|
+
export * from './RightsizingReportListResponse.js';
|
|
44
|
+
export * from './RightsizingReportSummary.js';
|
|
45
|
+
export * from './RightsizingVMReport.js';
|
|
46
|
+
export * from './StartInspectionRequest.js';
|
|
47
|
+
export * from './StopForecasterPair202Response.js';
|
|
24
48
|
export * from './UpdateGroupRequest.js';
|
|
25
49
|
export * from './UpdateInventory.js';
|
|
50
|
+
export * from './UpdateLabelVMsRequest.js';
|
|
26
51
|
export * from './VCenter.js';
|
|
27
52
|
export * from './VMDevice.js';
|
|
28
53
|
export * from './VMDisk.js';
|
|
29
54
|
export * from './VMIssue.js';
|
|
55
|
+
export * from './VMLabelsResponse.js';
|
|
30
56
|
export * from './VMNIC.js';
|
|
31
57
|
export * from './VMResourceBreakdown.js';
|
|
32
58
|
export * from './VMs.js';
|
|
@@ -36,4 +62,8 @@ export * from './VersionInfo.js';
|
|
|
36
62
|
export * from './VirtualMachine.js';
|
|
37
63
|
export * from './VirtualMachineDetail.js';
|
|
38
64
|
export * from './VirtualMachineListResponse.js';
|
|
65
|
+
export * from './VirtualMachineUpdateRequest.js';
|
|
66
|
+
export * from './VmInspectionConcern.js';
|
|
67
|
+
export * from './VmInspectionResults.js';
|
|
39
68
|
export * from './VmInspectionStatus.js';
|
|
69
|
+
export * from './VmUtilizationDetails.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -2,12 +2,23 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AgentModeRequest.js';
|
|
4
4
|
export * from './AgentStatus.js';
|
|
5
|
+
export * from './BenchmarkRun.js';
|
|
6
|
+
export * from './ClusterFeatures.js';
|
|
5
7
|
export * from './CollectorStartRequest.js';
|
|
6
8
|
export * from './CollectorStatus.js';
|
|
7
9
|
export * from './CreateGroupRequest.js';
|
|
8
10
|
export * from './Datastore.js';
|
|
11
|
+
export * from './DatastoreDetail.js';
|
|
12
|
+
export * from './DatastorePair.js';
|
|
13
|
+
export * from './DeleteLabelGloballyResponse.js';
|
|
9
14
|
export * from './DiskSizeTierSummary.js';
|
|
10
15
|
export * from './DiskTypeSummary.js';
|
|
16
|
+
export * from './EstimateRange.js';
|
|
17
|
+
export * from './ForecastStats.js';
|
|
18
|
+
export * from './ForecasterDatastoresRequest.js';
|
|
19
|
+
export * from './ForecasterPairStatus.js';
|
|
20
|
+
export * from './ForecasterStartRequest.js';
|
|
21
|
+
export * from './ForecasterStatus.js';
|
|
11
22
|
export * from './GetInventory200Response.js';
|
|
12
23
|
export * from './Group.js';
|
|
13
24
|
export * from './GroupListResponse.js';
|
|
@@ -16,19 +27,34 @@ export * from './GuestNetwork.js';
|
|
|
16
27
|
export * from './Histogram.js';
|
|
17
28
|
export * from './Host.js';
|
|
18
29
|
export * from './Infra.js';
|
|
19
|
-
export * from './InspectorStartRequest.js';
|
|
20
30
|
export * from './InspectorStatus.js';
|
|
21
31
|
export * from './Inventory.js';
|
|
22
32
|
export * from './InventoryData.js';
|
|
23
33
|
export * from './MigrationIssue.js';
|
|
24
34
|
export * from './Network.js';
|
|
25
35
|
export * from './OsInfo.js';
|
|
36
|
+
export * from './PairCapability.js';
|
|
37
|
+
export * from './PairCapabilityRequest.js';
|
|
38
|
+
export * from './PutForecasterCredentials403Response.js';
|
|
39
|
+
export * from './RightsizingClusterListResponse.js';
|
|
40
|
+
export * from './RightsizingClusterResponse.js';
|
|
41
|
+
export * from './RightsizingClusterUtilization.js';
|
|
42
|
+
export * from './RightsizingCollectRequest.js';
|
|
43
|
+
export * from './RightsizingMetricStats.js';
|
|
44
|
+
export * from './RightsizingReport.js';
|
|
45
|
+
export * from './RightsizingReportListResponse.js';
|
|
46
|
+
export * from './RightsizingReportSummary.js';
|
|
47
|
+
export * from './RightsizingVMReport.js';
|
|
48
|
+
export * from './StartInspectionRequest.js';
|
|
49
|
+
export * from './StopForecasterPair202Response.js';
|
|
26
50
|
export * from './UpdateGroupRequest.js';
|
|
27
51
|
export * from './UpdateInventory.js';
|
|
52
|
+
export * from './UpdateLabelVMsRequest.js';
|
|
28
53
|
export * from './VCenter.js';
|
|
29
54
|
export * from './VMDevice.js';
|
|
30
55
|
export * from './VMDisk.js';
|
|
31
56
|
export * from './VMIssue.js';
|
|
57
|
+
export * from './VMLabelsResponse.js';
|
|
32
58
|
export * from './VMNIC.js';
|
|
33
59
|
export * from './VMResourceBreakdown.js';
|
|
34
60
|
export * from './VMs.js';
|
|
@@ -38,4 +64,8 @@ export * from './VersionInfo.js';
|
|
|
38
64
|
export * from './VirtualMachine.js';
|
|
39
65
|
export * from './VirtualMachineDetail.js';
|
|
40
66
|
export * from './VirtualMachineListResponse.js';
|
|
67
|
+
export * from './VirtualMachineUpdateRequest.js';
|
|
68
|
+
export * from './VmInspectionConcern.js';
|
|
69
|
+
export * from './VmInspectionResults.js';
|
|
41
70
|
export * from './VmInspectionStatus.js';
|
|
71
|
+
export * from './VmUtilizationDetails.js';
|
package/dist/esm/runtime.js
CHANGED
|
@@ -210,7 +210,7 @@ export class BaseAPI {
|
|
|
210
210
|
return next;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
BaseAPI.jsonRegex =
|
|
213
|
+
BaseAPI.jsonRegex = /^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$/i;
|
|
214
214
|
;
|
|
215
215
|
function isBlob(value) {
|
|
216
216
|
return typeof Blob !== 'undefined' && value instanceof Blob;
|
|
@@ -26,7 +26,7 @@ export interface AgentStatus {
|
|
|
26
26
|
* @type {AgentStatusConsoleConnectionEnum}
|
|
27
27
|
* @memberof AgentStatus
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
console_connection: AgentStatusConsoleConnectionEnum;
|
|
30
30
|
/**
|
|
31
31
|
* Connection error description
|
|
32
32
|
* @type {string}
|
|
@@ -39,7 +39,7 @@ exports.AgentStatusConsoleConnectionEnum = {
|
|
|
39
39
|
function instanceOfAgentStatus(value) {
|
|
40
40
|
if (!('mode' in value) || value['mode'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
-
if (!('
|
|
42
|
+
if (!('console_connection' in value) || value['console_connection'] === undefined)
|
|
43
43
|
return false;
|
|
44
44
|
return true;
|
|
45
45
|
}
|
|
@@ -52,7 +52,7 @@ function AgentStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
}
|
|
53
53
|
return {
|
|
54
54
|
'mode': json['mode'],
|
|
55
|
-
'
|
|
55
|
+
'console_connection': json['console_connection'],
|
|
56
56
|
'error': json['error'] == null ? undefined : json['error'],
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -65,7 +65,7 @@ function AgentStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
65
65
|
}
|
|
66
66
|
return {
|
|
67
67
|
'mode': value['mode'],
|
|
68
|
-
'console_connection': value['
|
|
68
|
+
'console_connection': value['console_connection'],
|
|
69
69
|
'error': value['error'],
|
|
70
70
|
};
|
|
71
71
|
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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 BenchmarkRun
|
|
16
|
+
*/
|
|
17
|
+
export interface BenchmarkRun {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BenchmarkRun
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BenchmarkRun
|
|
28
|
+
*/
|
|
29
|
+
sessionId: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BenchmarkRun
|
|
34
|
+
*/
|
|
35
|
+
pairName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BenchmarkRun
|
|
40
|
+
*/
|
|
41
|
+
sourceDatastore: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BenchmarkRun
|
|
46
|
+
*/
|
|
47
|
+
targetDatastore: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof BenchmarkRun
|
|
52
|
+
*/
|
|
53
|
+
iteration: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof BenchmarkRun
|
|
58
|
+
*/
|
|
59
|
+
diskSizeGb: number;
|
|
60
|
+
/**
|
|
61
|
+
* Time spent on disk creation and random fill (iteration 1 only)
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof BenchmarkRun
|
|
64
|
+
*/
|
|
65
|
+
prepDurationSec?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof BenchmarkRun
|
|
70
|
+
*/
|
|
71
|
+
durationSec: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof BenchmarkRun
|
|
76
|
+
*/
|
|
77
|
+
throughputMbps: number;
|
|
78
|
+
/**
|
|
79
|
+
* Benchmark method used (e.g., vm_native)
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof BenchmarkRun
|
|
82
|
+
*/
|
|
83
|
+
method?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Error message if this iteration failed
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BenchmarkRun
|
|
88
|
+
*/
|
|
89
|
+
error?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Date}
|
|
93
|
+
* @memberof BenchmarkRun
|
|
94
|
+
*/
|
|
95
|
+
createdAt: Date;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Check if a given object implements the BenchmarkRun interface.
|
|
99
|
+
*/
|
|
100
|
+
export declare function instanceOfBenchmarkRun(value: object): value is BenchmarkRun;
|
|
101
|
+
export declare function BenchmarkRunFromJSON(json: any): BenchmarkRun;
|
|
102
|
+
export declare function BenchmarkRunFromJSONTyped(json: any, ignoreDiscriminator: boolean): BenchmarkRun;
|
|
103
|
+
export declare function BenchmarkRunToJSON(json: any): BenchmarkRun;
|
|
104
|
+
export declare function BenchmarkRunToJSONTyped(value?: BenchmarkRun | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,92 @@
|
|
|
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.instanceOfBenchmarkRun = instanceOfBenchmarkRun;
|
|
17
|
+
exports.BenchmarkRunFromJSON = BenchmarkRunFromJSON;
|
|
18
|
+
exports.BenchmarkRunFromJSONTyped = BenchmarkRunFromJSONTyped;
|
|
19
|
+
exports.BenchmarkRunToJSON = BenchmarkRunToJSON;
|
|
20
|
+
exports.BenchmarkRunToJSONTyped = BenchmarkRunToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BenchmarkRun interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBenchmarkRun(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('pairName' in value) || value['pairName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('iteration' in value) || value['iteration'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('diskSizeGb' in value) || value['diskSizeGb'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('durationSec' in value) || value['durationSec'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('throughputMbps' in value) || value['throughputMbps'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function BenchmarkRunFromJSON(json) {
|
|
48
|
+
return BenchmarkRunFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function BenchmarkRunFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': json['id'],
|
|
56
|
+
'sessionId': json['sessionId'],
|
|
57
|
+
'pairName': json['pairName'],
|
|
58
|
+
'sourceDatastore': json['sourceDatastore'],
|
|
59
|
+
'targetDatastore': json['targetDatastore'],
|
|
60
|
+
'iteration': json['iteration'],
|
|
61
|
+
'diskSizeGb': json['diskSizeGb'],
|
|
62
|
+
'prepDurationSec': json['prepDurationSec'] == null ? undefined : json['prepDurationSec'],
|
|
63
|
+
'durationSec': json['durationSec'],
|
|
64
|
+
'throughputMbps': json['throughputMbps'],
|
|
65
|
+
'method': json['method'] == null ? undefined : json['method'],
|
|
66
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
67
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function BenchmarkRunToJSON(json) {
|
|
71
|
+
return BenchmarkRunToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
function BenchmarkRunToJSONTyped(value, ignoreDiscriminator = false) {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'id': value['id'],
|
|
79
|
+
'sessionId': value['sessionId'],
|
|
80
|
+
'pairName': value['pairName'],
|
|
81
|
+
'sourceDatastore': value['sourceDatastore'],
|
|
82
|
+
'targetDatastore': value['targetDatastore'],
|
|
83
|
+
'iteration': value['iteration'],
|
|
84
|
+
'diskSizeGb': value['diskSizeGb'],
|
|
85
|
+
'prepDurationSec': value['prepDurationSec'],
|
|
86
|
+
'durationSec': value['durationSec'],
|
|
87
|
+
'throughputMbps': value['throughputMbps'],
|
|
88
|
+
'method': value['method'],
|
|
89
|
+
'error': value['error'],
|
|
90
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 ClusterFeatures
|
|
16
|
+
*/
|
|
17
|
+
export interface ClusterFeatures {
|
|
18
|
+
/**
|
|
19
|
+
* Whether DRS (Distributed Resource Scheduler) is enabled for this cluster
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ClusterFeatures
|
|
22
|
+
*/
|
|
23
|
+
drsEnabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* DRS automation mode for the cluster
|
|
26
|
+
* @type {ClusterFeaturesDrsModeEnum}
|
|
27
|
+
* @memberof ClusterFeatures
|
|
28
|
+
*/
|
|
29
|
+
drsMode?: ClusterFeaturesDrsModeEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Whether Storage DRS is enabled for this cluster
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ClusterFeatures
|
|
34
|
+
*/
|
|
35
|
+
storageDrsEnabled?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ClusterFeaturesDrsModeEnum: {
|
|
41
|
+
readonly FullyAutomated: "Fully Automated";
|
|
42
|
+
readonly PartiallyAutomated: "Partially Automated";
|
|
43
|
+
readonly Manual: "Manual";
|
|
44
|
+
readonly None: "None";
|
|
45
|
+
};
|
|
46
|
+
export type ClusterFeaturesDrsModeEnum = typeof ClusterFeaturesDrsModeEnum[keyof typeof ClusterFeaturesDrsModeEnum];
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the ClusterFeatures interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfClusterFeatures(value: object): value is ClusterFeatures;
|
|
51
|
+
export declare function ClusterFeaturesFromJSON(json: any): ClusterFeatures;
|
|
52
|
+
export declare function ClusterFeaturesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterFeatures;
|
|
53
|
+
export declare function ClusterFeaturesToJSON(json: any): ClusterFeatures;
|
|
54
|
+
export declare function ClusterFeaturesToJSONTyped(value?: ClusterFeatures | null, ignoreDiscriminator?: boolean): any;
|