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 Name | Description | Required |
| id | The ID of the load balancer rule | true |
| virtualmachineids | The list of IDs of the Instance 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].vmip=10.1.1.75. (Optional, for VPC Conserve Mode) Pass vmnetworkid. Example: vmidipmap[0].vmnetworkid=NETWORK_TIER_UUID | false |
Response Tags
| Response Name | Description |
| displaytext | Any text associated with the success or failure |
| success | True if operation is executed successfully |