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
[ {
"guid" : "...",
"uuid" : "...",
"name" : "...",
"network" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"virtualMachine" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"backups" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
} ]
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
{
"guid" : "...",
"uuid" : "...",
"name" : "...",
"network" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"virtualMachine" : {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
},
"backups" : [ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"name" : "Entity name"
}, {
"guid" : "...",
"name" : "..."
} ]
}