@openshift-migration-advisor/agent-sdk 0.0.0-62ab9022d189
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,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MigrationIssue
|
|
20
|
+
*/
|
|
21
|
+
export interface MigrationIssue {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MigrationIssue
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof MigrationIssue
|
|
32
|
+
*/
|
|
33
|
+
label: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof MigrationIssue
|
|
38
|
+
*/
|
|
39
|
+
assessment: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof MigrationIssue
|
|
44
|
+
*/
|
|
45
|
+
count: number;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the MigrationIssue interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfMigrationIssue(value: object): value is MigrationIssue {
|
|
52
|
+
if (!('label' in value) || value['label'] === undefined) return false;
|
|
53
|
+
if (!('assessment' in value) || value['assessment'] === undefined) return false;
|
|
54
|
+
if (!('count' in value) || value['count'] === undefined) return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function MigrationIssueFromJSON(json: any): MigrationIssue {
|
|
59
|
+
return MigrationIssueFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function MigrationIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationIssue {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
69
|
+
'label': json['label'],
|
|
70
|
+
'assessment': json['assessment'],
|
|
71
|
+
'count': json['count'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function MigrationIssueToJSON(json: any): MigrationIssue {
|
|
76
|
+
return MigrationIssueToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function MigrationIssueToJSONTyped(value?: MigrationIssue | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'id': value['id'],
|
|
87
|
+
'label': value['label'],
|
|
88
|
+
'assessment': value['assessment'],
|
|
89
|
+
'count': value['count'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface Network
|
|
20
|
+
*/
|
|
21
|
+
export interface Network {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {NetworkTypeEnum}
|
|
25
|
+
* @memberof Network
|
|
26
|
+
*/
|
|
27
|
+
type: NetworkTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof Network
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Network
|
|
38
|
+
*/
|
|
39
|
+
vlanId?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof Network
|
|
44
|
+
*/
|
|
45
|
+
dvswitch?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof Network
|
|
50
|
+
*/
|
|
51
|
+
vmsCount?: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export const NetworkTypeEnum = {
|
|
59
|
+
Standard: 'standard',
|
|
60
|
+
Distributed: 'distributed',
|
|
61
|
+
Dvswitch: 'dvswitch',
|
|
62
|
+
Unsupported: 'unsupported'
|
|
63
|
+
} as const;
|
|
64
|
+
export type NetworkTypeEnum = typeof NetworkTypeEnum[keyof typeof NetworkTypeEnum];
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the Network interface.
|
|
69
|
+
*/
|
|
70
|
+
export function instanceOfNetwork(value: object): value is Network {
|
|
71
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
72
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
73
|
+
return true;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function NetworkFromJSON(json: any): Network {
|
|
77
|
+
return NetworkFromJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function NetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): Network {
|
|
81
|
+
if (json == null) {
|
|
82
|
+
return json;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'type': json['type'],
|
|
87
|
+
'name': json['name'],
|
|
88
|
+
'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
|
|
89
|
+
'dvswitch': json['dvswitch'] == null ? undefined : json['dvswitch'],
|
|
90
|
+
'vmsCount': json['vmsCount'] == null ? undefined : json['vmsCount'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function NetworkToJSON(json: any): Network {
|
|
95
|
+
return NetworkToJSONTyped(json, false);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function NetworkToJSONTyped(value?: Network | null, ignoreDiscriminator: boolean = false): any {
|
|
99
|
+
if (value == null) {
|
|
100
|
+
return value;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
return {
|
|
104
|
+
|
|
105
|
+
'type': value['type'],
|
|
106
|
+
'name': value['name'],
|
|
107
|
+
'vlanId': value['vlanId'],
|
|
108
|
+
'dvswitch': value['dvswitch'],
|
|
109
|
+
'vmsCount': value['vmsCount'],
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface OsInfo
|
|
20
|
+
*/
|
|
21
|
+
export interface OsInfo {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof OsInfo
|
|
26
|
+
*/
|
|
27
|
+
count: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof OsInfo
|
|
32
|
+
*/
|
|
33
|
+
supported: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof OsInfo
|
|
38
|
+
*/
|
|
39
|
+
upgradeRecommendation?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the OsInfo interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfOsInfo(value: object): value is OsInfo {
|
|
46
|
+
if (!('count' in value) || value['count'] === undefined) return false;
|
|
47
|
+
if (!('supported' in value) || value['supported'] === undefined) return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function OsInfoFromJSON(json: any): OsInfo {
|
|
52
|
+
return OsInfoFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsInfo {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'count': json['count'],
|
|
62
|
+
'supported': json['supported'],
|
|
63
|
+
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function OsInfoToJSON(json: any): OsInfo {
|
|
68
|
+
return OsInfoToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator: boolean = false): any {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'count': value['count'],
|
|
79
|
+
'supported': value['supported'],
|
|
80
|
+
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateGroupRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateGroupRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Group display name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateGroupRequest
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Optional group description
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateGroupRequest
|
|
32
|
+
*/
|
|
33
|
+
description?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Filter expression (will be validated)
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateGroupRequest
|
|
38
|
+
*/
|
|
39
|
+
filter?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Tags to apply to matching VMs (only alphanumeric, underscore, and dot allowed)
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof UpdateGroupRequest
|
|
44
|
+
*/
|
|
45
|
+
tags?: Array<string>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the UpdateGroupRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfUpdateGroupRequest(value: object): value is UpdateGroupRequest {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function UpdateGroupRequestFromJSON(json: any): UpdateGroupRequest {
|
|
56
|
+
return UpdateGroupRequestFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function UpdateGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateGroupRequest {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
66
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
67
|
+
'filter': json['filter'] == null ? undefined : json['filter'],
|
|
68
|
+
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function UpdateGroupRequestToJSON(json: any): UpdateGroupRequest {
|
|
73
|
+
return UpdateGroupRequestToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function UpdateGroupRequestToJSONTyped(value?: UpdateGroupRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'name': value['name'],
|
|
84
|
+
'description': value['description'],
|
|
85
|
+
'filter': value['filter'],
|
|
86
|
+
'tags': value['tags'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { Inventory } from './Inventory.js';
|
|
17
|
+
import {
|
|
18
|
+
InventoryFromJSON,
|
|
19
|
+
InventoryFromJSONTyped,
|
|
20
|
+
InventoryToJSON,
|
|
21
|
+
InventoryToJSONTyped,
|
|
22
|
+
} from './Inventory.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateInventory
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateInventory {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateInventory
|
|
34
|
+
*/
|
|
35
|
+
agentId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Inventory}
|
|
39
|
+
* @memberof UpdateInventory
|
|
40
|
+
*/
|
|
41
|
+
inventory: Inventory;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the UpdateInventory interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfUpdateInventory(value: object): value is UpdateInventory {
|
|
48
|
+
if (!('agentId' in value) || value['agentId'] === undefined) return false;
|
|
49
|
+
if (!('inventory' in value) || value['inventory'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UpdateInventoryFromJSON(json: any): UpdateInventory {
|
|
54
|
+
return UpdateInventoryFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function UpdateInventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateInventory {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'agentId': json['agentId'],
|
|
64
|
+
'inventory': InventoryFromJSON(json['inventory']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function UpdateInventoryToJSON(json: any): UpdateInventory {
|
|
69
|
+
return UpdateInventoryToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function UpdateInventoryToJSONTyped(value?: UpdateInventory | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'agentId': value['agentId'],
|
|
80
|
+
'inventory': InventoryToJSON(value['inventory']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VCenter
|
|
20
|
+
*/
|
|
21
|
+
export interface VCenter {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof VCenter
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the VCenter interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfVCenter(value: object): value is VCenter {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function VCenterFromJSON(json: any): VCenter {
|
|
39
|
+
return VCenterFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function VCenterFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCenter {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function VCenterToJSON(json: any): VCenter {
|
|
53
|
+
return VCenterToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function VCenterToJSONTyped(value?: VCenter | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'id': value['id'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VMDevice
|
|
20
|
+
*/
|
|
21
|
+
export interface VMDevice {
|
|
22
|
+
/**
|
|
23
|
+
* Type of virtual device (e.g., cdrom, floppy, usb, serial, parallel)
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof VMDevice
|
|
26
|
+
*/
|
|
27
|
+
kind?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the VMDevice interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfVMDevice(value: object): value is VMDevice {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function VMDeviceFromJSON(json: any): VMDevice {
|
|
38
|
+
return VMDeviceFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function VMDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMDevice {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function VMDeviceToJSON(json: any): VMDevice {
|
|
52
|
+
return VMDeviceToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function VMDeviceToJSONTyped(value?: VMDevice | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'kind': value['kind'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VMDisk
|
|
20
|
+
*/
|
|
21
|
+
export interface VMDisk {
|
|
22
|
+
/**
|
|
23
|
+
* Unique key identifying this disk within the VirtualMachine
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof VMDisk
|
|
26
|
+
*/
|
|
27
|
+
key?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Path to the VMDK file in the datastore
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof VMDisk
|
|
32
|
+
*/
|
|
33
|
+
file?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Disk capacity in bytes
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof VMDisk
|
|
38
|
+
*/
|
|
39
|
+
capacity?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Whether this disk is shared between multiple VMs
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof VMDisk
|
|
44
|
+
*/
|
|
45
|
+
shared?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether this is a Raw Device Mapping (direct LUN access)
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof VMDisk
|
|
50
|
+
*/
|
|
51
|
+
rdm?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Bus type (e.g., scsi, ide, sata, nvme)
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof VMDisk
|
|
56
|
+
*/
|
|
57
|
+
bus?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Disk mode (e.g., persistent, independent_persistent, independent_nonpersistent)
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof VMDisk
|
|
62
|
+
*/
|
|
63
|
+
mode?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the VMDisk interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfVMDisk(value: object): value is VMDisk {
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function VMDiskFromJSON(json: any): VMDisk {
|
|
74
|
+
return VMDiskFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function VMDiskFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMDisk {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
84
|
+
'file': json['file'] == null ? undefined : json['file'],
|
|
85
|
+
'capacity': json['capacity'] == null ? undefined : json['capacity'],
|
|
86
|
+
'shared': json['shared'] == null ? undefined : json['shared'],
|
|
87
|
+
'rdm': json['rdm'] == null ? undefined : json['rdm'],
|
|
88
|
+
'bus': json['bus'] == null ? undefined : json['bus'],
|
|
89
|
+
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function VMDiskToJSON(json: any): VMDisk {
|
|
94
|
+
return VMDiskToJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function VMDiskToJSONTyped(value?: VMDisk | null, ignoreDiscriminator: boolean = false): any {
|
|
98
|
+
if (value == null) {
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
|
|
104
|
+
'key': value['key'],
|
|
105
|
+
'file': value['file'],
|
|
106
|
+
'capacity': value['capacity'],
|
|
107
|
+
'shared': value['shared'],
|
|
108
|
+
'rdm': value['rdm'],
|
|
109
|
+
'bus': value['bus'],
|
|
110
|
+
'mode': value['mode'],
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|