Vsan Phone Home System Vsan Query Object Snapshots Info
API to get vSAN object snapshot information in a vSAN cluster
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 VsanPhoneHomeSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VsanQueryObjectSnapshotsInfoRequestType Object"
Target cluster
Required privileges: System.Read
string of json format data, for example: {"summary" : { "TotalObjects" : , "TotalSnapshots" : }, "detail" : { "snapshot_count_0" : count, "snapshot_count_1" : count, "snapshot_count_2" : count } }
InvalidArgument: Exception for invalid input arguments, for example, if the given argument is not passed correctly.
InvalidType: Exception for invalid type arguments, for example, if the given argument is not type of cluster moId.
ManagedObjectNotFound: Exception for invalid reference argument, for example, if the given cluster is not found.
"RuntimeFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanPhoneHomeSystem/{moId}/VsanQueryObjectSnapshotsInfo