@openshift-migration-advisor/agent-sdk 0.33.1-84c734aba511 → 0.33.1-e1c90d7b1b79
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/README.md +14 -2
- package/dist/apis/AppliancesApi.d.ts +194 -0
- package/dist/apis/AppliancesApi.js +201 -0
- package/dist/apis/GroupsApi.d.ts +6 -6
- package/dist/apis/VirtualMachinesApi.d.ts +6 -6
- package/dist/esm/apis/AppliancesApi.d.ts +194 -0
- package/dist/esm/apis/AppliancesApi.js +201 -0
- package/dist/esm/apis/GroupsApi.d.ts +6 -6
- package/dist/esm/apis/VirtualMachinesApi.d.ts +6 -6
- package/dist/esm/models/ApplianceRule.d.ts +90 -0
- package/dist/esm/models/ApplianceRule.js +98 -0
- package/dist/esm/models/ApplianceRuleCondition.d.ts +42 -0
- package/dist/esm/models/ApplianceRuleCondition.js +48 -0
- package/dist/esm/models/ApplianceRuleFunction.d.ts +37 -0
- package/dist/esm/models/ApplianceRuleFunction.js +46 -0
- package/dist/esm/models/ApplianceRuleListResponse.d.ts +31 -0
- package/dist/esm/models/ApplianceRuleListResponse.js +44 -0
- package/dist/esm/models/ApplianceRuleRequest.d.ts +74 -0
- package/dist/esm/models/ApplianceRuleRequest.js +85 -0
- package/dist/esm/models/Datastore.d.ts +9 -0
- package/dist/esm/models/Datastore.js +5 -0
- package/dist/esm/models/DiskGeometryCondition.d.ts +47 -0
- package/dist/esm/models/DiskGeometryCondition.js +58 -0
- package/dist/esm/models/StorageArray.d.ts +42 -0
- package/dist/esm/models/StorageArray.js +47 -0
- package/dist/esm/models/VirtualMachineDatastore.d.ts +9 -0
- package/dist/esm/models/VirtualMachineDatastore.js +5 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/models/ApplianceRule.d.ts +90 -0
- package/dist/models/ApplianceRule.js +106 -0
- package/dist/models/ApplianceRuleCondition.d.ts +42 -0
- package/dist/models/ApplianceRuleCondition.js +55 -0
- package/dist/models/ApplianceRuleFunction.d.ts +37 -0
- package/dist/models/ApplianceRuleFunction.js +53 -0
- package/dist/models/ApplianceRuleListResponse.d.ts +31 -0
- package/dist/models/ApplianceRuleListResponse.js +51 -0
- package/dist/models/ApplianceRuleRequest.d.ts +74 -0
- package/dist/models/ApplianceRuleRequest.js +93 -0
- package/dist/models/Datastore.d.ts +9 -0
- package/dist/models/Datastore.js +5 -0
- package/dist/models/DiskGeometryCondition.d.ts +47 -0
- package/dist/models/DiskGeometryCondition.js +66 -0
- package/dist/models/StorageArray.d.ts +42 -0
- package/dist/models/StorageArray.js +54 -0
- package/dist/models/VirtualMachineDatastore.d.ts +9 -0
- package/dist/models/VirtualMachineDatastore.js +5 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/docs/ApplianceRule.md +50 -0
- package/docs/ApplianceRuleCondition.md +39 -0
- package/docs/ApplianceRuleFunction.md +37 -0
- package/docs/ApplianceRuleListResponse.md +34 -0
- package/docs/ApplianceRuleRequest.md +46 -0
- package/docs/AppliancesApi.md +338 -0
- package/docs/Datastore.md +4 -0
- package/docs/DiskGeometryCondition.md +38 -0
- package/docs/GroupsApi.md +4 -4
- package/docs/StorageArray.md +41 -0
- package/docs/VirtualMachineDatastore.md +4 -0
- package/docs/VirtualMachinesApi.md +4 -4
- package/package.json +1 -1
- package/src/apis/AppliancesApi.ts +393 -0
- package/src/apis/GroupsApi.ts +6 -6
- package/src/apis/VirtualMachinesApi.ts +6 -6
- package/src/models/ApplianceRule.ts +159 -0
- package/src/models/ApplianceRuleCondition.ts +87 -0
- package/src/models/ApplianceRuleFunction.ts +80 -0
- package/src/models/ApplianceRuleListResponse.ts +72 -0
- package/src/models/ApplianceRuleRequest.ts +137 -0
- package/src/models/Datastore.ts +19 -0
- package/src/models/DiskGeometryCondition.ts +90 -0
- package/src/models/StorageArray.ts +81 -0
- package/src/models/VirtualMachineDatastore.ts +20 -0
- package/src/models/index.ts +7 -0
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
* Authoritative source VASA array identity associated with this datastore; distinct from LUN inquiry metadata and storage-container identity
|
|
18
|
+
* @export
|
|
19
|
+
* @interface StorageArray
|
|
20
|
+
*/
|
|
21
|
+
export interface StorageArray {
|
|
22
|
+
/**
|
|
23
|
+
* Array UUID reported by the source, when available
|
|
24
|
+
*/
|
|
25
|
+
uuid?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* VASA vendor ID, not a SCSI inquiry vendor
|
|
32
|
+
*/
|
|
33
|
+
vendorId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* VASA model ID, not a SCSI inquiry model
|
|
36
|
+
*/
|
|
37
|
+
modelId?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the StorageArray interface.
|
|
42
|
+
*/
|
|
43
|
+
export function instanceOfStorageArray(value: object): value is StorageArray {
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function StorageArrayFromJSON(json: any): StorageArray {
|
|
48
|
+
return StorageArrayFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function StorageArrayFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageArray {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
58
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
59
|
+
'vendorId': json['vendorId'] == null ? undefined : json['vendorId'],
|
|
60
|
+
'modelId': json['modelId'] == null ? undefined : json['modelId'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function StorageArrayToJSON(json: any): StorageArray {
|
|
65
|
+
return StorageArrayToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function StorageArrayToJSONTyped(value?: StorageArray | null, ignoreDiscriminator: boolean = false): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return {
|
|
74
|
+
|
|
75
|
+
'uuid': value['uuid'],
|
|
76
|
+
'name': value['name'],
|
|
77
|
+
'vendorId': value['vendorId'],
|
|
78
|
+
'modelId': value['modelId'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { StorageArray } from './StorageArray.js';
|
|
17
|
+
import {
|
|
18
|
+
StorageArrayFromJSON,
|
|
19
|
+
StorageArrayFromJSONTyped,
|
|
20
|
+
StorageArrayToJSON,
|
|
21
|
+
StorageArrayToJSONTyped,
|
|
22
|
+
} from './StorageArray.js';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* Datastore backing this virtual disk
|
|
18
26
|
* @export
|
|
@@ -59,6 +67,14 @@ export interface VirtualMachineDatastore {
|
|
|
59
67
|
* Model reported by matching backing devices when available
|
|
60
68
|
*/
|
|
61
69
|
model?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Source-reported VASA arrays associated with this datastore, when available
|
|
72
|
+
*/
|
|
73
|
+
storageArrays?: Array<StorageArray>;
|
|
74
|
+
/**
|
|
75
|
+
* Source-reported storage container identifier, when available
|
|
76
|
+
*/
|
|
77
|
+
storageContainerId?: string;
|
|
62
78
|
}
|
|
63
79
|
|
|
64
80
|
/**
|
|
@@ -88,6 +104,8 @@ export function VirtualMachineDatastoreFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
88
104
|
'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
|
|
89
105
|
'vendor': json['vendor'] == null ? undefined : json['vendor'],
|
|
90
106
|
'model': json['model'] == null ? undefined : json['model'],
|
|
107
|
+
'storageArrays': json['storageArrays'] == null ? undefined : ((json['storageArrays'] as Array<any>).map(StorageArrayFromJSON)),
|
|
108
|
+
'storageContainerId': json['storageContainerId'] == null ? undefined : json['storageContainerId'],
|
|
91
109
|
};
|
|
92
110
|
}
|
|
93
111
|
|
|
@@ -112,6 +130,8 @@ export function VirtualMachineDatastoreToJSONTyped(value?: VirtualMachineDatasto
|
|
|
112
130
|
'backingDeviceIds': value['backingDeviceIds'],
|
|
113
131
|
'vendor': value['vendor'],
|
|
114
132
|
'model': value['model'],
|
|
133
|
+
'storageArrays': value['storageArrays'] == null ? undefined : ((value['storageArrays'] as Array<any>).map(StorageArrayToJSON)),
|
|
134
|
+
'storageContainerId': value['storageContainerId'],
|
|
115
135
|
};
|
|
116
136
|
}
|
|
117
137
|
|
package/src/models/index.ts
CHANGED
|
@@ -5,6 +5,11 @@ export * from './AgentStatus.js';
|
|
|
5
5
|
export * from './AgentStatusConsoleConnection.js';
|
|
6
6
|
export * from './Appliance.js';
|
|
7
7
|
export * from './ApplianceListResponse.js';
|
|
8
|
+
export * from './ApplianceRule.js';
|
|
9
|
+
export * from './ApplianceRuleCondition.js';
|
|
10
|
+
export * from './ApplianceRuleFunction.js';
|
|
11
|
+
export * from './ApplianceRuleListResponse.js';
|
|
12
|
+
export * from './ApplianceRuleRequest.js';
|
|
8
13
|
export * from './ApplicationListResponse.js';
|
|
9
14
|
export * from './ApplicationOverview.js';
|
|
10
15
|
export * from './ApplicationVM.js';
|
|
@@ -30,6 +35,7 @@ export * from './Datastore.js';
|
|
|
30
35
|
export * from './DatastoreDetail.js';
|
|
31
36
|
export * from './DatastorePairRequest.js';
|
|
32
37
|
export * from './DeleteLabelGloballyResponse.js';
|
|
38
|
+
export * from './DiskGeometryCondition.js';
|
|
33
39
|
export * from './DiskSizeTierSummary.js';
|
|
34
40
|
export * from './DiskTypeSummary.js';
|
|
35
41
|
export * from './EstimateRange.js';
|
|
@@ -70,6 +76,7 @@ export * from './RightsizingClusterUtilization.js';
|
|
|
70
76
|
export * from './StartForecasterRequest.js';
|
|
71
77
|
export * from './StartInspectionRequest.js';
|
|
72
78
|
export * from './StopForecasterPair202Response.js';
|
|
79
|
+
export * from './StorageArray.js';
|
|
73
80
|
export * from './StorageIoConfiguration.js';
|
|
74
81
|
export * from './SuccessfulImageUpgrade.js';
|
|
75
82
|
export * from './UpdateGroupRequest.js';
|