Apache CloudStack 4.23.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 are LbCookie, AppCookie, SourceBased | 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 |