@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
|
@@ -21,88 +21,60 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface RightsizingClusterUtilization {
|
|
22
22
|
/**
|
|
23
23
|
* vSphere MoRef of the ClusterComputeResource (e.g. "domain-c123").
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof RightsizingClusterUtilization
|
|
26
24
|
*/
|
|
27
25
|
cluster_id: string;
|
|
28
26
|
/**
|
|
29
27
|
* Display name of the cluster as reported by vCenter (e.g. "production-cluster").
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof RightsizingClusterUtilization
|
|
32
28
|
*/
|
|
33
29
|
cluster_name: string;
|
|
34
30
|
/**
|
|
35
31
|
* Number of VMs with utilization data in this cluster
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof RightsizingClusterUtilization
|
|
38
32
|
*/
|
|
39
33
|
vm_count: number;
|
|
40
34
|
/**
|
|
41
35
|
* SUM(vCPUs × cpu_avg%) / SUM(vCPUs) — weighted average CPU utilization (%)
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof RightsizingClusterUtilization
|
|
44
36
|
*/
|
|
45
37
|
cpu_avg: number;
|
|
46
38
|
/**
|
|
47
39
|
* SUM(vCPUs × vm_p95%) / SUM(vCPUs). Weighted summary of per-VM p95 values — not a true cluster-wide p95 (which would require time-aligned samples).
|
|
48
40
|
*
|
|
49
|
-
* @type {number}
|
|
50
|
-
* @memberof RightsizingClusterUtilization
|
|
51
41
|
*/
|
|
52
42
|
cpu_p95: number;
|
|
53
43
|
/**
|
|
54
44
|
* Weighted summary of per-VM max values (see cpu_p95 note)
|
|
55
|
-
* @type {number}
|
|
56
|
-
* @memberof RightsizingClusterUtilization
|
|
57
45
|
*/
|
|
58
46
|
cpu_max: number;
|
|
59
47
|
/**
|
|
60
48
|
* SUM(provisionedMB × mem_avg%) / SUM(provisionedMB) — weighted average memory utilization (%)
|
|
61
|
-
* @type {number}
|
|
62
|
-
* @memberof RightsizingClusterUtilization
|
|
63
49
|
*/
|
|
64
50
|
mem_avg: number;
|
|
65
51
|
/**
|
|
66
52
|
* Weighted summary of per-VM memory p95 values (see cpu_p95 note)
|
|
67
|
-
* @type {number}
|
|
68
|
-
* @memberof RightsizingClusterUtilization
|
|
69
53
|
*/
|
|
70
54
|
mem_p95: number;
|
|
71
55
|
/**
|
|
72
56
|
* Weighted summary of per-VM memory max values (see cpu_p95 note)
|
|
73
|
-
* @type {number}
|
|
74
|
-
* @memberof RightsizingClusterUtilization
|
|
75
57
|
*/
|
|
76
58
|
mem_max: number;
|
|
77
59
|
/**
|
|
78
60
|
* SUM(provisionedKB × disk%) / SUM(provisionedKB) — weighted average disk utilization (%)
|
|
79
|
-
* @type {number}
|
|
80
|
-
* @memberof RightsizingClusterUtilization
|
|
81
61
|
*/
|
|
82
62
|
disk: number;
|
|
83
63
|
/**
|
|
84
64
|
* SUM(vCPUs × confidence%) / SUM(vCPUs). vCPU-weighted data coverage (0–100 %). Interpret utilization cautiously when low.
|
|
85
65
|
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof RightsizingClusterUtilization
|
|
88
66
|
*/
|
|
89
67
|
confidence: number;
|
|
90
68
|
/**
|
|
91
69
|
* Sum of vCPU counts across all VMs in the cluster
|
|
92
|
-
* @type {number}
|
|
93
|
-
* @memberof RightsizingClusterUtilization
|
|
94
70
|
*/
|
|
95
71
|
total_provisioned_cpus: number;
|
|
96
72
|
/**
|
|
97
73
|
* Sum of provisioned RAM (MB) across all VMs in the cluster
|
|
98
|
-
* @type {number}
|
|
99
|
-
* @memberof RightsizingClusterUtilization
|
|
100
74
|
*/
|
|
101
75
|
total_provisioned_memory_mb: number;
|
|
102
76
|
/**
|
|
103
77
|
* Sum of provisioned disk (KB) across all VMs in the cluster
|
|
104
|
-
* @type {number}
|
|
105
|
-
* @memberof RightsizingClusterUtilization
|
|
106
78
|
*/
|
|
107
79
|
total_provisioned_disk_kb: number;
|
|
108
80
|
}
|
|
@@ -29,45 +29,31 @@ import {
|
|
|
29
29
|
export interface RightsizingCollectRequest {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {VcenterCredentials}
|
|
33
|
-
* @memberof RightsizingCollectRequest
|
|
34
32
|
*/
|
|
35
33
|
credentials: VcenterCredentials;
|
|
36
34
|
/**
|
|
37
35
|
* Lookback window in hours (default 720 = 30 days)
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof RightsizingCollectRequest
|
|
40
36
|
*/
|
|
41
37
|
lookback_hours?: number;
|
|
42
38
|
/**
|
|
43
39
|
* vSphere historical interval ID in seconds (300=day, 1800=week, 7200=month)
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof RightsizingCollectRequest
|
|
46
40
|
*/
|
|
47
41
|
interval_id?: number;
|
|
48
42
|
/**
|
|
49
43
|
* Filter VMs by name substring
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof RightsizingCollectRequest
|
|
52
44
|
*/
|
|
53
45
|
name_filter?: string;
|
|
54
46
|
/**
|
|
55
47
|
* MoRef value of a ClusterComputeResource to scope discovery (e.g. domain-c123)
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof RightsizingCollectRequest
|
|
58
48
|
*/
|
|
59
49
|
cluster_id?: string;
|
|
60
50
|
/**
|
|
61
51
|
* Number of VMs per QueryPerf round-trip
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof RightsizingCollectRequest
|
|
64
52
|
*/
|
|
65
53
|
batch_size?: number;
|
|
66
54
|
/**
|
|
67
55
|
* If true, discover VMs live from vSphere. If false (default), use the VMs already stored in the local inventory.
|
|
68
56
|
*
|
|
69
|
-
* @type {boolean}
|
|
70
|
-
* @memberof RightsizingCollectRequest
|
|
71
57
|
*/
|
|
72
58
|
discover_vms?: boolean;
|
|
73
59
|
}
|
|
@@ -21,38 +21,26 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface RightsizingMetricStats {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof RightsizingMetricStats
|
|
26
24
|
*/
|
|
27
25
|
sample_count: number;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof RightsizingMetricStats
|
|
32
28
|
*/
|
|
33
29
|
average: number;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof RightsizingMetricStats
|
|
38
32
|
*/
|
|
39
33
|
p95: number;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof RightsizingMetricStats
|
|
44
36
|
*/
|
|
45
37
|
p99: number;
|
|
46
38
|
/**
|
|
47
39
|
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof RightsizingMetricStats
|
|
50
40
|
*/
|
|
51
41
|
max: number;
|
|
52
42
|
/**
|
|
53
43
|
*
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof RightsizingMetricStats
|
|
56
44
|
*/
|
|
57
45
|
latest: number;
|
|
58
46
|
}
|
|
@@ -29,56 +29,38 @@ import {
|
|
|
29
29
|
export interface RightsizingReport {
|
|
30
30
|
/**
|
|
31
31
|
* UUID of the report
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof RightsizingReport
|
|
34
32
|
*/
|
|
35
33
|
id: string;
|
|
36
34
|
/**
|
|
37
35
|
* vCenter URL used for this collection
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof RightsizingReport
|
|
40
36
|
*/
|
|
41
37
|
vcenter: string;
|
|
42
38
|
/**
|
|
43
39
|
* MoRef of the ClusterComputeResource scoped for this collection (empty = all clusters)
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof RightsizingReport
|
|
46
40
|
*/
|
|
47
41
|
cluster_id: string;
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
|
-
* @type {Date}
|
|
51
|
-
* @memberof RightsizingReport
|
|
52
44
|
*/
|
|
53
45
|
window_start: Date;
|
|
54
46
|
/**
|
|
55
47
|
*
|
|
56
|
-
* @type {Date}
|
|
57
|
-
* @memberof RightsizingReport
|
|
58
48
|
*/
|
|
59
49
|
window_end: Date;
|
|
60
50
|
/**
|
|
61
51
|
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof RightsizingReport
|
|
64
52
|
*/
|
|
65
53
|
interval_id: number;
|
|
66
54
|
/**
|
|
67
55
|
* Theoretical maximum samples for the window (lookback / interval)
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof RightsizingReport
|
|
70
56
|
*/
|
|
71
57
|
expected_sample_count: number;
|
|
72
58
|
/**
|
|
73
59
|
*
|
|
74
|
-
* @type {Array<RightsizingVMReport>}
|
|
75
|
-
* @memberof RightsizingReport
|
|
76
60
|
*/
|
|
77
61
|
vms: Array<RightsizingVMReport>;
|
|
78
62
|
/**
|
|
79
63
|
*
|
|
80
|
-
* @type {Date}
|
|
81
|
-
* @memberof RightsizingReport
|
|
82
64
|
*/
|
|
83
65
|
created_at: Date;
|
|
84
66
|
}
|
|
@@ -29,14 +29,10 @@ import {
|
|
|
29
29
|
export interface RightsizingReportListResponse {
|
|
30
30
|
/**
|
|
31
31
|
* List of report summaries. Use GET /rightsizing/{id} for full VM metrics.
|
|
32
|
-
* @type {Array<RightsizingReportSummary>}
|
|
33
|
-
* @memberof RightsizingReportListResponse
|
|
34
32
|
*/
|
|
35
33
|
reports: Array<RightsizingReportSummary>;
|
|
36
34
|
/**
|
|
37
35
|
* Total number of stored reports
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof RightsizingReportListResponse
|
|
40
36
|
*/
|
|
41
37
|
total: number;
|
|
42
38
|
}
|
|
@@ -21,50 +21,34 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface RightsizingReportSummary {
|
|
22
22
|
/**
|
|
23
23
|
* UUID of the report
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof RightsizingReportSummary
|
|
26
24
|
*/
|
|
27
25
|
id: string;
|
|
28
26
|
/**
|
|
29
27
|
* vCenter URL used for this collection
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof RightsizingReportSummary
|
|
32
28
|
*/
|
|
33
29
|
vcenter: string;
|
|
34
30
|
/**
|
|
35
31
|
* MoRef of the ClusterComputeResource scoped for this collection (empty = all clusters)
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof RightsizingReportSummary
|
|
38
32
|
*/
|
|
39
33
|
cluster_id: string;
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* @type {Date}
|
|
43
|
-
* @memberof RightsizingReportSummary
|
|
44
36
|
*/
|
|
45
37
|
window_start: Date;
|
|
46
38
|
/**
|
|
47
39
|
*
|
|
48
|
-
* @type {Date}
|
|
49
|
-
* @memberof RightsizingReportSummary
|
|
50
40
|
*/
|
|
51
41
|
window_end: Date;
|
|
52
42
|
/**
|
|
53
43
|
*
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof RightsizingReportSummary
|
|
56
44
|
*/
|
|
57
45
|
interval_id: number;
|
|
58
46
|
/**
|
|
59
47
|
* Theoretical maximum samples for the window (lookback / interval)
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof RightsizingReportSummary
|
|
62
48
|
*/
|
|
63
49
|
expected_sample_count: number;
|
|
64
50
|
/**
|
|
65
51
|
*
|
|
66
|
-
* @type {Date}
|
|
67
|
-
* @memberof RightsizingReportSummary
|
|
68
52
|
*/
|
|
69
53
|
created_at: Date;
|
|
70
54
|
}
|
|
@@ -29,26 +29,18 @@ import {
|
|
|
29
29
|
export interface RightsizingVMReport {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof RightsizingVMReport
|
|
34
32
|
*/
|
|
35
33
|
name: string;
|
|
36
34
|
/**
|
|
37
35
|
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof RightsizingVMReport
|
|
40
36
|
*/
|
|
41
37
|
moid: string;
|
|
42
38
|
/**
|
|
43
39
|
*
|
|
44
|
-
* @type {{ [key: string]: RightsizingMetricStats; }}
|
|
45
|
-
* @memberof RightsizingVMReport
|
|
46
40
|
*/
|
|
47
41
|
metrics: { [key: string]: RightsizingMetricStats; };
|
|
48
42
|
/**
|
|
49
43
|
* Non-empty when the VM was queried but had no historical metrics data.
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof RightsizingVMReport
|
|
52
44
|
*/
|
|
53
45
|
warnings: Array<string>;
|
|
54
46
|
}
|
|
@@ -29,14 +29,10 @@ import {
|
|
|
29
29
|
export interface StartInspectionRequest {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof StartInspectionRequest
|
|
34
32
|
*/
|
|
35
33
|
vmIds: Array<string>;
|
|
36
34
|
/**
|
|
37
35
|
*
|
|
38
|
-
* @type {VcenterCredentials}
|
|
39
|
-
* @memberof StartInspectionRequest
|
|
40
36
|
*/
|
|
41
37
|
credentials?: VcenterCredentials;
|
|
42
38
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface StopForecasterPair202Response {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof StopForecasterPair202Response
|
|
26
24
|
*/
|
|
27
25
|
pairName?: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {StopForecasterPair202ResponseStateEnum}
|
|
31
|
-
* @memberof StopForecasterPair202Response
|
|
32
28
|
*/
|
|
33
29
|
state?: StopForecasterPair202ResponseStateEnum;
|
|
34
30
|
}
|
|
@@ -21,26 +21,18 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface StorageIoConfiguration {
|
|
22
22
|
/**
|
|
23
23
|
* Whether Storage I/O Control is enabled for this datastore
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof StorageIoConfiguration
|
|
26
24
|
*/
|
|
27
25
|
enabled?: boolean;
|
|
28
26
|
/**
|
|
29
27
|
* Latency threshold in milliseconds beyond which the storage array is considered congested
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof StorageIoConfiguration
|
|
32
28
|
*/
|
|
33
29
|
congestionThreshold?: number;
|
|
34
30
|
/**
|
|
35
31
|
* Mode for congestion threshold calculation
|
|
36
|
-
* @type {StorageIoConfigurationCongestionThresholdModeEnum}
|
|
37
|
-
* @memberof StorageIoConfiguration
|
|
38
32
|
*/
|
|
39
33
|
congestionThresholdMode?: StorageIoConfigurationCongestionThresholdModeEnum;
|
|
40
34
|
/**
|
|
41
35
|
* Percent of peak throughput
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof StorageIoConfiguration
|
|
44
36
|
*/
|
|
45
37
|
percentOfPeakThroughput?: number;
|
|
46
38
|
}
|
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface UpdateGroupRequest {
|
|
22
22
|
/**
|
|
23
23
|
* Group display name
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof UpdateGroupRequest
|
|
26
24
|
*/
|
|
27
25
|
name?: string;
|
|
28
26
|
/**
|
|
29
27
|
* Optional group description
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UpdateGroupRequest
|
|
32
28
|
*/
|
|
33
29
|
description?: string;
|
|
34
30
|
/**
|
|
35
31
|
* Filter expression (will be validated)
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof UpdateGroupRequest
|
|
38
32
|
*/
|
|
39
33
|
filter?: string;
|
|
40
34
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface UpdateLabelVMsRequest {
|
|
22
22
|
/**
|
|
23
23
|
* VMs to add the label to
|
|
24
|
-
* @type {Array<string>}
|
|
25
|
-
* @memberof UpdateLabelVMsRequest
|
|
26
24
|
*/
|
|
27
25
|
add?: Array<string>;
|
|
28
26
|
/**
|
|
29
27
|
* VMs to remove the label from
|
|
30
|
-
* @type {Array<string>}
|
|
31
|
-
* @memberof UpdateLabelVMsRequest
|
|
32
28
|
*/
|
|
33
29
|
remove?: Array<string>;
|
|
34
30
|
}
|
package/src/models/VCenter.ts
CHANGED
package/src/models/VMDevice.ts
CHANGED
package/src/models/VMDisk.ts
CHANGED
|
@@ -21,44 +21,30 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VMDisk {
|
|
22
22
|
/**
|
|
23
23
|
* Unique key identifying this disk within the VirtualMachine
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof VMDisk
|
|
26
24
|
*/
|
|
27
25
|
key?: number;
|
|
28
26
|
/**
|
|
29
27
|
* Path to the VMDK file in the datastore
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof VMDisk
|
|
32
28
|
*/
|
|
33
29
|
file?: string;
|
|
34
30
|
/**
|
|
35
31
|
* Disk capacity in bytes
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof VMDisk
|
|
38
32
|
*/
|
|
39
33
|
capacity?: number;
|
|
40
34
|
/**
|
|
41
35
|
* Whether this disk is shared between multiple VMs
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
* @memberof VMDisk
|
|
44
36
|
*/
|
|
45
37
|
shared?: boolean;
|
|
46
38
|
/**
|
|
47
39
|
* Whether this is a Raw Device Mapping (direct LUN access)
|
|
48
|
-
* @type {boolean}
|
|
49
|
-
* @memberof VMDisk
|
|
50
40
|
*/
|
|
51
41
|
rdm?: boolean;
|
|
52
42
|
/**
|
|
53
43
|
* Bus type (e.g., scsi, ide, sata, nvme)
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof VMDisk
|
|
56
44
|
*/
|
|
57
45
|
bus?: string;
|
|
58
46
|
/**
|
|
59
47
|
* Disk mode (e.g., persistent, independent_persistent, independent_nonpersistent)
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof VMDisk
|
|
62
48
|
*/
|
|
63
49
|
mode?: string;
|
|
64
50
|
}
|
|
@@ -21,32 +21,22 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VMFilterOptionsResponse {
|
|
22
22
|
/**
|
|
23
23
|
* Distinct cluster names
|
|
24
|
-
* @type {Array<string>}
|
|
25
|
-
* @memberof VMFilterOptionsResponse
|
|
26
24
|
*/
|
|
27
25
|
clusters: Array<string>;
|
|
28
26
|
/**
|
|
29
27
|
* Distinct datacenter names
|
|
30
|
-
* @type {Array<string>}
|
|
31
|
-
* @memberof VMFilterOptionsResponse
|
|
32
28
|
*/
|
|
33
29
|
datacenters: Array<string>;
|
|
34
30
|
/**
|
|
35
31
|
* Distinct concern labels
|
|
36
|
-
* @type {Array<string>}
|
|
37
|
-
* @memberof VMFilterOptionsResponse
|
|
38
32
|
*/
|
|
39
33
|
concernLabels: Array<string>;
|
|
40
34
|
/**
|
|
41
35
|
* Distinct concern categories
|
|
42
|
-
* @type {Array<string>}
|
|
43
|
-
* @memberof VMFilterOptionsResponse
|
|
44
36
|
*/
|
|
45
37
|
concernCategories: Array<string>;
|
|
46
38
|
/**
|
|
47
39
|
* Distinct detected application names
|
|
48
|
-
* @type {Array<string>}
|
|
49
|
-
* @memberof VMFilterOptionsResponse
|
|
50
40
|
*/
|
|
51
41
|
applications: Array<string>;
|
|
52
42
|
}
|
package/src/models/VMIssue.ts
CHANGED
|
@@ -21,20 +21,14 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VMIssue {
|
|
22
22
|
/**
|
|
23
23
|
* Short label describing the issue
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof VMIssue
|
|
26
24
|
*/
|
|
27
25
|
label: string;
|
|
28
26
|
/**
|
|
29
27
|
* Detailed description of the issue with additional context and recommendations
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof VMIssue
|
|
32
28
|
*/
|
|
33
29
|
description: string;
|
|
34
30
|
/**
|
|
35
31
|
* Severity category of the issue. Unknown categories are mapped to 'Other'.
|
|
36
|
-
* @type {VMIssueCategoryEnum}
|
|
37
|
-
* @memberof VMIssue
|
|
38
32
|
*/
|
|
39
33
|
category: VMIssueCategoryEnum;
|
|
40
34
|
}
|
|
@@ -21,14 +21,10 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VMLabelsResponse {
|
|
22
22
|
/**
|
|
23
23
|
* Distinct labels currently in use
|
|
24
|
-
* @type {Array<string>}
|
|
25
|
-
* @memberof VMLabelsResponse
|
|
26
24
|
*/
|
|
27
25
|
labels: Array<string>;
|
|
28
26
|
/**
|
|
29
27
|
* Number of VMs with each label (same order as labels array)
|
|
30
|
-
* @type {Array<number>}
|
|
31
|
-
* @memberof VMLabelsResponse
|
|
32
28
|
*/
|
|
33
29
|
counts: Array<number>;
|
|
34
30
|
}
|
package/src/models/VMNIC.ts
CHANGED
|
@@ -21,32 +21,22 @@ import { mapValues } from '../runtime.js';
|
|
|
21
21
|
export interface VMNIC {
|
|
22
22
|
/**
|
|
23
23
|
* MAC address of the virtual NIC
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof VMNIC
|
|
26
24
|
*/
|
|
27
25
|
mac?: string;
|
|
28
26
|
/**
|
|
29
27
|
* Reference to the network this NIC is connected to
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof VMNIC
|
|
32
28
|
*/
|
|
33
29
|
network?: string;
|
|
34
30
|
/**
|
|
35
31
|
* Index of the NIC within the VirtualMachine
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof VMNIC
|
|
38
32
|
*/
|
|
39
33
|
index?: number;
|
|
40
34
|
/**
|
|
41
35
|
* IPv4 address of this NIC as reported by VMware Tools
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof VMNIC
|
|
44
36
|
*/
|
|
45
37
|
ipv4Address?: string;
|
|
46
38
|
/**
|
|
47
39
|
* IPv6 address of this NIC as reported by VMware Tools
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof VMNIC
|
|
50
40
|
*/
|
|
51
41
|
ipv6Address?: string;
|
|
52
42
|
}
|
|
@@ -29,32 +29,22 @@ import {
|
|
|
29
29
|
export interface VMResourceBreakdown {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof VMResourceBreakdown
|
|
34
32
|
*/
|
|
35
33
|
total: number;
|
|
36
34
|
/**
|
|
37
35
|
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof VMResourceBreakdown
|
|
40
36
|
*/
|
|
41
37
|
totalForMigratable: number;
|
|
42
38
|
/**
|
|
43
39
|
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof VMResourceBreakdown
|
|
46
40
|
*/
|
|
47
41
|
totalForMigratableWithWarnings: number;
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof VMResourceBreakdown
|
|
52
44
|
*/
|
|
53
45
|
totalForNotMigratable: number;
|
|
54
46
|
/**
|
|
55
47
|
*
|
|
56
|
-
* @type {Histogram}
|
|
57
|
-
* @memberof VMResourceBreakdown
|
|
58
48
|
* @deprecated
|
|
59
49
|
*/
|
|
60
50
|
histogram?: Histogram;
|