@openshift-migration-advisor/agent-sdk 0.32.0 → 0.33.0-e1c90d7b1b79
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 +38 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +28 -4
- package/dist/apis/AppliancesApi.d.ts +258 -0
- package/dist/apis/AppliancesApi.js +273 -0
- package/dist/apis/CollectorApi.d.ts +0 -38
- package/dist/apis/CollectorApi.js +0 -59
- package/dist/apis/GroupsApi.d.ts +45 -6
- 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/VirtualMachinesApi.d.ts +6 -6
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/AppliancesApi.d.ts +258 -0
- package/dist/esm/apis/AppliancesApi.js +269 -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 +45 -6
- 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/VirtualMachinesApi.d.ts +6 -6
- 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/ApplianceRule.d.ts +90 -0
- package/dist/esm/models/ApplianceRule.js +98 -0
- package/dist/esm/models/ApplianceRuleCondition.d.ts +42 -0
- package/dist/esm/models/ApplianceRuleCondition.js +48 -0
- package/dist/esm/models/ApplianceRuleFunction.d.ts +37 -0
- package/dist/esm/models/ApplianceRuleFunction.js +46 -0
- package/dist/esm/models/ApplianceRuleListResponse.d.ts +31 -0
- package/dist/esm/models/ApplianceRuleListResponse.js +44 -0
- package/dist/esm/models/ApplianceRuleRequest.d.ts +74 -0
- package/dist/esm/models/ApplianceRuleRequest.js +85 -0
- package/dist/esm/models/ApplicationOverview.d.ts +16 -0
- package/dist/esm/models/ApplicationOverview.js +12 -0
- package/dist/esm/models/Datastore.d.ts +9 -0
- package/dist/esm/models/Datastore.js +5 -0
- package/dist/esm/models/DiskGeometryCondition.d.ts +47 -0
- package/dist/esm/models/DiskGeometryCondition.js +58 -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/StorageArray.d.ts +42 -0
- package/dist/esm/models/StorageArray.js +47 -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/VirtualMachineDatastore.d.ts +9 -0
- package/dist/esm/models/VirtualMachineDatastore.js +5 -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 +17 -0
- package/dist/esm/models/index.js +17 -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/ApplianceRule.d.ts +90 -0
- package/dist/models/ApplianceRule.js +106 -0
- package/dist/models/ApplianceRuleCondition.d.ts +42 -0
- package/dist/models/ApplianceRuleCondition.js +55 -0
- package/dist/models/ApplianceRuleFunction.d.ts +37 -0
- package/dist/models/ApplianceRuleFunction.js +53 -0
- package/dist/models/ApplianceRuleListResponse.d.ts +31 -0
- package/dist/models/ApplianceRuleListResponse.js +51 -0
- package/dist/models/ApplianceRuleRequest.d.ts +74 -0
- package/dist/models/ApplianceRuleRequest.js +93 -0
- package/dist/models/ApplicationOverview.d.ts +16 -0
- package/dist/models/ApplicationOverview.js +12 -0
- package/dist/models/Datastore.d.ts +9 -0
- package/dist/models/Datastore.js +5 -0
- package/dist/models/DiskGeometryCondition.d.ts +47 -0
- package/dist/models/DiskGeometryCondition.js +66 -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/StorageArray.d.ts +42 -0
- package/dist/models/StorageArray.js +54 -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/VirtualMachineDatastore.d.ts +9 -0
- package/dist/models/VirtualMachineDatastore.js +5 -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 +17 -0
- package/dist/models/index.js +17 -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/ApplianceRule.md +50 -0
- package/docs/ApplianceRuleCondition.md +39 -0
- package/docs/ApplianceRuleFunction.md +37 -0
- package/docs/ApplianceRuleListResponse.md +34 -0
- package/docs/ApplianceRuleRequest.md +46 -0
- package/docs/AppliancesApi.md +414 -0
- package/docs/ApplicationOverview.md +8 -0
- package/docs/CollectorApi.md +0 -70
- package/docs/Datastore.md +4 -0
- package/docs/DiskGeometryCondition.md +38 -0
- package/docs/GroupsApi.md +72 -4
- 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/StorageArray.md +41 -0
- package/docs/SuccessfulImageUpgrade.md +38 -0
- package/docs/VMFilterOptionsResponse.md +4 -0
- package/docs/VirtualMachine.md +4 -0
- package/docs/VirtualMachineDatastore.md +4 -0
- package/docs/VirtualMachineDetail.md +2 -0
- package/docs/VirtualMachineDisk.md +4 -0
- package/docs/VirtualMachineIdentity.md +36 -0
- package/docs/VirtualMachinesApi.md +4 -4
- package/package.json +1 -1
- package/src/apis/AppliancesApi.ts +504 -0
- package/src/apis/CollectorApi.ts +0 -97
- package/src/apis/GroupsApi.ts +86 -6
- package/src/apis/ImageUpgradeApi.ts +128 -0
- package/src/apis/VirtualMachinesApi.ts +6 -6
- 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/ApplianceRule.ts +159 -0
- package/src/models/ApplianceRuleCondition.ts +87 -0
- package/src/models/ApplianceRuleFunction.ts +80 -0
- package/src/models/ApplianceRuleListResponse.ts +72 -0
- package/src/models/ApplianceRuleRequest.ts +137 -0
- package/src/models/ApplicationOverview.ts +26 -0
- package/src/models/Datastore.ts +19 -0
- package/src/models/DiskGeometryCondition.ts +90 -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/StorageArray.ts +81 -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/VirtualMachineDatastore.ts +20 -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 +17 -0
- package/src/runtime.ts +3 -3
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
# AppliancesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**createApplianceRule**](AppliancesApi.md#createappliancerule) | **POST** /appliances/rules | Create an appliance rule |
|
|
8
|
+
| [**deleteApplianceRule**](AppliancesApi.md#deleteappliancerule) | **DELETE** /appliances/rules/{ruleId} | Delete an appliance rule |
|
|
9
|
+
| [**getApplianceRule**](AppliancesApi.md#getappliancerule) | **GET** /appliances/rules/{ruleId} | Get an appliance rule |
|
|
10
|
+
| [**listApplianceRules**](AppliancesApi.md#listappliancerules) | **GET** /appliances/rules | List appliance rules |
|
|
11
|
+
| [**listAppliances**](AppliancesApi.md#listappliances) | **GET** /collections/{id}/appliances | List detected appliances in a collection |
|
|
12
|
+
| [**updateApplianceRule**](AppliancesApi.md#updateappliancerule) | **PUT** /appliances/rules/{ruleId} | Replace an appliance rule |
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## createApplianceRule
|
|
17
|
+
|
|
18
|
+
> ApplianceRule createApplianceRule(applianceRuleRequest)
|
|
19
|
+
|
|
20
|
+
Create an appliance rule
|
|
21
|
+
|
|
22
|
+
### Example
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
import {
|
|
26
|
+
Configuration,
|
|
27
|
+
AppliancesApi,
|
|
28
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
29
|
+
import type { CreateApplianceRuleRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
30
|
+
|
|
31
|
+
async function example() {
|
|
32
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
33
|
+
const api = new AppliancesApi();
|
|
34
|
+
|
|
35
|
+
const body = {
|
|
36
|
+
// ApplianceRuleRequest
|
|
37
|
+
applianceRuleRequest: ...,
|
|
38
|
+
} satisfies CreateApplianceRuleRequest;
|
|
39
|
+
|
|
40
|
+
try {
|
|
41
|
+
const data = await api.createApplianceRule(body);
|
|
42
|
+
console.log(data);
|
|
43
|
+
} catch (error) {
|
|
44
|
+
console.error(error);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Run the test
|
|
49
|
+
example().catch(console.error);
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Parameters
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
| Name | Type | Description | Notes |
|
|
56
|
+
|------------- | ------------- | ------------- | -------------|
|
|
57
|
+
| **applianceRuleRequest** | [ApplianceRuleRequest](ApplianceRuleRequest.md) | | |
|
|
58
|
+
|
|
59
|
+
### Return type
|
|
60
|
+
|
|
61
|
+
[**ApplianceRule**](ApplianceRule.md)
|
|
62
|
+
|
|
63
|
+
### Authorization
|
|
64
|
+
|
|
65
|
+
No authorization required
|
|
66
|
+
|
|
67
|
+
### HTTP request headers
|
|
68
|
+
|
|
69
|
+
- **Content-Type**: `application/json`
|
|
70
|
+
- **Accept**: `application/json`
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### HTTP response details
|
|
74
|
+
| Status code | Description | Response headers |
|
|
75
|
+
|-------------|-------------|------------------|
|
|
76
|
+
| **201** | Rule created | - |
|
|
77
|
+
| **400** | Invalid rule or rule already exists | - |
|
|
78
|
+
| **500** | Internal server error | - |
|
|
79
|
+
|
|
80
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## deleteApplianceRule
|
|
84
|
+
|
|
85
|
+
> deleteApplianceRule(ruleId)
|
|
86
|
+
|
|
87
|
+
Delete an appliance rule
|
|
88
|
+
|
|
89
|
+
### Example
|
|
90
|
+
|
|
91
|
+
```ts
|
|
92
|
+
import {
|
|
93
|
+
Configuration,
|
|
94
|
+
AppliancesApi,
|
|
95
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
96
|
+
import type { DeleteApplianceRuleRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
97
|
+
|
|
98
|
+
async function example() {
|
|
99
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
100
|
+
const api = new AppliancesApi();
|
|
101
|
+
|
|
102
|
+
const body = {
|
|
103
|
+
// string | Rule ID
|
|
104
|
+
ruleId: ruleId_example,
|
|
105
|
+
} satisfies DeleteApplianceRuleRequest;
|
|
106
|
+
|
|
107
|
+
try {
|
|
108
|
+
const data = await api.deleteApplianceRule(body);
|
|
109
|
+
console.log(data);
|
|
110
|
+
} catch (error) {
|
|
111
|
+
console.error(error);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Run the test
|
|
116
|
+
example().catch(console.error);
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Parameters
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
| Name | Type | Description | Notes |
|
|
123
|
+
|------------- | ------------- | ------------- | -------------|
|
|
124
|
+
| **ruleId** | `string` | Rule ID | [Defaults to `undefined`] |
|
|
125
|
+
|
|
126
|
+
### Return type
|
|
127
|
+
|
|
128
|
+
`void` (Empty response body)
|
|
129
|
+
|
|
130
|
+
### Authorization
|
|
131
|
+
|
|
132
|
+
No authorization required
|
|
133
|
+
|
|
134
|
+
### HTTP request headers
|
|
135
|
+
|
|
136
|
+
- **Content-Type**: Not defined
|
|
137
|
+
- **Accept**: Not defined
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### HTTP response details
|
|
141
|
+
| Status code | Description | Response headers |
|
|
142
|
+
|-------------|-------------|------------------|
|
|
143
|
+
| **204** | Rule deleted, or no rule had this id | - |
|
|
144
|
+
| **400** | Rule ID is not a number | - |
|
|
145
|
+
| **500** | Internal server error | - |
|
|
146
|
+
|
|
147
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
## getApplianceRule
|
|
151
|
+
|
|
152
|
+
> ApplianceRule getApplianceRule(ruleId)
|
|
153
|
+
|
|
154
|
+
Get an appliance rule
|
|
155
|
+
|
|
156
|
+
### Example
|
|
157
|
+
|
|
158
|
+
```ts
|
|
159
|
+
import {
|
|
160
|
+
Configuration,
|
|
161
|
+
AppliancesApi,
|
|
162
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
163
|
+
import type { GetApplianceRuleRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
164
|
+
|
|
165
|
+
async function example() {
|
|
166
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
167
|
+
const api = new AppliancesApi();
|
|
168
|
+
|
|
169
|
+
const body = {
|
|
170
|
+
// string | Rule ID
|
|
171
|
+
ruleId: ruleId_example,
|
|
172
|
+
} satisfies GetApplianceRuleRequest;
|
|
173
|
+
|
|
174
|
+
try {
|
|
175
|
+
const data = await api.getApplianceRule(body);
|
|
176
|
+
console.log(data);
|
|
177
|
+
} catch (error) {
|
|
178
|
+
console.error(error);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// Run the test
|
|
183
|
+
example().catch(console.error);
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Parameters
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
| Name | Type | Description | Notes |
|
|
190
|
+
|------------- | ------------- | ------------- | -------------|
|
|
191
|
+
| **ruleId** | `string` | Rule ID | [Defaults to `undefined`] |
|
|
192
|
+
|
|
193
|
+
### Return type
|
|
194
|
+
|
|
195
|
+
[**ApplianceRule**](ApplianceRule.md)
|
|
196
|
+
|
|
197
|
+
### Authorization
|
|
198
|
+
|
|
199
|
+
No authorization required
|
|
200
|
+
|
|
201
|
+
### HTTP request headers
|
|
202
|
+
|
|
203
|
+
- **Content-Type**: Not defined
|
|
204
|
+
- **Accept**: `application/json`
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
### HTTP response details
|
|
208
|
+
| Status code | Description | Response headers |
|
|
209
|
+
|-------------|-------------|------------------|
|
|
210
|
+
| **200** | Rule | - |
|
|
211
|
+
| **400** | Rule ID is not a number | - |
|
|
212
|
+
| **404** | Rule not found | - |
|
|
213
|
+
| **500** | Internal server error | - |
|
|
214
|
+
|
|
215
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
## listApplianceRules
|
|
219
|
+
|
|
220
|
+
> ApplianceRuleListResponse listApplianceRules()
|
|
221
|
+
|
|
222
|
+
List appliance rules
|
|
223
|
+
|
|
224
|
+
### Example
|
|
225
|
+
|
|
226
|
+
```ts
|
|
227
|
+
import {
|
|
228
|
+
Configuration,
|
|
229
|
+
AppliancesApi,
|
|
230
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
231
|
+
import type { ListApplianceRulesRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
232
|
+
|
|
233
|
+
async function example() {
|
|
234
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
235
|
+
const api = new AppliancesApi();
|
|
236
|
+
|
|
237
|
+
try {
|
|
238
|
+
const data = await api.listApplianceRules();
|
|
239
|
+
console.log(data);
|
|
240
|
+
} catch (error) {
|
|
241
|
+
console.error(error);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// Run the test
|
|
246
|
+
example().catch(console.error);
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
### Parameters
|
|
250
|
+
|
|
251
|
+
This endpoint does not need any parameter.
|
|
252
|
+
|
|
253
|
+
### Return type
|
|
254
|
+
|
|
255
|
+
[**ApplianceRuleListResponse**](ApplianceRuleListResponse.md)
|
|
256
|
+
|
|
257
|
+
### Authorization
|
|
258
|
+
|
|
259
|
+
No authorization required
|
|
260
|
+
|
|
261
|
+
### HTTP request headers
|
|
262
|
+
|
|
263
|
+
- **Content-Type**: Not defined
|
|
264
|
+
- **Accept**: `application/json`
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
### HTTP response details
|
|
268
|
+
| Status code | Description | Response headers |
|
|
269
|
+
|-------------|-------------|------------------|
|
|
270
|
+
| **200** | Return appliance rules | - |
|
|
271
|
+
| **500** | Internal server error | - |
|
|
272
|
+
|
|
273
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
## listAppliances
|
|
277
|
+
|
|
278
|
+
> ApplianceListResponse listAppliances(id)
|
|
279
|
+
|
|
280
|
+
List detected appliances in a collection
|
|
281
|
+
|
|
282
|
+
### Example
|
|
283
|
+
|
|
284
|
+
```ts
|
|
285
|
+
import {
|
|
286
|
+
Configuration,
|
|
287
|
+
AppliancesApi,
|
|
288
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
289
|
+
import type { ListAppliancesRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
290
|
+
|
|
291
|
+
async function example() {
|
|
292
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
293
|
+
const api = new AppliancesApi();
|
|
294
|
+
|
|
295
|
+
const body = {
|
|
296
|
+
// string | Collection ID
|
|
297
|
+
id: id_example,
|
|
298
|
+
} satisfies ListAppliancesRequest;
|
|
299
|
+
|
|
300
|
+
try {
|
|
301
|
+
const data = await api.listAppliances(body);
|
|
302
|
+
console.log(data);
|
|
303
|
+
} catch (error) {
|
|
304
|
+
console.error(error);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
// Run the test
|
|
309
|
+
example().catch(console.error);
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
### Parameters
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
| Name | Type | Description | Notes |
|
|
316
|
+
|------------- | ------------- | ------------- | -------------|
|
|
317
|
+
| **id** | `string` | Collection ID | [Defaults to `undefined`] |
|
|
318
|
+
|
|
319
|
+
### Return type
|
|
320
|
+
|
|
321
|
+
[**ApplianceListResponse**](ApplianceListResponse.md)
|
|
322
|
+
|
|
323
|
+
### Authorization
|
|
324
|
+
|
|
325
|
+
No authorization required
|
|
326
|
+
|
|
327
|
+
### HTTP request headers
|
|
328
|
+
|
|
329
|
+
- **Content-Type**: Not defined
|
|
330
|
+
- **Accept**: `application/json`
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
### HTTP response details
|
|
334
|
+
| Status code | Description | Response headers |
|
|
335
|
+
|-------------|-------------|------------------|
|
|
336
|
+
| **200** | List of detected appliances | - |
|
|
337
|
+
| **404** | Collection not found | - |
|
|
338
|
+
| **500** | Internal server error | - |
|
|
339
|
+
|
|
340
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
## updateApplianceRule
|
|
344
|
+
|
|
345
|
+
> ApplianceRule updateApplianceRule(ruleId, applianceRuleRequest)
|
|
346
|
+
|
|
347
|
+
Replace an appliance rule
|
|
348
|
+
|
|
349
|
+
Full replacement of the rule with this id, including its conditions. When no rule has this id a new rule is created and the response carries the server assigned id, which differs from the id in the path.
|
|
350
|
+
|
|
351
|
+
### Example
|
|
352
|
+
|
|
353
|
+
```ts
|
|
354
|
+
import {
|
|
355
|
+
Configuration,
|
|
356
|
+
AppliancesApi,
|
|
357
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
358
|
+
import type { UpdateApplianceRuleRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
359
|
+
|
|
360
|
+
async function example() {
|
|
361
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
362
|
+
const api = new AppliancesApi();
|
|
363
|
+
|
|
364
|
+
const body = {
|
|
365
|
+
// string | Rule ID
|
|
366
|
+
ruleId: ruleId_example,
|
|
367
|
+
// ApplianceRuleRequest
|
|
368
|
+
applianceRuleRequest: ...,
|
|
369
|
+
} satisfies UpdateApplianceRuleRequest;
|
|
370
|
+
|
|
371
|
+
try {
|
|
372
|
+
const data = await api.updateApplianceRule(body);
|
|
373
|
+
console.log(data);
|
|
374
|
+
} catch (error) {
|
|
375
|
+
console.error(error);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
// Run the test
|
|
380
|
+
example().catch(console.error);
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
### Parameters
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
| Name | Type | Description | Notes |
|
|
387
|
+
|------------- | ------------- | ------------- | -------------|
|
|
388
|
+
| **ruleId** | `string` | Rule ID | [Defaults to `undefined`] |
|
|
389
|
+
| **applianceRuleRequest** | [ApplianceRuleRequest](ApplianceRuleRequest.md) | | |
|
|
390
|
+
|
|
391
|
+
### Return type
|
|
392
|
+
|
|
393
|
+
[**ApplianceRule**](ApplianceRule.md)
|
|
394
|
+
|
|
395
|
+
### Authorization
|
|
396
|
+
|
|
397
|
+
No authorization required
|
|
398
|
+
|
|
399
|
+
### HTTP request headers
|
|
400
|
+
|
|
401
|
+
- **Content-Type**: `application/json`
|
|
402
|
+
- **Accept**: `application/json`
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
### HTTP response details
|
|
406
|
+
| Status code | Description | Response headers |
|
|
407
|
+
|-------------|-------------|------------------|
|
|
408
|
+
| **200** | Rule updated | - |
|
|
409
|
+
| **201** | No rule had this id, so a new rule was created | - |
|
|
410
|
+
| **400** | Invalid rule, invalid rule ID or rule already exists | - |
|
|
411
|
+
| **500** | Internal server error | - |
|
|
412
|
+
|
|
413
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
414
|
+
|
|
@@ -8,6 +8,10 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`name` | string
|
|
10
10
|
`description` | string
|
|
11
|
+
`vendor` | string
|
|
12
|
+
`category` | string
|
|
13
|
+
`confidence` | number
|
|
14
|
+
`containerizationCandidate` | boolean
|
|
11
15
|
`vmCount` | number
|
|
12
16
|
`vms` | [Array<ApplicationVM>](ApplicationVM.md)
|
|
13
17
|
|
|
@@ -20,6 +24,10 @@ import type { ApplicationOverview } from '@openshift-migration-advisor/agent-sdk
|
|
|
20
24
|
const example = {
|
|
21
25
|
"name": null,
|
|
22
26
|
"description": null,
|
|
27
|
+
"vendor": null,
|
|
28
|
+
"category": null,
|
|
29
|
+
"confidence": null,
|
|
30
|
+
"containerizationCandidate": null,
|
|
23
31
|
"vmCount": null,
|
|
24
32
|
"vms": null,
|
|
25
33
|
} satisfies ApplicationOverview
|
package/docs/CollectorApi.md
CHANGED
|
@@ -6,7 +6,6 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
| [**getCollectorStatus**](CollectorApi.md#getcollectorstatus) | **GET** /collector | Get collector status |
|
|
8
8
|
| [**startCollector**](CollectorApi.md#startcollector) | **POST** /collector | Start a collection |
|
|
9
|
-
| [**startRvtoolsCollector**](CollectorApi.md#startrvtoolscollector) | **POST** /collector/rvtools | Start a collection from RVTools files |
|
|
10
9
|
| [**stopCollector**](CollectorApi.md#stopcollector) | **DELETE** /collector | Stop collector |
|
|
11
10
|
|
|
12
11
|
|
|
@@ -129,75 +128,6 @@ No authorization required
|
|
|
129
128
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
130
129
|
|
|
131
130
|
|
|
132
|
-
## startRvtoolsCollector
|
|
133
|
-
|
|
134
|
-
> CollectorStatus startRvtoolsCollector(files)
|
|
135
|
-
|
|
136
|
-
Start a collection from RVTools files
|
|
137
|
-
|
|
138
|
-
### Example
|
|
139
|
-
|
|
140
|
-
```ts
|
|
141
|
-
import {
|
|
142
|
-
Configuration,
|
|
143
|
-
CollectorApi,
|
|
144
|
-
} from '@openshift-migration-advisor/agent-sdk';
|
|
145
|
-
import type { StartRvtoolsCollectorRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
146
|
-
|
|
147
|
-
async function example() {
|
|
148
|
-
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
149
|
-
const api = new CollectorApi();
|
|
150
|
-
|
|
151
|
-
const body = {
|
|
152
|
-
// Array<Blob>
|
|
153
|
-
files: [new Blob(['example file content'], { type: 'application/octet-stream' })],
|
|
154
|
-
} satisfies StartRvtoolsCollectorRequest;
|
|
155
|
-
|
|
156
|
-
try {
|
|
157
|
-
const data = await api.startRvtoolsCollector(body);
|
|
158
|
-
console.log(data);
|
|
159
|
-
} catch (error) {
|
|
160
|
-
console.error(error);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
// Run the test
|
|
165
|
-
example().catch(console.error);
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
### Parameters
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
| Name | Type | Description | Notes |
|
|
172
|
-
|------------- | ------------- | ------------- | -------------|
|
|
173
|
-
| **files** | `Array<Blob>` | | |
|
|
174
|
-
|
|
175
|
-
### Return type
|
|
176
|
-
|
|
177
|
-
[**CollectorStatus**](CollectorStatus.md)
|
|
178
|
-
|
|
179
|
-
### Authorization
|
|
180
|
-
|
|
181
|
-
No authorization required
|
|
182
|
-
|
|
183
|
-
### HTTP request headers
|
|
184
|
-
|
|
185
|
-
- **Content-Type**: `multipart/form-data`
|
|
186
|
-
- **Accept**: `application/json`
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
### HTTP response details
|
|
190
|
-
| Status code | Description | Response headers |
|
|
191
|
-
|-------------|-------------|------------------|
|
|
192
|
-
| **202** | Collection started | - |
|
|
193
|
-
| **400** | No files provided | - |
|
|
194
|
-
| **409** | Collection already in progress | - |
|
|
195
|
-
| **500** | Internal server error | - |
|
|
196
|
-
| **501** | RVTools mode is not enabled | - |
|
|
197
|
-
|
|
198
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
199
|
-
|
|
200
|
-
|
|
201
131
|
## stopCollector
|
|
202
132
|
|
|
203
133
|
> stopCollector()
|
package/docs/Datastore.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
+
`storageArrays` | [Array<StorageArray>](StorageArray.md)
|
|
10
|
+
`storageContainerId` | string
|
|
9
11
|
`type` | string
|
|
10
12
|
`backingDeviceIds` | Array<string>
|
|
11
13
|
`filesystemType` | string
|
|
@@ -29,6 +31,8 @@ import type { Datastore } from '@openshift-migration-advisor/agent-sdk'
|
|
|
29
31
|
|
|
30
32
|
// TODO: Update the object below with actual values
|
|
31
33
|
const example = {
|
|
34
|
+
"storageArrays": null,
|
|
35
|
+
"storageContainerId": null,
|
|
32
36
|
"type": null,
|
|
33
37
|
"backingDeviceIds": null,
|
|
34
38
|
"filesystemType": null,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# DiskGeometryCondition
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`disks` | Array<number>
|
|
10
|
+
`mode` | string
|
|
11
|
+
`tolerance_mib` | number
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { DiskGeometryCondition } from '@openshift-migration-advisor/agent-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"disks": null,
|
|
21
|
+
"mode": null,
|
|
22
|
+
"tolerance_mib": null,
|
|
23
|
+
} satisfies DiskGeometryCondition
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as DiskGeometryCondition
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
package/docs/GroupsApi.md
CHANGED
|
@@ -8,6 +8,7 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v2*
|
|
|
8
8
|
| [**deleteLatestGroup**](GroupsApi.md#deletelatestgroup) | **DELETE** /groups/{groupId} | Delete group from the latest collection |
|
|
9
9
|
| [**getGroup**](GroupsApi.md#getgroup) | **GET** /collections/{id}/groups/{groupId} | Get group by ID with its VirtualMachines |
|
|
10
10
|
| [**getLatestGroup**](GroupsApi.md#getlatestgroup) | **GET** /groups/{groupId} | Get group by ID from the latest collection |
|
|
11
|
+
| [**listGroupAppliances**](GroupsApi.md#listgroupappliances) | **GET** /groups/{groupId}/appliances | List detected appliances for a group |
|
|
11
12
|
| [**listGroupApplications**](GroupsApi.md#listgroupapplications) | **GET** /groups/{groupId}/applications | List detected applications for a group |
|
|
12
13
|
| [**listGroups**](GroupsApi.md#listgroups) | **GET** /collections/{id}/groups | List all groups in a collection |
|
|
13
14
|
| [**listLatestGroups**](GroupsApi.md#listlatestgroups) | **GET** /groups | List groups from the latest collection |
|
|
@@ -174,7 +175,7 @@ async function example() {
|
|
|
174
175
|
id: id_example,
|
|
175
176
|
// string | Group ID
|
|
176
177
|
groupId: groupId_example,
|
|
177
|
-
// Array<string> | Sort fields with direction (e.g., \"name:asc\", \"cluster:desc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg. (optional)
|
|
178
|
+
// Array<string> | Sort fields with direction (e.g., \"name:asc\", \"cluster:desc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg, guestOs. (optional)
|
|
178
179
|
sort: ["cluster:asc","name:desc"],
|
|
179
180
|
// number | Page number for pagination (optional)
|
|
180
181
|
page: 56,
|
|
@@ -201,7 +202,7 @@ example().catch(console.error);
|
|
|
201
202
|
|------------- | ------------- | ------------- | -------------|
|
|
202
203
|
| **id** | `string` | Collection ID | [Defaults to `undefined`] |
|
|
203
204
|
| **groupId** | `string` | Group ID | [Defaults to `undefined`] |
|
|
204
|
-
| **sort** | `Array<string>` | Sort fields with direction (e.g., \"name:asc\", \"cluster:desc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg. | [Optional] |
|
|
205
|
+
| **sort** | `Array<string>` | Sort fields with direction (e.g., \"name:asc\", \"cluster:desc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg, guestOs. | [Optional] |
|
|
205
206
|
| **page** | `number` | Page number for pagination | [Optional] [Defaults to `1`] |
|
|
206
207
|
| **pageSize** | `number` | Number of items per page | [Optional] [Defaults to `undefined`] |
|
|
207
208
|
|
|
@@ -251,7 +252,7 @@ async function example() {
|
|
|
251
252
|
const body = {
|
|
252
253
|
// string | Group ID
|
|
253
254
|
groupId: groupId_example,
|
|
254
|
-
// Array<string> | Sort fields with direction (e.g., \"name:asc\", \"cluster:desc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg. (optional)
|
|
255
|
+
// Array<string> | Sort fields with direction (e.g., \"name:asc\", \"cluster:desc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg, guestOs. (optional)
|
|
255
256
|
sort: ["cluster:asc","name:desc"],
|
|
256
257
|
// number | Page number for pagination (optional)
|
|
257
258
|
page: 56,
|
|
@@ -277,7 +278,7 @@ example().catch(console.error);
|
|
|
277
278
|
| Name | Type | Description | Notes |
|
|
278
279
|
|------------- | ------------- | ------------- | -------------|
|
|
279
280
|
| **groupId** | `string` | Group ID | [Defaults to `undefined`] |
|
|
280
|
-
| **sort** | `Array<string>` | Sort fields with direction (e.g., \"name:asc\", \"cluster:desc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg. | [Optional] |
|
|
281
|
+
| **sort** | `Array<string>` | Sort fields with direction (e.g., \"name:asc\", \"cluster:desc\"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg, guestOs. | [Optional] |
|
|
281
282
|
| **page** | `number` | Page number for pagination | [Optional] [Defaults to `1`] |
|
|
282
283
|
| **pageSize** | `number` | Number of items per page | [Optional] [Defaults to `undefined`] |
|
|
283
284
|
|
|
@@ -305,6 +306,73 @@ No authorization required
|
|
|
305
306
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
306
307
|
|
|
307
308
|
|
|
309
|
+
## listGroupAppliances
|
|
310
|
+
|
|
311
|
+
> ApplianceListResponse listGroupAppliances(groupId)
|
|
312
|
+
|
|
313
|
+
List detected appliances for a group
|
|
314
|
+
|
|
315
|
+
### Example
|
|
316
|
+
|
|
317
|
+
```ts
|
|
318
|
+
import {
|
|
319
|
+
Configuration,
|
|
320
|
+
GroupsApi,
|
|
321
|
+
} from '@openshift-migration-advisor/agent-sdk';
|
|
322
|
+
import type { ListGroupAppliancesRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
323
|
+
|
|
324
|
+
async function example() {
|
|
325
|
+
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
326
|
+
const api = new GroupsApi();
|
|
327
|
+
|
|
328
|
+
const body = {
|
|
329
|
+
// string | Group ID
|
|
330
|
+
groupId: groupId_example,
|
|
331
|
+
} satisfies ListGroupAppliancesRequest;
|
|
332
|
+
|
|
333
|
+
try {
|
|
334
|
+
const data = await api.listGroupAppliances(body);
|
|
335
|
+
console.log(data);
|
|
336
|
+
} catch (error) {
|
|
337
|
+
console.error(error);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
// Run the test
|
|
342
|
+
example().catch(console.error);
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
### Parameters
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
| Name | Type | Description | Notes |
|
|
349
|
+
|------------- | ------------- | ------------- | -------------|
|
|
350
|
+
| **groupId** | `string` | Group ID | [Defaults to `undefined`] |
|
|
351
|
+
|
|
352
|
+
### Return type
|
|
353
|
+
|
|
354
|
+
[**ApplianceListResponse**](ApplianceListResponse.md)
|
|
355
|
+
|
|
356
|
+
### Authorization
|
|
357
|
+
|
|
358
|
+
No authorization required
|
|
359
|
+
|
|
360
|
+
### HTTP request headers
|
|
361
|
+
|
|
362
|
+
- **Content-Type**: Not defined
|
|
363
|
+
- **Accept**: `application/json`
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
### HTTP response details
|
|
367
|
+
| Status code | Description | Response headers |
|
|
368
|
+
|-------------|-------------|------------------|
|
|
369
|
+
| **200** | List of detected appliances | - |
|
|
370
|
+
| **404** | No collections or group not found | - |
|
|
371
|
+
| **500** | Internal server error | - |
|
|
372
|
+
|
|
373
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
374
|
+
|
|
375
|
+
|
|
308
376
|
## listGroupApplications
|
|
309
377
|
|
|
310
378
|
> ApplicationListResponse listGroupApplications(groupId)
|