Vcenter Inventory Network find

Vcenter Inventory Network find

Returns network information for the specified vCenter Server networks. The key in the response map is the network identifier and the value in the map is the network information.

Returns an authorization error if you do not have all of the privileges described as follows:

  • Operation execution requires System.Read.
  • The resource Network referenced by the parameter networks requires System.Read.
Request
URI
GET
https://{api_host}/api/vcenter/inventory/network
COPY
Query Parameters
string of array
networks
Required

Identifiers of the vCenter Server networks for which information will be returned.

The parameter must contain identifiers for the resource type: Network.


Authentication
This operation uses the following authentication methods.
Responses
200

Network information for the specified vCenter Server networks. The key in the response map is the network identifier and the value in the map is the network information.

The key in the response map will be an identifier for the resource type: Network.

{
    "type": "string"
}

404

if no datastore can be found for one or more of the vCenter Server network identifiers in networks

Returns Vapi Std Errors NotFound of type(s) application/json
This response body class contains all of the following: InlineVapi Std Errors NotFound0
"Vapi Std Errors NotFound Object"

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/vcenter/inventory/network?networks=v