@openshift-migration-advisor/agent-sdk 0.0.0-94e9d800ad5c
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 +91 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +170 -0
- package/dist/apis/DefaultApi.d.ts +761 -0
- package/dist/apis/DefaultApi.js +878 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/esm/apis/DefaultApi.d.ts +761 -0
- package/dist/esm/apis/DefaultApi.js +874 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AgentModeRequest.d.ts +40 -0
- package/dist/esm/models/AgentModeRequest.js +50 -0
- package/dist/esm/models/AgentStatus.d.ts +60 -0
- package/dist/esm/models/AgentStatus.js +63 -0
- package/dist/esm/models/CollectorStartRequest.d.ts +44 -0
- package/dist/esm/models/CollectorStartRequest.js +51 -0
- package/dist/esm/models/CollectorStatus.d.ts +51 -0
- package/dist/esm/models/CollectorStatus.js +57 -0
- package/dist/esm/models/CreateGroupRequest.d.ts +50 -0
- package/dist/esm/models/CreateGroupRequest.js +51 -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/GetInventory200Response.d.ts +23 -0
- package/dist/esm/models/GetInventory200Response.js +51 -0
- package/dist/esm/models/Group.d.ts +68 -0
- package/dist/esm/models/Group.js +59 -0
- package/dist/esm/models/GroupListResponse.d.ts +51 -0
- package/dist/esm/models/GroupListResponse.js +56 -0
- package/dist/esm/models/GroupResponse.d.ts +58 -0
- package/dist/esm/models/GroupResponse.js +61 -0
- package/dist/esm/models/GuestNetwork.d.ts +56 -0
- package/dist/esm/models/GuestNetwork.js +49 -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/Infra.d.ts +106 -0
- package/dist/esm/models/Infra.js +74 -0
- package/dist/esm/models/InspectorStartRequest.d.ts +39 -0
- package/dist/esm/models/InspectorStartRequest.js +48 -0
- package/dist/esm/models/InspectorStatus.d.ts +51 -0
- package/dist/esm/models/InspectorStatus.js +57 -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/MigrationIssue.d.ts +50 -0
- package/dist/esm/models/MigrationIssue.js +53 -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/UpdateGroupRequest.d.ts +50 -0
- package/dist/esm/models/UpdateGroupRequest.js +47 -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/VMDevice.d.ts +32 -0
- package/dist/esm/models/VMDevice.js +41 -0
- package/dist/esm/models/VMDisk.d.ts +68 -0
- package/dist/esm/models/VMDisk.js +53 -0
- package/dist/esm/models/VMIssue.d.ts +56 -0
- package/dist/esm/models/VMIssue.js +62 -0
- package/dist/esm/models/VMNIC.d.ts +44 -0
- package/dist/esm/models/VMNIC.js +45 -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 +170 -0
- package/dist/esm/models/VMs.js +103 -0
- package/dist/esm/models/VcenterCredentials.d.ts +44 -0
- package/dist/esm/models/VcenterCredentials.js +51 -0
- package/dist/esm/models/VddkPost200Response.d.ts +38 -0
- package/dist/esm/models/VddkPost200Response.js +47 -0
- package/dist/esm/models/VersionInfo.d.ts +44 -0
- package/dist/esm/models/VersionInfo.js +51 -0
- package/dist/esm/models/VirtualMachine.d.ts +99 -0
- package/dist/esm/models/VirtualMachine.js +82 -0
- package/dist/esm/models/VirtualMachineDetail.d.ts +218 -0
- package/dist/esm/models/VirtualMachineDetail.js +125 -0
- package/dist/esm/models/VirtualMachineListResponse.d.ts +51 -0
- package/dist/esm/models/VirtualMachineListResponse.js +56 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +56 -0
- package/dist/esm/models/VmInspectionStatus.js +58 -0
- package/dist/esm/models/index.d.ts +39 -0
- package/dist/esm/models/index.js +41 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +349 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AgentModeRequest.d.ts +40 -0
- package/dist/models/AgentModeRequest.js +58 -0
- package/dist/models/AgentStatus.d.ts +60 -0
- package/dist/models/AgentStatus.js +71 -0
- package/dist/models/CollectorStartRequest.d.ts +44 -0
- package/dist/models/CollectorStartRequest.js +58 -0
- package/dist/models/CollectorStatus.d.ts +51 -0
- package/dist/models/CollectorStatus.js +65 -0
- package/dist/models/CreateGroupRequest.d.ts +50 -0
- package/dist/models/CreateGroupRequest.js +58 -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/GetInventory200Response.d.ts +23 -0
- package/dist/models/GetInventory200Response.js +57 -0
- package/dist/models/Group.d.ts +68 -0
- package/dist/models/Group.js +66 -0
- package/dist/models/GroupListResponse.d.ts +51 -0
- package/dist/models/GroupListResponse.js +63 -0
- package/dist/models/GroupResponse.d.ts +58 -0
- package/dist/models/GroupResponse.js +68 -0
- package/dist/models/GuestNetwork.d.ts +56 -0
- package/dist/models/GuestNetwork.js +56 -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/Infra.d.ts +106 -0
- package/dist/models/Infra.js +81 -0
- package/dist/models/InspectorStartRequest.d.ts +39 -0
- package/dist/models/InspectorStartRequest.js +55 -0
- package/dist/models/InspectorStatus.d.ts +51 -0
- package/dist/models/InspectorStatus.js +65 -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/MigrationIssue.d.ts +50 -0
- package/dist/models/MigrationIssue.js +60 -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/UpdateGroupRequest.d.ts +50 -0
- package/dist/models/UpdateGroupRequest.js +54 -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/VMDevice.d.ts +32 -0
- package/dist/models/VMDevice.js +48 -0
- package/dist/models/VMDisk.d.ts +68 -0
- package/dist/models/VMDisk.js +60 -0
- package/dist/models/VMIssue.d.ts +56 -0
- package/dist/models/VMIssue.js +70 -0
- package/dist/models/VMNIC.d.ts +44 -0
- package/dist/models/VMNIC.js +52 -0
- package/dist/models/VMResourceBreakdown.d.ts +58 -0
- package/dist/models/VMResourceBreakdown.js +65 -0
- package/dist/models/VMs.d.ts +170 -0
- package/dist/models/VMs.js +110 -0
- package/dist/models/VcenterCredentials.d.ts +44 -0
- package/dist/models/VcenterCredentials.js +58 -0
- package/dist/models/VddkPost200Response.d.ts +38 -0
- package/dist/models/VddkPost200Response.js +54 -0
- package/dist/models/VersionInfo.d.ts +44 -0
- package/dist/models/VersionInfo.js +58 -0
- package/dist/models/VirtualMachine.d.ts +99 -0
- package/dist/models/VirtualMachine.js +89 -0
- package/dist/models/VirtualMachineDetail.d.ts +218 -0
- package/dist/models/VirtualMachineDetail.js +132 -0
- package/dist/models/VirtualMachineListResponse.d.ts +51 -0
- package/dist/models/VirtualMachineListResponse.js +63 -0
- package/dist/models/VmInspectionStatus.d.ts +56 -0
- package/dist/models/VmInspectionStatus.js +66 -0
- package/dist/models/index.d.ts +39 -0
- package/dist/models/index.js +57 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +365 -0
- package/docs/AgentModeRequest.md +34 -0
- package/docs/AgentStatus.md +38 -0
- package/docs/CollectorStartRequest.md +38 -0
- package/docs/CollectorStatus.md +36 -0
- package/docs/CreateGroupRequest.md +40 -0
- package/docs/Datastore.md +50 -0
- package/docs/DefaultApi.md +1419 -0
- package/docs/DiskSizeTierSummary.md +36 -0
- package/docs/DiskTypeSummary.md +36 -0
- package/docs/GetInventory200Response.md +42 -0
- package/docs/Group.md +46 -0
- package/docs/GroupListResponse.md +40 -0
- package/docs/GroupResponse.md +42 -0
- package/docs/GuestNetwork.md +42 -0
- package/docs/Histogram.md +38 -0
- package/docs/Host.md +44 -0
- package/docs/Infra.md +56 -0
- package/docs/InspectorStartRequest.md +36 -0
- package/docs/InspectorStatus.md +36 -0
- package/docs/Inventory.md +38 -0
- package/docs/InventoryData.md +38 -0
- package/docs/MigrationIssue.md +40 -0
- package/docs/Network.md +42 -0
- package/docs/OsInfo.md +38 -0
- package/docs/UpdateGroupRequest.md +40 -0
- package/docs/UpdateInventory.md +36 -0
- package/docs/VCenter.md +34 -0
- package/docs/VMDevice.md +34 -0
- package/docs/VMDisk.md +46 -0
- package/docs/VMIssue.md +38 -0
- package/docs/VMNIC.md +38 -0
- package/docs/VMResourceBreakdown.md +42 -0
- package/docs/VMs.md +72 -0
- package/docs/VcenterCredentials.md +38 -0
- package/docs/VddkPost200Response.md +36 -0
- package/docs/VersionInfo.md +38 -0
- package/docs/VirtualMachine.md +56 -0
- package/docs/VirtualMachineDetail.md +94 -0
- package/docs/VirtualMachineListResponse.md +40 -0
- package/docs/VmInspectionStatus.md +38 -0
- package/package.json +22 -0
- package/src/apis/DefaultApi.ts +1607 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/AgentModeRequest.ts +77 -0
- package/src/models/AgentStatus.ts +103 -0
- package/src/models/CollectorStartRequest.ts +84 -0
- package/src/models/CollectorStatus.ts +90 -0
- package/src/models/CreateGroupRequest.ts +91 -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/GetInventory200Response.ts +76 -0
- package/src/models/Group.ts +116 -0
- package/src/models/GroupListResponse.ts +101 -0
- package/src/models/GroupResponse.ts +117 -0
- package/src/models/GuestNetwork.ts +97 -0
- package/src/models/Histogram.ts +84 -0
- package/src/models/Host.ts +107 -0
- package/src/models/Infra.ts +182 -0
- package/src/models/InspectorStartRequest.ts +83 -0
- package/src/models/InspectorStatus.ts +90 -0
- package/src/models/Inventory.ts +91 -0
- package/src/models/InventoryData.ts +105 -0
- package/src/models/MigrationIssue.ts +92 -0
- package/src/models/Network.ts +112 -0
- package/src/models/OsInfo.ts +83 -0
- package/src/models/UpdateGroupRequest.ts +89 -0
- package/src/models/UpdateInventory.ts +83 -0
- package/src/models/VCenter.ts +66 -0
- package/src/models/VMDevice.ts +65 -0
- package/src/models/VMDisk.ts +113 -0
- package/src/models/VMIssue.ts +99 -0
- package/src/models/VMNIC.ts +81 -0
- package/src/models/VMResourceBreakdown.ts +110 -0
- package/src/models/VMs.ts +263 -0
- package/src/models/VcenterCredentials.ts +84 -0
- package/src/models/VddkPost200Response.ts +75 -0
- package/src/models/VersionInfo.ts +84 -0
- package/src/models/VirtualMachine.ts +170 -0
- package/src/models/VirtualMachineDetail.ts +357 -0
- package/src/models/VirtualMachineListResponse.ts +101 -0
- package/src/models/VmInspectionStatus.ts +97 -0
- package/src/models/index.ts +41 -0
- package/src/runtime.ts +450 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,58 @@
|
|
|
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 { 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
|
+
* 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.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,170 @@
|
|
|
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 { 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
|
+
* Distribution of VMs by migration complexity level (0=Unsupported, 1=Easy, 2=Medium, 3=Hard, 4=WhiteGlove)
|
|
95
|
+
* @type {{ [key: string]: number; }}
|
|
96
|
+
* @memberof VMs
|
|
97
|
+
*/
|
|
98
|
+
distributionByComplexity?: {
|
|
99
|
+
[key: string]: number;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {VMResourceBreakdown}
|
|
104
|
+
* @memberof VMs
|
|
105
|
+
*/
|
|
106
|
+
ramGB: VMResourceBreakdown;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {VMResourceBreakdown}
|
|
110
|
+
* @memberof VMs
|
|
111
|
+
*/
|
|
112
|
+
diskGB: VMResourceBreakdown;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {VMResourceBreakdown}
|
|
116
|
+
* @memberof VMs
|
|
117
|
+
*/
|
|
118
|
+
diskCount: VMResourceBreakdown;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {VMResourceBreakdown}
|
|
122
|
+
* @memberof VMs
|
|
123
|
+
*/
|
|
124
|
+
nicCount?: VMResourceBreakdown;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {{ [key: string]: number; }}
|
|
128
|
+
* @memberof VMs
|
|
129
|
+
*/
|
|
130
|
+
powerStates: {
|
|
131
|
+
[key: string]: number;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {{ [key: string]: number; }}
|
|
136
|
+
* @memberof VMs
|
|
137
|
+
* @deprecated
|
|
138
|
+
*/
|
|
139
|
+
os?: {
|
|
140
|
+
[key: string]: number;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {{ [key: string]: OsInfo; }}
|
|
145
|
+
* @memberof VMs
|
|
146
|
+
*/
|
|
147
|
+
osInfo?: {
|
|
148
|
+
[key: string]: OsInfo;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {Array<MigrationIssue>}
|
|
153
|
+
* @memberof VMs
|
|
154
|
+
*/
|
|
155
|
+
notMigratableReasons: Array<MigrationIssue>;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {Array<MigrationIssue>}
|
|
159
|
+
* @memberof VMs
|
|
160
|
+
*/
|
|
161
|
+
migrationWarnings: Array<MigrationIssue>;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Check if a given object implements the VMs interface.
|
|
165
|
+
*/
|
|
166
|
+
export declare function instanceOfVMs(value: object): value is VMs;
|
|
167
|
+
export declare function VMsFromJSON(json: any): VMs;
|
|
168
|
+
export declare function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs;
|
|
169
|
+
export declare function VMsToJSON(json: any): VMs;
|
|
170
|
+
export declare function VMsToJSONTyped(value?: VMs | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,110 @@
|
|
|
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.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
|
+
'distributionByComplexity': json['distributionByComplexity'] == null ? undefined : json['distributionByComplexity'],
|
|
70
|
+
'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['ramGB']),
|
|
71
|
+
'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskGB']),
|
|
72
|
+
'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['diskCount']),
|
|
73
|
+
'nicCount': json['nicCount'] == null ? undefined : (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['nicCount']),
|
|
74
|
+
'powerStates': json['powerStates'],
|
|
75
|
+
'os': json['os'] == null ? undefined : json['os'],
|
|
76
|
+
'osInfo': json['osInfo'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['osInfo'], OsInfo_js_1.OsInfoFromJSON)),
|
|
77
|
+
'notMigratableReasons': (json['notMigratableReasons'].map(MigrationIssue_js_1.MigrationIssueFromJSON)),
|
|
78
|
+
'migrationWarnings': (json['migrationWarnings'].map(MigrationIssue_js_1.MigrationIssueFromJSON)),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function VMsToJSON(json) {
|
|
82
|
+
return VMsToJSONTyped(json, false);
|
|
83
|
+
}
|
|
84
|
+
function VMsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
85
|
+
if (value == null) {
|
|
86
|
+
return value;
|
|
87
|
+
}
|
|
88
|
+
return {
|
|
89
|
+
'total': value['total'],
|
|
90
|
+
'totalMigratable': value['totalMigratable'],
|
|
91
|
+
'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
|
|
92
|
+
'totalWithSharedDisks': value['totalWithSharedDisks'],
|
|
93
|
+
'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['cpuCores']),
|
|
94
|
+
'diskSizeTier': value['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
|
|
95
|
+
'diskTypes': value['diskTypes'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskTypes'], DiskTypeSummary_js_1.DiskTypeSummaryToJSON)),
|
|
96
|
+
'distributionByCpuTier': value['distributionByCpuTier'],
|
|
97
|
+
'distributionByMemoryTier': value['distributionByMemoryTier'],
|
|
98
|
+
'distributionByNicCount': value['distributionByNicCount'],
|
|
99
|
+
'distributionByComplexity': value['distributionByComplexity'],
|
|
100
|
+
'ramGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['ramGB']),
|
|
101
|
+
'diskGB': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskGB']),
|
|
102
|
+
'diskCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['diskCount']),
|
|
103
|
+
'nicCount': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['nicCount']),
|
|
104
|
+
'powerStates': value['powerStates'],
|
|
105
|
+
'os': value['os'],
|
|
106
|
+
'osInfo': value['osInfo'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['osInfo'], OsInfo_js_1.OsInfoToJSON)),
|
|
107
|
+
'notMigratableReasons': (value['notMigratableReasons'].map(MigrationIssue_js_1.MigrationIssueToJSON)),
|
|
108
|
+
'migrationWarnings': (value['migrationWarnings'].map(MigrationIssue_js_1.MigrationIssueToJSON)),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VcenterCredentials
|
|
16
|
+
*/
|
|
17
|
+
export interface VcenterCredentials {
|
|
18
|
+
/**
|
|
19
|
+
* vCenter URL
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VcenterCredentials
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VcenterCredentials
|
|
28
|
+
*/
|
|
29
|
+
username: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VcenterCredentials
|
|
34
|
+
*/
|
|
35
|
+
password: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the VcenterCredentials interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfVcenterCredentials(value: object): value is VcenterCredentials;
|
|
41
|
+
export declare function VcenterCredentialsFromJSON(json: any): VcenterCredentials;
|
|
42
|
+
export declare function VcenterCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VcenterCredentials;
|
|
43
|
+
export declare function VcenterCredentialsToJSON(json: any): VcenterCredentials;
|
|
44
|
+
export declare function VcenterCredentialsToJSONTyped(value?: VcenterCredentials | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfVcenterCredentials = instanceOfVcenterCredentials;
|
|
17
|
+
exports.VcenterCredentialsFromJSON = VcenterCredentialsFromJSON;
|
|
18
|
+
exports.VcenterCredentialsFromJSONTyped = VcenterCredentialsFromJSONTyped;
|
|
19
|
+
exports.VcenterCredentialsToJSON = VcenterCredentialsToJSON;
|
|
20
|
+
exports.VcenterCredentialsToJSONTyped = VcenterCredentialsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VcenterCredentials interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVcenterCredentials(value) {
|
|
25
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('password' in value) || value['password'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function VcenterCredentialsFromJSON(json) {
|
|
34
|
+
return VcenterCredentialsFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function VcenterCredentialsFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'url': json['url'],
|
|
42
|
+
'username': json['username'],
|
|
43
|
+
'password': json['password'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function VcenterCredentialsToJSON(json) {
|
|
47
|
+
return VcenterCredentialsToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function VcenterCredentialsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'url': value['url'],
|
|
55
|
+
'username': value['username'],
|
|
56
|
+
'password': value['password'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 VddkPost200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface VddkPost200Response {
|
|
18
|
+
/**
|
|
19
|
+
* md5 sum of the uploaded tarball
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VddkPost200Response
|
|
22
|
+
*/
|
|
23
|
+
md5: string;
|
|
24
|
+
/**
|
|
25
|
+
* written bytes
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof VddkPost200Response
|
|
28
|
+
*/
|
|
29
|
+
bytes: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the VddkPost200Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfVddkPost200Response(value: object): value is VddkPost200Response;
|
|
35
|
+
export declare function VddkPost200ResponseFromJSON(json: any): VddkPost200Response;
|
|
36
|
+
export declare function VddkPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VddkPost200Response;
|
|
37
|
+
export declare function VddkPost200ResponseToJSON(json: any): VddkPost200Response;
|
|
38
|
+
export declare function VddkPost200ResponseToJSONTyped(value?: VddkPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfVddkPost200Response = instanceOfVddkPost200Response;
|
|
17
|
+
exports.VddkPost200ResponseFromJSON = VddkPost200ResponseFromJSON;
|
|
18
|
+
exports.VddkPost200ResponseFromJSONTyped = VddkPost200ResponseFromJSONTyped;
|
|
19
|
+
exports.VddkPost200ResponseToJSON = VddkPost200ResponseToJSON;
|
|
20
|
+
exports.VddkPost200ResponseToJSONTyped = VddkPost200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VddkPost200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVddkPost200Response(value) {
|
|
25
|
+
if (!('md5' in value) || value['md5'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('bytes' in value) || value['bytes'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function VddkPost200ResponseFromJSON(json) {
|
|
32
|
+
return VddkPost200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function VddkPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'md5': json['md5'],
|
|
40
|
+
'bytes': json['bytes'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function VddkPost200ResponseToJSON(json) {
|
|
44
|
+
return VddkPost200ResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function VddkPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'md5': value['md5'],
|
|
52
|
+
'bytes': value['bytes'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VersionInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface VersionInfo {
|
|
18
|
+
/**
|
|
19
|
+
* Agent version (e.g. v2.0.0)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VersionInfo
|
|
22
|
+
*/
|
|
23
|
+
version: string;
|
|
24
|
+
/**
|
|
25
|
+
* Git commit SHA used to build the agent
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VersionInfo
|
|
28
|
+
*/
|
|
29
|
+
gitCommit: string;
|
|
30
|
+
/**
|
|
31
|
+
* Git commit SHA of the UI used to build the agent
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VersionInfo
|
|
34
|
+
*/
|
|
35
|
+
uiGitCommit: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the VersionInfo interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfVersionInfo(value: object): value is VersionInfo;
|
|
41
|
+
export declare function VersionInfoFromJSON(json: any): VersionInfo;
|
|
42
|
+
export declare function VersionInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VersionInfo;
|
|
43
|
+
export declare function VersionInfoToJSON(json: any): VersionInfo;
|
|
44
|
+
export declare function VersionInfoToJSONTyped(value?: VersionInfo | null, ignoreDiscriminator?: boolean): any;
|