@openshift-migration-advisor/agent-sdk 0.23.0 → 0.24.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.
- 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.
|
|
1
|
+
# @openshift-migration-advisor/agent-sdk@0.24.0
|
|
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.
|
|
201
|
+
- Package version: `0.24.0`
|
|
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
|
@@ -55,6 +55,7 @@ export function VMsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'totalMigratableWithWarnings': json['totalMigratableWithWarnings'] == null ? undefined : json['totalMigratableWithWarnings'],
|
|
56
56
|
'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
|
|
57
57
|
'totalWithRDM': json['totalWithRDM'] == null ? undefined : json['totalWithRDM'],
|
|
58
|
+
'totalWithFaultTolerance': json['totalWithFaultTolerance'] == null ? undefined : json['totalWithFaultTolerance'],
|
|
58
59
|
'cpuCores': VMResourceBreakdownFromJSON(json['cpuCores']),
|
|
59
60
|
'diskSizeTier': json['diskSizeTier'] == null ? undefined : (mapValues(json['diskSizeTier'], DiskSizeTierSummaryFromJSON)),
|
|
60
61
|
'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : (mapValues(json['diskComplexityTier'], DiskSizeTierSummaryFromJSON)),
|
|
@@ -89,6 +90,7 @@ export function VMsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
89
90
|
'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
|
|
90
91
|
'totalWithSharedDisks': value['totalWithSharedDisks'],
|
|
91
92
|
'totalWithRDM': value['totalWithRDM'],
|
|
93
|
+
'totalWithFaultTolerance': value['totalWithFaultTolerance'],
|
|
92
94
|
'cpuCores': VMResourceBreakdownToJSON(value['cpuCores']),
|
|
93
95
|
'diskSizeTier': value['diskSizeTier'] == null ? undefined : (mapValues(value['diskSizeTier'], DiskSizeTierSummaryToJSON)),
|
|
94
96
|
'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : (mapValues(value['diskComplexityTier'], DiskSizeTierSummaryToJSON)),
|
package/dist/models/VMs.d.ts
CHANGED
package/dist/models/VMs.js
CHANGED
|
@@ -62,6 +62,7 @@ function VMsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
62
|
'totalMigratableWithWarnings': json['totalMigratableWithWarnings'] == null ? undefined : json['totalMigratableWithWarnings'],
|
|
63
63
|
'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
|
|
64
64
|
'totalWithRDM': json['totalWithRDM'] == null ? undefined : json['totalWithRDM'],
|
|
65
|
+
'totalWithFaultTolerance': json['totalWithFaultTolerance'] == null ? undefined : json['totalWithFaultTolerance'],
|
|
65
66
|
'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownFromJSON)(json['cpuCores']),
|
|
66
67
|
'diskSizeTier': json['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
|
|
67
68
|
'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(json['diskComplexityTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryFromJSON)),
|
|
@@ -96,6 +97,7 @@ function VMsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
96
97
|
'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
|
|
97
98
|
'totalWithSharedDisks': value['totalWithSharedDisks'],
|
|
98
99
|
'totalWithRDM': value['totalWithRDM'],
|
|
100
|
+
'totalWithFaultTolerance': value['totalWithFaultTolerance'],
|
|
99
101
|
'cpuCores': (0, VMResourceBreakdown_js_1.VMResourceBreakdownToJSON)(value['cpuCores']),
|
|
100
102
|
'diskSizeTier': value['diskSizeTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskSizeTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
|
|
101
103
|
'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : ((0, runtime_js_1.mapValues)(value['diskComplexityTier'], DiskSizeTierSummary_js_1.DiskSizeTierSummaryToJSON)),
|
package/docs/VMs.md
CHANGED
|
@@ -11,6 +11,7 @@ Name | Type
|
|
|
11
11
|
`totalMigratableWithWarnings` | number
|
|
12
12
|
`totalWithSharedDisks` | number
|
|
13
13
|
`totalWithRDM` | number
|
|
14
|
+
`totalWithFaultTolerance` | number
|
|
14
15
|
`cpuCores` | [VMResourceBreakdown](VMResourceBreakdown.md)
|
|
15
16
|
`diskSizeTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
|
|
16
17
|
`diskComplexityTier` | [{ [key: string]: DiskSizeTierSummary; }](DiskSizeTierSummary.md)
|
|
@@ -43,6 +44,7 @@ const example = {
|
|
|
43
44
|
"totalMigratableWithWarnings": null,
|
|
44
45
|
"totalWithSharedDisks": null,
|
|
45
46
|
"totalWithRDM": null,
|
|
47
|
+
"totalWithFaultTolerance": null,
|
|
46
48
|
"cpuCores": null,
|
|
47
49
|
"diskSizeTier": null,
|
|
48
50
|
"diskComplexityTier": null,
|
package/package.json
CHANGED
package/src/models/VMs.ts
CHANGED
|
@@ -82,6 +82,10 @@ export interface VMs {
|
|
|
82
82
|
* Number of VMs that have at least one raw device mapping (RDM) disk
|
|
83
83
|
*/
|
|
84
84
|
totalWithRDM?: number;
|
|
85
|
+
/**
|
|
86
|
+
* Number of VMs that have Fault Tolerance enabled
|
|
87
|
+
*/
|
|
88
|
+
totalWithFaultTolerance?: number;
|
|
85
89
|
/**
|
|
86
90
|
*
|
|
87
91
|
*/
|
|
@@ -194,6 +198,7 @@ export function VMsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VMs {
|
|
|
194
198
|
'totalMigratableWithWarnings': json['totalMigratableWithWarnings'] == null ? undefined : json['totalMigratableWithWarnings'],
|
|
195
199
|
'totalWithSharedDisks': json['totalWithSharedDisks'] == null ? undefined : json['totalWithSharedDisks'],
|
|
196
200
|
'totalWithRDM': json['totalWithRDM'] == null ? undefined : json['totalWithRDM'],
|
|
201
|
+
'totalWithFaultTolerance': json['totalWithFaultTolerance'] == null ? undefined : json['totalWithFaultTolerance'],
|
|
197
202
|
'cpuCores': VMResourceBreakdownFromJSON(json['cpuCores']),
|
|
198
203
|
'diskSizeTier': json['diskSizeTier'] == null ? undefined : (mapValues(json['diskSizeTier'], DiskSizeTierSummaryFromJSON)),
|
|
199
204
|
'diskComplexityTier': json['diskComplexityTier'] == null ? undefined : (mapValues(json['diskComplexityTier'], DiskSizeTierSummaryFromJSON)),
|
|
@@ -232,6 +237,7 @@ export function VMsToJSONTyped(value?: VMs | null, ignoreDiscriminator: boolean
|
|
|
232
237
|
'totalMigratableWithWarnings': value['totalMigratableWithWarnings'],
|
|
233
238
|
'totalWithSharedDisks': value['totalWithSharedDisks'],
|
|
234
239
|
'totalWithRDM': value['totalWithRDM'],
|
|
240
|
+
'totalWithFaultTolerance': value['totalWithFaultTolerance'],
|
|
235
241
|
'cpuCores': VMResourceBreakdownToJSON(value['cpuCores']),
|
|
236
242
|
'diskSizeTier': value['diskSizeTier'] == null ? undefined : (mapValues(value['diskSizeTier'], DiskSizeTierSummaryToJSON)),
|
|
237
243
|
'diskComplexityTier': value['diskComplexityTier'] == null ? undefined : (mapValues(value['diskComplexityTier'], DiskSizeTierSummaryToJSON)),
|