Vsan Performance Manager Vsan Perf Diagnose Task
Runs a diagnostic query to determine performance issues in a vSAN cluster.
This API call investigates the state of the vSAN cluster during the chosen period of time, and returns any issues (list of VsanPerfDiagnosticResult) that may be limiting the performance of the vSAN cluster. This API is available from only the vCenter, it is not available at the end-host. Processing is performed in the background, and a task is returned. Please wait for the task to finish, and then call GetVsanPerfDiagnosisResult to retrieve results.
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 VsanPerformanceManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanPerfDiagnoseTaskRequestType Object"
The query describing details of diagnosis required, such as the period of diagnosis and the query type.
vSAN cluster. Ignored if called against host.
Required privileges: Global.Diagnostics
A task doing the asynchronous work.
"MoRefTask Object"
InvalidArgument: if the set of arguments passed to the function is not specified correctly.
NotFound: if no ESXi host could be contacted to perform the operation when called against vCenter or if the API was not invoked on vCenter or if CEIP is not enabled
VsanFault: if the caller doesn't have the required privilege, or the cluster has no hosts.
"MethodFault Object"
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanPerformanceManager/{moId}/VsanPerfDiagnoseTask