Apache CloudStack 4.23.0.0 Root Admin API Reference

assignToLoadBalancerRule

Assigns an Instance or a list of Instances to a load balancer rule.

Request parameters

Parameter NameDescriptionRequired
idThe ID of the load balancer ruletrue
virtualmachineidsThe list of IDs of the Instance that are being assigned to the load balancer rule(i.e. virtualMachineIds=1,2,3)false
vmidipmapVM ID and IP map, vmidipmap[0].vmid=1 vmidipmap[0].vmip=10.1.1.75. (Optional, for VPC Conserve Mode) Pass vmnetworkid. Example: vmidipmap[0].vmnetworkid=NETWORK_TIER_UUIDfalse

Response Tags

Response NameDescription
displaytextAny text associated with the success or failure
successTrue if operation is executed successfully