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