Apache CloudStack v4.1.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
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
methodnamethe method name of the Stickiness policy
namethe name of the Stickiness policy
paramsthe params of the policy
statethe state of the policy