@openshift-migration-advisor/planner-sdk 0.20.3 → 0.21.0-515d930cc594

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.
Files changed (191) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +16 -3
  4. package/dist/apis/AccountApi.js +1 -1
  5. package/dist/apis/AssessmentApi.d.ts +81 -0
  6. package/dist/apis/AssessmentApi.js +84 -0
  7. package/dist/esm/apis/AccountApi.js +1 -1
  8. package/dist/esm/apis/AssessmentApi.d.ts +81 -0
  9. package/dist/esm/apis/AssessmentApi.js +84 -0
  10. package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
  11. package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
  12. package/dist/esm/models/Agent.js +6 -5
  13. package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
  14. package/dist/esm/models/AriaAutomationInput.js +61 -0
  15. package/dist/esm/models/AriaOpsInput.d.ts +49 -0
  16. package/dist/esm/models/AriaOpsInput.js +59 -0
  17. package/dist/esm/models/AriaSecureInput.d.ts +41 -0
  18. package/dist/esm/models/AriaSecureInput.js +51 -0
  19. package/dist/esm/models/Assessment.js +5 -4
  20. package/dist/esm/models/AssessmentSubsetInventory.js +3 -2
  21. package/dist/esm/models/ClusterFeatures.d.ts +2 -2
  22. package/dist/esm/models/ClusterFeatures.js +3 -3
  23. package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
  24. package/dist/esm/models/ClusterRequirementsStoredInput.js +3 -3
  25. package/dist/esm/models/CpuOverCommitRatio.js +1 -1
  26. package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
  27. package/dist/esm/models/CustomerDetailsInput.js +43 -0
  28. package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
  29. package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
  30. package/dist/esm/models/EnhancementData.d.ts +76 -0
  31. package/dist/esm/models/EnhancementData.js +69 -0
  32. package/dist/esm/models/Group.js +6 -5
  33. package/dist/esm/models/GroupCreate.js +1 -1
  34. package/dist/esm/models/Host.d.ts +8 -0
  35. package/dist/esm/models/Host.js +4 -0
  36. package/dist/esm/models/Identity.js +1 -1
  37. package/dist/esm/models/Infra.d.ts +4 -0
  38. package/dist/esm/models/Infra.js +2 -0
  39. package/dist/esm/models/Inventory.d.ts +4 -0
  40. package/dist/esm/models/Inventory.js +3 -1
  41. package/dist/esm/models/JobStatus.js +1 -1
  42. package/dist/esm/models/Member.js +5 -4
  43. package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
  44. package/dist/esm/models/Network.js +1 -1
  45. package/dist/esm/models/NsxInput.d.ts +46 -0
  46. package/dist/esm/models/NsxInput.js +56 -0
  47. package/dist/esm/models/OptimizationStatus.js +1 -1
  48. package/dist/esm/models/OsInfo.js +1 -1
  49. package/dist/esm/models/PartnerRequest.js +7 -6
  50. package/dist/esm/models/PartnerRequestStatus.js +1 -1
  51. package/dist/esm/models/PresignedUrl.js +3 -2
  52. package/dist/esm/models/Snapshot.js +3 -2
  53. package/dist/esm/models/Source.js +6 -5
  54. package/dist/esm/models/SourceCreate.js +1 -1
  55. package/dist/esm/models/SourceUpdate.js +1 -1
  56. package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
  57. package/dist/esm/models/StorageIoConfiguration.js +1 -1
  58. package/dist/esm/models/VMs.d.ts +4 -0
  59. package/dist/esm/models/VMs.js +2 -0
  60. package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
  61. package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
  62. package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
  63. package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
  64. package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
  65. package/dist/esm/models/VsphereCoreInput.js +45 -0
  66. package/dist/esm/models/index.d.ts +11 -0
  67. package/dist/esm/models/index.js +11 -0
  68. package/dist/esm/runtime.d.ts +11 -0
  69. package/dist/esm/runtime.js +47 -1
  70. package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
  71. package/dist/models/ActiveEnvironmentsInput.js +59 -0
  72. package/dist/models/Agent.js +6 -5
  73. package/dist/models/AriaAutomationInput.d.ts +51 -0
  74. package/dist/models/AriaAutomationInput.js +69 -0
  75. package/dist/models/AriaOpsInput.d.ts +49 -0
  76. package/dist/models/AriaOpsInput.js +67 -0
  77. package/dist/models/AriaSecureInput.d.ts +41 -0
  78. package/dist/models/AriaSecureInput.js +59 -0
  79. package/dist/models/Assessment.js +5 -4
  80. package/dist/models/AssessmentSubsetInventory.js +3 -2
  81. package/dist/models/ClusterFeatures.d.ts +2 -2
  82. package/dist/models/ClusterFeatures.js +3 -3
  83. package/dist/models/ClusterRequirementsRequest.js +1 -1
  84. package/dist/models/ClusterRequirementsStoredInput.js +3 -3
  85. package/dist/models/CpuOverCommitRatio.js +1 -1
  86. package/dist/models/CustomerDetailsInput.d.ts +34 -0
  87. package/dist/models/CustomerDetailsInput.js +50 -0
  88. package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
  89. package/dist/models/DeployedEnvironmentInput.js +58 -0
  90. package/dist/models/EnhancementData.d.ts +76 -0
  91. package/dist/models/EnhancementData.js +76 -0
  92. package/dist/models/Group.js +6 -5
  93. package/dist/models/GroupCreate.js +1 -1
  94. package/dist/models/Host.d.ts +8 -0
  95. package/dist/models/Host.js +4 -0
  96. package/dist/models/Identity.js +1 -1
  97. package/dist/models/Infra.d.ts +4 -0
  98. package/dist/models/Infra.js +2 -0
  99. package/dist/models/Inventory.d.ts +4 -0
  100. package/dist/models/Inventory.js +2 -0
  101. package/dist/models/JobStatus.js +1 -1
  102. package/dist/models/Member.js +5 -4
  103. package/dist/models/MemoryOverCommitRatio.js +1 -1
  104. package/dist/models/Network.js +1 -1
  105. package/dist/models/NsxInput.d.ts +46 -0
  106. package/dist/models/NsxInput.js +64 -0
  107. package/dist/models/OptimizationStatus.js +1 -1
  108. package/dist/models/OsInfo.js +1 -1
  109. package/dist/models/PartnerRequest.js +7 -6
  110. package/dist/models/PartnerRequestStatus.js +1 -1
  111. package/dist/models/PresignedUrl.js +3 -2
  112. package/dist/models/Snapshot.js +3 -2
  113. package/dist/models/Source.js +6 -5
  114. package/dist/models/SourceCreate.js +1 -1
  115. package/dist/models/SourceUpdate.js +1 -1
  116. package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
  117. package/dist/models/StorageIoConfiguration.js +1 -1
  118. package/dist/models/VMs.d.ts +4 -0
  119. package/dist/models/VMs.js +2 -0
  120. package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
  121. package/dist/models/VMwareSubscriptionInput.js +60 -0
  122. package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
  123. package/dist/models/VMwareVersionCountsInput.js +54 -0
  124. package/dist/models/VsphereCoreInput.d.ts +38 -0
  125. package/dist/models/VsphereCoreInput.js +52 -0
  126. package/dist/models/index.d.ts +11 -0
  127. package/dist/models/index.js +11 -0
  128. package/dist/runtime.d.ts +11 -0
  129. package/dist/runtime.js +51 -1
  130. package/docs/ActiveEnvironmentsInput.md +34 -0
  131. package/docs/AriaAutomationInput.md +34 -0
  132. package/docs/AriaOpsInput.md +34 -0
  133. package/docs/AriaSecureInput.md +34 -0
  134. package/docs/AssessmentApi.md +148 -0
  135. package/docs/ClusterFeatures.md +2 -2
  136. package/docs/CustomerDetailsInput.md +36 -0
  137. package/docs/DeployedEnvironmentInput.md +34 -0
  138. package/docs/EnhancementData.md +53 -0
  139. package/docs/Host.md +4 -0
  140. package/docs/Infra.md +2 -0
  141. package/docs/Inventory.md +2 -0
  142. package/docs/NsxInput.md +34 -0
  143. package/docs/VMs.md +2 -0
  144. package/docs/VMwareSubscriptionInput.md +34 -0
  145. package/docs/VMwareVersionCountsInput.md +40 -0
  146. package/docs/VsphereCoreInput.md +38 -0
  147. package/package.json +1 -1
  148. package/src/apis/AccountApi.ts +1 -1
  149. package/src/apis/AssessmentApi.ts +169 -0
  150. package/src/models/ActiveEnvironmentsInput.ts +77 -0
  151. package/src/models/Agent.ts +6 -6
  152. package/src/models/AriaAutomationInput.ts +87 -0
  153. package/src/models/AriaOpsInput.ts +85 -0
  154. package/src/models/AriaSecureInput.ts +77 -0
  155. package/src/models/Assessment.ts +5 -5
  156. package/src/models/AssessmentSubsetInventory.ts +3 -3
  157. package/src/models/ClusterFeatures.ts +5 -5
  158. package/src/models/ClusterRequirementsRequest.ts +1 -1
  159. package/src/models/ClusterRequirementsStoredInput.ts +3 -3
  160. package/src/models/CpuOverCommitRatio.ts +1 -1
  161. package/src/models/CustomerDetailsInput.ts +69 -0
  162. package/src/models/DeployedEnvironmentInput.ts +76 -0
  163. package/src/models/EnhancementData.ts +188 -0
  164. package/src/models/Group.ts +6 -6
  165. package/src/models/GroupCreate.ts +1 -1
  166. package/src/models/Host.ts +12 -0
  167. package/src/models/Identity.ts +1 -1
  168. package/src/models/Infra.ts +6 -0
  169. package/src/models/Inventory.ts +7 -1
  170. package/src/models/JobStatus.ts +1 -1
  171. package/src/models/Member.ts +5 -5
  172. package/src/models/MemoryOverCommitRatio.ts +1 -1
  173. package/src/models/Network.ts +1 -1
  174. package/src/models/NsxInput.ts +82 -0
  175. package/src/models/OptimizationStatus.ts +1 -1
  176. package/src/models/OsInfo.ts +1 -1
  177. package/src/models/PartnerRequest.ts +7 -7
  178. package/src/models/PartnerRequestStatus.ts +1 -1
  179. package/src/models/PresignedUrl.ts +3 -3
  180. package/src/models/Snapshot.ts +3 -3
  181. package/src/models/Source.ts +6 -6
  182. package/src/models/SourceCreate.ts +1 -1
  183. package/src/models/SourceUpdate.ts +1 -1
  184. package/src/models/StandaloneClusterRequirementsRequest.ts +1 -1
  185. package/src/models/StorageIoConfiguration.ts +1 -1
  186. package/src/models/VMs.ts +6 -0
  187. package/src/models/VMwareSubscriptionInput.ts +78 -0
  188. package/src/models/VMwareVersionCountsInput.ts +81 -0
  189. package/src/models/VsphereCoreInput.ts +75 -0
  190. package/src/models/index.ts +11 -0
  191. 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
+ }
@@ -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': (json['createdAt'] == null ? json['createdAt'] : new Date(json['createdAt'])),
58
- 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : new Date(json['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'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
75
- 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
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': (json['createdAt'] == null ? json['createdAt'] : new Date(json['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'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
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': (json['createdAt'] == null ? json['createdAt'] : new Date(json['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'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
63
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : serializeDateTime(value['createdAt']),
63
64
  };
64
65
  }
@@ -24,9 +24,9 @@ export interface ClusterFeatures {
24
24
  */
25
25
  drsMode?: ClusterFeaturesDrsModeEnum;
26
26
  /**
27
- * Whether Storage DRS is enabled for this cluster
27
+ * Whether vSphere HA (High Availability) is enabled for this cluster - automatically restarts VMs on surviving hosts after a host failure
28
28
  */
29
- storageDrsEnabled?: boolean;
29
+ haEnabled?: boolean;
30
30
  }
31
31
  /**
32
32
  * @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.
@@ -36,7 +36,7 @@ export function ClusterFeaturesFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return {
37
37
  'drsEnabled': json['drsEnabled'] == null ? undefined : json['drsEnabled'],
38
38
  'drsMode': json['drsMode'] == null ? undefined : json['drsMode'],
39
- 'storageDrsEnabled': json['storageDrsEnabled'] == null ? undefined : json['storageDrsEnabled'],
39
+ 'haEnabled': json['haEnabled'] == null ? undefined : json['haEnabled'],
40
40
  };
41
41
  }
42
42
  export function ClusterFeaturesToJSON(json) {
@@ -49,6 +49,6 @@ export function ClusterFeaturesToJSONTyped(value, ignoreDiscriminator = false) {
49
49
  return {
50
50
  'drsEnabled': value['drsEnabled'],
51
51
  'drsMode': value['drsMode'],
52
- 'storageDrsEnabled': value['storageDrsEnabled'],
52
+ 'haEnabled': value['haEnabled'],
53
53
  };
54
54
  }
@@ -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;