Cosmic Domain Admin 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)false
vmidipmapVM ID and IP map, vmidipmap[0].vmid=1 vmidipmap[0].ip=10.1.1.75false

Response Tags

Response NameDescription
displaytextany text associated with the success or failure
successtrue if operation is executed successfully