@openshift-migration-advisor/agent-sdk 0.8.0-a3f90da0e31d → 0.8.0-adc7901d9658
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 +2 -2
- package/README.md +12 -12
- package/dist/apis/DefaultApi.d.ts +125 -117
- package/dist/apis/DefaultApi.js +145 -139
- package/dist/esm/apis/DefaultApi.d.ts +125 -117
- package/dist/esm/apis/DefaultApi.js +146 -140
- package/dist/esm/models/InspectorStatus.d.ts +14 -0
- package/dist/esm/models/InspectorStatus.js +6 -0
- package/dist/esm/models/StartInspectionRequest.d.ts +32 -0
- package/dist/esm/models/StartInspectionRequest.js +43 -0
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/models/InspectorStatus.d.ts +14 -0
- package/dist/models/InspectorStatus.js +6 -0
- package/dist/models/StartInspectionRequest.d.ts +32 -0
- package/dist/models/StartInspectionRequest.js +50 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/docs/DefaultApi.md +196 -187
- package/docs/InspectorStatus.md +4 -0
- package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +5 -6
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +268 -247
- package/src/models/InspectorStatus.ts +31 -0
- package/src/models/StartInspectionRequest.ts +66 -0
- package/src/models/index.ts +1 -1
- package/dist/esm/models/InspectorStartRequest.d.ts +0 -39
- package/dist/esm/models/InspectorStartRequest.js +0 -48
- package/dist/models/InspectorStartRequest.d.ts +0 -39
- package/dist/models/InspectorStartRequest.js +0 -55
- package/src/models/InspectorStartRequest.ts +0 -83
package/.openapi-generator/FILES
CHANGED
|
@@ -19,13 +19,13 @@ docs/GuestNetwork.md
|
|
|
19
19
|
docs/Histogram.md
|
|
20
20
|
docs/Host.md
|
|
21
21
|
docs/Infra.md
|
|
22
|
-
docs/InspectorStartRequest.md
|
|
23
22
|
docs/InspectorStatus.md
|
|
24
23
|
docs/Inventory.md
|
|
25
24
|
docs/InventoryData.md
|
|
26
25
|
docs/MigrationIssue.md
|
|
27
26
|
docs/Network.md
|
|
28
27
|
docs/OsInfo.md
|
|
28
|
+
docs/StartInspectionRequest.md
|
|
29
29
|
docs/UpdateGroupRequest.md
|
|
30
30
|
docs/UpdateInventory.md
|
|
31
31
|
docs/VCenter.md
|
|
@@ -64,13 +64,13 @@ src/models/GuestNetwork.ts
|
|
|
64
64
|
src/models/Histogram.ts
|
|
65
65
|
src/models/Host.ts
|
|
66
66
|
src/models/Infra.ts
|
|
67
|
-
src/models/InspectorStartRequest.ts
|
|
68
67
|
src/models/InspectorStatus.ts
|
|
69
68
|
src/models/Inventory.ts
|
|
70
69
|
src/models/InventoryData.ts
|
|
71
70
|
src/models/MigrationIssue.ts
|
|
72
71
|
src/models/Network.ts
|
|
73
72
|
src/models/OsInfo.ts
|
|
73
|
+
src/models/StartInspectionRequest.ts
|
|
74
74
|
src/models/UpdateGroupRequest.ts
|
|
75
75
|
src/models/UpdateInventory.ts
|
|
76
76
|
src/models/VCenter.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/agent-sdk@0.8.0-
|
|
1
|
+
# @openshift-migration-advisor/agent-sdk@0.8.0-adc7901d9658
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -18,19 +18,19 @@ import {
|
|
|
18
18
|
Configuration,
|
|
19
19
|
DefaultApi,
|
|
20
20
|
} from '@openshift-migration-advisor/agent-sdk';
|
|
21
|
-
import type {
|
|
21
|
+
import type { CreateGroupOperationRequest } from '@openshift-migration-advisor/agent-sdk';
|
|
22
22
|
|
|
23
23
|
async function example() {
|
|
24
24
|
console.log("🚀 Testing @openshift-migration-advisor/agent-sdk SDK...");
|
|
25
25
|
const api = new DefaultApi();
|
|
26
26
|
|
|
27
27
|
const body = {
|
|
28
|
-
//
|
|
29
|
-
|
|
30
|
-
} satisfies
|
|
28
|
+
// CreateGroupRequest
|
|
29
|
+
createGroupRequest: ...,
|
|
30
|
+
} satisfies CreateGroupOperationRequest;
|
|
31
31
|
|
|
32
32
|
try {
|
|
33
|
-
const data = await api.
|
|
33
|
+
const data = await api.createGroup(body);
|
|
34
34
|
console.log(data);
|
|
35
35
|
} catch (error) {
|
|
36
36
|
console.error(error);
|
|
@@ -50,27 +50,27 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
50
50
|
|
|
51
51
|
| Class | Method | HTTP request | Description
|
|
52
52
|
| ----- | ------ | ------------ | -------------
|
|
53
|
-
*DefaultApi* | [**addVMToInspection**](docs/DefaultApi.md#addvmtoinspection) | **POST** /vms/{id}/inspection | Add VirtualMachine to inspection queue
|
|
54
53
|
*DefaultApi* | [**createGroup**](docs/DefaultApi.md#creategroupoperation) | **POST** /groups | Create a new group
|
|
55
54
|
*DefaultApi* | [**deleteGroup**](docs/DefaultApi.md#deletegroup) | **DELETE** /groups/{id} | Delete group
|
|
56
55
|
*DefaultApi* | [**getAgentStatus**](docs/DefaultApi.md#getagentstatus) | **GET** /agent | Get agent status
|
|
57
56
|
*DefaultApi* | [**getCollectorStatus**](docs/DefaultApi.md#getcollectorstatus) | **GET** /collector | Get collector status
|
|
58
57
|
*DefaultApi* | [**getGroup**](docs/DefaultApi.md#getgroup) | **GET** /groups/{id} | Get group by ID with its VMs
|
|
59
58
|
*DefaultApi* | [**getInspectorStatus**](docs/DefaultApi.md#getinspectorstatus) | **GET** /inspector | Get inspector status
|
|
59
|
+
*DefaultApi* | [**getInspectorVddkStatus**](docs/DefaultApi.md#getinspectorvddkstatus) | **GET** /inspector/vddk | Get VDDK status
|
|
60
60
|
*DefaultApi* | [**getInventory**](docs/DefaultApi.md#getinventory) | **GET** /inventory | Get collected inventory
|
|
61
61
|
*DefaultApi* | [**getVM**](docs/DefaultApi.md#getvm) | **GET** /vms/{id} | Get details about a vm
|
|
62
62
|
*DefaultApi* | [**getVMs**](docs/DefaultApi.md#getvms) | **GET** /vms | Get list of VMs with filtering and pagination
|
|
63
|
-
*DefaultApi* | [**getVddkStatus**](docs/DefaultApi.md#getvddkstatus) | **GET** /vddk | Get VDDK status
|
|
64
63
|
*DefaultApi* | [**getVersion**](docs/DefaultApi.md#getversion) | **GET** /version | Get agent version information
|
|
65
64
|
*DefaultApi* | [**listGroups**](docs/DefaultApi.md#listgroups) | **GET** /groups | List all groups
|
|
65
|
+
*DefaultApi* | [**putInspectorCredentials**](docs/DefaultApi.md#putinspectorcredentials) | **PUT** /inspector/credentials | Set or replace inspector credentials
|
|
66
|
+
*DefaultApi* | [**putInspectorVddk**](docs/DefaultApi.md#putinspectorvddk) | **PUT** /inspector/vddk | Upload VDDK tarball
|
|
66
67
|
*DefaultApi* | [**removeVMFromInspection**](docs/DefaultApi.md#removevmfrominspection) | **DELETE** /vms/{id}/inspection | Remove VirtualMachine from inspection queue
|
|
67
68
|
*DefaultApi* | [**setAgentMode**](docs/DefaultApi.md#setagentmode) | **POST** /agent | Change agent mode
|
|
68
69
|
*DefaultApi* | [**startCollector**](docs/DefaultApi.md#startcollector) | **POST** /collector | Start inventory collection
|
|
69
|
-
*DefaultApi* | [**startInspection**](docs/DefaultApi.md#
|
|
70
|
+
*DefaultApi* | [**startInspection**](docs/DefaultApi.md#startinspectionoperation) | **POST** /inspector | Start inspection for VMs
|
|
70
71
|
*DefaultApi* | [**stopCollector**](docs/DefaultApi.md#stopcollector) | **DELETE** /collector | Stop collection
|
|
71
72
|
*DefaultApi* | [**stopInspection**](docs/DefaultApi.md#stopinspection) | **DELETE** /inspector | Stop inspector entirely
|
|
72
73
|
*DefaultApi* | [**updateGroup**](docs/DefaultApi.md#updategroupoperation) | **PATCH** /groups/{id} | Update group
|
|
73
|
-
*DefaultApi* | [**vddkPost**](docs/DefaultApi.md#vddkpost) | **POST** /vddk | Upload VDDK tarball
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
### Models
|
|
@@ -91,13 +91,13 @@ All URIs are relative to *https://raw.githubusercontent.com/api/v1*
|
|
|
91
91
|
- [Histogram](docs/Histogram.md)
|
|
92
92
|
- [Host](docs/Host.md)
|
|
93
93
|
- [Infra](docs/Infra.md)
|
|
94
|
-
- [InspectorStartRequest](docs/InspectorStartRequest.md)
|
|
95
94
|
- [InspectorStatus](docs/InspectorStatus.md)
|
|
96
95
|
- [Inventory](docs/Inventory.md)
|
|
97
96
|
- [InventoryData](docs/InventoryData.md)
|
|
98
97
|
- [MigrationIssue](docs/MigrationIssue.md)
|
|
99
98
|
- [Network](docs/Network.md)
|
|
100
99
|
- [OsInfo](docs/OsInfo.md)
|
|
100
|
+
- [StartInspectionRequest](docs/StartInspectionRequest.md)
|
|
101
101
|
- [UpdateGroupRequest](docs/UpdateGroupRequest.md)
|
|
102
102
|
- [UpdateInventory](docs/UpdateInventory.md)
|
|
103
103
|
- [VCenter](docs/VCenter.md)
|
|
@@ -129,7 +129,7 @@ and is automatically generated by the
|
|
|
129
129
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
130
130
|
|
|
131
131
|
- API version: `v1`
|
|
132
|
-
- Package version: `0.8.0-
|
|
132
|
+
- Package version: `0.8.0-adc7901d9658`
|
|
133
133
|
- Generator version: `7.22.0-SNAPSHOT`
|
|
134
134
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
135
135
|
|
|
@@ -10,10 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { AgentModeRequest, AgentStatus, CollectorStartRequest, CollectorStatus, CreateGroupRequest, GetInventory200Response, Group, GroupListResponse, GroupResponse,
|
|
14
|
-
export interface AddVMToInspectionRequest {
|
|
15
|
-
id: string;
|
|
16
|
-
}
|
|
13
|
+
import type { AgentModeRequest, AgentStatus, CollectorStartRequest, CollectorStatus, CreateGroupRequest, GetInventory200Response, Group, GroupListResponse, GroupResponse, InspectorStatus, StartInspectionRequest, UpdateGroupRequest, VcenterCredentials, VddkProperties, VersionInfo, VirtualMachineDetail, VirtualMachineListResponse, VmInspectionStatus } from '../models/index.js';
|
|
17
14
|
export interface CreateGroupOperationRequest {
|
|
18
15
|
createGroupRequest: CreateGroupRequest;
|
|
19
16
|
}
|
|
@@ -26,6 +23,10 @@ export interface GetGroupRequest {
|
|
|
26
23
|
page?: number;
|
|
27
24
|
pageSize?: number;
|
|
28
25
|
}
|
|
26
|
+
export interface GetInspectorStatusRequest {
|
|
27
|
+
includeVddk?: boolean;
|
|
28
|
+
includeCredentials?: boolean;
|
|
29
|
+
}
|
|
29
30
|
export interface GetInventoryRequest {
|
|
30
31
|
withAgentId?: boolean;
|
|
31
32
|
groupId?: string;
|
|
@@ -44,6 +45,12 @@ export interface ListGroupsRequest {
|
|
|
44
45
|
page?: number;
|
|
45
46
|
pageSize?: number;
|
|
46
47
|
}
|
|
48
|
+
export interface PutInspectorCredentialsRequest {
|
|
49
|
+
vcenterCredentials: VcenterCredentials;
|
|
50
|
+
}
|
|
51
|
+
export interface PutInspectorVddkRequest {
|
|
52
|
+
file: Blob;
|
|
53
|
+
}
|
|
47
54
|
export interface RemoveVMFromInspectionRequest {
|
|
48
55
|
id: string;
|
|
49
56
|
}
|
|
@@ -53,16 +60,13 @@ export interface SetAgentModeRequest {
|
|
|
53
60
|
export interface StartCollectorRequest {
|
|
54
61
|
collectorStartRequest: CollectorStartRequest;
|
|
55
62
|
}
|
|
56
|
-
export interface
|
|
57
|
-
|
|
63
|
+
export interface StartInspectionOperationRequest {
|
|
64
|
+
startInspectionRequest: StartInspectionRequest;
|
|
58
65
|
}
|
|
59
66
|
export interface UpdateGroupOperationRequest {
|
|
60
67
|
id: string;
|
|
61
68
|
updateGroupRequest: UpdateGroupRequest;
|
|
62
69
|
}
|
|
63
|
-
export interface VddkPostRequest {
|
|
64
|
-
file: Blob;
|
|
65
|
-
}
|
|
66
70
|
/**
|
|
67
71
|
* DefaultApi - interface
|
|
68
72
|
*
|
|
@@ -70,26 +74,6 @@ export interface VddkPostRequest {
|
|
|
70
74
|
* @interface DefaultApiInterface
|
|
71
75
|
*/
|
|
72
76
|
export interface DefaultApiInterface {
|
|
73
|
-
/**
|
|
74
|
-
* Creates request options for addVMToInspection without sending the request
|
|
75
|
-
* @param {string} id
|
|
76
|
-
* @throws {RequiredError}
|
|
77
|
-
* @memberof DefaultApiInterface
|
|
78
|
-
*/
|
|
79
|
-
addVMToInspectionRequestOpts(requestParameters: AddVMToInspectionRequest): Promise<runtime.RequestOpts>;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @summary Add VirtualMachine to inspection queue
|
|
83
|
-
* @param {string} id
|
|
84
|
-
* @param {*} [options] Override http request option.
|
|
85
|
-
* @throws {RequiredError}
|
|
86
|
-
* @memberof DefaultApiInterface
|
|
87
|
-
*/
|
|
88
|
-
addVMToInspectionRaw(requestParameters: AddVMToInspectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VmInspectionStatus>>;
|
|
89
|
-
/**
|
|
90
|
-
* Add VirtualMachine to inspection queue
|
|
91
|
-
*/
|
|
92
|
-
addVMToInspection(requestParameters: AddVMToInspectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VmInspectionStatus>;
|
|
93
77
|
/**
|
|
94
78
|
* Creates request options for createGroup without sending the request
|
|
95
79
|
* @param {CreateGroupRequest} createGroupRequest
|
|
@@ -194,22 +178,44 @@ export interface DefaultApiInterface {
|
|
|
194
178
|
getGroup(requestParameters: GetGroupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupResponse>;
|
|
195
179
|
/**
|
|
196
180
|
* Creates request options for getInspectorStatus without sending the request
|
|
181
|
+
* @param {boolean} [includeVddk] If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
182
|
+
* @param {boolean} [includeCredentials] If true, include configured vCenter URL and username (password is never returned). omitted if was never set.
|
|
197
183
|
* @throws {RequiredError}
|
|
198
184
|
* @memberof DefaultApiInterface
|
|
199
185
|
*/
|
|
200
|
-
getInspectorStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
186
|
+
getInspectorStatusRequestOpts(requestParameters: GetInspectorStatusRequest): Promise<runtime.RequestOpts>;
|
|
201
187
|
/**
|
|
202
188
|
*
|
|
203
189
|
* @summary Get inspector status
|
|
190
|
+
* @param {boolean} [includeVddk] If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
191
|
+
* @param {boolean} [includeCredentials] If true, include configured vCenter URL and username (password is never returned). omitted if was never set.
|
|
204
192
|
* @param {*} [options] Override http request option.
|
|
205
193
|
* @throws {RequiredError}
|
|
206
194
|
* @memberof DefaultApiInterface
|
|
207
195
|
*/
|
|
208
|
-
getInspectorStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
|
|
196
|
+
getInspectorStatusRaw(requestParameters: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
|
|
209
197
|
/**
|
|
210
198
|
* Get inspector status
|
|
211
199
|
*/
|
|
212
|
-
getInspectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
|
|
200
|
+
getInspectorStatus(requestParameters: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
|
|
201
|
+
/**
|
|
202
|
+
* Creates request options for getInspectorVddkStatus without sending the request
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
* @memberof DefaultApiInterface
|
|
205
|
+
*/
|
|
206
|
+
getInspectorVddkStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @summary Get VDDK status
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
* @memberof DefaultApiInterface
|
|
213
|
+
*/
|
|
214
|
+
getInspectorVddkStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
215
|
+
/**
|
|
216
|
+
* Get VDDK status
|
|
217
|
+
*/
|
|
218
|
+
getInspectorVddkStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
213
219
|
/**
|
|
214
220
|
* Creates request options for getInventory without sending the request
|
|
215
221
|
* @param {boolean} [withAgentId] If true, include the agentId in the response (Compatible with manual inventory upload).
|
|
@@ -278,24 +284,6 @@ export interface DefaultApiInterface {
|
|
|
278
284
|
* Get list of VMs with filtering and pagination
|
|
279
285
|
*/
|
|
280
286
|
getVMs(requestParameters: GetVMsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineListResponse>;
|
|
281
|
-
/**
|
|
282
|
-
* Creates request options for getVddkStatus without sending the request
|
|
283
|
-
* @throws {RequiredError}
|
|
284
|
-
* @memberof DefaultApiInterface
|
|
285
|
-
*/
|
|
286
|
-
getVddkStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
287
|
-
/**
|
|
288
|
-
*
|
|
289
|
-
* @summary Get VDDK status
|
|
290
|
-
* @param {*} [options] Override http request option.
|
|
291
|
-
* @throws {RequiredError}
|
|
292
|
-
* @memberof DefaultApiInterface
|
|
293
|
-
*/
|
|
294
|
-
getVddkStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
295
|
-
/**
|
|
296
|
-
* Get VDDK status
|
|
297
|
-
*/
|
|
298
|
-
getVddkStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
299
287
|
/**
|
|
300
288
|
* Creates request options for getVersion without sending the request
|
|
301
289
|
* @throws {RequiredError}
|
|
@@ -338,6 +326,46 @@ export interface DefaultApiInterface {
|
|
|
338
326
|
* List all groups
|
|
339
327
|
*/
|
|
340
328
|
listGroups(requestParameters: ListGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupListResponse>;
|
|
329
|
+
/**
|
|
330
|
+
* Creates request options for putInspectorCredentials without sending the request
|
|
331
|
+
* @param {VcenterCredentials} vcenterCredentials
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
* @memberof DefaultApiInterface
|
|
334
|
+
*/
|
|
335
|
+
putInspectorCredentialsRequestOpts(requestParameters: PutInspectorCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @summary Set or replace inspector credentials
|
|
339
|
+
* @param {VcenterCredentials} vcenterCredentials
|
|
340
|
+
* @param {*} [options] Override http request option.
|
|
341
|
+
* @throws {RequiredError}
|
|
342
|
+
* @memberof DefaultApiInterface
|
|
343
|
+
*/
|
|
344
|
+
putInspectorCredentialsRaw(requestParameters: PutInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
345
|
+
/**
|
|
346
|
+
* Set or replace inspector credentials
|
|
347
|
+
*/
|
|
348
|
+
putInspectorCredentials(requestParameters: PutInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
349
|
+
/**
|
|
350
|
+
* Creates request options for putInspectorVddk without sending the request
|
|
351
|
+
* @param {Blob} file VDDK tarball
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
* @memberof DefaultApiInterface
|
|
354
|
+
*/
|
|
355
|
+
putInspectorVddkRequestOpts(requestParameters: PutInspectorVddkRequest): Promise<runtime.RequestOpts>;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @summary Upload VDDK tarball
|
|
359
|
+
* @param {Blob} file VDDK tarball
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
* @memberof DefaultApiInterface
|
|
363
|
+
*/
|
|
364
|
+
putInspectorVddkRaw(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
365
|
+
/**
|
|
366
|
+
* Upload VDDK tarball
|
|
367
|
+
*/
|
|
368
|
+
putInspectorVddk(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
341
369
|
/**
|
|
342
370
|
* Creates request options for removeVMFromInspection without sending the request
|
|
343
371
|
* @param {string} id
|
|
@@ -400,24 +428,24 @@ export interface DefaultApiInterface {
|
|
|
400
428
|
startCollector(requestParameters: StartCollectorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectorStatus>;
|
|
401
429
|
/**
|
|
402
430
|
* Creates request options for startInspection without sending the request
|
|
403
|
-
* @param {
|
|
431
|
+
* @param {StartInspectionRequest} startInspectionRequest
|
|
404
432
|
* @throws {RequiredError}
|
|
405
433
|
* @memberof DefaultApiInterface
|
|
406
434
|
*/
|
|
407
|
-
startInspectionRequestOpts(requestParameters:
|
|
435
|
+
startInspectionRequestOpts(requestParameters: StartInspectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
408
436
|
/**
|
|
409
437
|
*
|
|
410
438
|
* @summary Start inspection for VMs
|
|
411
|
-
* @param {
|
|
439
|
+
* @param {StartInspectionRequest} startInspectionRequest
|
|
412
440
|
* @param {*} [options] Override http request option.
|
|
413
441
|
* @throws {RequiredError}
|
|
414
442
|
* @memberof DefaultApiInterface
|
|
415
443
|
*/
|
|
416
|
-
startInspectionRaw(requestParameters:
|
|
444
|
+
startInspectionRaw(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
|
|
417
445
|
/**
|
|
418
446
|
* Start inspection for VMs
|
|
419
447
|
*/
|
|
420
|
-
startInspection(requestParameters:
|
|
448
|
+
startInspection(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
|
|
421
449
|
/**
|
|
422
450
|
* Creates request options for stopCollector without sending the request
|
|
423
451
|
* @throws {RequiredError}
|
|
@@ -476,43 +504,11 @@ export interface DefaultApiInterface {
|
|
|
476
504
|
* Update group
|
|
477
505
|
*/
|
|
478
506
|
updateGroup(requestParameters: UpdateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
479
|
-
/**
|
|
480
|
-
* Creates request options for vddkPost without sending the request
|
|
481
|
-
* @param {Blob} file VDDK tarball
|
|
482
|
-
* @throws {RequiredError}
|
|
483
|
-
* @memberof DefaultApiInterface
|
|
484
|
-
*/
|
|
485
|
-
vddkPostRequestOpts(requestParameters: VddkPostRequest): Promise<runtime.RequestOpts>;
|
|
486
|
-
/**
|
|
487
|
-
*
|
|
488
|
-
* @summary Upload VDDK tarball
|
|
489
|
-
* @param {Blob} file VDDK tarball
|
|
490
|
-
* @param {*} [options] Override http request option.
|
|
491
|
-
* @throws {RequiredError}
|
|
492
|
-
* @memberof DefaultApiInterface
|
|
493
|
-
*/
|
|
494
|
-
vddkPostRaw(requestParameters: VddkPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
495
|
-
/**
|
|
496
|
-
* Upload VDDK tarball
|
|
497
|
-
*/
|
|
498
|
-
vddkPost(requestParameters: VddkPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
499
507
|
}
|
|
500
508
|
/**
|
|
501
509
|
*
|
|
502
510
|
*/
|
|
503
511
|
export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
|
|
504
|
-
/**
|
|
505
|
-
* Creates request options for addVMToInspection without sending the request
|
|
506
|
-
*/
|
|
507
|
-
addVMToInspectionRequestOpts(requestParameters: AddVMToInspectionRequest): Promise<runtime.RequestOpts>;
|
|
508
|
-
/**
|
|
509
|
-
* Add VirtualMachine to inspection queue
|
|
510
|
-
*/
|
|
511
|
-
addVMToInspectionRaw(requestParameters: AddVMToInspectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VmInspectionStatus>>;
|
|
512
|
-
/**
|
|
513
|
-
* Add VirtualMachine to inspection queue
|
|
514
|
-
*/
|
|
515
|
-
addVMToInspection(requestParameters: AddVMToInspectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VmInspectionStatus>;
|
|
516
512
|
/**
|
|
517
513
|
* Creates request options for createGroup without sending the request
|
|
518
514
|
*/
|
|
@@ -576,15 +572,27 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
576
572
|
/**
|
|
577
573
|
* Creates request options for getInspectorStatus without sending the request
|
|
578
574
|
*/
|
|
579
|
-
getInspectorStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
575
|
+
getInspectorStatusRequestOpts(requestParameters: GetInspectorStatusRequest): Promise<runtime.RequestOpts>;
|
|
580
576
|
/**
|
|
581
577
|
* Get inspector status
|
|
582
578
|
*/
|
|
583
|
-
getInspectorStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
|
|
579
|
+
getInspectorStatusRaw(requestParameters: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
|
|
584
580
|
/**
|
|
585
581
|
* Get inspector status
|
|
586
582
|
*/
|
|
587
|
-
getInspectorStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
|
|
583
|
+
getInspectorStatus(requestParameters?: GetInspectorStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
|
|
584
|
+
/**
|
|
585
|
+
* Creates request options for getInspectorVddkStatus without sending the request
|
|
586
|
+
*/
|
|
587
|
+
getInspectorVddkStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
588
|
+
/**
|
|
589
|
+
* Get VDDK status
|
|
590
|
+
*/
|
|
591
|
+
getInspectorVddkStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
592
|
+
/**
|
|
593
|
+
* Get VDDK status
|
|
594
|
+
*/
|
|
595
|
+
getInspectorVddkStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
588
596
|
/**
|
|
589
597
|
* Creates request options for getInventory without sending the request
|
|
590
598
|
*/
|
|
@@ -621,18 +629,6 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
621
629
|
* Get list of VMs with filtering and pagination
|
|
622
630
|
*/
|
|
623
631
|
getVMs(requestParameters?: GetVMsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VirtualMachineListResponse>;
|
|
624
|
-
/**
|
|
625
|
-
* Creates request options for getVddkStatus without sending the request
|
|
626
|
-
*/
|
|
627
|
-
getVddkStatusRequestOpts(): Promise<runtime.RequestOpts>;
|
|
628
|
-
/**
|
|
629
|
-
* Get VDDK status
|
|
630
|
-
*/
|
|
631
|
-
getVddkStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
632
|
-
/**
|
|
633
|
-
* Get VDDK status
|
|
634
|
-
*/
|
|
635
|
-
getVddkStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
636
632
|
/**
|
|
637
633
|
* Creates request options for getVersion without sending the request
|
|
638
634
|
*/
|
|
@@ -657,6 +653,30 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
657
653
|
* List all groups
|
|
658
654
|
*/
|
|
659
655
|
listGroups(requestParameters?: ListGroupsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GroupListResponse>;
|
|
656
|
+
/**
|
|
657
|
+
* Creates request options for putInspectorCredentials without sending the request
|
|
658
|
+
*/
|
|
659
|
+
putInspectorCredentialsRequestOpts(requestParameters: PutInspectorCredentialsRequest): Promise<runtime.RequestOpts>;
|
|
660
|
+
/**
|
|
661
|
+
* Set or replace inspector credentials
|
|
662
|
+
*/
|
|
663
|
+
putInspectorCredentialsRaw(requestParameters: PutInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
664
|
+
/**
|
|
665
|
+
* Set or replace inspector credentials
|
|
666
|
+
*/
|
|
667
|
+
putInspectorCredentials(requestParameters: PutInspectorCredentialsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
668
|
+
/**
|
|
669
|
+
* Creates request options for putInspectorVddk without sending the request
|
|
670
|
+
*/
|
|
671
|
+
putInspectorVddkRequestOpts(requestParameters: PutInspectorVddkRequest): Promise<runtime.RequestOpts>;
|
|
672
|
+
/**
|
|
673
|
+
* Upload VDDK tarball
|
|
674
|
+
*/
|
|
675
|
+
putInspectorVddkRaw(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
676
|
+
/**
|
|
677
|
+
* Upload VDDK tarball
|
|
678
|
+
*/
|
|
679
|
+
putInspectorVddk(requestParameters: PutInspectorVddkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
660
680
|
/**
|
|
661
681
|
* Creates request options for removeVMFromInspection without sending the request
|
|
662
682
|
*/
|
|
@@ -696,15 +716,15 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
696
716
|
/**
|
|
697
717
|
* Creates request options for startInspection without sending the request
|
|
698
718
|
*/
|
|
699
|
-
startInspectionRequestOpts(requestParameters:
|
|
719
|
+
startInspectionRequestOpts(requestParameters: StartInspectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
700
720
|
/**
|
|
701
721
|
* Start inspection for VMs
|
|
702
722
|
*/
|
|
703
|
-
startInspectionRaw(requestParameters:
|
|
723
|
+
startInspectionRaw(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InspectorStatus>>;
|
|
704
724
|
/**
|
|
705
725
|
* Start inspection for VMs
|
|
706
726
|
*/
|
|
707
|
-
startInspection(requestParameters:
|
|
727
|
+
startInspection(requestParameters: StartInspectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InspectorStatus>;
|
|
708
728
|
/**
|
|
709
729
|
* Creates request options for stopCollector without sending the request
|
|
710
730
|
*/
|
|
@@ -741,16 +761,4 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
741
761
|
* Update group
|
|
742
762
|
*/
|
|
743
763
|
updateGroup(requestParameters: UpdateGroupOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Group>;
|
|
744
|
-
/**
|
|
745
|
-
* Creates request options for vddkPost without sending the request
|
|
746
|
-
*/
|
|
747
|
-
vddkPostRequestOpts(requestParameters: VddkPostRequest): Promise<runtime.RequestOpts>;
|
|
748
|
-
/**
|
|
749
|
-
* Upload VDDK tarball
|
|
750
|
-
*/
|
|
751
|
-
vddkPostRaw(requestParameters: VddkPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VddkProperties>>;
|
|
752
|
-
/**
|
|
753
|
-
* Upload VDDK tarball
|
|
754
|
-
*/
|
|
755
|
-
vddkPost(requestParameters: VddkPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VddkProperties>;
|
|
756
764
|
}
|