Apache CloudStack v4.8.0 User API Reference

createLBStickinessPolicy

Creates a load balancer stickiness policy

Request parameters

Parameter NameDescriptionRequired
lbruleidthe ID of the load balancer ruletrue
methodnamename of the load balancer stickiness policy method, possible values can be obtained from listNetworks APItrue
namename of the load balancer stickiness policytrue
descriptionthe description of the load balancer stickiness policyfalse
fordisplayan optional field, whether to the display the rule to the end user or notfalse
paramparam list. Example: param[0].name=cookiename&param[0].value=LBCookie false

Response Tags

Response NameDescription
accountthe account of the Stickiness policy
descriptionthe description of the Stickiness policy
domainthe domain of the Stickiness policy
domainidthe domain ID of the Stickiness policy
lbruleidthe LB rule ID
namethe name of the Stickiness policy
statethe state of the policy
zoneidthe id of the zone the Stickiness policy belongs to
stickinesspolicy(*)the list of stickinesspolicies
idthe LB Stickiness policy ID
descriptionthe description of the Stickiness policy
fordisplayis policy for display to the regular user
methodnamethe method name of the Stickiness policy
namethe name of the Stickiness policy
paramsthe params of the policy
statethe state of the policy