Apache CloudStack v4.1.0 User API Reference

assignToLoadBalancerRule

Assigns virtual machine or a list of virtual machines to a load balancer rule.

Request parameters

Parameter NameDescriptionRequired
idthe ID of the load balancer ruletrue
virtualmachineidsthe 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 NameDescription
displaytextany text associated with the success or failure
successtrue if operation is executed successfully