@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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
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 ActiveEnvironmentsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface ActiveEnvironmentsInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
environments?: Set<ActiveEnvironmentsInputEnvironmentsEnum>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const ActiveEnvironmentsInputEnvironmentsEnum: {
|
|
27
|
+
readonly Production: "production";
|
|
28
|
+
readonly Qa: "qa";
|
|
29
|
+
readonly Dev: "dev";
|
|
30
|
+
readonly Other: "other";
|
|
31
|
+
readonly NotAssessed: "not_assessed";
|
|
32
|
+
};
|
|
33
|
+
export type ActiveEnvironmentsInputEnvironmentsEnum = typeof ActiveEnvironmentsInputEnvironmentsEnum[keyof typeof ActiveEnvironmentsInputEnvironmentsEnum];
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the ActiveEnvironmentsInput interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfActiveEnvironmentsInput(value: object): value is ActiveEnvironmentsInput;
|
|
38
|
+
export declare function ActiveEnvironmentsInputFromJSON(json: any): ActiveEnvironmentsInput;
|
|
39
|
+
export declare function ActiveEnvironmentsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActiveEnvironmentsInput;
|
|
40
|
+
export declare function ActiveEnvironmentsInputToJSON(json: any): ActiveEnvironmentsInput;
|
|
41
|
+
export declare function ActiveEnvironmentsInputToJSONTyped(value?: ActiveEnvironmentsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ActiveEnvironmentsInputEnvironmentsEnum = {
|
|
18
|
+
Production: 'production',
|
|
19
|
+
Qa: 'qa',
|
|
20
|
+
Dev: 'dev',
|
|
21
|
+
Other: 'other',
|
|
22
|
+
NotAssessed: 'not_assessed',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ActiveEnvironmentsInput interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfActiveEnvironmentsInput(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function ActiveEnvironmentsInputFromJSON(json) {
|
|
31
|
+
return ActiveEnvironmentsInputFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ActiveEnvironmentsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'environments': json['environments'] == null ? undefined : new Set(json['environments']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ActiveEnvironmentsInputToJSON(json) {
|
|
42
|
+
return ActiveEnvironmentsInputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ActiveEnvironmentsInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'environments': value['environments'] == null ? undefined : Array.from(value['environments']),
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/esm/models/Agent.js
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { parseDateTime, serializeDateTime } from '../runtime.js';
|
|
14
15
|
/**
|
|
15
16
|
* @export
|
|
16
17
|
*/
|
|
@@ -20,7 +21,7 @@ export const AgentStatusEnum = {
|
|
|
20
21
|
Error: 'error',
|
|
21
22
|
GatheringInitialInventory: 'gathering-initial-inventory',
|
|
22
23
|
UpToDate: 'up-to-date',
|
|
23
|
-
SourceGone: 'source-gone'
|
|
24
|
+
SourceGone: 'source-gone',
|
|
24
25
|
};
|
|
25
26
|
/**
|
|
26
27
|
* Check if a given object implements the Agent interface.
|
|
@@ -54,8 +55,8 @@ export function AgentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
55
|
'status': json['status'],
|
|
55
56
|
'statusInfo': json['statusInfo'],
|
|
56
57
|
'credentialUrl': json['credentialUrl'],
|
|
57
|
-
'createdAt': (
|
|
58
|
-
'updatedAt': (
|
|
58
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
59
|
+
'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : parseDateTime(json['updatedAt'])),
|
|
59
60
|
'version': json['version'],
|
|
60
61
|
};
|
|
61
62
|
}
|
|
@@ -71,8 +72,8 @@ export function AgentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
71
72
|
'status': value['status'],
|
|
72
73
|
'statusInfo': value['statusInfo'],
|
|
73
74
|
'credentialUrl': value['credentialUrl'],
|
|
74
|
-
'createdAt': value['createdAt']
|
|
75
|
-
'updatedAt': value['updatedAt']
|
|
75
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
76
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : serializeDateTime(value['updatedAt']),
|
|
76
77
|
'version': value['version'],
|
|
77
78
|
};
|
|
78
79
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
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 AriaAutomationInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AriaAutomationInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
features?: Set<AriaAutomationInputFeaturesEnum>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const AriaAutomationInputFeaturesEnum: {
|
|
27
|
+
readonly InfraProvisioning: "infra_provisioning";
|
|
28
|
+
readonly CloudAssembly: "cloud_assembly";
|
|
29
|
+
readonly ServiceCatalog: "service_catalog";
|
|
30
|
+
readonly Blueprints: "blueprints";
|
|
31
|
+
readonly ConfigMgmt: "config_mgmt";
|
|
32
|
+
readonly Hcx: "hcx";
|
|
33
|
+
readonly Orchestrator: "orchestrator";
|
|
34
|
+
readonly Terraform: "terraform";
|
|
35
|
+
readonly Dsm: "dsm";
|
|
36
|
+
readonly TanzuK8s: "tanzu_k8s";
|
|
37
|
+
readonly TanzuApp: "tanzu_app";
|
|
38
|
+
readonly K8sNamespaces: "k8s_namespaces";
|
|
39
|
+
readonly NotAssessed: "not_assessed";
|
|
40
|
+
readonly NotAvailable: "not_available";
|
|
41
|
+
readonly NotInUse: "not_in_use";
|
|
42
|
+
};
|
|
43
|
+
export type AriaAutomationInputFeaturesEnum = typeof AriaAutomationInputFeaturesEnum[keyof typeof AriaAutomationInputFeaturesEnum];
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AriaAutomationInput interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfAriaAutomationInput(value: object): value is AriaAutomationInput;
|
|
48
|
+
export declare function AriaAutomationInputFromJSON(json: any): AriaAutomationInput;
|
|
49
|
+
export declare function AriaAutomationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaAutomationInput;
|
|
50
|
+
export declare function AriaAutomationInputToJSON(json: any): AriaAutomationInput;
|
|
51
|
+
export declare function AriaAutomationInputToJSONTyped(value?: AriaAutomationInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const AriaAutomationInputFeaturesEnum = {
|
|
18
|
+
InfraProvisioning: 'infra_provisioning',
|
|
19
|
+
CloudAssembly: 'cloud_assembly',
|
|
20
|
+
ServiceCatalog: 'service_catalog',
|
|
21
|
+
Blueprints: 'blueprints',
|
|
22
|
+
ConfigMgmt: 'config_mgmt',
|
|
23
|
+
Hcx: 'hcx',
|
|
24
|
+
Orchestrator: 'orchestrator',
|
|
25
|
+
Terraform: 'terraform',
|
|
26
|
+
Dsm: 'dsm',
|
|
27
|
+
TanzuK8s: 'tanzu_k8s',
|
|
28
|
+
TanzuApp: 'tanzu_app',
|
|
29
|
+
K8sNamespaces: 'k8s_namespaces',
|
|
30
|
+
NotAssessed: 'not_assessed',
|
|
31
|
+
NotAvailable: 'not_available',
|
|
32
|
+
NotInUse: 'not_in_use',
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the AriaAutomationInput interface.
|
|
36
|
+
*/
|
|
37
|
+
export function instanceOfAriaAutomationInput(value) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
export function AriaAutomationInputFromJSON(json) {
|
|
41
|
+
return AriaAutomationInputFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function AriaAutomationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function AriaAutomationInputToJSON(json) {
|
|
52
|
+
return AriaAutomationInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function AriaAutomationInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'features': value['features'] == null ? undefined : Array.from(value['features']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
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 AriaOpsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AriaOpsInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
features?: Set<AriaOpsInputFeaturesEnum>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const AriaOpsInputFeaturesEnum: {
|
|
27
|
+
readonly PerformanceAnalytics: "performance_analytics";
|
|
28
|
+
readonly HealthScore: "health_score";
|
|
29
|
+
readonly Alerting: "alerting";
|
|
30
|
+
readonly LogInsight: "log_insight";
|
|
31
|
+
readonly ItsmIntegration: "itsm_integration";
|
|
32
|
+
readonly Rightsizing: "rightsizing";
|
|
33
|
+
readonly AutoOptimization: "auto_optimization";
|
|
34
|
+
readonly TrueVisibility: "true_visibility";
|
|
35
|
+
readonly CapacityPlanning: "capacity_planning";
|
|
36
|
+
readonly AnomalyDetection: "anomaly_detection";
|
|
37
|
+
readonly NotAssessed: "not_assessed";
|
|
38
|
+
readonly NotAvailable: "not_available";
|
|
39
|
+
readonly NotInUse: "not_in_use";
|
|
40
|
+
};
|
|
41
|
+
export type AriaOpsInputFeaturesEnum = typeof AriaOpsInputFeaturesEnum[keyof typeof AriaOpsInputFeaturesEnum];
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the AriaOpsInput interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfAriaOpsInput(value: object): value is AriaOpsInput;
|
|
46
|
+
export declare function AriaOpsInputFromJSON(json: any): AriaOpsInput;
|
|
47
|
+
export declare function AriaOpsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaOpsInput;
|
|
48
|
+
export declare function AriaOpsInputToJSON(json: any): AriaOpsInput;
|
|
49
|
+
export declare function AriaOpsInputToJSONTyped(value?: AriaOpsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const AriaOpsInputFeaturesEnum = {
|
|
18
|
+
PerformanceAnalytics: 'performance_analytics',
|
|
19
|
+
HealthScore: 'health_score',
|
|
20
|
+
Alerting: 'alerting',
|
|
21
|
+
LogInsight: 'log_insight',
|
|
22
|
+
ItsmIntegration: 'itsm_integration',
|
|
23
|
+
Rightsizing: 'rightsizing',
|
|
24
|
+
AutoOptimization: 'auto_optimization',
|
|
25
|
+
TrueVisibility: 'true_visibility',
|
|
26
|
+
CapacityPlanning: 'capacity_planning',
|
|
27
|
+
AnomalyDetection: 'anomaly_detection',
|
|
28
|
+
NotAssessed: 'not_assessed',
|
|
29
|
+
NotAvailable: 'not_available',
|
|
30
|
+
NotInUse: 'not_in_use',
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AriaOpsInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export function instanceOfAriaOpsInput(value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
export function AriaOpsInputFromJSON(json) {
|
|
39
|
+
return AriaOpsInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function AriaOpsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function AriaOpsInputToJSON(json) {
|
|
50
|
+
return AriaOpsInputToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function AriaOpsInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'features': value['features'] == null ? undefined : Array.from(value['features']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
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 AriaSecureInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AriaSecureInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
features?: Set<AriaSecureInputFeaturesEnum>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const AriaSecureInputFeaturesEnum: {
|
|
27
|
+
readonly PolicyGovernance: "policy_governance";
|
|
28
|
+
readonly ComplianceMonitoring: "compliance_monitoring";
|
|
29
|
+
readonly NotAssessed: "not_assessed";
|
|
30
|
+
readonly NotAvailable: "not_available";
|
|
31
|
+
readonly NotInUse: "not_in_use";
|
|
32
|
+
};
|
|
33
|
+
export type AriaSecureInputFeaturesEnum = typeof AriaSecureInputFeaturesEnum[keyof typeof AriaSecureInputFeaturesEnum];
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the AriaSecureInput interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfAriaSecureInput(value: object): value is AriaSecureInput;
|
|
38
|
+
export declare function AriaSecureInputFromJSON(json: any): AriaSecureInput;
|
|
39
|
+
export declare function AriaSecureInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AriaSecureInput;
|
|
40
|
+
export declare function AriaSecureInputToJSON(json: any): AriaSecureInput;
|
|
41
|
+
export declare function AriaSecureInputToJSONTyped(value?: AriaSecureInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const AriaSecureInputFeaturesEnum = {
|
|
18
|
+
PolicyGovernance: 'policy_governance',
|
|
19
|
+
ComplianceMonitoring: 'compliance_monitoring',
|
|
20
|
+
NotAssessed: 'not_assessed',
|
|
21
|
+
NotAvailable: 'not_available',
|
|
22
|
+
NotInUse: 'not_in_use',
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the AriaSecureInput interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfAriaSecureInput(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function AriaSecureInputFromJSON(json) {
|
|
31
|
+
return AriaSecureInputFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function AriaSecureInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'features': json['features'] == null ? undefined : new Set(json['features']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function AriaSecureInputToJSON(json) {
|
|
42
|
+
return AriaSecureInputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function AriaSecureInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'features': value['features'] == null ? undefined : Array.from(value['features']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { parseDateTime, serializeDateTime } from '../runtime.js';
|
|
14
15
|
import { SnapshotFromJSON, SnapshotToJSON, } from './Snapshot.js';
|
|
15
16
|
import { AssessmentSharingFromJSON, AssessmentSharingToJSON, } from './AssessmentSharing.js';
|
|
16
17
|
/**
|
|
@@ -19,7 +20,7 @@ import { AssessmentSharingFromJSON, AssessmentSharingToJSON, } from './Assessmen
|
|
|
19
20
|
export const AssessmentSourceTypeEnum = {
|
|
20
21
|
Inventory: 'inventory',
|
|
21
22
|
Rvtools: 'rvtools',
|
|
22
|
-
Source: 'source'
|
|
23
|
+
Source: 'source',
|
|
23
24
|
};
|
|
24
25
|
/**
|
|
25
26
|
* @export
|
|
@@ -27,7 +28,7 @@ export const AssessmentSourceTypeEnum = {
|
|
|
27
28
|
export const AssessmentPermissionsEnum = {
|
|
28
29
|
Read: 'read',
|
|
29
30
|
Share: 'share',
|
|
30
|
-
Delete: 'delete'
|
|
31
|
+
Delete: 'delete',
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* Check if a given object implements the Assessment interface.
|
|
@@ -59,7 +60,7 @@ export function AssessmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'ownerLastName': json['ownerLastName'] == null ? undefined : json['ownerLastName'],
|
|
60
61
|
'sourceType': json['sourceType'],
|
|
61
62
|
'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
|
|
62
|
-
'createdAt': (
|
|
63
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
63
64
|
'snapshots': (json['snapshots'].map(SnapshotFromJSON)),
|
|
64
65
|
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
|
65
66
|
'sharing': json['sharing'] == null ? undefined : AssessmentSharingFromJSON(json['sharing']),
|
|
@@ -79,7 +80,7 @@ export function AssessmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
79
80
|
'ownerLastName': value['ownerLastName'],
|
|
80
81
|
'sourceType': value['sourceType'],
|
|
81
82
|
'sourceId': value['sourceId'],
|
|
82
|
-
'createdAt': value['createdAt']
|
|
83
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
83
84
|
'snapshots': (value['snapshots'].map(SnapshotToJSON)),
|
|
84
85
|
'permissions': value['permissions'],
|
|
85
86
|
'sharing': AssessmentSharingToJSON(value['sharing']),
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { parseDateTime, serializeDateTime } from '../runtime.js';
|
|
14
15
|
import { InventoryFromJSON, InventoryToJSON, } from './Inventory.js';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the AssessmentSubsetInventory interface.
|
|
@@ -43,7 +44,7 @@ export function AssessmentSubsetInventoryFromJSONTyped(json, ignoreDiscriminator
|
|
|
43
44
|
'vcenterId': json['vcenterId'],
|
|
44
45
|
'vmsCount': json['vmsCount'],
|
|
45
46
|
'inventory': InventoryFromJSON(json['inventory']),
|
|
46
|
-
'createdAt': (
|
|
47
|
+
'createdAt': (json['createdAt'] == null ? json['createdAt'] : parseDateTime(json['createdAt'])),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
export function AssessmentSubsetInventoryToJSON(json) {
|
|
@@ -59,6 +60,6 @@ export function AssessmentSubsetInventoryToJSONTyped(value, ignoreDiscriminator
|
|
|
59
60
|
'vcenterId': value['vcenterId'],
|
|
60
61
|
'vmsCount': value['vmsCount'],
|
|
61
62
|
'inventory': InventoryToJSON(value['inventory']),
|
|
62
|
-
'createdAt': value['createdAt']
|
|
63
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
|
|
63
64
|
};
|
|
64
65
|
}
|
|
@@ -27,6 +27,10 @@ export interface ClusterFeatures {
|
|
|
27
27
|
* Whether Storage DRS is enabled for this cluster
|
|
28
28
|
*/
|
|
29
29
|
storageDrsEnabled?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Whether vSphere HA (High Availability) is enabled for this cluster - automatically restarts VMs on surviving hosts after a host failure
|
|
32
|
+
*/
|
|
33
|
+
haEnabled?: boolean;
|
|
30
34
|
}
|
|
31
35
|
/**
|
|
32
36
|
* @export
|
|
@@ -18,7 +18,7 @@ export const ClusterFeaturesDrsModeEnum = {
|
|
|
18
18
|
FullyAutomated: 'Fully Automated',
|
|
19
19
|
PartiallyAutomated: 'Partially Automated',
|
|
20
20
|
Manual: 'Manual',
|
|
21
|
-
None: 'None'
|
|
21
|
+
None: 'None',
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the ClusterFeatures interface.
|
|
@@ -37,6 +37,7 @@ export function ClusterFeaturesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'drsEnabled': json['drsEnabled'] == null ? undefined : json['drsEnabled'],
|
|
38
38
|
'drsMode': json['drsMode'] == null ? undefined : json['drsMode'],
|
|
39
39
|
'storageDrsEnabled': json['storageDrsEnabled'] == null ? undefined : json['storageDrsEnabled'],
|
|
40
|
+
'haEnabled': json['haEnabled'] == null ? undefined : json['haEnabled'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
export function ClusterFeaturesToJSON(json) {
|
|
@@ -50,5 +51,6 @@ export function ClusterFeaturesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
51
|
'drsEnabled': value['drsEnabled'],
|
|
51
52
|
'drsMode': value['drsMode'],
|
|
52
53
|
'storageDrsEnabled': value['storageDrsEnabled'],
|
|
54
|
+
'haEnabled': value['haEnabled'],
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -18,7 +18,7 @@ import { MemoryOverCommitRatioFromJSON, MemoryOverCommitRatioToJSON, } from './M
|
|
|
18
18
|
*/
|
|
19
19
|
export const ClusterRequirementsRequestControlPlaneNodeCountEnum = {
|
|
20
20
|
NUMBER_1: 1,
|
|
21
|
-
NUMBER_3: 3
|
|
21
|
+
NUMBER_3: 3,
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the ClusterRequirementsRequest interface.
|
|
@@ -19,7 +19,7 @@ export const ClusterRequirementsStoredInputCpuOverCommitRatioEnum = {
|
|
|
19
19
|
_12: '1:2',
|
|
20
20
|
_14: '1:4',
|
|
21
21
|
_16: '1:6',
|
|
22
|
-
_18: '1:8'
|
|
22
|
+
_18: '1:8',
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* @export
|
|
@@ -27,14 +27,14 @@ export const ClusterRequirementsStoredInputCpuOverCommitRatioEnum = {
|
|
|
27
27
|
export const ClusterRequirementsStoredInputMemoryOverCommitRatioEnum = {
|
|
28
28
|
_11: '1:1',
|
|
29
29
|
_12: '1:2',
|
|
30
|
-
_14: '1:4'
|
|
30
|
+
_14: '1:4',
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
35
|
export const ClusterRequirementsStoredInputControlPlaneNodeCountEnum = {
|
|
36
36
|
NUMBER_1: 1,
|
|
37
|
-
NUMBER_3: 3
|
|
37
|
+
NUMBER_3: 3,
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* Check if a given object implements the ClusterRequirementsStoredInput interface.
|
|
@@ -20,7 +20,7 @@ export const CpuOverCommitRatio = {
|
|
|
20
20
|
CpuOneToTwo: '1:2',
|
|
21
21
|
CpuOneToFour: '1:4',
|
|
22
22
|
CpuOneToSix: '1:6',
|
|
23
|
-
CpuOneToEight: '1:8'
|
|
23
|
+
CpuOneToEight: '1:8',
|
|
24
24
|
};
|
|
25
25
|
export function instanceOfCpuOverCommitRatio(value) {
|
|
26
26
|
for (const key in CpuOverCommitRatio) {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenShift Migration Advisor API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1alpha1
|
|
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 CustomerDetailsInput
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomerDetailsInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
physicalLocationsCount?: number;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
targetHardware?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the CustomerDetailsInput interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfCustomerDetailsInput(value: object): value is CustomerDetailsInput;
|
|
31
|
+
export declare function CustomerDetailsInputFromJSON(json: any): CustomerDetailsInput;
|
|
32
|
+
export declare function CustomerDetailsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerDetailsInput;
|
|
33
|
+
export declare function CustomerDetailsInputToJSON(json: any): CustomerDetailsInput;
|
|
34
|
+
export declare function CustomerDetailsInputToJSONTyped(value?: CustomerDetailsInput | null, ignoreDiscriminator?: boolean): any;
|