@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.0-645d2fae3eee
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/.openapi-generator/FILES +62 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +68 -17
- package/dist/apis/DefaultApi.d.ts +919 -108
- package/dist/apis/DefaultApi.js +1140 -256
- package/dist/esm/apis/DefaultApi.d.ts +919 -108
- package/dist/esm/apis/DefaultApi.js +1121 -237
- package/dist/esm/models/AgentStatus.d.ts +1 -1
- package/dist/esm/models/AgentStatus.js +3 -3
- package/dist/esm/models/BenchmarkRun.d.ts +104 -0
- package/dist/esm/models/BenchmarkRun.js +85 -0
- package/dist/esm/models/ClusterFeatures.d.ts +54 -0
- package/dist/esm/models/ClusterFeatures.js +54 -0
- package/dist/esm/models/DatastoreDetail.d.ts +90 -0
- package/dist/esm/models/DatastoreDetail.js +74 -0
- package/dist/esm/models/DatastorePair.d.ts +50 -0
- package/dist/esm/models/DatastorePair.js +53 -0
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +38 -0
- package/dist/esm/models/DeleteLabelGloballyResponse.js +47 -0
- package/dist/esm/models/EstimateRange.d.ts +44 -0
- package/dist/esm/models/EstimateRange.js +45 -0
- package/dist/esm/models/ForecastStats.d.ts +87 -0
- package/dist/esm/models/ForecastStats.js +64 -0
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
- package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
- package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
- package/dist/esm/models/ForecasterPairStatus.js +82 -0
- package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
- package/dist/esm/models/ForecasterStartRequest.js +53 -0
- package/dist/esm/models/ForecasterStatus.d.ts +47 -0
- package/dist/esm/models/ForecasterStatus.js +53 -0
- package/dist/esm/models/InspectorStatus.d.ts +6 -10
- package/dist/esm/models/InspectorStatus.js +5 -9
- package/dist/esm/models/Inventory.d.ts +7 -1
- package/dist/esm/models/Inventory.js +5 -3
- package/dist/esm/models/InventoryData.d.ts +7 -0
- package/dist/esm/models/InventoryData.js +3 -0
- package/dist/esm/models/PairCapability.d.ts +60 -0
- package/dist/esm/models/PairCapability.js +64 -0
- package/dist/esm/models/PairCapabilityRequest.d.ts +40 -0
- package/dist/esm/models/PairCapabilityRequest.js +47 -0
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +38 -0
- package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +39 -0
- package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
- package/dist/esm/models/RightsizingClusterResponse.d.ts +39 -0
- package/dist/esm/models/RightsizingClusterResponse.js +48 -0
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +112 -0
- package/dist/esm/models/RightsizingClusterUtilization.js +95 -0
- package/dist/esm/models/RightsizingCollectRequest.d.ts +70 -0
- package/dist/esm/models/RightsizingCollectRequest.js +56 -0
- package/dist/esm/models/RightsizingMetricStats.d.ts +62 -0
- package/dist/esm/models/RightsizingMetricStats.js +63 -0
- package/dist/esm/models/RightsizingReport.d.ts +81 -0
- package/dist/esm/models/RightsizingReport.js +76 -0
- package/dist/esm/models/RightsizingReportListResponse.d.ts +39 -0
- package/dist/esm/models/RightsizingReportListResponse.js +48 -0
- package/dist/esm/models/RightsizingReportSummary.d.ts +74 -0
- package/dist/esm/models/RightsizingReportSummary.js +71 -0
- package/dist/esm/models/RightsizingVMReport.d.ts +53 -0
- package/dist/esm/models/RightsizingVMReport.js +57 -0
- package/dist/esm/models/StartInspectionRequest.d.ts +39 -0
- package/dist/esm/models/{InspectorStartRequest.js → StartInspectionRequest.js} +12 -12
- package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/esm/models/StopForecasterPair202Response.js +49 -0
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +38 -0
- package/dist/esm/models/UpdateLabelVMsRequest.js +43 -0
- package/dist/esm/models/VMLabelsResponse.d.ts +38 -0
- package/dist/esm/models/VMLabelsResponse.js +47 -0
- package/dist/esm/models/VMs.d.ts +18 -0
- package/dist/esm/models/VMs.js +4 -0
- package/dist/esm/models/VirtualMachine.d.ts +43 -1
- package/dist/esm/models/VirtualMachine.js +16 -4
- package/dist/esm/models/VirtualMachineDetail.d.ts +22 -3
- package/dist/esm/models/VirtualMachineDetail.js +10 -3
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/esm/models/VirtualMachineUpdateRequest.js +43 -0
- package/dist/esm/models/VmInspectionConcern.d.ts +44 -0
- package/dist/esm/models/VmInspectionConcern.js +51 -0
- package/dist/esm/models/VmInspectionResults.d.ts +33 -0
- package/dist/esm/models/VmInspectionResults.js +42 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -1
- package/dist/esm/models/VmInspectionStatus.js +1 -2
- package/dist/esm/models/VmUtilizationDetails.d.ts +116 -0
- package/dist/esm/models/VmUtilizationDetails.js +99 -0
- package/dist/esm/models/index.d.ts +31 -1
- package/dist/esm/models/index.js +31 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AgentStatus.d.ts +1 -1
- package/dist/models/AgentStatus.js +3 -3
- package/dist/models/BenchmarkRun.d.ts +104 -0
- package/dist/models/BenchmarkRun.js +92 -0
- package/dist/models/ClusterFeatures.d.ts +54 -0
- package/dist/models/ClusterFeatures.js +62 -0
- package/dist/models/DatastoreDetail.d.ts +90 -0
- package/dist/models/DatastoreDetail.js +82 -0
- package/dist/models/DatastorePair.d.ts +50 -0
- package/dist/models/DatastorePair.js +60 -0
- package/dist/models/DeleteLabelGloballyResponse.d.ts +38 -0
- package/dist/models/DeleteLabelGloballyResponse.js +54 -0
- package/dist/models/EstimateRange.d.ts +44 -0
- package/dist/models/EstimateRange.js +52 -0
- package/dist/models/ForecastStats.d.ts +87 -0
- package/dist/models/ForecastStats.js +71 -0
- package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
- package/dist/models/ForecasterDatastoresRequest.js +49 -0
- package/dist/models/ForecasterPairStatus.d.ts +98 -0
- package/dist/models/ForecasterPairStatus.js +90 -0
- package/dist/models/ForecasterStartRequest.d.ts +58 -0
- package/dist/models/ForecasterStartRequest.js +60 -0
- package/dist/models/ForecasterStatus.d.ts +47 -0
- package/dist/models/ForecasterStatus.js +61 -0
- package/dist/models/InspectorStatus.d.ts +6 -10
- package/dist/models/InspectorStatus.js +5 -9
- package/dist/models/Inventory.d.ts +7 -1
- package/dist/models/Inventory.js +5 -3
- package/dist/models/InventoryData.d.ts +7 -0
- package/dist/models/InventoryData.js +3 -0
- package/dist/models/PairCapability.d.ts +60 -0
- package/dist/models/PairCapability.js +72 -0
- package/dist/models/PairCapabilityRequest.d.ts +40 -0
- package/dist/models/PairCapabilityRequest.js +54 -0
- package/dist/models/PutForecasterCredentials403Response.d.ts +38 -0
- package/dist/models/PutForecasterCredentials403Response.js +50 -0
- package/dist/models/RightsizingClusterListResponse.d.ts +39 -0
- package/dist/models/RightsizingClusterListResponse.js +55 -0
- package/dist/models/RightsizingClusterResponse.d.ts +39 -0
- package/dist/models/RightsizingClusterResponse.js +55 -0
- package/dist/models/RightsizingClusterUtilization.d.ts +112 -0
- package/dist/models/RightsizingClusterUtilization.js +102 -0
- package/dist/models/RightsizingCollectRequest.d.ts +70 -0
- package/dist/models/RightsizingCollectRequest.js +63 -0
- package/dist/models/RightsizingMetricStats.d.ts +62 -0
- package/dist/models/RightsizingMetricStats.js +70 -0
- package/dist/models/RightsizingReport.d.ts +81 -0
- package/dist/models/RightsizingReport.js +83 -0
- package/dist/models/RightsizingReportListResponse.d.ts +39 -0
- package/dist/models/RightsizingReportListResponse.js +55 -0
- package/dist/models/RightsizingReportSummary.d.ts +74 -0
- package/dist/models/RightsizingReportSummary.js +78 -0
- package/dist/models/RightsizingVMReport.d.ts +53 -0
- package/dist/models/RightsizingVMReport.js +64 -0
- package/dist/models/StartInspectionRequest.d.ts +39 -0
- package/dist/models/StartInspectionRequest.js +55 -0
- package/dist/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/models/StopForecasterPair202Response.js +57 -0
- package/dist/models/UpdateLabelVMsRequest.d.ts +38 -0
- package/dist/models/UpdateLabelVMsRequest.js +50 -0
- package/dist/models/VMLabelsResponse.d.ts +38 -0
- package/dist/models/VMLabelsResponse.js +54 -0
- package/dist/models/VMs.d.ts +18 -0
- package/dist/models/VMs.js +4 -0
- package/dist/models/VirtualMachine.d.ts +43 -1
- package/dist/models/VirtualMachine.js +16 -4
- package/dist/models/VirtualMachineDetail.d.ts +22 -3
- package/dist/models/VirtualMachineDetail.js +10 -3
- package/dist/models/VirtualMachineUpdateRequest.d.ts +38 -0
- package/dist/models/VirtualMachineUpdateRequest.js +50 -0
- package/dist/models/VmInspectionConcern.d.ts +44 -0
- package/dist/models/VmInspectionConcern.js +58 -0
- package/dist/models/VmInspectionResults.d.ts +33 -0
- package/dist/models/VmInspectionResults.js +49 -0
- package/dist/models/VmInspectionStatus.d.ts +0 -1
- package/dist/models/VmInspectionStatus.js +1 -2
- package/dist/models/VmUtilizationDetails.d.ts +116 -0
- package/dist/models/VmUtilizationDetails.js +106 -0
- package/dist/models/index.d.ts +31 -1
- package/dist/models/index.js +31 -1
- package/dist/runtime.js +1 -1
- package/docs/AgentStatus.md +2 -2
- package/docs/BenchmarkRun.md +58 -0
- package/docs/ClusterFeatures.md +38 -0
- package/docs/DatastoreDetail.md +50 -0
- package/docs/DatastorePair.md +40 -0
- package/docs/DefaultApi.md +1701 -266
- package/docs/DeleteLabelGloballyResponse.md +36 -0
- package/docs/EstimateRange.md +39 -0
- package/docs/ForecastStats.md +52 -0
- package/docs/ForecasterDatastoresRequest.md +34 -0
- package/docs/ForecasterPairStatus.md +52 -0
- package/docs/ForecasterStartRequest.md +42 -0
- package/docs/ForecasterStatus.md +36 -0
- package/docs/GetInventory200Response.md +4 -2
- package/docs/InspectorStatus.md +2 -2
- package/docs/Inventory.md +4 -2
- package/docs/InventoryData.md +2 -0
- package/docs/PairCapability.md +40 -0
- package/docs/PairCapabilityRequest.md +36 -0
- package/docs/PutForecasterCredentials403Response.md +36 -0
- package/docs/RightsizingClusterListResponse.md +36 -0
- package/docs/RightsizingClusterResponse.md +36 -0
- package/docs/RightsizingClusterUtilization.md +60 -0
- package/docs/RightsizingCollectRequest.md +46 -0
- package/docs/RightsizingMetricStats.md +44 -0
- package/docs/RightsizingReport.md +50 -0
- package/docs/RightsizingReportListResponse.md +36 -0
- package/docs/RightsizingReportSummary.md +49 -0
- package/docs/RightsizingVMReport.md +40 -0
- package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +7 -6
- package/docs/StopForecasterPair202Response.md +36 -0
- package/docs/UpdateLabelVMsRequest.md +36 -0
- package/docs/VMLabelsResponse.md +36 -0
- package/docs/VMs.md +4 -0
- package/docs/VirtualMachine.md +16 -2
- package/docs/VirtualMachineDetail.md +7 -1
- package/docs/VirtualMachineUpdateRequest.md +36 -0
- package/docs/VmInspectionConcern.md +39 -0
- package/docs/VmInspectionResults.md +35 -0
- package/docs/VmUtilizationDetails.md +62 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +2167 -479
- package/src/models/AgentStatus.ts +4 -4
- package/src/models/BenchmarkRun.ts +171 -0
- package/src/models/ClusterFeatures.ts +94 -0
- package/src/models/DatastoreDetail.ts +146 -0
- package/src/models/DatastorePair.ts +92 -0
- package/src/models/DeleteLabelGloballyResponse.ts +75 -0
- package/src/models/EstimateRange.ts +81 -0
- package/src/models/ForecastStats.ts +147 -0
- package/src/models/ForecasterDatastoresRequest.ts +73 -0
- package/src/models/ForecasterPairStatus.ts +158 -0
- package/src/models/ForecasterStartRequest.ts +113 -0
- package/src/models/ForecasterStatus.ts +93 -0
- package/src/models/InspectorStatus.ts +15 -12
- package/src/models/Inventory.ts +12 -4
- package/src/models/InventoryData.ts +15 -0
- package/src/models/PairCapability.ts +106 -0
- package/src/models/PairCapabilityRequest.ts +89 -0
- package/src/models/PutForecasterCredentials403Response.ts +73 -0
- package/src/models/RightsizingClusterListResponse.ts +83 -0
- package/src/models/RightsizingClusterResponse.ts +83 -0
- package/src/models/RightsizingClusterUtilization.ts +185 -0
- package/src/models/RightsizingCollectRequest.ts +123 -0
- package/src/models/RightsizingMetricStats.ts +111 -0
- package/src/models/RightsizingReport.ts +146 -0
- package/src/models/RightsizingReportListResponse.ts +83 -0
- package/src/models/RightsizingReportSummary.ts +129 -0
- package/src/models/RightsizingVMReport.ts +101 -0
- package/src/models/StartInspectionRequest.ts +83 -0
- package/src/models/StopForecasterPair202Response.ts +83 -0
- package/src/models/UpdateLabelVMsRequest.ts +73 -0
- package/src/models/VMLabelsResponse.ts +75 -0
- package/src/models/VMs.ts +18 -0
- package/src/models/VirtualMachine.ts +59 -4
- package/src/models/VirtualMachineDetail.ts +42 -11
- package/src/models/VirtualMachineUpdateRequest.ts +73 -0
- package/src/models/VmInspectionConcern.ts +84 -0
- package/src/models/VmInspectionResults.ts +73 -0
- package/src/models/VmInspectionStatus.ts +1 -2
- package/src/models/VmUtilizationDetails.ts +192 -0
- package/src/models/index.ts +31 -1
- package/src/runtime.ts +1 -2
- package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
- package/dist/models/InspectorStartRequest.d.ts +0 -39
- package/dist/models/InspectorStartRequest.js +0 -55
- package/src/models/InspectorStartRequest.ts +0 -83
|
@@ -26,7 +26,7 @@ export interface AgentStatus {
|
|
|
26
26
|
* @type {AgentStatusConsoleConnectionEnum}
|
|
27
27
|
* @memberof AgentStatus
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
console_connection: AgentStatusConsoleConnectionEnum;
|
|
30
30
|
/**
|
|
31
31
|
* Connection error description
|
|
32
32
|
* @type {string}
|
|
@@ -31,7 +31,7 @@ export const AgentStatusConsoleConnectionEnum = {
|
|
|
31
31
|
export function instanceOfAgentStatus(value) {
|
|
32
32
|
if (!('mode' in value) || value['mode'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
-
if (!('
|
|
34
|
+
if (!('console_connection' in value) || value['console_connection'] === undefined)
|
|
35
35
|
return false;
|
|
36
36
|
return true;
|
|
37
37
|
}
|
|
@@ -44,7 +44,7 @@ export function AgentStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
}
|
|
45
45
|
return {
|
|
46
46
|
'mode': json['mode'],
|
|
47
|
-
'
|
|
47
|
+
'console_connection': json['console_connection'],
|
|
48
48
|
'error': json['error'] == null ? undefined : json['error'],
|
|
49
49
|
};
|
|
50
50
|
}
|
|
@@ -57,7 +57,7 @@ export function AgentStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
57
|
}
|
|
58
58
|
return {
|
|
59
59
|
'mode': value['mode'],
|
|
60
|
-
'console_connection': value['
|
|
60
|
+
'console_connection': value['console_connection'],
|
|
61
61
|
'error': value['error'],
|
|
62
62
|
};
|
|
63
63
|
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BenchmarkRun
|
|
16
|
+
*/
|
|
17
|
+
export interface BenchmarkRun {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BenchmarkRun
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BenchmarkRun
|
|
28
|
+
*/
|
|
29
|
+
sessionId: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BenchmarkRun
|
|
34
|
+
*/
|
|
35
|
+
pairName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BenchmarkRun
|
|
40
|
+
*/
|
|
41
|
+
sourceDatastore: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BenchmarkRun
|
|
46
|
+
*/
|
|
47
|
+
targetDatastore: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof BenchmarkRun
|
|
52
|
+
*/
|
|
53
|
+
iteration: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof BenchmarkRun
|
|
58
|
+
*/
|
|
59
|
+
diskSizeGb: number;
|
|
60
|
+
/**
|
|
61
|
+
* Time spent on disk creation and random fill (iteration 1 only)
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof BenchmarkRun
|
|
64
|
+
*/
|
|
65
|
+
prepDurationSec?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof BenchmarkRun
|
|
70
|
+
*/
|
|
71
|
+
durationSec: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof BenchmarkRun
|
|
76
|
+
*/
|
|
77
|
+
throughputMbps: number;
|
|
78
|
+
/**
|
|
79
|
+
* Benchmark method used (e.g., vm_native)
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof BenchmarkRun
|
|
82
|
+
*/
|
|
83
|
+
method?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Error message if this iteration failed
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BenchmarkRun
|
|
88
|
+
*/
|
|
89
|
+
error?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Date}
|
|
93
|
+
* @memberof BenchmarkRun
|
|
94
|
+
*/
|
|
95
|
+
createdAt: Date;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Check if a given object implements the BenchmarkRun interface.
|
|
99
|
+
*/
|
|
100
|
+
export declare function instanceOfBenchmarkRun(value: object): value is BenchmarkRun;
|
|
101
|
+
export declare function BenchmarkRunFromJSON(json: any): BenchmarkRun;
|
|
102
|
+
export declare function BenchmarkRunFromJSONTyped(json: any, ignoreDiscriminator: boolean): BenchmarkRun;
|
|
103
|
+
export declare function BenchmarkRunToJSON(json: any): BenchmarkRun;
|
|
104
|
+
export declare function BenchmarkRunToJSONTyped(value?: BenchmarkRun | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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
|
+
* Check if a given object implements the BenchmarkRun interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfBenchmarkRun(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('pairName' in value) || value['pairName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('iteration' in value) || value['iteration'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('diskSizeGb' in value) || value['diskSizeGb'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('durationSec' in value) || value['durationSec'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('throughputMbps' in value) || value['throughputMbps'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
export function BenchmarkRunFromJSON(json) {
|
|
41
|
+
return BenchmarkRunFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function BenchmarkRunFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'sessionId': json['sessionId'],
|
|
50
|
+
'pairName': json['pairName'],
|
|
51
|
+
'sourceDatastore': json['sourceDatastore'],
|
|
52
|
+
'targetDatastore': json['targetDatastore'],
|
|
53
|
+
'iteration': json['iteration'],
|
|
54
|
+
'diskSizeGb': json['diskSizeGb'],
|
|
55
|
+
'prepDurationSec': json['prepDurationSec'] == null ? undefined : json['prepDurationSec'],
|
|
56
|
+
'durationSec': json['durationSec'],
|
|
57
|
+
'throughputMbps': json['throughputMbps'],
|
|
58
|
+
'method': json['method'] == null ? undefined : json['method'],
|
|
59
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
60
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function BenchmarkRunToJSON(json) {
|
|
64
|
+
return BenchmarkRunToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
export function BenchmarkRunToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'id': value['id'],
|
|
72
|
+
'sessionId': value['sessionId'],
|
|
73
|
+
'pairName': value['pairName'],
|
|
74
|
+
'sourceDatastore': value['sourceDatastore'],
|
|
75
|
+
'targetDatastore': value['targetDatastore'],
|
|
76
|
+
'iteration': value['iteration'],
|
|
77
|
+
'diskSizeGb': value['diskSizeGb'],
|
|
78
|
+
'prepDurationSec': value['prepDurationSec'],
|
|
79
|
+
'durationSec': value['durationSec'],
|
|
80
|
+
'throughputMbps': value['throughputMbps'],
|
|
81
|
+
'method': value['method'],
|
|
82
|
+
'error': value['error'],
|
|
83
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ClusterFeatures
|
|
16
|
+
*/
|
|
17
|
+
export interface ClusterFeatures {
|
|
18
|
+
/**
|
|
19
|
+
* Whether DRS (Distributed Resource Scheduler) is enabled for this cluster
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ClusterFeatures
|
|
22
|
+
*/
|
|
23
|
+
drsEnabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* DRS automation mode for the cluster
|
|
26
|
+
* @type {ClusterFeaturesDrsModeEnum}
|
|
27
|
+
* @memberof ClusterFeatures
|
|
28
|
+
*/
|
|
29
|
+
drsMode?: ClusterFeaturesDrsModeEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Whether Storage DRS is enabled for this cluster
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ClusterFeatures
|
|
34
|
+
*/
|
|
35
|
+
storageDrsEnabled?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ClusterFeaturesDrsModeEnum: {
|
|
41
|
+
readonly FullyAutomated: "Fully Automated";
|
|
42
|
+
readonly PartiallyAutomated: "Partially Automated";
|
|
43
|
+
readonly Manual: "Manual";
|
|
44
|
+
readonly None: "None";
|
|
45
|
+
};
|
|
46
|
+
export type ClusterFeaturesDrsModeEnum = typeof ClusterFeaturesDrsModeEnum[keyof typeof ClusterFeaturesDrsModeEnum];
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the ClusterFeatures interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfClusterFeatures(value: object): value is ClusterFeatures;
|
|
51
|
+
export declare function ClusterFeaturesFromJSON(json: any): ClusterFeatures;
|
|
52
|
+
export declare function ClusterFeaturesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterFeatures;
|
|
53
|
+
export declare function ClusterFeaturesToJSON(json: any): ClusterFeatures;
|
|
54
|
+
export declare function ClusterFeaturesToJSONTyped(value?: ClusterFeatures | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ClusterFeaturesDrsModeEnum = {
|
|
18
|
+
FullyAutomated: 'Fully Automated',
|
|
19
|
+
PartiallyAutomated: 'Partially Automated',
|
|
20
|
+
Manual: 'Manual',
|
|
21
|
+
None: 'None'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ClusterFeatures interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfClusterFeatures(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function ClusterFeaturesFromJSON(json) {
|
|
30
|
+
return ClusterFeaturesFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function ClusterFeaturesFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'drsEnabled': json['drsEnabled'] == null ? undefined : json['drsEnabled'],
|
|
38
|
+
'drsMode': json['drsMode'] == null ? undefined : json['drsMode'],
|
|
39
|
+
'storageDrsEnabled': json['storageDrsEnabled'] == null ? undefined : json['storageDrsEnabled'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function ClusterFeaturesToJSON(json) {
|
|
43
|
+
return ClusterFeaturesToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function ClusterFeaturesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'drsEnabled': value['drsEnabled'],
|
|
51
|
+
'drsMode': value['drsMode'],
|
|
52
|
+
'storageDrsEnabled': value['storageDrsEnabled'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DatastoreDetail
|
|
16
|
+
*/
|
|
17
|
+
export interface DatastoreDetail {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DatastoreDetail
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Datastore type (VMFS, NFS, VVol, OTHER)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DatastoreDetail
|
|
28
|
+
*/
|
|
29
|
+
type: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof DatastoreDetail
|
|
34
|
+
*/
|
|
35
|
+
capacityGb: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof DatastoreDetail
|
|
40
|
+
*/
|
|
41
|
+
freeGb: number;
|
|
42
|
+
/**
|
|
43
|
+
* SCSI vendor string (e.g., NETAPP, PURE, DGC)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DatastoreDetail
|
|
46
|
+
*/
|
|
47
|
+
storageVendor?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof DatastoreDetail
|
|
52
|
+
*/
|
|
53
|
+
storageModel?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Derived from NAA device ID prefix. Same value means same physical storage array. Absent for NFS and local datastores.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof DatastoreDetail
|
|
58
|
+
*/
|
|
59
|
+
storageArrayId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* NAA device identifiers for the datastore's backing LUNs
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof DatastoreDetail
|
|
64
|
+
*/
|
|
65
|
+
naaDevices?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Intrinsic offload capabilities of this datastore based on vendor support
|
|
68
|
+
* @type {Array<DatastoreDetailCapabilitiesEnum>}
|
|
69
|
+
* @memberof DatastoreDetail
|
|
70
|
+
*/
|
|
71
|
+
capabilities?: Array<DatastoreDetailCapabilitiesEnum>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const DatastoreDetailCapabilitiesEnum: {
|
|
77
|
+
readonly CopyOffload: "copy-offload";
|
|
78
|
+
readonly Xcopy: "xcopy";
|
|
79
|
+
readonly Rdm: "rdm";
|
|
80
|
+
readonly Vvol: "vvol";
|
|
81
|
+
};
|
|
82
|
+
export type DatastoreDetailCapabilitiesEnum = typeof DatastoreDetailCapabilitiesEnum[keyof typeof DatastoreDetailCapabilitiesEnum];
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the DatastoreDetail interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfDatastoreDetail(value: object): value is DatastoreDetail;
|
|
87
|
+
export declare function DatastoreDetailFromJSON(json: any): DatastoreDetail;
|
|
88
|
+
export declare function DatastoreDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatastoreDetail;
|
|
89
|
+
export declare function DatastoreDetailToJSON(json: any): DatastoreDetail;
|
|
90
|
+
export declare function DatastoreDetailToJSONTyped(value?: DatastoreDetail | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const DatastoreDetailCapabilitiesEnum = {
|
|
18
|
+
CopyOffload: 'copy-offload',
|
|
19
|
+
Xcopy: 'xcopy',
|
|
20
|
+
Rdm: 'rdm',
|
|
21
|
+
Vvol: 'vvol'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the DatastoreDetail interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfDatastoreDetail(value) {
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('capacityGb' in value) || value['capacityGb'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('freeGb' in value) || value['freeGb'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function DatastoreDetailFromJSON(json) {
|
|
38
|
+
return DatastoreDetailFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function DatastoreDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
'capacityGb': json['capacityGb'],
|
|
48
|
+
'freeGb': json['freeGb'],
|
|
49
|
+
'storageVendor': json['storageVendor'] == null ? undefined : json['storageVendor'],
|
|
50
|
+
'storageModel': json['storageModel'] == null ? undefined : json['storageModel'],
|
|
51
|
+
'storageArrayId': json['storageArrayId'] == null ? undefined : json['storageArrayId'],
|
|
52
|
+
'naaDevices': json['naaDevices'] == null ? undefined : json['naaDevices'],
|
|
53
|
+
'capabilities': json['capabilities'] == null ? undefined : json['capabilities'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function DatastoreDetailToJSON(json) {
|
|
57
|
+
return DatastoreDetailToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function DatastoreDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'name': value['name'],
|
|
65
|
+
'type': value['type'],
|
|
66
|
+
'capacityGb': value['capacityGb'],
|
|
67
|
+
'freeGb': value['freeGb'],
|
|
68
|
+
'storageVendor': value['storageVendor'],
|
|
69
|
+
'storageModel': value['storageModel'],
|
|
70
|
+
'storageArrayId': value['storageArrayId'],
|
|
71
|
+
'naaDevices': value['naaDevices'],
|
|
72
|
+
'capabilities': value['capabilities'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DatastorePair
|
|
16
|
+
*/
|
|
17
|
+
export interface DatastorePair {
|
|
18
|
+
/**
|
|
19
|
+
* User-defined name for this pair
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DatastorePair
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Source datastore name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DatastorePair
|
|
28
|
+
*/
|
|
29
|
+
sourceDatastore: string;
|
|
30
|
+
/**
|
|
31
|
+
* Target datastore name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DatastorePair
|
|
34
|
+
*/
|
|
35
|
+
targetDatastore: string;
|
|
36
|
+
/**
|
|
37
|
+
* Optional ESXi host name to pin the benchmark to. If omitted, a host common to both datastores is selected automatically.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DatastorePair
|
|
40
|
+
*/
|
|
41
|
+
host?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the DatastorePair interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfDatastorePair(value: object): value is DatastorePair;
|
|
47
|
+
export declare function DatastorePairFromJSON(json: any): DatastorePair;
|
|
48
|
+
export declare function DatastorePairFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatastorePair;
|
|
49
|
+
export declare function DatastorePairToJSON(json: any): DatastorePair;
|
|
50
|
+
export declare function DatastorePairToJSONTyped(value?: DatastorePair | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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
|
+
* Check if a given object implements the DatastorePair interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDatastorePair(value) {
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function DatastorePairFromJSON(json) {
|
|
27
|
+
return DatastorePairFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function DatastorePairFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'name': json['name'],
|
|
35
|
+
'sourceDatastore': json['sourceDatastore'],
|
|
36
|
+
'targetDatastore': json['targetDatastore'],
|
|
37
|
+
'host': json['host'] == null ? undefined : json['host'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function DatastorePairToJSON(json) {
|
|
41
|
+
return DatastorePairToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function DatastorePairToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
'sourceDatastore': value['sourceDatastore'],
|
|
50
|
+
'targetDatastore': value['targetDatastore'],
|
|
51
|
+
'host': value['host'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DeleteLabelGloballyResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteLabelGloballyResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Number of VMs that had the label removed
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DeleteLabelGloballyResponse
|
|
22
|
+
*/
|
|
23
|
+
affected: number;
|
|
24
|
+
/**
|
|
25
|
+
* The label that was removed
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DeleteLabelGloballyResponse
|
|
28
|
+
*/
|
|
29
|
+
label: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DeleteLabelGloballyResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDeleteLabelGloballyResponse(value: object): value is DeleteLabelGloballyResponse;
|
|
35
|
+
export declare function DeleteLabelGloballyResponseFromJSON(json: any): DeleteLabelGloballyResponse;
|
|
36
|
+
export declare function DeleteLabelGloballyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteLabelGloballyResponse;
|
|
37
|
+
export declare function DeleteLabelGloballyResponseToJSON(json: any): DeleteLabelGloballyResponse;
|
|
38
|
+
export declare function DeleteLabelGloballyResponseToJSONTyped(value?: DeleteLabelGloballyResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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
|
+
* Check if a given object implements the DeleteLabelGloballyResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDeleteLabelGloballyResponse(value) {
|
|
18
|
+
if (!('affected' in value) || value['affected'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function DeleteLabelGloballyResponseFromJSON(json) {
|
|
25
|
+
return DeleteLabelGloballyResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function DeleteLabelGloballyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'affected': json['affected'],
|
|
33
|
+
'label': json['label'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function DeleteLabelGloballyResponseToJSON(json) {
|
|
37
|
+
return DeleteLabelGloballyResponseToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function DeleteLabelGloballyResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'affected': value['affected'],
|
|
45
|
+
'label': value['label'],
|
|
46
|
+
};
|
|
47
|
+
}
|