Apache CloudStack v4.1.0 Root Admin API Reference
assignToLoadBalancerRule
Assigns virtual machine or a list of virtual machines to a load balancer rule.
Request parameters
| Parameter Name | Description | Required |
| id | the ID of the load balancer rule | true |
| virtualmachineids | the list of IDs of the virtual machine that are being assigned to the load balancer rule(i.e. virtualMachineIds=1,2,3) | true |
Response Tags
| Response Name | Description |
| displaytext | any text associated with the success or failure |
| success | true if operation is executed successfully |