@openshift-migration-advisor/agent-sdk 0.33.0 → 0.33.1-edd914e78442
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 +14 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +10 -3
- package/dist/apis/ImageUpgradeApi.d.ts +66 -0
- package/dist/apis/ImageUpgradeApi.js +90 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -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 +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AgentStatus.d.ts +5 -0
- package/dist/esm/models/AgentStatus.js +5 -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/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/VirtualMachineDisk.d.ts +8 -0
- package/dist/esm/models/VirtualMachineDisk.js +4 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/models/AgentStatus.d.ts +5 -0
- package/dist/models/AgentStatus.js +5 -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/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/VirtualMachineDisk.d.ts +8 -0
- package/dist/models/VirtualMachineDisk.js +4 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/docs/AgentStatus.md +2 -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/RDMBacking.md +8 -0
- package/docs/RDMHostLun.md +41 -0
- package/docs/SuccessfulImageUpgrade.md +38 -0
- package/docs/VirtualMachineDisk.md +4 -0
- package/package.json +1 -1
- package/src/apis/ImageUpgradeApi.ts +128 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AgentStatus.ts +14 -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/RDMBacking.ts +44 -0
- package/src/models/RDMHostLun.ts +82 -0
- package/src/models/SuccessfulImageUpgrade.ts +78 -0
- package/src/models/VirtualMachineDisk.ts +12 -0
- package/src/models/index.ts +6 -0
|
@@ -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
|
+
|
|
@@ -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']),
|
package/src/models/index.ts
CHANGED
|
@@ -45,6 +45,10 @@ export * from './Host.js';
|
|
|
45
45
|
export * from './HostPhysicalNIC.js';
|
|
46
46
|
export * from './HostStorageAdapter.js';
|
|
47
47
|
export * from './HostStorageLun.js';
|
|
48
|
+
export * from './ImageUpgradeImage.js';
|
|
49
|
+
export * from './ImageUpgradeResult.js';
|
|
50
|
+
export * from './ImageUpgradeStatus.js';
|
|
51
|
+
export * from './ImageUploadStatus.js';
|
|
48
52
|
export * from './Infra.js';
|
|
49
53
|
export * from './InspectionStatus.js';
|
|
50
54
|
export * from './InspectorStatus.js';
|
|
@@ -60,12 +64,14 @@ export * from './PairCapabilityRequest.js';
|
|
|
60
64
|
export * from './Process.js';
|
|
61
65
|
export * from './Product.js';
|
|
62
66
|
export * from './RDMBacking.js';
|
|
67
|
+
export * from './RDMHostLun.js';
|
|
63
68
|
export * from './RightsizingClusterResponse.js';
|
|
64
69
|
export * from './RightsizingClusterUtilization.js';
|
|
65
70
|
export * from './StartForecasterRequest.js';
|
|
66
71
|
export * from './StartInspectionRequest.js';
|
|
67
72
|
export * from './StopForecasterPair202Response.js';
|
|
68
73
|
export * from './StorageIoConfiguration.js';
|
|
74
|
+
export * from './SuccessfulImageUpgrade.js';
|
|
69
75
|
export * from './UpdateGroupRequest.js';
|
|
70
76
|
export * from './UpdateInventory.js';
|
|
71
77
|
export * from './UpdateLabelVMsRequest.js';
|