Get Networks

Get Networks
Get all networks

Retrieves all networks visible to HCX from vCenter inventory. Includes distributed virtual port groups, standard port groups, and NSX segments. Use the optional endpointId parameter to query networks from a remote site.

Request
URI
GET
https://{server}/hybridity/api/networks
COPY
Query Parameters
string
endpointId
Optional

UUID of (remote) appliance. Useful when sending requests from one appliance to another appliance.


Authentication
This operation uses the following authentication methods.
Responses
200

Accepted

[
    "nls_1.0_network Object"
]
Optional

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/hybridity/api/networks