This is an archive version of the document. To get the most up-to-date information, see the current version.

Get Computers

In this article

    You can get a representation of a collection of computers discovered in Veeam Availability Console.

    Request

    To get a representation of all discovered computers, send the GET HTTPS request to the URL of the /computers collection.

    HTTPS Request

    GET https://<Availability-Console>:1281/v2/computers

    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 /computers collection resource.

    Example Get Computers

    The following request returns a list of all managed computers in Veeam Availability Console.

    Request:

    GET https://localhost:1281/v2/computers

     

    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"

         }

       }

     },

     {

       "id": "82191142-132d-2ad0-c8bf-19647aab6b8c",

       "hostName": "backup01",

       "type": "Server",

       "platformType": "Vmware",

       "guestOs": "Microsoft Windows Server 2012 R2 Standard",

       "applicationInstalled": "Microsoft SQL Server",

       "connectionStatus": "Online",

       "connectionAccount": "Alpha",

       "lastHeartbeat": "2017-10-17T10:38:56.9765992Z",

       "progress": 0,

       "ipAddress": "172.17.53.12",

       "macAddress": "00:50:56:91:11:52",

       "discoveryTime": "2017-10-16T12:38:43.8906215Z",

       "backupAgentInstalled": false,

       "installationType": "Unknown",

       "managementMode": "Unknown",

       "vacAgentId": "a056644e-8948-4e23-bbe5-d2220c714783",

       "vacAgentStatus": "Healthy",

       "vacAgentVersion": "Up-to-date (3.0.0.2510)",

       "vacAgentRole": "Master",

       "_links": {

         "self": {

           "href": "https://vac.tech.local:1281/v2/computers/82191142-132d-2ad0-c8bf-19647aab6b8c"

         },

         "tenants": {

           "href": "https://vac.tech.local:1281/v2/tenants/2"

         }

       }

     }

    ]

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.