Vsan Diagnostics System Vsan Set Trace Object Policy
Set the policy of the vSAN namespace object that hold the vSAN trace files.
The cluster parameter is ignored if called on ESXi. Profile can be:
- VirtualMachineDefinedProfileSpec where profileId is an empty string and instead the profileData is set for extensionKey 'com.vmware.vim.sps'. In this case the objectData field can be either the vSAN expression format, or a SPBM XML string.
If no profile is supplied, a default profile with hostFailuresToTolerate setting will be used.
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 VsanDiagnosticsSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanSetTraceObjectPolicyRequestType Object"
vSAN cluster. Ignored if called against host.
Required privileges: Global.Settings
traceObjectUuid
See above description for all possible options.
True
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanDiagnosticsSystem/{moId}/VsanSetTraceObjectPolicy