Vsan Performance Manager Vsan Perf Delete Stats Object
Delete vSAN object/directory containing the vSAN Perf Stats DB.
This method is only supported on ESXi host. Note: this will destroy all history and shut down the vSAN performance service. If the vSAN object doesn't exist, FileNotWritable exception will be raised. If vSAN is disabled, DestinationVsanDisabled exception will be raised. The operation can only be performed by masters, so VsanNodeNotMaster is raised when the node is not Stats master.
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.
"VsanPerfDeleteStatsObjectRequestType Object"
vSAN cluster. Ignored if called against host.
Required privileges: Host.Inventory.EditCluster
True on success
VsanFault: if the pre-check tests failed, or the host in the states that do not allow objects deletion (i.e. maintenance mode with data migration mode: ensure accessibility).
CannotCreateFile: if it cannot complete file creation operation.
NotFound: if no ESXi host could be contacted to perform the operation when called against vCenter.
"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}/VsanPerfDeleteStatsObject