@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.
Files changed (178) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/README.md +15 -2
  3. package/dist/apis/AccountApi.js +1 -1
  4. package/dist/apis/AssessmentApi.d.ts +81 -0
  5. package/dist/apis/AssessmentApi.js +84 -0
  6. package/dist/esm/apis/AccountApi.js +1 -1
  7. package/dist/esm/apis/AssessmentApi.d.ts +81 -0
  8. package/dist/esm/apis/AssessmentApi.js +84 -0
  9. package/dist/esm/models/ActiveEnvironmentsInput.d.ts +41 -0
  10. package/dist/esm/models/ActiveEnvironmentsInput.js +51 -0
  11. package/dist/esm/models/Agent.js +6 -5
  12. package/dist/esm/models/AriaAutomationInput.d.ts +51 -0
  13. package/dist/esm/models/AriaAutomationInput.js +61 -0
  14. package/dist/esm/models/AriaOpsInput.d.ts +49 -0
  15. package/dist/esm/models/AriaOpsInput.js +59 -0
  16. package/dist/esm/models/AriaSecureInput.d.ts +41 -0
  17. package/dist/esm/models/AriaSecureInput.js +51 -0
  18. package/dist/esm/models/Assessment.js +5 -4
  19. package/dist/esm/models/AssessmentSubsetInventory.js +3 -2
  20. package/dist/esm/models/ClusterFeatures.d.ts +4 -0
  21. package/dist/esm/models/ClusterFeatures.js +3 -1
  22. package/dist/esm/models/ClusterRequirementsRequest.js +1 -1
  23. package/dist/esm/models/ClusterRequirementsStoredInput.js +3 -3
  24. package/dist/esm/models/CpuOverCommitRatio.js +1 -1
  25. package/dist/esm/models/CustomerDetailsInput.d.ts +34 -0
  26. package/dist/esm/models/CustomerDetailsInput.js +43 -0
  27. package/dist/esm/models/DeployedEnvironmentInput.d.ts +40 -0
  28. package/dist/esm/models/DeployedEnvironmentInput.js +50 -0
  29. package/dist/esm/models/EnhancementData.d.ts +76 -0
  30. package/dist/esm/models/EnhancementData.js +69 -0
  31. package/dist/esm/models/Group.js +6 -5
  32. package/dist/esm/models/GroupCreate.js +1 -1
  33. package/dist/esm/models/Host.d.ts +8 -0
  34. package/dist/esm/models/Host.js +4 -0
  35. package/dist/esm/models/Identity.js +1 -1
  36. package/dist/esm/models/Inventory.d.ts +4 -0
  37. package/dist/esm/models/Inventory.js +3 -1
  38. package/dist/esm/models/JobStatus.js +1 -1
  39. package/dist/esm/models/Member.js +5 -4
  40. package/dist/esm/models/MemoryOverCommitRatio.js +1 -1
  41. package/dist/esm/models/Network.js +1 -1
  42. package/dist/esm/models/NsxInput.d.ts +46 -0
  43. package/dist/esm/models/NsxInput.js +56 -0
  44. package/dist/esm/models/OptimizationStatus.js +1 -1
  45. package/dist/esm/models/OsInfo.js +1 -1
  46. package/dist/esm/models/PartnerRequest.js +7 -6
  47. package/dist/esm/models/PartnerRequestStatus.js +1 -1
  48. package/dist/esm/models/PresignedUrl.js +3 -2
  49. package/dist/esm/models/Snapshot.js +3 -2
  50. package/dist/esm/models/Source.js +6 -5
  51. package/dist/esm/models/SourceCreate.js +1 -1
  52. package/dist/esm/models/SourceUpdate.js +1 -1
  53. package/dist/esm/models/StandaloneClusterRequirementsRequest.js +1 -1
  54. package/dist/esm/models/StorageIoConfiguration.js +1 -1
  55. package/dist/esm/models/VMwareSubscriptionInput.d.ts +42 -0
  56. package/dist/esm/models/VMwareSubscriptionInput.js +52 -0
  57. package/dist/esm/models/VMwareVersionCountsInput.d.ts +42 -0
  58. package/dist/esm/models/VMwareVersionCountsInput.js +47 -0
  59. package/dist/esm/models/VsphereCoreInput.d.ts +38 -0
  60. package/dist/esm/models/VsphereCoreInput.js +45 -0
  61. package/dist/esm/models/index.d.ts +11 -0
  62. package/dist/esm/models/index.js +11 -0
  63. package/dist/esm/runtime.d.ts +11 -0
  64. package/dist/esm/runtime.js +47 -1
  65. package/dist/models/ActiveEnvironmentsInput.d.ts +41 -0
  66. package/dist/models/ActiveEnvironmentsInput.js +59 -0
  67. package/dist/models/Agent.js +6 -5
  68. package/dist/models/AriaAutomationInput.d.ts +51 -0
  69. package/dist/models/AriaAutomationInput.js +69 -0
  70. package/dist/models/AriaOpsInput.d.ts +49 -0
  71. package/dist/models/AriaOpsInput.js +67 -0
  72. package/dist/models/AriaSecureInput.d.ts +41 -0
  73. package/dist/models/AriaSecureInput.js +59 -0
  74. package/dist/models/Assessment.js +5 -4
  75. package/dist/models/AssessmentSubsetInventory.js +3 -2
  76. package/dist/models/ClusterFeatures.d.ts +4 -0
  77. package/dist/models/ClusterFeatures.js +3 -1
  78. package/dist/models/ClusterRequirementsRequest.js +1 -1
  79. package/dist/models/ClusterRequirementsStoredInput.js +3 -3
  80. package/dist/models/CpuOverCommitRatio.js +1 -1
  81. package/dist/models/CustomerDetailsInput.d.ts +34 -0
  82. package/dist/models/CustomerDetailsInput.js +50 -0
  83. package/dist/models/DeployedEnvironmentInput.d.ts +40 -0
  84. package/dist/models/DeployedEnvironmentInput.js +58 -0
  85. package/dist/models/EnhancementData.d.ts +76 -0
  86. package/dist/models/EnhancementData.js +76 -0
  87. package/dist/models/Group.js +6 -5
  88. package/dist/models/GroupCreate.js +1 -1
  89. package/dist/models/Host.d.ts +8 -0
  90. package/dist/models/Host.js +4 -0
  91. package/dist/models/Identity.js +1 -1
  92. package/dist/models/Inventory.d.ts +4 -0
  93. package/dist/models/Inventory.js +2 -0
  94. package/dist/models/JobStatus.js +1 -1
  95. package/dist/models/Member.js +5 -4
  96. package/dist/models/MemoryOverCommitRatio.js +1 -1
  97. package/dist/models/Network.js +1 -1
  98. package/dist/models/NsxInput.d.ts +46 -0
  99. package/dist/models/NsxInput.js +64 -0
  100. package/dist/models/OptimizationStatus.js +1 -1
  101. package/dist/models/OsInfo.js +1 -1
  102. package/dist/models/PartnerRequest.js +7 -6
  103. package/dist/models/PartnerRequestStatus.js +1 -1
  104. package/dist/models/PresignedUrl.js +3 -2
  105. package/dist/models/Snapshot.js +3 -2
  106. package/dist/models/Source.js +6 -5
  107. package/dist/models/SourceCreate.js +1 -1
  108. package/dist/models/SourceUpdate.js +1 -1
  109. package/dist/models/StandaloneClusterRequirementsRequest.js +1 -1
  110. package/dist/models/StorageIoConfiguration.js +1 -1
  111. package/dist/models/VMwareSubscriptionInput.d.ts +42 -0
  112. package/dist/models/VMwareSubscriptionInput.js +60 -0
  113. package/dist/models/VMwareVersionCountsInput.d.ts +42 -0
  114. package/dist/models/VMwareVersionCountsInput.js +54 -0
  115. package/dist/models/VsphereCoreInput.d.ts +38 -0
  116. package/dist/models/VsphereCoreInput.js +52 -0
  117. package/dist/models/index.d.ts +11 -0
  118. package/dist/models/index.js +11 -0
  119. package/dist/runtime.d.ts +11 -0
  120. package/dist/runtime.js +51 -1
  121. package/docs/ActiveEnvironmentsInput.md +34 -0
  122. package/docs/AriaAutomationInput.md +34 -0
  123. package/docs/AriaOpsInput.md +34 -0
  124. package/docs/AriaSecureInput.md +34 -0
  125. package/docs/AssessmentApi.md +148 -0
  126. package/docs/ClusterFeatures.md +2 -0
  127. package/docs/CustomerDetailsInput.md +36 -0
  128. package/docs/DeployedEnvironmentInput.md +34 -0
  129. package/docs/EnhancementData.md +53 -0
  130. package/docs/Host.md +4 -0
  131. package/docs/Inventory.md +2 -0
  132. package/docs/NsxInput.md +34 -0
  133. package/docs/VMwareSubscriptionInput.md +34 -0
  134. package/docs/VMwareVersionCountsInput.md +40 -0
  135. package/docs/VsphereCoreInput.md +38 -0
  136. package/package.json +1 -1
  137. package/src/apis/AccountApi.ts +1 -1
  138. package/src/apis/AssessmentApi.ts +169 -0
  139. package/src/models/ActiveEnvironmentsInput.ts +77 -0
  140. package/src/models/Agent.ts +6 -6
  141. package/src/models/AriaAutomationInput.ts +87 -0
  142. package/src/models/AriaOpsInput.ts +85 -0
  143. package/src/models/AriaSecureInput.ts +77 -0
  144. package/src/models/Assessment.ts +5 -5
  145. package/src/models/AssessmentSubsetInventory.ts +3 -3
  146. package/src/models/ClusterFeatures.ts +7 -1
  147. package/src/models/ClusterRequirementsRequest.ts +1 -1
  148. package/src/models/ClusterRequirementsStoredInput.ts +3 -3
  149. package/src/models/CpuOverCommitRatio.ts +1 -1
  150. package/src/models/CustomerDetailsInput.ts +69 -0
  151. package/src/models/DeployedEnvironmentInput.ts +76 -0
  152. package/src/models/EnhancementData.ts +188 -0
  153. package/src/models/Group.ts +6 -6
  154. package/src/models/GroupCreate.ts +1 -1
  155. package/src/models/Host.ts +12 -0
  156. package/src/models/Identity.ts +1 -1
  157. package/src/models/Inventory.ts +7 -1
  158. package/src/models/JobStatus.ts +1 -1
  159. package/src/models/Member.ts +5 -5
  160. package/src/models/MemoryOverCommitRatio.ts +1 -1
  161. package/src/models/Network.ts +1 -1
  162. package/src/models/NsxInput.ts +82 -0
  163. package/src/models/OptimizationStatus.ts +1 -1
  164. package/src/models/OsInfo.ts +1 -1
  165. package/src/models/PartnerRequest.ts +7 -7
  166. package/src/models/PartnerRequestStatus.ts +1 -1
  167. package/src/models/PresignedUrl.ts +3 -3
  168. package/src/models/Snapshot.ts +3 -3
  169. package/src/models/Source.ts +6 -6
  170. package/src/models/SourceCreate.ts +1 -1
  171. package/src/models/SourceUpdate.ts +1 -1
  172. package/src/models/StandaloneClusterRequirementsRequest.ts +1 -1
  173. package/src/models/StorageIoConfiguration.ts +1 -1
  174. package/src/models/VMwareSubscriptionInput.ts +78 -0
  175. package/src/models/VMwareVersionCountsInput.ts +81 -0
  176. package/src/models/VsphereCoreInput.ts +75 -0
  177. package/src/models/index.ts +11 -0
  178. package/src/runtime.ts +52 -1
@@ -19,6 +19,7 @@ exports.AgentFromJSON = AgentFromJSON;
19
19
  exports.AgentFromJSONTyped = AgentFromJSONTyped;
20
20
  exports.AgentToJSON = AgentToJSON;
21
21
  exports.AgentToJSONTyped = AgentToJSONTyped;
22
+ const runtime_js_1 = require("../runtime.js");
22
23
  /**
23
24
  * @export
24
25
  */
@@ -28,7 +29,7 @@ exports.AgentStatusEnum = {
28
29
  Error: 'error',
29
30
  GatheringInitialInventory: 'gathering-initial-inventory',
30
31
  UpToDate: 'up-to-date',
31
- SourceGone: 'source-gone'
32
+ SourceGone: 'source-gone',
32
33
  };
33
34
  /**
34
35
  * Check if a given object implements the Agent interface.
@@ -62,8 +63,8 @@ function AgentFromJSONTyped(json, ignoreDiscriminator) {
62
63
  'status': json['status'],
63
64
  'statusInfo': json['statusInfo'],
64
65
  'credentialUrl': json['credentialUrl'],
65
- 'createdAt': (new Date(json['createdAt'])),
66
- 'updatedAt': (new Date(json['updatedAt'])),
66
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : (0, runtime_js_1.parseDateTime)(json['createdAt'])),
67
+ 'updatedAt': (json['updatedAt'] == null ? json['updatedAt'] : (0, runtime_js_1.parseDateTime)(json['updatedAt'])),
67
68
  'version': json['version'],
68
69
  };
69
70
  }
@@ -79,8 +80,8 @@ function AgentToJSONTyped(value, ignoreDiscriminator = false) {
79
80
  'status': value['status'],
80
81
  'statusInfo': value['statusInfo'],
81
82
  'credentialUrl': value['credentialUrl'],
82
- 'createdAt': value['createdAt'].toISOString(),
83
- 'updatedAt': value['updatedAt'].toISOString(),
83
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
84
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : (0, runtime_js_1.serializeDateTime)(value['updatedAt']),
84
85
  'version': value['version'],
85
86
  };
86
87
  }
@@ -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,69 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenShift Migration Advisor API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1alpha1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AriaAutomationInputFeaturesEnum = void 0;
17
+ exports.instanceOfAriaAutomationInput = instanceOfAriaAutomationInput;
18
+ exports.AriaAutomationInputFromJSON = AriaAutomationInputFromJSON;
19
+ exports.AriaAutomationInputFromJSONTyped = AriaAutomationInputFromJSONTyped;
20
+ exports.AriaAutomationInputToJSON = AriaAutomationInputToJSON;
21
+ exports.AriaAutomationInputToJSONTyped = AriaAutomationInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.AriaAutomationInputFeaturesEnum = {
26
+ InfraProvisioning: 'infra_provisioning',
27
+ CloudAssembly: 'cloud_assembly',
28
+ ServiceCatalog: 'service_catalog',
29
+ Blueprints: 'blueprints',
30
+ ConfigMgmt: 'config_mgmt',
31
+ Hcx: 'hcx',
32
+ Orchestrator: 'orchestrator',
33
+ Terraform: 'terraform',
34
+ Dsm: 'dsm',
35
+ TanzuK8s: 'tanzu_k8s',
36
+ TanzuApp: 'tanzu_app',
37
+ K8sNamespaces: 'k8s_namespaces',
38
+ NotAssessed: 'not_assessed',
39
+ NotAvailable: 'not_available',
40
+ NotInUse: 'not_in_use',
41
+ };
42
+ /**
43
+ * Check if a given object implements the AriaAutomationInput interface.
44
+ */
45
+ function instanceOfAriaAutomationInput(value) {
46
+ return true;
47
+ }
48
+ function AriaAutomationInputFromJSON(json) {
49
+ return AriaAutomationInputFromJSONTyped(json, false);
50
+ }
51
+ function AriaAutomationInputFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
57
+ };
58
+ }
59
+ function AriaAutomationInputToJSON(json) {
60
+ return AriaAutomationInputToJSONTyped(json, false);
61
+ }
62
+ function AriaAutomationInputToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'features': value['features'] == null ? undefined : Array.from(value['features']),
68
+ };
69
+ }
@@ -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,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenShift Migration Advisor API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1alpha1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AriaOpsInputFeaturesEnum = void 0;
17
+ exports.instanceOfAriaOpsInput = instanceOfAriaOpsInput;
18
+ exports.AriaOpsInputFromJSON = AriaOpsInputFromJSON;
19
+ exports.AriaOpsInputFromJSONTyped = AriaOpsInputFromJSONTyped;
20
+ exports.AriaOpsInputToJSON = AriaOpsInputToJSON;
21
+ exports.AriaOpsInputToJSONTyped = AriaOpsInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.AriaOpsInputFeaturesEnum = {
26
+ PerformanceAnalytics: 'performance_analytics',
27
+ HealthScore: 'health_score',
28
+ Alerting: 'alerting',
29
+ LogInsight: 'log_insight',
30
+ ItsmIntegration: 'itsm_integration',
31
+ Rightsizing: 'rightsizing',
32
+ AutoOptimization: 'auto_optimization',
33
+ TrueVisibility: 'true_visibility',
34
+ CapacityPlanning: 'capacity_planning',
35
+ AnomalyDetection: 'anomaly_detection',
36
+ NotAssessed: 'not_assessed',
37
+ NotAvailable: 'not_available',
38
+ NotInUse: 'not_in_use',
39
+ };
40
+ /**
41
+ * Check if a given object implements the AriaOpsInput interface.
42
+ */
43
+ function instanceOfAriaOpsInput(value) {
44
+ return true;
45
+ }
46
+ function AriaOpsInputFromJSON(json) {
47
+ return AriaOpsInputFromJSONTyped(json, false);
48
+ }
49
+ function AriaOpsInputFromJSONTyped(json, ignoreDiscriminator) {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+ 'features': json['features'] == null ? undefined : new Set(json['features']),
55
+ };
56
+ }
57
+ function AriaOpsInputToJSON(json) {
58
+ return AriaOpsInputToJSONTyped(json, false);
59
+ }
60
+ function AriaOpsInputToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'features': value['features'] == null ? undefined : Array.from(value['features']),
66
+ };
67
+ }
@@ -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,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenShift Migration Advisor API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1alpha1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AriaSecureInputFeaturesEnum = void 0;
17
+ exports.instanceOfAriaSecureInput = instanceOfAriaSecureInput;
18
+ exports.AriaSecureInputFromJSON = AriaSecureInputFromJSON;
19
+ exports.AriaSecureInputFromJSONTyped = AriaSecureInputFromJSONTyped;
20
+ exports.AriaSecureInputToJSON = AriaSecureInputToJSON;
21
+ exports.AriaSecureInputToJSONTyped = AriaSecureInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.AriaSecureInputFeaturesEnum = {
26
+ PolicyGovernance: 'policy_governance',
27
+ ComplianceMonitoring: 'compliance_monitoring',
28
+ NotAssessed: 'not_assessed',
29
+ NotAvailable: 'not_available',
30
+ NotInUse: 'not_in_use',
31
+ };
32
+ /**
33
+ * Check if a given object implements the AriaSecureInput interface.
34
+ */
35
+ function instanceOfAriaSecureInput(value) {
36
+ return true;
37
+ }
38
+ function AriaSecureInputFromJSON(json) {
39
+ return AriaSecureInputFromJSONTyped(json, false);
40
+ }
41
+ function AriaSecureInputFromJSONTyped(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
+ function AriaSecureInputToJSON(json) {
50
+ return AriaSecureInputToJSONTyped(json, false);
51
+ }
52
+ function AriaSecureInputToJSONTyped(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
+ }
@@ -19,6 +19,7 @@ exports.AssessmentFromJSON = AssessmentFromJSON;
19
19
  exports.AssessmentFromJSONTyped = AssessmentFromJSONTyped;
20
20
  exports.AssessmentToJSON = AssessmentToJSON;
21
21
  exports.AssessmentToJSONTyped = AssessmentToJSONTyped;
22
+ const runtime_js_1 = require("../runtime.js");
22
23
  const Snapshot_js_1 = require("./Snapshot.js");
23
24
  const AssessmentSharing_js_1 = require("./AssessmentSharing.js");
24
25
  /**
@@ -27,7 +28,7 @@ const AssessmentSharing_js_1 = require("./AssessmentSharing.js");
27
28
  exports.AssessmentSourceTypeEnum = {
28
29
  Inventory: 'inventory',
29
30
  Rvtools: 'rvtools',
30
- Source: 'source'
31
+ Source: 'source',
31
32
  };
32
33
  /**
33
34
  * @export
@@ -35,7 +36,7 @@ exports.AssessmentSourceTypeEnum = {
35
36
  exports.AssessmentPermissionsEnum = {
36
37
  Read: 'read',
37
38
  Share: 'share',
38
- Delete: 'delete'
39
+ Delete: 'delete',
39
40
  };
40
41
  /**
41
42
  * Check if a given object implements the Assessment interface.
@@ -67,7 +68,7 @@ function AssessmentFromJSONTyped(json, ignoreDiscriminator) {
67
68
  'ownerLastName': json['ownerLastName'] == null ? undefined : json['ownerLastName'],
68
69
  'sourceType': json['sourceType'],
69
70
  'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
70
- 'createdAt': (new Date(json['createdAt'])),
71
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : (0, runtime_js_1.parseDateTime)(json['createdAt'])),
71
72
  'snapshots': (json['snapshots'].map(Snapshot_js_1.SnapshotFromJSON)),
72
73
  'permissions': json['permissions'] == null ? undefined : json['permissions'],
73
74
  'sharing': json['sharing'] == null ? undefined : (0, AssessmentSharing_js_1.AssessmentSharingFromJSON)(json['sharing']),
@@ -87,7 +88,7 @@ function AssessmentToJSONTyped(value, ignoreDiscriminator = false) {
87
88
  'ownerLastName': value['ownerLastName'],
88
89
  'sourceType': value['sourceType'],
89
90
  'sourceId': value['sourceId'],
90
- 'createdAt': value['createdAt'].toISOString(),
91
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
91
92
  'snapshots': (value['snapshots'].map(Snapshot_js_1.SnapshotToJSON)),
92
93
  'permissions': value['permissions'],
93
94
  'sharing': (0, AssessmentSharing_js_1.AssessmentSharingToJSON)(value['sharing']),
@@ -18,6 +18,7 @@ exports.AssessmentSubsetInventoryFromJSON = AssessmentSubsetInventoryFromJSON;
18
18
  exports.AssessmentSubsetInventoryFromJSONTyped = AssessmentSubsetInventoryFromJSONTyped;
19
19
  exports.AssessmentSubsetInventoryToJSON = AssessmentSubsetInventoryToJSON;
20
20
  exports.AssessmentSubsetInventoryToJSONTyped = AssessmentSubsetInventoryToJSONTyped;
21
+ const runtime_js_1 = require("../runtime.js");
21
22
  const Inventory_js_1 = require("./Inventory.js");
22
23
  /**
23
24
  * Check if a given object implements the AssessmentSubsetInventory interface.
@@ -50,7 +51,7 @@ function AssessmentSubsetInventoryFromJSONTyped(json, ignoreDiscriminator) {
50
51
  'vcenterId': json['vcenterId'],
51
52
  'vmsCount': json['vmsCount'],
52
53
  'inventory': (0, Inventory_js_1.InventoryFromJSON)(json['inventory']),
53
- 'createdAt': (new Date(json['createdAt'])),
54
+ 'createdAt': (json['createdAt'] == null ? json['createdAt'] : (0, runtime_js_1.parseDateTime)(json['createdAt'])),
54
55
  };
55
56
  }
56
57
  function AssessmentSubsetInventoryToJSON(json) {
@@ -66,6 +67,6 @@ function AssessmentSubsetInventoryToJSONTyped(value, ignoreDiscriminator = false
66
67
  'vcenterId': value['vcenterId'],
67
68
  'vmsCount': value['vmsCount'],
68
69
  'inventory': (0, Inventory_js_1.InventoryToJSON)(value['inventory']),
69
- 'createdAt': value['createdAt'].toISOString(),
70
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : (0, runtime_js_1.serializeDateTime)(value['createdAt']),
70
71
  };
71
72
  }
@@ -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
@@ -26,7 +26,7 @@ exports.ClusterFeaturesDrsModeEnum = {
26
26
  FullyAutomated: 'Fully Automated',
27
27
  PartiallyAutomated: 'Partially Automated',
28
28
  Manual: 'Manual',
29
- None: 'None'
29
+ None: 'None',
30
30
  };
31
31
  /**
32
32
  * Check if a given object implements the ClusterFeatures interface.
@@ -45,6 +45,7 @@ function ClusterFeaturesFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'drsEnabled': json['drsEnabled'] == null ? undefined : json['drsEnabled'],
46
46
  'drsMode': json['drsMode'] == null ? undefined : json['drsMode'],
47
47
  'storageDrsEnabled': json['storageDrsEnabled'] == null ? undefined : json['storageDrsEnabled'],
48
+ 'haEnabled': json['haEnabled'] == null ? undefined : json['haEnabled'],
48
49
  };
49
50
  }
50
51
  function ClusterFeaturesToJSON(json) {
@@ -58,5 +59,6 @@ function ClusterFeaturesToJSONTyped(value, ignoreDiscriminator = false) {
58
59
  'drsEnabled': value['drsEnabled'],
59
60
  'drsMode': value['drsMode'],
60
61
  'storageDrsEnabled': value['storageDrsEnabled'],
62
+ 'haEnabled': value['haEnabled'],
61
63
  };
62
64
  }
@@ -26,7 +26,7 @@ const MemoryOverCommitRatio_js_1 = require("./MemoryOverCommitRatio.js");
26
26
  */
27
27
  exports.ClusterRequirementsRequestControlPlaneNodeCountEnum = {
28
28
  NUMBER_1: 1,
29
- NUMBER_3: 3
29
+ NUMBER_3: 3,
30
30
  };
31
31
  /**
32
32
  * Check if a given object implements the ClusterRequirementsRequest interface.
@@ -27,7 +27,7 @@ exports.ClusterRequirementsStoredInputCpuOverCommitRatioEnum = {
27
27
  _12: '1:2',
28
28
  _14: '1:4',
29
29
  _16: '1:6',
30
- _18: '1:8'
30
+ _18: '1:8',
31
31
  };
32
32
  /**
33
33
  * @export
@@ -35,14 +35,14 @@ exports.ClusterRequirementsStoredInputCpuOverCommitRatioEnum = {
35
35
  exports.ClusterRequirementsStoredInputMemoryOverCommitRatioEnum = {
36
36
  _11: '1:1',
37
37
  _12: '1:2',
38
- _14: '1:4'
38
+ _14: '1:4',
39
39
  };
40
40
  /**
41
41
  * @export
42
42
  */
43
43
  exports.ClusterRequirementsStoredInputControlPlaneNodeCountEnum = {
44
44
  NUMBER_1: 1,
45
- NUMBER_3: 3
45
+ NUMBER_3: 3,
46
46
  };
47
47
  /**
48
48
  * Check if a given object implements the ClusterRequirementsStoredInput interface.
@@ -28,7 +28,7 @@ exports.CpuOverCommitRatio = {
28
28
  CpuOneToTwo: '1:2',
29
29
  CpuOneToFour: '1:4',
30
30
  CpuOneToSix: '1:6',
31
- CpuOneToEight: '1:8'
31
+ CpuOneToEight: '1:8',
32
32
  };
33
33
  function instanceOfCpuOverCommitRatio(value) {
34
34
  for (const key in exports.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;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenShift Migration Advisor API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1alpha1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCustomerDetailsInput = instanceOfCustomerDetailsInput;
17
+ exports.CustomerDetailsInputFromJSON = CustomerDetailsInputFromJSON;
18
+ exports.CustomerDetailsInputFromJSONTyped = CustomerDetailsInputFromJSONTyped;
19
+ exports.CustomerDetailsInputToJSON = CustomerDetailsInputToJSON;
20
+ exports.CustomerDetailsInputToJSONTyped = CustomerDetailsInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CustomerDetailsInput interface.
23
+ */
24
+ function instanceOfCustomerDetailsInput(value) {
25
+ return true;
26
+ }
27
+ function CustomerDetailsInputFromJSON(json) {
28
+ return CustomerDetailsInputFromJSONTyped(json, false);
29
+ }
30
+ function CustomerDetailsInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'physicalLocationsCount': json['physicalLocationsCount'] == null ? undefined : json['physicalLocationsCount'],
36
+ 'targetHardware': json['targetHardware'] == null ? undefined : json['targetHardware'],
37
+ };
38
+ }
39
+ function CustomerDetailsInputToJSON(json) {
40
+ return CustomerDetailsInputToJSONTyped(json, false);
41
+ }
42
+ function CustomerDetailsInputToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'physicalLocationsCount': value['physicalLocationsCount'],
48
+ 'targetHardware': value['targetHardware'],
49
+ };
50
+ }
@@ -0,0 +1,40 @@
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 DeployedEnvironmentInput
16
+ */
17
+ export interface DeployedEnvironmentInput {
18
+ /**
19
+ *
20
+ */
21
+ environment?: DeployedEnvironmentInputEnvironmentEnum;
22
+ }
23
+ /**
24
+ * @export
25
+ */
26
+ export declare const DeployedEnvironmentInputEnvironmentEnum: {
27
+ readonly OnPremises: "on_premises";
28
+ readonly OnCloud: "on_cloud";
29
+ readonly ManagedServices: "managed_services";
30
+ readonly NotAssessed: "not_assessed";
31
+ };
32
+ export type DeployedEnvironmentInputEnvironmentEnum = typeof DeployedEnvironmentInputEnvironmentEnum[keyof typeof DeployedEnvironmentInputEnvironmentEnum];
33
+ /**
34
+ * Check if a given object implements the DeployedEnvironmentInput interface.
35
+ */
36
+ export declare function instanceOfDeployedEnvironmentInput(value: object): value is DeployedEnvironmentInput;
37
+ export declare function DeployedEnvironmentInputFromJSON(json: any): DeployedEnvironmentInput;
38
+ export declare function DeployedEnvironmentInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeployedEnvironmentInput;
39
+ export declare function DeployedEnvironmentInputToJSON(json: any): DeployedEnvironmentInput;
40
+ export declare function DeployedEnvironmentInputToJSONTyped(value?: DeployedEnvironmentInput | null, ignoreDiscriminator?: boolean): any;