Perform Load Balancer Action
Performs a lifecycle or management action on a single load balancer. The action is selected by the type field in the request body. Two actions require an extra field: upgrade_plan requires plan_name, and rename requires name. All other actions need only type.
Supported actions: power_on, power_off, upgrade_plan, rename. Any other value is rejected with Invalid Action!.
/api/v1/appliances/load-balancers/{lb_id}/actions/Path parameters
lb_idPathintegerrequiredThe
idof the load balancer, as returned by the List Load Balancers endpoint.- required
- must be a valid load balancer (appliance) ID
example12345
Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key used to authenticate the request
- required
- non-empty string
example{{api_key}}locationQuerystringrequiredRegion of the target load balancer.
- required
- non-empty string
example{{location}}
Request body
application/json
Action to perform. upgrade_plan additionally requires plan_name; rename additionally requires name. power_on and power_off need only type.
power_off- required
- must be one of the supported action identifiers
Target plan SKU. Required when type is upgrade_plan. Must be a larger plan than the current one.
E2E-LB-3- required when type is upgrade_plan
- must reference an existing load balancer plan in the region
New display name. Required when type is rename.
new-name- required when type is rename
- matches ^[A-Za-z0-9_-]+$
- max length 64 characters
Responses
200Successful response
200Human-readable result of the action.
Appliance Powering OffSuccess