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

Virtual Machines

The /virtualMachines resource collection represents all Azure VMs that reside in Azure regions selected in backup policy settings and can be protected by Veeam Backup for Microsoft Azure.

Collection URL

The resource collection is located at the following URL:

https://<hostname>/api/v3/virtualMachines

Virtual MachinesCollection Representation

{

 "offset": 0,

 "limit": 2,

 "totalCount": 73,

 "results": [

   {

     "id": "b45yr8nr5zj684pdjoejkmadcrezdjp8esz63tc6iqd9eq6rfcby",

     "azureId": "/subscriptions/3a9a4930-7bbc-4b83-9c68-15d674fbc803/resourcegroups/cpm-backup-martin/providers/microsoft.compute/virtualmachines/000000000000000y",

     "name": "000000000000000y",

     "azureEnvironment": "Global",

     "osType": "Linux",

     "regionName": "ukwest",

     "totalSizeInGB": 30,

     "vmSize": "Standard_B1ls",

     "virtualNetwork": "cpmbackupmartinvnet218",

     "subnet": "default",

     "privateIP": "10.2.20.4",

     "hasEphemeralOsDisk": false,

     "isController": false,

     "isDeleted": false,

     "_links": {

       "subscription": {

         "href": "https://51.11.247.127/api/v3/cloudInfrastructure/subscriptions/3a9a4930-7bbc-4b83-9c68-15d674fbc803"

       },

       "resourcegroup": {

         "href": "https://51.11.247.127/api/v3/cloudInfrastructure/resourceGroups/e4znpesnkxs8gzmbw76gkm8crze3dx1anjqc5g8a6t5joikkjfbo"

       },

       "policies": {

         "href": "https://51.11.247.127/api/v3/policies?virtualMachineId=b45yr8nr5zj684pdjoejkmadcrezdjp8esz63tc6iqd9eq6rfcby"

       },

       "restorepoints": {

         "href": "https://51.11.247.127/api/v3/restorePoints?virtualMachineId=b45yr8nr5zj684pdjoejkmadcrezdjp8esz63tc6iqd9eq6rfcby&onlyLatest=False"

       },

       "self": {

         "href": "https://51.11.247.127/api/v3/virtualMachines/b45yr8nr5zj684pdjoejkmadcrezdjp8esz63tc6iqd9eq6rfcby"

       }

     }

   },

   {

     "id": "c8jw1hbbe3qcadtqf4a417mpcu8wz16mmgjwxacpmkpy448mqugo",

     "azureId": "/subscriptions/1142bdc7-8797-42bc-aa23-9f1fc1411946/resourcegroups/tc-integrationtests-infrastructure/providers/microsoft.compute/virtualmachines/05d3d8c1-b0d2-4029-8a7b-ecfc4c23b840",

     "name": "05d3d8c1-b0d2-4029-8a7b-ecfc4c23b840",

     "azureEnvironment": "Global",

     "osType": "Linux",

     "regionName": "eastasia",

     "totalSizeInGB": 32,

     "vmSize": "Standard_B1s",

     "virtualNetwork": "3d51edc4-f385-4903-b6e1-5e54b636666e",

     "subnet": "subnet1",

     "publicIP": "13.70.22.233",

     "privateIP": "10.4.15.4",

     "hasEphemeralOsDisk": false,

     "isController": false,

     "isDeleted": false,

     "_links": {

       "subscription": {

         "href": "https://51.11.247.127/api/v3/cloudInfrastructure/subscriptions/1142bdc7-8797-42bc-aa23-9f1fc1411946"

       },

       "resourcegroup": {

         "href": "https://51.11.247.127/api/v3/cloudInfrastructure/resourceGroups/xzyp43ypge9r7bu8m81cijpga8p4xk3fnjj6bkiqyfceuk5tkx8y"

       },

       "policies": {

         "href": "https://51.11.247.127/api/v3/policies?virtualMachineId=c8jw1hbbe3qcadtqf4a417mpcu8wz16mmgjwxacpmkpy448mqugo"

       },

       "restorepoints": {

         "href": "https://51.11.247.127/api/v3/restorePoints?virtualMachineId=c8jw1hbbe3qcadtqf4a417mpcu8wz16mmgjwxacpmkpy448mqugo&onlyLatest=False"

       },

       "self": {

         "href": "https://51.11.247.127/api/v3/virtualMachines/c8jw1hbbe3qcadtqf4a417mpcu8wz16mmgjwxacpmkpy448mqugo"

       }

     }

   }

 ],

 "_links": {

   "self": {

     "href": "https://51.11.247.127/api/v3/virtualMachines?offset=0&limit=2"

   },

   "next": {

     "href": "https://51.11.247.127/api/v3/virtualMachines?offset=2&limit=2"

   }

 }

}

In This Section