Vsan Diagnostics System Vsan Query Network Diagnostics

Vsan Diagnostics System Vsan Query Network Diagnostics

Get the latest network events that triggered network alarms.

Required privileges: System.Read

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/vsan/VsanDiagnosticsSystem/{moId}/VsanQueryNetworkDiagnostics
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 VsanDiagnosticsSystem/{moId}.

string
release
Required

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


Request Body
VsanQueryNetworkDiagnosticsRequestType of type(s) application/json
Required
"VsanQueryNetworkDiagnosticsRequestType Object"
cluster
Required

The cluster where the network diagnostics is performed.

host
Optional

Get only for the specified host.

Authentication
This operation uses the following authentication methods.
Responses
200

vim.cluster.VsanNetworkDiagnostics[]

[
    "VsanNetworkDiagnostics Object"
]
Optional

500

Failure

Returns NotFound of type(s) application/json
"NotFound Object"

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