@migration-planner-ui/api-client 0.0.31 → 0.0.33
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/README.md +145 -28
- package/dist/apis/AssessmentApi.d.ts +5 -4
- package/dist/apis/AssessmentApi.d.ts.map +1 -0
- package/dist/apis/AssessmentApi.js +17 -9
- package/dist/apis/HealthApi.d.ts +4 -3
- package/dist/apis/HealthApi.d.ts.map +1 -0
- package/dist/apis/HealthApi.js +5 -4
- package/dist/apis/ImageApi.d.ts +5 -4
- package/dist/apis/ImageApi.d.ts.map +1 -0
- package/dist/apis/ImageApi.js +10 -6
- package/dist/apis/InfoApi.d.ts +5 -4
- package/dist/apis/InfoApi.d.ts.map +1 -0
- package/dist/apis/InfoApi.js +6 -5
- package/dist/apis/JobApi.d.ts +5 -4
- package/dist/apis/JobApi.d.ts.map +1 -0
- package/dist/apis/JobApi.js +12 -7
- package/dist/apis/SourceApi.d.ts +5 -4
- package/dist/apis/SourceApi.d.ts.map +1 -0
- package/dist/apis/SourceApi.js +22 -11
- package/dist/apis/index.d.ts +7 -7
- package/dist/apis/index.d.ts.map +1 -0
- package/dist/apis/index.js +6 -7
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -3
- package/dist/models/Agent.d.ts +5 -3
- package/dist/models/Agent.d.ts.map +1 -0
- package/dist/models/Agent.js +8 -5
- package/dist/models/AgentProxy.d.ts +5 -3
- package/dist/models/AgentProxy.d.ts.map +1 -0
- package/dist/models/AgentProxy.js +6 -3
- package/dist/models/Assessment.d.ts +7 -5
- package/dist/models/Assessment.d.ts.map +1 -0
- package/dist/models/Assessment.js +10 -7
- package/dist/models/AssessmentForm.d.ts +6 -4
- package/dist/models/AssessmentForm.d.ts.map +1 -0
- package/dist/models/AssessmentForm.js +7 -4
- package/dist/models/AssessmentUpdate.d.ts +5 -3
- package/dist/models/AssessmentUpdate.d.ts.map +1 -0
- package/dist/models/AssessmentUpdate.js +6 -3
- package/dist/models/Datastore.d.ts +5 -3
- package/dist/models/Datastore.d.ts.map +1 -0
- package/dist/models/Datastore.js +6 -3
- package/dist/models/DiskSizeTierSummary.d.ts +5 -3
- package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
- package/dist/models/DiskSizeTierSummary.js +6 -3
- package/dist/models/DiskTypeSummary.d.ts +5 -3
- package/dist/models/DiskTypeSummary.d.ts.map +1 -0
- package/dist/models/DiskTypeSummary.js +6 -3
- package/dist/models/Histogram.d.ts +5 -3
- package/dist/models/Histogram.d.ts.map +1 -0
- package/dist/models/Histogram.js +6 -3
- package/dist/models/Host.d.ts +5 -3
- package/dist/models/Host.d.ts.map +1 -0
- package/dist/models/Host.js +6 -3
- package/dist/models/Info.d.ts +5 -3
- package/dist/models/Info.d.ts.map +1 -0
- package/dist/models/Info.js +6 -3
- package/dist/models/Infra.d.ts +11 -9
- package/dist/models/Infra.d.ts.map +1 -0
- package/dist/models/Infra.js +13 -10
- package/dist/models/Inventory.d.ts +7 -5
- package/dist/models/Inventory.d.ts.map +1 -0
- package/dist/models/Inventory.js +10 -7
- package/dist/models/InventoryData.d.ts +8 -6
- package/dist/models/InventoryData.d.ts.map +1 -0
- package/dist/models/InventoryData.js +9 -6
- package/dist/models/Ipv4Config.d.ts +5 -3
- package/dist/models/Ipv4Config.d.ts.map +1 -0
- package/dist/models/Ipv4Config.js +6 -3
- package/dist/models/Job.d.ts +6 -4
- package/dist/models/Job.d.ts.map +1 -0
- package/dist/models/Job.js +7 -4
- package/dist/models/JobStatus.d.ts +4 -2
- package/dist/models/JobStatus.d.ts.map +1 -0
- package/dist/models/JobStatus.js +5 -2
- package/dist/models/Label.d.ts +5 -3
- package/dist/models/Label.d.ts.map +1 -0
- package/dist/models/Label.js +6 -3
- package/dist/models/MigrationIssue.d.ts +5 -3
- package/dist/models/MigrationIssue.d.ts.map +1 -0
- package/dist/models/MigrationIssue.js +6 -3
- package/dist/models/ModelError.d.ts +5 -3
- package/dist/models/ModelError.d.ts.map +1 -0
- package/dist/models/ModelError.js +6 -3
- package/dist/models/Network.d.ts +5 -3
- package/dist/models/Network.d.ts.map +1 -0
- package/dist/models/Network.js +6 -3
- package/dist/models/OsInfo.d.ts +5 -3
- package/dist/models/OsInfo.d.ts.map +1 -0
- package/dist/models/OsInfo.js +6 -3
- package/dist/models/PresignedUrl.d.ts +5 -3
- package/dist/models/PresignedUrl.d.ts.map +1 -0
- package/dist/models/PresignedUrl.js +7 -4
- package/dist/models/Snapshot.d.ts +6 -4
- package/dist/models/Snapshot.d.ts.map +1 -0
- package/dist/models/Snapshot.js +8 -5
- package/dist/models/Source.d.ts +9 -7
- package/dist/models/Source.d.ts.map +1 -0
- package/dist/models/Source.js +12 -9
- package/dist/models/SourceCreate.d.ts +8 -6
- package/dist/models/SourceCreate.d.ts.map +1 -0
- package/dist/models/SourceCreate.js +9 -6
- package/dist/models/SourceInfra.d.ts +7 -5
- package/dist/models/SourceInfra.d.ts.map +1 -0
- package/dist/models/SourceInfra.js +8 -5
- package/dist/models/SourceUpdate.d.ts +8 -6
- package/dist/models/SourceUpdate.d.ts.map +1 -0
- package/dist/models/SourceUpdate.js +9 -6
- package/dist/models/Status.d.ts +5 -3
- package/dist/models/Status.d.ts.map +1 -0
- package/dist/models/Status.js +6 -3
- package/dist/models/UpdateInventory.d.ts +6 -4
- package/dist/models/UpdateInventory.d.ts.map +1 -0
- package/dist/models/UpdateInventory.js +7 -4
- package/dist/models/VCenter.d.ts +5 -3
- package/dist/models/VCenter.d.ts.map +1 -0
- package/dist/models/VCenter.js +6 -3
- package/dist/models/VMResourceBreakdown.d.ts +6 -4
- package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
- package/dist/models/VMResourceBreakdown.js +7 -4
- package/dist/models/VMs.d.ts +13 -11
- package/dist/models/VMs.d.ts.map +1 -0
- package/dist/models/VMs.js +16 -13
- package/dist/models/VmNetwork.d.ts +6 -4
- package/dist/models/VmNetwork.d.ts.map +1 -0
- package/dist/models/VmNetwork.js +7 -4
- package/dist/models/index.d.ts +35 -34
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +34 -34
- package/dist/runtime.d.ts +7 -3
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +11 -3
- package/package.json +19 -9
- package/.openapi-generator/FILES +0 -44
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -30
- package/dist/apis/AgentApi.d.ts +0 -69
- package/dist/apis/AgentApi.js +0 -82
- package/dist/models/Event.d.ts +0 -38
- package/dist/models/Event.js +0 -45
- package/dist/models/EventData.d.ts +0 -37
- package/dist/models/EventData.js +0 -44
- package/dist/models/InfraDatastoresInner.d.ts +0 -43
- package/dist/models/InfraDatastoresInner.js +0 -48
- package/dist/models/InfraNetworksInner.d.ts +0 -59
- package/dist/models/InfraNetworksInner.js +0 -57
- package/dist/models/MigrationIssuesInner.d.ts +0 -43
- package/dist/models/MigrationIssuesInner.js +0 -48
- package/dist/models/SourceAgentItem.d.ts +0 -37
- package/dist/models/SourceAgentItem.js +0 -44
- package/dist/models/SourceUpdateOnPrem.d.ts +0 -38
- package/dist/models/SourceUpdateOnPrem.js +0 -45
- package/dist/models/UploadRvtoolsFile200Response.d.ts +0 -31
- package/dist/models/UploadRvtoolsFile200Response.js +0 -38
- package/dist/models/VMResourceBreakdownHistogram.d.ts +0 -43
- package/dist/models/VMResourceBreakdownHistogram.js +0 -48
- package/src/apis/AgentApi.ts +0 -131
- package/src/apis/AssessmentApi.ts +0 -303
- package/src/apis/HealthApi.ts +0 -70
- package/src/apis/ImageApi.ts +0 -140
- package/src/apis/InfoApi.ts +0 -78
- package/src/apis/JobApi.ts +0 -226
- package/src/apis/SourceApi.ts +0 -411
- package/src/apis/index.ts +0 -50
- package/src/index.ts +0 -5
- package/src/models/Agent.ts +0 -130
- package/src/models/AgentProxy.ts +0 -76
- package/src/models/Assessment.ts +0 -140
- package/src/models/AssessmentForm.ts +0 -96
- package/src/models/AssessmentUpdate.ts +0 -60
- package/src/models/Datastore.ts +0 -132
- package/src/models/DiskSizeTierSummary.ts +0 -70
- package/src/models/DiskTypeSummary.ts +0 -70
- package/src/models/Event.ts +0 -77
- package/src/models/EventData.ts +0 -70
- package/src/models/Histogram.ts +0 -79
- package/src/models/Host.ts +0 -102
- package/src/models/Info.ts +0 -70
- package/src/models/Infra.ts +0 -174
- package/src/models/InfraDatastoresInner.ts +0 -79
- package/src/models/InfraNetworksInner.ts +0 -99
- package/src/models/Inventory.ts +0 -83
- package/src/models/InventoryData.ts +0 -97
- package/src/models/Ipv4Config.ts +0 -88
- package/src/models/Job.ts +0 -95
- package/src/models/JobStatus.ts +0 -60
- package/src/models/Label.ts +0 -70
- package/src/models/MigrationIssue.ts +0 -87
- package/src/models/MigrationIssuesInner.ts +0 -79
- package/src/models/ModelError.ts +0 -69
- package/src/models/Network.ts +0 -107
- package/src/models/OsInfo.ts +0 -78
- package/src/models/PresignedUrl.ts +0 -69
- package/src/models/Snapshot.ts +0 -77
- package/src/models/Source.ts +0 -154
- package/src/models/SourceAgentItem.ts +0 -70
- package/src/models/SourceCreate.ts +0 -120
- package/src/models/SourceInfra.ts +0 -89
- package/src/models/SourceUpdate.ts +0 -119
- package/src/models/SourceUpdateOnPrem.ts +0 -77
- package/src/models/Status.ts +0 -76
- package/src/models/UpdateInventory.ts +0 -77
- package/src/models/UploadRvtoolsFile200Response.ts +0 -60
- package/src/models/VCenter.ts +0 -61
- package/src/models/VMResourceBreakdown.ts +0 -104
- package/src/models/VMResourceBreakdownHistogram.ts +0 -79
- package/src/models/VMs.ts +0 -229
- package/src/models/VmNetwork.ts +0 -67
- package/src/models/index.ts +0 -36
- package/src/runtime.ts +0 -426
- package/tsconfig.json +0 -14
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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';
|
|
16
|
-
import type { Inventory } from './Inventory';
|
|
17
|
-
import {
|
|
18
|
-
InventoryFromJSON,
|
|
19
|
-
InventoryFromJSONTyped,
|
|
20
|
-
InventoryToJSON,
|
|
21
|
-
} from './Inventory';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface UpdateInventory
|
|
27
|
-
*/
|
|
28
|
-
export interface UpdateInventory {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof UpdateInventory
|
|
33
|
-
*/
|
|
34
|
-
agentId: string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {Inventory}
|
|
38
|
-
* @memberof UpdateInventory
|
|
39
|
-
*/
|
|
40
|
-
inventory: Inventory;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the UpdateInventory interface.
|
|
45
|
-
*/
|
|
46
|
-
export function instanceOfUpdateInventory(value: object): value is UpdateInventory {
|
|
47
|
-
if (!('agentId' in value) || value['agentId'] === undefined) return false;
|
|
48
|
-
if (!('inventory' in value) || value['inventory'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function UpdateInventoryFromJSON(json: any): UpdateInventory {
|
|
53
|
-
return UpdateInventoryFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function UpdateInventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateInventory {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'agentId': json['agentId'],
|
|
63
|
-
'inventory': InventoryFromJSON(json['inventory']),
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function UpdateInventoryToJSON(value?: UpdateInventory | null): any {
|
|
68
|
-
if (value == null) {
|
|
69
|
-
return value;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
|
|
73
|
-
'agentId': value['agentId'],
|
|
74
|
-
'inventory': InventoryToJSON(value['inventory']),
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UploadRvtoolsFile200Response
|
|
20
|
-
*/
|
|
21
|
-
export interface UploadRvtoolsFile200Response {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof UploadRvtoolsFile200Response
|
|
26
|
-
*/
|
|
27
|
-
message?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the UploadRvtoolsFile200Response interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfUploadRvtoolsFile200Response(value: object): value is UploadRvtoolsFile200Response {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export function UploadRvtoolsFile200ResponseFromJSON(json: any): UploadRvtoolsFile200Response {
|
|
38
|
-
return UploadRvtoolsFile200ResponseFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export function UploadRvtoolsFile200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadRvtoolsFile200Response {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
|
|
47
|
-
'message': json['message'] == null ? undefined : json['message'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function UploadRvtoolsFile200ResponseToJSON(value?: UploadRvtoolsFile200Response | null): any {
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
|
|
57
|
-
'message': value['message'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
|
package/src/models/VCenter.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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';
|
|
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(value?: VCenter | null): any {
|
|
53
|
-
if (value == null) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
|
|
58
|
-
'id': value['id'],
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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';
|
|
16
|
-
import type { Histogram } from './Histogram';
|
|
17
|
-
import {
|
|
18
|
-
HistogramFromJSON,
|
|
19
|
-
HistogramFromJSONTyped,
|
|
20
|
-
HistogramToJSON,
|
|
21
|
-
} from './Histogram';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface VMResourceBreakdown
|
|
27
|
-
*/
|
|
28
|
-
export interface VMResourceBreakdown {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {number}
|
|
32
|
-
* @memberof VMResourceBreakdown
|
|
33
|
-
*/
|
|
34
|
-
total: number;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {number}
|
|
38
|
-
* @memberof VMResourceBreakdown
|
|
39
|
-
*/
|
|
40
|
-
totalForMigratable: number;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {number}
|
|
44
|
-
* @memberof VMResourceBreakdown
|
|
45
|
-
*/
|
|
46
|
-
totalForMigratableWithWarnings: number;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {number}
|
|
50
|
-
* @memberof VMResourceBreakdown
|
|
51
|
-
*/
|
|
52
|
-
totalForNotMigratable: number;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {Histogram}
|
|
56
|
-
* @memberof VMResourceBreakdown
|
|
57
|
-
* @deprecated
|
|
58
|
-
*/
|
|
59
|
-
histogram?: Histogram;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Check if a given object implements the VMResourceBreakdown interface.
|
|
64
|
-
*/
|
|
65
|
-
export function instanceOfVMResourceBreakdown(value: object): value is VMResourceBreakdown {
|
|
66
|
-
if (!('total' in value) || value['total'] === undefined) return false;
|
|
67
|
-
if (!('totalForMigratable' in value) || value['totalForMigratable'] === undefined) return false;
|
|
68
|
-
if (!('totalForMigratableWithWarnings' in value) || value['totalForMigratableWithWarnings'] === undefined) return false;
|
|
69
|
-
if (!('totalForNotMigratable' in value) || value['totalForNotMigratable'] === undefined) return false;
|
|
70
|
-
return true;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function VMResourceBreakdownFromJSON(json: any): VMResourceBreakdown {
|
|
74
|
-
return VMResourceBreakdownFromJSONTyped(json, false);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function VMResourceBreakdownFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMResourceBreakdown {
|
|
78
|
-
if (json == null) {
|
|
79
|
-
return json;
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
|
|
83
|
-
'total': json['total'],
|
|
84
|
-
'totalForMigratable': json['totalForMigratable'],
|
|
85
|
-
'totalForMigratableWithWarnings': json['totalForMigratableWithWarnings'],
|
|
86
|
-
'totalForNotMigratable': json['totalForNotMigratable'],
|
|
87
|
-
'histogram': json['histogram'] == null ? undefined : HistogramFromJSON(json['histogram']),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export function VMResourceBreakdownToJSON(value?: VMResourceBreakdown | null): any {
|
|
92
|
-
if (value == null) {
|
|
93
|
-
return value;
|
|
94
|
-
}
|
|
95
|
-
return {
|
|
96
|
-
|
|
97
|
-
'total': value['total'],
|
|
98
|
-
'totalForMigratable': value['totalForMigratable'],
|
|
99
|
-
'totalForMigratableWithWarnings': value['totalForMigratableWithWarnings'],
|
|
100
|
-
'totalForNotMigratable': value['totalForNotMigratable'],
|
|
101
|
-
'histogram': HistogramToJSON(value['histogram']),
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface VMResourceBreakdownHistogram
|
|
20
|
-
*/
|
|
21
|
-
export interface VMResourceBreakdownHistogram {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof VMResourceBreakdownHistogram
|
|
26
|
-
*/
|
|
27
|
-
minValue: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof VMResourceBreakdownHistogram
|
|
32
|
-
*/
|
|
33
|
-
step: number;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {Array<number>}
|
|
37
|
-
* @memberof VMResourceBreakdownHistogram
|
|
38
|
-
*/
|
|
39
|
-
data: Array<number>;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the VMResourceBreakdownHistogram interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfVMResourceBreakdownHistogram(value: object): value is VMResourceBreakdownHistogram {
|
|
46
|
-
if (!('minValue' in value) || value['minValue'] === undefined) return false;
|
|
47
|
-
if (!('step' in value) || value['step'] === undefined) return false;
|
|
48
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function VMResourceBreakdownHistogramFromJSON(json: any): VMResourceBreakdownHistogram {
|
|
53
|
-
return VMResourceBreakdownHistogramFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function VMResourceBreakdownHistogramFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMResourceBreakdownHistogram {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'minValue': json['minValue'],
|
|
63
|
-
'step': json['step'],
|
|
64
|
-
'data': json['data'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function VMResourceBreakdownHistogramToJSON(value?: VMResourceBreakdownHistogram | null): any {
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'minValue': value['minValue'],
|
|
75
|
-
'step': value['step'],
|
|
76
|
-
'data': value['data'],
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|
package/src/models/VMs.ts
DELETED
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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';
|
|
16
|
-
import type { MigrationIssue } from './MigrationIssue';
|
|
17
|
-
import {
|
|
18
|
-
MigrationIssueFromJSON,
|
|
19
|
-
MigrationIssueFromJSONTyped,
|
|
20
|
-
MigrationIssueToJSON,
|
|
21
|
-
} from './MigrationIssue';
|
|
22
|
-
import type { OsInfo } from './OsInfo';
|
|
23
|
-
import {
|
|
24
|
-
OsInfoFromJSON,
|
|
25
|
-
OsInfoFromJSONTyped,
|
|
26
|
-
OsInfoToJSON,
|
|
27
|
-
} from './OsInfo';
|
|
28
|
-
import type { DiskSizeTierSummary } from './DiskSizeTierSummary';
|
|
29
|
-
import {
|
|
30
|
-
DiskSizeTierSummaryFromJSON,
|
|
31
|
-
DiskSizeTierSummaryFromJSONTyped,
|
|
32
|
-
DiskSizeTierSummaryToJSON,
|
|
33
|
-
} from './DiskSizeTierSummary';
|
|
34
|
-
import type { DiskTypeSummary } from './DiskTypeSummary';
|
|
35
|
-
import {
|
|
36
|
-
DiskTypeSummaryFromJSON,
|
|
37
|
-
DiskTypeSummaryFromJSONTyped,
|
|
38
|
-
DiskTypeSummaryToJSON,
|
|
39
|
-
} from './DiskTypeSummary';
|
|
40
|
-
import type { VMResourceBreakdown } from './VMResourceBreakdown';
|
|
41
|
-
import {
|
|
42
|
-
VMResourceBreakdownFromJSON,
|
|
43
|
-
VMResourceBreakdownFromJSONTyped,
|
|
44
|
-
VMResourceBreakdownToJSON,
|
|
45
|
-
} from './VMResourceBreakdown';
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @interface VMs
|
|
51
|
-
*/
|
|
52
|
-
export interface VMs {
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {number}
|
|
56
|
-
* @memberof VMs
|
|
57
|
-
*/
|
|
58
|
-
total: number;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {number}
|
|
62
|
-
* @memberof VMs
|
|
63
|
-
*/
|
|
64
|
-
totalMigratable: number;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {number}
|
|
68
|
-
* @memberof VMs
|
|
69
|
-
*/
|
|
70
|
-
totalMigratableWithWarnings?: number;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {VMResourceBreakdown}
|
|
74
|
-
* @memberof VMs
|
|
75
|
-
*/
|
|
76
|
-
cpuCores: VMResourceBreakdown;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {{ [key: string]: DiskSizeTierSummary; }}
|
|
80
|
-
* @memberof VMs
|
|
81
|
-
*/
|
|
82
|
-
diskSizeTier?: { [key: string]: DiskSizeTierSummary; };
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {{ [key: string]: DiskTypeSummary; }}
|
|
86
|
-
* @memberof VMs
|
|
87
|
-
*/
|
|
88
|
-
diskTypes?: { [key: string]: DiskTypeSummary; };
|
|
89
|
-
/**
|
|
90
|
-
* Distribution of VMs across CPU tier buckets (e.g., "0-4", "5-8", "9-16", "17-32", "32+")
|
|
91
|
-
* @type {{ [key: string]: number; }}
|
|
92
|
-
* @memberof VMs
|
|
93
|
-
*/
|
|
94
|
-
distributionByCpuTier?: { [key: string]: number; };
|
|
95
|
-
/**
|
|
96
|
-
* Distribution of VMs across Memory tier buckets (e.g., "0-4", "5-16", "17-32", "33-64", "65-128", "129-256", "256+")
|
|
97
|
-
* @type {{ [key: string]: number; }}
|
|
98
|
-
* @memberof VMs
|
|
99
|
-
*/
|
|
100
|
-
distributionByMemoryTier?: { [key: string]: number; };
|
|
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: { [key: string]: number; };
|
|
131
|
-
/**
|
|
132
|
-
*
|
|
133
|
-
* @type {{ [key: string]: number; }}
|
|
134
|
-
* @memberof VMs
|
|
135
|
-
* @deprecated
|
|
136
|
-
*/
|
|
137
|
-
os?: { [key: string]: number; };
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {{ [key: string]: OsInfo; }}
|
|
141
|
-
* @memberof VMs
|
|
142
|
-
*/
|
|
143
|
-
osInfo?: { [key: string]: OsInfo; };
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {Array<MigrationIssue>}
|
|
147
|
-
* @memberof VMs
|
|
148
|
-
*/
|
|
149
|
-
notMigratableReasons: Array<MigrationIssue>;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {Array<MigrationIssue>}
|
|
153
|
-
* @memberof VMs
|
|
154
|
-
*/
|
|
155
|
-
migrationWarnings: Array<MigrationIssue>;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* Check if a given object implements the VMs interface.
|
|
160
|
-
*/
|
|
161
|
-
export function instanceOfVMs(value: object): value is VMs {
|
|
162
|
-
if (!('total' in value) || value['total'] === undefined) return false;
|
|
163
|
-
if (!('totalMigratable' in value) || value['totalMigratable'] === undefined) return false;
|
|
164
|
-
if (!('cpuCores' in value) || value['cpuCores'] === undefined) return false;
|
|
165
|
-
if (!('ramGB' in value) || value['ramGB'] === undefined) return false;
|
|
166
|
-
if (!('diskGB' in value) || value['diskGB'] === undefined) return false;
|
|
167
|
-
if (!('diskCount' in value) || value['diskCount'] === undefined) return false;
|
|
168
|
-
if (!('powerStates' in value) || value['powerStates'] === undefined) return false;
|
|
169
|
-
if (!('notMigratableReasons' in value) || value['notMigratableReasons'] === undefined) return false;
|
|
170
|
-
if (!('migrationWarnings' in value) || value['migrationWarnings'] === undefined) return false;
|
|
171
|
-
return true;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
export function VMsFromJSON(json: any): VMs {
|
|
175
|
-
return VMsFromJSONTyped(json, false);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
export function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs {
|
|
179
|
-
if (json == null) {
|
|
180
|
-
return json;
|
|
181
|
-
}
|
|
182
|
-
return {
|
|
183
|
-
|
|
184
|
-
'total': json['total'],
|
|
185
|
-
'totalMigratable': json['totalMigratable'],
|
|
186
|
-
'totalMigratableWithWarnings': json['totalMigratableWithWarnings'] == null ? undefined : json['totalMigratableWithWarnings'],
|
|
187
|
-
'cpuCores': VMResourceBreakdownFromJSON(json['cpuCores']),
|
|
188
|
-
'diskSizeTier': json['diskSizeTier'] == null ? undefined : (mapValues(json['diskSizeTier'], DiskSizeTierSummaryFromJSON)),
|
|
189
|
-
'diskTypes': json['diskTypes'] == null ? undefined : (mapValues(json['diskTypes'], DiskTypeSummaryFromJSON)),
|
|
190
|
-
'distributionByCpuTier': json['distributionByCpuTier'] == null ? undefined : json['distributionByCpuTier'],
|
|
191
|
-
'distributionByMemoryTier': json['distributionByMemoryTier'] == null ? undefined : json['distributionByMemoryTier'],
|
|
192
|
-
'ramGB': VMResourceBreakdownFromJSON(json['ramGB']),
|
|
193
|
-
'diskGB': VMResourceBreakdownFromJSON(json['diskGB']),
|
|
194
|
-
'diskCount': VMResourceBreakdownFromJSON(json['diskCount']),
|
|
195
|
-
'nicCount': json['nicCount'] == null ? undefined : VMResourceBreakdownFromJSON(json['nicCount']),
|
|
196
|
-
'powerStates': json['powerStates'],
|
|
197
|
-
'os': json['os'] == null ? undefined : json['os'],
|
|
198
|
-
'osInfo': json['osInfo'] == null ? undefined : (mapValues(json['osInfo'], OsInfoFromJSON)),
|
|
199
|
-
'notMigratableReasons': json['notMigratableReasons'] == null ? undefined : ((json['notMigratableReasons'] as Array<any>).map(MigrationIssueFromJSON)),
|
|
200
|
-
'migrationWarnings': json['migrationWarnings'] == null ? undefined : ((json['migrationWarnings'] as Array<any>).map(MigrationIssueFromJSON)),
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export function VMsToJSON(value?: VMs | null): any {
|
|
205
|
-
if (value == null) {
|
|
206
|
-
return value;
|
|
207
|
-
}
|
|
208
|
-
return {
|
|
209
|
-
|
|
210
|
-
'total': value['total'],
|
|
211
|
-
'totalMigratable': value['totalMigratable'],
|
|
212
|
-
'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
|
|
213
|
-
'cpuCores': VMResourceBreakdownToJSON(value['cpuCores']),
|
|
214
|
-
'diskSizeTier': value['diskSizeTier'] == null ? undefined : (mapValues(value['diskSizeTier'], DiskSizeTierSummaryToJSON)),
|
|
215
|
-
'diskTypes': value['diskTypes'] == null ? undefined : (mapValues(value['diskTypes'], DiskTypeSummaryToJSON)),
|
|
216
|
-
'distributionByCpuTier': value['distributionByCpuTier'],
|
|
217
|
-
'distributionByMemoryTier': value['distributionByMemoryTier'],
|
|
218
|
-
'ramGB': VMResourceBreakdownToJSON(value['ramGB']),
|
|
219
|
-
'diskGB': VMResourceBreakdownToJSON(value['diskGB']),
|
|
220
|
-
'diskCount': VMResourceBreakdownToJSON(value['diskCount']),
|
|
221
|
-
'nicCount': VMResourceBreakdownToJSON(value['nicCount']),
|
|
222
|
-
'powerStates': value['powerStates'],
|
|
223
|
-
'os': value['os'],
|
|
224
|
-
'osInfo': value['osInfo'] == null ? undefined : (mapValues(value['osInfo'], OsInfoToJSON)),
|
|
225
|
-
'notMigratableReasons': ((value['notMigratableReasons'] as Array<any>).map(MigrationIssueToJSON)),
|
|
226
|
-
'migrationWarnings': ((value['migrationWarnings'] as Array<any>).map(MigrationIssueToJSON)),
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
|
package/src/models/VmNetwork.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Migration Planner API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: undefined
|
|
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';
|
|
16
|
-
import type { Ipv4Config } from './Ipv4Config';
|
|
17
|
-
import {
|
|
18
|
-
Ipv4ConfigFromJSON,
|
|
19
|
-
Ipv4ConfigFromJSONTyped,
|
|
20
|
-
Ipv4ConfigToJSON,
|
|
21
|
-
} from './Ipv4Config';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface VmNetwork
|
|
27
|
-
*/
|
|
28
|
-
export interface VmNetwork {
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Ipv4Config}
|
|
32
|
-
* @memberof VmNetwork
|
|
33
|
-
*/
|
|
34
|
-
ipv4?: Ipv4Config;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the VmNetwork interface.
|
|
39
|
-
*/
|
|
40
|
-
export function instanceOfVmNetwork(value: object): value is VmNetwork {
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function VmNetworkFromJSON(json: any): VmNetwork {
|
|
45
|
-
return VmNetworkFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export function VmNetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): VmNetwork {
|
|
49
|
-
if (json == null) {
|
|
50
|
-
return json;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
|
|
54
|
-
'ipv4': json['ipv4'] == null ? undefined : Ipv4ConfigFromJSON(json['ipv4']),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function VmNetworkToJSON(value?: VmNetwork | null): any {
|
|
59
|
-
if (value == null) {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
|
|
64
|
-
'ipv4': Ipv4ConfigToJSON(value['ipv4']),
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|