forwarding_rules
Overview
Name | forwarding_rules |
Type | Resource |
Id | digitalocean.load_balancers.forwarding_rules |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource and then invoke a supported method using the EXEC
command
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
loadBalancers_remove_forwardingRules | DELETE | lb_id, data__forwarding_rules | To remove forwarding rules from a load balancer instance, send a DELETE request to /v2/load_balancers/$LOAD_BALANCER_ID/forwarding_rules . In thebody of the request, there should be a forwarding_rules attribute containingan array of rules to be removed. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data. |
loadBalancers_add_forwardingRules | EXEC | lb_id, data__forwarding_rules | To add an additional forwarding rule to a load balancer instance, send a POST request to /v2/load_balancers/$LOAD_BALANCER_ID/forwarding_rules . In the bodyof the request, there should be a forwarding_rules attribute containing anarray of rules to be added. No response body will be sent back, but the response code will indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data. |