Get registered Hyper-V hosts
This fetches a list of hosts previously created by a previous Register/Create API call.
This section includes the following topics:
Input Parameters
Output Parameters
Input Parameters
None.
Output Parameters
Array of registered hosts, each containing the same information as documented for the output of the Register host API.
Example GET
GET /v2/accounts/test_acc/computers/0000/restore/hyperv/host/list
Input Parameters
None.
Output Parameters
Response status: 200 Accepted (for online operation).
Example Response
{
"data": [
{
"identifier": {
"id": 2
},
"hostName": "win-3buj2mbr3re",
"serverState": 0,
"serverStateReason": 0,
"hostUnsupportedReason": 0,
"hostUnsupported": false
},
{
"identifier": {
"id": 3
},
"hostName": "10.12.144.208",
"serverState": 0,
"serverStateReason": 0,
"hostUnsupportedReason": 0,
"hostUnsupported": false
}
]
}