@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,57 @@
|
|
|
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
|
+
import { ImageUpgradeResultFromJSON, ImageUpgradeResultToJSON, } from './ImageUpgradeResult.js';
|
|
15
|
+
import { ImageUploadStatusFromJSON, ImageUploadStatusToJSON, } from './ImageUploadStatus.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ImageUpgradeStatus interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfImageUpgradeStatus(value) {
|
|
20
|
+
if (!('currentVersion' in value) || value['currentVersion'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('upload' in value) || value['upload'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('upgrade' in value) || value['upgrade'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('upgradeError' in value) || value['upgradeError'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function ImageUpgradeStatusFromJSON(json) {
|
|
31
|
+
return ImageUpgradeStatusFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ImageUpgradeStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'currentVersion': json['currentVersion'],
|
|
39
|
+
'upload': ImageUploadStatusFromJSON(json['upload']),
|
|
40
|
+
'upgrade': ImageUpgradeResultFromJSON(json['upgrade']),
|
|
41
|
+
'upgradeError': json['upgradeError'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function ImageUpgradeStatusToJSON(json) {
|
|
45
|
+
return ImageUpgradeStatusToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function ImageUpgradeStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'currentVersion': value['currentVersion'],
|
|
53
|
+
'upload': ImageUploadStatusToJSON(value['upload']),
|
|
54
|
+
'upgrade': ImageUpgradeResultToJSON(value['upgrade']),
|
|
55
|
+
'upgradeError': value['upgradeError'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ImageUploadStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface ImageUploadStatus {
|
|
18
|
+
/**
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
state: ImageUploadStatusStateEnum;
|
|
22
|
+
/**
|
|
23
|
+
* Last upload error, or an upload-state availability error when state is unknown. Host result read errors are reported in upgradeError.
|
|
24
|
+
*/
|
|
25
|
+
lastError: string | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const ImageUploadStatusStateEnum: {
|
|
31
|
+
readonly Idle: "idle";
|
|
32
|
+
readonly Uploading: "uploading";
|
|
33
|
+
readonly Validating: "validating";
|
|
34
|
+
readonly Unknown: "unknown";
|
|
35
|
+
};
|
|
36
|
+
export type ImageUploadStatusStateEnum = typeof ImageUploadStatusStateEnum[keyof typeof ImageUploadStatusStateEnum];
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ImageUploadStatus interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfImageUploadStatus(value: object): value is ImageUploadStatus;
|
|
41
|
+
export declare function ImageUploadStatusFromJSON(json: any): ImageUploadStatus;
|
|
42
|
+
export declare function ImageUploadStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageUploadStatus;
|
|
43
|
+
export declare function ImageUploadStatusToJSON(json: any): ImageUploadStatus;
|
|
44
|
+
export declare function ImageUploadStatusToJSONTyped(value?: ImageUploadStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ImageUploadStatusStateEnum = {
|
|
18
|
+
Idle: 'idle',
|
|
19
|
+
Uploading: 'uploading',
|
|
20
|
+
Validating: 'validating',
|
|
21
|
+
Unknown: 'unknown',
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ImageUploadStatus interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfImageUploadStatus(value) {
|
|
27
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('lastError' in value) || value['lastError'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function ImageUploadStatusFromJSON(json) {
|
|
34
|
+
return ImageUploadStatusFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ImageUploadStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'state': json['state'],
|
|
42
|
+
'lastError': json['lastError'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function ImageUploadStatusToJSON(json) {
|
|
46
|
+
return ImageUploadStatusToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function ImageUploadStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'state': value['state'],
|
|
54
|
+
'lastError': value['lastError'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -27,6 +27,10 @@ export interface OsInfo {
|
|
|
27
27
|
* OS support tier per Red Hat KCS article 4234591
|
|
28
28
|
*/
|
|
29
29
|
supportTier?: OsInfoSupportTierEnum;
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
*/
|
|
33
|
+
mtvStatus?: OsInfoMtvStatusEnum;
|
|
30
34
|
/**
|
|
31
35
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
32
36
|
*/
|
|
@@ -42,6 +46,14 @@ export declare const OsInfoSupportTierEnum: {
|
|
|
42
46
|
readonly SpecialHandling: "special_handling";
|
|
43
47
|
};
|
|
44
48
|
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const OsInfoMtvStatusEnum: {
|
|
53
|
+
readonly Green: "green";
|
|
54
|
+
readonly Blue: "blue";
|
|
55
|
+
};
|
|
56
|
+
export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
|
|
45
57
|
/**
|
|
46
58
|
* Check if a given object implements the OsInfo interface.
|
|
47
59
|
*/
|
|
@@ -20,6 +20,13 @@ export const OsInfoSupportTierEnum = {
|
|
|
20
20
|
CommunitySupported: 'community_supported',
|
|
21
21
|
SpecialHandling: 'special_handling',
|
|
22
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export const OsInfoMtvStatusEnum = {
|
|
27
|
+
Green: 'green',
|
|
28
|
+
Blue: 'blue',
|
|
29
|
+
};
|
|
23
30
|
/**
|
|
24
31
|
* Check if a given object implements the OsInfo interface.
|
|
25
32
|
*/
|
|
@@ -41,6 +48,7 @@ export function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
48
|
'count': json['count'],
|
|
42
49
|
'supported': json['supported'],
|
|
43
50
|
'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
|
|
51
|
+
'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
|
|
44
52
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
45
53
|
};
|
|
46
54
|
}
|
|
@@ -55,6 +63,7 @@ export function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
55
63
|
'count': value['count'],
|
|
56
64
|
'supported': value['supported'],
|
|
57
65
|
'supportTier': value['supportTier'],
|
|
66
|
+
'mtvStatus': value['mtvStatus'],
|
|
58
67
|
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
59
68
|
};
|
|
60
69
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Product
|
|
16
|
+
*/
|
|
17
|
+
export interface Product {
|
|
18
|
+
/**
|
|
19
|
+
* Product key
|
|
20
|
+
*/
|
|
21
|
+
key: number;
|
|
22
|
+
/**
|
|
23
|
+
* Product class identifier
|
|
24
|
+
*/
|
|
25
|
+
classId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Product instance identifier
|
|
28
|
+
*/
|
|
29
|
+
instanceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Product name
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Product vendor
|
|
36
|
+
*/
|
|
37
|
+
vendor?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Product version
|
|
40
|
+
*/
|
|
41
|
+
version?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Full product version
|
|
44
|
+
*/
|
|
45
|
+
fullVersion?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Product vendor URL
|
|
48
|
+
*/
|
|
49
|
+
vendorUrl?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Product URL
|
|
52
|
+
*/
|
|
53
|
+
productUrl?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Application URL
|
|
56
|
+
*/
|
|
57
|
+
appUrl?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the Product interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfProduct(value: object): value is Product;
|
|
63
|
+
export declare function ProductFromJSON(json: any): Product;
|
|
64
|
+
export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
|
|
65
|
+
export declare function ProductToJSON(json: any): Product;
|
|
66
|
+
export declare function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
* Check if a given object implements the Product interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfProduct(value) {
|
|
18
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ProductFromJSON(json) {
|
|
23
|
+
return ProductFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'key': json['key'],
|
|
31
|
+
'classId': json['classId'] == null ? undefined : json['classId'],
|
|
32
|
+
'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
|
|
33
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
34
|
+
'vendor': json['vendor'] == null ? undefined : json['vendor'],
|
|
35
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
36
|
+
'fullVersion': json['fullVersion'] == null ? undefined : json['fullVersion'],
|
|
37
|
+
'vendorUrl': json['vendorUrl'] == null ? undefined : json['vendorUrl'],
|
|
38
|
+
'productUrl': json['productUrl'] == null ? undefined : json['productUrl'],
|
|
39
|
+
'appUrl': json['appUrl'] == null ? undefined : json['appUrl'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function ProductToJSON(json) {
|
|
43
|
+
return ProductToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function ProductToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'key': value['key'],
|
|
51
|
+
'classId': value['classId'],
|
|
52
|
+
'instanceId': value['instanceId'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'vendor': value['vendor'],
|
|
55
|
+
'version': value['version'],
|
|
56
|
+
'fullVersion': value['fullVersion'],
|
|
57
|
+
'vendorUrl': value['vendorUrl'],
|
|
58
|
+
'productUrl': value['productUrl'],
|
|
59
|
+
'appUrl': value['appUrl'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { RDMHostLun } from './RDMHostLun.js';
|
|
12
13
|
/**
|
|
13
14
|
* Source-provided backing identity for an RDM disk; omitted when unavailable
|
|
14
15
|
* @export
|
|
@@ -19,7 +20,32 @@ export interface RDMBacking {
|
|
|
19
20
|
* LUN UUID reported directly by the RDM disk backing, when available
|
|
20
21
|
*/
|
|
21
22
|
lunUuid?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Device name reported directly by the RDM disk backing
|
|
25
|
+
*/
|
|
26
|
+
deviceName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Source-normalized RDM compatibility mode
|
|
29
|
+
*/
|
|
30
|
+
compatibilityMode?: RDMBackingCompatibilityModeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* UUID explicitly identifying the RDM backing, when available
|
|
33
|
+
*/
|
|
34
|
+
backingUuid?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
hostLun?: RDMHostLun;
|
|
22
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
export declare const RDMBackingCompatibilityModeEnum: {
|
|
44
|
+
readonly Physical: "physical";
|
|
45
|
+
readonly Virtual: "virtual";
|
|
46
|
+
readonly Unknown: "unknown";
|
|
47
|
+
};
|
|
48
|
+
export type RDMBackingCompatibilityModeEnum = typeof RDMBackingCompatibilityModeEnum[keyof typeof RDMBackingCompatibilityModeEnum];
|
|
23
49
|
/**
|
|
24
50
|
* Check if a given object implements the RDMBacking interface.
|
|
25
51
|
*/
|
|
@@ -11,6 +11,15 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { RDMHostLunFromJSON, RDMHostLunToJSON, } from './RDMHostLun.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const RDMBackingCompatibilityModeEnum = {
|
|
19
|
+
Physical: 'physical',
|
|
20
|
+
Virtual: 'virtual',
|
|
21
|
+
Unknown: 'unknown',
|
|
22
|
+
};
|
|
14
23
|
/**
|
|
15
24
|
* Check if a given object implements the RDMBacking interface.
|
|
16
25
|
*/
|
|
@@ -26,6 +35,10 @@ export function RDMBackingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
35
|
}
|
|
27
36
|
return {
|
|
28
37
|
'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
|
|
38
|
+
'deviceName': json['deviceName'] == null ? undefined : json['deviceName'],
|
|
39
|
+
'compatibilityMode': json['compatibilityMode'] == null ? undefined : json['compatibilityMode'],
|
|
40
|
+
'backingUuid': json['backingUuid'] == null ? undefined : json['backingUuid'],
|
|
41
|
+
'hostLun': json['hostLun'] == null ? undefined : RDMHostLunFromJSON(json['hostLun']),
|
|
29
42
|
};
|
|
30
43
|
}
|
|
31
44
|
export function RDMBackingToJSON(json) {
|
|
@@ -37,5 +50,9 @@ export function RDMBackingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
37
50
|
}
|
|
38
51
|
return {
|
|
39
52
|
'lunUuid': value['lunUuid'],
|
|
53
|
+
'deviceName': value['deviceName'],
|
|
54
|
+
'compatibilityMode': value['compatibilityMode'],
|
|
55
|
+
'backingUuid': value['backingUuid'],
|
|
56
|
+
'hostLun': RDMHostLunToJSON(value['hostLun']),
|
|
40
57
|
};
|
|
41
58
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Host LUN matched to the RDM disk backing through a verified identifier relationship and the VM's running host
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RDMHostLun
|
|
16
|
+
*/
|
|
17
|
+
export interface RDMHostLun {
|
|
18
|
+
/**
|
|
19
|
+
* Object ID of the uniquely resolved running host that owns the matched LUN
|
|
20
|
+
*/
|
|
21
|
+
hostId: string;
|
|
22
|
+
/**
|
|
23
|
+
* SCSI disk key of the matched host LUN, when available
|
|
24
|
+
*/
|
|
25
|
+
key?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Canonical name (e.g. NAA) of the matched host LUN, when available
|
|
28
|
+
*/
|
|
29
|
+
canonicalName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* LUN UUID of the matched host LUN, when available
|
|
32
|
+
*/
|
|
33
|
+
lunUuid?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the RDMHostLun interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfRDMHostLun(value: object): value is RDMHostLun;
|
|
39
|
+
export declare function RDMHostLunFromJSON(json: any): RDMHostLun;
|
|
40
|
+
export declare function RDMHostLunFromJSONTyped(json: any, ignoreDiscriminator: boolean): RDMHostLun;
|
|
41
|
+
export declare function RDMHostLunToJSON(json: any): RDMHostLun;
|
|
42
|
+
export declare function RDMHostLunToJSONTyped(value?: RDMHostLun | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
* Check if a given object implements the RDMHostLun interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRDMHostLun(value) {
|
|
18
|
+
if (!('hostId' in value) || value['hostId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function RDMHostLunFromJSON(json) {
|
|
23
|
+
return RDMHostLunFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function RDMHostLunFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'hostId': json['hostId'],
|
|
31
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
32
|
+
'canonicalName': json['canonicalName'] == null ? undefined : json['canonicalName'],
|
|
33
|
+
'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function RDMHostLunToJSON(json) {
|
|
37
|
+
return RDMHostLunToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function RDMHostLunToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'hostId': value['hostId'],
|
|
45
|
+
'key': value['key'],
|
|
46
|
+
'canonicalName': value['canonicalName'],
|
|
47
|
+
'lunUuid': value['lunUuid'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SuccessfulImageUpgrade
|
|
16
|
+
*/
|
|
17
|
+
export interface SuccessfulImageUpgrade {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
version: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
digest: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
time: Date;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SuccessfulImageUpgrade interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSuccessfulImageUpgrade(value: object): value is SuccessfulImageUpgrade;
|
|
35
|
+
export declare function SuccessfulImageUpgradeFromJSON(json: any): SuccessfulImageUpgrade;
|
|
36
|
+
export declare function SuccessfulImageUpgradeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessfulImageUpgrade;
|
|
37
|
+
export declare function SuccessfulImageUpgradeToJSON(json: any): SuccessfulImageUpgrade;
|
|
38
|
+
export declare function SuccessfulImageUpgradeToJSONTyped(value?: SuccessfulImageUpgrade | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
import { parseDateTime, serializeDateTime } from '../runtime.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessfulImageUpgrade interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessfulImageUpgrade(value) {
|
|
19
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('digest' in value) || value['digest'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('time' in value) || value['time'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function SuccessfulImageUpgradeFromJSON(json) {
|
|
28
|
+
return SuccessfulImageUpgradeFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function SuccessfulImageUpgradeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'version': json['version'],
|
|
36
|
+
'digest': json['digest'],
|
|
37
|
+
'time': (json['time'] == null ? json['time'] : parseDateTime(json['time'])),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function SuccessfulImageUpgradeToJSON(json) {
|
|
41
|
+
return SuccessfulImageUpgradeToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function SuccessfulImageUpgradeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'version': value['version'],
|
|
49
|
+
'digest': value['digest'],
|
|
50
|
+
'time': value['time'] == null ? value['time'] : serializeDateTime(value['time']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -41,6 +41,14 @@ export interface VMFilterOptionsResponse {
|
|
|
41
41
|
* Distinct detected application names
|
|
42
42
|
*/
|
|
43
43
|
applications: Array<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Distinct guest OS values from VM configuration (os_config)
|
|
46
|
+
*/
|
|
47
|
+
osConfigs: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Distinct guest OS values reported by VMware Tools (os_tools)
|
|
50
|
+
*/
|
|
51
|
+
osTools: Array<string>;
|
|
44
52
|
}
|
|
45
53
|
/**
|
|
46
54
|
* Check if a given object implements the VMFilterOptionsResponse interface.
|
|
@@ -27,6 +27,10 @@ export function instanceOfVMFilterOptionsResponse(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('applications' in value) || value['applications'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('osConfigs' in value) || value['osConfigs'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('osTools' in value) || value['osTools'] === undefined)
|
|
33
|
+
return false;
|
|
30
34
|
return true;
|
|
31
35
|
}
|
|
32
36
|
export function VMFilterOptionsResponseFromJSON(json) {
|
|
@@ -43,6 +47,8 @@ export function VMFilterOptionsResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
43
47
|
'concernLabels': json['concernLabels'],
|
|
44
48
|
'concernCategories': json['concernCategories'],
|
|
45
49
|
'applications': json['applications'],
|
|
50
|
+
'osConfigs': json['osConfigs'],
|
|
51
|
+
'osTools': json['osTools'],
|
|
46
52
|
};
|
|
47
53
|
}
|
|
48
54
|
export function VMFilterOptionsResponseToJSON(json) {
|
|
@@ -59,5 +65,7 @@ export function VMFilterOptionsResponseToJSONTyped(value, ignoreDiscriminator =
|
|
|
59
65
|
'concernLabels': value['concernLabels'],
|
|
60
66
|
'concernCategories': value['concernCategories'],
|
|
61
67
|
'applications': value['applications'],
|
|
68
|
+
'osConfigs': value['osConfigs'],
|
|
69
|
+
'osTools': value['osTools'],
|
|
62
70
|
};
|
|
63
71
|
}
|
|
@@ -80,6 +80,14 @@ export interface VirtualMachine {
|
|
|
80
80
|
* User-defined labels for this VM
|
|
81
81
|
*/
|
|
82
82
|
labels?: Array<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Guest OS according to the VM configuration file (inventory os_config)
|
|
85
|
+
*/
|
|
86
|
+
guestName?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Guest OS reported by VMware Tools (inventory os_tools)
|
|
89
|
+
*/
|
|
90
|
+
guestNameFromVmwareTools?: string;
|
|
83
91
|
/**
|
|
84
92
|
* CPU utilization at p95 (%); absent when no utilization data
|
|
85
93
|
*/
|