@openshift-migration-advisor/planner-sdk 0.4.0-190ea33a47ea
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 +105 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +173 -0
- package/dist/apis/AssessmentApi.d.ts +236 -0
- package/dist/apis/AssessmentApi.js +277 -0
- package/dist/apis/HealthApi.d.ts +54 -0
- package/dist/apis/HealthApi.js +66 -0
- package/dist/apis/ImageApi.d.ts +94 -0
- package/dist/apis/ImageApi.js +110 -0
- package/dist/apis/InfoApi.d.ts +55 -0
- package/dist/apis/InfoApi.js +68 -0
- package/dist/apis/JobApi.d.ts +131 -0
- package/dist/apis/JobApi.js +174 -0
- package/dist/apis/SourceApi.d.ts +260 -0
- package/dist/apis/SourceApi.js +309 -0
- package/dist/apis/index.d.ts +6 -0
- package/dist/apis/index.js +24 -0
- package/dist/esm/apis/AssessmentApi.d.ts +236 -0
- package/dist/esm/apis/AssessmentApi.js +273 -0
- package/dist/esm/apis/HealthApi.d.ts +54 -0
- package/dist/esm/apis/HealthApi.js +62 -0
- package/dist/esm/apis/ImageApi.d.ts +94 -0
- package/dist/esm/apis/ImageApi.js +106 -0
- package/dist/esm/apis/InfoApi.d.ts +55 -0
- package/dist/esm/apis/InfoApi.js +64 -0
- package/dist/esm/apis/JobApi.d.ts +131 -0
- package/dist/esm/apis/JobApi.js +170 -0
- package/dist/esm/apis/SourceApi.d.ts +260 -0
- package/dist/esm/apis/SourceApi.js +305 -0
- package/dist/esm/apis/index.d.ts +6 -0
- package/dist/esm/apis/index.js +8 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/Agent.d.ts +80 -0
- package/dist/esm/models/Agent.js +78 -0
- package/dist/esm/models/AgentProxy.d.ts +44 -0
- package/dist/esm/models/AgentProxy.js +45 -0
- package/dist/esm/models/Assessment.d.ts +84 -0
- package/dist/esm/models/Assessment.js +74 -0
- package/dist/esm/models/AssessmentForm.d.ts +54 -0
- package/dist/esm/models/AssessmentForm.js +52 -0
- package/dist/esm/models/AssessmentUpdate.d.ts +32 -0
- package/dist/esm/models/AssessmentUpdate.js +41 -0
- package/dist/esm/models/ClusterRequirementsRequest.d.ts +87 -0
- package/dist/esm/models/ClusterRequirementsRequest.js +80 -0
- package/dist/esm/models/ClusterRequirementsResponse.d.ts +47 -0
- package/dist/esm/models/ClusterRequirementsResponse.js +54 -0
- package/dist/esm/models/ClusterSizing.d.ts +62 -0
- package/dist/esm/models/ClusterSizing.js +63 -0
- package/dist/esm/models/Datastore.d.ts +80 -0
- package/dist/esm/models/Datastore.js +73 -0
- package/dist/esm/models/DiskSizeTierSummary.d.ts +38 -0
- package/dist/esm/models/DiskSizeTierSummary.js +47 -0
- package/dist/esm/models/DiskTypeSummary.d.ts +38 -0
- package/dist/esm/models/DiskTypeSummary.js +47 -0
- package/dist/esm/models/Histogram.d.ts +44 -0
- package/dist/esm/models/Histogram.js +51 -0
- package/dist/esm/models/Host.d.ts +62 -0
- package/dist/esm/models/Host.js +55 -0
- package/dist/esm/models/Info.d.ts +38 -0
- package/dist/esm/models/Info.js +47 -0
- package/dist/esm/models/Infra.d.ts +106 -0
- package/dist/esm/models/Infra.js +74 -0
- package/dist/esm/models/Inventory.d.ts +47 -0
- package/dist/esm/models/Inventory.js +51 -0
- package/dist/esm/models/InventoryData.d.ts +47 -0
- package/dist/esm/models/InventoryData.js +52 -0
- package/dist/esm/models/InventoryTotals.d.ts +44 -0
- package/dist/esm/models/InventoryTotals.js +51 -0
- package/dist/esm/models/Ipv4Config.d.ts +50 -0
- package/dist/esm/models/Ipv4Config.js +55 -0
- package/dist/esm/models/Job.d.ts +51 -0
- package/dist/esm/models/Job.js +52 -0
- package/dist/esm/models/JobStatus.d.ts +36 -0
- package/dist/esm/models/JobStatus.js +54 -0
- package/dist/esm/models/Label.d.ts +38 -0
- package/dist/esm/models/Label.js +47 -0
- package/dist/esm/models/MigrationIssue.d.ts +50 -0
- package/dist/esm/models/MigrationIssue.js +53 -0
- package/dist/esm/models/ModelError.d.ts +38 -0
- package/dist/esm/models/ModelError.js +45 -0
- package/dist/esm/models/Network.d.ts +66 -0
- package/dist/esm/models/Network.js +62 -0
- package/dist/esm/models/OsInfo.d.ts +44 -0
- package/dist/esm/models/OsInfo.js +49 -0
- package/dist/esm/models/PresignedUrl.d.ts +38 -0
- package/dist/esm/models/PresignedUrl.js +45 -0
- package/dist/esm/models/SizingOverCommitRatio.d.ts +38 -0
- package/dist/esm/models/SizingOverCommitRatio.js +47 -0
- package/dist/esm/models/SizingResourceConsumption.d.ts +52 -0
- package/dist/esm/models/SizingResourceConsumption.js +53 -0
- package/dist/esm/models/SizingResourceLimits.d.ts +38 -0
- package/dist/esm/models/SizingResourceLimits.js +47 -0
- package/dist/esm/models/Snapshot.d.ts +39 -0
- package/dist/esm/models/Snapshot.js +48 -0
- package/dist/esm/models/Source.d.ts +84 -0
- package/dist/esm/models/Source.js +71 -0
- package/dist/esm/models/SourceCreate.d.ts +65 -0
- package/dist/esm/models/SourceCreate.js +56 -0
- package/dist/esm/models/SourceInfra.d.ts +46 -0
- package/dist/esm/models/SourceInfra.js +47 -0
- package/dist/esm/models/SourceUpdate.d.ts +65 -0
- package/dist/esm/models/SourceUpdate.js +54 -0
- package/dist/esm/models/Status.d.ts +44 -0
- package/dist/esm/models/Status.js +45 -0
- package/dist/esm/models/UpdateInventory.d.ts +39 -0
- package/dist/esm/models/UpdateInventory.js +48 -0
- package/dist/esm/models/VCenter.d.ts +32 -0
- package/dist/esm/models/VCenter.js +43 -0
- package/dist/esm/models/VMResourceBreakdown.d.ts +58 -0
- package/dist/esm/models/VMResourceBreakdown.js +58 -0
- package/dist/esm/models/VMs.d.ts +162 -0
- package/dist/esm/models/VMs.js +101 -0
- package/dist/esm/models/VmNetwork.d.ts +33 -0
- package/dist/esm/models/VmNetwork.js +42 -0
- package/dist/esm/models/index.d.ts +41 -0
- package/dist/esm/models/index.js +43 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/Agent.d.ts +80 -0
- package/dist/models/Agent.js +86 -0
- package/dist/models/AgentProxy.d.ts +44 -0
- package/dist/models/AgentProxy.js +52 -0
- package/dist/models/Assessment.d.ts +84 -0
- package/dist/models/Assessment.js +82 -0
- package/dist/models/AssessmentForm.d.ts +54 -0
- package/dist/models/AssessmentForm.js +59 -0
- package/dist/models/AssessmentUpdate.d.ts +32 -0
- package/dist/models/AssessmentUpdate.js +48 -0
- package/dist/models/ClusterRequirementsRequest.d.ts +87 -0
- package/dist/models/ClusterRequirementsRequest.js +88 -0
- package/dist/models/ClusterRequirementsResponse.d.ts +47 -0
- package/dist/models/ClusterRequirementsResponse.js +61 -0
- package/dist/models/ClusterSizing.d.ts +62 -0
- package/dist/models/ClusterSizing.js +70 -0
- package/dist/models/Datastore.d.ts +80 -0
- package/dist/models/Datastore.js +80 -0
- package/dist/models/DiskSizeTierSummary.d.ts +38 -0
- package/dist/models/DiskSizeTierSummary.js +54 -0
- package/dist/models/DiskTypeSummary.d.ts +38 -0
- package/dist/models/DiskTypeSummary.js +54 -0
- package/dist/models/Histogram.d.ts +44 -0
- package/dist/models/Histogram.js +58 -0
- package/dist/models/Host.d.ts +62 -0
- package/dist/models/Host.js +62 -0
- package/dist/models/Info.d.ts +38 -0
- package/dist/models/Info.js +54 -0
- package/dist/models/Infra.d.ts +106 -0
- package/dist/models/Infra.js +81 -0
- package/dist/models/Inventory.d.ts +47 -0
- package/dist/models/Inventory.js +58 -0
- package/dist/models/InventoryData.d.ts +47 -0
- package/dist/models/InventoryData.js +59 -0
- package/dist/models/InventoryTotals.d.ts +44 -0
- package/dist/models/InventoryTotals.js +58 -0
- package/dist/models/Ipv4Config.d.ts +50 -0
- package/dist/models/Ipv4Config.js +62 -0
- package/dist/models/Job.d.ts +51 -0
- package/dist/models/Job.js +59 -0
- package/dist/models/JobStatus.d.ts +36 -0
- package/dist/models/JobStatus.js +62 -0
- package/dist/models/Label.d.ts +38 -0
- package/dist/models/Label.js +54 -0
- package/dist/models/MigrationIssue.d.ts +50 -0
- package/dist/models/MigrationIssue.js +60 -0
- package/dist/models/ModelError.d.ts +38 -0
- package/dist/models/ModelError.js +52 -0
- package/dist/models/Network.d.ts +66 -0
- package/dist/models/Network.js +70 -0
- package/dist/models/OsInfo.d.ts +44 -0
- package/dist/models/OsInfo.js +56 -0
- package/dist/models/PresignedUrl.d.ts +38 -0
- package/dist/models/PresignedUrl.js +52 -0
- package/dist/models/SizingOverCommitRatio.d.ts +38 -0
- package/dist/models/SizingOverCommitRatio.js +54 -0
- package/dist/models/SizingResourceConsumption.d.ts +52 -0
- package/dist/models/SizingResourceConsumption.js +60 -0
- package/dist/models/SizingResourceLimits.d.ts +38 -0
- package/dist/models/SizingResourceLimits.js +54 -0
- package/dist/models/Snapshot.d.ts +39 -0
- package/dist/models/Snapshot.js +55 -0
- package/dist/models/Source.d.ts +84 -0
- package/dist/models/Source.js +78 -0
- package/dist/models/SourceCreate.d.ts +65 -0
- package/dist/models/SourceCreate.js +63 -0
- package/dist/models/SourceInfra.d.ts +46 -0
- package/dist/models/SourceInfra.js +54 -0
- package/dist/models/SourceUpdate.d.ts +65 -0
- package/dist/models/SourceUpdate.js +61 -0
- package/dist/models/Status.d.ts +44 -0
- package/dist/models/Status.js +52 -0
- package/dist/models/UpdateInventory.d.ts +39 -0
- package/dist/models/UpdateInventory.js +55 -0
- package/dist/models/VCenter.d.ts +32 -0
- package/dist/models/VCenter.js +50 -0
- package/dist/models/VMResourceBreakdown.d.ts +58 -0
- package/dist/models/VMResourceBreakdown.js +65 -0
- package/dist/models/VMs.d.ts +162 -0
- package/dist/models/VMs.js +108 -0
- package/dist/models/VmNetwork.d.ts +33 -0
- package/dist/models/VmNetwork.js +49 -0
- package/dist/models/index.d.ts +41 -0
- package/dist/models/index.js +59 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/docs/Agent.md +46 -0
- package/docs/AgentProxy.md +38 -0
- package/docs/Assessment.md +48 -0
- package/docs/AssessmentApi.md +448 -0
- package/docs/AssessmentForm.md +40 -0
- package/docs/AssessmentUpdate.md +35 -0
- package/docs/ClusterRequirementsRequest.md +47 -0
- package/docs/ClusterRequirementsResponse.md +39 -0
- package/docs/ClusterSizing.md +45 -0
- package/docs/Datastore.md +50 -0
- package/docs/DiskSizeTierSummary.md +36 -0
- package/docs/DiskTypeSummary.md +36 -0
- package/docs/HealthApi.md +68 -0
- package/docs/Histogram.md +38 -0
- package/docs/Host.md +44 -0
- package/docs/ImageApi.md +152 -0
- package/docs/Info.md +37 -0
- package/docs/InfoApi.md +69 -0
- package/docs/Infra.md +56 -0
- package/docs/Inventory.md +38 -0
- package/docs/InventoryData.md +38 -0
- package/docs/InventoryTotals.md +39 -0
- package/docs/Ipv4Config.md +40 -0
- package/docs/Job.md +41 -0
- package/docs/JobApi.md +229 -0
- package/docs/JobStatus.md +33 -0
- package/docs/Label.md +36 -0
- package/docs/MigrationIssue.md +40 -0
- package/docs/ModelError.md +36 -0
- package/docs/Network.md +42 -0
- package/docs/OsInfo.md +38 -0
- package/docs/PresignedUrl.md +36 -0
- package/docs/SizingOverCommitRatio.md +37 -0
- package/docs/SizingResourceConsumption.md +41 -0
- package/docs/SizingResourceLimits.md +37 -0
- package/docs/Snapshot.md +36 -0
- package/docs/Source.md +50 -0
- package/docs/SourceApi.md +501 -0
- package/docs/SourceCreate.md +44 -0
- package/docs/SourceInfra.md +38 -0
- package/docs/SourceUpdate.md +44 -0
- package/docs/Status.md +39 -0
- package/docs/UpdateInventory.md +36 -0
- package/docs/VCenter.md +34 -0
- package/docs/VMResourceBreakdown.md +42 -0
- package/docs/VMs.md +70 -0
- package/docs/VmNetwork.md +34 -0
- package/package.json +22 -0
- package/src/apis/AssessmentApi.ts +501 -0
- package/src/apis/HealthApi.ts +88 -0
- package/src/apis/ImageApi.ts +180 -0
- package/src/apis/InfoApi.ts +96 -0
- package/src/apis/JobApi.ts +286 -0
- package/src/apis/SourceApi.ts +548 -0
- package/src/apis/index.ts +8 -0
- package/src/index.ts +5 -0
- package/src/models/Agent.ts +135 -0
- package/src/models/AgentProxy.ts +81 -0
- package/src/models/Assessment.ts +146 -0
- package/src/models/AssessmentForm.ts +102 -0
- package/src/models/AssessmentUpdate.ts +65 -0
- package/src/models/ClusterRequirementsRequest.ts +141 -0
- package/src/models/ClusterRequirementsResponse.ts +106 -0
- package/src/models/ClusterSizing.ts +111 -0
- package/src/models/Datastore.ts +137 -0
- package/src/models/DiskSizeTierSummary.ts +75 -0
- package/src/models/DiskTypeSummary.ts +75 -0
- package/src/models/Histogram.ts +84 -0
- package/src/models/Host.ts +107 -0
- package/src/models/Info.ts +75 -0
- package/src/models/Infra.ts +182 -0
- package/src/models/Inventory.ts +91 -0
- package/src/models/InventoryData.ts +105 -0
- package/src/models/InventoryTotals.ts +84 -0
- package/src/models/Ipv4Config.ts +93 -0
- package/src/models/Job.ts +101 -0
- package/src/models/JobStatus.ts +64 -0
- package/src/models/Label.ts +75 -0
- package/src/models/MigrationIssue.ts +92 -0
- package/src/models/ModelError.ts +74 -0
- package/src/models/Network.ts +112 -0
- package/src/models/OsInfo.ts +83 -0
- package/src/models/PresignedUrl.ts +74 -0
- package/src/models/SizingOverCommitRatio.ts +75 -0
- package/src/models/SizingResourceConsumption.ts +106 -0
- package/src/models/SizingResourceLimits.ts +75 -0
- package/src/models/Snapshot.ts +83 -0
- package/src/models/Source.ts +163 -0
- package/src/models/SourceCreate.ts +128 -0
- package/src/models/SourceInfra.ts +96 -0
- package/src/models/SourceUpdate.ts +127 -0
- package/src/models/Status.ts +81 -0
- package/src/models/UpdateInventory.ts +83 -0
- package/src/models/VCenter.ts +66 -0
- package/src/models/VMResourceBreakdown.ts +110 -0
- package/src/models/VMs.ts +255 -0
- package/src/models/VmNetwork.ts +73 -0
- package/src/models/index.ts +43 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Migration Planner API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
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.instanceOfUpdateInventory = instanceOfUpdateInventory;
|
|
17
|
+
exports.UpdateInventoryFromJSON = UpdateInventoryFromJSON;
|
|
18
|
+
exports.UpdateInventoryFromJSONTyped = UpdateInventoryFromJSONTyped;
|
|
19
|
+
exports.UpdateInventoryToJSON = UpdateInventoryToJSON;
|
|
20
|
+
exports.UpdateInventoryToJSONTyped = UpdateInventoryToJSONTyped;
|
|
21
|
+
const Inventory_js_1 = require("./Inventory.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdateInventory interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdateInventory(value) {
|
|
26
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('inventory' in value) || value['inventory'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function UpdateInventoryFromJSON(json) {
|
|
33
|
+
return UpdateInventoryFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function UpdateInventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'agentId': json['agentId'],
|
|
41
|
+
'inventory': (0, Inventory_js_1.InventoryFromJSON)(json['inventory']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function UpdateInventoryToJSON(json) {
|
|
45
|
+
return UpdateInventoryToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UpdateInventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'agentId': value['agentId'],
|
|
53
|
+
'inventory': (0, Inventory_js_1.InventoryToJSON)(value['inventory']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Migration Planner API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
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 VCenter
|
|
16
|
+
*/
|
|
17
|
+
export interface VCenter {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VCenter
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the VCenter interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfVCenter(value: object): value is VCenter;
|
|
29
|
+
export declare function VCenterFromJSON(json: any): VCenter;
|
|
30
|
+
export declare function VCenterFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCenter;
|
|
31
|
+
export declare function VCenterToJSON(json: any): VCenter;
|
|
32
|
+
export declare function VCenterToJSONTyped(value?: VCenter | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Migration Planner API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
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.instanceOfVCenter = instanceOfVCenter;
|
|
17
|
+
exports.VCenterFromJSON = VCenterFromJSON;
|
|
18
|
+
exports.VCenterFromJSONTyped = VCenterFromJSONTyped;
|
|
19
|
+
exports.VCenterToJSON = VCenterToJSON;
|
|
20
|
+
exports.VCenterToJSONTyped = VCenterToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VCenter interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVCenter(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function VCenterFromJSON(json) {
|
|
30
|
+
return VCenterFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function VCenterFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function VCenterToJSON(json) {
|
|
41
|
+
return VCenterToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function VCenterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Migration Planner API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
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 { Histogram } from './Histogram.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface VMResourceBreakdown
|
|
17
|
+
*/
|
|
18
|
+
export interface VMResourceBreakdown {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof VMResourceBreakdown
|
|
23
|
+
*/
|
|
24
|
+
total: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof VMResourceBreakdown
|
|
29
|
+
*/
|
|
30
|
+
totalForMigratable: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof VMResourceBreakdown
|
|
35
|
+
*/
|
|
36
|
+
totalForMigratableWithWarnings: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof VMResourceBreakdown
|
|
41
|
+
*/
|
|
42
|
+
totalForNotMigratable: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Histogram}
|
|
46
|
+
* @memberof VMResourceBreakdown
|
|
47
|
+
* @deprecated
|
|
48
|
+
*/
|
|
49
|
+
histogram?: Histogram;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the VMResourceBreakdown interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfVMResourceBreakdown(value: object): value is VMResourceBreakdown;
|
|
55
|
+
export declare function VMResourceBreakdownFromJSON(json: any): VMResourceBreakdown;
|
|
56
|
+
export declare function VMResourceBreakdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMResourceBreakdown;
|
|
57
|
+
export declare function VMResourceBreakdownToJSON(json: any): VMResourceBreakdown;
|
|
58
|
+
export declare function VMResourceBreakdownToJSONTyped(value?: VMResourceBreakdown | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Migration Planner API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
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.instanceOfVMResourceBreakdown = instanceOfVMResourceBreakdown;
|
|
17
|
+
exports.VMResourceBreakdownFromJSON = VMResourceBreakdownFromJSON;
|
|
18
|
+
exports.VMResourceBreakdownFromJSONTyped = VMResourceBreakdownFromJSONTyped;
|
|
19
|
+
exports.VMResourceBreakdownToJSON = VMResourceBreakdownToJSON;
|
|
20
|
+
exports.VMResourceBreakdownToJSONTyped = VMResourceBreakdownToJSONTyped;
|
|
21
|
+
const Histogram_js_1 = require("./Histogram.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the VMResourceBreakdown interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfVMResourceBreakdown(value) {
|
|
26
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('totalForMigratable' in value) || value['totalForMigratable'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('totalForMigratableWithWarnings' in value) || value['totalForMigratableWithWarnings'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('totalForNotMigratable' in value) || value['totalForNotMigratable'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function VMResourceBreakdownFromJSON(json) {
|
|
37
|
+
return VMResourceBreakdownFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function VMResourceBreakdownFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'total': json['total'],
|
|
45
|
+
'totalForMigratable': json['totalForMigratable'],
|
|
46
|
+
'totalForMigratableWithWarnings': json['totalForMigratableWithWarnings'],
|
|
47
|
+
'totalForNotMigratable': json['totalForNotMigratable'],
|
|
48
|
+
'histogram': json['histogram'] == null ? undefined : (0, Histogram_js_1.HistogramFromJSON)(json['histogram']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function VMResourceBreakdownToJSON(json) {
|
|
52
|
+
return VMResourceBreakdownToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function VMResourceBreakdownToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'total': value['total'],
|
|
60
|
+
'totalForMigratable': value['totalForMigratable'],
|
|
61
|
+
'totalForMigratableWithWarnings': value['totalForMigratableWithWarnings'],
|
|
62
|
+
'totalForNotMigratable': value['totalForNotMigratable'],
|
|
63
|
+
'histogram': (0, Histogram_js_1.HistogramToJSON)(value['histogram']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Migration Planner API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
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 { MigrationIssue } from './MigrationIssue.js';
|
|
13
|
+
import type { OsInfo } from './OsInfo.js';
|
|
14
|
+
import type { DiskSizeTierSummary } from './DiskSizeTierSummary.js';
|
|
15
|
+
import type { DiskTypeSummary } from './DiskTypeSummary.js';
|
|
16
|
+
import type { VMResourceBreakdown } from './VMResourceBreakdown.js';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface VMs
|
|
21
|
+
*/
|
|
22
|
+
export interface VMs {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof VMs
|
|
27
|
+
*/
|
|
28
|
+
total: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof VMs
|
|
33
|
+
*/
|
|
34
|
+
totalMigratable: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof VMs
|
|
39
|
+
*/
|
|
40
|
+
totalMigratableWithWarnings?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Number of VMs that have at least one shared disk
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof VMs
|
|
45
|
+
*/
|
|
46
|
+
totalWithSharedDisks?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {VMResourceBreakdown}
|
|
50
|
+
* @memberof VMs
|
|
51
|
+
*/
|
|
52
|
+
cpuCores: VMResourceBreakdown;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
56
|
+
* @memberof VMs
|
|
57
|
+
*/
|
|
58
|
+
diskSizeTier?: {
|
|
59
|
+
[key: string]: DiskSizeTierSummary;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {{ [key: string]: DiskTypeSummary; }}
|
|
64
|
+
* @memberof VMs
|
|
65
|
+
*/
|
|
66
|
+
diskTypes?: {
|
|
67
|
+
[key: string]: DiskTypeSummary;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Distribution of VMs across CPU tier buckets (e.g., "0-4", "5-8", "9-16", "17-32", "32+")
|
|
71
|
+
* @type {{ [key: string]: number; }}
|
|
72
|
+
* @memberof VMs
|
|
73
|
+
*/
|
|
74
|
+
distributionByCpuTier?: {
|
|
75
|
+
[key: string]: number;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Distribution of VMs across Memory tier buckets (e.g., "0-4", "5-16", "17-32", "33-64", "65-128", "129-256", "256+")
|
|
79
|
+
* @type {{ [key: string]: number; }}
|
|
80
|
+
* @memberof VMs
|
|
81
|
+
*/
|
|
82
|
+
distributionByMemoryTier?: {
|
|
83
|
+
[key: string]: number;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Distribution of VMs by NIC count (e.g., "0", "1", "2", "3", "4+")
|
|
87
|
+
* @type {{ [key: string]: number; }}
|
|
88
|
+
* @memberof VMs
|
|
89
|
+
*/
|
|
90
|
+
distributionByNicCount?: {
|
|
91
|
+
[key: string]: number;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {VMResourceBreakdown}
|
|
96
|
+
* @memberof VMs
|
|
97
|
+
*/
|
|
98
|
+
ramGB: VMResourceBreakdown;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {VMResourceBreakdown}
|
|
102
|
+
* @memberof VMs
|
|
103
|
+
*/
|
|
104
|
+
diskGB: VMResourceBreakdown;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {VMResourceBreakdown}
|
|
108
|
+
* @memberof VMs
|
|
109
|
+
*/
|
|
110
|
+
diskCount: VMResourceBreakdown;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {VMResourceBreakdown}
|
|
114
|
+
* @memberof VMs
|
|
115
|
+
*/
|
|
116
|
+
nicCount?: VMResourceBreakdown;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {{ [key: string]: number; }}
|
|
120
|
+
* @memberof VMs
|
|
121
|
+
*/
|
|
122
|
+
powerStates: {
|
|
123
|
+
[key: string]: number;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {{ [key: string]: number; }}
|
|
128
|
+
* @memberof VMs
|
|
129
|
+
* @deprecated
|
|
130
|
+
*/
|
|
131
|
+
os?: {
|
|
132
|
+
[key: string]: number;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {{ [key: string]: OsInfo; }}
|
|
137
|
+
* @memberof VMs
|
|
138
|
+
*/
|
|
139
|
+
osInfo?: {
|
|
140
|
+
[key: string]: OsInfo;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {Array<MigrationIssue>}
|
|
145
|
+
* @memberof VMs
|
|
146
|
+
*/
|
|
147
|
+
notMigratableReasons: Array<MigrationIssue>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {Array<MigrationIssue>}
|
|
151
|
+
* @memberof VMs
|
|
152
|
+
*/
|
|
153
|
+
migrationWarnings: Array<MigrationIssue>;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Check if a given object implements the VMs interface.
|
|
157
|
+
*/
|
|
158
|
+
export declare function instanceOfVMs(value: object): value is VMs;
|
|
159
|
+
export declare function VMsFromJSON(json: any): VMs;
|
|
160
|
+
export declare function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs;
|
|
161
|
+
export declare function VMsToJSON(json: any): VMs;
|
|
162
|
+
export declare function VMsToJSONTyped(value?: VMs | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Migration Planner API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
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.instanceOfVMs = instanceOfVMs;
|
|
17
|
+
exports.VMsFromJSON = VMsFromJSON;
|
|
18
|
+
exports.VMsFromJSONTyped = VMsFromJSONTyped;
|
|
19
|
+
exports.VMsToJSON = VMsToJSON;
|
|
20
|
+
exports.VMsToJSONTyped = VMsToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const MigrationIssue_js_1 = require("./MigrationIssue.js");
|
|
23
|
+
const OsInfo_js_1 = require("./OsInfo.js");
|
|
24
|
+
const DiskSizeTierSummary_js_1 = require("./DiskSizeTierSummary.js");
|
|
25
|
+
const DiskTypeSummary_js_1 = require("./DiskTypeSummary.js");
|
|
26
|
+
const VMResourceBreakdown_js_1 = require("./VMResourceBreakdown.js");
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the VMs interface.
|
|
29
|
+
*/
|
|
30
|
+
function instanceOfVMs(value) {
|
|
31
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('totalMigratable' in value) || value['totalMigratable'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('cpuCores' in value) || value['cpuCores'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('ramGB' in value) || value['ramGB'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('diskGB' in value) || value['diskGB'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('diskCount' in value) || value['diskCount'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('powerStates' in value) || value['powerStates'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('notMigratableReasons' in value) || value['notMigratableReasons'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('migrationWarnings' in value) || value['migrationWarnings'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function VMsFromJSON(json) {
|
|
52
|
+
return VMsFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function VMsFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'total': json['total'],
|
|
60
|
+
'totalMigratable': json['totalMigratable'],
|
|
61
|
+
'totalMigratableWithWarnings': json['totalMigratableWithWarnings'] == null ? undefined : json['totalMigratableWithWarnings'],
|
|
62
|
+
'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
|
|
63
|
+
'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['cpuCores']),
|
|
64
|
+
'diskSizeTier': json['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
|
|
65
|
+
'diskTypes': json['diskTypes'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskTypes'], DiskTypeSummary_js_1.DiskTypeSummaryFromJSON)),
|
|
66
|
+
'distributionByCpuTier': json['distributionByCpuTier'] == null ? undefined : json['distributionByCpuTier'],
|
|
67
|
+
'distributionByMemoryTier': json['distributionByMemoryTier'] == null ? undefined : json['distributionByMemoryTier'],
|
|
68
|
+
'distributionByNicCount': json['distributionByNicCount'] == null ? undefined : json['distributionByNicCount'],
|
|
69
|
+
'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['ramGB']),
|
|
70
|
+
'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskGB']),
|
|
71
|
+
'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskCount']),
|
|
72
|
+
'nicCount': json['nicCount'] == null ? undefined : (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['nicCount']),
|
|
73
|
+
'powerStates': json['powerStates'],
|
|
74
|
+
'os': json['os'] == null ? undefined : json['os'],
|
|
75
|
+
'osInfo': json['osInfo'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['osInfo'], OsInfo_js_1.OsInfoFromJSON)),
|
|
76
|
+
'notMigratableReasons': (json['notMigratableReasons'].map(MigrationIssue_js_1.MigrationIssueFromJSON)),
|
|
77
|
+
'migrationWarnings': (json['migrationWarnings'].map(MigrationIssue_js_1.MigrationIssueFromJSON)),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function VMsToJSON(json) {
|
|
81
|
+
return VMsToJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
function VMsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
'total': value['total'],
|
|
89
|
+
'totalMigratable': value['totalMigratable'],
|
|
90
|
+
'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
|
|
91
|
+
'totalWithSharedDisks': value['totalWithSharedDisks'],
|
|
92
|
+
'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['cpuCores']),
|
|
93
|
+
'diskSizeTier': value['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
|
|
94
|
+
'diskTypes': value['diskTypes'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskTypes'], DiskTypeSummary_js_1.DiskTypeSummaryToJSON)),
|
|
95
|
+
'distributionByCpuTier': value['distributionByCpuTier'],
|
|
96
|
+
'distributionByMemoryTier': value['distributionByMemoryTier'],
|
|
97
|
+
'distributionByNicCount': value['distributionByNicCount'],
|
|
98
|
+
'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['ramGB']),
|
|
99
|
+
'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskGB']),
|
|
100
|
+
'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskCount']),
|
|
101
|
+
'nicCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['nicCount']),
|
|
102
|
+
'powerStates': value['powerStates'],
|
|
103
|
+
'os': value['os'],
|
|
104
|
+
'osInfo': value['osInfo'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['osInfo'], OsInfo_js_1.OsInfoToJSON)),
|
|
105
|
+
'notMigratableReasons': (value['notMigratableReasons'].map(MigrationIssue_js_1.MigrationIssueToJSON)),
|
|
106
|
+
'migrationWarnings': (value['migrationWarnings'].map(MigrationIssue_js_1.MigrationIssueToJSON)),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Migration Planner API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
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 { Ipv4Config } from './Ipv4Config.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface VmNetwork
|
|
17
|
+
*/
|
|
18
|
+
export interface VmNetwork {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Ipv4Config}
|
|
22
|
+
* @memberof VmNetwork
|
|
23
|
+
*/
|
|
24
|
+
ipv4?: Ipv4Config;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the VmNetwork interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfVmNetwork(value: object): value is VmNetwork;
|
|
30
|
+
export declare function VmNetworkFromJSON(json: any): VmNetwork;
|
|
31
|
+
export declare function VmNetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmNetwork;
|
|
32
|
+
export declare function VmNetworkToJSON(json: any): VmNetwork;
|
|
33
|
+
export declare function VmNetworkToJSONTyped(value?: VmNetwork | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Migration Planner API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: undefined
|
|
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.instanceOfVmNetwork = instanceOfVmNetwork;
|
|
17
|
+
exports.VmNetworkFromJSON = VmNetworkFromJSON;
|
|
18
|
+
exports.VmNetworkFromJSONTyped = VmNetworkFromJSONTyped;
|
|
19
|
+
exports.VmNetworkToJSON = VmNetworkToJSON;
|
|
20
|
+
exports.VmNetworkToJSONTyped = VmNetworkToJSONTyped;
|
|
21
|
+
const Ipv4Config_js_1 = require("./Ipv4Config.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the VmNetwork interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfVmNetwork(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function VmNetworkFromJSON(json) {
|
|
29
|
+
return VmNetworkFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function VmNetworkFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'ipv4': json['ipv4'] == null ? undefined : (0, Ipv4Config_js_1.Ipv4ConfigFromJSON)(json['ipv4']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function VmNetworkToJSON(json) {
|
|
40
|
+
return VmNetworkToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function VmNetworkToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'ipv4': (0, Ipv4Config_js_1.Ipv4ConfigToJSON)(value['ipv4']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export * from './Agent.js';
|
|
2
|
+
export * from './AgentProxy.js';
|
|
3
|
+
export * from './Assessment.js';
|
|
4
|
+
export * from './AssessmentForm.js';
|
|
5
|
+
export * from './AssessmentUpdate.js';
|
|
6
|
+
export * from './ClusterRequirementsRequest.js';
|
|
7
|
+
export * from './ClusterRequirementsResponse.js';
|
|
8
|
+
export * from './ClusterSizing.js';
|
|
9
|
+
export * from './Datastore.js';
|
|
10
|
+
export * from './DiskSizeTierSummary.js';
|
|
11
|
+
export * from './DiskTypeSummary.js';
|
|
12
|
+
export * from './Histogram.js';
|
|
13
|
+
export * from './Host.js';
|
|
14
|
+
export * from './Info.js';
|
|
15
|
+
export * from './Infra.js';
|
|
16
|
+
export * from './Inventory.js';
|
|
17
|
+
export * from './InventoryData.js';
|
|
18
|
+
export * from './InventoryTotals.js';
|
|
19
|
+
export * from './Ipv4Config.js';
|
|
20
|
+
export * from './Job.js';
|
|
21
|
+
export * from './JobStatus.js';
|
|
22
|
+
export * from './Label.js';
|
|
23
|
+
export * from './MigrationIssue.js';
|
|
24
|
+
export * from './ModelError.js';
|
|
25
|
+
export * from './Network.js';
|
|
26
|
+
export * from './OsInfo.js';
|
|
27
|
+
export * from './PresignedUrl.js';
|
|
28
|
+
export * from './SizingOverCommitRatio.js';
|
|
29
|
+
export * from './SizingResourceConsumption.js';
|
|
30
|
+
export * from './SizingResourceLimits.js';
|
|
31
|
+
export * from './Snapshot.js';
|
|
32
|
+
export * from './Source.js';
|
|
33
|
+
export * from './SourceCreate.js';
|
|
34
|
+
export * from './SourceInfra.js';
|
|
35
|
+
export * from './SourceUpdate.js';
|
|
36
|
+
export * from './Status.js';
|
|
37
|
+
export * from './UpdateInventory.js';
|
|
38
|
+
export * from './VCenter.js';
|
|
39
|
+
export * from './VMResourceBreakdown.js';
|
|
40
|
+
export * from './VMs.js';
|
|
41
|
+
export * from './VmNetwork.js';
|