@openshift-migration-advisor/agent-sdk 0.12.0-d4bdc4301890 → 0.12.0-e6e9d25bdc36
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 +30 -0
- package/README.md +29 -2
- package/dist/apis/DefaultApi.d.ts +442 -0
- package/dist/apis/DefaultApi.js +484 -0
- package/dist/esm/apis/DefaultApi.d.ts +442 -0
- package/dist/esm/apis/DefaultApi.js +484 -0
- 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/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/RightsizingClusterListResponse.d.ts +39 -0
- package/dist/esm/models/RightsizingClusterListResponse.js +48 -0
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +106 -0
- package/dist/esm/models/RightsizingClusterUtilization.js +91 -0
- package/dist/esm/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/esm/models/StopForecasterPair202Response.js +49 -0
- package/dist/esm/models/VmUtilizationDetails.d.ts +18 -0
- package/dist/esm/models/VmUtilizationDetails.js +12 -0
- package/dist/esm/models/index.d.ts +15 -0
- package/dist/esm/models/index.js +15 -0
- 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/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/RightsizingClusterListResponse.d.ts +39 -0
- package/dist/models/RightsizingClusterListResponse.js +55 -0
- package/dist/models/RightsizingClusterUtilization.d.ts +106 -0
- package/dist/models/RightsizingClusterUtilization.js +98 -0
- package/dist/models/StopForecasterPair202Response.d.ts +45 -0
- package/dist/models/StopForecasterPair202Response.js +57 -0
- package/dist/models/VmUtilizationDetails.d.ts +18 -0
- package/dist/models/VmUtilizationDetails.js +12 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/docs/BenchmarkRun.md +58 -0
- package/docs/DatastoreDetail.md +50 -0
- package/docs/DatastorePair.md +40 -0
- package/docs/DefaultApi.md +875 -66
- 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/PairCapability.md +40 -0
- package/docs/PairCapabilityRequest.md +36 -0
- package/docs/PutForecasterCredentials403Response.md +36 -0
- package/docs/RightsizingClusterListResponse.md +36 -0
- package/docs/RightsizingClusterUtilization.md +58 -0
- package/docs/StopForecasterPair202Response.md +36 -0
- package/docs/VmUtilizationDetails.md +6 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +919 -17
- 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/PairCapability.ts +106 -0
- package/src/models/PairCapabilityRequest.ts +89 -0
- package/src/models/PutForecasterCredentials403Response.ts +73 -0
- package/src/models/RightsizingClusterListResponse.ts +83 -0
- package/src/models/RightsizingClusterUtilization.ts +176 -0
- package/src/models/StopForecasterPair202Response.ts +83 -0
- package/src/models/VmUtilizationDetails.ts +27 -0
- package/src/models/index.ts +15 -0
|
@@ -0,0 +1,98 @@
|
|
|
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 ForecasterPairStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface ForecasterPairStatus {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ForecasterPairStatus
|
|
22
|
+
*/
|
|
23
|
+
pairName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ForecasterPairStatus
|
|
28
|
+
*/
|
|
29
|
+
sourceDatastore: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ForecasterPairStatus
|
|
34
|
+
*/
|
|
35
|
+
targetDatastore: string;
|
|
36
|
+
/**
|
|
37
|
+
* ESXi host used for the benchmark (user-specified or auto-selected)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ForecasterPairStatus
|
|
40
|
+
*/
|
|
41
|
+
host?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Per-pair state within a benchmark run
|
|
44
|
+
* @type {ForecasterPairStatusStateEnum}
|
|
45
|
+
* @memberof ForecasterPairStatus
|
|
46
|
+
*/
|
|
47
|
+
state: ForecasterPairStatusStateEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Error message when pair state is error
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ForecasterPairStatus
|
|
52
|
+
*/
|
|
53
|
+
error?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Number of completed iterations
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ForecasterPairStatus
|
|
58
|
+
*/
|
|
59
|
+
completedRuns: number;
|
|
60
|
+
/**
|
|
61
|
+
* Total iterations planned
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ForecasterPairStatus
|
|
64
|
+
*/
|
|
65
|
+
totalRuns: number;
|
|
66
|
+
/**
|
|
67
|
+
* Total bytes to upload during preparation (present during preparing state)
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ForecasterPairStatus
|
|
70
|
+
*/
|
|
71
|
+
prepBytesTotal?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Bytes uploaded so far during preparation
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof ForecasterPairStatus
|
|
76
|
+
*/
|
|
77
|
+
prepBytesUploaded?: number;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const ForecasterPairStatusStateEnum: {
|
|
83
|
+
readonly ForecasterPairStatusStatePending: "pending";
|
|
84
|
+
readonly ForecasterPairStatusStatePreparing: "preparing";
|
|
85
|
+
readonly ForecasterPairStatusStateRunning: "running";
|
|
86
|
+
readonly ForecasterPairStatusStateCompleted: "completed";
|
|
87
|
+
readonly ForecasterPairStatusStateError: "error";
|
|
88
|
+
readonly ForecasterPairStatusStateCanceled: "canceled";
|
|
89
|
+
};
|
|
90
|
+
export type ForecasterPairStatusStateEnum = typeof ForecasterPairStatusStateEnum[keyof typeof ForecasterPairStatusStateEnum];
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the ForecasterPairStatus interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfForecasterPairStatus(value: object): value is ForecasterPairStatus;
|
|
95
|
+
export declare function ForecasterPairStatusFromJSON(json: any): ForecasterPairStatus;
|
|
96
|
+
export declare function ForecasterPairStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterPairStatus;
|
|
97
|
+
export declare function ForecasterPairStatusToJSON(json: any): ForecasterPairStatus;
|
|
98
|
+
export declare function ForecasterPairStatusToJSONTyped(value?: ForecasterPairStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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 ForecasterPairStatusStateEnum = {
|
|
18
|
+
ForecasterPairStatusStatePending: 'pending',
|
|
19
|
+
ForecasterPairStatusStatePreparing: 'preparing',
|
|
20
|
+
ForecasterPairStatusStateRunning: 'running',
|
|
21
|
+
ForecasterPairStatusStateCompleted: 'completed',
|
|
22
|
+
ForecasterPairStatusStateError: 'error',
|
|
23
|
+
ForecasterPairStatusStateCanceled: 'canceled'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ForecasterPairStatus interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfForecasterPairStatus(value) {
|
|
29
|
+
if (!('pairName' in value) || value['pairName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('sourceDatastore' in value) || value['sourceDatastore'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('targetDatastore' in value) || value['targetDatastore'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('completedRuns' in value) || value['completedRuns'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('totalRuns' in value) || value['totalRuns'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
export function ForecasterPairStatusFromJSON(json) {
|
|
44
|
+
return ForecasterPairStatusFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function ForecasterPairStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'pairName': json['pairName'],
|
|
52
|
+
'sourceDatastore': json['sourceDatastore'],
|
|
53
|
+
'targetDatastore': json['targetDatastore'],
|
|
54
|
+
'host': json['host'] == null ? undefined : json['host'],
|
|
55
|
+
'state': json['state'],
|
|
56
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
57
|
+
'completedRuns': json['completedRuns'],
|
|
58
|
+
'totalRuns': json['totalRuns'],
|
|
59
|
+
'prepBytesTotal': json['prepBytesTotal'] == null ? undefined : json['prepBytesTotal'],
|
|
60
|
+
'prepBytesUploaded': json['prepBytesUploaded'] == null ? undefined : json['prepBytesUploaded'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function ForecasterPairStatusToJSON(json) {
|
|
64
|
+
return ForecasterPairStatusToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
export function ForecasterPairStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'pairName': value['pairName'],
|
|
72
|
+
'sourceDatastore': value['sourceDatastore'],
|
|
73
|
+
'targetDatastore': value['targetDatastore'],
|
|
74
|
+
'host': value['host'],
|
|
75
|
+
'state': value['state'],
|
|
76
|
+
'error': value['error'],
|
|
77
|
+
'completedRuns': value['completedRuns'],
|
|
78
|
+
'totalRuns': value['totalRuns'],
|
|
79
|
+
'prepBytesTotal': value['prepBytesTotal'],
|
|
80
|
+
'prepBytesUploaded': value['prepBytesUploaded'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 ForecasterStartRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface ForecasterStartRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {VcenterCredentials}
|
|
23
|
+
* @memberof ForecasterStartRequest
|
|
24
|
+
*/
|
|
25
|
+
credentials?: VcenterCredentials;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<DatastorePair>}
|
|
29
|
+
* @memberof ForecasterStartRequest
|
|
30
|
+
*/
|
|
31
|
+
pairs: Array<DatastorePair>;
|
|
32
|
+
/**
|
|
33
|
+
* Disk size in GB for benchmark (default 10)
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof ForecasterStartRequest
|
|
36
|
+
*/
|
|
37
|
+
diskSizeGb?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Number of benchmark iterations per pair (default 5)
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof ForecasterStartRequest
|
|
42
|
+
*/
|
|
43
|
+
iterations?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Max parallel pairs (default 1, sequential)
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof ForecasterStartRequest
|
|
48
|
+
*/
|
|
49
|
+
concurrency?: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the ForecasterStartRequest interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfForecasterStartRequest(value: object): value is ForecasterStartRequest;
|
|
55
|
+
export declare function ForecasterStartRequestFromJSON(json: any): ForecasterStartRequest;
|
|
56
|
+
export declare function ForecasterStartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterStartRequest;
|
|
57
|
+
export declare function ForecasterStartRequestToJSON(json: any): ForecasterStartRequest;
|
|
58
|
+
export declare function ForecasterStartRequestToJSONTyped(value?: ForecasterStartRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 ForecasterStartRequest interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfForecasterStartRequest(value) {
|
|
20
|
+
if (!('pairs' in value) || value['pairs'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ForecasterStartRequestFromJSON(json) {
|
|
25
|
+
return ForecasterStartRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ForecasterStartRequestFromJSONTyped(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
|
+
'diskSizeGb': json['diskSizeGb'] == null ? undefined : json['diskSizeGb'],
|
|
35
|
+
'iterations': json['iterations'] == null ? undefined : json['iterations'],
|
|
36
|
+
'concurrency': json['concurrency'] == null ? undefined : json['concurrency'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ForecasterStartRequestToJSON(json) {
|
|
40
|
+
return ForecasterStartRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ForecasterStartRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'credentials': VcenterCredentialsToJSON(value['credentials']),
|
|
48
|
+
'pairs': (value['pairs'].map(DatastorePairToJSON)),
|
|
49
|
+
'diskSizeGb': value['diskSizeGb'],
|
|
50
|
+
'iterations': value['iterations'],
|
|
51
|
+
'concurrency': value['concurrency'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { ForecasterPairStatus } from './ForecasterPairStatus.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ForecasterStatus
|
|
17
|
+
*/
|
|
18
|
+
export interface ForecasterStatus {
|
|
19
|
+
/**
|
|
20
|
+
* Service-level state. Only two states exist — ready (idle) or running (benchmark in progress). When a benchmark finishes or is canceled, the service returns to ready.
|
|
21
|
+
* @type {ForecasterStatusStateEnum}
|
|
22
|
+
* @memberof ForecasterStatus
|
|
23
|
+
*/
|
|
24
|
+
state: ForecasterStatusStateEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Per-pair progress (present only when running)
|
|
27
|
+
* @type {Array<ForecasterPairStatus>}
|
|
28
|
+
* @memberof ForecasterStatus
|
|
29
|
+
*/
|
|
30
|
+
pairs?: Array<ForecasterPairStatus>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const ForecasterStatusStateEnum: {
|
|
36
|
+
readonly ForecasterStatusStateReady: "ready";
|
|
37
|
+
readonly ForecasterStatusStateRunning: "running";
|
|
38
|
+
};
|
|
39
|
+
export type ForecasterStatusStateEnum = typeof ForecasterStatusStateEnum[keyof typeof ForecasterStatusStateEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ForecasterStatus interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfForecasterStatus(value: object): value is ForecasterStatus;
|
|
44
|
+
export declare function ForecasterStatusFromJSON(json: any): ForecasterStatus;
|
|
45
|
+
export declare function ForecasterStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForecasterStatus;
|
|
46
|
+
export declare function ForecasterStatusToJSON(json: any): ForecasterStatus;
|
|
47
|
+
export declare function ForecasterStatusToJSONTyped(value?: ForecasterStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { ForecasterPairStatusFromJSON, ForecasterPairStatusToJSON, } from './ForecasterPairStatus.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ForecasterStatusStateEnum = {
|
|
19
|
+
ForecasterStatusStateReady: 'ready',
|
|
20
|
+
ForecasterStatusStateRunning: 'running'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ForecasterStatus interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfForecasterStatus(value) {
|
|
26
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function ForecasterStatusFromJSON(json) {
|
|
31
|
+
return ForecasterStatusFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ForecasterStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'state': json['state'],
|
|
39
|
+
'pairs': json['pairs'] == null ? undefined : (json['pairs'].map(ForecasterPairStatusFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function ForecasterStatusToJSON(json) {
|
|
43
|
+
return ForecasterStatusToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function ForecasterStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'state': value['state'],
|
|
51
|
+
'pairs': value['pairs'] == null ? undefined : (value['pairs'].map(ForecasterPairStatusToJSON)),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -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;
|