Vsan Phone Home System Vsan Query Nvme Critical Warning Stats

Vsan Phone Home System Vsan Query Nvme Critical Warning Stats

API to Enhance DDH health state monitoring for VSAN NVMe disks to check the NVMe critical warnings.

This API iterates over each host to call the Host Level API to collect the data Note: This data is collected for only VSAN NVMe devices

Since: 8.0.0.4

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/VsanPhoneHomeSystem/{moId}/VsanQueryNvmeCriticalWarningStats
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
Required
"VsanQueryNvmeCriticalWarningStatsRequestType Object"
cluster
Required

Target cluster

Required privileges: System.Read

Authentication
This operation uses the following authentication methods.
Responses
200

string of json format data, for example: { "host-29":{ "eui.3c22afd568ada7e3000c29675e8e0701": { "spare_space": 0, "temp_exceeded_threshold": 0, "subsystem_reliability_degraded": 0, "read_only": 0, "backup_failed": 0 }, "eui.1c29f18de63cdc84000c2965dd62c898": { "spare_space": 0, "temp_exceeded_threshold": 0, "subsystem_reliability_degraded": 0, "read_only": 0, "backup_failed": 0 } } "host-30":{ "eui.3c22afd568ada7e3000c29675e8e0701": { "spare_space": 0, "temp_exceeded_threshold": 0, "subsystem_reliability_degraded": 0, "read_only": 0, "backup_failed": 0 }, "eui.1c29f18de63cdc84000c2965dd62c898": { "spare_space": 0, "temp_exceeded_threshold": 0, "subsystem_reliability_degraded": 0, "read_only": 0, "backup_failed": 0 } } }

Returns string of type(s) application/json
Operation doesn't return any data structure

500

Failure

Returns MethodFault of type(s) application/json
This response body class contains all of the following: InlineMethodFault0
"MethodFault Object"
faultCause
Optional

Fault which is the cause of this fault.

array of object
faultMessage
Optional

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.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VsanPhoneHomeSystem/{moId}/VsanQueryNvmeCriticalWarningStats