@openshift-migration-advisor/agent-sdk 0.12.0-f90a4cad59fa → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +14 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +16 -3
- package/dist/apis/DefaultApi.d.ts +209 -4
- package/dist/apis/DefaultApi.js +229 -0
- package/dist/esm/apis/DefaultApi.d.ts +209 -4
- package/dist/esm/apis/DefaultApi.js +229 -0
- package/dist/esm/models/ApplicationListResponse.d.ts +33 -0
- package/dist/esm/models/ApplicationListResponse.js +44 -0
- package/dist/esm/models/ApplicationOverview.d.ts +51 -0
- package/dist/esm/models/ApplicationOverview.js +56 -0
- package/dist/esm/models/ApplicationVM.d.ts +38 -0
- package/dist/esm/models/ApplicationVM.js +47 -0
- package/dist/esm/models/CapabilityStatus.d.ts +33 -0
- package/dist/esm/models/CapabilityStatus.js +44 -0
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +45 -0
- package/dist/esm/models/CapabilityStatusCapabilities.js +52 -0
- package/dist/esm/models/CollectorStartRequest.d.ts +12 -0
- package/dist/esm/models/CollectorStartRequest.js +4 -0
- package/dist/esm/models/CredentialStatus.d.ts +44 -0
- package/dist/esm/models/CredentialStatus.js +51 -0
- package/dist/esm/models/OperationCapability.d.ts +38 -0
- package/dist/esm/models/OperationCapability.js +45 -0
- package/dist/esm/models/StartInspectionRequest.d.ts +1 -1
- package/dist/esm/models/StartInspectionRequest.js +1 -3
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +6 -0
- package/dist/esm/models/VMFilterOptionsResponse.js +4 -0
- package/dist/esm/models/VMNIC.d.ts +12 -0
- package/dist/esm/models/VMNIC.js +4 -0
- package/dist/esm/models/VcenterCredentials.d.ts +12 -0
- package/dist/esm/models/VcenterCredentials.js +4 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +6 -0
- package/dist/esm/models/VmInspectionStatus.js +4 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/esm/runtime.js +2 -1
- package/dist/models/ApplicationListResponse.d.ts +33 -0
- package/dist/models/ApplicationListResponse.js +51 -0
- package/dist/models/ApplicationOverview.d.ts +51 -0
- package/dist/models/ApplicationOverview.js +63 -0
- package/dist/models/ApplicationVM.d.ts +38 -0
- package/dist/models/ApplicationVM.js +54 -0
- package/dist/models/CapabilityStatus.d.ts +33 -0
- package/dist/models/CapabilityStatus.js +51 -0
- package/dist/models/CapabilityStatusCapabilities.d.ts +45 -0
- package/dist/models/CapabilityStatusCapabilities.js +59 -0
- package/dist/models/CollectorStartRequest.d.ts +12 -0
- package/dist/models/CollectorStartRequest.js +4 -0
- package/dist/models/CredentialStatus.d.ts +44 -0
- package/dist/models/CredentialStatus.js +58 -0
- package/dist/models/OperationCapability.d.ts +38 -0
- package/dist/models/OperationCapability.js +52 -0
- package/dist/models/StartInspectionRequest.d.ts +1 -1
- package/dist/models/StartInspectionRequest.js +1 -3
- package/dist/models/VMFilterOptionsResponse.d.ts +6 -0
- package/dist/models/VMFilterOptionsResponse.js +4 -0
- package/dist/models/VMNIC.d.ts +12 -0
- package/dist/models/VMNIC.js +4 -0
- package/dist/models/VcenterCredentials.d.ts +12 -0
- package/dist/models/VcenterCredentials.js +4 -0
- package/dist/models/VmInspectionStatus.d.ts +6 -0
- package/dist/models/VmInspectionStatus.js +4 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/runtime.js +2 -1
- package/docs/ApplicationListResponse.md +34 -0
- package/docs/ApplicationOverview.md +40 -0
- package/docs/ApplicationVM.md +36 -0
- package/docs/CapabilityStatus.md +34 -0
- package/docs/CapabilityStatusCapabilities.md +38 -0
- package/docs/CollectorStartRequest.md +4 -0
- package/docs/CredentialStatus.md +38 -0
- package/docs/DefaultApi.md +391 -7
- package/docs/OperationCapability.md +36 -0
- package/docs/VMFilterOptionsResponse.md +2 -0
- package/docs/VMNIC.md +4 -0
- package/docs/VcenterCredentials.md +4 -0
- package/docs/VmInspectionStatus.md +2 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +408 -4
- package/src/models/ApplicationListResponse.ts +74 -0
- package/src/models/ApplicationOverview.ts +101 -0
- package/src/models/ApplicationVM.ts +75 -0
- package/src/models/CapabilityStatus.ts +74 -0
- package/src/models/CapabilityStatusCapabilities.ts +92 -0
- package/src/models/CollectorStartRequest.ts +16 -0
- package/src/models/CredentialStatus.ts +84 -0
- package/src/models/OperationCapability.ts +74 -0
- package/src/models/StartInspectionRequest.ts +2 -3
- package/src/models/VMFilterOptionsResponse.ts +9 -0
- package/src/models/VMNIC.ts +16 -0
- package/src/models/VcenterCredentials.ts +16 -0
- package/src/models/VmInspectionStatus.ts +9 -0
- package/src/models/index.ts +7 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { OperationCapabilityFromJSON, OperationCapabilityToJSON, } from './OperationCapability.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CapabilityStatusCapabilities interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCapabilityStatusCapabilities(value) {
|
|
19
|
+
if (!('collector' in value) || value['collector'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('inspector' in value) || value['inspector'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('forecaster' in value) || value['forecaster'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function CapabilityStatusCapabilitiesFromJSON(json) {
|
|
28
|
+
return CapabilityStatusCapabilitiesFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function CapabilityStatusCapabilitiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'collector': OperationCapabilityFromJSON(json['collector']),
|
|
36
|
+
'inspector': OperationCapabilityFromJSON(json['inspector']),
|
|
37
|
+
'forecaster': OperationCapabilityFromJSON(json['forecaster']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function CapabilityStatusCapabilitiesToJSON(json) {
|
|
41
|
+
return CapabilityStatusCapabilitiesToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function CapabilityStatusCapabilitiesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'collector': OperationCapabilityToJSON(value['collector']),
|
|
49
|
+
'inspector': OperationCapabilityToJSON(value['inspector']),
|
|
50
|
+
'forecaster': OperationCapabilityToJSON(value['forecaster']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -33,6 +33,18 @@ export interface CollectorStartRequest {
|
|
|
33
33
|
* @memberof CollectorStartRequest
|
|
34
34
|
*/
|
|
35
35
|
password: string;
|
|
36
|
+
/**
|
|
37
|
+
* PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CollectorStartRequest
|
|
40
|
+
*/
|
|
41
|
+
cacert?: string;
|
|
42
|
+
/**
|
|
43
|
+
* When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CollectorStartRequest
|
|
46
|
+
*/
|
|
47
|
+
skipTls?: boolean;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the CollectorStartRequest interface.
|
|
@@ -34,6 +34,8 @@ export function CollectorStartRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'url': json['url'],
|
|
35
35
|
'username': json['username'],
|
|
36
36
|
'password': json['password'],
|
|
37
|
+
'cacert': json['cacert'] == null ? undefined : json['cacert'],
|
|
38
|
+
'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
export function CollectorStartRequestToJSON(json) {
|
|
@@ -47,5 +49,7 @@ export function CollectorStartRequestToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
47
49
|
'url': value['url'],
|
|
48
50
|
'username': value['username'],
|
|
49
51
|
'password': value['password'],
|
|
52
|
+
'cacert': value['cacert'],
|
|
53
|
+
'skipTls': value['skipTls'],
|
|
50
54
|
};
|
|
51
55
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CredentialStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface CredentialStatus {
|
|
18
|
+
/**
|
|
19
|
+
* vCenter URL the credentials belong to
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CredentialStatus
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
/**
|
|
25
|
+
* vCenter username
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CredentialStatus
|
|
28
|
+
*/
|
|
29
|
+
username: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether credentials are stored for the returned URL.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof CredentialStatus
|
|
34
|
+
*/
|
|
35
|
+
valid: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CredentialStatus interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCredentialStatus(value: object): value is CredentialStatus;
|
|
41
|
+
export declare function CredentialStatusFromJSON(json: any): CredentialStatus;
|
|
42
|
+
export declare function CredentialStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CredentialStatus;
|
|
43
|
+
export declare function CredentialStatusToJSON(json: any): CredentialStatus;
|
|
44
|
+
export declare function CredentialStatusToJSONTyped(value?: CredentialStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the CredentialStatus interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCredentialStatus(value) {
|
|
18
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('valid' in value) || value['valid'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function CredentialStatusFromJSON(json) {
|
|
27
|
+
return CredentialStatusFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function CredentialStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'url': json['url'],
|
|
35
|
+
'username': json['username'],
|
|
36
|
+
'valid': json['valid'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function CredentialStatusToJSON(json) {
|
|
40
|
+
return CredentialStatusToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function CredentialStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'url': value['url'],
|
|
48
|
+
'username': value['username'],
|
|
49
|
+
'valid': value['valid'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OperationCapability
|
|
16
|
+
*/
|
|
17
|
+
export interface OperationCapability {
|
|
18
|
+
/**
|
|
19
|
+
* Whether stored credentials have sufficient privileges
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof OperationCapability
|
|
22
|
+
*/
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Specific vSphere privileges that are missing
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof OperationCapability
|
|
28
|
+
*/
|
|
29
|
+
missingPrivileges?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OperationCapability interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOperationCapability(value: object): value is OperationCapability;
|
|
35
|
+
export declare function OperationCapabilityFromJSON(json: any): OperationCapability;
|
|
36
|
+
export declare function OperationCapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): OperationCapability;
|
|
37
|
+
export declare function OperationCapabilityToJSON(json: any): OperationCapability;
|
|
38
|
+
export declare function OperationCapabilityToJSONTyped(value?: OperationCapability | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the OperationCapability interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfOperationCapability(value) {
|
|
18
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function OperationCapabilityFromJSON(json) {
|
|
23
|
+
return OperationCapabilityFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function OperationCapabilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'enabled': json['enabled'],
|
|
31
|
+
'missingPrivileges': json['missingPrivileges'] == null ? undefined : json['missingPrivileges'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function OperationCapabilityToJSON(json) {
|
|
35
|
+
return OperationCapabilityToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function OperationCapabilityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'enabled': value['enabled'],
|
|
43
|
+
'missingPrivileges': value['missingPrivileges'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -27,7 +27,7 @@ export interface StartInspectionRequest {
|
|
|
27
27
|
* @type {VcenterCredentials}
|
|
28
28
|
* @memberof StartInspectionRequest
|
|
29
29
|
*/
|
|
30
|
-
credentials
|
|
30
|
+
credentials?: VcenterCredentials;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the StartInspectionRequest interface.
|
|
@@ -18,8 +18,6 @@ import { VcenterCredentialsFromJSON, VcenterCredentialsToJSON, } from './Vcenter
|
|
|
18
18
|
export function instanceOfStartInspectionRequest(value) {
|
|
19
19
|
if (!('vmIds' in value) || value['vmIds'] === undefined)
|
|
20
20
|
return false;
|
|
21
|
-
if (!('credentials' in value) || value['credentials'] === undefined)
|
|
22
|
-
return false;
|
|
23
21
|
return true;
|
|
24
22
|
}
|
|
25
23
|
export function StartInspectionRequestFromJSON(json) {
|
|
@@ -31,7 +29,7 @@ export function StartInspectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
29
|
}
|
|
32
30
|
return {
|
|
33
31
|
'vmIds': json['vmIds'],
|
|
34
|
-
'credentials': VcenterCredentialsFromJSON(json['credentials']),
|
|
32
|
+
'credentials': json['credentials'] == null ? undefined : VcenterCredentialsFromJSON(json['credentials']),
|
|
35
33
|
};
|
|
36
34
|
}
|
|
37
35
|
export function StartInspectionRequestToJSON(json) {
|
|
@@ -39,6 +39,12 @@ export interface VMFilterOptionsResponse {
|
|
|
39
39
|
* @memberof VMFilterOptionsResponse
|
|
40
40
|
*/
|
|
41
41
|
concernCategories: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Distinct detected application names
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof VMFilterOptionsResponse
|
|
46
|
+
*/
|
|
47
|
+
applications: Array<string>;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* Check if a given object implements the VMFilterOptionsResponse interface.
|
|
@@ -23,6 +23,8 @@ export function instanceOfVMFilterOptionsResponse(value) {
|
|
|
23
23
|
return false;
|
|
24
24
|
if (!('concernCategories' in value) || value['concernCategories'] === undefined)
|
|
25
25
|
return false;
|
|
26
|
+
if (!('applications' in value) || value['applications'] === undefined)
|
|
27
|
+
return false;
|
|
26
28
|
return true;
|
|
27
29
|
}
|
|
28
30
|
export function VMFilterOptionsResponseFromJSON(json) {
|
|
@@ -37,6 +39,7 @@ export function VMFilterOptionsResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
37
39
|
'datacenters': json['datacenters'],
|
|
38
40
|
'concernLabels': json['concernLabels'],
|
|
39
41
|
'concernCategories': json['concernCategories'],
|
|
42
|
+
'applications': json['applications'],
|
|
40
43
|
};
|
|
41
44
|
}
|
|
42
45
|
export function VMFilterOptionsResponseToJSON(json) {
|
|
@@ -51,5 +54,6 @@ export function VMFilterOptionsResponseToJSONTyped(value, ignoreDiscriminator =
|
|
|
51
54
|
'datacenters': value['datacenters'],
|
|
52
55
|
'concernLabels': value['concernLabels'],
|
|
53
56
|
'concernCategories': value['concernCategories'],
|
|
57
|
+
'applications': value['applications'],
|
|
54
58
|
};
|
|
55
59
|
}
|
|
@@ -33,6 +33,18 @@ export interface VMNIC {
|
|
|
33
33
|
* @memberof VMNIC
|
|
34
34
|
*/
|
|
35
35
|
index?: number;
|
|
36
|
+
/**
|
|
37
|
+
* IPv4 address of this NIC as reported by VMware Tools
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VMNIC
|
|
40
|
+
*/
|
|
41
|
+
ipv4Address?: string;
|
|
42
|
+
/**
|
|
43
|
+
* IPv6 address of this NIC as reported by VMware Tools
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof VMNIC
|
|
46
|
+
*/
|
|
47
|
+
ipv6Address?: string;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the VMNIC interface.
|
package/dist/esm/models/VMNIC.js
CHANGED
|
@@ -28,6 +28,8 @@ export function VMNICFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
29
29
|
'network': json['network'] == null ? undefined : json['network'],
|
|
30
30
|
'index': json['index'] == null ? undefined : json['index'],
|
|
31
|
+
'ipv4Address': json['ipv4Address'] == null ? undefined : json['ipv4Address'],
|
|
32
|
+
'ipv6Address': json['ipv6Address'] == null ? undefined : json['ipv6Address'],
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
export function VMNICToJSON(json) {
|
|
@@ -41,5 +43,7 @@ export function VMNICToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
41
43
|
'mac': value['mac'],
|
|
42
44
|
'network': value['network'],
|
|
43
45
|
'index': value['index'],
|
|
46
|
+
'ipv4Address': value['ipv4Address'],
|
|
47
|
+
'ipv6Address': value['ipv6Address'],
|
|
44
48
|
};
|
|
45
49
|
}
|
|
@@ -33,6 +33,18 @@ export interface VcenterCredentials {
|
|
|
33
33
|
* @memberof VcenterCredentials
|
|
34
34
|
*/
|
|
35
35
|
password: string;
|
|
36
|
+
/**
|
|
37
|
+
* PEM-encoded CA certificate bundle for verifying the vCenter TLS certificate. Mutually exclusive with skipTls.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VcenterCredentials
|
|
40
|
+
*/
|
|
41
|
+
cacert?: string;
|
|
42
|
+
/**
|
|
43
|
+
* When true, TLS certificate verification is skipped. Must not be set to true alongside cacert — that combination returns 400. When omitted: if cacert is absent the connection skips TLS verification (backwards compatibility); if cacert is provided the connection verifies TLS using that certificate — skipTls need not be sent.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof VcenterCredentials
|
|
46
|
+
*/
|
|
47
|
+
skipTls?: boolean;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the VcenterCredentials interface.
|
|
@@ -34,6 +34,8 @@ export function VcenterCredentialsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'url': json['url'],
|
|
35
35
|
'username': json['username'],
|
|
36
36
|
'password': json['password'],
|
|
37
|
+
'cacert': json['cacert'] == null ? undefined : json['cacert'],
|
|
38
|
+
'skipTls': json['skipTls'] == null ? undefined : json['skipTls'],
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
export function VcenterCredentialsToJSON(json) {
|
|
@@ -47,5 +49,7 @@ export function VcenterCredentialsToJSONTyped(value, ignoreDiscriminator = false
|
|
|
47
49
|
'url': value['url'],
|
|
48
50
|
'username': value['username'],
|
|
49
51
|
'password': value['password'],
|
|
52
|
+
'cacert': value['cacert'],
|
|
53
|
+
'skipTls': value['skipTls'],
|
|
50
54
|
};
|
|
51
55
|
}
|
|
@@ -21,6 +21,12 @@ export interface VmInspectionStatus {
|
|
|
21
21
|
* @memberof VmInspectionStatus
|
|
22
22
|
*/
|
|
23
23
|
state: VmInspectionStatusStateEnum;
|
|
24
|
+
/**
|
|
25
|
+
* State details
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VmInspectionStatus
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
24
30
|
/**
|
|
25
31
|
* Error message when state is error
|
|
26
32
|
* @type {string}
|
|
@@ -27,6 +27,8 @@ export const VmInspectionStatusStateEnum = {
|
|
|
27
27
|
export function instanceOfVmInspectionStatus(value) {
|
|
28
28
|
if (!('state' in value) || value['state'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
return true;
|
|
31
33
|
}
|
|
32
34
|
export function VmInspectionStatusFromJSON(json) {
|
|
@@ -38,6 +40,7 @@ export function VmInspectionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
}
|
|
39
41
|
return {
|
|
40
42
|
'state': json['state'],
|
|
43
|
+
'message': json['message'],
|
|
41
44
|
'error': json['error'] == null ? undefined : json['error'],
|
|
42
45
|
'results': json['results'] == null ? undefined : json['results'],
|
|
43
46
|
};
|
|
@@ -51,6 +54,7 @@ export function VmInspectionStatusToJSONTyped(value, ignoreDiscriminator = false
|
|
|
51
54
|
}
|
|
52
55
|
return {
|
|
53
56
|
'state': value['state'],
|
|
57
|
+
'message': value['message'],
|
|
54
58
|
'error': value['error'],
|
|
55
59
|
'results': value['results'],
|
|
56
60
|
};
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
export * from './AgentModeRequest.js';
|
|
2
2
|
export * from './AgentStatus.js';
|
|
3
|
+
export * from './ApplicationListResponse.js';
|
|
4
|
+
export * from './ApplicationOverview.js';
|
|
5
|
+
export * from './ApplicationVM.js';
|
|
3
6
|
export * from './BenchmarkRun.js';
|
|
7
|
+
export * from './CapabilityStatus.js';
|
|
8
|
+
export * from './CapabilityStatusCapabilities.js';
|
|
4
9
|
export * from './ClusterFeatures.js';
|
|
5
10
|
export * from './ClusterUtilization.js';
|
|
6
11
|
export * from './CollectorStartRequest.js';
|
|
7
12
|
export * from './CollectorStatus.js';
|
|
8
13
|
export * from './CreateGroupRequest.js';
|
|
14
|
+
export * from './CredentialStatus.js';
|
|
9
15
|
export * from './Datastore.js';
|
|
10
16
|
export * from './DatastoreDetail.js';
|
|
11
17
|
export * from './DatastorePair.js';
|
|
@@ -31,6 +37,7 @@ export * from './Inventory.js';
|
|
|
31
37
|
export * from './InventoryData.js';
|
|
32
38
|
export * from './MigrationIssue.js';
|
|
33
39
|
export * from './Network.js';
|
|
40
|
+
export * from './OperationCapability.js';
|
|
34
41
|
export * from './OsInfo.js';
|
|
35
42
|
export * from './PairCapability.js';
|
|
36
43
|
export * from './PairCapabilityRequest.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AgentModeRequest.js';
|
|
4
4
|
export * from './AgentStatus.js';
|
|
5
|
+
export * from './ApplicationListResponse.js';
|
|
6
|
+
export * from './ApplicationOverview.js';
|
|
7
|
+
export * from './ApplicationVM.js';
|
|
5
8
|
export * from './BenchmarkRun.js';
|
|
9
|
+
export * from './CapabilityStatus.js';
|
|
10
|
+
export * from './CapabilityStatusCapabilities.js';
|
|
6
11
|
export * from './ClusterFeatures.js';
|
|
7
12
|
export * from './ClusterUtilization.js';
|
|
8
13
|
export * from './CollectorStartRequest.js';
|
|
9
14
|
export * from './CollectorStatus.js';
|
|
10
15
|
export * from './CreateGroupRequest.js';
|
|
16
|
+
export * from './CredentialStatus.js';
|
|
11
17
|
export * from './Datastore.js';
|
|
12
18
|
export * from './DatastoreDetail.js';
|
|
13
19
|
export * from './DatastorePair.js';
|
|
@@ -33,6 +39,7 @@ export * from './Inventory.js';
|
|
|
33
39
|
export * from './InventoryData.js';
|
|
34
40
|
export * from './MigrationIssue.js';
|
|
35
41
|
export * from './Network.js';
|
|
42
|
+
export * from './OperationCapability.js';
|
|
36
43
|
export * from './OsInfo.js';
|
|
37
44
|
export * from './PairCapability.js';
|
|
38
45
|
export * from './PairCapabilityRequest.js';
|
package/dist/esm/runtime.js
CHANGED
|
@@ -297,8 +297,9 @@ export function mapValues(data, fn) {
|
|
|
297
297
|
return result;
|
|
298
298
|
}
|
|
299
299
|
export function canConsumeForm(consumes) {
|
|
300
|
+
var _a;
|
|
300
301
|
for (const consume of consumes) {
|
|
301
|
-
if ('multipart/form-data'
|
|
302
|
+
if (((_a = consume.contentType) === null || _a === void 0 ? void 0 : _a.startsWith('multipart/form-data')) == true) {
|
|
302
303
|
return true;
|
|
303
304
|
}
|
|
304
305
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApplicationOverview } from './ApplicationOverview.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApplicationListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ApplicationListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApplicationOverview>}
|
|
22
|
+
* @memberof ApplicationListResponse
|
|
23
|
+
*/
|
|
24
|
+
applications: Array<ApplicationOverview>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ApplicationListResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfApplicationListResponse(value: object): value is ApplicationListResponse;
|
|
30
|
+
export declare function ApplicationListResponseFromJSON(json: any): ApplicationListResponse;
|
|
31
|
+
export declare function ApplicationListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationListResponse;
|
|
32
|
+
export declare function ApplicationListResponseToJSON(json: any): ApplicationListResponse;
|
|
33
|
+
export declare function ApplicationListResponseToJSONTyped(value?: ApplicationListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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: v1
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApplicationListResponse = instanceOfApplicationListResponse;
|
|
17
|
+
exports.ApplicationListResponseFromJSON = ApplicationListResponseFromJSON;
|
|
18
|
+
exports.ApplicationListResponseFromJSONTyped = ApplicationListResponseFromJSONTyped;
|
|
19
|
+
exports.ApplicationListResponseToJSON = ApplicationListResponseToJSON;
|
|
20
|
+
exports.ApplicationListResponseToJSONTyped = ApplicationListResponseToJSONTyped;
|
|
21
|
+
const ApplicationOverview_js_1 = require("./ApplicationOverview.js");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApplicationListResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApplicationListResponse(value) {
|
|
26
|
+
if (!('applications' in value) || value['applications'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ApplicationListResponseFromJSON(json) {
|
|
31
|
+
return ApplicationListResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ApplicationListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'applications': (json['applications'].map(ApplicationOverview_js_1.ApplicationOverviewFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ApplicationListResponseToJSON(json) {
|
|
42
|
+
return ApplicationListResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ApplicationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'applications': (value['applications'].map(ApplicationOverview_js_1.ApplicationOverviewToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApplicationVM } from './ApplicationVM.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApplicationOverview
|
|
17
|
+
*/
|
|
18
|
+
export interface ApplicationOverview {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApplicationOverview
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApplicationOverview
|
|
29
|
+
*/
|
|
30
|
+
description: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApplicationOverview
|
|
35
|
+
*/
|
|
36
|
+
vmCount: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<ApplicationVM>}
|
|
40
|
+
* @memberof ApplicationOverview
|
|
41
|
+
*/
|
|
42
|
+
vms: Array<ApplicationVM>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApplicationOverview interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApplicationOverview(value: object): value is ApplicationOverview;
|
|
48
|
+
export declare function ApplicationOverviewFromJSON(json: any): ApplicationOverview;
|
|
49
|
+
export declare function ApplicationOverviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationOverview;
|
|
50
|
+
export declare function ApplicationOverviewToJSON(json: any): ApplicationOverview;
|
|
51
|
+
export declare function ApplicationOverviewToJSONTyped(value?: ApplicationOverview | null, ignoreDiscriminator?: boolean): any;
|