@openshift-migration-advisor/agent-sdk 0.33.1-84c734aba511 → 0.33.1-d086ee06be70
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 +26 -0
- package/README.md +20 -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/RecommendationsApi.d.ts +64 -0
- package/dist/apis/RecommendationsApi.js +74 -0
- package/dist/apis/VirtualMachinesApi.d.ts +6 -6
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- 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/RecommendationsApi.d.ts +64 -0
- package/dist/esm/apis/RecommendationsApi.js +70 -0
- package/dist/esm/apis/VirtualMachinesApi.d.ts +6 -6
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- 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/ComplexityDiskScoreEntry.d.ts +39 -0
- package/dist/esm/models/ComplexityDiskScoreEntry.js +51 -0
- package/dist/esm/models/ComplexityOSNameEntry.d.ts +40 -0
- package/dist/esm/models/ComplexityOSNameEntry.js +51 -0
- package/dist/esm/models/ComplexityOSScoreEntry.d.ts +35 -0
- package/dist/esm/models/ComplexityOSScoreEntry.js +47 -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/MigrationComplexityRequest.d.ts +30 -0
- package/dist/esm/models/MigrationComplexityRequest.js +41 -0
- package/dist/esm/models/MigrationComplexityResponse.d.ts +58 -0
- package/dist/esm/models/MigrationComplexityResponse.js +62 -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 +12 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/esm/runtime.d.ts +3 -1
- package/dist/esm/runtime.js +1 -1
- 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/ComplexityDiskScoreEntry.d.ts +39 -0
- package/dist/models/ComplexityDiskScoreEntry.js +58 -0
- package/dist/models/ComplexityOSNameEntry.d.ts +40 -0
- package/dist/models/ComplexityOSNameEntry.js +58 -0
- package/dist/models/ComplexityOSScoreEntry.d.ts +35 -0
- package/dist/models/ComplexityOSScoreEntry.js +54 -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/MigrationComplexityRequest.d.ts +30 -0
- package/dist/models/MigrationComplexityRequest.js +48 -0
- package/dist/models/MigrationComplexityResponse.d.ts +58 -0
- package/dist/models/MigrationComplexityResponse.js +69 -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 +12 -0
- package/dist/models/index.js +12 -0
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +1 -1
- 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/ComplexityDiskScoreEntry.md +39 -0
- package/docs/ComplexityOSNameEntry.md +39 -0
- package/docs/ComplexityOSScoreEntry.md +37 -0
- package/docs/Datastore.md +4 -0
- package/docs/DiskGeometryCondition.md +38 -0
- package/docs/GroupsApi.md +4 -4
- package/docs/MigrationComplexityRequest.md +35 -0
- package/docs/MigrationComplexityResponse.md +43 -0
- package/docs/RecommendationsApi.md +79 -0
- 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/RecommendationsApi.ts +117 -0
- package/src/apis/VirtualMachinesApi.ts +6 -6
- package/src/apis/index.ts +1 -0
- 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/ComplexityDiskScoreEntry.ts +79 -0
- package/src/models/ComplexityOSNameEntry.ts +80 -0
- package/src/models/ComplexityOSScoreEntry.ts +72 -0
- package/src/models/Datastore.ts +19 -0
- package/src/models/DiskGeometryCondition.ts +90 -0
- package/src/models/MigrationComplexityRequest.ts +63 -0
- package/src/models/MigrationComplexityResponse.ts +119 -0
- package/src/models/StorageArray.ts +81 -0
- package/src/models/VirtualMachineDatastore.ts +20 -0
- package/src/models/index.ts +12 -0
- package/src/runtime.ts +8 -1
|
@@ -10,12 +10,21 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { StorageIoConfiguration } from './StorageIoConfiguration.js';
|
|
13
|
+
import type { StorageArray } from './StorageArray.js';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
16
17
|
* @interface Datastore
|
|
17
18
|
*/
|
|
18
19
|
export interface Datastore {
|
|
20
|
+
/**
|
|
21
|
+
* Source-reported VASA arrays; absence does not establish that the datastore has no array
|
|
22
|
+
*/
|
|
23
|
+
storageArrays?: Array<StorageArray>;
|
|
24
|
+
/**
|
|
25
|
+
* Source storage-container identifier, distinct from array UUID and protocol-endpoint identity
|
|
26
|
+
*/
|
|
27
|
+
storageContainerId?: string;
|
|
19
28
|
/**
|
|
20
29
|
*
|
|
21
30
|
*/
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { StorageIoConfigurationFromJSON, StorageIoConfigurationToJSON, } from './StorageIoConfiguration.js';
|
|
15
|
+
import { StorageArrayFromJSON, StorageArrayToJSON, } from './StorageArray.js';
|
|
15
16
|
/**
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
@@ -50,6 +51,8 @@ export function DatastoreFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
51
|
return json;
|
|
51
52
|
}
|
|
52
53
|
return {
|
|
54
|
+
'storageArrays': json['storageArrays'] == null ? undefined : (json['storageArrays'].map(StorageArrayFromJSON)),
|
|
55
|
+
'storageContainerId': json['storageContainerId'] == null ? undefined : json['storageContainerId'],
|
|
53
56
|
'type': json['type'],
|
|
54
57
|
'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
|
|
55
58
|
'filesystemType': json['filesystemType'] == null ? undefined : json['filesystemType'],
|
|
@@ -75,6 +78,8 @@ export function DatastoreToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
75
78
|
return value;
|
|
76
79
|
}
|
|
77
80
|
return {
|
|
81
|
+
'storageArrays': value['storageArrays'] == null ? undefined : (value['storageArrays'].map(StorageArrayToJSON)),
|
|
82
|
+
'storageContainerId': value['storageContainerId'],
|
|
78
83
|
'type': value['type'],
|
|
79
84
|
'backingDeviceIds': value['backingDeviceIds'],
|
|
80
85
|
'filesystemType': value['filesystemType'],
|
|
@@ -0,0 +1,47 @@
|
|
|
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 DiskGeometryCondition
|
|
16
|
+
*/
|
|
17
|
+
export interface DiskGeometryCondition {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
disks: Array<number>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
mode: DiskGeometryConditionModeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Largest difference in MiB allowed between a required disk size and the size of a VM disk. Zero requires the sizes to match exactly.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
tolerance_mib: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const DiskGeometryConditionModeEnum: {
|
|
36
|
+
readonly Exact: "exact";
|
|
37
|
+
readonly Superset: "superset";
|
|
38
|
+
};
|
|
39
|
+
export type DiskGeometryConditionModeEnum = typeof DiskGeometryConditionModeEnum[keyof typeof DiskGeometryConditionModeEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the DiskGeometryCondition interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfDiskGeometryCondition(value: object): value is DiskGeometryCondition;
|
|
44
|
+
export declare function DiskGeometryConditionFromJSON(json: any): DiskGeometryCondition;
|
|
45
|
+
export declare function DiskGeometryConditionFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiskGeometryCondition;
|
|
46
|
+
export declare function DiskGeometryConditionToJSON(json: any): DiskGeometryCondition;
|
|
47
|
+
export declare function DiskGeometryConditionToJSONTyped(value?: DiskGeometryCondition | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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 DiskGeometryConditionModeEnum = {
|
|
18
|
+
Exact: 'exact',
|
|
19
|
+
Superset: 'superset',
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DiskGeometryCondition interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfDiskGeometryCondition(value) {
|
|
25
|
+
if (!('disks' in value) || value['disks'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('tolerance_mib' in value) || value['tolerance_mib'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function DiskGeometryConditionFromJSON(json) {
|
|
34
|
+
return DiskGeometryConditionFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function DiskGeometryConditionFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'disks': json['disks'],
|
|
42
|
+
'mode': json['mode'],
|
|
43
|
+
'tolerance_mib': json['tolerance_mib'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function DiskGeometryConditionToJSON(json) {
|
|
47
|
+
return DiskGeometryConditionToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function DiskGeometryConditionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'disks': value['disks'],
|
|
55
|
+
'mode': value['mode'],
|
|
56
|
+
'tolerance_mib': value['tolerance_mib'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
* Request payload for calculating migration complexity estimation
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MigrationComplexityRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface MigrationComplexityRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Filter by expression
|
|
20
|
+
*/
|
|
21
|
+
filterExpression?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the MigrationComplexityRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfMigrationComplexityRequest(value: object): value is MigrationComplexityRequest;
|
|
27
|
+
export declare function MigrationComplexityRequestFromJSON(json: any): MigrationComplexityRequest;
|
|
28
|
+
export declare function MigrationComplexityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationComplexityRequest;
|
|
29
|
+
export declare function MigrationComplexityRequestToJSON(json: any): MigrationComplexityRequest;
|
|
30
|
+
export declare function MigrationComplexityRequestToJSONTyped(value?: MigrationComplexityRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 MigrationComplexityRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMigrationComplexityRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function MigrationComplexityRequestFromJSON(json) {
|
|
21
|
+
return MigrationComplexityRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function MigrationComplexityRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'filterExpression': json['filterExpression'] == null ? undefined : json['filterExpression'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function MigrationComplexityRequestToJSON(json) {
|
|
32
|
+
return MigrationComplexityRequestToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function MigrationComplexityRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'filterExpression': value['filterExpression'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
import type { ComplexityOSScoreEntry } from './ComplexityOSScoreEntry.js';
|
|
13
|
+
import type { ComplexityOSNameEntry } from './ComplexityOSNameEntry.js';
|
|
14
|
+
import type { ComplexityDiskScoreEntry } from './ComplexityDiskScoreEntry.js';
|
|
15
|
+
/**
|
|
16
|
+
* Migration complexity estimation results
|
|
17
|
+
* @export
|
|
18
|
+
* @interface MigrationComplexityResponse
|
|
19
|
+
*/
|
|
20
|
+
export interface MigrationComplexityResponse {
|
|
21
|
+
/**
|
|
22
|
+
* Disk-size complexity scores, one entry per score level (1-4). Score 1 is the least complex disk footprint; score 4 is the most complex. Scores correspond to provisioned disk size: 1 (<=10 TB), 2 (<=20 TB), 3 (<=50 TB), 4 (>50 TB). All four score levels are always present.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
complexityByDisk: Array<ComplexityDiskScoreEntry>;
|
|
26
|
+
/**
|
|
27
|
+
* OS complexity scores, one entry per score level (0-4). Score 1 indicates the least complex OS to migrate; score 0 indicates an OS with unknown complexity. All five score levels are always present.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
complexityByOS: Array<ComplexityOSScoreEntry>;
|
|
31
|
+
/**
|
|
32
|
+
* Static lookup table mapping each disk-size tier label to its numeric complexity score. The content is identical for every cluster and reflects the DiskSizeScores configuration in the complexity package.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
diskSizeRatings: {
|
|
36
|
+
[key: string]: number;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Per-OS-name score for every OS found in this cluster's inventory. Keys are the OS name strings exactly as they appear in vms.osInfo; values are the numeric complexity score assigned by ClassifyOS (0 = unknown, 1-4 = increasing complexity). The map contains one entry per distinct OS name in the cluster, regardless of how many VMs run it.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
osRatings: {
|
|
43
|
+
[key: string]: number;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Per-OS-name complexity breakdown. One entry per distinct OS name found in the cluster's inventory. Each entry carries the OS name string, its numeric complexity score (0–4), and the number of VMs running it.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
complexityByOSName: Array<ComplexityOSNameEntry>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the MigrationComplexityResponse interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfMigrationComplexityResponse(value: object): value is MigrationComplexityResponse;
|
|
55
|
+
export declare function MigrationComplexityResponseFromJSON(json: any): MigrationComplexityResponse;
|
|
56
|
+
export declare function MigrationComplexityResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MigrationComplexityResponse;
|
|
57
|
+
export declare function MigrationComplexityResponseToJSON(json: any): MigrationComplexityResponse;
|
|
58
|
+
export declare function MigrationComplexityResponseToJSONTyped(value?: MigrationComplexityResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { ComplexityOSScoreEntryFromJSON, ComplexityOSScoreEntryToJSON, } from './ComplexityOSScoreEntry.js';
|
|
15
|
+
import { ComplexityOSNameEntryFromJSON, ComplexityOSNameEntryToJSON, } from './ComplexityOSNameEntry.js';
|
|
16
|
+
import { ComplexityDiskScoreEntryFromJSON, ComplexityDiskScoreEntryToJSON, } from './ComplexityDiskScoreEntry.js';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the MigrationComplexityResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfMigrationComplexityResponse(value) {
|
|
21
|
+
if (!('complexityByDisk' in value) || value['complexityByDisk'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('complexityByOS' in value) || value['complexityByOS'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('diskSizeRatings' in value) || value['diskSizeRatings'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('osRatings' in value) || value['osRatings'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('complexityByOSName' in value) || value['complexityByOSName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function MigrationComplexityResponseFromJSON(json) {
|
|
34
|
+
return MigrationComplexityResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function MigrationComplexityResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'complexityByDisk': (json['complexityByDisk'].map(ComplexityDiskScoreEntryFromJSON)),
|
|
42
|
+
'complexityByOS': (json['complexityByOS'].map(ComplexityOSScoreEntryFromJSON)),
|
|
43
|
+
'diskSizeRatings': json['diskSizeRatings'],
|
|
44
|
+
'osRatings': json['osRatings'],
|
|
45
|
+
'complexityByOSName': (json['complexityByOSName'].map(ComplexityOSNameEntryFromJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function MigrationComplexityResponseToJSON(json) {
|
|
49
|
+
return MigrationComplexityResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function MigrationComplexityResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'complexityByDisk': (value['complexityByDisk'].map(ComplexityDiskScoreEntryToJSON)),
|
|
57
|
+
'complexityByOS': (value['complexityByOS'].map(ComplexityOSScoreEntryToJSON)),
|
|
58
|
+
'diskSizeRatings': value['diskSizeRatings'],
|
|
59
|
+
'osRatings': value['osRatings'],
|
|
60
|
+
'complexityByOSName': (value['complexityByOSName'].map(ComplexityOSNameEntryToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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
|
+
* Authoritative source VASA array identity associated with this datastore; distinct from LUN inquiry metadata and storage-container identity
|
|
14
|
+
* @export
|
|
15
|
+
* @interface StorageArray
|
|
16
|
+
*/
|
|
17
|
+
export interface StorageArray {
|
|
18
|
+
/**
|
|
19
|
+
* Array UUID reported by the source, when available
|
|
20
|
+
*/
|
|
21
|
+
uuid?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
name?: string;
|
|
26
|
+
/**
|
|
27
|
+
* VASA vendor ID, not a SCSI inquiry vendor
|
|
28
|
+
*/
|
|
29
|
+
vendorId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* VASA model ID, not a SCSI inquiry model
|
|
32
|
+
*/
|
|
33
|
+
modelId?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the StorageArray interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfStorageArray(value: object): value is StorageArray;
|
|
39
|
+
export declare function StorageArrayFromJSON(json: any): StorageArray;
|
|
40
|
+
export declare function StorageArrayFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageArray;
|
|
41
|
+
export declare function StorageArrayToJSON(json: any): StorageArray;
|
|
42
|
+
export declare function StorageArrayToJSONTyped(value?: StorageArray | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 StorageArray interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfStorageArray(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function StorageArrayFromJSON(json) {
|
|
21
|
+
return StorageArrayFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function StorageArrayFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
29
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
30
|
+
'vendorId': json['vendorId'] == null ? undefined : json['vendorId'],
|
|
31
|
+
'modelId': json['modelId'] == null ? undefined : json['modelId'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function StorageArrayToJSON(json) {
|
|
35
|
+
return StorageArrayToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function StorageArrayToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'uuid': value['uuid'],
|
|
43
|
+
'name': value['name'],
|
|
44
|
+
'vendorId': value['vendorId'],
|
|
45
|
+
'modelId': value['modelId'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { StorageArray } from './StorageArray.js';
|
|
12
13
|
/**
|
|
13
14
|
* Datastore backing this virtual disk
|
|
14
15
|
* @export
|
|
@@ -55,6 +56,14 @@ export interface VirtualMachineDatastore {
|
|
|
55
56
|
* Model reported by matching backing devices when available
|
|
56
57
|
*/
|
|
57
58
|
model?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Source-reported VASA arrays associated with this datastore, when available
|
|
61
|
+
*/
|
|
62
|
+
storageArrays?: Array<StorageArray>;
|
|
63
|
+
/**
|
|
64
|
+
* Source-reported storage container identifier, when available
|
|
65
|
+
*/
|
|
66
|
+
storageContainerId?: string;
|
|
58
67
|
}
|
|
59
68
|
/**
|
|
60
69
|
* Check if a given object implements the VirtualMachineDatastore interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { StorageArrayFromJSON, StorageArrayToJSON, } from './StorageArray.js';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the VirtualMachineDatastore interface.
|
|
16
17
|
*/
|
|
@@ -35,6 +36,8 @@ export function VirtualMachineDatastoreFromJSONTyped(json, ignoreDiscriminator)
|
|
|
35
36
|
'backingDeviceIds': json['backingDeviceIds'] == null ? undefined : json['backingDeviceIds'],
|
|
36
37
|
'vendor': json['vendor'] == null ? undefined : json['vendor'],
|
|
37
38
|
'model': json['model'] == null ? undefined : json['model'],
|
|
39
|
+
'storageArrays': json['storageArrays'] == null ? undefined : (json['storageArrays'].map(StorageArrayFromJSON)),
|
|
40
|
+
'storageContainerId': json['storageContainerId'] == null ? undefined : json['storageContainerId'],
|
|
38
41
|
};
|
|
39
42
|
}
|
|
40
43
|
export function VirtualMachineDatastoreToJSON(json) {
|
|
@@ -55,5 +58,7 @@ export function VirtualMachineDatastoreToJSONTyped(value, ignoreDiscriminator =
|
|
|
55
58
|
'backingDeviceIds': value['backingDeviceIds'],
|
|
56
59
|
'vendor': value['vendor'],
|
|
57
60
|
'model': value['model'],
|
|
61
|
+
'storageArrays': value['storageArrays'] == null ? undefined : (value['storageArrays'].map(StorageArrayToJSON)),
|
|
62
|
+
'storageContainerId': value['storageContainerId'],
|
|
58
63
|
};
|
|
59
64
|
}
|
|
@@ -3,6 +3,11 @@ export * from './AgentStatus.js';
|
|
|
3
3
|
export * from './AgentStatusConsoleConnection.js';
|
|
4
4
|
export * from './Appliance.js';
|
|
5
5
|
export * from './ApplianceListResponse.js';
|
|
6
|
+
export * from './ApplianceRule.js';
|
|
7
|
+
export * from './ApplianceRuleCondition.js';
|
|
8
|
+
export * from './ApplianceRuleFunction.js';
|
|
9
|
+
export * from './ApplianceRuleListResponse.js';
|
|
10
|
+
export * from './ApplianceRuleRequest.js';
|
|
6
11
|
export * from './ApplicationListResponse.js';
|
|
7
12
|
export * from './ApplicationOverview.js';
|
|
8
13
|
export * from './ApplicationVM.js';
|
|
@@ -22,12 +27,16 @@ export * from './CollectionListResponse.js';
|
|
|
22
27
|
export * from './CollectorStatus.js';
|
|
23
28
|
export * from './ComparisonDiffEntry.js';
|
|
24
29
|
export * from './ComparisonDiffPage.js';
|
|
30
|
+
export * from './ComplexityDiskScoreEntry.js';
|
|
31
|
+
export * from './ComplexityOSNameEntry.js';
|
|
32
|
+
export * from './ComplexityOSScoreEntry.js';
|
|
25
33
|
export * from './CreateGroupRequest.js';
|
|
26
34
|
export * from './CredentialStatus.js';
|
|
27
35
|
export * from './Datastore.js';
|
|
28
36
|
export * from './DatastoreDetail.js';
|
|
29
37
|
export * from './DatastorePairRequest.js';
|
|
30
38
|
export * from './DeleteLabelGloballyResponse.js';
|
|
39
|
+
export * from './DiskGeometryCondition.js';
|
|
31
40
|
export * from './DiskSizeTierSummary.js';
|
|
32
41
|
export * from './DiskTypeSummary.js';
|
|
33
42
|
export * from './EstimateRange.js';
|
|
@@ -53,6 +62,8 @@ export * from './InspectorStatus.js';
|
|
|
53
62
|
export * from './Inventory.js';
|
|
54
63
|
export * from './InventoryData.js';
|
|
55
64
|
export * from './IssuesBreakdown.js';
|
|
65
|
+
export * from './MigrationComplexityRequest.js';
|
|
66
|
+
export * from './MigrationComplexityResponse.js';
|
|
56
67
|
export * from './MigrationIssue.js';
|
|
57
68
|
export * from './Network.js';
|
|
58
69
|
export * from './OperationCapability.js';
|
|
@@ -68,6 +79,7 @@ export * from './RightsizingClusterUtilization.js';
|
|
|
68
79
|
export * from './StartForecasterRequest.js';
|
|
69
80
|
export * from './StartInspectionRequest.js';
|
|
70
81
|
export * from './StopForecasterPair202Response.js';
|
|
82
|
+
export * from './StorageArray.js';
|
|
71
83
|
export * from './StorageIoConfiguration.js';
|
|
72
84
|
export * from './SuccessfulImageUpgrade.js';
|
|
73
85
|
export * from './UpdateGroupRequest.js';
|
package/dist/esm/models/index.js
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';
|
|
@@ -24,12 +29,16 @@ export * from './CollectionListResponse.js';
|
|
|
24
29
|
export * from './CollectorStatus.js';
|
|
25
30
|
export * from './ComparisonDiffEntry.js';
|
|
26
31
|
export * from './ComparisonDiffPage.js';
|
|
32
|
+
export * from './ComplexityDiskScoreEntry.js';
|
|
33
|
+
export * from './ComplexityOSNameEntry.js';
|
|
34
|
+
export * from './ComplexityOSScoreEntry.js';
|
|
27
35
|
export * from './CreateGroupRequest.js';
|
|
28
36
|
export * from './CredentialStatus.js';
|
|
29
37
|
export * from './Datastore.js';
|
|
30
38
|
export * from './DatastoreDetail.js';
|
|
31
39
|
export * from './DatastorePairRequest.js';
|
|
32
40
|
export * from './DeleteLabelGloballyResponse.js';
|
|
41
|
+
export * from './DiskGeometryCondition.js';
|
|
33
42
|
export * from './DiskSizeTierSummary.js';
|
|
34
43
|
export * from './DiskTypeSummary.js';
|
|
35
44
|
export * from './EstimateRange.js';
|
|
@@ -55,6 +64,8 @@ export * from './InspectorStatus.js';
|
|
|
55
64
|
export * from './Inventory.js';
|
|
56
65
|
export * from './InventoryData.js';
|
|
57
66
|
export * from './IssuesBreakdown.js';
|
|
67
|
+
export * from './MigrationComplexityRequest.js';
|
|
68
|
+
export * from './MigrationComplexityResponse.js';
|
|
58
69
|
export * from './MigrationIssue.js';
|
|
59
70
|
export * from './Network.js';
|
|
60
71
|
export * from './OperationCapability.js';
|
|
@@ -70,6 +81,7 @@ export * from './RightsizingClusterUtilization.js';
|
|
|
70
81
|
export * from './StartForecasterRequest.js';
|
|
71
82
|
export * from './StartInspectionRequest.js';
|
|
72
83
|
export * from './StopForecasterPair202Response.js';
|
|
84
|
+
export * from './StorageArray.js';
|
|
73
85
|
export * from './StorageIoConfiguration.js';
|
|
74
86
|
export * from './SuccessfulImageUpgrade.js';
|
|
75
87
|
export * from './UpdateGroupRequest.js';
|
package/dist/esm/runtime.d.ts
CHANGED
|
@@ -75,10 +75,12 @@ export declare class ResponseError extends Error {
|
|
|
75
75
|
constructor(response: Response, msg?: string);
|
|
76
76
|
}
|
|
77
77
|
export declare class FetchError extends Error {
|
|
78
|
-
cause: Error;
|
|
79
78
|
name: "FetchError";
|
|
80
79
|
constructor(cause: Error, msg?: string);
|
|
81
80
|
}
|
|
81
|
+
export interface FetchError {
|
|
82
|
+
cause: Error;
|
|
83
|
+
}
|
|
82
84
|
export declare class RequiredError extends Error {
|
|
83
85
|
field: string;
|
|
84
86
|
name: "RequiredError";
|
package/dist/esm/runtime.js
CHANGED
|
@@ -233,8 +233,8 @@ export class ResponseError extends Error {
|
|
|
233
233
|
export class FetchError extends Error {
|
|
234
234
|
constructor(cause, msg) {
|
|
235
235
|
super(msg);
|
|
236
|
-
this.cause = cause;
|
|
237
236
|
this.name = "FetchError";
|
|
237
|
+
this.cause = cause;
|
|
238
238
|
// restore prototype chain
|
|
239
239
|
const actualProto = new.target.prototype;
|
|
240
240
|
if (Object.setPrototypeOf) {
|