Apache CloudStack 4.20.0.0 Root Admin API Reference

updateLoadBalancerRule

Updates load balancer

Request parameters

Parameter NameDescriptionRequired
idthe ID of the load balancer rule to updatetrue
algorithmload balancer algorithm (source, roundrobin, leastconn)false
customidan optional field, in case you want to set a custom id to the resource. Allowed to Root Admins onlyfalse
descriptionthe description of the load balancer rulefalse
fordisplayan optional field, whether to the display the rule to the end user or notfalse
namethe name of the load balancer rulefalse
protocolThe protocol for the LBfalse

Response Tags

Response NameDescription
idthe load balancer rule ID
accountthe account of the load balancer rule
algorithmthe load balancer algorithm (source, roundrobin, leastconn)
cidrlistthe CIDR list to allow traffic, all other CIDRs will be blocked. Multiple entries must be separated by a single comma character (,).
descriptionthe description of the load balancer
domainthe domain of the load balancer rule
domainidthe domain ID of the load balancer rule
domainpathpath of the domain to which the load balancer rule belongs
fordisplayis rule for display to the regular user
namethe name of the load balancer
networkidthe id of the guest network the lb rule belongs to
privateportthe private port
projectthe project name of the load balancer
projectidthe project id of the load balancer
protocolthe protocol of the loadbalanacer rule
publicipthe public ip address
publicipidthe public ip address id
publicportthe public port
statethe state of the rule
zoneidthe id of the zone the rule belongs to
zonenamethe name of the zone the load balancer rule belongs to
tags(*)the list of resource tags associated with load balancer
accountthe account associated with the tag
customercustomer associated with the tag
domainthe domain associated with the tag
domainidthe ID of the domain associated with the tag
domainpathpath of the Domain associated with the tag
keytag key name
projectthe project name where tag belongs to
projectidthe project id the tag belongs to
resourceidid of the resource
resourcetyperesource type
valuetag value