Get a Computer
You can get a representation of a discovered computer with the specified ID.
Request
To get a representation of a discovered computer, send the GET HTTPS request to the URL of its resource.
HTTPS Request
GET https://<Availability-Console>:1281/v2/сomputers/{ID} |
Request Headers
The request header must contain the authorization token for the current logon session.
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 200 Success.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/json; charset=utf-8 |
Response Body
In the response body, Veeam Availability Console returns a representation of the /сomputers/{ID} resource.
Example
The following request returns a representation of a discovered computer with ID 1c201142-c8db-2861-a128-818cfccb2aee.
Request: GET https://localhost:1281/v2/сomputers/1c201142-c8db-2861-a128-818cfccb2aee
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: { "id": "1c201142-c8db-2861-a128-818cfccb2aee", "hostName": "windows03", "type": "Server", "platformType": "Vmware", "guestOs": "Microsoft Windows Server 2012 R2 Standard", "applicationInstalled": "Microsoft SQL Server", "connectionStatus": "Online", "connectionAccount": "Delta", "lastHeartbeat": "2017-10-17T10:39:42.9197789Z", "progress": 0, "ipAddress": "172.17.53.30", "macAddress": "00:50:56:91:7E:5F", "discoveryTime": "2017-10-16T09:47:29.9469644Z", "backupAgentInstalled": true, "installationType": "Full", "managementMode": "ManagedByVAC", "vacAgentId": "8a22a52c-7580-4cfe-ae64-a07543c254a3", "vacAgentStatus": "Installed", "vacAgentVersion": "Up-to-date (3.0.0.2510)", "vacAgentRole": "Master", "vawAgentStatus": "Healthy", "vawAgentVersion": "3.0.0.748", "backupSize": 491.09, "backupSizeUnits": "MB", "activationDate": "2017-10-12T08:18:59.6803059Z", "licenceType": "Activated", "nextRun": "2017-10-18T00:30:00+03:00", "scheduleType": "Daily", "lastModified": "2017-10-13T05:15:48.1829432+03:00", "isEnabled": true, "modifiedBy": "VAC\\administrator", "duration": 350, "durationUnits": "s", "destinationType": "C:\\VeeamBackup\\", "avgDuration": 10, "avgDurationUnits": "s", "restorePointsCount": 14, "lastRun": "2017-10-17T07:30:00.75Z", "destinationFreeSpace": 99.38, "destinationFreeSpaceUnits": "GB", "status": "Success", "uiMode": "Full", "_links": { "self": { "href": "https://vac.tech.local:1281/v2/computers/1c201142-c8db-2861-a128-818cfccb2aee" }, "backupPolicies": { "href": "https://vac.tech.local:1281/v2/backupPolicies/0" }, "tenants": { "href": "https://vac.tech.local:1281/v2/tenants/2" } } } |