@openshift-migration-advisor/agent-sdk 0.8.0 → 0.12.0-1f1dc16fb9e5
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 +46 -2
- package/.openapi-generator/VERSION +1 -1
- package/README.md +52 -17
- package/dist/apis/DefaultApi.d.ts +632 -126
- package/dist/apis/DefaultApi.js +710 -160
- package/dist/esm/apis/DefaultApi.d.ts +632 -126
- package/dist/esm/apis/DefaultApi.js +724 -174
- package/dist/esm/models/BenchmarkRun.d.ts +104 -0
- package/dist/esm/models/BenchmarkRun.js +85 -0
- package/dist/esm/models/DatastoreDetail.d.ts +90 -0
- package/dist/esm/models/DatastoreDetail.js +74 -0
- package/dist/esm/models/DatastorePair.d.ts +50 -0
- package/dist/esm/models/DatastorePair.js +53 -0
- package/dist/esm/models/EstimateRange.d.ts +44 -0
- package/dist/esm/models/EstimateRange.js +45 -0
- package/dist/esm/models/ForecastStats.d.ts +87 -0
- package/dist/esm/models/ForecastStats.js +64 -0
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +33 -0
- package/dist/esm/models/ForecasterDatastoresRequest.js +42 -0
- package/dist/esm/models/ForecasterPairStatus.d.ts +98 -0
- package/dist/esm/models/ForecasterPairStatus.js +82 -0
- package/dist/esm/models/ForecasterStartRequest.d.ts +58 -0
- package/dist/esm/models/ForecasterStartRequest.js +53 -0
- package/dist/esm/models/ForecasterStatus.d.ts +47 -0
- package/dist/esm/models/ForecasterStatus.js +53 -0
- package/dist/esm/models/InspectorStatus.d.ts +20 -7
- package/dist/esm/models/InspectorStatus.js +12 -7
- package/dist/esm/models/PairCapability.d.ts +60 -0
- package/dist/esm/models/PairCapability.js +64 -0
- package/dist/esm/models/PairCapabilityRequest.d.ts +40 -0
- package/dist/esm/models/PairCapabilityRequest.js +47 -0
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +38 -0
- package/dist/esm/models/PutForecasterCredentials403Response.js +43 -0
- package/dist/esm/models/RightsizingCollectRequest.d.ts +70 -0
- package/dist/esm/models/RightsizingCollectRequest.js +56 -0
- package/dist/esm/models/RightsizingMetricStats.d.ts +62 -0
- package/dist/esm/models/RightsizingMetricStats.js +63 -0
- package/dist/esm/models/RightsizingReport.d.ts +81 -0
- package/dist/esm/models/RightsizingReport.js +76 -0
- package/dist/esm/models/RightsizingReportListResponse.d.ts +39 -0
- package/dist/esm/models/RightsizingReportListResponse.js +48 -0
- package/dist/esm/models/RightsizingReportSummary.d.ts +74 -0
- package/dist/esm/models/RightsizingReportSummary.js +71 -0
- package/dist/esm/models/RightsizingVMReport.d.ts +53 -0
- package/dist/esm/models/RightsizingVMReport.js +57 -0
- package/dist/esm/models/StartInspectionRequest.d.ts +32 -0
- package/dist/esm/models/StartInspectionRequest.js +43 -0
- package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/esm/models/StopForecasterPair202Response.js +49 -0
- package/dist/esm/models/VMs.d.ts +18 -0
- package/dist/esm/models/VMs.js +4 -0
- package/dist/esm/models/VirtualMachine.d.ts +31 -1
- package/dist/esm/models/VirtualMachine.js +12 -4
- package/dist/esm/models/VirtualMachineDetail.d.ts +3 -3
- package/dist/esm/models/VirtualMachineDetail.js +3 -3
- package/dist/esm/models/VmInspectionConcern.d.ts +44 -0
- package/dist/esm/models/VmInspectionConcern.js +51 -0
- package/dist/esm/models/VmInspectionResults.d.ts +33 -0
- package/dist/esm/models/VmInspectionResults.js +42 -0
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -1
- package/dist/esm/models/VmInspectionStatus.js +1 -2
- package/dist/esm/models/VmUtilizationDetails.d.ts +98 -0
- package/dist/esm/models/VmUtilizationDetails.js +87 -0
- package/dist/esm/models/index.d.ts +23 -1
- package/dist/esm/models/index.js +23 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/BenchmarkRun.d.ts +104 -0
- package/dist/models/BenchmarkRun.js +92 -0
- package/dist/models/DatastoreDetail.d.ts +90 -0
- package/dist/models/DatastoreDetail.js +82 -0
- package/dist/models/DatastorePair.d.ts +50 -0
- package/dist/models/DatastorePair.js +60 -0
- package/dist/models/EstimateRange.d.ts +44 -0
- package/dist/models/EstimateRange.js +52 -0
- package/dist/models/ForecastStats.d.ts +87 -0
- package/dist/models/ForecastStats.js +71 -0
- package/dist/models/ForecasterDatastoresRequest.d.ts +33 -0
- package/dist/models/ForecasterDatastoresRequest.js +49 -0
- package/dist/models/ForecasterPairStatus.d.ts +98 -0
- package/dist/models/ForecasterPairStatus.js +90 -0
- package/dist/models/ForecasterStartRequest.d.ts +58 -0
- package/dist/models/ForecasterStartRequest.js +60 -0
- package/dist/models/ForecasterStatus.d.ts +47 -0
- package/dist/models/ForecasterStatus.js +61 -0
- package/dist/models/InspectorStatus.d.ts +20 -7
- package/dist/models/InspectorStatus.js +12 -7
- package/dist/models/PairCapability.d.ts +60 -0
- package/dist/models/PairCapability.js +72 -0
- package/dist/models/PairCapabilityRequest.d.ts +40 -0
- package/dist/models/PairCapabilityRequest.js +54 -0
- package/dist/models/PutForecasterCredentials403Response.d.ts +38 -0
- package/dist/models/PutForecasterCredentials403Response.js +50 -0
- package/dist/models/RightsizingCollectRequest.d.ts +70 -0
- package/dist/models/RightsizingCollectRequest.js +63 -0
- package/dist/models/RightsizingMetricStats.d.ts +62 -0
- package/dist/models/RightsizingMetricStats.js +70 -0
- package/dist/models/RightsizingReport.d.ts +81 -0
- package/dist/models/RightsizingReport.js +83 -0
- package/dist/models/RightsizingReportListResponse.d.ts +39 -0
- package/dist/models/RightsizingReportListResponse.js +55 -0
- package/dist/models/RightsizingReportSummary.d.ts +74 -0
- package/dist/models/RightsizingReportSummary.js +78 -0
- package/dist/models/RightsizingVMReport.d.ts +53 -0
- package/dist/models/RightsizingVMReport.js +64 -0
- package/dist/models/StartInspectionRequest.d.ts +32 -0
- package/dist/models/StartInspectionRequest.js +50 -0
- package/dist/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/models/StopForecasterPair202Response.js +57 -0
- package/dist/models/VMs.d.ts +18 -0
- package/dist/models/VMs.js +4 -0
- package/dist/models/VirtualMachine.d.ts +31 -1
- package/dist/models/VirtualMachine.js +12 -4
- package/dist/models/VirtualMachineDetail.d.ts +3 -3
- package/dist/models/VirtualMachineDetail.js +3 -3
- package/dist/models/VmInspectionConcern.d.ts +44 -0
- package/dist/models/VmInspectionConcern.js +58 -0
- package/dist/models/VmInspectionResults.d.ts +33 -0
- package/dist/models/VmInspectionResults.js +49 -0
- package/dist/models/VmInspectionStatus.d.ts +0 -1
- package/dist/models/VmInspectionStatus.js +1 -2
- package/dist/models/VmUtilizationDetails.d.ts +98 -0
- package/dist/models/VmUtilizationDetails.js +94 -0
- package/dist/models/index.d.ts +23 -1
- package/dist/models/index.js +23 -1
- package/dist/runtime.js +1 -1
- package/docs/BenchmarkRun.md +58 -0
- package/docs/DatastoreDetail.md +50 -0
- package/docs/DatastorePair.md +40 -0
- package/docs/DefaultApi.md +1123 -237
- package/docs/EstimateRange.md +39 -0
- package/docs/ForecastStats.md +52 -0
- package/docs/ForecasterDatastoresRequest.md +34 -0
- package/docs/ForecasterPairStatus.md +52 -0
- package/docs/ForecasterStartRequest.md +42 -0
- package/docs/ForecasterStatus.md +36 -0
- package/docs/InspectorStatus.md +4 -0
- package/docs/PairCapability.md +40 -0
- package/docs/PairCapabilityRequest.md +36 -0
- package/docs/PutForecasterCredentials403Response.md +36 -0
- package/docs/RightsizingCollectRequest.md +46 -0
- package/docs/RightsizingMetricStats.md +44 -0
- package/docs/RightsizingReport.md +50 -0
- package/docs/RightsizingReportListResponse.md +36 -0
- package/docs/RightsizingReportSummary.md +49 -0
- package/docs/RightsizingVMReport.md +40 -0
- package/docs/{InspectorStartRequest.md → StartInspectionRequest.md} +5 -6
- package/docs/StopForecasterPair202Response.md +36 -0
- package/docs/VMs.md +4 -0
- package/docs/VirtualMachine.md +12 -2
- package/docs/VirtualMachineDetail.md +1 -1
- package/docs/VmInspectionConcern.md +39 -0
- package/docs/VmInspectionResults.md +35 -0
- package/docs/VmUtilizationDetails.md +56 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1396 -350
- package/src/models/BenchmarkRun.ts +171 -0
- package/src/models/DatastoreDetail.ts +146 -0
- package/src/models/DatastorePair.ts +92 -0
- package/src/models/EstimateRange.ts +81 -0
- package/src/models/ForecastStats.ts +147 -0
- package/src/models/ForecasterDatastoresRequest.ts +73 -0
- package/src/models/ForecasterPairStatus.ts +158 -0
- package/src/models/ForecasterStartRequest.ts +113 -0
- package/src/models/ForecasterStatus.ts +93 -0
- package/src/models/InspectorStatus.ts +37 -7
- package/src/models/PairCapability.ts +106 -0
- package/src/models/PairCapabilityRequest.ts +89 -0
- package/src/models/PutForecasterCredentials403Response.ts +73 -0
- package/src/models/RightsizingCollectRequest.ts +123 -0
- package/src/models/RightsizingMetricStats.ts +111 -0
- package/src/models/RightsizingReport.ts +146 -0
- package/src/models/RightsizingReportListResponse.ts +83 -0
- package/src/models/RightsizingReportSummary.ts +129 -0
- package/src/models/RightsizingVMReport.ts +101 -0
- package/src/models/StartInspectionRequest.ts +66 -0
- package/src/models/StopForecasterPair202Response.ts +83 -0
- package/src/models/VMs.ts +18 -0
- package/src/models/VirtualMachine.ts +43 -4
- package/src/models/VirtualMachineDetail.ts +11 -11
- package/src/models/VmInspectionConcern.ts +84 -0
- package/src/models/VmInspectionResults.ts +73 -0
- package/src/models/VmInspectionStatus.ts +1 -2
- package/src/models/VmUtilizationDetails.ts +165 -0
- package/src/models/index.ts +23 -1
- package/src/runtime.ts +1 -2
- 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
|
@@ -0,0 +1,60 @@
|
|
|
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 PairCapability
|
|
16
|
+
*/
|
|
17
|
+
export interface PairCapability {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PairCapability
|
|
22
|
+
*/
|
|
23
|
+
pairName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PairCapability
|
|
28
|
+
*/
|
|
29
|
+
sourceDatastore: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PairCapability
|
|
34
|
+
*/
|
|
35
|
+
targetDatastore: string;
|
|
36
|
+
/**
|
|
37
|
+
* Feasible offload methods for this source-target pair
|
|
38
|
+
* @type {Array<PairCapabilityCapabilitiesEnum>}
|
|
39
|
+
* @memberof PairCapability
|
|
40
|
+
*/
|
|
41
|
+
capabilities: Array<PairCapabilityCapabilitiesEnum>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PairCapabilityCapabilitiesEnum: {
|
|
47
|
+
readonly CopyOffload: "copy-offload";
|
|
48
|
+
readonly Xcopy: "xcopy";
|
|
49
|
+
readonly Rdm: "rdm";
|
|
50
|
+
readonly Vvol: "vvol";
|
|
51
|
+
};
|
|
52
|
+
export type PairCapabilityCapabilitiesEnum = typeof PairCapabilityCapabilitiesEnum[keyof typeof PairCapabilityCapabilitiesEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the PairCapability interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfPairCapability(value: object): value is PairCapability;
|
|
57
|
+
export declare function PairCapabilityFromJSON(json: any): PairCapability;
|
|
58
|
+
export declare function PairCapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PairCapability;
|
|
59
|
+
export declare function PairCapabilityToJSON(json: any): PairCapability;
|
|
60
|
+
export declare function PairCapabilityToJSONTyped(value?: PairCapability | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PairCapabilityCapabilitiesEnum = {
|
|
18
|
+
CopyOffload: 'copy-offload',
|
|
19
|
+
Xcopy: 'xcopy',
|
|
20
|
+
Rdm: 'rdm',
|
|
21
|
+
Vvol: 'vvol'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PairCapability interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfPairCapability(value) {
|
|
27
|
+
if (!('pairName' in value) || value['pairName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('capabilities' in value) || value['capabilities'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function PairCapabilityFromJSON(json) {
|
|
38
|
+
return PairCapabilityFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function PairCapabilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'pairName': json['pairName'],
|
|
46
|
+
'sourceDatastore': json['sourceDatastore'],
|
|
47
|
+
'targetDatastore': json['targetDatastore'],
|
|
48
|
+
'capabilities': json['capabilities'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function PairCapabilityToJSON(json) {
|
|
52
|
+
return PairCapabilityToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function PairCapabilityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'pairName': value['pairName'],
|
|
60
|
+
'sourceDatastore': value['sourceDatastore'],
|
|
61
|
+
'targetDatastore': value['targetDatastore'],
|
|
62
|
+
'capabilities': value['capabilities'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { VcenterCredentials } from './VcenterCredentials.js';
|
|
13
|
+
import type { DatastorePair } from './DatastorePair.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PairCapabilityRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface PairCapabilityRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {VcenterCredentials}
|
|
23
|
+
* @memberof PairCapabilityRequest
|
|
24
|
+
*/
|
|
25
|
+
credentials?: VcenterCredentials;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<DatastorePair>}
|
|
29
|
+
* @memberof PairCapabilityRequest
|
|
30
|
+
*/
|
|
31
|
+
pairs: Array<DatastorePair>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PairCapabilityRequest interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPairCapabilityRequest(value: object): value is PairCapabilityRequest;
|
|
37
|
+
export declare function PairCapabilityRequestFromJSON(json: any): PairCapabilityRequest;
|
|
38
|
+
export declare function PairCapabilityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PairCapabilityRequest;
|
|
39
|
+
export declare function PairCapabilityRequestToJSON(json: any): PairCapabilityRequest;
|
|
40
|
+
export declare function PairCapabilityRequestToJSONTyped(value?: PairCapabilityRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Assisted Migration Agent API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { VcenterCredentialsFromJSON, VcenterCredentialsToJSON, } from './VcenterCredentials.js';
|
|
15
|
+
import { DatastorePairFromJSON, DatastorePairToJSON, } from './DatastorePair.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PairCapabilityRequest interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPairCapabilityRequest(value) {
|
|
20
|
+
if (!('pairs' in value) || value['pairs'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PairCapabilityRequestFromJSON(json) {
|
|
25
|
+
return PairCapabilityRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PairCapabilityRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'credentials': json['credentials'] == null ? undefined : VcenterCredentialsFromJSON(json['credentials']),
|
|
33
|
+
'pairs': (json['pairs'].map(DatastorePairFromJSON)),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PairCapabilityRequestToJSON(json) {
|
|
37
|
+
return PairCapabilityRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function PairCapabilityRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'credentials': VcenterCredentialsToJSON(value['credentials']),
|
|
45
|
+
'pairs': (value['pairs'].map(DatastorePairToJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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 PutForecasterCredentials403Response
|
|
16
|
+
*/
|
|
17
|
+
export interface PutForecasterCredentials403Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PutForecasterCredentials403Response
|
|
22
|
+
*/
|
|
23
|
+
error?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof PutForecasterCredentials403Response
|
|
28
|
+
*/
|
|
29
|
+
missingPrivileges?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PutForecasterCredentials403Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPutForecasterCredentials403Response(value: object): value is PutForecasterCredentials403Response;
|
|
35
|
+
export declare function PutForecasterCredentials403ResponseFromJSON(json: any): PutForecasterCredentials403Response;
|
|
36
|
+
export declare function PutForecasterCredentials403ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutForecasterCredentials403Response;
|
|
37
|
+
export declare function PutForecasterCredentials403ResponseToJSON(json: any): PutForecasterCredentials403Response;
|
|
38
|
+
export declare function PutForecasterCredentials403ResponseToJSONTyped(value?: PutForecasterCredentials403Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 PutForecasterCredentials403Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPutForecasterCredentials403Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PutForecasterCredentials403ResponseFromJSON(json) {
|
|
21
|
+
return PutForecasterCredentials403ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PutForecasterCredentials403ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
29
|
+
'missingPrivileges': json['missingPrivileges'] == null ? undefined : json['missingPrivileges'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function PutForecasterCredentials403ResponseToJSON(json) {
|
|
33
|
+
return PutForecasterCredentials403ResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function PutForecasterCredentials403ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'error': value['error'],
|
|
41
|
+
'missingPrivileges': value['missingPrivileges'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 { VcenterCredentials } from './VcenterCredentials.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RightsizingCollectRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface RightsizingCollectRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {VcenterCredentials}
|
|
22
|
+
* @memberof RightsizingCollectRequest
|
|
23
|
+
*/
|
|
24
|
+
credentials: VcenterCredentials;
|
|
25
|
+
/**
|
|
26
|
+
* Lookback window in hours (default 720 = 30 days)
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof RightsizingCollectRequest
|
|
29
|
+
*/
|
|
30
|
+
lookbackHours?: number;
|
|
31
|
+
/**
|
|
32
|
+
* vSphere historical interval ID in seconds (300=day, 1800=week, 7200=month)
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof RightsizingCollectRequest
|
|
35
|
+
*/
|
|
36
|
+
intervalId?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Filter VMs by name substring
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof RightsizingCollectRequest
|
|
41
|
+
*/
|
|
42
|
+
nameFilter?: string;
|
|
43
|
+
/**
|
|
44
|
+
* MoRef value of a ClusterComputeResource to scope discovery (e.g. domain-c123)
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RightsizingCollectRequest
|
|
47
|
+
*/
|
|
48
|
+
clusterId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Number of VMs per QueryPerf round-trip
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof RightsizingCollectRequest
|
|
53
|
+
*/
|
|
54
|
+
batchSize?: number;
|
|
55
|
+
/**
|
|
56
|
+
* If true, discover VMs live from vSphere. If false (default), use the VMs already stored in the local inventory.
|
|
57
|
+
*
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof RightsizingCollectRequest
|
|
60
|
+
*/
|
|
61
|
+
discoverVms?: boolean;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the RightsizingCollectRequest interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfRightsizingCollectRequest(value: object): value is RightsizingCollectRequest;
|
|
67
|
+
export declare function RightsizingCollectRequestFromJSON(json: any): RightsizingCollectRequest;
|
|
68
|
+
export declare function RightsizingCollectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RightsizingCollectRequest;
|
|
69
|
+
export declare function RightsizingCollectRequestToJSON(json: any): RightsizingCollectRequest;
|
|
70
|
+
export declare function RightsizingCollectRequestToJSONTyped(value?: RightsizingCollectRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { VcenterCredentialsFromJSON, VcenterCredentialsToJSON, } from './VcenterCredentials.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the RightsizingCollectRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfRightsizingCollectRequest(value) {
|
|
19
|
+
if (!('credentials' in value) || value['credentials'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function RightsizingCollectRequestFromJSON(json) {
|
|
24
|
+
return RightsizingCollectRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function RightsizingCollectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'credentials': VcenterCredentialsFromJSON(json['credentials']),
|
|
32
|
+
'lookbackHours': json['lookback_hours'] == null ? undefined : json['lookback_hours'],
|
|
33
|
+
'intervalId': json['interval_id'] == null ? undefined : json['interval_id'],
|
|
34
|
+
'nameFilter': json['name_filter'] == null ? undefined : json['name_filter'],
|
|
35
|
+
'clusterId': json['cluster_id'] == null ? undefined : json['cluster_id'],
|
|
36
|
+
'batchSize': json['batch_size'] == null ? undefined : json['batch_size'],
|
|
37
|
+
'discoverVms': json['discover_vms'] == null ? undefined : json['discover_vms'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function RightsizingCollectRequestToJSON(json) {
|
|
41
|
+
return RightsizingCollectRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function RightsizingCollectRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'credentials': VcenterCredentialsToJSON(value['credentials']),
|
|
49
|
+
'lookback_hours': value['lookbackHours'],
|
|
50
|
+
'interval_id': value['intervalId'],
|
|
51
|
+
'name_filter': value['nameFilter'],
|
|
52
|
+
'cluster_id': value['clusterId'],
|
|
53
|
+
'batch_size': value['batchSize'],
|
|
54
|
+
'discover_vms': value['discoverVms'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 RightsizingMetricStats
|
|
16
|
+
*/
|
|
17
|
+
export interface RightsizingMetricStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RightsizingMetricStats
|
|
22
|
+
*/
|
|
23
|
+
sampleCount: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof RightsizingMetricStats
|
|
28
|
+
*/
|
|
29
|
+
average: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RightsizingMetricStats
|
|
34
|
+
*/
|
|
35
|
+
p95: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof RightsizingMetricStats
|
|
40
|
+
*/
|
|
41
|
+
p99: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof RightsizingMetricStats
|
|
46
|
+
*/
|
|
47
|
+
max: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof RightsizingMetricStats
|
|
52
|
+
*/
|
|
53
|
+
latest: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the RightsizingMetricStats interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfRightsizingMetricStats(value: object): value is RightsizingMetricStats;
|
|
59
|
+
export declare function RightsizingMetricStatsFromJSON(json: any): RightsizingMetricStats;
|
|
60
|
+
export declare function RightsizingMetricStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): RightsizingMetricStats;
|
|
61
|
+
export declare function RightsizingMetricStatsToJSON(json: any): RightsizingMetricStats;
|
|
62
|
+
export declare function RightsizingMetricStatsToJSONTyped(value?: RightsizingMetricStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 RightsizingMetricStats interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRightsizingMetricStats(value) {
|
|
18
|
+
if (!('sampleCount' in value) || value['sampleCount'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('average' in value) || value['average'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('p95' in value) || value['p95'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('p99' in value) || value['p99'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('max' in value) || value['max'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('latest' in value) || value['latest'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function RightsizingMetricStatsFromJSON(json) {
|
|
33
|
+
return RightsizingMetricStatsFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function RightsizingMetricStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'sampleCount': json['sample_count'],
|
|
41
|
+
'average': json['average'],
|
|
42
|
+
'p95': json['p95'],
|
|
43
|
+
'p99': json['p99'],
|
|
44
|
+
'max': json['max'],
|
|
45
|
+
'latest': json['latest'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function RightsizingMetricStatsToJSON(json) {
|
|
49
|
+
return RightsizingMetricStatsToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function RightsizingMetricStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'sample_count': value['sampleCount'],
|
|
57
|
+
'average': value['average'],
|
|
58
|
+
'p95': value['p95'],
|
|
59
|
+
'p99': value['p99'],
|
|
60
|
+
'max': value['max'],
|
|
61
|
+
'latest': value['latest'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { RightsizingVMReport } from './RightsizingVMReport.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RightsizingReport
|
|
17
|
+
*/
|
|
18
|
+
export interface RightsizingReport {
|
|
19
|
+
/**
|
|
20
|
+
* UUID of the report
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RightsizingReport
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* vCenter URL used for this collection
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RightsizingReport
|
|
29
|
+
*/
|
|
30
|
+
vcenter: string;
|
|
31
|
+
/**
|
|
32
|
+
* MoRef of the ClusterComputeResource scoped for this collection (empty = all clusters)
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RightsizingReport
|
|
35
|
+
*/
|
|
36
|
+
clusterId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof RightsizingReport
|
|
41
|
+
*/
|
|
42
|
+
windowStart: Date;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof RightsizingReport
|
|
47
|
+
*/
|
|
48
|
+
windowEnd: Date;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof RightsizingReport
|
|
53
|
+
*/
|
|
54
|
+
intervalId: number;
|
|
55
|
+
/**
|
|
56
|
+
* Theoretical maximum samples for the window (lookback / interval)
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof RightsizingReport
|
|
59
|
+
*/
|
|
60
|
+
expectedSampleCount: number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<RightsizingVMReport>}
|
|
64
|
+
* @memberof RightsizingReport
|
|
65
|
+
*/
|
|
66
|
+
vms: Array<RightsizingVMReport>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof RightsizingReport
|
|
71
|
+
*/
|
|
72
|
+
createdAt: Date;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the RightsizingReport interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfRightsizingReport(value: object): value is RightsizingReport;
|
|
78
|
+
export declare function RightsizingReportFromJSON(json: any): RightsizingReport;
|
|
79
|
+
export declare function RightsizingReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): RightsizingReport;
|
|
80
|
+
export declare function RightsizingReportToJSON(json: any): RightsizingReport;
|
|
81
|
+
export declare function RightsizingReportToJSONTyped(value?: RightsizingReport | null, ignoreDiscriminator?: boolean): any;
|