@openshift-migration-advisor/agent-sdk 0.32.0 → 0.33.1-84c734aba511
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 +24 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +16 -4
- package/dist/apis/AppliancesApi.d.ts +64 -0
- package/dist/apis/AppliancesApi.js +72 -0
- package/dist/apis/CollectorApi.d.ts +0 -38
- package/dist/apis/CollectorApi.js +0 -59
- package/dist/apis/GroupsApi.d.ts +39 -0
- package/dist/apis/GroupsApi.js +40 -0
- package/dist/apis/ImageUpgradeApi.d.ts +66 -0
- package/dist/apis/ImageUpgradeApi.js +90 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/AppliancesApi.d.ts +64 -0
- package/dist/esm/apis/AppliancesApi.js +68 -0
- package/dist/esm/apis/CollectorApi.d.ts +0 -38
- package/dist/esm/apis/CollectorApi.js +0 -59
- package/dist/esm/apis/GroupsApi.d.ts +39 -0
- package/dist/esm/apis/GroupsApi.js +40 -0
- package/dist/esm/apis/ImageUpgradeApi.d.ts +66 -0
- package/dist/esm/apis/ImageUpgradeApi.js +86 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/AgentStatus.d.ts +5 -0
- package/dist/esm/models/AgentStatus.js +5 -0
- package/dist/esm/models/Appliance.d.ts +51 -0
- package/dist/esm/models/Appliance.js +64 -0
- package/dist/esm/models/ApplianceListResponse.d.ts +31 -0
- package/dist/esm/models/ApplianceListResponse.js +44 -0
- package/dist/esm/models/ApplicationOverview.d.ts +16 -0
- package/dist/esm/models/ApplicationOverview.js +12 -0
- package/dist/esm/models/Host.d.ts +16 -0
- package/dist/esm/models/Host.js +8 -0
- package/dist/esm/models/ImageUpgradeImage.d.ts +34 -0
- package/dist/esm/models/ImageUpgradeImage.js +47 -0
- package/dist/esm/models/ImageUpgradeResult.d.ts +66 -0
- package/dist/esm/models/ImageUpgradeResult.js +71 -0
- package/dist/esm/models/ImageUpgradeStatus.d.ts +44 -0
- package/dist/esm/models/ImageUpgradeStatus.js +57 -0
- package/dist/esm/models/ImageUploadStatus.d.ts +44 -0
- package/dist/esm/models/ImageUploadStatus.js +56 -0
- package/dist/esm/models/OsInfo.d.ts +12 -0
- package/dist/esm/models/OsInfo.js +9 -0
- package/dist/esm/models/Product.d.ts +66 -0
- package/dist/esm/models/Product.js +61 -0
- package/dist/esm/models/RDMBacking.d.ts +26 -0
- package/dist/esm/models/RDMBacking.js +17 -0
- package/dist/esm/models/RDMHostLun.d.ts +42 -0
- package/dist/esm/models/RDMHostLun.js +49 -0
- package/dist/esm/models/SuccessfulImageUpgrade.d.ts +38 -0
- package/dist/esm/models/SuccessfulImageUpgrade.js +52 -0
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +8 -0
- package/dist/esm/models/VMFilterOptionsResponse.js +8 -0
- package/dist/esm/models/VirtualMachine.d.ts +8 -0
- package/dist/esm/models/VirtualMachine.js +4 -0
- package/dist/esm/models/VirtualMachineDetail.d.ts +5 -0
- package/dist/esm/models/VirtualMachineDetail.js +3 -0
- package/dist/esm/models/VirtualMachineDisk.d.ts +8 -0
- package/dist/esm/models/VirtualMachineDisk.js +4 -0
- package/dist/esm/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/esm/models/VirtualMachineIdentity.js +47 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/runtime.js +4 -3
- package/dist/models/AgentStatus.d.ts +5 -0
- package/dist/models/AgentStatus.js +5 -0
- package/dist/models/Appliance.d.ts +51 -0
- package/dist/models/Appliance.js +71 -0
- package/dist/models/ApplianceListResponse.d.ts +31 -0
- package/dist/models/ApplianceListResponse.js +51 -0
- package/dist/models/ApplicationOverview.d.ts +16 -0
- package/dist/models/ApplicationOverview.js +12 -0
- package/dist/models/Host.d.ts +16 -0
- package/dist/models/Host.js +8 -0
- package/dist/models/ImageUpgradeImage.d.ts +34 -0
- package/dist/models/ImageUpgradeImage.js +54 -0
- package/dist/models/ImageUpgradeResult.d.ts +66 -0
- package/dist/models/ImageUpgradeResult.js +79 -0
- package/dist/models/ImageUpgradeStatus.d.ts +44 -0
- package/dist/models/ImageUpgradeStatus.js +64 -0
- package/dist/models/ImageUploadStatus.d.ts +44 -0
- package/dist/models/ImageUploadStatus.js +64 -0
- package/dist/models/OsInfo.d.ts +12 -0
- package/dist/models/OsInfo.js +10 -1
- package/dist/models/Product.d.ts +66 -0
- package/dist/models/Product.js +68 -0
- package/dist/models/RDMBacking.d.ts +26 -0
- package/dist/models/RDMBacking.js +18 -0
- package/dist/models/RDMHostLun.d.ts +42 -0
- package/dist/models/RDMHostLun.js +56 -0
- package/dist/models/SuccessfulImageUpgrade.d.ts +38 -0
- package/dist/models/SuccessfulImageUpgrade.js +59 -0
- package/dist/models/VMFilterOptionsResponse.d.ts +8 -0
- package/dist/models/VMFilterOptionsResponse.js +8 -0
- package/dist/models/VirtualMachine.d.ts +8 -0
- package/dist/models/VirtualMachine.js +4 -0
- package/dist/models/VirtualMachineDetail.d.ts +5 -0
- package/dist/models/VirtualMachineDetail.js +3 -0
- package/dist/models/VirtualMachineDisk.d.ts +8 -0
- package/dist/models/VirtualMachineDisk.js +4 -0
- package/dist/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/models/VirtualMachineIdentity.js +54 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/runtime.js +4 -3
- package/docs/AgentStatus.md +2 -0
- package/docs/Appliance.md +44 -0
- package/docs/ApplianceListResponse.md +34 -0
- package/docs/AppliancesApi.md +76 -0
- package/docs/ApplicationOverview.md +8 -0
- package/docs/CollectorApi.md +0 -70
- package/docs/GroupsApi.md +68 -0
- package/docs/Host.md +8 -0
- package/docs/ImageUpgradeApi.md +82 -0
- package/docs/ImageUpgradeImage.md +36 -0
- package/docs/ImageUpgradeResult.md +46 -0
- package/docs/ImageUpgradeStatus.md +40 -0
- package/docs/ImageUploadStatus.md +36 -0
- package/docs/OsInfo.md +2 -0
- package/docs/Product.md +52 -0
- package/docs/RDMBacking.md +8 -0
- package/docs/RDMHostLun.md +41 -0
- package/docs/SuccessfulImageUpgrade.md +38 -0
- package/docs/VMFilterOptionsResponse.md +4 -0
- package/docs/VirtualMachine.md +4 -0
- package/docs/VirtualMachineDetail.md +2 -0
- package/docs/VirtualMachineDisk.md +4 -0
- package/docs/VirtualMachineIdentity.md +36 -0
- package/package.json +1 -1
- package/src/apis/AppliancesApi.ts +111 -0
- package/src/apis/CollectorApi.ts +0 -97
- package/src/apis/GroupsApi.ts +80 -0
- package/src/apis/ImageUpgradeApi.ts +128 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AgentStatus.ts +14 -0
- package/src/models/Appliance.ts +107 -0
- package/src/models/ApplianceListResponse.ts +72 -0
- package/src/models/ApplicationOverview.ts +26 -0
- package/src/models/Host.ts +24 -0
- package/src/models/ImageUpgradeImage.ts +71 -0
- package/src/models/ImageUpgradeResult.ts +130 -0
- package/src/models/ImageUpgradeStatus.ts +100 -0
- package/src/models/ImageUploadStatus.ts +84 -0
- package/src/models/OsInfo.ts +15 -0
- package/src/models/Product.ts +118 -0
- package/src/models/RDMBacking.ts +44 -0
- package/src/models/RDMHostLun.ts +82 -0
- package/src/models/SuccessfulImageUpgrade.ts +78 -0
- package/src/models/VMFilterOptionsResponse.ts +14 -0
- package/src/models/VirtualMachine.ts +12 -0
- package/src/models/VirtualMachineDetail.ts +13 -0
- package/src/models/VirtualMachineDisk.ts +12 -0
- package/src/models/VirtualMachineIdentity.ts +71 -0
- package/src/models/index.ts +10 -0
- package/src/runtime.ts +3 -3
package/.openapi-generator/FILES
CHANGED
|
@@ -6,6 +6,9 @@ docs/AgentApi.md
|
|
|
6
6
|
docs/AgentModeRequest.md
|
|
7
7
|
docs/AgentStatus.md
|
|
8
8
|
docs/AgentStatusConsoleConnection.md
|
|
9
|
+
docs/Appliance.md
|
|
10
|
+
docs/ApplianceListResponse.md
|
|
11
|
+
docs/AppliancesApi.md
|
|
9
12
|
docs/ApplicationListResponse.md
|
|
10
13
|
docs/ApplicationOverview.md
|
|
11
14
|
docs/ApplicationVM.md
|
|
@@ -52,6 +55,11 @@ docs/Host.md
|
|
|
52
55
|
docs/HostPhysicalNIC.md
|
|
53
56
|
docs/HostStorageAdapter.md
|
|
54
57
|
docs/HostStorageLun.md
|
|
58
|
+
docs/ImageUpgradeApi.md
|
|
59
|
+
docs/ImageUpgradeImage.md
|
|
60
|
+
docs/ImageUpgradeResult.md
|
|
61
|
+
docs/ImageUpgradeStatus.md
|
|
62
|
+
docs/ImageUploadStatus.md
|
|
55
63
|
docs/Infra.md
|
|
56
64
|
docs/InspectionStatus.md
|
|
57
65
|
docs/InspectorApi.md
|
|
@@ -67,7 +75,9 @@ docs/OsInfo.md
|
|
|
67
75
|
docs/PairCapability.md
|
|
68
76
|
docs/PairCapabilityRequest.md
|
|
69
77
|
docs/Process.md
|
|
78
|
+
docs/Product.md
|
|
70
79
|
docs/RDMBacking.md
|
|
80
|
+
docs/RDMHostLun.md
|
|
71
81
|
docs/RightsizingApi.md
|
|
72
82
|
docs/RightsizingClusterResponse.md
|
|
73
83
|
docs/RightsizingClusterUtilization.md
|
|
@@ -75,6 +85,7 @@ docs/StartForecasterRequest.md
|
|
|
75
85
|
docs/StartInspectionRequest.md
|
|
76
86
|
docs/StopForecasterPair202Response.md
|
|
77
87
|
docs/StorageIoConfiguration.md
|
|
88
|
+
docs/SuccessfulImageUpgrade.md
|
|
78
89
|
docs/UpdateGroupRequest.md
|
|
79
90
|
docs/UpdateInventory.md
|
|
80
91
|
docs/UpdateLabelVMsRequest.md
|
|
@@ -92,6 +103,7 @@ docs/VirtualMachineDatastore.md
|
|
|
92
103
|
docs/VirtualMachineDetail.md
|
|
93
104
|
docs/VirtualMachineDevice.md
|
|
94
105
|
docs/VirtualMachineDisk.md
|
|
106
|
+
docs/VirtualMachineIdentity.md
|
|
95
107
|
docs/VirtualMachineInspectionConcern.md
|
|
96
108
|
docs/VirtualMachineInspectionResults.md
|
|
97
109
|
docs/VirtualMachineIssue.md
|
|
@@ -102,12 +114,14 @@ docs/VirtualMachinesApi.md
|
|
|
102
114
|
docs/VmUtilizationDetails.md
|
|
103
115
|
package.json
|
|
104
116
|
src/apis/AgentApi.ts
|
|
117
|
+
src/apis/AppliancesApi.ts
|
|
105
118
|
src/apis/ApplicationsApi.ts
|
|
106
119
|
src/apis/CollectionsApi.ts
|
|
107
120
|
src/apis/CollectorApi.ts
|
|
108
121
|
src/apis/CredentialsApi.ts
|
|
109
122
|
src/apis/ForecasterApi.ts
|
|
110
123
|
src/apis/GroupsApi.ts
|
|
124
|
+
src/apis/ImageUpgradeApi.ts
|
|
111
125
|
src/apis/InspectorApi.ts
|
|
112
126
|
src/apis/InventoriesApi.ts
|
|
113
127
|
src/apis/RightsizingApi.ts
|
|
@@ -118,6 +132,8 @@ src/index.ts
|
|
|
118
132
|
src/models/AgentModeRequest.ts
|
|
119
133
|
src/models/AgentStatus.ts
|
|
120
134
|
src/models/AgentStatusConsoleConnection.ts
|
|
135
|
+
src/models/Appliance.ts
|
|
136
|
+
src/models/ApplianceListResponse.ts
|
|
121
137
|
src/models/ApplicationListResponse.ts
|
|
122
138
|
src/models/ApplicationOverview.ts
|
|
123
139
|
src/models/ApplicationVM.ts
|
|
@@ -158,6 +174,10 @@ src/models/Host.ts
|
|
|
158
174
|
src/models/HostPhysicalNIC.ts
|
|
159
175
|
src/models/HostStorageAdapter.ts
|
|
160
176
|
src/models/HostStorageLun.ts
|
|
177
|
+
src/models/ImageUpgradeImage.ts
|
|
178
|
+
src/models/ImageUpgradeResult.ts
|
|
179
|
+
src/models/ImageUpgradeStatus.ts
|
|
180
|
+
src/models/ImageUploadStatus.ts
|
|
161
181
|
src/models/Infra.ts
|
|
162
182
|
src/models/InspectionStatus.ts
|
|
163
183
|
src/models/InspectorStatus.ts
|
|
@@ -171,13 +191,16 @@ src/models/OsInfo.ts
|
|
|
171
191
|
src/models/PairCapability.ts
|
|
172
192
|
src/models/PairCapabilityRequest.ts
|
|
173
193
|
src/models/Process.ts
|
|
194
|
+
src/models/Product.ts
|
|
174
195
|
src/models/RDMBacking.ts
|
|
196
|
+
src/models/RDMHostLun.ts
|
|
175
197
|
src/models/RightsizingClusterResponse.ts
|
|
176
198
|
src/models/RightsizingClusterUtilization.ts
|
|
177
199
|
src/models/StartForecasterRequest.ts
|
|
178
200
|
src/models/StartInspectionRequest.ts
|
|
179
201
|
src/models/StopForecasterPair202Response.ts
|
|
180
202
|
src/models/StorageIoConfiguration.ts
|
|
203
|
+
src/models/SuccessfulImageUpgrade.ts
|
|
181
204
|
src/models/UpdateGroupRequest.ts
|
|
182
205
|
src/models/UpdateInventory.ts
|
|
183
206
|
src/models/UpdateLabelVMsRequest.ts
|
|
@@ -194,6 +217,7 @@ src/models/VirtualMachineDatastore.ts
|
|
|
194
217
|
src/models/VirtualMachineDetail.ts
|
|
195
218
|
src/models/VirtualMachineDevice.ts
|
|
196
219
|
src/models/VirtualMachineDisk.ts
|
|
220
|
+
src/models/VirtualMachineIdentity.ts
|
|
197
221
|
src/models/VirtualMachineInspectionConcern.ts
|
|
198
222
|
src/models/VirtualMachineInspectionResults.ts
|
|
199
223
|
src/models/VirtualMachineIssue.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.29.0-SNAPSHOT
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/agent-sdk@0.
|
|
1
|
+
# @openshift-migration-advisor/agent-sdk@0.33.1-84c734aba511
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -47,6 +47,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
47
47
|
| ----- | ------ | ------------ | -------------
|
|
48
48
|
*AgentApi* | [**getAgentStatus**](docs/AgentApi.md#getagentstatus) | **GET** /agent | Get agent status
|
|
49
49
|
*AgentApi* | [**setAgentMode**](docs/AgentApi.md#setagentmode) | **POST** /agent | Change agent mode
|
|
50
|
+
*AppliancesApi* | [**listAppliances**](docs/AppliancesApi.md#listappliances) | **GET** /collections/{id}/appliances | List detected appliances in a collection
|
|
50
51
|
*ApplicationsApi* | [**listApplications**](docs/ApplicationsApi.md#listapplications) | **GET** /collections/{id}/applications | List detected applications in a collection
|
|
51
52
|
*CollectionsApi* | [**compareCollections**](docs/CollectionsApi.md#comparecollections) | **GET** /collections/compare/{aId}/{bId} | Compare two collections — returns aggregates and diffs
|
|
52
53
|
*CollectionsApi* | [**compareCollectionsDiff**](docs/CollectionsApi.md#comparecollectionsdiff) | **GET** /collections/compare/{aId}/{bId}/{dimension} | Drill down — VM IDs that differ between two collections for a given dimension
|
|
@@ -55,7 +56,6 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
55
56
|
*CollectionsApi* | [**listCollections**](docs/CollectionsApi.md#listcollections) | **GET** /collections | List all collections
|
|
56
57
|
*CollectorApi* | [**getCollectorStatus**](docs/CollectorApi.md#getcollectorstatus) | **GET** /collector | Get collector status
|
|
57
58
|
*CollectorApi* | [**startCollector**](docs/CollectorApi.md#startcollector) | **POST** /collector | Start a collection
|
|
58
|
-
*CollectorApi* | [**startRvtoolsCollector**](docs/CollectorApi.md#startrvtoolscollector) | **POST** /collector/rvtools | Start a collection from RVTools files
|
|
59
59
|
*CollectorApi* | [**stopCollector**](docs/CollectorApi.md#stopcollector) | **DELETE** /collector | Stop collector
|
|
60
60
|
*CredentialsApi* | [**deleteCredentials**](docs/CredentialsApi.md#deletecredentials) | **DELETE** /credentials | Delete stored credentials
|
|
61
61
|
*CredentialsApi* | [**getCredentialCapabilities**](docs/CredentialsApi.md#getcredentialcapabilities) | **GET** /credentials/capabilities | Check vSphere operation capabilities
|
|
@@ -74,10 +74,12 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
74
74
|
*GroupsApi* | [**deleteLatestGroup**](docs/GroupsApi.md#deletelatestgroup) | **DELETE** /groups/{groupId} | Delete group from the latest collection
|
|
75
75
|
*GroupsApi* | [**getGroup**](docs/GroupsApi.md#getgroup) | **GET** /collections/{id}/groups/{groupId} | Get group by ID with its VirtualMachines
|
|
76
76
|
*GroupsApi* | [**getLatestGroup**](docs/GroupsApi.md#getlatestgroup) | **GET** /groups/{groupId} | Get group by ID from the latest collection
|
|
77
|
+
*GroupsApi* | [**listGroupAppliances**](docs/GroupsApi.md#listgroupappliances) | **GET** /groups/{groupId}/appliances | List detected appliances for a group
|
|
77
78
|
*GroupsApi* | [**listGroupApplications**](docs/GroupsApi.md#listgroupapplications) | **GET** /groups/{groupId}/applications | List detected applications for a group
|
|
78
79
|
*GroupsApi* | [**listGroups**](docs/GroupsApi.md#listgroups) | **GET** /collections/{id}/groups | List all groups in a collection
|
|
79
80
|
*GroupsApi* | [**listLatestGroups**](docs/GroupsApi.md#listlatestgroups) | **GET** /groups | List groups from the latest collection
|
|
80
81
|
*GroupsApi* | [**updateLatestGroup**](docs/GroupsApi.md#updatelatestgroup) | **PATCH** /groups/{groupId} | Update group in the latest collection
|
|
82
|
+
*ImageUpgradeApi* | [**postImageUpgrade**](docs/ImageUpgradeApi.md#postimageupgrade) | **POST** /image-upgrades | Upload an OCI image for a disconnected appliance image upgrade
|
|
81
83
|
*InspectorApi* | [**getInspectorStatus**](docs/InspectorApi.md#getinspectorstatus) | **GET** /inspector | Get inspector status
|
|
82
84
|
*InspectorApi* | [**getInspectorVddkStatus**](docs/InspectorApi.md#getinspectorvddkstatus) | **GET** /inspector/vddk | Get VDDK upload status
|
|
83
85
|
*InspectorApi* | [**putInspectorVddk**](docs/InspectorApi.md#putinspectorvddk) | **PUT** /inspector/vddk | Upload VDDK tarball
|
|
@@ -109,6 +111,8 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
109
111
|
- [AgentModeRequest](docs/AgentModeRequest.md)
|
|
110
112
|
- [AgentStatus](docs/AgentStatus.md)
|
|
111
113
|
- [AgentStatusConsoleConnection](docs/AgentStatusConsoleConnection.md)
|
|
114
|
+
- [Appliance](docs/Appliance.md)
|
|
115
|
+
- [ApplianceListResponse](docs/ApplianceListResponse.md)
|
|
112
116
|
- [ApplicationListResponse](docs/ApplicationListResponse.md)
|
|
113
117
|
- [ApplicationOverview](docs/ApplicationOverview.md)
|
|
114
118
|
- [ApplicationVM](docs/ApplicationVM.md)
|
|
@@ -149,6 +153,10 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
149
153
|
- [HostPhysicalNIC](docs/HostPhysicalNIC.md)
|
|
150
154
|
- [HostStorageAdapter](docs/HostStorageAdapter.md)
|
|
151
155
|
- [HostStorageLun](docs/HostStorageLun.md)
|
|
156
|
+
- [ImageUpgradeImage](docs/ImageUpgradeImage.md)
|
|
157
|
+
- [ImageUpgradeResult](docs/ImageUpgradeResult.md)
|
|
158
|
+
- [ImageUpgradeStatus](docs/ImageUpgradeStatus.md)
|
|
159
|
+
- [ImageUploadStatus](docs/ImageUploadStatus.md)
|
|
152
160
|
- [Infra](docs/Infra.md)
|
|
153
161
|
- [InspectionStatus](docs/InspectionStatus.md)
|
|
154
162
|
- [InspectorStatus](docs/InspectorStatus.md)
|
|
@@ -162,13 +170,16 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
162
170
|
- [PairCapability](docs/PairCapability.md)
|
|
163
171
|
- [PairCapabilityRequest](docs/PairCapabilityRequest.md)
|
|
164
172
|
- [Process](docs/Process.md)
|
|
173
|
+
- [Product](docs/Product.md)
|
|
165
174
|
- [RDMBacking](docs/RDMBacking.md)
|
|
175
|
+
- [RDMHostLun](docs/RDMHostLun.md)
|
|
166
176
|
- [RightsizingClusterResponse](docs/RightsizingClusterResponse.md)
|
|
167
177
|
- [RightsizingClusterUtilization](docs/RightsizingClusterUtilization.md)
|
|
168
178
|
- [StartForecasterRequest](docs/StartForecasterRequest.md)
|
|
169
179
|
- [StartInspectionRequest](docs/StartInspectionRequest.md)
|
|
170
180
|
- [StopForecasterPair202Response](docs/StopForecasterPair202Response.md)
|
|
171
181
|
- [StorageIoConfiguration](docs/StorageIoConfiguration.md)
|
|
182
|
+
- [SuccessfulImageUpgrade](docs/SuccessfulImageUpgrade.md)
|
|
172
183
|
- [UpdateGroupRequest](docs/UpdateGroupRequest.md)
|
|
173
184
|
- [UpdateInventory](docs/UpdateInventory.md)
|
|
174
185
|
- [UpdateLabelVMsRequest](docs/UpdateLabelVMsRequest.md)
|
|
@@ -185,6 +196,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
185
196
|
- [VirtualMachineDetail](docs/VirtualMachineDetail.md)
|
|
186
197
|
- [VirtualMachineDevice](docs/VirtualMachineDevice.md)
|
|
187
198
|
- [VirtualMachineDisk](docs/VirtualMachineDisk.md)
|
|
199
|
+
- [VirtualMachineIdentity](docs/VirtualMachineIdentity.md)
|
|
188
200
|
- [VirtualMachineInspectionConcern](docs/VirtualMachineInspectionConcern.md)
|
|
189
201
|
- [VirtualMachineInspectionResults](docs/VirtualMachineInspectionResults.md)
|
|
190
202
|
- [VirtualMachineIssue](docs/VirtualMachineIssue.md)
|
|
@@ -205,8 +217,8 @@ and is automatically generated by the
|
|
|
205
217
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
206
218
|
|
|
207
219
|
- API version: `v2`
|
|
208
|
-
- Package version: `0.
|
|
209
|
-
- Generator version: `7.
|
|
220
|
+
- Package version: `0.33.1-84c734aba511`
|
|
221
|
+
- Generator version: `7.29.0-SNAPSHOT`
|
|
210
222
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
211
223
|
|
|
212
224
|
The generated npm module supports the following:
|
|
@@ -0,0 +1,64 @@
|
|
|
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: v2
|
|
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
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import { type ApplianceListResponse } from '../models/ApplianceListResponse.js';
|
|
14
|
+
export interface ListAppliancesRequest {
|
|
15
|
+
/**
|
|
16
|
+
* Collection ID
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* AppliancesApi - interface
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
* @interface AppliancesApiInterface
|
|
25
|
+
*/
|
|
26
|
+
export interface AppliancesApiInterface {
|
|
27
|
+
/**
|
|
28
|
+
* Creates request options for listAppliances without sending the request
|
|
29
|
+
* @param {string} id Collection ID
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
* @memberof AppliancesApiInterface
|
|
32
|
+
*/
|
|
33
|
+
listAppliancesRequestOpts(requestParameters: ListAppliancesRequest): Promise<runtime.RequestOpts>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @summary List detected appliances in a collection
|
|
37
|
+
* @param {string} id Collection ID
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
* @memberof AppliancesApiInterface
|
|
41
|
+
*/
|
|
42
|
+
listAppliancesRaw(requestParameters: ListAppliancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplianceListResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* List detected appliances in a collection
|
|
45
|
+
*/
|
|
46
|
+
listAppliances(requestParameters: ListAppliancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplianceListResponse>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
export declare class AppliancesApi extends runtime.BaseAPI implements AppliancesApiInterface {
|
|
52
|
+
/**
|
|
53
|
+
* Creates request options for listAppliances without sending the request
|
|
54
|
+
*/
|
|
55
|
+
listAppliancesRequestOpts(requestParameters: ListAppliancesRequest): Promise<runtime.RequestOpts>;
|
|
56
|
+
/**
|
|
57
|
+
* List detected appliances in a collection
|
|
58
|
+
*/
|
|
59
|
+
listAppliancesRaw(requestParameters: ListAppliancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplianceListResponse>>;
|
|
60
|
+
/**
|
|
61
|
+
* List detected appliances in a collection
|
|
62
|
+
*/
|
|
63
|
+
listAppliances(requestParameters: ListAppliancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplianceListResponse>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.AppliancesApi = void 0;
|
|
26
|
+
const runtime = require("../runtime.js");
|
|
27
|
+
const ApplianceListResponse_js_1 = require("../models/ApplianceListResponse.js");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class AppliancesApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Creates request options for listAppliances without sending the request
|
|
34
|
+
*/
|
|
35
|
+
listAppliancesRequestOpts(requestParameters) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['id'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling listAppliances().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
let urlPath = `/collections/{id}/appliances`;
|
|
43
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
44
|
+
return {
|
|
45
|
+
path: urlPath,
|
|
46
|
+
method: 'GET',
|
|
47
|
+
headers: headerParameters,
|
|
48
|
+
query: queryParameters,
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* List detected appliances in a collection
|
|
54
|
+
*/
|
|
55
|
+
listAppliancesRaw(requestParameters, initOverrides) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
const requestOptions = yield this.listAppliancesRequestOpts(requestParameters);
|
|
58
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
59
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ApplianceListResponse_js_1.ApplianceListResponseFromJSON)(jsonValue));
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* List detected appliances in a collection
|
|
64
|
+
*/
|
|
65
|
+
listAppliances(requestParameters, initOverrides) {
|
|
66
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
67
|
+
const response = yield this.listAppliancesRaw(requestParameters, initOverrides);
|
|
68
|
+
return yield response.value();
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.AppliancesApi = AppliancesApi;
|
|
@@ -11,12 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
13
|
import { type CollectorStatus } from '../models/CollectorStatus.js';
|
|
14
|
-
export interface StartRvtoolsCollectorRequest {
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
files: Array<Blob>;
|
|
19
|
-
}
|
|
20
14
|
/**
|
|
21
15
|
* CollectorApi - interface
|
|
22
16
|
*
|
|
@@ -60,26 +54,6 @@ export interface CollectorApiInterface {
|
|
|
60
54
|
* Start a collection
|
|
61
55
|
*/
|
|
62
56
|
startCollector(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
63
|
-
/**
|
|
64
|
-
* Creates request options for startRvtoolsCollector without sending the request
|
|
65
|
-
* @param {Array<Blob>} files
|
|
66
|
-
* @throws {RequiredError}
|
|
67
|
-
* @memberof CollectorApiInterface
|
|
68
|
-
*/
|
|
69
|
-
startRvtoolsCollectorRequestOpts(requestParameters: StartRvtoolsCollectorRequest): Promise<runtime.RequestOpts>;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @summary Start a collection from RVTools files
|
|
73
|
-
* @param {Array<Blob>} files
|
|
74
|
-
* @param {*} [options] Override http request option.
|
|
75
|
-
* @throws {RequiredError}
|
|
76
|
-
* @memberof CollectorApiInterface
|
|
77
|
-
*/
|
|
78
|
-
startRvtoolsCollectorRaw(requestParameters: StartRvtoolsCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectorStatus>>;
|
|
79
|
-
/**
|
|
80
|
-
* Start a collection from RVTools files
|
|
81
|
-
*/
|
|
82
|
-
startRvtoolsCollector(requestParameters: StartRvtoolsCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
83
57
|
/**
|
|
84
58
|
* Creates request options for stopCollector without sending the request
|
|
85
59
|
* @throws {RequiredError}
|
|
@@ -127,18 +101,6 @@ export declare class CollectorApi extends runtime.BaseAPI implements CollectorAp
|
|
|
127
101
|
* Start a collection
|
|
128
102
|
*/
|
|
129
103
|
startCollector(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
130
|
-
/**
|
|
131
|
-
* Creates request options for startRvtoolsCollector without sending the request
|
|
132
|
-
*/
|
|
133
|
-
startRvtoolsCollectorRequestOpts(requestParameters: StartRvtoolsCollectorRequest): Promise<runtime.RequestOpts>;
|
|
134
|
-
/**
|
|
135
|
-
* Start a collection from RVTools files
|
|
136
|
-
*/
|
|
137
|
-
startRvtoolsCollectorRaw(requestParameters: StartRvtoolsCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectorStatus>>;
|
|
138
|
-
/**
|
|
139
|
-
* Start a collection from RVTools files
|
|
140
|
-
*/
|
|
141
|
-
startRvtoolsCollector(requestParameters: StartRvtoolsCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
142
104
|
/**
|
|
143
105
|
* Creates request options for stopCollector without sending the request
|
|
144
106
|
*/
|
|
@@ -99,65 +99,6 @@ class CollectorApi extends runtime.BaseAPI {
|
|
|
99
99
|
return yield response.value();
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
-
/**
|
|
103
|
-
* Creates request options for startRvtoolsCollector without sending the request
|
|
104
|
-
*/
|
|
105
|
-
startRvtoolsCollectorRequestOpts(requestParameters) {
|
|
106
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
-
if (requestParameters['files'] == null) {
|
|
108
|
-
throw new runtime.RequiredError('files', 'Required parameter "files" was null or undefined when calling startRvtoolsCollector().');
|
|
109
|
-
}
|
|
110
|
-
const queryParameters = {};
|
|
111
|
-
const headerParameters = {};
|
|
112
|
-
const consumes = [
|
|
113
|
-
{ contentType: 'multipart/form-data' },
|
|
114
|
-
];
|
|
115
|
-
// @ts-ignore: canConsumeForm may be unused
|
|
116
|
-
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
117
|
-
let formParams;
|
|
118
|
-
let useForm = false;
|
|
119
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
120
|
-
useForm = canConsumeForm;
|
|
121
|
-
if (useForm) {
|
|
122
|
-
formParams = new FormData();
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
formParams = new URLSearchParams();
|
|
126
|
-
}
|
|
127
|
-
if (requestParameters['files'] != null) {
|
|
128
|
-
requestParameters['files'].forEach((element) => {
|
|
129
|
-
formParams.append('files', element);
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
let urlPath = `/collector/rvtools`;
|
|
133
|
-
return {
|
|
134
|
-
path: urlPath,
|
|
135
|
-
method: 'POST',
|
|
136
|
-
headers: headerParameters,
|
|
137
|
-
query: queryParameters,
|
|
138
|
-
body: formParams,
|
|
139
|
-
};
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Start a collection from RVTools files
|
|
144
|
-
*/
|
|
145
|
-
startRvtoolsCollectorRaw(requestParameters, initOverrides) {
|
|
146
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
-
const requestOptions = yield this.startRvtoolsCollectorRequestOpts(requestParameters);
|
|
148
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
149
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, CollectorStatus_js_1.CollectorStatusFromJSON)(jsonValue));
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Start a collection from RVTools files
|
|
154
|
-
*/
|
|
155
|
-
startRvtoolsCollector(requestParameters, initOverrides) {
|
|
156
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
-
const response = yield this.startRvtoolsCollectorRaw(requestParameters, initOverrides);
|
|
158
|
-
return yield response.value();
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
102
|
/**
|
|
162
103
|
* Creates request options for stopCollector without sending the request
|
|
163
104
|
*/
|
package/dist/apis/GroupsApi.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
+
import { type ApplianceListResponse } from '../models/ApplianceListResponse.js';
|
|
13
14
|
import { type ApplicationListResponse } from '../models/ApplicationListResponse.js';
|
|
14
15
|
import { type CreateGroupRequest } from '../models/CreateGroupRequest.js';
|
|
15
16
|
import { type Group } from '../models/Group.js';
|
|
@@ -68,6 +69,12 @@ export interface GetLatestGroupRequest {
|
|
|
68
69
|
*/
|
|
69
70
|
pageSize?: number;
|
|
70
71
|
}
|
|
72
|
+
export interface ListGroupAppliancesRequest {
|
|
73
|
+
/**
|
|
74
|
+
* Group ID
|
|
75
|
+
*/
|
|
76
|
+
groupId: string;
|
|
77
|
+
}
|
|
71
78
|
export interface ListGroupApplicationsRequest {
|
|
72
79
|
/**
|
|
73
80
|
* Group ID
|
|
@@ -217,6 +224,26 @@ export interface GroupsApiInterface {
|
|
|
217
224
|
* Get group by ID from the latest collection
|
|
218
225
|
*/
|
|
219
226
|
getLatestGroup(requestParameters: GetLatestGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupResponse>;
|
|
227
|
+
/**
|
|
228
|
+
* Creates request options for listGroupAppliances without sending the request
|
|
229
|
+
* @param {string} groupId Group ID
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
* @memberof GroupsApiInterface
|
|
232
|
+
*/
|
|
233
|
+
listGroupAppliancesRequestOpts(requestParameters: ListGroupAppliancesRequest): Promise<runtime.RequestOpts>;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @summary List detected appliances for a group
|
|
237
|
+
* @param {string} groupId Group ID
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
* @memberof GroupsApiInterface
|
|
241
|
+
*/
|
|
242
|
+
listGroupAppliancesRaw(requestParameters: ListGroupAppliancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplianceListResponse>>;
|
|
243
|
+
/**
|
|
244
|
+
* List detected appliances for a group
|
|
245
|
+
*/
|
|
246
|
+
listGroupAppliances(requestParameters: ListGroupAppliancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplianceListResponse>;
|
|
220
247
|
/**
|
|
221
248
|
* Creates request options for listGroupApplications without sending the request
|
|
222
249
|
* @param {string} groupId Group ID
|
|
@@ -362,6 +389,18 @@ export declare class GroupsApi extends runtime.BaseAPI implements GroupsApiInter
|
|
|
362
389
|
* Get group by ID from the latest collection
|
|
363
390
|
*/
|
|
364
391
|
getLatestGroup(requestParameters: GetLatestGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupResponse>;
|
|
392
|
+
/**
|
|
393
|
+
* Creates request options for listGroupAppliances without sending the request
|
|
394
|
+
*/
|
|
395
|
+
listGroupAppliancesRequestOpts(requestParameters: ListGroupAppliancesRequest): Promise<runtime.RequestOpts>;
|
|
396
|
+
/**
|
|
397
|
+
* List detected appliances for a group
|
|
398
|
+
*/
|
|
399
|
+
listGroupAppliancesRaw(requestParameters: ListGroupAppliancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplianceListResponse>>;
|
|
400
|
+
/**
|
|
401
|
+
* List detected appliances for a group
|
|
402
|
+
*/
|
|
403
|
+
listGroupAppliances(requestParameters: ListGroupAppliancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplianceListResponse>;
|
|
365
404
|
/**
|
|
366
405
|
* Creates request options for listGroupApplications without sending the request
|
|
367
406
|
*/
|
package/dist/apis/GroupsApi.js
CHANGED
|
@@ -24,6 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.GroupsApi = void 0;
|
|
26
26
|
const runtime = require("../runtime.js");
|
|
27
|
+
const ApplianceListResponse_js_1 = require("../models/ApplianceListResponse.js");
|
|
27
28
|
const ApplicationListResponse_js_1 = require("../models/ApplicationListResponse.js");
|
|
28
29
|
const CreateGroupRequest_js_1 = require("../models/CreateGroupRequest.js");
|
|
29
30
|
const Group_js_1 = require("../models/Group.js");
|
|
@@ -212,6 +213,45 @@ class GroupsApi extends runtime.BaseAPI {
|
|
|
212
213
|
return yield response.value();
|
|
213
214
|
});
|
|
214
215
|
}
|
|
216
|
+
/**
|
|
217
|
+
* Creates request options for listGroupAppliances without sending the request
|
|
218
|
+
*/
|
|
219
|
+
listGroupAppliancesRequestOpts(requestParameters) {
|
|
220
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
221
|
+
if (requestParameters['groupId'] == null) {
|
|
222
|
+
throw new runtime.RequiredError('groupId', 'Required parameter "groupId" was null or undefined when calling listGroupAppliances().');
|
|
223
|
+
}
|
|
224
|
+
const queryParameters = {};
|
|
225
|
+
const headerParameters = {};
|
|
226
|
+
let urlPath = `/groups/{groupId}/appliances`;
|
|
227
|
+
urlPath = urlPath.replace('{groupId}', encodeURIComponent(String(requestParameters['groupId'])));
|
|
228
|
+
return {
|
|
229
|
+
path: urlPath,
|
|
230
|
+
method: 'GET',
|
|
231
|
+
headers: headerParameters,
|
|
232
|
+
query: queryParameters,
|
|
233
|
+
};
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* List detected appliances for a group
|
|
238
|
+
*/
|
|
239
|
+
listGroupAppliancesRaw(requestParameters, initOverrides) {
|
|
240
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
241
|
+
const requestOptions = yield this.listGroupAppliancesRequestOpts(requestParameters);
|
|
242
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
243
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ApplianceListResponse_js_1.ApplianceListResponseFromJSON)(jsonValue));
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* List detected appliances for a group
|
|
248
|
+
*/
|
|
249
|
+
listGroupAppliances(requestParameters, initOverrides) {
|
|
250
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
251
|
+
const response = yield this.listGroupAppliancesRaw(requestParameters, initOverrides);
|
|
252
|
+
return yield response.value();
|
|
253
|
+
});
|
|
254
|
+
}
|
|
215
255
|
/**
|
|
216
256
|
* Creates request options for listGroupApplications without sending the request
|
|
217
257
|
*/
|
|
@@ -0,0 +1,66 @@
|
|
|
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: v2
|
|
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
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
export interface PostImageUpgradeRequest {
|
|
14
|
+
/**
|
|
15
|
+
* OCI archive; maximum file payload is 3 GiB
|
|
16
|
+
*/
|
|
17
|
+
file: Blob;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* ImageUpgradeApi - interface
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ImageUpgradeApiInterface
|
|
24
|
+
*/
|
|
25
|
+
export interface ImageUpgradeApiInterface {
|
|
26
|
+
/**
|
|
27
|
+
* Creates request options for postImageUpgrade without sending the request
|
|
28
|
+
* @param {Blob} file OCI archive; maximum file payload is 3 GiB
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
* @memberof ImageUpgradeApiInterface
|
|
31
|
+
*/
|
|
32
|
+
postImageUpgradeRequestOpts(requestParameters: PostImageUpgradeRequest): Promise<runtime.RequestOpts>;
|
|
33
|
+
/**
|
|
34
|
+
* Validate the complete upload and atomically place the archive in the watched directory. The host owns upgrade execution. Read imageUpgradeStatus in GET /agent for upload activity and the last host result.
|
|
35
|
+
* @summary Upload an OCI image for a disconnected appliance image upgrade
|
|
36
|
+
* @param {Blob} file OCI archive; maximum file payload is 3 GiB
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
* @memberof ImageUpgradeApiInterface
|
|
40
|
+
*/
|
|
41
|
+
postImageUpgradeRaw(requestParameters: PostImageUpgradeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
42
|
+
/**
|
|
43
|
+
* Validate the complete upload and atomically place the archive in the watched directory. The host owns upgrade execution. Read imageUpgradeStatus in GET /agent for upload activity and the last host result.
|
|
44
|
+
* Upload an OCI image for a disconnected appliance image upgrade
|
|
45
|
+
*/
|
|
46
|
+
postImageUpgrade(requestParameters: PostImageUpgradeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
export declare class ImageUpgradeApi extends runtime.BaseAPI implements ImageUpgradeApiInterface {
|
|
52
|
+
/**
|
|
53
|
+
* Creates request options for postImageUpgrade without sending the request
|
|
54
|
+
*/
|
|
55
|
+
postImageUpgradeRequestOpts(requestParameters: PostImageUpgradeRequest): Promise<runtime.RequestOpts>;
|
|
56
|
+
/**
|
|
57
|
+
* Validate the complete upload and atomically place the archive in the watched directory. The host owns upgrade execution. Read imageUpgradeStatus in GET /agent for upload activity and the last host result.
|
|
58
|
+
* Upload an OCI image for a disconnected appliance image upgrade
|
|
59
|
+
*/
|
|
60
|
+
postImageUpgradeRaw(requestParameters: PostImageUpgradeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
61
|
+
/**
|
|
62
|
+
* Validate the complete upload and atomically place the archive in the watched directory. The host owns upgrade execution. Read imageUpgradeStatus in GET /agent for upload activity and the last host result.
|
|
63
|
+
* Upload an OCI image for a disconnected appliance image upgrade
|
|
64
|
+
*/
|
|
65
|
+
postImageUpgrade(requestParameters: PostImageUpgradeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
66
|
+
}
|