The API allows you list and view networks.
Returns list of networks filtered by specified query parameters.
| name | type | description |
|---|---|---|
| compute-zone | query | |
| hvCluster | query | |
| hvGuid | query | |
| hvmGuid | query | |
| network | query | |
| virtualMachine | query |
| media type | data type | description |
|---|---|---|
| application/json | array of NetworkInterfaceCardDetails (JSON) | list of networks filtered by specified query parameters |
GET /network-interface-card
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ { } ]
Get a single network.
| name | type | description |
|---|---|---|
| guid | path | specify local unique identifier for network (use by vProtect) |
| media type | data type | description |
|---|---|---|
| application/json | NetworkInterfaceCardDetails (JSON) | network details |
GET /network-interface-card/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{ }