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

EC2 Instances

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

Collection URL

The resource collection is located at the following URL:

https://<hostname>:<port>/api/v1/virtualMachines

EC2 InstancesCollection Representation

{

 "results": [

   {

     "protectionStatus": "Protected",

     "id": "be471476-66f4-4d2f-86c7-cffe34adf4cc",

     "name": "oz-Tgt-01",

     "awsResourceId": "i-0dc1a8c251ec3ab67",

     "backupDestinations": [Snapshot],

     "isDeleted": false,

     "_links": [

       {

         "method": "GET",

         "rel": "self",

         "href": "https://135.169.170.192:11005/api/v1/virtualMachines/be471476-66f4-4d2f-86c7-cffe34adf4cc"

       },

       {

         "method": "POST",

         "rel": "TakeSnapshot",

         "href": "https://135.169.170.192:11005/api/v1/virtualMachines/be471476-66f4-4d2f-86c7-cffe34adf4cc/takeSnapshot"

       }

     ]

   }

 ],

 "totalCount": 1,

 "_links": [

   {

     "method": "GET",

     "rel": "self",

     "href": "https://135.169.170.192:11005/api/v1/virtualMachines?SearchPattern=tgt"

   }

 ]

}

In This Section