Host Virtual Nic Manager Query Net Config

Host Virtual Nic Manager Query Net Config

Get the NetConfig for the specified nicType

Required privileges: System.Read

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

string
release
Required

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


Request Body
QueryNetConfigRequestType of type(s) application/json
Required
"QueryNetConfigRequestType Object"
string
nicType
Required

The HostVirtualNicManagerNicTypeEnum

Authentication
This operation uses the following authentication methods.
Responses
200

OK

This response body class contains all of the following: VirtualNicManagerNetConfig
{
    "0": "V",
    "1": "i",
    "2": "r",
    "3": "t",
    "4": "u",
    "5": "a",
    "6": "l",
    "7": "N",
    "8": "i",
    "9": "c",
    "10": "M",
    "11": "a",
    "12": "n",
    "13": "a",
    "14": "g",
    "15": "e",
    "16": "r",
    "17": "N",
    "18": "e",
    "19": "t",
    "20": "C",
    "21": "o",
    "22": "n",
    "23": "f",
    "24": "i",
    "25": "g",
    "26": " ",
    "27": "O",
    "28": "b",
    "29": "j",
    "30": "e",
    "31": "c",
    "32": "t"
}

500

InvalidArgument: if nicType is invalid

HostConfigFault: for any other 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}/HostVirtualNicManager/{moId}/QueryNetConfig