@openshift-migration-advisor/planner-sdk 0.20.2-cdd9e28947f3 → 0.20.3-7b7fa251be69
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/AssessmentApi.d.ts +81 -0
- package/dist/apis/AssessmentApi.js +84 -0
- 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/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/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/NsxInput.d.ts +46 -0
- package/dist/esm/models/NsxInput.js +56 -0
- 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/models/ActiveEnvironmentsInput.d.ts +41 -0
- package/dist/models/ActiveEnvironmentsInput.js +59 -0
- 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/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/NsxInput.d.ts +46 -0
- package/dist/models/NsxInput.js +64 -0
- 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/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/CustomerDetailsInput.md +36 -0
- package/docs/DeployedEnvironmentInput.md +34 -0
- package/docs/EnhancementData.md +53 -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/AssessmentApi.ts +169 -0
- package/src/models/ActiveEnvironmentsInput.ts +77 -0
- package/src/models/AriaAutomationInput.ts +87 -0
- package/src/models/AriaOpsInput.ts +85 -0
- package/src/models/AriaSecureInput.ts +77 -0
- package/src/models/CustomerDetailsInput.ts +69 -0
- package/src/models/DeployedEnvironmentInput.ts +76 -0
- package/src/models/EnhancementData.ts +188 -0
- package/src/models/NsxInput.ts +82 -0
- 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
|
@@ -0,0 +1,77 @@
|
|
|
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 ActiveEnvironmentsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface ActiveEnvironmentsInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
environments?: Set<ActiveEnvironmentsInputEnvironmentsEnum>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const ActiveEnvironmentsInputEnvironmentsEnum = {
|
|
33
|
+
Production: 'production',
|
|
34
|
+
Qa: 'qa',
|
|
35
|
+
Dev: 'dev',
|
|
36
|
+
Other: 'other',
|
|
37
|
+
NotAssessed: 'not_assessed'
|
|
38
|
+
} as const;
|
|
39
|
+
export type ActiveEnvironmentsInputEnvironmentsEnum = typeof ActiveEnvironmentsInputEnvironmentsEnum[keyof typeof ActiveEnvironmentsInputEnvironmentsEnum];
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ActiveEnvironmentsInput interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfActiveEnvironmentsInput(value: object): value is ActiveEnvironmentsInput {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ActiveEnvironmentsInputFromJSON(json: any): ActiveEnvironmentsInput {
|
|
50
|
+
return ActiveEnvironmentsInputFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ActiveEnvironmentsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActiveEnvironmentsInput {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'environments': json['environments'] == null ? undefined : new Set(json['environments']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ActiveEnvironmentsInputToJSON(json: any): ActiveEnvironmentsInput {
|
|
64
|
+
return ActiveEnvironmentsInputToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function ActiveEnvironmentsInputToJSONTyped(value?: ActiveEnvironmentsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'environments': value['environments'] == null ? undefined : Array.from(value['environments'] as Set<any>),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
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 AriaAutomationInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AriaAutomationInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
features?: Set<AriaAutomationInputFeaturesEnum>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const AriaAutomationInputFeaturesEnum = {
|
|
33
|
+
InfraProvisioning: 'infra_provisioning',
|
|
34
|
+
CloudAssembly: 'cloud_assembly',
|
|
35
|
+
ServiceCatalog: 'service_catalog',
|
|
36
|
+
Blueprints: 'blueprints',
|
|
37
|
+
ConfigMgmt: 'config_mgmt',
|
|
38
|
+
Hcx: 'hcx',
|
|
39
|
+
Orchestrator: 'orchestrator',
|
|
40
|
+
Terraform: 'terraform',
|
|
41
|
+
Dsm: 'dsm',
|
|
42
|
+
TanzuK8s: 'tanzu_k8s',
|
|
43
|
+
TanzuApp: 'tanzu_app',
|
|
44
|
+
K8sNamespaces: 'k8s_namespaces',
|
|
45
|
+
NotAssessed: 'not_assessed',
|
|
46
|
+
NotAvailable: 'not_available',
|
|
47
|
+
NotInUse: 'not_in_use'
|
|
48
|
+
} as const;
|
|
49
|
+
export type AriaAutomationInputFeaturesEnum = typeof AriaAutomationInputFeaturesEnum[keyof typeof AriaAutomationInputFeaturesEnum];
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the AriaAutomationInput interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfAriaAutomationInput(value: object): value is AriaAutomationInput {
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function AriaAutomationInputFromJSON(json: any): AriaAutomationInput {
|
|
60
|
+
return AriaAutomationInputFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function AriaAutomationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaAutomationInput {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function AriaAutomationInputToJSON(json: any): AriaAutomationInput {
|
|
74
|
+
return AriaAutomationInputToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function AriaAutomationInputToJSONTyped(value?: AriaAutomationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'features': value['features'] == null ? undefined : Array.from(value['features'] as Set<any>),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
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 AriaOpsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AriaOpsInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
features?: Set<AriaOpsInputFeaturesEnum>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const AriaOpsInputFeaturesEnum = {
|
|
33
|
+
PerformanceAnalytics: 'performance_analytics',
|
|
34
|
+
HealthScore: 'health_score',
|
|
35
|
+
Alerting: 'alerting',
|
|
36
|
+
LogInsight: 'log_insight',
|
|
37
|
+
ItsmIntegration: 'itsm_integration',
|
|
38
|
+
Rightsizing: 'rightsizing',
|
|
39
|
+
AutoOptimization: 'auto_optimization',
|
|
40
|
+
TrueVisibility: 'true_visibility',
|
|
41
|
+
CapacityPlanning: 'capacity_planning',
|
|
42
|
+
AnomalyDetection: 'anomaly_detection',
|
|
43
|
+
NotAssessed: 'not_assessed',
|
|
44
|
+
NotAvailable: 'not_available',
|
|
45
|
+
NotInUse: 'not_in_use'
|
|
46
|
+
} as const;
|
|
47
|
+
export type AriaOpsInputFeaturesEnum = typeof AriaOpsInputFeaturesEnum[keyof typeof AriaOpsInputFeaturesEnum];
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AriaOpsInput interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfAriaOpsInput(value: object): value is AriaOpsInput {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function AriaOpsInputFromJSON(json: any): AriaOpsInput {
|
|
58
|
+
return AriaOpsInputFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function AriaOpsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaOpsInput {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function AriaOpsInputToJSON(json: any): AriaOpsInput {
|
|
72
|
+
return AriaOpsInputToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function AriaOpsInputToJSONTyped(value?: AriaOpsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
76
|
+
if (value == null) {
|
|
77
|
+
return value;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'features': value['features'] == null ? undefined : Array.from(value['features'] as Set<any>),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
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 AriaSecureInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AriaSecureInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
features?: Set<AriaSecureInputFeaturesEnum>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const AriaSecureInputFeaturesEnum = {
|
|
33
|
+
PolicyGovernance: 'policy_governance',
|
|
34
|
+
ComplianceMonitoring: 'compliance_monitoring',
|
|
35
|
+
NotAssessed: 'not_assessed',
|
|
36
|
+
NotAvailable: 'not_available',
|
|
37
|
+
NotInUse: 'not_in_use'
|
|
38
|
+
} as const;
|
|
39
|
+
export type AriaSecureInputFeaturesEnum = typeof AriaSecureInputFeaturesEnum[keyof typeof AriaSecureInputFeaturesEnum];
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the AriaSecureInput interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfAriaSecureInput(value: object): value is AriaSecureInput {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function AriaSecureInputFromJSON(json: any): AriaSecureInput {
|
|
50
|
+
return AriaSecureInputFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function AriaSecureInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaSecureInput {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function AriaSecureInputToJSON(json: any): AriaSecureInput {
|
|
64
|
+
return AriaSecureInputToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function AriaSecureInputToJSONTyped(value?: AriaSecureInput | null, ignoreDiscriminator: boolean = false): any {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'features': value['features'] == null ? undefined : Array.from(value['features'] as Set<any>),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -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
|
+
|