@openshift-migration-advisor/planner-sdk 0.27.0 → 0.28.0-2a5826fe0340

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 (94) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +17 -3
  4. package/dist/apis/AssessmentApi.d.ts +205 -0
  5. package/dist/apis/AssessmentApi.js +210 -0
  6. package/dist/apis/JobApi.d.ts +86 -0
  7. package/dist/apis/JobApi.js +124 -0
  8. package/dist/esm/apis/AssessmentApi.d.ts +205 -0
  9. package/dist/esm/apis/AssessmentApi.js +210 -0
  10. package/dist/esm/apis/JobApi.d.ts +86 -0
  11. package/dist/esm/apis/JobApi.js +124 -0
  12. package/dist/esm/models/AssessmentV2.d.ts +36 -0
  13. package/dist/esm/models/AssessmentV2.js +49 -0
  14. package/dist/esm/models/AssessmentV2Summary.d.ts +97 -0
  15. package/dist/esm/models/AssessmentV2Summary.js +99 -0
  16. package/dist/esm/models/AssessmentVCenterV2.d.ts +36 -0
  17. package/dist/esm/models/AssessmentVCenterV2.js +49 -0
  18. package/dist/esm/models/Datastore.d.ts +18 -2
  19. package/dist/esm/models/Datastore.js +8 -0
  20. package/dist/esm/models/Host.d.ts +10 -0
  21. package/dist/esm/models/Host.js +6 -0
  22. package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
  23. package/dist/esm/models/HostStorageAdapter.js +55 -0
  24. package/dist/esm/models/HostStorageLun.d.ts +50 -0
  25. package/dist/esm/models/HostStorageLun.js +51 -0
  26. package/dist/esm/models/Inventory.d.ts +5 -1
  27. package/dist/esm/models/Inventory.js +2 -0
  28. package/dist/esm/models/InventoryV2.d.ts +47 -0
  29. package/dist/esm/models/InventoryV2.js +55 -0
  30. package/dist/esm/models/OsInfo.d.ts +12 -0
  31. package/dist/esm/models/OsInfo.js +9 -0
  32. package/dist/esm/models/SubResource.d.ts +30 -0
  33. package/dist/esm/models/SubResource.js +43 -0
  34. package/dist/esm/models/VsphereCoreInput.d.ts +8 -0
  35. package/dist/esm/models/VsphereCoreInput.js +4 -0
  36. package/dist/esm/models/index.d.ts +7 -0
  37. package/dist/esm/models/index.js +7 -0
  38. package/dist/models/AssessmentV2.d.ts +36 -0
  39. package/dist/models/AssessmentV2.js +56 -0
  40. package/dist/models/AssessmentV2Summary.d.ts +97 -0
  41. package/dist/models/AssessmentV2Summary.js +107 -0
  42. package/dist/models/AssessmentVCenterV2.d.ts +36 -0
  43. package/dist/models/AssessmentVCenterV2.js +56 -0
  44. package/dist/models/Datastore.d.ts +18 -2
  45. package/dist/models/Datastore.js +8 -0
  46. package/dist/models/Host.d.ts +10 -0
  47. package/dist/models/Host.js +6 -0
  48. package/dist/models/HostStorageAdapter.d.ts +58 -0
  49. package/dist/models/HostStorageAdapter.js +62 -0
  50. package/dist/models/HostStorageLun.d.ts +50 -0
  51. package/dist/models/HostStorageLun.js +58 -0
  52. package/dist/models/Inventory.d.ts +5 -1
  53. package/dist/models/Inventory.js +2 -0
  54. package/dist/models/InventoryV2.d.ts +47 -0
  55. package/dist/models/InventoryV2.js +62 -0
  56. package/dist/models/OsInfo.d.ts +12 -0
  57. package/dist/models/OsInfo.js +10 -1
  58. package/dist/models/SubResource.d.ts +30 -0
  59. package/dist/models/SubResource.js +50 -0
  60. package/dist/models/VsphereCoreInput.d.ts +8 -0
  61. package/dist/models/VsphereCoreInput.js +4 -0
  62. package/dist/models/index.d.ts +7 -0
  63. package/dist/models/index.js +7 -0
  64. package/docs/AssessmentApi.md +362 -0
  65. package/docs/AssessmentV2.md +36 -0
  66. package/docs/AssessmentV2Summary.md +58 -0
  67. package/docs/AssessmentVCenterV2.md +36 -0
  68. package/docs/Datastore.md +8 -0
  69. package/docs/Host.md +4 -0
  70. package/docs/HostStorageAdapter.md +49 -0
  71. package/docs/HostStorageLun.md +45 -0
  72. package/docs/Inventory.md +2 -0
  73. package/docs/InventoryV2.md +42 -0
  74. package/docs/JobApi.md +152 -0
  75. package/docs/OsInfo.md +2 -0
  76. package/docs/SubResource.md +34 -0
  77. package/docs/VsphereCoreInput.md +4 -0
  78. package/package.json +1 -1
  79. package/src/apis/AssessmentApi.ts +428 -0
  80. package/src/apis/JobApi.ts +219 -0
  81. package/src/models/AssessmentV2.ts +86 -0
  82. package/src/models/AssessmentV2Summary.ts +173 -0
  83. package/src/models/AssessmentVCenterV2.ts +86 -0
  84. package/src/models/Datastore.ts +26 -2
  85. package/src/models/Host.ts +27 -0
  86. package/src/models/HostStorageAdapter.ts +105 -0
  87. package/src/models/HostStorageLun.ts +93 -0
  88. package/src/models/Inventory.ts +7 -1
  89. package/src/models/InventoryV2.ts +97 -0
  90. package/src/models/OsInfo.ts +15 -0
  91. package/src/models/SubResource.ts +64 -0
  92. package/src/models/VsphereCoreInput.ts +12 -0
  93. package/src/models/index.ts +7 -0
  94. package/src/runtime.ts +8 -8
@@ -27,6 +27,9 @@ __exportStar(require("./AssessmentForm.js"), exports);
27
27
  __exportStar(require("./AssessmentSharing.js"), exports);
28
28
  __exportStar(require("./AssessmentSubsetInventory.js"), exports);
29
29
  __exportStar(require("./AssessmentUpdate.js"), exports);
30
+ __exportStar(require("./AssessmentV2.js"), exports);
31
+ __exportStar(require("./AssessmentV2Summary.js"), exports);
32
+ __exportStar(require("./AssessmentVCenterV2.js"), exports);
30
33
  __exportStar(require("./ClusterFeatures.js"), exports);
31
34
  __exportStar(require("./ClusterRequirementsRequest.js"), exports);
32
35
  __exportStar(require("./ClusterRequirementsResponse.js"), exports);
@@ -51,12 +54,15 @@ __exportStar(require("./GroupCreate.js"), exports);
51
54
  __exportStar(require("./GroupUpdate.js"), exports);
52
55
  __exportStar(require("./Histogram.js"), exports);
53
56
  __exportStar(require("./Host.js"), exports);
57
+ __exportStar(require("./HostStorageAdapter.js"), exports);
58
+ __exportStar(require("./HostStorageLun.js"), exports);
54
59
  __exportStar(require("./Identity.js"), exports);
55
60
  __exportStar(require("./Info.js"), exports);
56
61
  __exportStar(require("./Infra.js"), exports);
57
62
  __exportStar(require("./Inventory.js"), exports);
58
63
  __exportStar(require("./InventoryData.js"), exports);
59
64
  __exportStar(require("./InventoryTotals.js"), exports);
65
+ __exportStar(require("./InventoryV2.js"), exports);
60
66
  __exportStar(require("./Ipv4Config.js"), exports);
61
67
  __exportStar(require("./IssuesBreakdown.js"), exports);
62
68
  __exportStar(require("./Job.js"), exports);
@@ -99,6 +105,7 @@ __exportStar(require("./StandaloneClusterRequirementsRequest.js"), exports);
99
105
  __exportStar(require("./StandaloneClusterRequirementsResponse.js"), exports);
100
106
  __exportStar(require("./Status.js"), exports);
101
107
  __exportStar(require("./StorageIoConfiguration.js"), exports);
108
+ __exportStar(require("./SubResource.js"), exports);
102
109
  __exportStar(require("./UpdateInventory.js"), exports);
103
110
  __exportStar(require("./VCenter.js"), exports);
104
111
  __exportStar(require("./VMResourceBreakdown.js"), exports);
@@ -10,10 +10,15 @@ All URIs are relative to *https://raw.githubusercontent.com*
10
10
  | [**calculateMigrationEstimationByComplexity**](AssessmentApi.md#calculatemigrationestimationbycomplexity) | **POST** /api/v1/assessments/{id}/migration-estimation/by-complexity | |
11
11
  | [**createAssessment**](AssessmentApi.md#createassessment) | **POST** /api/v1/assessments | |
12
12
  | [**deleteAssessment**](AssessmentApi.md#deleteassessment) | **DELETE** /api/v1/assessments/{id} | |
13
+ | [**deleteVCenter**](AssessmentApi.md#deletevcenter) | **DELETE** /api/v2/assessments/{id}/vcenters/{vid} | |
13
14
  | [**getAssessment**](AssessmentApi.md#getassessment) | **GET** /api/v1/assessments/{id} | |
14
15
  | [**getAssessmentClusterRequirementsStoredInput**](AssessmentApi.md#getassessmentclusterrequirementsstoredinput) | **GET** /api/v1/assessments/{id}/cluster-requirements/stored-input | |
15
16
  | [**getAssessmentEnhancementData**](AssessmentApi.md#getassessmentenhancementdata) | **GET** /api/v1/assessments/{id}/enhancement-data | |
17
+ | [**getAssessmentV2**](AssessmentApi.md#getassessmentv2) | **GET** /api/v2/assessments/{id} | |
18
+ | [**getVcenter**](AssessmentApi.md#getvcenter) | **GET** /api/v2/assessments/{id}/vcenters/{vid} | |
19
+ | [**getVcenterCluster**](AssessmentApi.md#getvcentercluster) | **GET** /api/v2/assessments/{id}/vcenters/{vid}/clusters/{cid} | |
16
20
  | [**listAssessments**](AssessmentApi.md#listassessments) | **GET** /api/v1/assessments | |
21
+ | [**listAssessmentsV2**](AssessmentApi.md#listassessmentsv2) | **GET** /api/v2/assessments | |
17
22
  | [**saveAssessmentEnhancementData**](AssessmentApi.md#saveassessmentenhancementdata) | **POST** /api/v1/assessments/{id}/enhancement-data | |
18
23
  | [**shareAssessment**](AssessmentApi.md#shareassessment) | **POST** /api/v1/assessments/{id}/share | |
19
24
  | [**unshareAssessment**](AssessmentApi.md#unshareassessment) | **DELETE** /api/v1/assessments/{id}/share | |
@@ -464,6 +469,80 @@ No authorization required
464
469
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
465
470
 
466
471
 
472
+ ## deleteVCenter
473
+
474
+ > deleteVCenter(id, vid)
475
+
476
+
477
+
478
+ Delete the specified vcenter inventory
479
+
480
+ ### Example
481
+
482
+ ```ts
483
+ import {
484
+ Configuration,
485
+ AssessmentApi,
486
+ } from '@openshift-migration-advisor/planner-sdk';
487
+ import type { DeleteVCenterRequest } from '@openshift-migration-advisor/planner-sdk';
488
+
489
+ async function example() {
490
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
491
+ const api = new AssessmentApi();
492
+
493
+ const body = {
494
+ // string | ID of the assessment
495
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
496
+ // string | ID of the vcenter
497
+ vid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
498
+ } satisfies DeleteVCenterRequest;
499
+
500
+ try {
501
+ const data = await api.deleteVCenter(body);
502
+ console.log(data);
503
+ } catch (error) {
504
+ console.error(error);
505
+ }
506
+ }
507
+
508
+ // Run the test
509
+ example().catch(console.error);
510
+ ```
511
+
512
+ ### Parameters
513
+
514
+
515
+ | Name | Type | Description | Notes |
516
+ |------------- | ------------- | ------------- | -------------|
517
+ | **id** | `string` | ID of the assessment | [Defaults to `undefined`] |
518
+ | **vid** | `string` | ID of the vcenter | [Defaults to `undefined`] |
519
+
520
+ ### Return type
521
+
522
+ `void` (Empty response body)
523
+
524
+ ### Authorization
525
+
526
+ No authorization required
527
+
528
+ ### HTTP request headers
529
+
530
+ - **Content-Type**: Not defined
531
+ - **Accept**: `application/json`
532
+
533
+
534
+ ### HTTP response details
535
+ | Status code | Description | Response headers |
536
+ |-------------|-------------|------------------|
537
+ | **204** | OK | - |
538
+ | **401** | Unauthorized | - |
539
+ | **403** | Forbidden | - |
540
+ | **404** | NotFound | - |
541
+ | **500** | Internal error | - |
542
+
543
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
544
+
545
+
467
546
  ## getAssessment
468
547
 
469
548
  > Assessment getAssessment(id)
@@ -682,6 +761,228 @@ No authorization required
682
761
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
683
762
 
684
763
 
764
+ ## getAssessmentV2
765
+
766
+ > AssessmentV2 getAssessmentV2(id)
767
+
768
+
769
+
770
+ Get the specified assessment inventory
771
+
772
+ ### Example
773
+
774
+ ```ts
775
+ import {
776
+ Configuration,
777
+ AssessmentApi,
778
+ } from '@openshift-migration-advisor/planner-sdk';
779
+ import type { GetAssessmentV2Request } from '@openshift-migration-advisor/planner-sdk';
780
+
781
+ async function example() {
782
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
783
+ const api = new AssessmentApi();
784
+
785
+ const body = {
786
+ // string | ID of the assessment
787
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
788
+ } satisfies GetAssessmentV2Request;
789
+
790
+ try {
791
+ const data = await api.getAssessmentV2(body);
792
+ console.log(data);
793
+ } catch (error) {
794
+ console.error(error);
795
+ }
796
+ }
797
+
798
+ // Run the test
799
+ example().catch(console.error);
800
+ ```
801
+
802
+ ### Parameters
803
+
804
+
805
+ | Name | Type | Description | Notes |
806
+ |------------- | ------------- | ------------- | -------------|
807
+ | **id** | `string` | ID of the assessment | [Defaults to `undefined`] |
808
+
809
+ ### Return type
810
+
811
+ [**AssessmentV2**](AssessmentV2.md)
812
+
813
+ ### Authorization
814
+
815
+ No authorization required
816
+
817
+ ### HTTP request headers
818
+
819
+ - **Content-Type**: Not defined
820
+ - **Accept**: `application/json`
821
+
822
+
823
+ ### HTTP response details
824
+ | Status code | Description | Response headers |
825
+ |-------------|-------------|------------------|
826
+ | **200** | OK | - |
827
+ | **401** | Unauthorized | - |
828
+ | **403** | Forbidden | - |
829
+ | **404** | NotFound | - |
830
+ | **500** | Internal error | - |
831
+
832
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
833
+
834
+
835
+ ## getVcenter
836
+
837
+ > AssessmentVCenterV2 getVcenter(id, vid)
838
+
839
+
840
+
841
+ Get the specified vcenter assessment inventory
842
+
843
+ ### Example
844
+
845
+ ```ts
846
+ import {
847
+ Configuration,
848
+ AssessmentApi,
849
+ } from '@openshift-migration-advisor/planner-sdk';
850
+ import type { GetVcenterRequest } from '@openshift-migration-advisor/planner-sdk';
851
+
852
+ async function example() {
853
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
854
+ const api = new AssessmentApi();
855
+
856
+ const body = {
857
+ // string | ID of the assessment
858
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
859
+ // string | ID of the vcenter
860
+ vid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
861
+ } satisfies GetVcenterRequest;
862
+
863
+ try {
864
+ const data = await api.getVcenter(body);
865
+ console.log(data);
866
+ } catch (error) {
867
+ console.error(error);
868
+ }
869
+ }
870
+
871
+ // Run the test
872
+ example().catch(console.error);
873
+ ```
874
+
875
+ ### Parameters
876
+
877
+
878
+ | Name | Type | Description | Notes |
879
+ |------------- | ------------- | ------------- | -------------|
880
+ | **id** | `string` | ID of the assessment | [Defaults to `undefined`] |
881
+ | **vid** | `string` | ID of the vcenter | [Defaults to `undefined`] |
882
+
883
+ ### Return type
884
+
885
+ [**AssessmentVCenterV2**](AssessmentVCenterV2.md)
886
+
887
+ ### Authorization
888
+
889
+ No authorization required
890
+
891
+ ### HTTP request headers
892
+
893
+ - **Content-Type**: Not defined
894
+ - **Accept**: `application/json`
895
+
896
+
897
+ ### HTTP response details
898
+ | Status code | Description | Response headers |
899
+ |-------------|-------------|------------------|
900
+ | **200** | OK | - |
901
+ | **401** | Unauthorized | - |
902
+ | **403** | Forbidden | - |
903
+ | **404** | NotFound | - |
904
+ | **500** | Internal error | - |
905
+
906
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
907
+
908
+
909
+ ## getVcenterCluster
910
+
911
+ > InventoryData getVcenterCluster(id, vid, cid)
912
+
913
+
914
+
915
+ Get the specified cluster assessment inventory
916
+
917
+ ### Example
918
+
919
+ ```ts
920
+ import {
921
+ Configuration,
922
+ AssessmentApi,
923
+ } from '@openshift-migration-advisor/planner-sdk';
924
+ import type { GetVcenterClusterRequest } from '@openshift-migration-advisor/planner-sdk';
925
+
926
+ async function example() {
927
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
928
+ const api = new AssessmentApi();
929
+
930
+ const body = {
931
+ // string | ID of the assessment
932
+ id: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
933
+ // string | ID of the vcenter
934
+ vid: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
935
+ // string | ID of the cluster
936
+ cid: cid_example,
937
+ } satisfies GetVcenterClusterRequest;
938
+
939
+ try {
940
+ const data = await api.getVcenterCluster(body);
941
+ console.log(data);
942
+ } catch (error) {
943
+ console.error(error);
944
+ }
945
+ }
946
+
947
+ // Run the test
948
+ example().catch(console.error);
949
+ ```
950
+
951
+ ### Parameters
952
+
953
+
954
+ | Name | Type | Description | Notes |
955
+ |------------- | ------------- | ------------- | -------------|
956
+ | **id** | `string` | ID of the assessment | [Defaults to `undefined`] |
957
+ | **vid** | `string` | ID of the vcenter | [Defaults to `undefined`] |
958
+ | **cid** | `string` | ID of the cluster | [Defaults to `undefined`] |
959
+
960
+ ### Return type
961
+
962
+ [**InventoryData**](InventoryData.md)
963
+
964
+ ### Authorization
965
+
966
+ No authorization required
967
+
968
+ ### HTTP request headers
969
+
970
+ - **Content-Type**: Not defined
971
+ - **Accept**: `application/json`
972
+
973
+
974
+ ### HTTP response details
975
+ | Status code | Description | Response headers |
976
+ |-------------|-------------|------------------|
977
+ | **200** | OK | - |
978
+ | **401** | Unauthorized | - |
979
+ | **403** | Forbidden | - |
980
+ | **404** | NotFound | - |
981
+ | **500** | Internal error | - |
982
+
983
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
984
+
985
+
685
986
  ## listAssessments
686
987
 
687
988
  > Array<Assessment> listAssessments()
@@ -743,6 +1044,67 @@ No authorization required
743
1044
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
744
1045
 
745
1046
 
1047
+ ## listAssessmentsV2
1048
+
1049
+ > Array<AssessmentV2Summary> listAssessmentsV2()
1050
+
1051
+
1052
+
1053
+ List assessments
1054
+
1055
+ ### Example
1056
+
1057
+ ```ts
1058
+ import {
1059
+ Configuration,
1060
+ AssessmentApi,
1061
+ } from '@openshift-migration-advisor/planner-sdk';
1062
+ import type { ListAssessmentsV2Request } from '@openshift-migration-advisor/planner-sdk';
1063
+
1064
+ async function example() {
1065
+ console.log("🚀 Testing @openshift-migration-advisor/planner-sdk SDK...");
1066
+ const api = new AssessmentApi();
1067
+
1068
+ try {
1069
+ const data = await api.listAssessmentsV2();
1070
+ console.log(data);
1071
+ } catch (error) {
1072
+ console.error(error);
1073
+ }
1074
+ }
1075
+
1076
+ // Run the test
1077
+ example().catch(console.error);
1078
+ ```
1079
+
1080
+ ### Parameters
1081
+
1082
+ This endpoint does not need any parameter.
1083
+
1084
+ ### Return type
1085
+
1086
+ [**Array<AssessmentV2Summary>**](AssessmentV2Summary.md)
1087
+
1088
+ ### Authorization
1089
+
1090
+ No authorization required
1091
+
1092
+ ### HTTP request headers
1093
+
1094
+ - **Content-Type**: Not defined
1095
+ - **Accept**: `application/json`
1096
+
1097
+
1098
+ ### HTTP response details
1099
+ | Status code | Description | Response headers |
1100
+ |-------------|-------------|------------------|
1101
+ | **200** | OK | - |
1102
+ | **401** | Unauthorized | - |
1103
+ | **500** | Internal error | - |
1104
+
1105
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
1106
+
1107
+
746
1108
  ## saveAssessmentEnhancementData
747
1109
 
748
1110
  > EnhancementData saveAssessmentEnhancementData(id, enhancementData)
@@ -0,0 +1,36 @@
1
+
2
+ # AssessmentV2
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [InventoryV2](InventoryV2.md)
10
+ `vcenters` | [Array<SubResource>](SubResource.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { AssessmentV2 } from '@openshift-migration-advisor/planner-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "vcenters": null,
21
+ } satisfies AssessmentV2
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as AssessmentV2
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,58 @@
1
+
2
+ # AssessmentV2Summary
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `name` | string
11
+ `ownerFirstName` | string
12
+ `ownerLastName` | string
13
+ `sourceType` | string
14
+ `datastoresCount` | number
15
+ `hostsCount` | number
16
+ `vmsCount` | number
17
+ `networksCount` | number
18
+ `sourceId` | string
19
+ `createdAt` | Date
20
+ `permissions` | Array<string>
21
+ `sharing` | [AssessmentSharing](AssessmentSharing.md)
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import type { AssessmentV2Summary } from '@openshift-migration-advisor/planner-sdk'
27
+
28
+ // TODO: Update the object below with actual values
29
+ const example = {
30
+ "id": null,
31
+ "name": null,
32
+ "ownerFirstName": null,
33
+ "ownerLastName": null,
34
+ "sourceType": null,
35
+ "datastoresCount": null,
36
+ "hostsCount": null,
37
+ "vmsCount": null,
38
+ "networksCount": null,
39
+ "sourceId": null,
40
+ "createdAt": null,
41
+ "permissions": null,
42
+ "sharing": null,
43
+ } satisfies AssessmentV2Summary
44
+
45
+ console.log(example)
46
+
47
+ // Convert the instance to a JSON string
48
+ const exampleJSON: string = JSON.stringify(example)
49
+ console.log(exampleJSON)
50
+
51
+ // Parse the JSON string back to an object
52
+ const exampleParsed = JSON.parse(exampleJSON) as AssessmentV2Summary
53
+ console.log(exampleParsed)
54
+ ```
55
+
56
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
57
+
58
+
@@ -0,0 +1,36 @@
1
+
2
+ # AssessmentVCenterV2
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [InventoryV2](InventoryV2.md)
10
+ `clusters` | [Array<SubResource>](SubResource.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { AssessmentVCenterV2 } from '@openshift-migration-advisor/planner-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "clusters": null,
21
+ } satisfies AssessmentVCenterV2
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as AssessmentVCenterV2
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
package/docs/Datastore.md CHANGED
@@ -7,7 +7,11 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `type` | string
10
+ `backingDeviceIds` | Array<string>
11
+ `filesystemType` | string
12
+ `filesystemMajorVersion` | number
10
13
  `storageProtocol` | string
14
+ `vsanSnapshotSupport` | boolean
11
15
  `totalCapacityGB` | number
12
16
  `freeCapacityGB` | number
13
17
  `vendor` | string
@@ -26,7 +30,11 @@ import type { Datastore } from '@openshift-migration-advisor/planner-sdk'
26
30
  // TODO: Update the object below with actual values
27
31
  const example = {
28
32
  "type": null,
33
+ "backingDeviceIds": null,
34
+ "filesystemType": null,
35
+ "filesystemMajorVersion": null,
29
36
  "storageProtocol": null,
37
+ "vsanSnapshotSupport": null,
30
38
  "totalCapacityGB": null,
31
39
  "freeCapacityGB": null,
32
40
  "vendor": null,
package/docs/Host.md CHANGED
@@ -14,6 +14,8 @@ Name | Type
14
14
  `memoryMB` | number
15
15
  `vmotionSupported` | boolean
16
16
  `storageVmotionSupported` | boolean
17
+ `storageAdapters` | [Array<HostStorageAdapter>](HostStorageAdapter.md)
18
+ `storageLuns` | [Array<HostStorageLun>](HostStorageLun.md)
17
19
 
18
20
  ## Example
19
21
 
@@ -30,6 +32,8 @@ const example = {
30
32
  "memoryMB": null,
31
33
  "vmotionSupported": null,
32
34
  "storageVmotionSupported": null,
35
+ "storageAdapters": null,
36
+ "storageLuns": null,
33
37
  } satisfies Host
34
38
 
35
39
  console.log(example)
@@ -0,0 +1,49 @@
1
+
2
+ # HostStorageAdapter
3
+
4
+ Source-provided adapter facts. Missing or conflicting values are omitted.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `device` | string
11
+ `key` | string
12
+ `type` | string
13
+ `protocol` | string
14
+ `model` | string
15
+ `driver` | string
16
+ `nodeWwn` | string
17
+ `portWwn` | string
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { HostStorageAdapter } from '@openshift-migration-advisor/planner-sdk'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "device": null,
27
+ "key": null,
28
+ "type": null,
29
+ "protocol": null,
30
+ "model": null,
31
+ "driver": null,
32
+ "nodeWwn": null,
33
+ "portWwn": null,
34
+ } satisfies HostStorageAdapter
35
+
36
+ console.log(example)
37
+
38
+ // Convert the instance to a JSON string
39
+ const exampleJSON: string = JSON.stringify(example)
40
+ console.log(exampleJSON)
41
+
42
+ // Parse the JSON string back to an object
43
+ const exampleParsed = JSON.parse(exampleJSON) as HostStorageAdapter
44
+ console.log(exampleParsed)
45
+ ```
46
+
47
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
48
+
49
+
@@ -0,0 +1,45 @@
1
+
2
+ # HostStorageLun
3
+
4
+ A host-visible LUN; missing or conflicting identity/metadata fields are omitted.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `canonicalName` | string
11
+ `key` | string
12
+ `lunUuid` | string
13
+ `vendor` | string
14
+ `model` | string
15
+ `adapterDevices` | Array<string>
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { HostStorageLun } from '@openshift-migration-advisor/planner-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "canonicalName": null,
25
+ "key": null,
26
+ "lunUuid": null,
27
+ "vendor": null,
28
+ "model": null,
29
+ "adapterDevices": null,
30
+ } satisfies HostStorageLun
31
+
32
+ console.log(example)
33
+
34
+ // Convert the instance to a JSON string
35
+ const exampleJSON: string = JSON.stringify(example)
36
+ console.log(exampleJSON)
37
+
38
+ // Parse the JSON string back to an object
39
+ const exampleParsed = JSON.parse(exampleJSON) as HostStorageLun
40
+ console.log(exampleParsed)
41
+ ```
42
+
43
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
44
+
45
+