Was this helpful?
Retrieve a list of VM information.
Site ID for which to retrieve VM information (optional)
Virtual Machine
GET /api/Provider/VM HTTP/1.1 Host: Accept: */*
Success
[ { "siteId": 1, "name": "text", "id": "text", "providerId": 1, "user": "text", "server": "text", "state": [ "0 = Unknown", "1 = On", "2 = Off", "3 = Paused", "9 = CloningFailed", "17 = CloningCanceled" ], "nativePoolId": "text", "isHost": true, "isTemplate": true, "ip": "text" } ]
Retrieve a list of VM information of a specific Provider by ID.
Provider ID
GET /api/Provider/{providerId}/VM HTTP/1.1 Host: Accept: */*
Retrieve a specific VM by ID from a specific Provider by ID.
VM ID
GET /api/Provider/{providerId}/VM/{id} HTTP/1.1 Host: Accept: */*
{ "siteId": 1, "name": "text", "id": "text", "providerId": 1, "user": "text", "server": "text", "state": [ "0 = Unknown", "1 = On", "2 = Off", "3 = Paused", "9 = CloningFailed", "17 = CloningCanceled" ], "nativePoolId": "text", "isHost": true, "isTemplate": true, "ip": "text" }