@openshift-migration-advisor/agent-sdk 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +161 -0
- package/dist/apis/DefaultApi.js +11 -1
- package/dist/esm/apis/DefaultApi.d.ts +161 -0
- package/dist/esm/apis/DefaultApi.js +10 -0
- package/dist/esm/models/AgentModeRequest.d.ts +0 -2
- package/dist/esm/models/AgentStatus.d.ts +0 -6
- package/dist/esm/models/ApplicationListResponse.d.ts +0 -2
- package/dist/esm/models/ApplicationOverview.d.ts +0 -8
- package/dist/esm/models/ApplicationVM.d.ts +0 -4
- package/dist/esm/models/BatchUpdateExclusionRequest.d.ts +0 -4
- package/dist/esm/models/BenchmarkRun.d.ts +0 -26
- package/dist/esm/models/CapabilityStatus.d.ts +0 -2
- package/dist/esm/models/CapabilityStatusCapabilities.d.ts +0 -6
- package/dist/esm/models/ClusterFeatures.d.ts +0 -6
- package/dist/esm/models/ClusterUtilization.d.ts +0 -14
- package/dist/esm/models/CollectorStartRequest.d.ts +0 -10
- package/dist/esm/models/CollectorStatus.d.ts +0 -4
- package/dist/esm/models/CreateGroupRequest.d.ts +0 -6
- package/dist/esm/models/CredentialStatus.d.ts +0 -6
- package/dist/esm/models/Datastore.d.ts +0 -20
- package/dist/esm/models/DatastoreDetail.d.ts +0 -18
- package/dist/esm/models/DatastorePair.d.ts +0 -8
- package/dist/esm/models/DeleteLabelGloballyResponse.d.ts +0 -4
- package/dist/esm/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/esm/models/DiskTypeSummary.d.ts +0 -4
- package/dist/esm/models/EstimateRange.d.ts +0 -6
- package/dist/esm/models/ExportInventory400Response.d.ts +0 -2
- package/dist/esm/models/ExportInventory500Response.d.ts +0 -2
- package/dist/esm/models/ForecastStats.d.ts +0 -20
- package/dist/esm/models/ForecasterDatastoresRequest.d.ts +0 -2
- package/dist/esm/models/ForecasterPairStatus.d.ts +0 -20
- package/dist/esm/models/ForecasterStartRequest.d.ts +0 -10
- package/dist/esm/models/ForecasterStatus.d.ts +0 -4
- package/dist/esm/models/Group.d.ts +0 -12
- package/dist/esm/models/GroupListResponse.d.ts +0 -8
- package/dist/esm/models/GroupResponse.d.ts +0 -12
- package/dist/esm/models/GuestNetwork.d.ts +0 -10
- package/dist/esm/models/Histogram.d.ts +0 -6
- package/dist/esm/models/Host.d.ts +0 -12
- package/dist/esm/models/Infra.d.ts +0 -24
- package/dist/esm/models/InspectorStatus.d.ts +0 -4
- package/dist/esm/models/Inventory.d.ts +0 -8
- package/dist/esm/models/InventoryData.d.ts +0 -10
- package/dist/esm/models/IssuesBreakdown.d.ts +0 -10
- package/dist/esm/models/MigrationIssue.d.ts +0 -8
- package/dist/esm/models/Network.d.ts +0 -10
- package/dist/esm/models/OperationCapability.d.ts +0 -4
- package/dist/esm/models/OsInfo.d.ts +0 -8
- package/dist/esm/models/PairCapability.d.ts +0 -8
- package/dist/esm/models/PairCapabilityRequest.d.ts +0 -4
- package/dist/esm/models/Process.d.ts +0 -4
- package/dist/esm/models/PutForecasterCredentials403Response.d.ts +0 -4
- package/dist/esm/models/RightsizingClusterListResponse.d.ts +0 -4
- package/dist/esm/models/RightsizingClusterResponse.d.ts +0 -4
- package/dist/esm/models/RightsizingClusterUtilization.d.ts +0 -28
- package/dist/esm/models/RightsizingCollectRequest.d.ts +0 -14
- package/dist/esm/models/RightsizingMetricStats.d.ts +0 -12
- package/dist/esm/models/RightsizingReport.d.ts +0 -18
- package/dist/esm/models/RightsizingReportListResponse.d.ts +0 -4
- package/dist/esm/models/RightsizingReportSummary.d.ts +0 -16
- package/dist/esm/models/RightsizingVMReport.d.ts +0 -8
- package/dist/esm/models/StartInspectionRequest.d.ts +0 -4
- package/dist/esm/models/StopForecasterPair202Response.d.ts +0 -4
- package/dist/esm/models/StorageIoConfiguration.d.ts +0 -8
- package/dist/esm/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/esm/models/UpdateInventory.d.ts +0 -4
- package/dist/esm/models/UpdateLabelVMsRequest.d.ts +0 -4
- package/dist/esm/models/VCenter.d.ts +0 -2
- package/dist/esm/models/VMDevice.d.ts +0 -2
- package/dist/esm/models/VMDisk.d.ts +0 -14
- package/dist/esm/models/VMFilterOptionsResponse.d.ts +0 -10
- package/dist/esm/models/VMIssue.d.ts +0 -6
- package/dist/esm/models/VMLabelsResponse.d.ts +0 -4
- package/dist/esm/models/VMNIC.d.ts +0 -10
- package/dist/esm/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/esm/models/VMs.d.ts +0 -46
- package/dist/esm/models/VcenterCredentials.d.ts +0 -10
- package/dist/esm/models/VddkProperties.d.ts +0 -6
- package/dist/esm/models/VersionInfo.d.ts +0 -6
- package/dist/esm/models/VirtualMachine.d.ts +0 -42
- package/dist/esm/models/VirtualMachineDetail.d.ts +0 -70
- package/dist/esm/models/VirtualMachineListResponse.d.ts +0 -8
- package/dist/esm/models/VirtualMachineUpdateRequest.d.ts +0 -4
- package/dist/esm/models/VmInspectionConcern.d.ts +0 -6
- package/dist/esm/models/VmInspectionResults.d.ts +0 -2
- package/dist/esm/models/VmInspectionStatus.d.ts +0 -8
- package/dist/esm/models/VmUtilizationDetails.d.ts +0 -30
- package/dist/models/AgentModeRequest.d.ts +0 -2
- package/dist/models/AgentStatus.d.ts +0 -6
- package/dist/models/ApplicationListResponse.d.ts +0 -2
- package/dist/models/ApplicationOverview.d.ts +0 -8
- package/dist/models/ApplicationVM.d.ts +0 -4
- package/dist/models/BatchUpdateExclusionRequest.d.ts +0 -4
- package/dist/models/BenchmarkRun.d.ts +0 -26
- package/dist/models/CapabilityStatus.d.ts +0 -2
- package/dist/models/CapabilityStatusCapabilities.d.ts +0 -6
- package/dist/models/ClusterFeatures.d.ts +0 -6
- package/dist/models/ClusterUtilization.d.ts +0 -14
- package/dist/models/CollectorStartRequest.d.ts +0 -10
- package/dist/models/CollectorStatus.d.ts +0 -4
- package/dist/models/CreateGroupRequest.d.ts +0 -6
- package/dist/models/CredentialStatus.d.ts +0 -6
- package/dist/models/Datastore.d.ts +0 -20
- package/dist/models/DatastoreDetail.d.ts +0 -18
- package/dist/models/DatastorePair.d.ts +0 -8
- package/dist/models/DeleteLabelGloballyResponse.d.ts +0 -4
- package/dist/models/DiskSizeTierSummary.d.ts +0 -4
- package/dist/models/DiskTypeSummary.d.ts +0 -4
- package/dist/models/EstimateRange.d.ts +0 -6
- package/dist/models/ExportInventory400Response.d.ts +0 -2
- package/dist/models/ExportInventory500Response.d.ts +0 -2
- package/dist/models/ForecastStats.d.ts +0 -20
- package/dist/models/ForecasterDatastoresRequest.d.ts +0 -2
- package/dist/models/ForecasterPairStatus.d.ts +0 -20
- package/dist/models/ForecasterStartRequest.d.ts +0 -10
- package/dist/models/ForecasterStatus.d.ts +0 -4
- package/dist/models/Group.d.ts +0 -12
- package/dist/models/GroupListResponse.d.ts +0 -8
- package/dist/models/GroupResponse.d.ts +0 -12
- package/dist/models/GuestNetwork.d.ts +0 -10
- package/dist/models/Histogram.d.ts +0 -6
- package/dist/models/Host.d.ts +0 -12
- package/dist/models/Infra.d.ts +0 -24
- package/dist/models/InspectorStatus.d.ts +0 -4
- package/dist/models/Inventory.d.ts +0 -8
- package/dist/models/InventoryData.d.ts +0 -10
- package/dist/models/IssuesBreakdown.d.ts +0 -10
- package/dist/models/MigrationIssue.d.ts +0 -8
- package/dist/models/Network.d.ts +0 -10
- package/dist/models/OperationCapability.d.ts +0 -4
- package/dist/models/OsInfo.d.ts +0 -8
- package/dist/models/PairCapability.d.ts +0 -8
- package/dist/models/PairCapabilityRequest.d.ts +0 -4
- package/dist/models/Process.d.ts +0 -4
- package/dist/models/PutForecasterCredentials403Response.d.ts +0 -4
- package/dist/models/RightsizingClusterListResponse.d.ts +0 -4
- package/dist/models/RightsizingClusterResponse.d.ts +0 -4
- package/dist/models/RightsizingClusterUtilization.d.ts +0 -28
- package/dist/models/RightsizingCollectRequest.d.ts +0 -14
- package/dist/models/RightsizingMetricStats.d.ts +0 -12
- package/dist/models/RightsizingReport.d.ts +0 -18
- package/dist/models/RightsizingReportListResponse.d.ts +0 -4
- package/dist/models/RightsizingReportSummary.d.ts +0 -16
- package/dist/models/RightsizingVMReport.d.ts +0 -8
- package/dist/models/StartInspectionRequest.d.ts +0 -4
- package/dist/models/StopForecasterPair202Response.d.ts +0 -4
- package/dist/models/StorageIoConfiguration.d.ts +0 -8
- package/dist/models/UpdateGroupRequest.d.ts +0 -6
- package/dist/models/UpdateInventory.d.ts +0 -4
- package/dist/models/UpdateLabelVMsRequest.d.ts +0 -4
- package/dist/models/VCenter.d.ts +0 -2
- package/dist/models/VMDevice.d.ts +0 -2
- package/dist/models/VMDisk.d.ts +0 -14
- package/dist/models/VMFilterOptionsResponse.d.ts +0 -10
- package/dist/models/VMIssue.d.ts +0 -6
- package/dist/models/VMLabelsResponse.d.ts +0 -4
- package/dist/models/VMNIC.d.ts +0 -10
- package/dist/models/VMResourceBreakdown.d.ts +0 -10
- package/dist/models/VMs.d.ts +0 -46
- package/dist/models/VcenterCredentials.d.ts +0 -10
- package/dist/models/VddkProperties.d.ts +0 -6
- package/dist/models/VersionInfo.d.ts +0 -6
- package/dist/models/VirtualMachine.d.ts +0 -42
- package/dist/models/VirtualMachineDetail.d.ts +0 -70
- package/dist/models/VirtualMachineListResponse.d.ts +0 -8
- package/dist/models/VirtualMachineUpdateRequest.d.ts +0 -4
- package/dist/models/VmInspectionConcern.d.ts +0 -6
- package/dist/models/VmInspectionResults.d.ts +0 -2
- package/dist/models/VmInspectionStatus.d.ts +0 -8
- package/dist/models/VmUtilizationDetails.d.ts +0 -30
- package/docs/DefaultApi.md +6 -3
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +166 -0
- package/src/models/AgentModeRequest.ts +0 -2
- package/src/models/AgentStatus.ts +0 -6
- package/src/models/ApplicationListResponse.ts +0 -2
- package/src/models/ApplicationOverview.ts +0 -8
- package/src/models/ApplicationVM.ts +0 -4
- package/src/models/BatchUpdateExclusionRequest.ts +0 -4
- package/src/models/BenchmarkRun.ts +0 -26
- package/src/models/CapabilityStatus.ts +0 -2
- package/src/models/CapabilityStatusCapabilities.ts +0 -6
- package/src/models/ClusterFeatures.ts +0 -6
- package/src/models/ClusterUtilization.ts +0 -14
- package/src/models/CollectorStartRequest.ts +0 -10
- package/src/models/CollectorStatus.ts +0 -4
- package/src/models/CreateGroupRequest.ts +0 -6
- package/src/models/CredentialStatus.ts +0 -6
- package/src/models/Datastore.ts +0 -20
- package/src/models/DatastoreDetail.ts +0 -18
- package/src/models/DatastorePair.ts +0 -8
- package/src/models/DeleteLabelGloballyResponse.ts +0 -4
- package/src/models/DiskSizeTierSummary.ts +0 -4
- package/src/models/DiskTypeSummary.ts +0 -4
- package/src/models/EstimateRange.ts +0 -6
- package/src/models/ExportInventory400Response.ts +0 -2
- package/src/models/ExportInventory500Response.ts +0 -2
- package/src/models/ForecastStats.ts +0 -20
- package/src/models/ForecasterDatastoresRequest.ts +0 -2
- package/src/models/ForecasterPairStatus.ts +0 -20
- package/src/models/ForecasterStartRequest.ts +0 -10
- package/src/models/ForecasterStatus.ts +0 -4
- package/src/models/Group.ts +0 -12
- package/src/models/GroupListResponse.ts +0 -8
- package/src/models/GroupResponse.ts +0 -12
- package/src/models/GuestNetwork.ts +0 -10
- package/src/models/Histogram.ts +0 -6
- package/src/models/Host.ts +0 -12
- package/src/models/Infra.ts +0 -24
- package/src/models/InspectorStatus.ts +0 -4
- package/src/models/Inventory.ts +0 -8
- package/src/models/InventoryData.ts +0 -10
- package/src/models/IssuesBreakdown.ts +0 -10
- package/src/models/MigrationIssue.ts +0 -8
- package/src/models/Network.ts +0 -10
- package/src/models/OperationCapability.ts +0 -4
- package/src/models/OsInfo.ts +0 -8
- package/src/models/PairCapability.ts +0 -8
- package/src/models/PairCapabilityRequest.ts +0 -4
- package/src/models/Process.ts +0 -4
- package/src/models/PutForecasterCredentials403Response.ts +0 -4
- package/src/models/RightsizingClusterListResponse.ts +0 -4
- package/src/models/RightsizingClusterResponse.ts +0 -4
- package/src/models/RightsizingClusterUtilization.ts +0 -28
- package/src/models/RightsizingCollectRequest.ts +0 -14
- package/src/models/RightsizingMetricStats.ts +0 -12
- package/src/models/RightsizingReport.ts +0 -18
- package/src/models/RightsizingReportListResponse.ts +0 -4
- package/src/models/RightsizingReportSummary.ts +0 -16
- package/src/models/RightsizingVMReport.ts +0 -8
- package/src/models/StartInspectionRequest.ts +0 -4
- package/src/models/StopForecasterPair202Response.ts +0 -4
- package/src/models/StorageIoConfiguration.ts +0 -8
- package/src/models/UpdateGroupRequest.ts +0 -6
- package/src/models/UpdateInventory.ts +0 -4
- package/src/models/UpdateLabelVMsRequest.ts +0 -4
- package/src/models/VCenter.ts +0 -2
- package/src/models/VMDevice.ts +0 -2
- package/src/models/VMDisk.ts +0 -14
- package/src/models/VMFilterOptionsResponse.ts +0 -10
- package/src/models/VMIssue.ts +0 -6
- package/src/models/VMLabelsResponse.ts +0 -4
- package/src/models/VMNIC.ts +0 -10
- package/src/models/VMResourceBreakdown.ts +0 -10
- package/src/models/VMs.ts +0 -46
- package/src/models/VcenterCredentials.ts +0 -10
- package/src/models/VddkProperties.ts +0 -6
- package/src/models/VersionInfo.ts +0 -6
- package/src/models/VirtualMachine.ts +0 -42
- package/src/models/VirtualMachineDetail.ts +0 -70
- package/src/models/VirtualMachineListResponse.ts +0 -8
- package/src/models/VirtualMachineUpdateRequest.ts +0 -4
- package/src/models/VmInspectionConcern.ts +0 -6
- package/src/models/VmInspectionResults.ts +0 -2
- package/src/models/VmInspectionStatus.ts +0 -8
- package/src/models/VmUtilizationDetails.ts +0 -30
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface VmInspectionConcern {
|
|
18
18
|
/**
|
|
19
19
|
* Short label identifying the concern
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VmInspectionConcern
|
|
22
20
|
*/
|
|
23
21
|
label: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VmInspectionConcern
|
|
28
24
|
*/
|
|
29
25
|
message: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof VmInspectionConcern
|
|
34
28
|
*/
|
|
35
29
|
category: string;
|
|
36
30
|
}
|
|
@@ -17,26 +17,18 @@
|
|
|
17
17
|
export interface VmInspectionStatus {
|
|
18
18
|
/**
|
|
19
19
|
* Current inspection state
|
|
20
|
-
* @type {VmInspectionStatusStateEnum}
|
|
21
|
-
* @memberof VmInspectionStatus
|
|
22
20
|
*/
|
|
23
21
|
state: VmInspectionStatusStateEnum;
|
|
24
22
|
/**
|
|
25
23
|
* State details
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VmInspectionStatus
|
|
28
24
|
*/
|
|
29
25
|
message: string;
|
|
30
26
|
/**
|
|
31
27
|
* Error message when state is error
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof VmInspectionStatus
|
|
34
28
|
*/
|
|
35
29
|
error?: string;
|
|
36
30
|
/**
|
|
37
31
|
* Inspection results
|
|
38
|
-
* @type {object}
|
|
39
|
-
* @memberof VmInspectionStatus
|
|
40
32
|
*/
|
|
41
33
|
results?: object;
|
|
42
34
|
}
|
|
@@ -17,92 +17,62 @@
|
|
|
17
17
|
export interface VmUtilizationDetails {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VmUtilizationDetails
|
|
22
20
|
*/
|
|
23
21
|
moid: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VmUtilizationDetails
|
|
28
24
|
*/
|
|
29
25
|
vm_name: string;
|
|
30
26
|
/**
|
|
31
27
|
* Number of vCPUs provisioned for this VM
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof VmUtilizationDetails
|
|
34
28
|
*/
|
|
35
29
|
provisioned_cpus: number;
|
|
36
30
|
/**
|
|
37
31
|
* Provisioned RAM (MB)
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof VmUtilizationDetails
|
|
40
32
|
*/
|
|
41
33
|
provisioned_memory_mb: number;
|
|
42
34
|
/**
|
|
43
35
|
* Provisioned disk (KB)
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof VmUtilizationDetails
|
|
46
36
|
*/
|
|
47
37
|
provisioned_disk_kb: number;
|
|
48
38
|
/**
|
|
49
39
|
* CPU utilization average (%)
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof VmUtilizationDetails
|
|
52
40
|
*/
|
|
53
41
|
cpu_avg: number;
|
|
54
42
|
/**
|
|
55
43
|
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof VmUtilizationDetails
|
|
58
44
|
*/
|
|
59
45
|
cpu_p95: number;
|
|
60
46
|
/**
|
|
61
47
|
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof VmUtilizationDetails
|
|
64
48
|
*/
|
|
65
49
|
cpu_max: number;
|
|
66
50
|
/**
|
|
67
51
|
*
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof VmUtilizationDetails
|
|
70
52
|
*/
|
|
71
53
|
cpu_latest: number;
|
|
72
54
|
/**
|
|
73
55
|
* Memory utilization average (%)
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof VmUtilizationDetails
|
|
76
56
|
*/
|
|
77
57
|
mem_avg: number;
|
|
78
58
|
/**
|
|
79
59
|
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof VmUtilizationDetails
|
|
82
60
|
*/
|
|
83
61
|
mem_p95: number;
|
|
84
62
|
/**
|
|
85
63
|
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof VmUtilizationDetails
|
|
88
64
|
*/
|
|
89
65
|
mem_max: number;
|
|
90
66
|
/**
|
|
91
67
|
*
|
|
92
|
-
* @type {number}
|
|
93
|
-
* @memberof VmUtilizationDetails
|
|
94
68
|
*/
|
|
95
69
|
mem_latest: number;
|
|
96
70
|
/**
|
|
97
71
|
* Disk utilization (%)
|
|
98
|
-
* @type {number}
|
|
99
|
-
* @memberof VmUtilizationDetails
|
|
100
72
|
*/
|
|
101
73
|
disk: number;
|
|
102
74
|
/**
|
|
103
75
|
* Data confidence — sample_count / expected_sample_count × 100
|
|
104
|
-
* @type {number}
|
|
105
|
-
* @memberof VmUtilizationDetails
|
|
106
76
|
*/
|
|
107
77
|
confidence: number;
|
|
108
78
|
}
|
package/docs/DefaultApi.md
CHANGED
|
@@ -455,7 +455,7 @@ No authorization required
|
|
|
455
455
|
|
|
456
456
|
## exportInventory
|
|
457
457
|
|
|
458
|
-
> Blob exportInventory(scope)
|
|
458
|
+
> Blob exportInventory(scope, format)
|
|
459
459
|
|
|
460
460
|
Export VM inventory and migration planning data
|
|
461
461
|
|
|
@@ -477,6 +477,8 @@ async function example() {
|
|
|
477
477
|
const body = {
|
|
478
478
|
// string | Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection (optional)
|
|
479
479
|
scope: overview,hosts,vms,
|
|
480
|
+
// 'zip' | 'xlsx' | Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope) (optional)
|
|
481
|
+
format: format_example,
|
|
480
482
|
} satisfies ExportInventoryRequest;
|
|
481
483
|
|
|
482
484
|
try {
|
|
@@ -497,6 +499,7 @@ example().catch(console.error);
|
|
|
497
499
|
| Name | Type | Description | Notes |
|
|
498
500
|
|------------- | ------------- | ------------- | -------------|
|
|
499
501
|
| **scope** | `string` | Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection | [Optional] [Defaults to `undefined`] |
|
|
502
|
+
| **format** | `zip`, `xlsx` | Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope) | [Optional] [Defaults to `'zip'`] [Enum: zip, xlsx] |
|
|
500
503
|
|
|
501
504
|
### Return type
|
|
502
505
|
|
|
@@ -509,13 +512,13 @@ No authorization required
|
|
|
509
512
|
### HTTP request headers
|
|
510
513
|
|
|
511
514
|
- **Content-Type**: Not defined
|
|
512
|
-
- **Accept**: `application/zip`, `application/json`
|
|
515
|
+
- **Accept**: `application/zip`, `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`, `application/json`
|
|
513
516
|
|
|
514
517
|
|
|
515
518
|
### HTTP response details
|
|
516
519
|
| Status code | Description | Response headers |
|
|
517
520
|
|-------------|-------------|------------------|
|
|
518
|
-
| **200** | ZIP archive containing CSV files
|
|
521
|
+
| **200** | ZIP archive containing CSV files or Excel workbook | - |
|
|
519
522
|
| **400** | Invalid scope name | - |
|
|
520
523
|
| **500** | Internal server error | - |
|
|
521
524
|
|
package/package.json
CHANGED
package/src/apis/DefaultApi.ts
CHANGED
|
@@ -245,156 +245,307 @@ import {
|
|
|
245
245
|
} from '../models/VmUtilizationDetails.js';
|
|
246
246
|
|
|
247
247
|
export interface BatchUpdateVMExclusionRequest {
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
*/
|
|
248
251
|
batchUpdateExclusionRequest: BatchUpdateExclusionRequest;
|
|
249
252
|
}
|
|
250
253
|
|
|
251
254
|
export interface CreateGroupOperationRequest {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
252
258
|
createGroupRequest: CreateGroupRequest;
|
|
253
259
|
}
|
|
254
260
|
|
|
255
261
|
export interface DeleteForecasterRunRequest {
|
|
262
|
+
/**
|
|
263
|
+
* Run ID
|
|
264
|
+
*/
|
|
256
265
|
id: number;
|
|
257
266
|
}
|
|
258
267
|
|
|
259
268
|
export interface DeleteGroupRequest {
|
|
269
|
+
/**
|
|
270
|
+
* Group ID
|
|
271
|
+
*/
|
|
260
272
|
id: string;
|
|
261
273
|
}
|
|
262
274
|
|
|
263
275
|
export interface DeleteLabelGloballyRequest {
|
|
276
|
+
/**
|
|
277
|
+
* The label to remove from all VMs
|
|
278
|
+
*/
|
|
264
279
|
label: string;
|
|
265
280
|
}
|
|
266
281
|
|
|
267
282
|
export interface ExportInventoryRequest {
|
|
283
|
+
/**
|
|
284
|
+
* Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
285
|
+
*/
|
|
268
286
|
scope?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
289
|
+
*/
|
|
290
|
+
format?: ExportInventoryFormatEnum;
|
|
269
291
|
}
|
|
270
292
|
|
|
271
293
|
export interface GetClusterUtilizationRequest {
|
|
294
|
+
/**
|
|
295
|
+
* vSphere MoRef (e.g. "domain-c123") or generated cluster ID (e.g. "cluster-a3f7b2c1d4e89012")
|
|
296
|
+
*/
|
|
272
297
|
clusterId: string;
|
|
273
298
|
}
|
|
274
299
|
|
|
275
300
|
export interface GetForecasterDatastoresRequest {
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
*/
|
|
276
304
|
forecasterDatastoresRequest?: ForecasterDatastoresRequest;
|
|
277
305
|
}
|
|
278
306
|
|
|
279
307
|
export interface GetForecasterRunsRequest {
|
|
308
|
+
/**
|
|
309
|
+
* Filter runs by pair name
|
|
310
|
+
*/
|
|
280
311
|
pairName?: string;
|
|
281
312
|
}
|
|
282
313
|
|
|
283
314
|
export interface GetForecasterStatsRequest {
|
|
315
|
+
/**
|
|
316
|
+
* Pair name to get statistics for
|
|
317
|
+
*/
|
|
284
318
|
pairName: string;
|
|
285
319
|
}
|
|
286
320
|
|
|
287
321
|
export interface GetGroupRequest {
|
|
322
|
+
/**
|
|
323
|
+
* Group ID
|
|
324
|
+
*/
|
|
288
325
|
id: string;
|
|
326
|
+
/**
|
|
327
|
+
* Sort fields with direction (e.g., "name:asc" or "cluster:desc,name:asc"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
328
|
+
*/
|
|
289
329
|
sort?: Array<string>;
|
|
330
|
+
/**
|
|
331
|
+
* Page number for pagination
|
|
332
|
+
*/
|
|
290
333
|
page?: number;
|
|
334
|
+
/**
|
|
335
|
+
* Number of items per page
|
|
336
|
+
*/
|
|
291
337
|
pageSize?: number;
|
|
292
338
|
}
|
|
293
339
|
|
|
294
340
|
export interface GetInspectorStatusRequest {
|
|
341
|
+
/**
|
|
342
|
+
* If true, include uploaded VDDK metadata (`version`, `md5`) when present. omitted if VDDK was never uploaded.
|
|
343
|
+
*/
|
|
295
344
|
includeVddk?: boolean;
|
|
296
345
|
}
|
|
297
346
|
|
|
298
347
|
export interface GetInventoryRequest {
|
|
348
|
+
/**
|
|
349
|
+
* If true, include the agentId in the response (Compatible with manual inventory upload).
|
|
350
|
+
*/
|
|
299
351
|
withAgentId?: boolean;
|
|
352
|
+
/**
|
|
353
|
+
* Filter inventory to VMs matching this group's filter expression
|
|
354
|
+
*/
|
|
300
355
|
groupId?: string;
|
|
301
356
|
}
|
|
302
357
|
|
|
303
358
|
export interface GetRightsizingReportRequest {
|
|
359
|
+
/**
|
|
360
|
+
* Report UUID
|
|
361
|
+
*/
|
|
304
362
|
reportId: string;
|
|
305
363
|
}
|
|
306
364
|
|
|
307
365
|
export interface GetRightsizingReportClusterRequest {
|
|
366
|
+
/**
|
|
367
|
+
* Rightsizing report UUID
|
|
368
|
+
*/
|
|
308
369
|
reportId: string;
|
|
370
|
+
/**
|
|
371
|
+
* vSphere MoRef (e.g. "domain-c123") or generated cluster ID (e.g. "cluster-a3f7b2c1d4e89012")
|
|
372
|
+
*/
|
|
309
373
|
clusterId: string;
|
|
310
374
|
}
|
|
311
375
|
|
|
312
376
|
export interface GetVMRequest {
|
|
377
|
+
/**
|
|
378
|
+
* VirtualMachine id
|
|
379
|
+
*/
|
|
313
380
|
id: string;
|
|
314
381
|
}
|
|
315
382
|
|
|
316
383
|
export interface GetVMUtilizationRequest {
|
|
384
|
+
/**
|
|
385
|
+
* VirtualMachine MoRef ID
|
|
386
|
+
*/
|
|
317
387
|
id: string;
|
|
318
388
|
}
|
|
319
389
|
|
|
320
390
|
export interface GetVMsRequest {
|
|
391
|
+
/**
|
|
392
|
+
* Filter by expression (matches VMs with the provided expression)
|
|
393
|
+
*/
|
|
321
394
|
byExpression?: string;
|
|
395
|
+
/**
|
|
396
|
+
* Sort fields with direction (e.g., "name:asc" or "cluster:desc,name:asc"). Valid fields are name, vCenterState, cluster, diskSize, memory, issues, cpuUsage, diskUsage, ramUsage, cpuAvg, memAvg.
|
|
397
|
+
*/
|
|
322
398
|
sort?: Array<string>;
|
|
399
|
+
/**
|
|
400
|
+
* Page number for pagination
|
|
401
|
+
*/
|
|
323
402
|
page?: number;
|
|
403
|
+
/**
|
|
404
|
+
* Number of items per page
|
|
405
|
+
*/
|
|
324
406
|
pageSize?: number;
|
|
325
407
|
}
|
|
326
408
|
|
|
327
409
|
export interface ListGroupsRequest {
|
|
410
|
+
/**
|
|
411
|
+
* Filter groups by name (case-insensitive substring match)
|
|
412
|
+
*/
|
|
328
413
|
byName?: string;
|
|
414
|
+
/**
|
|
415
|
+
* Page number (1-indexed)
|
|
416
|
+
*/
|
|
329
417
|
page?: number;
|
|
418
|
+
/**
|
|
419
|
+
* Number of groups per page
|
|
420
|
+
*/
|
|
330
421
|
pageSize?: number;
|
|
331
422
|
}
|
|
332
423
|
|
|
333
424
|
export interface ListRightsizingReportClustersRequest {
|
|
425
|
+
/**
|
|
426
|
+
* Rightsizing report UUID
|
|
427
|
+
*/
|
|
334
428
|
reportId: string;
|
|
429
|
+
/**
|
|
430
|
+
* Filter DSL expression (e.g. "cluster_id = 'domain-c123'"). Omit to return all clusters.
|
|
431
|
+
*/
|
|
335
432
|
byExpression?: string;
|
|
336
433
|
}
|
|
337
434
|
|
|
338
435
|
export interface PostForecasterPairCapabilitiesRequest {
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
*/
|
|
339
439
|
pairCapabilityRequest: PairCapabilityRequest;
|
|
340
440
|
}
|
|
341
441
|
|
|
342
442
|
export interface PutCredentialsRequest {
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
*/
|
|
343
446
|
vcenterCredentials: VcenterCredentials;
|
|
344
447
|
}
|
|
345
448
|
|
|
346
449
|
export interface PutForecasterCredentialsRequest {
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
*/
|
|
347
453
|
vcenterCredentials: VcenterCredentials;
|
|
348
454
|
}
|
|
349
455
|
|
|
350
456
|
export interface PutInspectorVddkRequest {
|
|
457
|
+
/**
|
|
458
|
+
* VDDK tarball
|
|
459
|
+
*/
|
|
351
460
|
file: Blob;
|
|
352
461
|
}
|
|
353
462
|
|
|
354
463
|
export interface RemoveVMFromInspectionRequest {
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
*/
|
|
355
467
|
id: string;
|
|
356
468
|
}
|
|
357
469
|
|
|
358
470
|
export interface SetAgentModeRequest {
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
*/
|
|
359
474
|
agentModeRequest: AgentModeRequest;
|
|
360
475
|
}
|
|
361
476
|
|
|
362
477
|
export interface StartCollectorRequest {
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
*/
|
|
363
481
|
collectorStartRequest: CollectorStartRequest;
|
|
364
482
|
}
|
|
365
483
|
|
|
366
484
|
export interface StartForecasterRequest {
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
*/
|
|
367
488
|
forecasterStartRequest: ForecasterStartRequest;
|
|
368
489
|
}
|
|
369
490
|
|
|
370
491
|
export interface StartInspectionOperationRequest {
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
*/
|
|
371
495
|
startInspectionRequest: StartInspectionRequest;
|
|
372
496
|
}
|
|
373
497
|
|
|
374
498
|
export interface StopForecasterPairRequest {
|
|
499
|
+
/**
|
|
500
|
+
* Pair name as specified in the start request
|
|
501
|
+
*/
|
|
375
502
|
name: string;
|
|
376
503
|
}
|
|
377
504
|
|
|
378
505
|
export interface TriggerRightsizingCollectionRequest {
|
|
506
|
+
/**
|
|
507
|
+
*
|
|
508
|
+
*/
|
|
379
509
|
rightsizingCollectRequest: RightsizingCollectRequest;
|
|
380
510
|
}
|
|
381
511
|
|
|
382
512
|
export interface UpdateGroupOperationRequest {
|
|
513
|
+
/**
|
|
514
|
+
* Group ID
|
|
515
|
+
*/
|
|
383
516
|
id: string;
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
*/
|
|
384
520
|
updateGroupRequest: UpdateGroupRequest;
|
|
385
521
|
}
|
|
386
522
|
|
|
387
523
|
export interface UpdateLabelVMsOperationRequest {
|
|
524
|
+
/**
|
|
525
|
+
* The label to modify
|
|
526
|
+
*/
|
|
388
527
|
label: string;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
*/
|
|
389
531
|
updateLabelVMsRequest: UpdateLabelVMsRequest;
|
|
390
532
|
}
|
|
391
533
|
|
|
392
534
|
export interface UpdateVMRequest {
|
|
535
|
+
/**
|
|
536
|
+
* VirtualMachine id
|
|
537
|
+
*/
|
|
393
538
|
id: string;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
*/
|
|
394
542
|
virtualMachineUpdateRequest: VirtualMachineUpdateRequest;
|
|
395
543
|
}
|
|
396
544
|
|
|
397
545
|
export interface ValidateInspectorCredentialsRequest {
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
*/
|
|
398
549
|
vcenterCredentials: VcenterCredentials;
|
|
399
550
|
}
|
|
400
551
|
|
|
@@ -545,6 +696,7 @@ export interface DefaultApiInterface {
|
|
|
545
696
|
/**
|
|
546
697
|
* Creates request options for exportInventory without sending the request
|
|
547
698
|
* @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
699
|
+
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
548
700
|
* @throws {RequiredError}
|
|
549
701
|
* @memberof DefaultApiInterface
|
|
550
702
|
*/
|
|
@@ -554,6 +706,7 @@ export interface DefaultApiInterface {
|
|
|
554
706
|
* Exports selected data scopes as CSV files packaged in a ZIP archive. Supports flexible scope selection for offline analysis in Excel or custom tools.
|
|
555
707
|
* @summary Export VM inventory and migration planning data
|
|
556
708
|
* @param {string} [scope] Comma-separated list of scopes to export (default: overview). Available scopes: overview, hosts, clusters, datastores, vms, network, utilization, storage-forecast, applications, groups, inspection
|
|
709
|
+
* @param {'zip' | 'xlsx'} [format] Output format: zip (CSV files in a ZIP archive) or xlsx (Excel workbook with one sheet per scope)
|
|
557
710
|
* @param {*} [options] Override http request option.
|
|
558
711
|
* @throws {RequiredError}
|
|
559
712
|
* @memberof DefaultApiInterface
|
|
@@ -1848,6 +2001,10 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
|
|
|
1848
2001
|
queryParameters['scope'] = requestParameters['scope'];
|
|
1849
2002
|
}
|
|
1850
2003
|
|
|
2004
|
+
if (requestParameters['format'] != null) {
|
|
2005
|
+
queryParameters['format'] = requestParameters['format'];
|
|
2006
|
+
}
|
|
2007
|
+
|
|
1851
2008
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1852
2009
|
|
|
1853
2010
|
|
|
@@ -3818,3 +3975,12 @@ export class DefaultApi extends runtime.BaseAPI implements DefaultApiInterface {
|
|
|
3818
3975
|
}
|
|
3819
3976
|
|
|
3820
3977
|
}
|
|
3978
|
+
|
|
3979
|
+
/**
|
|
3980
|
+
* @export
|
|
3981
|
+
*/
|
|
3982
|
+
export const ExportInventoryFormatEnum = {
|
|
3983
|
+
Zip: 'zip',
|
|
3984
|
+
Xlsx: 'xlsx'
|
|
3985
|
+
} as const;
|
|
3986
|
+
export type ExportInventoryFormatEnum = typeof ExportInventoryFormatEnum[keyof typeof ExportInventoryFormatEnum];
|
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface AgentStatus {
|
|
22
22
|
/**
|
|
23
23
|
* Target mode for the agent
|
|
24
|
-
* @type {AgentStatusModeEnum}
|
|
25
|
-
* @memberof AgentStatus
|
|
26
24
|
*/
|
|
27
25
|
mode: AgentStatusModeEnum;
|
|
28
26
|
/**
|
|
29
27
|
* Current console connection status
|
|
30
|
-
* @type {AgentStatusConsoleConnectionEnum}
|
|
31
|
-
* @memberof AgentStatus
|
|
32
28
|
*/
|
|
33
29
|
console_connection: AgentStatusConsoleConnectionEnum;
|
|
34
30
|
/**
|
|
35
31
|
* Connection error description
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AgentStatus
|
|
38
32
|
*/
|
|
39
33
|
error?: string;
|
|
40
34
|
}
|
|
@@ -29,26 +29,18 @@ import {
|
|
|
29
29
|
export interface ApplicationOverview {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ApplicationOverview
|
|
34
32
|
*/
|
|
35
33
|
name: string;
|
|
36
34
|
/**
|
|
37
35
|
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ApplicationOverview
|
|
40
36
|
*/
|
|
41
37
|
description: string;
|
|
42
38
|
/**
|
|
43
39
|
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof ApplicationOverview
|
|
46
40
|
*/
|
|
47
41
|
vmCount: number;
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
|
-
* @type {Array<ApplicationVM>}
|
|
51
|
-
* @memberof ApplicationOverview
|
|
52
44
|
*/
|
|
53
45
|
vms: Array<ApplicationVM>;
|
|
54
46
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface ApplicationVM {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApplicationVM
|
|
26
24
|
*/
|
|
27
25
|
id: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApplicationVM
|
|
32
28
|
*/
|
|
33
29
|
name: string;
|
|
34
30
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface BatchUpdateExclusionRequest {
|
|
22
22
|
/**
|
|
23
23
|
* VM IDs to update
|
|
24
|
-
* @type {Array<string>}
|
|
25
|
-
* @memberof BatchUpdateExclusionRequest
|
|
26
24
|
*/
|
|
27
25
|
vmIds: Array<string>;
|
|
28
26
|
/**
|
|
29
27
|
* Exclusion state to set for all VMs
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof BatchUpdateExclusionRequest
|
|
32
28
|
*/
|
|
33
29
|
migrationExcluded: boolean;
|
|
34
30
|
}
|