Apache CloudStack 4.15.0.0 Root Admin API Reference
createLBStickinessPolicy
Creates a load balancer stickiness policy
Request parameters
Parameter Name | Description | Required |
lbruleid | the ID of the load balancer rule | true |
methodname | name of the load balancer stickiness policy method, possible values can be obtained from listNetworks API | true |
name | name of the load balancer stickiness policy | true |
description | the description of the load balancer stickiness policy | false |
fordisplay | an optional field, whether to the display the rule to the end user or not | false |
param | param list. Example: param[0].name=cookiename¶m[0].value=LBCookie | false |
Response Tags
Response Name | Description |
account | the account of the Stickiness policy |
description | the description of the Stickiness policy |
domain | the domain of the Stickiness policy |
domainid | the domain ID of the Stickiness policy |
lbruleid | the LB rule ID |
name | the name of the Stickiness policy |
state | the state of the policy |
zoneid | the id of the zone the Stickiness policy belongs to |
stickinesspolicy(*) | the list of stickinesspolicies |
id | the LB Stickiness policy ID |
description | the description of the Stickiness policy |
fordisplay | is policy for display to the regular user |
methodname | the method name of the Stickiness policy |
name | the name of the Stickiness policy |
params | the params of the policy |
state | the state of the policy |