@openshift-migration-advisor/agent-sdk 0.32.0 → 0.33.1-84c734aba511
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 +24 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +16 -4
- package/dist/apis/AppliancesApi.d.ts +64 -0
- package/dist/apis/AppliancesApi.js +72 -0
- package/dist/apis/CollectorApi.d.ts +0 -38
- package/dist/apis/CollectorApi.js +0 -59
- package/dist/apis/GroupsApi.d.ts +39 -0
- package/dist/apis/GroupsApi.js +40 -0
- package/dist/apis/ImageUpgradeApi.d.ts +66 -0
- package/dist/apis/ImageUpgradeApi.js +90 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/AppliancesApi.d.ts +64 -0
- package/dist/esm/apis/AppliancesApi.js +68 -0
- package/dist/esm/apis/CollectorApi.d.ts +0 -38
- package/dist/esm/apis/CollectorApi.js +0 -59
- package/dist/esm/apis/GroupsApi.d.ts +39 -0
- package/dist/esm/apis/GroupsApi.js +40 -0
- package/dist/esm/apis/ImageUpgradeApi.d.ts +66 -0
- package/dist/esm/apis/ImageUpgradeApi.js +86 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/AgentStatus.d.ts +5 -0
- package/dist/esm/models/AgentStatus.js +5 -0
- package/dist/esm/models/Appliance.d.ts +51 -0
- package/dist/esm/models/Appliance.js +64 -0
- package/dist/esm/models/ApplianceListResponse.d.ts +31 -0
- package/dist/esm/models/ApplianceListResponse.js +44 -0
- package/dist/esm/models/ApplicationOverview.d.ts +16 -0
- package/dist/esm/models/ApplicationOverview.js +12 -0
- package/dist/esm/models/Host.d.ts +16 -0
- package/dist/esm/models/Host.js +8 -0
- package/dist/esm/models/ImageUpgradeImage.d.ts +34 -0
- package/dist/esm/models/ImageUpgradeImage.js +47 -0
- package/dist/esm/models/ImageUpgradeResult.d.ts +66 -0
- package/dist/esm/models/ImageUpgradeResult.js +71 -0
- package/dist/esm/models/ImageUpgradeStatus.d.ts +44 -0
- package/dist/esm/models/ImageUpgradeStatus.js +57 -0
- package/dist/esm/models/ImageUploadStatus.d.ts +44 -0
- package/dist/esm/models/ImageUploadStatus.js +56 -0
- package/dist/esm/models/OsInfo.d.ts +12 -0
- package/dist/esm/models/OsInfo.js +9 -0
- package/dist/esm/models/Product.d.ts +66 -0
- package/dist/esm/models/Product.js +61 -0
- package/dist/esm/models/RDMBacking.d.ts +26 -0
- package/dist/esm/models/RDMBacking.js +17 -0
- package/dist/esm/models/RDMHostLun.d.ts +42 -0
- package/dist/esm/models/RDMHostLun.js +49 -0
- package/dist/esm/models/SuccessfulImageUpgrade.d.ts +38 -0
- package/dist/esm/models/SuccessfulImageUpgrade.js +52 -0
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +8 -0
- package/dist/esm/models/VMFilterOptionsResponse.js +8 -0
- package/dist/esm/models/VirtualMachine.d.ts +8 -0
- package/dist/esm/models/VirtualMachine.js +4 -0
- package/dist/esm/models/VirtualMachineDetail.d.ts +5 -0
- package/dist/esm/models/VirtualMachineDetail.js +3 -0
- package/dist/esm/models/VirtualMachineDisk.d.ts +8 -0
- package/dist/esm/models/VirtualMachineDisk.js +4 -0
- package/dist/esm/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/esm/models/VirtualMachineIdentity.js +47 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/runtime.js +4 -3
- package/dist/models/AgentStatus.d.ts +5 -0
- package/dist/models/AgentStatus.js +5 -0
- package/dist/models/Appliance.d.ts +51 -0
- package/dist/models/Appliance.js +71 -0
- package/dist/models/ApplianceListResponse.d.ts +31 -0
- package/dist/models/ApplianceListResponse.js +51 -0
- package/dist/models/ApplicationOverview.d.ts +16 -0
- package/dist/models/ApplicationOverview.js +12 -0
- package/dist/models/Host.d.ts +16 -0
- package/dist/models/Host.js +8 -0
- package/dist/models/ImageUpgradeImage.d.ts +34 -0
- package/dist/models/ImageUpgradeImage.js +54 -0
- package/dist/models/ImageUpgradeResult.d.ts +66 -0
- package/dist/models/ImageUpgradeResult.js +79 -0
- package/dist/models/ImageUpgradeStatus.d.ts +44 -0
- package/dist/models/ImageUpgradeStatus.js +64 -0
- package/dist/models/ImageUploadStatus.d.ts +44 -0
- package/dist/models/ImageUploadStatus.js +64 -0
- package/dist/models/OsInfo.d.ts +12 -0
- package/dist/models/OsInfo.js +10 -1
- package/dist/models/Product.d.ts +66 -0
- package/dist/models/Product.js +68 -0
- package/dist/models/RDMBacking.d.ts +26 -0
- package/dist/models/RDMBacking.js +18 -0
- package/dist/models/RDMHostLun.d.ts +42 -0
- package/dist/models/RDMHostLun.js +56 -0
- package/dist/models/SuccessfulImageUpgrade.d.ts +38 -0
- package/dist/models/SuccessfulImageUpgrade.js +59 -0
- package/dist/models/VMFilterOptionsResponse.d.ts +8 -0
- package/dist/models/VMFilterOptionsResponse.js +8 -0
- package/dist/models/VirtualMachine.d.ts +8 -0
- package/dist/models/VirtualMachine.js +4 -0
- package/dist/models/VirtualMachineDetail.d.ts +5 -0
- package/dist/models/VirtualMachineDetail.js +3 -0
- package/dist/models/VirtualMachineDisk.d.ts +8 -0
- package/dist/models/VirtualMachineDisk.js +4 -0
- package/dist/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/models/VirtualMachineIdentity.js +54 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/runtime.js +4 -3
- package/docs/AgentStatus.md +2 -0
- package/docs/Appliance.md +44 -0
- package/docs/ApplianceListResponse.md +34 -0
- package/docs/AppliancesApi.md +76 -0
- package/docs/ApplicationOverview.md +8 -0
- package/docs/CollectorApi.md +0 -70
- package/docs/GroupsApi.md +68 -0
- package/docs/Host.md +8 -0
- package/docs/ImageUpgradeApi.md +82 -0
- package/docs/ImageUpgradeImage.md +36 -0
- package/docs/ImageUpgradeResult.md +46 -0
- package/docs/ImageUpgradeStatus.md +40 -0
- package/docs/ImageUploadStatus.md +36 -0
- package/docs/OsInfo.md +2 -0
- package/docs/Product.md +52 -0
- package/docs/RDMBacking.md +8 -0
- package/docs/RDMHostLun.md +41 -0
- package/docs/SuccessfulImageUpgrade.md +38 -0
- package/docs/VMFilterOptionsResponse.md +4 -0
- package/docs/VirtualMachine.md +4 -0
- package/docs/VirtualMachineDetail.md +2 -0
- package/docs/VirtualMachineDisk.md +4 -0
- package/docs/VirtualMachineIdentity.md +36 -0
- package/package.json +1 -1
- package/src/apis/AppliancesApi.ts +111 -0
- package/src/apis/CollectorApi.ts +0 -97
- package/src/apis/GroupsApi.ts +80 -0
- package/src/apis/ImageUpgradeApi.ts +128 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AgentStatus.ts +14 -0
- package/src/models/Appliance.ts +107 -0
- package/src/models/ApplianceListResponse.ts +72 -0
- package/src/models/ApplicationOverview.ts +26 -0
- package/src/models/Host.ts +24 -0
- package/src/models/ImageUpgradeImage.ts +71 -0
- package/src/models/ImageUpgradeResult.ts +130 -0
- package/src/models/ImageUpgradeStatus.ts +100 -0
- package/src/models/ImageUploadStatus.ts +84 -0
- package/src/models/OsInfo.ts +15 -0
- package/src/models/Product.ts +118 -0
- package/src/models/RDMBacking.ts +44 -0
- package/src/models/RDMHostLun.ts +82 -0
- package/src/models/SuccessfulImageUpgrade.ts +78 -0
- package/src/models/VMFilterOptionsResponse.ts +14 -0
- package/src/models/VirtualMachine.ts +12 -0
- package/src/models/VirtualMachineDetail.ts +13 -0
- package/src/models/VirtualMachineDisk.ts +12 -0
- package/src/models/VirtualMachineIdentity.ts +71 -0
- package/src/models/index.ts +10 -0
- package/src/runtime.ts +3 -3
|
@@ -0,0 +1,84 @@
|
|
|
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: v2
|
|
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 ImageUploadStatus
|
|
20
|
+
*/
|
|
21
|
+
export interface ImageUploadStatus {
|
|
22
|
+
/**
|
|
23
|
+
* Agent upload activity only; idle does not indicate whether the host is running an upgrade. Unknown means the upload state is unavailable. An unreadable host result does not change this state.
|
|
24
|
+
*/
|
|
25
|
+
state: ImageUploadStatusStateEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Last upload error, or an upload-state availability error when state is unknown. Host result read errors are reported in upgradeError.
|
|
28
|
+
*/
|
|
29
|
+
lastError: string | null;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export const ImageUploadStatusStateEnum = {
|
|
37
|
+
Idle: 'idle',
|
|
38
|
+
Uploading: 'uploading',
|
|
39
|
+
Validating: 'validating',
|
|
40
|
+
Unknown: 'unknown',
|
|
41
|
+
} as const;
|
|
42
|
+
export type ImageUploadStatusStateEnum = typeof ImageUploadStatusStateEnum[keyof typeof ImageUploadStatusStateEnum];
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the ImageUploadStatus interface.
|
|
47
|
+
*/
|
|
48
|
+
export function instanceOfImageUploadStatus(value: object): value is ImageUploadStatus {
|
|
49
|
+
if (!('state' in value) || value['state'] === undefined) return false;
|
|
50
|
+
if (!('lastError' in value) || value['lastError'] === undefined) return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function ImageUploadStatusFromJSON(json: any): ImageUploadStatus {
|
|
55
|
+
return ImageUploadStatusFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ImageUploadStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageUploadStatus {
|
|
59
|
+
if (json == null) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'state': json['state'],
|
|
65
|
+
'lastError': json['lastError'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ImageUploadStatusToJSON(json: any): ImageUploadStatus {
|
|
70
|
+
return ImageUploadStatusToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ImageUploadStatusToJSONTyped(value?: ImageUploadStatus | null, ignoreDiscriminator: boolean = false): any {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'state': value['state'],
|
|
81
|
+
'lastError': value['lastError'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
package/src/models/OsInfo.ts
CHANGED
|
@@ -31,6 +31,10 @@ export interface OsInfo {
|
|
|
31
31
|
* OS support tier per Red Hat KCS article 4234591
|
|
32
32
|
*/
|
|
33
33
|
supportTier?: OsInfoSupportTierEnum;
|
|
34
|
+
/**
|
|
35
|
+
* MTV verification per Red Hat KCS article 4234591. Green means tested and verified; blue means successfully running on the target cluster. Omitted when the OS/architecture has no listed status.
|
|
36
|
+
*/
|
|
37
|
+
mtvStatus?: OsInfoMtvStatusEnum;
|
|
34
38
|
/**
|
|
35
39
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
36
40
|
*/
|
|
@@ -49,6 +53,15 @@ export const OsInfoSupportTierEnum = {
|
|
|
49
53
|
} as const;
|
|
50
54
|
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
51
55
|
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export const OsInfoMtvStatusEnum = {
|
|
60
|
+
Green: 'green',
|
|
61
|
+
Blue: 'blue',
|
|
62
|
+
} as const;
|
|
63
|
+
export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
|
|
64
|
+
|
|
52
65
|
|
|
53
66
|
/**
|
|
54
67
|
* Check if a given object implements the OsInfo interface.
|
|
@@ -72,6 +85,7 @@ export function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Os
|
|
|
72
85
|
'count': json['count'],
|
|
73
86
|
'supported': json['supported'],
|
|
74
87
|
'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
|
|
88
|
+
'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
|
|
75
89
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
76
90
|
};
|
|
77
91
|
}
|
|
@@ -90,6 +104,7 @@ export function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator: bo
|
|
|
90
104
|
'count': value['count'],
|
|
91
105
|
'supported': value['supported'],
|
|
92
106
|
'supportTier': value['supportTier'],
|
|
107
|
+
'mtvStatus': value['mtvStatus'],
|
|
93
108
|
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
94
109
|
};
|
|
95
110
|
}
|
|
@@ -0,0 +1,118 @@
|
|
|
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: v2
|
|
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 Product
|
|
20
|
+
*/
|
|
21
|
+
export interface Product {
|
|
22
|
+
/**
|
|
23
|
+
* Product key
|
|
24
|
+
*/
|
|
25
|
+
key: number;
|
|
26
|
+
/**
|
|
27
|
+
* Product class identifier
|
|
28
|
+
*/
|
|
29
|
+
classId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Product instance identifier
|
|
32
|
+
*/
|
|
33
|
+
instanceId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Product name
|
|
36
|
+
*/
|
|
37
|
+
name?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Product vendor
|
|
40
|
+
*/
|
|
41
|
+
vendor?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Product version
|
|
44
|
+
*/
|
|
45
|
+
version?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Full product version
|
|
48
|
+
*/
|
|
49
|
+
fullVersion?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Product vendor URL
|
|
52
|
+
*/
|
|
53
|
+
vendorUrl?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Product URL
|
|
56
|
+
*/
|
|
57
|
+
productUrl?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Application URL
|
|
60
|
+
*/
|
|
61
|
+
appUrl?: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the Product interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfProduct(value: object): value is Product {
|
|
68
|
+
if (!('key' in value) || value['key'] === undefined) return false;
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ProductFromJSON(json: any): Product {
|
|
73
|
+
return ProductFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'key': json['key'],
|
|
83
|
+
'classId': json['classId'] == null ? undefined : json['classId'],
|
|
84
|
+
'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
|
|
85
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
86
|
+
'vendor': json['vendor'] == null ? undefined : json['vendor'],
|
|
87
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
88
|
+
'fullVersion': json['fullVersion'] == null ? undefined : json['fullVersion'],
|
|
89
|
+
'vendorUrl': json['vendorUrl'] == null ? undefined : json['vendorUrl'],
|
|
90
|
+
'productUrl': json['productUrl'] == null ? undefined : json['productUrl'],
|
|
91
|
+
'appUrl': json['appUrl'] == null ? undefined : json['appUrl'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function ProductToJSON(json: any): Product {
|
|
96
|
+
return ProductToJSONTyped(json, false);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator: boolean = false): any {
|
|
100
|
+
if (value == null) {
|
|
101
|
+
return value;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return {
|
|
105
|
+
|
|
106
|
+
'key': value['key'],
|
|
107
|
+
'classId': value['classId'],
|
|
108
|
+
'instanceId': value['instanceId'],
|
|
109
|
+
'name': value['name'],
|
|
110
|
+
'vendor': value['vendor'],
|
|
111
|
+
'version': value['version'],
|
|
112
|
+
'fullVersion': value['fullVersion'],
|
|
113
|
+
'vendorUrl': value['vendorUrl'],
|
|
114
|
+
'productUrl': value['productUrl'],
|
|
115
|
+
'appUrl': value['appUrl'],
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
package/src/models/RDMBacking.ts
CHANGED
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { RDMHostLun } from './RDMHostLun.js';
|
|
17
|
+
import {
|
|
18
|
+
RDMHostLunFromJSON,
|
|
19
|
+
RDMHostLunFromJSONTyped,
|
|
20
|
+
RDMHostLunToJSON,
|
|
21
|
+
RDMHostLunToJSONTyped,
|
|
22
|
+
} from './RDMHostLun.js';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* Source-provided backing identity for an RDM disk; omitted when unavailable
|
|
18
26
|
* @export
|
|
@@ -23,8 +31,36 @@ export interface RDMBacking {
|
|
|
23
31
|
* LUN UUID reported directly by the RDM disk backing, when available
|
|
24
32
|
*/
|
|
25
33
|
lunUuid?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Device name reported directly by the RDM disk backing
|
|
36
|
+
*/
|
|
37
|
+
deviceName?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Source-normalized RDM compatibility mode
|
|
40
|
+
*/
|
|
41
|
+
compatibilityMode?: RDMBackingCompatibilityModeEnum;
|
|
42
|
+
/**
|
|
43
|
+
* UUID explicitly identifying the RDM backing, when available
|
|
44
|
+
*/
|
|
45
|
+
backingUuid?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
hostLun?: RDMHostLun;
|
|
26
50
|
}
|
|
27
51
|
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @export
|
|
55
|
+
*/
|
|
56
|
+
export const RDMBackingCompatibilityModeEnum = {
|
|
57
|
+
Physical: 'physical',
|
|
58
|
+
Virtual: 'virtual',
|
|
59
|
+
Unknown: 'unknown',
|
|
60
|
+
} as const;
|
|
61
|
+
export type RDMBackingCompatibilityModeEnum = typeof RDMBackingCompatibilityModeEnum[keyof typeof RDMBackingCompatibilityModeEnum];
|
|
62
|
+
|
|
63
|
+
|
|
28
64
|
/**
|
|
29
65
|
* Check if a given object implements the RDMBacking interface.
|
|
30
66
|
*/
|
|
@@ -43,6 +79,10 @@ export function RDMBackingFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
43
79
|
return {
|
|
44
80
|
|
|
45
81
|
'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
|
|
82
|
+
'deviceName': json['deviceName'] == null ? undefined : json['deviceName'],
|
|
83
|
+
'compatibilityMode': json['compatibilityMode'] == null ? undefined : json['compatibilityMode'],
|
|
84
|
+
'backingUuid': json['backingUuid'] == null ? undefined : json['backingUuid'],
|
|
85
|
+
'hostLun': json['hostLun'] == null ? undefined : RDMHostLunFromJSON(json['hostLun']),
|
|
46
86
|
};
|
|
47
87
|
}
|
|
48
88
|
|
|
@@ -58,6 +98,10 @@ export function RDMBackingToJSONTyped(value?: RDMBacking | null, ignoreDiscrimin
|
|
|
58
98
|
return {
|
|
59
99
|
|
|
60
100
|
'lunUuid': value['lunUuid'],
|
|
101
|
+
'deviceName': value['deviceName'],
|
|
102
|
+
'compatibilityMode': value['compatibilityMode'],
|
|
103
|
+
'backingUuid': value['backingUuid'],
|
|
104
|
+
'hostLun': RDMHostLunToJSON(value['hostLun']),
|
|
61
105
|
};
|
|
62
106
|
}
|
|
63
107
|
|
|
@@ -0,0 +1,82 @@
|
|
|
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: v2
|
|
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
|
+
* Host LUN matched to the RDM disk backing through a verified identifier relationship and the VM's running host
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RDMHostLun
|
|
20
|
+
*/
|
|
21
|
+
export interface RDMHostLun {
|
|
22
|
+
/**
|
|
23
|
+
* Object ID of the uniquely resolved running host that owns the matched LUN
|
|
24
|
+
*/
|
|
25
|
+
hostId: string;
|
|
26
|
+
/**
|
|
27
|
+
* SCSI disk key of the matched host LUN, when available
|
|
28
|
+
*/
|
|
29
|
+
key?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Canonical name (e.g. NAA) of the matched host LUN, when available
|
|
32
|
+
*/
|
|
33
|
+
canonicalName?: string;
|
|
34
|
+
/**
|
|
35
|
+
* LUN UUID of the matched host LUN, when available
|
|
36
|
+
*/
|
|
37
|
+
lunUuid?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the RDMHostLun interface.
|
|
42
|
+
*/
|
|
43
|
+
export function instanceOfRDMHostLun(value: object): value is RDMHostLun {
|
|
44
|
+
if (!('hostId' in value) || value['hostId'] === undefined) return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function RDMHostLunFromJSON(json: any): RDMHostLun {
|
|
49
|
+
return RDMHostLunFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function RDMHostLunFromJSONTyped(json: any, ignoreDiscriminator: boolean): RDMHostLun {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
|
|
58
|
+
'hostId': json['hostId'],
|
|
59
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
60
|
+
'canonicalName': json['canonicalName'] == null ? undefined : json['canonicalName'],
|
|
61
|
+
'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function RDMHostLunToJSON(json: any): RDMHostLun {
|
|
66
|
+
return RDMHostLunToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function RDMHostLunToJSONTyped(value?: RDMHostLun | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'hostId': value['hostId'],
|
|
77
|
+
'key': value['key'],
|
|
78
|
+
'canonicalName': value['canonicalName'],
|
|
79
|
+
'lunUuid': value['lunUuid'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
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: v2
|
|
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, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SuccessfulImageUpgrade
|
|
20
|
+
*/
|
|
21
|
+
export interface SuccessfulImageUpgrade {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
version: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
digest: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
time: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the SuccessfulImageUpgrade interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfSuccessfulImageUpgrade(value: object): value is SuccessfulImageUpgrade {
|
|
40
|
+
if (!('version' in value) || value['version'] === undefined) return false;
|
|
41
|
+
if (!('digest' in value) || value['digest'] === undefined) return false;
|
|
42
|
+
if (!('time' in value) || value['time'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function SuccessfulImageUpgradeFromJSON(json: any): SuccessfulImageUpgrade {
|
|
47
|
+
return SuccessfulImageUpgradeFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function SuccessfulImageUpgradeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessfulImageUpgrade {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'version': json['version'],
|
|
57
|
+
'digest': json['digest'],
|
|
58
|
+
'time': (json['time'] == null ? json['time'] : parseDateTime(json['time'])),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function SuccessfulImageUpgradeToJSON(json: any): SuccessfulImageUpgrade {
|
|
63
|
+
return SuccessfulImageUpgradeToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function SuccessfulImageUpgradeToJSONTyped(value?: SuccessfulImageUpgrade | null, ignoreDiscriminator: boolean = false): any {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'version': value['version'],
|
|
74
|
+
'digest': value['digest'],
|
|
75
|
+
'time': value['time'] == null ? value['time'] : serializeDateTime(value['time']),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -43,6 +43,14 @@ export interface VMFilterOptionsResponse {
|
|
|
43
43
|
* Distinct detected application names
|
|
44
44
|
*/
|
|
45
45
|
applications: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Distinct guest OS values from VM configuration (os_config)
|
|
48
|
+
*/
|
|
49
|
+
osConfigs: Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Distinct guest OS values reported by VMware Tools (os_tools)
|
|
52
|
+
*/
|
|
53
|
+
osTools: Array<string>;
|
|
46
54
|
}
|
|
47
55
|
|
|
48
56
|
/**
|
|
@@ -55,6 +63,8 @@ export function instanceOfVMFilterOptionsResponse(value: object): value is VMFil
|
|
|
55
63
|
if (!('concernLabels' in value) || value['concernLabels'] === undefined) return false;
|
|
56
64
|
if (!('concernCategories' in value) || value['concernCategories'] === undefined) return false;
|
|
57
65
|
if (!('applications' in value) || value['applications'] === undefined) return false;
|
|
66
|
+
if (!('osConfigs' in value) || value['osConfigs'] === undefined) return false;
|
|
67
|
+
if (!('osTools' in value) || value['osTools'] === undefined) return false;
|
|
58
68
|
return true;
|
|
59
69
|
}
|
|
60
70
|
|
|
@@ -74,6 +84,8 @@ export function VMFilterOptionsResponseFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
74
84
|
'concernLabels': json['concernLabels'],
|
|
75
85
|
'concernCategories': json['concernCategories'],
|
|
76
86
|
'applications': json['applications'],
|
|
87
|
+
'osConfigs': json['osConfigs'],
|
|
88
|
+
'osTools': json['osTools'],
|
|
77
89
|
};
|
|
78
90
|
}
|
|
79
91
|
|
|
@@ -94,6 +106,8 @@ export function VMFilterOptionsResponseToJSONTyped(value?: VMFilterOptionsRespon
|
|
|
94
106
|
'concernLabels': value['concernLabels'],
|
|
95
107
|
'concernCategories': value['concernCategories'],
|
|
96
108
|
'applications': value['applications'],
|
|
109
|
+
'osConfigs': value['osConfigs'],
|
|
110
|
+
'osTools': value['osTools'],
|
|
97
111
|
};
|
|
98
112
|
}
|
|
99
113
|
|
|
@@ -91,6 +91,14 @@ export interface VirtualMachine {
|
|
|
91
91
|
* User-defined labels for this VM
|
|
92
92
|
*/
|
|
93
93
|
labels?: Array<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Guest OS according to the VM configuration file (inventory os_config)
|
|
96
|
+
*/
|
|
97
|
+
guestName?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Guest OS reported by VMware Tools (inventory os_tools)
|
|
100
|
+
*/
|
|
101
|
+
guestNameFromVmwareTools?: string;
|
|
94
102
|
/**
|
|
95
103
|
* CPU utilization at p95 (%); absent when no utilization data
|
|
96
104
|
*/
|
|
@@ -159,6 +167,8 @@ export function VirtualMachineFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
159
167
|
'migrationExcluded': json['migrationExcluded'] == null ? undefined : json['migrationExcluded'],
|
|
160
168
|
'groups': json['groups'] == null ? undefined : json['groups'],
|
|
161
169
|
'labels': json['labels'] == null ? undefined : json['labels'],
|
|
170
|
+
'guestName': json['guestName'] == null ? undefined : json['guestName'],
|
|
171
|
+
'guestNameFromVmwareTools': json['guestNameFromVmwareTools'] == null ? undefined : json['guestNameFromVmwareTools'],
|
|
162
172
|
'utilization_cpu_p95': json['utilization_cpu_p95'] == null ? undefined : json['utilization_cpu_p95'],
|
|
163
173
|
'utilization_mem_p95': json['utilization_mem_p95'] == null ? undefined : json['utilization_mem_p95'],
|
|
164
174
|
'utilization_cpu_max': json['utilization_cpu_max'] == null ? undefined : json['utilization_cpu_max'],
|
|
@@ -195,6 +205,8 @@ export function VirtualMachineToJSONTyped(value?: VirtualMachine | null, ignoreD
|
|
|
195
205
|
'migrationExcluded': value['migrationExcluded'],
|
|
196
206
|
'groups': value['groups'],
|
|
197
207
|
'labels': value['labels'],
|
|
208
|
+
'guestName': value['guestName'],
|
|
209
|
+
'guestNameFromVmwareTools': value['guestNameFromVmwareTools'],
|
|
198
210
|
'utilization_cpu_p95': value['utilization_cpu_p95'],
|
|
199
211
|
'utilization_mem_p95': value['utilization_mem_p95'],
|
|
200
212
|
'utilization_cpu_max': value['utilization_cpu_max'],
|
|
@@ -55,6 +55,13 @@ import {
|
|
|
55
55
|
HostPhysicalNICToJSON,
|
|
56
56
|
HostPhysicalNICToJSONTyped,
|
|
57
57
|
} from './HostPhysicalNIC.js';
|
|
58
|
+
import type { Product } from './Product.js';
|
|
59
|
+
import {
|
|
60
|
+
ProductFromJSON,
|
|
61
|
+
ProductFromJSONTyped,
|
|
62
|
+
ProductToJSON,
|
|
63
|
+
ProductToJSONTyped,
|
|
64
|
+
} from './Product.js';
|
|
58
65
|
import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
|
|
59
66
|
import {
|
|
60
67
|
VmUtilizationDetailsFromJSON,
|
|
@@ -254,6 +261,10 @@ export interface VirtualMachineDetail {
|
|
|
254
261
|
* List of processes detected on this VM
|
|
255
262
|
*/
|
|
256
263
|
processes?: Array<Process>;
|
|
264
|
+
/**
|
|
265
|
+
* Products configured in the VM's vApp settings
|
|
266
|
+
*/
|
|
267
|
+
products?: Array<Product>;
|
|
257
268
|
}
|
|
258
269
|
|
|
259
270
|
/**
|
|
@@ -325,6 +336,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
325
336
|
'inspection': json['inspection'] == null ? undefined : VirtualMachineInspectionResultsFromJSON(json['inspection']),
|
|
326
337
|
'utilization': json['utilization'] == null ? undefined : VmUtilizationDetailsFromJSON(json['utilization']),
|
|
327
338
|
'processes': json['processes'] == null ? undefined : ((json['processes'] as Array<any>).map(ProcessFromJSON)),
|
|
339
|
+
'products': json['products'] == null ? undefined : ((json['products'] as Array<any>).map(ProductFromJSON)),
|
|
328
340
|
};
|
|
329
341
|
}
|
|
330
342
|
|
|
@@ -379,6 +391,7 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
|
|
|
379
391
|
'inspection': VirtualMachineInspectionResultsToJSON(value['inspection']),
|
|
380
392
|
'utilization': VmUtilizationDetailsToJSON(value['utilization']),
|
|
381
393
|
'processes': value['processes'] == null ? undefined : ((value['processes'] as Array<any>).map(ProcessToJSON)),
|
|
394
|
+
'products': value['products'] == null ? undefined : ((value['products'] as Array<any>).map(ProductToJSON)),
|
|
382
395
|
};
|
|
383
396
|
}
|
|
384
397
|
|
|
@@ -58,6 +58,14 @@ export interface VirtualMachineDisk {
|
|
|
58
58
|
*
|
|
59
59
|
*/
|
|
60
60
|
rdmBacking?: RDMBacking;
|
|
61
|
+
/**
|
|
62
|
+
* Source-reported thin provisioning; omitted when unavailable
|
|
63
|
+
*/
|
|
64
|
+
thinProvisioned?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Source-reported eager scrubbing; omitted when unavailable
|
|
67
|
+
*/
|
|
68
|
+
eagerlyScrubbed?: boolean;
|
|
61
69
|
/**
|
|
62
70
|
* Bus type (scsi, ide, sata, nvme)
|
|
63
71
|
*/
|
|
@@ -95,6 +103,8 @@ export function VirtualMachineDiskFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
95
103
|
'shared': json['shared'] == null ? undefined : json['shared'],
|
|
96
104
|
'rdm': json['rdm'] == null ? undefined : json['rdm'],
|
|
97
105
|
'rdmBacking': json['rdmBacking'] == null ? undefined : RDMBackingFromJSON(json['rdmBacking']),
|
|
106
|
+
'thinProvisioned': json['thinProvisioned'] == null ? undefined : json['thinProvisioned'],
|
|
107
|
+
'eagerlyScrubbed': json['eagerlyScrubbed'] == null ? undefined : json['eagerlyScrubbed'],
|
|
98
108
|
'bus': json['bus'] == null ? undefined : json['bus'],
|
|
99
109
|
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
100
110
|
'datastore': json['datastore'] == null ? undefined : VirtualMachineDatastoreFromJSON(json['datastore']),
|
|
@@ -118,6 +128,8 @@ export function VirtualMachineDiskToJSONTyped(value?: VirtualMachineDisk | null,
|
|
|
118
128
|
'shared': value['shared'],
|
|
119
129
|
'rdm': value['rdm'],
|
|
120
130
|
'rdmBacking': RDMBackingToJSON(value['rdmBacking']),
|
|
131
|
+
'thinProvisioned': value['thinProvisioned'],
|
|
132
|
+
'eagerlyScrubbed': value['eagerlyScrubbed'],
|
|
121
133
|
'bus': value['bus'],
|
|
122
134
|
'mode': value['mode'],
|
|
123
135
|
'datastore': VirtualMachineDatastoreToJSON(value['datastore']),
|