Apache CloudStack v4.8.0 Root Admin API Reference

createGlobalLoadBalancerRule

Creates a global load balancer rule

Request parameters

Parameter NameDescriptionRequired
gslbdomainnamedomain name for the GSLB service.true
gslbservicetypeGSLB service type (tcp, udp, http)true
namename of the load balancer ruletrue
regionidregion where the global load balancer is going to be created.true
accountthe account associated with the global load balancer. Must be used with the domainId parameter.false
descriptionthe description of the load balancer rulefalse
domainidthe domain ID associated with the load balancerfalse
gslblbmethodload balancer algorithm (roundrobin, leastconn, proximity) that method is used to distribute traffic across the zones participating in global server load balancing, if not specified defaults to 'round robin'false
gslbstickysessionmethodnamesession sticky method (sourceip) if not specified defaults to sourceipfalse

Response Tags

Response NameDescription
idglobal load balancer rule ID
accountthe account of the load balancer rule
descriptionthe description of the global load balancer rule
domainthe domain of the load balancer rule
domainidthe domain ID of the load balancer rule
gslbdomainnameDNS domain name given for the global load balancer
gslblbmethodLoad balancing method used for the global load balancer
gslbservicetypeGSLB service type
gslbstickysessionmethodnamesession persistence method used for the global load balancer
namename of the global load balancer rule
projectthe project name of the load balancer
projectidthe project id of the load balancer
regionidRegion Id in which global load balancer is created
loadbalancerrule(*)List of load balancer rules that are part of GSLB rule
idthe load balancer rule ID
accountthe account of the load balancer rule
algorithmthe load balancer algorithm (source, roundrobin, leastconn)
cidrlistthe cidr list to forward traffic from
descriptionthe description of the load balancer
domainthe domain of the load balancer rule
domainidthe domain ID of the load balancer rule
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
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
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