@openshift-migration-advisor/agent-sdk 0.12.0-d4bdc4301890 → 0.12.0-e4c04f972747
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 +52 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +52 -5
- package/dist/apis/DefaultApi.d.ts +798 -20
- package/dist/apis/DefaultApi.js +878 -24
- package/dist/esm/apis/DefaultApi.d.ts +798 -20
- package/dist/esm/apis/DefaultApi.js +878 -24
- 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/CreateGroupRequest.d.ts +0 -6
- package/dist/esm/models/CreateGroupRequest.js +0 -2
- package/dist/esm/models/DatastoreDetail.d.ts +90 -0
- package/dist/esm/models/DatastoreDetail.js +74 -0
- package/dist/esm/models/DatastorePair.d.ts +50 -0
- package/dist/esm/models/DatastorePair.js +53 -0
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
- package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
- package/dist/esm/models/EstimateRange.d.ts +44 -0
- package/dist/esm/models/EstimateRange.js +45 -0
- package/dist/esm/models/ForecastStats.d.ts +87 -0
- package/dist/esm/models/ForecastStats.js +64 -0
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
- package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
- package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
- package/dist/esm/models/ForecasterPairStatus.js +82 -0
- package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
- package/dist/esm/models/ForecasterStartRequest.js +53 -0
- package/dist/esm/models/ForecasterStatus.d.ts +47 -0
- package/dist/esm/models/ForecasterStatus.js +53 -0
- package/dist/esm/models/Group.d.ts +0 -6
- package/dist/esm/models/Group.js +0 -2
- package/dist/esm/models/GroupResponse.d.ts +7 -0
- package/dist/esm/models/GroupResponse.js +3 -0
- package/dist/esm/models/InspectorStatus.d.ts +0 -17
- package/dist/esm/models/InspectorStatus.js +1 -10
- package/dist/esm/models/Inventory.d.ts +7 -1
- package/dist/esm/models/Inventory.js +5 -3
- package/dist/esm/models/InventoryData.d.ts +14 -0
- package/dist/esm/models/InventoryData.js +6 -0
- package/dist/esm/models/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 +6 -6
- package/dist/esm/models/RightsizingCollectRequest.js +12 -12
- package/dist/esm/models/RightsizingMetricStats.d.ts +1 -1
- package/dist/esm/models/RightsizingMetricStats.js +3 -3
- package/dist/esm/models/RightsizingReport.d.ts +6 -6
- package/dist/esm/models/RightsizingReport.js +18 -18
- package/dist/esm/models/RightsizingReportSummary.d.ts +6 -6
- package/dist/esm/models/RightsizingReportSummary.js +18 -18
- package/dist/esm/models/StartInspectionRequest.d.ts +8 -1
- package/dist/esm/models/StartInspectionRequest.js +5 -0
- package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/esm/models/StopForecasterPair202Response.js +49 -0
- package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/esm/models/UpdateGroupRequest.js +0 -2
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
- package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +56 -0
- package/dist/esm/models/VMFilterOptionsResponse.js +59 -0
- package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
- package/dist/esm/models/VMLabelsResponse.js +47 -0
- package/dist/esm/models/VMNIC.d.ts +12 -0
- package/dist/esm/models/VMNIC.js +4 -0
- package/dist/esm/models/VirtualMachine.d.ts +30 -6
- package/dist/esm/models/VirtualMachine.js +18 -10
- package/dist/esm/models/VirtualMachineDetail.d.ts +19 -0
- package/dist/esm/models/VirtualMachineDetail.js +7 -0
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
- package/dist/esm/models/VmUtilizationDetails.d.ts +27 -9
- package/dist/esm/models/VmUtilizationDetails.js +39 -27
- package/dist/esm/models/index.d.ts +26 -0
- package/dist/esm/models/index.js +26 -0
- 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/CreateGroupRequest.d.ts +0 -6
- package/dist/models/CreateGroupRequest.js +0 -2
- package/dist/models/DatastoreDetail.d.ts +90 -0
- package/dist/models/DatastoreDetail.js +82 -0
- package/dist/models/DatastorePair.d.ts +50 -0
- package/dist/models/DatastorePair.js +60 -0
- package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
- package/dist/models/DeleteLabelGloballyResponse.js +54 -0
- package/dist/models/EstimateRange.d.ts +44 -0
- package/dist/models/EstimateRange.js +52 -0
- package/dist/models/ForecastStats.d.ts +87 -0
- package/dist/models/ForecastStats.js +71 -0
- package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
- package/dist/models/ForecasterDatastoresRequest.js +49 -0
- package/dist/models/ForecasterPairStatus.d.ts +98 -0
- package/dist/models/ForecasterPairStatus.js +90 -0
- package/dist/models/ForecasterStartRequest.d.ts +58 -0
- package/dist/models/ForecasterStartRequest.js +60 -0
- package/dist/models/ForecasterStatus.d.ts +47 -0
- package/dist/models/ForecasterStatus.js +61 -0
- package/dist/models/Group.d.ts +0 -6
- package/dist/models/Group.js +0 -2
- package/dist/models/GroupResponse.d.ts +7 -0
- package/dist/models/GroupResponse.js +3 -0
- package/dist/models/InspectorStatus.d.ts +0 -17
- package/dist/models/InspectorStatus.js +1 -10
- package/dist/models/Inventory.d.ts +7 -1
- package/dist/models/Inventory.js +5 -3
- package/dist/models/InventoryData.d.ts +14 -0
- package/dist/models/InventoryData.js +6 -0
- package/dist/models/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 +6 -6
- package/dist/models/RightsizingCollectRequest.js +12 -12
- package/dist/models/RightsizingMetricStats.d.ts +1 -1
- package/dist/models/RightsizingMetricStats.js +3 -3
- package/dist/models/RightsizingReport.d.ts +6 -6
- package/dist/models/RightsizingReport.js +18 -18
- package/dist/models/RightsizingReportSummary.d.ts +6 -6
- package/dist/models/RightsizingReportSummary.js +18 -18
- package/dist/models/StartInspectionRequest.d.ts +8 -1
- package/dist/models/StartInspectionRequest.js +5 -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/VirtualMachine.d.ts +30 -6
- package/dist/models/VirtualMachine.js +18 -10
- package/dist/models/VirtualMachineDetail.d.ts +19 -0
- package/dist/models/VirtualMachineDetail.js +7 -0
- package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/models/VirtualMachineUpdateRequest.js +50 -0
- package/dist/models/VmUtilizationDetails.d.ts +27 -9
- package/dist/models/VmUtilizationDetails.js +39 -27
- package/dist/models/index.d.ts +26 -0
- package/dist/models/index.js +26 -0
- 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/CreateGroupRequest.md +0 -2
- package/docs/DatastoreDetail.md +50 -0
- package/docs/DatastorePair.md +40 -0
- package/docs/DefaultApi.md +1725 -308
- package/docs/DeleteLabelGloballyResponse.md +36 -0
- package/docs/EstimateRange.md +39 -0
- package/docs/ForecastStats.md +52 -0
- package/docs/ForecasterDatastoresRequest.md +34 -0
- package/docs/ForecasterPairStatus.md +52 -0
- package/docs/ForecasterStartRequest.md +42 -0
- package/docs/ForecasterStatus.md +36 -0
- package/docs/GetInventory200Response.md +4 -2
- package/docs/Group.md +0 -2
- package/docs/GroupResponse.md +2 -0
- package/docs/InspectorStatus.md +0 -4
- package/docs/Inventory.md +4 -2
- package/docs/InventoryData.md +4 -0
- package/docs/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 +12 -12
- package/docs/RightsizingMetricStats.md +2 -2
- package/docs/RightsizingReport.md +12 -12
- package/docs/RightsizingReportSummary.md +12 -12
- package/docs/StartInspectionRequest.md +3 -1
- package/docs/StopForecasterPair202Response.md +36 -0
- package/docs/UpdateGroupRequest.md +0 -2
- package/docs/UpdateLabelVMsRequest.md +36 -0
- package/docs/VMFilterOptionsResponse.md +42 -0
- package/docs/VMLabelsResponse.md +36 -0
- package/docs/VMNIC.md +4 -0
- package/docs/VirtualMachine.md +18 -10
- package/docs/VirtualMachineDetail.md +6 -0
- package/docs/VirtualMachineUpdateRequest.md +36 -0
- package/docs/VmUtilizationDetails.md +24 -18
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1700 -93
- 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/CreateGroupRequest.ts +0 -8
- package/src/models/DatastoreDetail.ts +146 -0
- package/src/models/DatastorePair.ts +92 -0
- package/src/models/DeleteLabelGloballyResponse.ts +75 -0
- package/src/models/EstimateRange.ts +81 -0
- package/src/models/ForecastStats.ts +147 -0
- package/src/models/ForecasterDatastoresRequest.ts +73 -0
- package/src/models/ForecasterPairStatus.ts +158 -0
- package/src/models/ForecasterStartRequest.ts +113 -0
- package/src/models/ForecasterStatus.ts +93 -0
- package/src/models/Group.ts +0 -8
- package/src/models/GroupResponse.ts +15 -0
- package/src/models/InspectorStatus.ts +1 -28
- package/src/models/Inventory.ts +12 -4
- package/src/models/InventoryData.ts +30 -0
- package/src/models/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 +18 -18
- package/src/models/RightsizingMetricStats.ts +4 -4
- package/src/models/RightsizingReport.ts +24 -24
- package/src/models/RightsizingReportSummary.ts +24 -24
- package/src/models/StartInspectionRequest.ts +18 -1
- package/src/models/StopForecasterPair202Response.ts +83 -0
- package/src/models/UpdateGroupRequest.ts +0 -8
- package/src/models/UpdateLabelVMsRequest.ts +73 -0
- package/src/models/VMFilterOptionsResponse.ts +102 -0
- package/src/models/VMLabelsResponse.ts +75 -0
- package/src/models/VMNIC.ts +16 -0
- package/src/models/VirtualMachine.ts +48 -16
- package/src/models/VirtualMachineDetail.ts +31 -0
- package/src/models/VirtualMachineUpdateRequest.ts +73 -0
- package/src/models/VmUtilizationDetails.ts +63 -36
- package/src/models/index.ts +26 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApplicationVM = instanceOfApplicationVM;
|
|
17
|
+
exports.ApplicationVMFromJSON = ApplicationVMFromJSON;
|
|
18
|
+
exports.ApplicationVMFromJSONTyped = ApplicationVMFromJSONTyped;
|
|
19
|
+
exports.ApplicationVMToJSON = ApplicationVMToJSON;
|
|
20
|
+
exports.ApplicationVMToJSONTyped = ApplicationVMToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApplicationVM interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApplicationVM(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ApplicationVMFromJSON(json) {
|
|
32
|
+
return ApplicationVMFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ApplicationVMFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ApplicationVMToJSON(json) {
|
|
44
|
+
return ApplicationVMToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ApplicationVMToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.ClusterFeaturesDrsModeEnum = void 0;
|
|
17
|
+
exports.instanceOfClusterFeatures = instanceOfClusterFeatures;
|
|
18
|
+
exports.ClusterFeaturesFromJSON = ClusterFeaturesFromJSON;
|
|
19
|
+
exports.ClusterFeaturesFromJSONTyped = ClusterFeaturesFromJSONTyped;
|
|
20
|
+
exports.ClusterFeaturesToJSON = ClusterFeaturesToJSON;
|
|
21
|
+
exports.ClusterFeaturesToJSONTyped = ClusterFeaturesToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ClusterFeaturesDrsModeEnum = {
|
|
26
|
+
FullyAutomated: 'Fully Automated',
|
|
27
|
+
PartiallyAutomated: 'Partially Automated',
|
|
28
|
+
Manual: 'Manual',
|
|
29
|
+
None: 'None'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ClusterFeatures interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfClusterFeatures(value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function ClusterFeaturesFromJSON(json) {
|
|
38
|
+
return ClusterFeaturesFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function ClusterFeaturesFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'drsEnabled': json['drsEnabled'] == null ? undefined : json['drsEnabled'],
|
|
46
|
+
'drsMode': json['drsMode'] == null ? undefined : json['drsMode'],
|
|
47
|
+
'storageDrsEnabled': json['storageDrsEnabled'] == null ? undefined : json['storageDrsEnabled'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ClusterFeaturesToJSON(json) {
|
|
51
|
+
return ClusterFeaturesToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ClusterFeaturesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'drsEnabled': value['drsEnabled'],
|
|
59
|
+
'drsMode': value['drsMode'],
|
|
60
|
+
'storageDrsEnabled': value['storageDrsEnabled'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 ClusterUtilization
|
|
16
|
+
*/
|
|
17
|
+
export interface ClusterUtilization {
|
|
18
|
+
/**
|
|
19
|
+
* Average CPU utilization percentage (0-100)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ClusterUtilization
|
|
22
|
+
*/
|
|
23
|
+
cpu_avg: number;
|
|
24
|
+
/**
|
|
25
|
+
* 95th percentile CPU utilization percentage (0-100)
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ClusterUtilization
|
|
28
|
+
*/
|
|
29
|
+
cpu_p95: number;
|
|
30
|
+
/**
|
|
31
|
+
* Maximum CPU utilization percentage (0-100)
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ClusterUtilization
|
|
34
|
+
*/
|
|
35
|
+
cpu_max: number;
|
|
36
|
+
/**
|
|
37
|
+
* Average memory utilization percentage (0-100)
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ClusterUtilization
|
|
40
|
+
*/
|
|
41
|
+
mem_avg: number;
|
|
42
|
+
/**
|
|
43
|
+
* 95th percentile memory utilization percentage (0-100)
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ClusterUtilization
|
|
46
|
+
*/
|
|
47
|
+
mem_p95: number;
|
|
48
|
+
/**
|
|
49
|
+
* Maximum memory utilization percentage (0-100)
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ClusterUtilization
|
|
52
|
+
*/
|
|
53
|
+
mem_max: number;
|
|
54
|
+
/**
|
|
55
|
+
* Data coverage confidence percentage (0-100), calculated as vCPU-weighted coverage
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ClusterUtilization
|
|
58
|
+
*/
|
|
59
|
+
confidence: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ClusterUtilization interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfClusterUtilization(value: object): value is ClusterUtilization;
|
|
65
|
+
export declare function ClusterUtilizationFromJSON(json: any): ClusterUtilization;
|
|
66
|
+
export declare function ClusterUtilizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterUtilization;
|
|
67
|
+
export declare function ClusterUtilizationToJSON(json: any): ClusterUtilization;
|
|
68
|
+
export declare function ClusterUtilizationToJSONTyped(value?: ClusterUtilization | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.instanceOfClusterUtilization = instanceOfClusterUtilization;
|
|
17
|
+
exports.ClusterUtilizationFromJSON = ClusterUtilizationFromJSON;
|
|
18
|
+
exports.ClusterUtilizationFromJSONTyped = ClusterUtilizationFromJSONTyped;
|
|
19
|
+
exports.ClusterUtilizationToJSON = ClusterUtilizationToJSON;
|
|
20
|
+
exports.ClusterUtilizationToJSONTyped = ClusterUtilizationToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ClusterUtilization interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfClusterUtilization(value) {
|
|
25
|
+
if (!('cpu_avg' in value) || value['cpu_avg'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('cpu_p95' in value) || value['cpu_p95'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('cpu_max' in value) || value['cpu_max'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('mem_avg' in value) || value['mem_avg'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('mem_p95' in value) || value['mem_p95'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('mem_max' in value) || value['mem_max'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('confidence' in value) || value['confidence'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function ClusterUtilizationFromJSON(json) {
|
|
42
|
+
return ClusterUtilizationFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ClusterUtilizationFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'cpu_avg': json['cpu_avg'],
|
|
50
|
+
'cpu_p95': json['cpu_p95'],
|
|
51
|
+
'cpu_max': json['cpu_max'],
|
|
52
|
+
'mem_avg': json['mem_avg'],
|
|
53
|
+
'mem_p95': json['mem_p95'],
|
|
54
|
+
'mem_max': json['mem_max'],
|
|
55
|
+
'confidence': json['confidence'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function ClusterUtilizationToJSON(json) {
|
|
59
|
+
return ClusterUtilizationToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function ClusterUtilizationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'cpu_avg': value['cpu_avg'],
|
|
67
|
+
'cpu_p95': value['cpu_p95'],
|
|
68
|
+
'cpu_max': value['cpu_max'],
|
|
69
|
+
'mem_avg': value['mem_avg'],
|
|
70
|
+
'mem_p95': value['mem_p95'],
|
|
71
|
+
'mem_max': value['mem_max'],
|
|
72
|
+
'confidence': value['confidence'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -33,12 +33,6 @@ export interface CreateGroupRequest {
|
|
|
33
33
|
* @memberof CreateGroupRequest
|
|
34
34
|
*/
|
|
35
35
|
filter: string;
|
|
36
|
-
/**
|
|
37
|
-
* Tags to apply to matching VMs (only alphanumeric, underscore, and dot allowed)
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof CreateGroupRequest
|
|
40
|
-
*/
|
|
41
|
-
tags?: Array<string>;
|
|
42
36
|
}
|
|
43
37
|
/**
|
|
44
38
|
* Check if a given object implements the CreateGroupRequest interface.
|
|
@@ -39,7 +39,6 @@ function CreateGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'name': json['name'],
|
|
40
40
|
'description': json['description'] == null ? undefined : json['description'],
|
|
41
41
|
'filter': json['filter'],
|
|
42
|
-
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
43
42
|
};
|
|
44
43
|
}
|
|
45
44
|
function CreateGroupRequestToJSON(json) {
|
|
@@ -53,6 +52,5 @@ function CreateGroupRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
53
52
|
'name': value['name'],
|
|
54
53
|
'description': value['description'],
|
|
55
54
|
'filter': value['filter'],
|
|
56
|
-
'tags': value['tags'],
|
|
57
55
|
};
|
|
58
56
|
}
|
|
@@ -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;
|