We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
Is there any way to obtain the transaction log for a Load Balancer through the API?
Environment
All OnApp versions
Answer
The Load Balancer can be regarded as a virtual machine for certain API calls. To get the transaction log for a load balancer, use any of the following:
GET /virtual_machines/:virtual_machine_id/transactions.xml GET /virtual_machines/:virtual_machine_id/transactions.json
Additional Information
The ID of the Load Balancer to use can be found via:
GET /load_balancers.xml GET /load_balancers.json
The parameter is simply called 'id' and represents the id of the Load Balancer VM itself.
For more information, see the API guide for your OnApp version on our docs page here.