@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.0

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 (70) hide show
  1. package/.openapi-generator/FILES +6 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +19 -17
  4. package/dist/apis/DefaultApi.d.ts +141 -133
  5. package/dist/apis/DefaultApi.js +168 -163
  6. package/dist/esm/apis/DefaultApi.d.ts +141 -133
  7. package/dist/esm/apis/DefaultApi.js +169 -164
  8. package/dist/esm/models/InspectorStatus.d.ts +20 -7
  9. package/dist/esm/models/InspectorStatus.js +12 -7
  10. package/dist/esm/models/StartInspectionRequest.d.ts +32 -0
  11. package/dist/esm/models/StartInspectionRequest.js +43 -0
  12. package/dist/esm/models/VMs.d.ts +18 -0
  13. package/dist/esm/models/VMs.js +4 -0
  14. package/dist/esm/models/VirtualMachine.d.ts +7 -1
  15. package/dist/esm/models/VirtualMachine.js +4 -4
  16. package/dist/esm/models/VirtualMachineDetail.d.ts +3 -3
  17. package/dist/esm/models/VirtualMachineDetail.js +3 -3
  18. package/dist/esm/models/VmInspectionConcern.d.ts +44 -0
  19. package/dist/esm/models/VmInspectionConcern.js +51 -0
  20. package/dist/esm/models/VmInspectionResults.d.ts +33 -0
  21. package/dist/esm/models/VmInspectionResults.js +42 -0
  22. package/dist/esm/models/VmInspectionStatus.d.ts +0 -1
  23. package/dist/esm/models/VmInspectionStatus.js +1 -2
  24. package/dist/esm/models/index.d.ts +3 -1
  25. package/dist/esm/models/index.js +3 -1
  26. package/dist/esm/runtime.js +1 -1
  27. package/dist/models/InspectorStatus.d.ts +20 -7
  28. package/dist/models/InspectorStatus.js +12 -7
  29. package/dist/models/StartInspectionRequest.d.ts +32 -0
  30. package/dist/models/StartInspectionRequest.js +50 -0
  31. package/dist/models/VMs.d.ts +18 -0
  32. package/dist/models/VMs.js +4 -0
  33. package/dist/models/VirtualMachine.d.ts +7 -1
  34. package/dist/models/VirtualMachine.js +4 -4
  35. package/dist/models/VirtualMachineDetail.d.ts +3 -3
  36. package/dist/models/VirtualMachineDetail.js +3 -3
  37. package/dist/models/VmInspectionConcern.d.ts +44 -0
  38. package/dist/models/VmInspectionConcern.js +58 -0
  39. package/dist/models/VmInspectionResults.d.ts +33 -0
  40. package/dist/models/VmInspectionResults.js +49 -0
  41. package/dist/models/VmInspectionStatus.d.ts +0 -1
  42. package/dist/models/VmInspectionStatus.js +1 -2
  43. package/dist/models/index.d.ts +3 -1
  44. package/dist/models/index.js +3 -1
  45. package/dist/runtime.js +1 -1
  46. package/docs/DefaultApi.md +191 -179
  47. package/docs/InspectorStatus.md +4 -0
  48. package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +5 -6
  49. package/docs/VMs.md +4 -0
  50. package/docs/VirtualMachine.md +4 -2
  51. package/docs/VirtualMachineDetail.md +1 -1
  52. package/docs/VmInspectionConcern.md +39 -0
  53. package/docs/VmInspectionResults.md +35 -0
  54. package/package.json +1 -1
  55. package/src/apis/DefaultApi.ts +302 -283
  56. package/src/models/InspectorStatus.ts +37 -7
  57. package/src/models/StartInspectionRequest.ts +66 -0
  58. package/src/models/VMs.ts +18 -0
  59. package/src/models/VirtualMachine.ts +11 -4
  60. package/src/models/VirtualMachineDetail.ts +11 -11
  61. package/src/models/VmInspectionConcern.ts +84 -0
  62. package/src/models/VmInspectionResults.ts +73 -0
  63. package/src/models/VmInspectionStatus.ts +1 -2
  64. package/src/models/index.ts +3 -1
  65. package/src/runtime.ts +1 -1
  66. package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
  67. package/dist/esm/models/InspectorStartRequest.js +0 -48
  68. package/dist/models/InspectorStartRequest.d.ts +0 -39
  69. package/dist/models/InspectorStartRequest.js +0 -55
  70. package/src/models/InspectorStartRequest.ts +0 -83
@@ -7,6 +7,8 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `state` | string
10
+ `credentials` | [VcenterCredentials](VcenterCredentials.md)
11
+ `vddk` | [VddkProperties](VddkProperties.md)
10
12
  `error` | string
11
13
 
12
14
  ## Example
@@ -17,6 +19,8 @@ import type { InspectorStatus } from '@openshift-migration-advisor/agent-sdk'
17
19
  // TODO: Update the object below with actual values
18
20
  const example = {
19
21
  "state": null,
22
+ "credentials": null,
23
+ "vddk": null,
20
24
  "error": null,
21
25
  } satisfies InspectorStatus
22
26
 
@@ -1,24 +1,23 @@
1
1
 
2
- # InspectorStartRequest
2
+ # StartInspectionRequest
3
3
 
4
+ Array of VirtualMachine id
4
5
 
5
6
  ## Properties
6
7
 
7
8
  Name | Type
8
9
  ------------ | -------------
9
- `vcenterCredentials` | [VcenterCredentials](VcenterCredentials.md)
10
10
  `vmIds` | Array<string>
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import type { InspectorStartRequest } from '@openshift-migration-advisor/agent-sdk'
15
+ import type { StartInspectionRequest } from '@openshift-migration-advisor/agent-sdk'
16
16
 
17
17
  // TODO: Update the object below with actual values
18
18
  const example = {
19
- "vcenterCredentials": null,
20
19
  "vmIds": null,
21
- } satisfies InspectorStartRequest
20
+ } satisfies StartInspectionRequest
22
21
 
23
22
  console.log(example)
24
23
 
@@ -27,7 +26,7 @@ const exampleJSON: string = JSON.stringify(example)
27
26
  console.log(exampleJSON)
28
27
 
29
28
  // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as InspectorStartRequest
29
+ const exampleParsed = JSON.parse(exampleJSON) as StartInspectionRequest
31
30
  console.log(exampleParsed)
32
31
  ```
33
32
 
package/docs/VMs.md CHANGED
@@ -12,11 +12,13 @@ Name | Type
12
12
  `totalWithSharedDisks` | number
13
13
  `cpuCores` | [VMResourceBreakdown](VMResourceBreakdown.md)
14
14
  `diskSizeTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
15
+ `diskComplexityTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
15
16
  `diskTypes` | [{ [key: string]: DiskTypeSummary; }](DiskTypeSummary.md)
16
17
  `distributionByCpuTier` | { [key: string]: number; }
17
18
  `distributionByMemoryTier` | { [key: string]: number; }
18
19
  `distributionByNicCount` | { [key: string]: number; }
19
20
  `distributionByComplexity` | { [key: string]: number; }
21
+ `complexityDistribution` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
20
22
  `ramGB` | [VMResourceBreakdown](VMResourceBreakdown.md)
21
23
  `diskGB` | [VMResourceBreakdown](VMResourceBreakdown.md)
22
24
  `diskCount` | [VMResourceBreakdown](VMResourceBreakdown.md)
@@ -40,11 +42,13 @@ const example = {
40
42
  "totalWithSharedDisks": null,
41
43
  "cpuCores": null,
42
44
  "diskSizeTier": null,
45
+ "diskComplexityTier": null,
43
46
  "diskTypes": null,
44
47
  "distributionByCpuTier": null,
45
48
  "distributionByMemoryTier": null,
46
49
  "distributionByNicCount": null,
47
50
  "distributionByComplexity": null,
51
+ "complexityDistribution": null,
48
52
  "ramGB": null,
49
53
  "diskGB": null,
50
54
  "diskCount": null,
@@ -16,7 +16,8 @@ Name | Type
16
16
  `issueCount` | number
17
17
  `migratable` | boolean
18
18
  `template` | boolean
19
- `inspection` | [VmInspectionStatus](VmInspectionStatus.md)
19
+ `inspectionStatus` | [VmInspectionStatus](VmInspectionStatus.md)
20
+ `inspectionConcernCount` | number
20
21
  `tags` | Array<string>
21
22
 
22
23
  ## Example
@@ -36,7 +37,8 @@ const example = {
36
37
  "issueCount": null,
37
38
  "migratable": null,
38
39
  "template": null,
39
- "inspection": null,
40
+ "inspectionStatus": null,
41
+ "inspectionConcernCount": null,
40
42
  "tags": null,
41
43
  } satisfies VirtualMachine
42
44
 
@@ -36,7 +36,7 @@ Name | Type
36
36
  `devices` | [Array<VMDevice>](VMDevice.md)
37
37
  `guestNetworks` | [Array<GuestNetwork>](GuestNetwork.md)
38
38
  `issues` | [Array<VMIssue>](VMIssue.md)
39
- `inspection` | [VmInspectionStatus](VmInspectionStatus.md)
39
+ `inspection` | [VmInspectionResults](VmInspectionResults.md)
40
40
 
41
41
  ## Example
42
42
 
@@ -0,0 +1,39 @@
1
+
2
+ # VmInspectionConcern
3
+
4
+ Represents the structure of vm-migration-detective library inspection concerns
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `label` | string
11
+ `message` | string
12
+ `category` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { VmInspectionConcern } from '@openshift-migration-advisor/agent-sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "label": null,
22
+ "message": null,
23
+ "category": null,
24
+ } satisfies VmInspectionConcern
25
+
26
+ console.log(example)
27
+
28
+ // Convert the instance to a JSON string
29
+ const exampleJSON: string = JSON.stringify(example)
30
+ console.log(exampleJSON)
31
+
32
+ // Parse the JSON string back to an object
33
+ const exampleParsed = JSON.parse(exampleJSON) as VmInspectionConcern
34
+ console.log(exampleParsed)
35
+ ```
36
+
37
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
38
+
39
+
@@ -0,0 +1,35 @@
1
+
2
+ # VmInspectionResults
3
+
4
+ VirtualMachine Inspection results
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `concerns` | [Array<VmInspectionConcern>](VmInspectionConcern.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { VmInspectionResults } from '@openshift-migration-advisor/agent-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "concerns": null,
20
+ } satisfies VmInspectionResults
21
+
22
+ console.log(example)
23
+
24
+ // Convert the instance to a JSON string
25
+ const exampleJSON: string = JSON.stringify(example)
26
+ console.log(exampleJSON)
27
+
28
+ // Parse the JSON string back to an object
29
+ const exampleParsed = JSON.parse(exampleJSON) as VmInspectionResults
30
+ console.log(exampleParsed)
31
+ ```
32
+
33
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
34
+
35
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/agent-sdk",
3
- "version": "0.8.0",
3
+ "version": "0.12.0",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/agent-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {