@openshift-migration-advisor/planner-sdk 0.20.3 → 0.21.0-9bf9457f0ee9

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