Apache CloudStack 4.17.0.0 Root Admin API Reference
listLoadBalancerRules
Lists load balancer rules.
Request parameters
| Parameter Name | Description | Required |
| account | list resources by account. Must be used with the domainId parameter. | false |
| domainid | list only resources belonging to the domain specified | false |
| fordisplay | list resources by display flag; only ROOT admin is eligible to pass this parameter | false |
| id | the ID of the load balancer rule | false |
| isrecursive | defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves. | false |
| keyword | List by keyword | false |
| listall | If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter. | false |
| name | the name of the load balancer rule | false |
| networkid | list by network ID the rule belongs to | false |
| page | false | |
| pagesize | false | |
| projectid | list objects by project; if projectid=-1 lists All VMs | false |
| publicipid | the public IP address ID of the load balancer rule | false |
| tags | List resources by tags (key/value pairs) | false |
| virtualmachineid | the ID of the virtual machine of the load balancer rule | false |
| zoneid | the availability zone ID | false |
Response Tags
| Response Name | Description |
| id | the load balancer rule ID |
| account | the account of the load balancer rule |
| algorithm | the load balancer algorithm (source, roundrobin, leastconn) |
| cidrlist | the cidr list to forward traffic from. Multiple entries are separated by a single comma character (,). |
| description | the description of the load balancer |
| domain | the domain of the load balancer rule |
| domainid | the domain ID of the load balancer rule |
| fordisplay | is rule for display to the regular user |
| name | the name of the load balancer |
| networkid | the id of the guest network the lb rule belongs to |
| privateport | the private port |
| project | the project name of the load balancer |
| projectid | the project id of the load balancer |
| protocol | the protocol of the loadbalanacer rule |
| publicip | the public ip address |
| publicipid | the public ip address id |
| publicport | the public port |
| state | the state of the rule |
| zoneid | the id of the zone the rule belongs to |
| zonename | the name of the zone the load balancer rule belongs to |
| tags(*) | the list of resource tags associated with load balancer |
| account | the account associated with the tag |
| customer | customer associated with the tag |
| domain | the domain associated with the tag |
| domainid | the ID of the domain associated with the tag |
| key | tag key name |
| project | the project name where tag belongs to |
| projectid | the project id the tag belongs to |
| resourceid | id of the resource |
| resourcetype | resource type |
| value | tag value |