@openshift-migration-advisor/agent-sdk 0.21.0-7d995d4fcba5 → 0.21.0-e2b252cdffd8
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.
- package/README.md +2 -2
- package/dist/esm/models/VMs.d.ts +4 -0
- package/dist/esm/models/VMs.js +2 -0
- package/dist/models/VMs.d.ts +4 -0
- package/dist/models/VMs.js +2 -0
- package/docs/VMs.md +2 -0
- package/package.json +1 -1
- package/src/models/VMs.ts +6 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/agent-sdk@0.21.0-
|
|
1
|
+
# @openshift-migration-advisor/agent-sdk@0.21.0-e2b252cdffd8
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -198,7 +198,7 @@ and is automatically generated by the
|
|
|
198
198
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
199
199
|
|
|
200
200
|
- API version: `v2`
|
|
201
|
-
- Package version: `0.21.0-
|
|
201
|
+
- Package version: `0.21.0-e2b252cdffd8`
|
|
202
202
|
- Generator version: `7.26.0-SNAPSHOT`
|
|
203
203
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
204
204
|
|
package/dist/esm/models/VMs.d.ts
CHANGED
package/dist/esm/models/VMs.js
CHANGED
|
@@ -54,6 +54,7 @@ export function VMsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'totalMigratable': json['totalMigratable'],
|
|
55
55
|
'totalMigratableWithWarnings': json['totalMigratableWithWarnings'] == null ? undefined : json['totalMigratableWithWarnings'],
|
|
56
56
|
'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
|
|
57
|
+
'totalWithRDM': json['totalWithRDM'] == null ? undefined : json['totalWithRDM'],
|
|
57
58
|
'cpuCores': VMResourceBreakdownFromJSON(json['cpuCores']),
|
|
58
59
|
'diskSizeTier': json['diskSizeTier'] == null ? undefined : (mapValues(json['diskSizeTier'], DiskSizeTierSummaryFromJSON)),
|
|
59
60
|
'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : (mapValues(json['diskComplexityTier'], DiskSizeTierSummaryFromJSON)),
|
|
@@ -87,6 +88,7 @@ export function VMsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
87
88
|
'totalMigratable': value['totalMigratable'],
|
|
88
89
|
'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
|
|
89
90
|
'totalWithSharedDisks': value['totalWithSharedDisks'],
|
|
91
|
+
'totalWithRDM': value['totalWithRDM'],
|
|
90
92
|
'cpuCores': VMResourceBreakdownToJSON(value['cpuCores']),
|
|
91
93
|
'diskSizeTier': value['diskSizeTier'] == null ? undefined : (mapValues(value['diskSizeTier'], DiskSizeTierSummaryToJSON)),
|
|
92
94
|
'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : (mapValues(value['diskComplexityTier'], DiskSizeTierSummaryToJSON)),
|
package/dist/models/VMs.d.ts
CHANGED
package/dist/models/VMs.js
CHANGED
|
@@ -61,6 +61,7 @@ function VMsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'totalMigratable': json['totalMigratable'],
|
|
62
62
|
'totalMigratableWithWarnings': json['totalMigratableWithWarnings'] == null ? undefined : json['totalMigratableWithWarnings'],
|
|
63
63
|
'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
|
|
64
|
+
'totalWithRDM': json['totalWithRDM'] == null ? undefined : json['totalWithRDM'],
|
|
64
65
|
'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['cpuCores']),
|
|
65
66
|
'diskSizeTier': json['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
|
|
66
67
|
'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskComplexityTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
|
|
@@ -94,6 +95,7 @@ function VMsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
94
95
|
'totalMigratable': value['totalMigratable'],
|
|
95
96
|
'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
|
|
96
97
|
'totalWithSharedDisks': value['totalWithSharedDisks'],
|
|
98
|
+
'totalWithRDM': value['totalWithRDM'],
|
|
97
99
|
'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['cpuCores']),
|
|
98
100
|
'diskSizeTier': value['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
|
|
99
101
|
'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskComplexityTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
|
package/docs/VMs.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type
|
|
|
10
10
|
`totalMigratable` | number
|
|
11
11
|
`totalMigratableWithWarnings` | number
|
|
12
12
|
`totalWithSharedDisks` | number
|
|
13
|
+
`totalWithRDM` | number
|
|
13
14
|
`cpuCores` | [VMResourceBreakdown](VMResourceBreakdown.md)
|
|
14
15
|
`diskSizeTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
|
|
15
16
|
`diskComplexityTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
|
|
@@ -41,6 +42,7 @@ const example = {
|
|
|
41
42
|
"totalMigratable": null,
|
|
42
43
|
"totalMigratableWithWarnings": null,
|
|
43
44
|
"totalWithSharedDisks": null,
|
|
45
|
+
"totalWithRDM": null,
|
|
44
46
|
"cpuCores": null,
|
|
45
47
|
"diskSizeTier": null,
|
|
46
48
|
"diskComplexityTier": null,
|
package/package.json
CHANGED
package/src/models/VMs.ts
CHANGED
|
@@ -78,6 +78,10 @@ export interface VMs {
|
|
|
78
78
|
* Number of VMs that have at least one shared disk
|
|
79
79
|
*/
|
|
80
80
|
totalWithSharedDisks?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Number of VMs that have at least one raw device mapping (RDM) disk
|
|
83
|
+
*/
|
|
84
|
+
totalWithRDM?: number;
|
|
81
85
|
/**
|
|
82
86
|
*
|
|
83
87
|
*/
|
|
@@ -189,6 +193,7 @@ export function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs {
|
|
|
189
193
|
'totalMigratable': json['totalMigratable'],
|
|
190
194
|
'totalMigratableWithWarnings': json['totalMigratableWithWarnings'] == null ? undefined : json['totalMigratableWithWarnings'],
|
|
191
195
|
'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
|
|
196
|
+
'totalWithRDM': json['totalWithRDM'] == null ? undefined : json['totalWithRDM'],
|
|
192
197
|
'cpuCores': VMResourceBreakdownFromJSON(json['cpuCores']),
|
|
193
198
|
'diskSizeTier': json['diskSizeTier'] == null ? undefined : (mapValues(json['diskSizeTier'], DiskSizeTierSummaryFromJSON)),
|
|
194
199
|
'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : (mapValues(json['diskComplexityTier'], DiskSizeTierSummaryFromJSON)),
|
|
@@ -226,6 +231,7 @@ export function VMsToJSONTyped(value?: VMs | null, ignoreDiscriminator: boolean
|
|
|
226
231
|
'totalMigratable': value['totalMigratable'],
|
|
227
232
|
'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
|
|
228
233
|
'totalWithSharedDisks': value['totalWithSharedDisks'],
|
|
234
|
+
'totalWithRDM': value['totalWithRDM'],
|
|
229
235
|
'cpuCores': VMResourceBreakdownToJSON(value['cpuCores']),
|
|
230
236
|
'diskSizeTier': value['diskSizeTier'] == null ? undefined : (mapValues(value['diskSizeTier'], DiskSizeTierSummaryToJSON)),
|
|
231
237
|
'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : (mapValues(value['diskComplexityTier'], DiskSizeTierSummaryToJSON)),
|