Vsan Performance Manager Vsan Perf Query Time Ranges
Query saved time ranges in performance service.
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.1.0.0 APIs.
Show optional properties
{
"querySpec": {}
}
{
"cluster": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"querySpec": {
"_typeName": "string",
"name": "string",
"startTimeFrom": "string",
"startTimeTo": "string",
"endTimeFrom": "string",
"endTimeTo": "string"
}
}
Required privileges: System.Read
Specify the name and time boundaries. See details in VsanPerfTimeRangeQuerySpec
OK
[
{
"_typeName": "string",
"name": "string",
"startTime": "string",
"endTime": "string"
}
]
Time ranges are specific start time and end time saved under a name.
The time ranges can be used to query and analyze performance data during the specified period.
This structure may be used only with operations rendered under /vsan.
Failure
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
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 '{"querySpec":"{}"}' https://{api_host}/sdk/vim25/{release}/vsan/VsanPerformanceManager/{moId}/VsanPerfQueryTimeRanges