Vsan Space Report System Query Vsan Managed Storage Space Usage
Query the space usage including the space usage overview and the space usage breakdown based on different datastore types.
The API can also be used to query physical capacity.
Required privileges: System.Read
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VsanSpaceReportSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"QueryVsanManagedStorageSpaceUsageRequestType Object"
vSAN cluster
The QueryVsanManagedStorageSpaceUsageSpec to specify more detailed query specification.
the space usage aggregated by different datastore type.
[
"VsanSpaceUsageWithDatastoreType Object"
]
InvalidArgument: Exception for invalid input arguments, for example, if the querySpec contains invalid datastore type.
"InvalidArgument Object"
Optional name of the invalid property.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanSpaceReportSystem/{moId}/QueryVsanManagedStorageSpaceUsage