@openshift-migration-advisor/planner-sdk 0.20.2 → 0.20.3-6d374cf5ab88
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 +22 -0
- package/README.md +15 -2
- package/dist/apis/AccountApi.js +1 -1
- package/dist/apis/AssessmentApi.d.ts +81 -0
- package/dist/apis/AssessmentApi.js +84 -0
- package/dist/esm/apis/AccountApi.js +1 -1
- package/dist/esm/apis/AssessmentApi.d.ts +81 -0
- package/dist/esm/apis/AssessmentApi.js +84 -0
- package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
- package/dist/esm/models/Agent.js +6 -5
- package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
- package/dist/esm/models/AriaAutomationInput.js +61 -0
- package/dist/esm/models/AriaOpsInput.d.ts +49 -0
- package/dist/esm/models/AriaOpsInput.js +59 -0
- package/dist/esm/models/AriaSecureInput.d.ts +41 -0
- package/dist/esm/models/AriaSecureInput.js +51 -0
- package/dist/esm/models/Assessment.js +5 -4
- package/dist/esm/models/AssessmentSubsetInventory.js +3 -2
- package/dist/esm/models/ClusterFeatures.d.ts +4 -0
- package/dist/esm/models/ClusterFeatures.js +3 -1
- package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/esm/models/CpuOverCommitRatio.js +1 -1
- package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/esm/models/CustomerDetailsInput.js +43 -0
- package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
- package/dist/esm/models/EnhancementData.d.ts +76 -0
- package/dist/esm/models/EnhancementData.js +69 -0
- package/dist/esm/models/Group.js +6 -5
- package/dist/esm/models/GroupCreate.js +1 -1
- package/dist/esm/models/Host.d.ts +8 -0
- package/dist/esm/models/Host.js +4 -0
- package/dist/esm/models/Identity.js +1 -1
- package/dist/esm/models/Inventory.d.ts +4 -0
- package/dist/esm/models/Inventory.js +3 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/Member.js +5 -4
- package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
- package/dist/esm/models/Network.js +1 -1
- package/dist/esm/models/NsxInput.d.ts +46 -0
- package/dist/esm/models/NsxInput.js +56 -0
- package/dist/esm/models/OptimizationStatus.js +1 -1
- package/dist/esm/models/OsInfo.js +1 -1
- package/dist/esm/models/PartnerRequest.js +7 -6
- package/dist/esm/models/PartnerRequestStatus.js +1 -1
- package/dist/esm/models/PresignedUrl.js +3 -2
- package/dist/esm/models/Snapshot.js +3 -2
- package/dist/esm/models/Source.js +6 -5
- package/dist/esm/models/SourceCreate.js +1 -1
- package/dist/esm/models/SourceUpdate.js +1 -1
- package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/esm/models/StorageIoConfiguration.js +1 -1
- package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
- package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
- package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
- package/dist/esm/models/VsphereCoreInput.js +45 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/runtime.d.ts +11 -0
- package/dist/esm/runtime.js +47 -1
- package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/models/ActiveEnvironmentsInput.js +59 -0
- package/dist/models/Agent.js +6 -5
- package/dist/models/AriaAutomationInput.d.ts +51 -0
- package/dist/models/AriaAutomationInput.js +69 -0
- package/dist/models/AriaOpsInput.d.ts +49 -0
- package/dist/models/AriaOpsInput.js +67 -0
- package/dist/models/AriaSecureInput.d.ts +41 -0
- package/dist/models/AriaSecureInput.js +59 -0
- package/dist/models/Assessment.js +5 -4
- package/dist/models/AssessmentSubsetInventory.js +3 -2
- package/dist/models/ClusterFeatures.d.ts +4 -0
- package/dist/models/ClusterFeatures.js +3 -1
- package/dist/models/ClusterRequirementsRequest.js +1 -1
- package/dist/models/ClusterRequirementsStoredInput.js +3 -3
- package/dist/models/CpuOverCommitRatio.js +1 -1
- package/dist/models/CustomerDetailsInput.d.ts +34 -0
- package/dist/models/CustomerDetailsInput.js +50 -0
- package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
- package/dist/models/DeployedEnvironmentInput.js +58 -0
- package/dist/models/EnhancementData.d.ts +76 -0
- package/dist/models/EnhancementData.js +76 -0
- package/dist/models/Group.js +6 -5
- package/dist/models/GroupCreate.js +1 -1
- package/dist/models/Host.d.ts +8 -0
- package/dist/models/Host.js +4 -0
- package/dist/models/Identity.js +1 -1
- package/dist/models/Inventory.d.ts +4 -0
- package/dist/models/Inventory.js +2 -0
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/Member.js +5 -4
- package/dist/models/MemoryOverCommitRatio.js +1 -1
- package/dist/models/Network.js +1 -1
- package/dist/models/NsxInput.d.ts +46 -0
- package/dist/models/NsxInput.js +64 -0
- package/dist/models/OptimizationStatus.js +1 -1
- package/dist/models/OsInfo.js +1 -1
- package/dist/models/PartnerRequest.js +7 -6
- package/dist/models/PartnerRequestStatus.js +1 -1
- package/dist/models/PresignedUrl.js +3 -2
- package/dist/models/Snapshot.js +3 -2
- package/dist/models/Source.js +6 -5
- package/dist/models/SourceCreate.js +1 -1
- package/dist/models/SourceUpdate.js +1 -1
- package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
- package/dist/models/StorageIoConfiguration.js +1 -1
- package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
- package/dist/models/VMwareSubscriptionInput.js +60 -0
- package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
- package/dist/models/VMwareVersionCountsInput.js +54 -0
- package/dist/models/VsphereCoreInput.d.ts +38 -0
- package/dist/models/VsphereCoreInput.js +52 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/runtime.d.ts +11 -0
- package/dist/runtime.js +51 -1
- package/docs/ActiveEnvironmentsInput.md +34 -0
- package/docs/AriaAutomationInput.md +34 -0
- package/docs/AriaOpsInput.md +34 -0
- package/docs/AriaSecureInput.md +34 -0
- package/docs/AssessmentApi.md +148 -0
- package/docs/ClusterFeatures.md +2 -0
- package/docs/CustomerDetailsInput.md +36 -0
- package/docs/DeployedEnvironmentInput.md +34 -0
- package/docs/EnhancementData.md +53 -0
- package/docs/Host.md +4 -0
- package/docs/Inventory.md +2 -0
- package/docs/NsxInput.md +34 -0
- package/docs/VMwareSubscriptionInput.md +34 -0
- package/docs/VMwareVersionCountsInput.md +40 -0
- package/docs/VsphereCoreInput.md +38 -0
- package/package.json +1 -1
- package/src/apis/AccountApi.ts +1 -1
- package/src/apis/AssessmentApi.ts +169 -0
- package/src/models/ActiveEnvironmentsInput.ts +77 -0
- package/src/models/Agent.ts +6 -6
- package/src/models/AriaAutomationInput.ts +87 -0
- package/src/models/AriaOpsInput.ts +85 -0
- package/src/models/AriaSecureInput.ts +77 -0
- package/src/models/Assessment.ts +5 -5
- package/src/models/AssessmentSubsetInventory.ts +3 -3
- package/src/models/ClusterFeatures.ts +7 -1
- package/src/models/ClusterRequirementsRequest.ts +1 -1
- package/src/models/ClusterRequirementsStoredInput.ts +3 -3
- package/src/models/CpuOverCommitRatio.ts +1 -1
- package/src/models/CustomerDetailsInput.ts +69 -0
- package/src/models/DeployedEnvironmentInput.ts +76 -0
- package/src/models/EnhancementData.ts +188 -0
- package/src/models/Group.ts +6 -6
- package/src/models/GroupCreate.ts +1 -1
- package/src/models/Host.ts +12 -0
- package/src/models/Identity.ts +1 -1
- package/src/models/Inventory.ts +7 -1
- package/src/models/JobStatus.ts +1 -1
- package/src/models/Member.ts +5 -5
- package/src/models/MemoryOverCommitRatio.ts +1 -1
- package/src/models/Network.ts +1 -1
- package/src/models/NsxInput.ts +82 -0
- package/src/models/OptimizationStatus.ts +1 -1
- package/src/models/OsInfo.ts +1 -1
- package/src/models/PartnerRequest.ts +7 -7
- package/src/models/PartnerRequestStatus.ts +1 -1
- package/src/models/PresignedUrl.ts +3 -3
- package/src/models/Snapshot.ts +3 -3
- package/src/models/Source.ts +6 -6
- package/src/models/SourceCreate.ts +1 -1
- package/src/models/SourceUpdate.ts +1 -1
- package/src/models/StandaloneClusterRequirementsRequest.ts +1 -1
- package/src/models/StorageIoConfiguration.ts +1 -1
- package/src/models/VMwareSubscriptionInput.ts +78 -0
- package/src/models/VMwareVersionCountsInput.ts +81 -0
- package/src/models/VsphereCoreInput.ts +75 -0
- package/src/models/index.ts +11 -0
- package/src/runtime.ts +52 -1
|
@@ -90,7 +90,7 @@ export interface ClusterRequirementsRequest {
|
|
|
90
90
|
*/
|
|
91
91
|
export const ClusterRequirementsRequestControlPlaneNodeCountEnum = {
|
|
92
92
|
NUMBER_1: 1,
|
|
93
|
-
NUMBER_3: 3
|
|
93
|
+
NUMBER_3: 3,
|
|
94
94
|
} as const;
|
|
95
95
|
export type ClusterRequirementsRequestControlPlaneNodeCountEnum = typeof ClusterRequirementsRequestControlPlaneNodeCountEnum[keyof typeof ClusterRequirementsRequestControlPlaneNodeCountEnum];
|
|
96
96
|
|
|
@@ -78,7 +78,7 @@ export const ClusterRequirementsStoredInputCpuOverCommitRatioEnum = {
|
|
|
78
78
|
_12: '1:2',
|
|
79
79
|
_14: '1:4',
|
|
80
80
|
_16: '1:6',
|
|
81
|
-
_18: '1:8'
|
|
81
|
+
_18: '1:8',
|
|
82
82
|
} as const;
|
|
83
83
|
export type ClusterRequirementsStoredInputCpuOverCommitRatioEnum = typeof ClusterRequirementsStoredInputCpuOverCommitRatioEnum[keyof typeof ClusterRequirementsStoredInputCpuOverCommitRatioEnum];
|
|
84
84
|
|
|
@@ -88,7 +88,7 @@ export type ClusterRequirementsStoredInputCpuOverCommitRatioEnum = typeof Cluste
|
|
|
88
88
|
export const ClusterRequirementsStoredInputMemoryOverCommitRatioEnum = {
|
|
89
89
|
_11: '1:1',
|
|
90
90
|
_12: '1:2',
|
|
91
|
-
_14: '1:4'
|
|
91
|
+
_14: '1:4',
|
|
92
92
|
} as const;
|
|
93
93
|
export type ClusterRequirementsStoredInputMemoryOverCommitRatioEnum = typeof ClusterRequirementsStoredInputMemoryOverCommitRatioEnum[keyof typeof ClusterRequirementsStoredInputMemoryOverCommitRatioEnum];
|
|
94
94
|
|
|
@@ -97,7 +97,7 @@ export type ClusterRequirementsStoredInputMemoryOverCommitRatioEnum = typeof Clu
|
|
|
97
97
|
*/
|
|
98
98
|
export const ClusterRequirementsStoredInputControlPlaneNodeCountEnum = {
|
|
99
99
|
NUMBER_1: 1,
|
|
100
|
-
NUMBER_3: 3
|
|
100
|
+
NUMBER_3: 3,
|
|
101
101
|
} as const;
|
|
102
102
|
export type ClusterRequirementsStoredInputControlPlaneNodeCountEnum = typeof ClusterRequirementsStoredInputControlPlaneNodeCountEnum[keyof typeof ClusterRequirementsStoredInputControlPlaneNodeCountEnum];
|
|
103
103
|
|
|
@@ -22,7 +22,7 @@ export const CpuOverCommitRatio = {
|
|
|
22
22
|
CpuOneToTwo: '1:2',
|
|
23
23
|
CpuOneToFour: '1:4',
|
|
24
24
|
CpuOneToSix: '1:6',
|
|
25
|
-
CpuOneToEight: '1:8'
|
|
25
|
+
CpuOneToEight: '1:8',
|
|
26
26
|
} as const;
|
|
27
27
|
export type CpuOverCommitRatio = typeof CpuOverCommitRatio[keyof typeof CpuOverCommitRatio];
|
|
28
28
|
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1alpha1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CustomerDetailsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface CustomerDetailsInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
physicalLocationsCount?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
targetHardware?: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the CustomerDetailsInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export function instanceOfCustomerDetailsInput(value: object): value is CustomerDetailsInput {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function CustomerDetailsInputFromJSON(json: any): CustomerDetailsInput {
|
|
40
|
+
return CustomerDetailsInputFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function CustomerDetailsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerDetailsInput {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
|
|
49
|
+
'physicalLocationsCount': json['physicalLocationsCount'] == null ? undefined : json['physicalLocationsCount'],
|
|
50
|
+
'targetHardware': json['targetHardware'] == null ? undefined : json['targetHardware'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function CustomerDetailsInputToJSON(json: any): CustomerDetailsInput {
|
|
55
|
+
return CustomerDetailsInputToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function CustomerDetailsInputToJSONTyped(value?: CustomerDetailsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'physicalLocationsCount': value['physicalLocationsCount'],
|
|
66
|
+
'targetHardware': value['targetHardware'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1alpha1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DeployedEnvironmentInput
|
|
20
|
+
*/
|
|
21
|
+
export interface DeployedEnvironmentInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
environment?: DeployedEnvironmentInputEnvironmentEnum;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const DeployedEnvironmentInputEnvironmentEnum = {
|
|
33
|
+
OnPremises: 'on_premises',
|
|
34
|
+
OnCloud: 'on_cloud',
|
|
35
|
+
ManagedServices: 'managed_services',
|
|
36
|
+
NotAssessed: 'not_assessed',
|
|
37
|
+
} as const;
|
|
38
|
+
export type DeployedEnvironmentInputEnvironmentEnum = typeof DeployedEnvironmentInputEnvironmentEnum[keyof typeof DeployedEnvironmentInputEnvironmentEnum];
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the DeployedEnvironmentInput interface.
|
|
43
|
+
*/
|
|
44
|
+
export function instanceOfDeployedEnvironmentInput(value: object): value is DeployedEnvironmentInput {
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function DeployedEnvironmentInputFromJSON(json: any): DeployedEnvironmentInput {
|
|
49
|
+
return DeployedEnvironmentInputFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function DeployedEnvironmentInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeployedEnvironmentInput {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
|
|
58
|
+
'environment': json['environment'] == null ? undefined : json['environment'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function DeployedEnvironmentInputToJSON(json: any): DeployedEnvironmentInput {
|
|
63
|
+
return DeployedEnvironmentInputToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function DeployedEnvironmentInputToJSONTyped(value?: DeployedEnvironmentInput | null, ignoreDiscriminator: boolean = false): any {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'environment': value['environment'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1alpha1
|
|
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
|
+
import type { NsxInput } from './NsxInput.js';
|
|
17
|
+
import {
|
|
18
|
+
NsxInputFromJSON,
|
|
19
|
+
NsxInputFromJSONTyped,
|
|
20
|
+
NsxInputToJSON,
|
|
21
|
+
NsxInputToJSONTyped,
|
|
22
|
+
} from './NsxInput.js';
|
|
23
|
+
import type { AriaSecureInput } from './AriaSecureInput.js';
|
|
24
|
+
import {
|
|
25
|
+
AriaSecureInputFromJSON,
|
|
26
|
+
AriaSecureInputFromJSONTyped,
|
|
27
|
+
AriaSecureInputToJSON,
|
|
28
|
+
AriaSecureInputToJSONTyped,
|
|
29
|
+
} from './AriaSecureInput.js';
|
|
30
|
+
import type { DeployedEnvironmentInput } from './DeployedEnvironmentInput.js';
|
|
31
|
+
import {
|
|
32
|
+
DeployedEnvironmentInputFromJSON,
|
|
33
|
+
DeployedEnvironmentInputFromJSONTyped,
|
|
34
|
+
DeployedEnvironmentInputToJSON,
|
|
35
|
+
DeployedEnvironmentInputToJSONTyped,
|
|
36
|
+
} from './DeployedEnvironmentInput.js';
|
|
37
|
+
import type { VMwareSubscriptionInput } from './VMwareSubscriptionInput.js';
|
|
38
|
+
import {
|
|
39
|
+
VMwareSubscriptionInputFromJSON,
|
|
40
|
+
VMwareSubscriptionInputFromJSONTyped,
|
|
41
|
+
VMwareSubscriptionInputToJSON,
|
|
42
|
+
VMwareSubscriptionInputToJSONTyped,
|
|
43
|
+
} from './VMwareSubscriptionInput.js';
|
|
44
|
+
import type { CustomerDetailsInput } from './CustomerDetailsInput.js';
|
|
45
|
+
import {
|
|
46
|
+
CustomerDetailsInputFromJSON,
|
|
47
|
+
CustomerDetailsInputFromJSONTyped,
|
|
48
|
+
CustomerDetailsInputToJSON,
|
|
49
|
+
CustomerDetailsInputToJSONTyped,
|
|
50
|
+
} from './CustomerDetailsInput.js';
|
|
51
|
+
import type { VMwareVersionCountsInput } from './VMwareVersionCountsInput.js';
|
|
52
|
+
import {
|
|
53
|
+
VMwareVersionCountsInputFromJSON,
|
|
54
|
+
VMwareVersionCountsInputFromJSONTyped,
|
|
55
|
+
VMwareVersionCountsInputToJSON,
|
|
56
|
+
VMwareVersionCountsInputToJSONTyped,
|
|
57
|
+
} from './VMwareVersionCountsInput.js';
|
|
58
|
+
import type { VsphereCoreInput } from './VsphereCoreInput.js';
|
|
59
|
+
import {
|
|
60
|
+
VsphereCoreInputFromJSON,
|
|
61
|
+
VsphereCoreInputFromJSONTyped,
|
|
62
|
+
VsphereCoreInputToJSON,
|
|
63
|
+
VsphereCoreInputToJSONTyped,
|
|
64
|
+
} from './VsphereCoreInput.js';
|
|
65
|
+
import type { AriaAutomationInput } from './AriaAutomationInput.js';
|
|
66
|
+
import {
|
|
67
|
+
AriaAutomationInputFromJSON,
|
|
68
|
+
AriaAutomationInputFromJSONTyped,
|
|
69
|
+
AriaAutomationInputToJSON,
|
|
70
|
+
AriaAutomationInputToJSONTyped,
|
|
71
|
+
} from './AriaAutomationInput.js';
|
|
72
|
+
import type { AriaOpsInput } from './AriaOpsInput.js';
|
|
73
|
+
import {
|
|
74
|
+
AriaOpsInputFromJSON,
|
|
75
|
+
AriaOpsInputFromJSONTyped,
|
|
76
|
+
AriaOpsInputToJSON,
|
|
77
|
+
AriaOpsInputToJSONTyped,
|
|
78
|
+
} from './AriaOpsInput.js';
|
|
79
|
+
import type { ActiveEnvironmentsInput } from './ActiveEnvironmentsInput.js';
|
|
80
|
+
import {
|
|
81
|
+
ActiveEnvironmentsInputFromJSON,
|
|
82
|
+
ActiveEnvironmentsInputFromJSONTyped,
|
|
83
|
+
ActiveEnvironmentsInputToJSON,
|
|
84
|
+
ActiveEnvironmentsInputToJSONTyped,
|
|
85
|
+
} from './ActiveEnvironmentsInput.js';
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* VMA enhancement data — fields that cannot be auto-collected by Agent or RVTools
|
|
89
|
+
* @export
|
|
90
|
+
* @interface EnhancementData
|
|
91
|
+
*/
|
|
92
|
+
export interface EnhancementData {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
deployedEnvironment?: DeployedEnvironmentInput;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
vmwareVersionCounts?: VMwareVersionCountsInput;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
activeEnvironments?: ActiveEnvironmentsInput;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
vmwareSubscription?: VMwareSubscriptionInput;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
vsphereCore?: VsphereCoreInput;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
nsx?: NsxInput;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
ariaOps?: AriaOpsInput;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
ariaAutomation?: AriaAutomationInput;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
ariaSecure?: AriaSecureInput;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
customerDetails?: CustomerDetailsInput;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Check if a given object implements the EnhancementData interface.
|
|
137
|
+
*/
|
|
138
|
+
export function instanceOfEnhancementData(value: object): value is EnhancementData {
|
|
139
|
+
return true;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export function EnhancementDataFromJSON(json: any): EnhancementData {
|
|
143
|
+
return EnhancementDataFromJSONTyped(json, false);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function EnhancementDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnhancementData {
|
|
147
|
+
if (json == null) {
|
|
148
|
+
return json;
|
|
149
|
+
}
|
|
150
|
+
return {
|
|
151
|
+
|
|
152
|
+
'deployedEnvironment': json['deployedEnvironment'] == null ? undefined : DeployedEnvironmentInputFromJSON(json['deployedEnvironment']),
|
|
153
|
+
'vmwareVersionCounts': json['vmwareVersionCounts'] == null ? undefined : VMwareVersionCountsInputFromJSON(json['vmwareVersionCounts']),
|
|
154
|
+
'activeEnvironments': json['activeEnvironments'] == null ? undefined : ActiveEnvironmentsInputFromJSON(json['activeEnvironments']),
|
|
155
|
+
'vmwareSubscription': json['vmwareSubscription'] == null ? undefined : VMwareSubscriptionInputFromJSON(json['vmwareSubscription']),
|
|
156
|
+
'vsphereCore': json['vsphereCore'] == null ? undefined : VsphereCoreInputFromJSON(json['vsphereCore']),
|
|
157
|
+
'nsx': json['nsx'] == null ? undefined : NsxInputFromJSON(json['nsx']),
|
|
158
|
+
'ariaOps': json['ariaOps'] == null ? undefined : AriaOpsInputFromJSON(json['ariaOps']),
|
|
159
|
+
'ariaAutomation': json['ariaAutomation'] == null ? undefined : AriaAutomationInputFromJSON(json['ariaAutomation']),
|
|
160
|
+
'ariaSecure': json['ariaSecure'] == null ? undefined : AriaSecureInputFromJSON(json['ariaSecure']),
|
|
161
|
+
'customerDetails': json['customerDetails'] == null ? undefined : CustomerDetailsInputFromJSON(json['customerDetails']),
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function EnhancementDataToJSON(json: any): EnhancementData {
|
|
166
|
+
return EnhancementDataToJSONTyped(json, false);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function EnhancementDataToJSONTyped(value?: EnhancementData | null, ignoreDiscriminator: boolean = false): any {
|
|
170
|
+
if (value == null) {
|
|
171
|
+
return value;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
return {
|
|
175
|
+
|
|
176
|
+
'deployedEnvironment': DeployedEnvironmentInputToJSON(value['deployedEnvironment']),
|
|
177
|
+
'vmwareVersionCounts': VMwareVersionCountsInputToJSON(value['vmwareVersionCounts']),
|
|
178
|
+
'activeEnvironments': ActiveEnvironmentsInputToJSON(value['activeEnvironments']),
|
|
179
|
+
'vmwareSubscription': VMwareSubscriptionInputToJSON(value['vmwareSubscription']),
|
|
180
|
+
'vsphereCore': VsphereCoreInputToJSON(value['vsphereCore']),
|
|
181
|
+
'nsx': NsxInputToJSON(value['nsx']),
|
|
182
|
+
'ariaOps': AriaOpsInputToJSON(value['ariaOps']),
|
|
183
|
+
'ariaAutomation': AriaAutomationInputToJSON(value['ariaAutomation']),
|
|
184
|
+
'ariaSecure': AriaSecureInputToJSON(value['ariaSecure']),
|
|
185
|
+
'customerDetails': CustomerDetailsInputToJSON(value['customerDetails']),
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
|
package/src/models/Group.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime.js';
|
|
15
|
+
import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -59,7 +59,7 @@ export interface Group {
|
|
|
59
59
|
*/
|
|
60
60
|
export const GroupKindEnum = {
|
|
61
61
|
Partner: 'partner',
|
|
62
|
-
Admin: 'admin'
|
|
62
|
+
Admin: 'admin',
|
|
63
63
|
} as const;
|
|
64
64
|
export type GroupKindEnum = typeof GroupKindEnum[keyof typeof GroupKindEnum];
|
|
65
65
|
|
|
@@ -94,8 +94,8 @@ export function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gro
|
|
|
94
94
|
'kind': json['kind'],
|
|
95
95
|
'icon': json['icon'],
|
|
96
96
|
'company': json['company'],
|
|
97
|
-
'createdAt': (
|
|
98
|
-
'updatedAt': (
|
|
97
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
98
|
+
'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : parseDateTime(json['updatedAt'])),
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -116,8 +116,8 @@ export function GroupToJSONTyped(value?: Group | null, ignoreDiscriminator: bool
|
|
|
116
116
|
'kind': value['kind'],
|
|
117
117
|
'icon': value['icon'],
|
|
118
118
|
'company': value['company'],
|
|
119
|
-
'createdAt': value['createdAt']
|
|
120
|
-
'updatedAt': value['updatedAt']
|
|
119
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
120
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
|
package/src/models/Host.ts
CHANGED
|
@@ -43,6 +43,14 @@ export interface Host {
|
|
|
43
43
|
* Host memory in MB
|
|
44
44
|
*/
|
|
45
45
|
memoryMB?: number | null;
|
|
46
|
+
/**
|
|
47
|
+
* Whether vMotion is supported on this host (HostSystem.capability.vmotionSupported)
|
|
48
|
+
*/
|
|
49
|
+
vmotionSupported?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Whether Storage vMotion is supported on this host (HostSystem.capability.storageVMotionSupported)
|
|
52
|
+
*/
|
|
53
|
+
storageVmotionSupported?: boolean;
|
|
46
54
|
}
|
|
47
55
|
|
|
48
56
|
/**
|
|
@@ -70,6 +78,8 @@ export function HostFromJSONTyped(json: any, ignoreDiscriminator: boolean): Host
|
|
|
70
78
|
'cpuCores': json['cpuCores'] === undefined ? undefined : json['cpuCores'] === null ? null : json['cpuCores'],
|
|
71
79
|
'cpuSockets': json['cpuSockets'] === undefined ? undefined : json['cpuSockets'] === null ? null : json['cpuSockets'],
|
|
72
80
|
'memoryMB': json['memoryMB'] === undefined ? undefined : json['memoryMB'] === null ? null : json['memoryMB'],
|
|
81
|
+
'vmotionSupported': json['vmotionSupported'] == null ? undefined : json['vmotionSupported'],
|
|
82
|
+
'storageVmotionSupported': json['storageVmotionSupported'] == null ? undefined : json['storageVmotionSupported'],
|
|
73
83
|
};
|
|
74
84
|
}
|
|
75
85
|
|
|
@@ -90,6 +100,8 @@ export function HostToJSONTyped(value?: Host | null, ignoreDiscriminator: boolea
|
|
|
90
100
|
'cpuCores': value['cpuCores'],
|
|
91
101
|
'cpuSockets': value['cpuSockets'],
|
|
92
102
|
'memoryMB': value['memoryMB'],
|
|
103
|
+
'vmotionSupported': value['vmotionSupported'],
|
|
104
|
+
'storageVmotionSupported': value['storageVmotionSupported'],
|
|
93
105
|
};
|
|
94
106
|
}
|
|
95
107
|
|
package/src/models/Identity.ts
CHANGED
package/src/models/Inventory.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime.js';
|
|
15
|
+
import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
16
|
import type { InventoryData } from './InventoryData.js';
|
|
17
17
|
import {
|
|
18
18
|
InventoryDataFromJSON,
|
|
@@ -43,6 +43,10 @@ export interface Inventory {
|
|
|
43
43
|
*
|
|
44
44
|
*/
|
|
45
45
|
vcenter?: InventoryData;
|
|
46
|
+
/**
|
|
47
|
+
* Timestamp when the inventory data was created or collected
|
|
48
|
+
*/
|
|
49
|
+
createdAt?: Date;
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
/**
|
|
@@ -68,6 +72,7 @@ export function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
68
72
|
'vcenterVersion': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
69
73
|
'clusters': (mapValues(json['clusters'], InventoryDataFromJSON)),
|
|
70
74
|
'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
|
|
75
|
+
'createdAt': json['created_at'] == null ? undefined : (parseDateTime(json['created_at'])),
|
|
71
76
|
};
|
|
72
77
|
}
|
|
73
78
|
|
|
@@ -86,6 +91,7 @@ export function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminat
|
|
|
86
91
|
'vcenter_version': value['vcenterVersion'],
|
|
87
92
|
'clusters': (mapValues(value['clusters'], InventoryDataToJSON)),
|
|
88
93
|
'vcenter': InventoryDataToJSON(value['vcenter']),
|
|
94
|
+
'created_at': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
89
95
|
};
|
|
90
96
|
}
|
|
91
97
|
|
package/src/models/JobStatus.ts
CHANGED
package/src/models/Member.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime.js';
|
|
15
|
+
import { mapValues, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -65,8 +65,8 @@ export function MemberFromJSONTyped(json: any, ignoreDiscriminator: boolean): Me
|
|
|
65
65
|
'username': json['username'],
|
|
66
66
|
'email': json['email'],
|
|
67
67
|
'groupId': json['groupId'],
|
|
68
|
-
'createdAt': (
|
|
69
|
-
'updatedAt': json['updatedAt'] == null ? undefined : (
|
|
68
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
69
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (parseDateTime(json['updatedAt'])),
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -84,8 +84,8 @@ export function MemberToJSONTyped(value?: Member | null, ignoreDiscriminator: bo
|
|
|
84
84
|
'username': value['username'],
|
|
85
85
|
'email': value['email'],
|
|
86
86
|
'groupId': value['groupId'],
|
|
87
|
-
'createdAt': value['createdAt']
|
|
88
|
-
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt']
|
|
87
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
88
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
export const MemoryOverCommitRatio = {
|
|
21
21
|
MemoryOneToOne: '1:1',
|
|
22
22
|
MemoryOneToTwo: '1:2',
|
|
23
|
-
MemoryOneToFour: '1:4'
|
|
23
|
+
MemoryOneToFour: '1:4',
|
|
24
24
|
} as const;
|
|
25
25
|
export type MemoryOverCommitRatio = typeof MemoryOverCommitRatio[keyof typeof MemoryOverCommitRatio];
|
|
26
26
|
|
package/src/models/Network.ts
CHANGED
|
@@ -49,7 +49,7 @@ export const NetworkTypeEnum = {
|
|
|
49
49
|
Standard: 'standard',
|
|
50
50
|
Distributed: 'distributed',
|
|
51
51
|
Dvswitch: 'dvswitch',
|
|
52
|
-
Unsupported: 'unsupported'
|
|
52
|
+
Unsupported: 'unsupported',
|
|
53
53
|
} as const;
|
|
54
54
|
export type NetworkTypeEnum = typeof NetworkTypeEnum[keyof typeof NetworkTypeEnum];
|
|
55
55
|
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenShift Migration Advisor API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1alpha1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface NsxInput
|
|
20
|
+
*/
|
|
21
|
+
export interface NsxInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
features?: Set<NsxInputFeaturesEnum>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const NsxInputFeaturesEnum = {
|
|
33
|
+
Microsegmentation: 'microsegmentation',
|
|
34
|
+
MultiCloud: 'multi_cloud',
|
|
35
|
+
Tunnels: 'tunnels',
|
|
36
|
+
DynamicRouting: 'dynamic_routing',
|
|
37
|
+
CentralMgmt: 'central_mgmt',
|
|
38
|
+
Mpls: 'mpls',
|
|
39
|
+
Qos: 'qos',
|
|
40
|
+
NotAssessed: 'not_assessed',
|
|
41
|
+
NotAvailable: 'not_available',
|
|
42
|
+
NotInUse: 'not_in_use',
|
|
43
|
+
} as const;
|
|
44
|
+
export type NsxInputFeaturesEnum = typeof NsxInputFeaturesEnum[keyof typeof NsxInputFeaturesEnum];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the NsxInput interface.
|
|
49
|
+
*/
|
|
50
|
+
export function instanceOfNsxInput(value: object): value is NsxInput {
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function NsxInputFromJSON(json: any): NsxInput {
|
|
55
|
+
return NsxInputFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function NsxInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NsxInput {
|
|
59
|
+
if (json == null) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function NsxInputToJSON(json: any): NsxInput {
|
|
69
|
+
return NsxInputToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function NsxInputToJSONTyped(value?: NsxInput | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'features': value['features'] == null ? undefined : Array.from(value['features'] as Set<any>),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -37,7 +37,7 @@ export const OptimizationStatusReasonEnum = {
|
|
|
37
37
|
NoUtilizationData: 'no_utilization_data',
|
|
38
38
|
LowConfidence: 'low_confidence',
|
|
39
39
|
CalculationError: 'calculation_error',
|
|
40
|
-
Success: 'success'
|
|
40
|
+
Success: 'success',
|
|
41
41
|
} as const;
|
|
42
42
|
export type OptimizationStatusReasonEnum = typeof OptimizationStatusReasonEnum[keyof typeof OptimizationStatusReasonEnum];
|
|
43
43
|
|
package/src/models/OsInfo.ts
CHANGED
|
@@ -45,7 +45,7 @@ export const OsInfoSupportTierEnum = {
|
|
|
45
45
|
Certified: 'certified',
|
|
46
46
|
VendorSupported: 'vendor_supported',
|
|
47
47
|
CommunitySupported: 'community_supported',
|
|
48
|
-
SpecialHandling: 'special_handling'
|
|
48
|
+
SpecialHandling: 'special_handling',
|
|
49
49
|
} as const;
|
|
50
50
|
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
51
51
|
|