Apache CloudStack v4.5.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 LB Stickiness policy method, possible values can be obtained from ListNetworks API true
namename of the LB Stickiness policytrue
descriptionthe description of the LB 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