@migration-planner-ui/api-client 0.0.36 → 0.0.38
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/dist/apis/AssessmentApi.d.ts +36 -7
- package/dist/apis/AssessmentApi.d.ts.map +1 -1
- package/dist/apis/AssessmentApi.js +45 -7
- package/dist/apis/HealthApi.d.ts +2 -2
- package/dist/apis/HealthApi.js +2 -2
- package/dist/apis/ImageApi.d.ts +2 -2
- package/dist/apis/ImageApi.js +2 -2
- package/dist/apis/InfoApi.d.ts +2 -2
- package/dist/apis/InfoApi.js +2 -2
- package/dist/apis/JobApi.d.ts +2 -2
- package/dist/apis/JobApi.js +2 -2
- package/dist/apis/SourceApi.d.ts +2 -2
- package/dist/apis/SourceApi.js +2 -2
- package/dist/models/Agent.d.ts +2 -2
- package/dist/models/Agent.js +2 -2
- package/dist/models/AgentProxy.d.ts +2 -2
- package/dist/models/AgentProxy.js +2 -2
- package/dist/models/Assessment.d.ts +3 -3
- package/dist/models/Assessment.d.ts.map +1 -1
- package/dist/models/Assessment.js +4 -4
- package/dist/models/AssessmentForm.d.ts +2 -2
- package/dist/models/AssessmentForm.js +2 -2
- package/dist/models/AssessmentUpdate.d.ts +2 -2
- package/dist/models/AssessmentUpdate.js +2 -2
- package/dist/models/ClusterRequirementsRequest.d.ts +82 -0
- package/dist/models/ClusterRequirementsRequest.d.ts.map +1 -0
- package/dist/models/ClusterRequirementsRequest.js +78 -0
- package/dist/models/ClusterRequirementsResponse.d.ts +48 -0
- package/dist/models/ClusterRequirementsResponse.d.ts.map +1 -0
- package/dist/models/ClusterRequirementsResponse.js +54 -0
- package/dist/models/ClusterSizing.d.ts +57 -0
- package/dist/models/ClusterSizing.d.ts.map +1 -0
- package/dist/models/ClusterSizing.js +59 -0
- package/dist/models/Datastore.d.ts +2 -2
- package/dist/models/Datastore.js +2 -2
- package/dist/models/DiskSizeTierSummary.d.ts +2 -2
- package/dist/models/DiskSizeTierSummary.js +2 -2
- package/dist/models/DiskTypeSummary.d.ts +2 -2
- package/dist/models/DiskTypeSummary.js +2 -2
- package/dist/models/Histogram.d.ts +2 -2
- package/dist/models/Histogram.js +2 -2
- package/dist/models/Host.d.ts +2 -2
- package/dist/models/Host.js +2 -2
- package/dist/models/Info.d.ts +2 -2
- package/dist/models/Info.js +2 -2
- package/dist/models/Infra.d.ts +5 -5
- package/dist/models/Infra.d.ts.map +1 -1
- package/dist/models/Infra.js +6 -6
- package/dist/models/Inventory.d.ts +3 -3
- package/dist/models/Inventory.d.ts.map +1 -1
- package/dist/models/Inventory.js +4 -4
- package/dist/models/InventoryData.d.ts +2 -2
- package/dist/models/InventoryData.js +2 -2
- package/dist/models/InventoryTotals.d.ts +45 -0
- package/dist/models/InventoryTotals.d.ts.map +1 -0
- package/dist/models/InventoryTotals.js +51 -0
- package/dist/models/Ipv4Config.d.ts +2 -2
- package/dist/models/Ipv4Config.js +2 -2
- package/dist/models/Job.d.ts +2 -2
- package/dist/models/Job.js +2 -2
- package/dist/models/JobStatus.d.ts +2 -2
- package/dist/models/JobStatus.js +2 -2
- package/dist/models/Label.d.ts +2 -2
- package/dist/models/Label.js +2 -2
- package/dist/models/MigrationIssue.d.ts +2 -2
- package/dist/models/MigrationIssue.js +2 -2
- package/dist/models/ModelError.d.ts +2 -2
- package/dist/models/ModelError.js +2 -2
- package/dist/models/Network.d.ts +2 -2
- package/dist/models/Network.js +2 -2
- package/dist/models/OsInfo.d.ts +2 -2
- package/dist/models/OsInfo.js +2 -2
- package/dist/models/PresignedUrl.d.ts +2 -2
- package/dist/models/PresignedUrl.js +2 -2
- package/dist/models/SizingOverCommitRatio.d.ts +39 -0
- package/dist/models/SizingOverCommitRatio.d.ts.map +1 -0
- package/dist/models/SizingOverCommitRatio.js +47 -0
- package/dist/models/SizingResourceConsumption.d.ts +53 -0
- package/dist/models/SizingResourceConsumption.d.ts.map +1 -0
- package/dist/models/SizingResourceConsumption.js +53 -0
- package/dist/models/SizingResourceLimits.d.ts +39 -0
- package/dist/models/SizingResourceLimits.d.ts.map +1 -0
- package/dist/models/SizingResourceLimits.js +47 -0
- package/dist/models/Snapshot.d.ts +2 -2
- package/dist/models/Snapshot.js +2 -2
- package/dist/models/Source.d.ts +2 -2
- package/dist/models/Source.js +2 -2
- package/dist/models/SourceCreate.d.ts +2 -2
- package/dist/models/SourceCreate.js +2 -2
- package/dist/models/SourceInfra.d.ts +2 -2
- package/dist/models/SourceInfra.js +2 -2
- package/dist/models/SourceUpdate.d.ts +2 -2
- package/dist/models/SourceUpdate.js +2 -2
- package/dist/models/Status.d.ts +2 -2
- package/dist/models/Status.js +2 -2
- package/dist/models/UpdateInventory.d.ts +2 -2
- package/dist/models/UpdateInventory.js +2 -2
- package/dist/models/VCenter.d.ts +2 -2
- package/dist/models/VCenter.js +2 -2
- package/dist/models/VMResourceBreakdown.d.ts +2 -2
- package/dist/models/VMResourceBreakdown.js +2 -2
- package/dist/models/VMs.d.ts +11 -5
- package/dist/models/VMs.d.ts.map +1 -1
- package/dist/models/VMs.js +8 -6
- package/dist/models/VmNetwork.d.ts +2 -2
- package/dist/models/VmNetwork.js +2 -2
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +7 -0
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +3 -3
- package/package.json +2 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { Assessment, AssessmentForm, AssessmentUpdate } from '../models/index.js';
|
|
13
|
+
import type { Assessment, AssessmentForm, AssessmentUpdate, ClusterRequirementsRequest, ClusterRequirementsResponse } from '../models/index.js';
|
|
14
|
+
export interface CalculateAssessmentClusterRequirementsRequest {
|
|
15
|
+
id: string;
|
|
16
|
+
clusterRequirementsRequest: ClusterRequirementsRequest;
|
|
17
|
+
}
|
|
14
18
|
export interface CreateAssessmentRequest {
|
|
15
19
|
assessmentForm: AssessmentForm;
|
|
16
20
|
}
|
|
@@ -20,6 +24,9 @@ export interface DeleteAssessmentRequest {
|
|
|
20
24
|
export interface GetAssessmentRequest {
|
|
21
25
|
id: string;
|
|
22
26
|
}
|
|
27
|
+
export interface ListAssessmentsRequest {
|
|
28
|
+
sourceId?: string;
|
|
29
|
+
}
|
|
23
30
|
export interface UpdateAssessmentRequest {
|
|
24
31
|
id: string;
|
|
25
32
|
assessmentUpdate: AssessmentUpdate;
|
|
@@ -31,6 +38,19 @@ export interface UpdateAssessmentRequest {
|
|
|
31
38
|
* @interface AssessmentApiInterface
|
|
32
39
|
*/
|
|
33
40
|
export interface AssessmentApiInterface {
|
|
41
|
+
/**
|
|
42
|
+
* Calculate cluster requirements for an assessment
|
|
43
|
+
* @param {string} id ID of the assessment
|
|
44
|
+
* @param {ClusterRequirementsRequest} clusterRequirementsRequest
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
* @memberof AssessmentApiInterface
|
|
48
|
+
*/
|
|
49
|
+
calculateAssessmentClusterRequirementsRaw(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClusterRequirementsResponse>>;
|
|
50
|
+
/**
|
|
51
|
+
* Calculate cluster requirements for an assessment
|
|
52
|
+
*/
|
|
53
|
+
calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
|
|
34
54
|
/**
|
|
35
55
|
* Create an assessment
|
|
36
56
|
* @param {AssessmentForm} assessmentForm
|
|
@@ -69,15 +89,16 @@ export interface AssessmentApiInterface {
|
|
|
69
89
|
getAssessment(requestParameters: GetAssessmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Assessment>;
|
|
70
90
|
/**
|
|
71
91
|
* List assessments
|
|
92
|
+
* @param {string} [sourceId] Filter assessments by source ID
|
|
72
93
|
* @param {*} [options] Override http request option.
|
|
73
94
|
* @throws {RequiredError}
|
|
74
95
|
* @memberof AssessmentApiInterface
|
|
75
96
|
*/
|
|
76
|
-
listAssessmentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Assessment>>>;
|
|
97
|
+
listAssessmentsRaw(requestParameters: ListAssessmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Assessment>>>;
|
|
77
98
|
/**
|
|
78
99
|
* List assessments
|
|
79
100
|
*/
|
|
80
|
-
listAssessments(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Assessment>>;
|
|
101
|
+
listAssessments(requestParameters: ListAssessmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Assessment>>;
|
|
81
102
|
/**
|
|
82
103
|
* Update an assessment
|
|
83
104
|
* @param {string} id ID of the assessment
|
|
@@ -96,6 +117,14 @@ export interface AssessmentApiInterface {
|
|
|
96
117
|
*
|
|
97
118
|
*/
|
|
98
119
|
export declare class AssessmentApi extends runtime.BaseAPI implements AssessmentApiInterface {
|
|
120
|
+
/**
|
|
121
|
+
* Calculate cluster requirements for an assessment
|
|
122
|
+
*/
|
|
123
|
+
calculateAssessmentClusterRequirementsRaw(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClusterRequirementsResponse>>;
|
|
124
|
+
/**
|
|
125
|
+
* Calculate cluster requirements for an assessment
|
|
126
|
+
*/
|
|
127
|
+
calculateAssessmentClusterRequirements(requestParameters: CalculateAssessmentClusterRequirementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClusterRequirementsResponse>;
|
|
99
128
|
/**
|
|
100
129
|
* Create an assessment
|
|
101
130
|
*/
|
|
@@ -123,11 +152,11 @@ export declare class AssessmentApi extends runtime.BaseAPI implements Assessment
|
|
|
123
152
|
/**
|
|
124
153
|
* List assessments
|
|
125
154
|
*/
|
|
126
|
-
listAssessmentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Assessment>>>;
|
|
155
|
+
listAssessmentsRaw(requestParameters: ListAssessmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Assessment>>>;
|
|
127
156
|
/**
|
|
128
157
|
* List assessments
|
|
129
158
|
*/
|
|
130
|
-
listAssessments(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Assessment>>;
|
|
159
|
+
listAssessments(requestParameters?: ListAssessmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Assessment>>;
|
|
131
160
|
/**
|
|
132
161
|
* Update an assessment
|
|
133
162
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssessmentApi.d.ts","sourceRoot":"","sources":["../../src/apis/AssessmentApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EACV,UAAU,EACV,cAAc,EACd,gBAAgB,
|
|
1
|
+
{"version":3,"file":"AssessmentApi.d.ts","sourceRoot":"","sources":["../../src/apis/AssessmentApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,eAAe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ACG,gBAAgB,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IA0BrK;;OAEG;IACG,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC;IAK7I;;OAEG;IACG,kBAAkB,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;IAsBhL;;OAEG;IACG,eAAe,CAAC,iBAAiB,GAAE,sBAA2B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IAK7J;;OAEG;IACG,mBAAmB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAoC3K;;OAEG;IACG,gBAAgB,CAAC,iBAAiB,EAAE,uBAAuB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC;CAKtJ"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,11 +21,46 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime.js';
|
|
24
|
-
import { AssessmentFromJSON, AssessmentFormToJSON, AssessmentUpdateToJSON, } from '../models/index.js';
|
|
24
|
+
import { AssessmentFromJSON, AssessmentFormToJSON, AssessmentUpdateToJSON, ClusterRequirementsRequestToJSON, ClusterRequirementsResponseFromJSON, } from '../models/index.js';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export class AssessmentApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Calculate cluster requirements for an assessment
|
|
31
|
+
*/
|
|
32
|
+
calculateAssessmentClusterRequirementsRaw(requestParameters, initOverrides) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['id'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling calculateAssessmentClusterRequirements().');
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters['clusterRequirementsRequest'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('clusterRequirementsRequest', 'Required parameter "clusterRequirementsRequest" was null or undefined when calling calculateAssessmentClusterRequirements().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
43
|
+
let urlPath = `/api/v1/assessments/{id}/cluster-requirements`;
|
|
44
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
45
|
+
const response = yield this.request({
|
|
46
|
+
path: urlPath,
|
|
47
|
+
method: 'POST',
|
|
48
|
+
headers: headerParameters,
|
|
49
|
+
query: queryParameters,
|
|
50
|
+
body: ClusterRequirementsRequestToJSON(requestParameters['clusterRequirementsRequest']),
|
|
51
|
+
}, initOverrides);
|
|
52
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ClusterRequirementsResponseFromJSON(jsonValue));
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Calculate cluster requirements for an assessment
|
|
57
|
+
*/
|
|
58
|
+
calculateAssessmentClusterRequirements(requestParameters, initOverrides) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
const response = yield this.calculateAssessmentClusterRequirementsRaw(requestParameters, initOverrides);
|
|
61
|
+
return yield response.value();
|
|
62
|
+
});
|
|
63
|
+
}
|
|
29
64
|
/**
|
|
30
65
|
* Create an assessment
|
|
31
66
|
*/
|
|
@@ -120,9 +155,12 @@ export class AssessmentApi extends runtime.BaseAPI {
|
|
|
120
155
|
/**
|
|
121
156
|
* List assessments
|
|
122
157
|
*/
|
|
123
|
-
listAssessmentsRaw(initOverrides) {
|
|
158
|
+
listAssessmentsRaw(requestParameters, initOverrides) {
|
|
124
159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
125
160
|
const queryParameters = {};
|
|
161
|
+
if (requestParameters['sourceId'] != null) {
|
|
162
|
+
queryParameters['sourceId'] = requestParameters['sourceId'];
|
|
163
|
+
}
|
|
126
164
|
const headerParameters = {};
|
|
127
165
|
let urlPath = `/api/v1/assessments`;
|
|
128
166
|
const response = yield this.request({
|
|
@@ -137,9 +175,9 @@ export class AssessmentApi extends runtime.BaseAPI {
|
|
|
137
175
|
/**
|
|
138
176
|
* List assessments
|
|
139
177
|
*/
|
|
140
|
-
listAssessments(
|
|
141
|
-
return __awaiter(this,
|
|
142
|
-
const response = yield this.listAssessmentsRaw(initOverrides);
|
|
178
|
+
listAssessments() {
|
|
179
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
180
|
+
const response = yield this.listAssessmentsRaw(requestParameters, initOverrides);
|
|
143
181
|
return yield response.value();
|
|
144
182
|
});
|
|
145
183
|
}
|
package/dist/apis/HealthApi.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/HealthApi.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/ImageApi.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/ImageApi.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/InfoApi.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/InfoApi.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/JobApi.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/JobApi.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/SourceApi.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/SourceApi.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Agent.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/Agent.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -63,7 +63,7 @@ export interface Assessment {
|
|
|
63
63
|
* @type {Array<Snapshot>}
|
|
64
64
|
* @memberof Assessment
|
|
65
65
|
*/
|
|
66
|
-
snapshots: Array<Snapshot
|
|
66
|
+
snapshots: Array<Snapshot>;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* @export
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Assessment.d.ts","sourceRoot":"","sources":["../../src/models/Assessment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQ9C;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,wBAAwB,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"Assessment.d.ts","sourceRoot":"","sources":["../../src/models/Assessment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQ9C;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,wBAAwB,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;CAC9B;AAGD;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAOvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAe3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB1G"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -51,7 +51,7 @@ export function AssessmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'sourceType': json['sourceType'],
|
|
52
52
|
'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
|
|
53
53
|
'createdAt': (new Date(json['createdAt'])),
|
|
54
|
-
'snapshots': (json['snapshots']
|
|
54
|
+
'snapshots': (json['snapshots'].map(SnapshotFromJSON)),
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
export function AssessmentToJSON(json) {
|
|
@@ -69,6 +69,6 @@ export function AssessmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
69
69
|
'sourceType': value['sourceType'],
|
|
70
70
|
'sourceId': value['sourceId'],
|
|
71
71
|
'createdAt': value['createdAt'].toISOString(),
|
|
72
|
-
'snapshots': (value['snapshots']
|
|
72
|
+
'snapshots': (value['snapshots'].map(SnapshotToJSON)),
|
|
73
73
|
};
|
|
74
74
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Migration Planner API
|
|
3
|
-
*
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Migration Planner API
|
|
5
|
-
*
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: undefined
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Migration Planner API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: undefined
|
|
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
|
+
* Request payload for calculating cluster requirements
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ClusterRequirementsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ClusterRequirementsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* ID of the cluster to calculate requirements for
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ClusterRequirementsRequest
|
|
22
|
+
*/
|
|
23
|
+
clusterId: string;
|
|
24
|
+
/**
|
|
25
|
+
* CPU over-commit ratio (e.g., "1:4")
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ClusterRequirementsRequest
|
|
28
|
+
*/
|
|
29
|
+
cpuOverCommitRatio: ClusterRequirementsRequestCpuOverCommitRatioEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Memory over-commit ratio (e.g., "1:2")
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ClusterRequirementsRequest
|
|
34
|
+
*/
|
|
35
|
+
memoryOverCommitRatio: ClusterRequirementsRequestMemoryOverCommitRatioEnum;
|
|
36
|
+
/**
|
|
37
|
+
* CPU cores per worker node
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ClusterRequirementsRequest
|
|
40
|
+
*/
|
|
41
|
+
workerNodeCPU: number;
|
|
42
|
+
/**
|
|
43
|
+
* Memory (GB) per worker node
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ClusterRequirementsRequest
|
|
46
|
+
*/
|
|
47
|
+
workerNodeMemory: number;
|
|
48
|
+
/**
|
|
49
|
+
* Allow workload scheduling on control plane nodes
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof ClusterRequirementsRequest
|
|
52
|
+
*/
|
|
53
|
+
controlPlaneSchedulable?: boolean;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const ClusterRequirementsRequestCpuOverCommitRatioEnum: {
|
|
59
|
+
readonly CpuOneToOne: "1:1";
|
|
60
|
+
readonly CpuOneToTwo: "1:2";
|
|
61
|
+
readonly CpuOneToFour: "1:4";
|
|
62
|
+
readonly CpuOneToSix: "1:6";
|
|
63
|
+
};
|
|
64
|
+
export type ClusterRequirementsRequestCpuOverCommitRatioEnum = typeof ClusterRequirementsRequestCpuOverCommitRatioEnum[keyof typeof ClusterRequirementsRequestCpuOverCommitRatioEnum];
|
|
65
|
+
/**
|
|
66
|
+
* @export
|
|
67
|
+
*/
|
|
68
|
+
export declare const ClusterRequirementsRequestMemoryOverCommitRatioEnum: {
|
|
69
|
+
readonly MemoryOneToOne: "1:1";
|
|
70
|
+
readonly MemoryOneToTwo: "1:2";
|
|
71
|
+
readonly MemoryOneToFour: "1:4";
|
|
72
|
+
};
|
|
73
|
+
export type ClusterRequirementsRequestMemoryOverCommitRatioEnum = typeof ClusterRequirementsRequestMemoryOverCommitRatioEnum[keyof typeof ClusterRequirementsRequestMemoryOverCommitRatioEnum];
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the ClusterRequirementsRequest interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfClusterRequirementsRequest(value: object): value is ClusterRequirementsRequest;
|
|
78
|
+
export declare function ClusterRequirementsRequestFromJSON(json: any): ClusterRequirementsRequest;
|
|
79
|
+
export declare function ClusterRequirementsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClusterRequirementsRequest;
|
|
80
|
+
export declare function ClusterRequirementsRequestToJSON(json: any): ClusterRequirementsRequest;
|
|
81
|
+
export declare function ClusterRequirementsRequestToJSONTyped(value?: ClusterRequirementsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
82
|
+
//# sourceMappingURL=ClusterRequirementsRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterRequirementsRequest.d.ts","sourceRoot":"","sources":["../../src/models/ClusterRequirementsRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,kBAAkB,EAAE,gDAAgD,CAAC;IACrE;;;;OAIG;IACH,qBAAqB,EAAE,mDAAmD,CAAC;IAC3E;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC;AAGD;;GAEG;AACH,eAAO,MAAM,gDAAgD;;;;;CAKnD,CAAC;AACX,MAAM,MAAM,gDAAgD,GAAG,OAAO,gDAAgD,CAAC,MAAM,OAAO,gDAAgD,CAAC,CAAC;AAEtL;;GAEG;AACH,eAAO,MAAM,mDAAmD;;;;CAItD,CAAC;AACX,MAAM,MAAM,mDAAmD,GAAG,OAAO,mDAAmD,CAAC,MAAM,OAAO,mDAAmD,CAAC,CAAC;AAG/L;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAOvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAa3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc1I"}
|