Apache CloudStack v4.6.0 User 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) | false |
| vmidipmap | VM ID and IP map, vmidipmap[0].vmid=1 vmidipmap[0].ip=10.1.1.75 | false |
Response Tags
| Response Name | Description |
| displaytext | any text associated with the success or failure |
| success | true if operation is executed successfully |