@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.0-1f1dc16fb9e5
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 +46 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +52 -17
- package/dist/apis/DefaultApi.d.ts +632 -126
- package/dist/apis/DefaultApi.js +710 -160
- package/dist/esm/apis/DefaultApi.d.ts +632 -126
- package/dist/esm/apis/DefaultApi.js +724 -174
- package/dist/esm/models/BenchmarkRun.d.ts +104 -0
- package/dist/esm/models/BenchmarkRun.js +85 -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/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 +20 -7
- package/dist/esm/models/InspectorStatus.js +12 -7
- 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/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 +32 -0
- package/dist/esm/models/StartInspectionRequest.js +43 -0
- package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/esm/models/StopForecasterPair202Response.js +49 -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 +31 -1
- package/dist/esm/models/VirtualMachine.js +12 -4
- package/dist/esm/models/VirtualMachineDetail.d.ts +3 -3
- package/dist/esm/models/VirtualMachineDetail.js +3 -3
- 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 +98 -0
- package/dist/esm/models/VmUtilizationDetails.js +87 -0
- package/dist/esm/models/index.d.ts +23 -1
- package/dist/esm/models/index.js +23 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +104 -0
- package/dist/models/BenchmarkRun.js +92 -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/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 +20 -7
- package/dist/models/InspectorStatus.js +12 -7
- 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/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 +32 -0
- package/dist/models/StartInspectionRequest.js +50 -0
- package/dist/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/models/StopForecasterPair202Response.js +57 -0
- package/dist/models/VMs.d.ts +18 -0
- package/dist/models/VMs.js +4 -0
- package/dist/models/VirtualMachine.d.ts +31 -1
- package/dist/models/VirtualMachine.js +12 -4
- package/dist/models/VirtualMachineDetail.d.ts +3 -3
- package/dist/models/VirtualMachineDetail.js +3 -3
- 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 +98 -0
- package/dist/models/VmUtilizationDetails.js +94 -0
- package/dist/models/index.d.ts +23 -1
- package/dist/models/index.js +23 -1
- package/dist/runtime.js +1 -1
- package/docs/BenchmarkRun.md +58 -0
- package/docs/DatastoreDetail.md +50 -0
- package/docs/DatastorePair.md +40 -0
- package/docs/DefaultApi.md +1123 -237
- 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/InspectorStatus.md +4 -0
- package/docs/PairCapability.md +40 -0
- package/docs/PairCapabilityRequest.md +36 -0
- package/docs/PutForecasterCredentials403Response.md +36 -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} +5 -6
- package/docs/StopForecasterPair202Response.md +36 -0
- package/docs/VMs.md +4 -0
- package/docs/VirtualMachine.md +12 -2
- package/docs/VirtualMachineDetail.md +1 -1
- package/docs/VmInspectionConcern.md +39 -0
- package/docs/VmInspectionResults.md +35 -0
- package/docs/VmUtilizationDetails.md +56 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1396 -350
- package/src/models/BenchmarkRun.ts +171 -0
- package/src/models/DatastoreDetail.ts +146 -0
- package/src/models/DatastorePair.ts +92 -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 +37 -7
- package/src/models/PairCapability.ts +106 -0
- package/src/models/PairCapabilityRequest.ts +89 -0
- package/src/models/PutForecasterCredentials403Response.ts +73 -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 +66 -0
- package/src/models/StopForecasterPair202Response.ts +83 -0
- package/src/models/VMs.ts +18 -0
- package/src/models/VirtualMachine.ts +43 -4
- package/src/models/VirtualMachineDetail.ts +11 -11
- 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 +165 -0
- package/src/models/index.ts +23 -1
- package/src/runtime.ts +1 -2
- package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
- package/dist/esm/models/InspectorStartRequest.js +0 -48
- 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,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,90 @@
|
|
|
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 DatastoreDetail
|
|
16
|
+
*/
|
|
17
|
+
export interface DatastoreDetail {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DatastoreDetail
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Datastore type (VMFS, NFS, VVol, OTHER)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DatastoreDetail
|
|
28
|
+
*/
|
|
29
|
+
type: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof DatastoreDetail
|
|
34
|
+
*/
|
|
35
|
+
capacityGb: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof DatastoreDetail
|
|
40
|
+
*/
|
|
41
|
+
freeGb: number;
|
|
42
|
+
/**
|
|
43
|
+
* SCSI vendor string (e.g., NETAPP, PURE, DGC)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DatastoreDetail
|
|
46
|
+
*/
|
|
47
|
+
storageVendor?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof DatastoreDetail
|
|
52
|
+
*/
|
|
53
|
+
storageModel?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Derived from NAA device ID prefix. Same value means same physical storage array. Absent for NFS and local datastores.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof DatastoreDetail
|
|
58
|
+
*/
|
|
59
|
+
storageArrayId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* NAA device identifiers for the datastore's backing LUNs
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof DatastoreDetail
|
|
64
|
+
*/
|
|
65
|
+
naaDevices?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Intrinsic offload capabilities of this datastore based on vendor support
|
|
68
|
+
* @type {Array<DatastoreDetailCapabilitiesEnum>}
|
|
69
|
+
* @memberof DatastoreDetail
|
|
70
|
+
*/
|
|
71
|
+
capabilities?: Array<DatastoreDetailCapabilitiesEnum>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const DatastoreDetailCapabilitiesEnum: {
|
|
77
|
+
readonly CopyOffload: "copy-offload";
|
|
78
|
+
readonly Xcopy: "xcopy";
|
|
79
|
+
readonly Rdm: "rdm";
|
|
80
|
+
readonly Vvol: "vvol";
|
|
81
|
+
};
|
|
82
|
+
export type DatastoreDetailCapabilitiesEnum = typeof DatastoreDetailCapabilitiesEnum[keyof typeof DatastoreDetailCapabilitiesEnum];
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the DatastoreDetail interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfDatastoreDetail(value: object): value is DatastoreDetail;
|
|
87
|
+
export declare function DatastoreDetailFromJSON(json: any): DatastoreDetail;
|
|
88
|
+
export declare function DatastoreDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatastoreDetail;
|
|
89
|
+
export declare function DatastoreDetailToJSON(json: any): DatastoreDetail;
|
|
90
|
+
export declare function DatastoreDetailToJSONTyped(value?: DatastoreDetail | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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.DatastoreDetailCapabilitiesEnum = void 0;
|
|
17
|
+
exports.instanceOfDatastoreDetail = instanceOfDatastoreDetail;
|
|
18
|
+
exports.DatastoreDetailFromJSON = DatastoreDetailFromJSON;
|
|
19
|
+
exports.DatastoreDetailFromJSONTyped = DatastoreDetailFromJSONTyped;
|
|
20
|
+
exports.DatastoreDetailToJSON = DatastoreDetailToJSON;
|
|
21
|
+
exports.DatastoreDetailToJSONTyped = DatastoreDetailToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.DatastoreDetailCapabilitiesEnum = {
|
|
26
|
+
CopyOffload: 'copy-offload',
|
|
27
|
+
Xcopy: 'xcopy',
|
|
28
|
+
Rdm: 'rdm',
|
|
29
|
+
Vvol: 'vvol'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DatastoreDetail interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfDatastoreDetail(value) {
|
|
35
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('capacityGb' in value) || value['capacityGb'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('freeGb' in value) || value['freeGb'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function DatastoreDetailFromJSON(json) {
|
|
46
|
+
return DatastoreDetailFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function DatastoreDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': json['name'],
|
|
54
|
+
'type': json['type'],
|
|
55
|
+
'capacityGb': json['capacityGb'],
|
|
56
|
+
'freeGb': json['freeGb'],
|
|
57
|
+
'storageVendor': json['storageVendor'] == null ? undefined : json['storageVendor'],
|
|
58
|
+
'storageModel': json['storageModel'] == null ? undefined : json['storageModel'],
|
|
59
|
+
'storageArrayId': json['storageArrayId'] == null ? undefined : json['storageArrayId'],
|
|
60
|
+
'naaDevices': json['naaDevices'] == null ? undefined : json['naaDevices'],
|
|
61
|
+
'capabilities': json['capabilities'] == null ? undefined : json['capabilities'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function DatastoreDetailToJSON(json) {
|
|
65
|
+
return DatastoreDetailToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function DatastoreDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'name': value['name'],
|
|
73
|
+
'type': value['type'],
|
|
74
|
+
'capacityGb': value['capacityGb'],
|
|
75
|
+
'freeGb': value['freeGb'],
|
|
76
|
+
'storageVendor': value['storageVendor'],
|
|
77
|
+
'storageModel': value['storageModel'],
|
|
78
|
+
'storageArrayId': value['storageArrayId'],
|
|
79
|
+
'naaDevices': value['naaDevices'],
|
|
80
|
+
'capabilities': value['capabilities'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 DatastorePair
|
|
16
|
+
*/
|
|
17
|
+
export interface DatastorePair {
|
|
18
|
+
/**
|
|
19
|
+
* User-defined name for this pair
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DatastorePair
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Source datastore name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DatastorePair
|
|
28
|
+
*/
|
|
29
|
+
sourceDatastore: string;
|
|
30
|
+
/**
|
|
31
|
+
* Target datastore name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DatastorePair
|
|
34
|
+
*/
|
|
35
|
+
targetDatastore: string;
|
|
36
|
+
/**
|
|
37
|
+
* Optional ESXi host name to pin the benchmark to. If omitted, a host common to both datastores is selected automatically.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DatastorePair
|
|
40
|
+
*/
|
|
41
|
+
host?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the DatastorePair interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfDatastorePair(value: object): value is DatastorePair;
|
|
47
|
+
export declare function DatastorePairFromJSON(json: any): DatastorePair;
|
|
48
|
+
export declare function DatastorePairFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatastorePair;
|
|
49
|
+
export declare function DatastorePairToJSON(json: any): DatastorePair;
|
|
50
|
+
export declare function DatastorePairToJSONTyped(value?: DatastorePair | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfDatastorePair = instanceOfDatastorePair;
|
|
17
|
+
exports.DatastorePairFromJSON = DatastorePairFromJSON;
|
|
18
|
+
exports.DatastorePairFromJSONTyped = DatastorePairFromJSONTyped;
|
|
19
|
+
exports.DatastorePairToJSON = DatastorePairToJSON;
|
|
20
|
+
exports.DatastorePairToJSONTyped = DatastorePairToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DatastorePair interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDatastorePair(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function DatastorePairFromJSON(json) {
|
|
34
|
+
return DatastorePairFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function DatastorePairFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'sourceDatastore': json['sourceDatastore'],
|
|
43
|
+
'targetDatastore': json['targetDatastore'],
|
|
44
|
+
'host': json['host'] == null ? undefined : json['host'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function DatastorePairToJSON(json) {
|
|
48
|
+
return DatastorePairToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function DatastorePairToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'sourceDatastore': value['sourceDatastore'],
|
|
57
|
+
'targetDatastore': value['targetDatastore'],
|
|
58
|
+
'host': value['host'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -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;
|