Iscsi Manager Query Pnic Status
Query if Physical NIC device is used for iSCSI.
Required privileges: Host.Config.Storage
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 IscsiManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"pnicDevice": "string"
}
Physical NIC device name to check the status for
A status object, IscsiStatus, indicating whether Physical NIC is used by iSCSI or not.
- Empty IscsiStatus (i.e reason unset) if Physical NIC device is not used.
- Fault code IscsiFaultPnicInUse if Physical NIC is being used.
{
"_typeName": "string",
"reason": [
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
]
}
List of failure reason and associated remedy.
An array of fault codes associated with the failure. The fault itself will provide an indication of the actual failure code and MethodFault.faultMessage will indicate the remedy that needs to be taken to correct the failure.
IscsiFault: For any problem that is not handled with a more specific fault.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}