/v2/load_balancers/{lb_id}/forwarding_rulesAdd forwarding rules to a load balancer
Adds one or more forwarding rules to a load balancer. Provide at least one rule in forwarding_rules, with the required entry and target protocols and ports. A 204 response confirms the rules were added and returns no body.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Forwarding rules to add. Include at least one rule, with the required entry and target protocols and ports.
A 401 indicates invalid credentials, a 404 indicates the resource was not found, a 429 indicates the API rate limit was exceeded, and a 500 indicates a server error. The lb_id path parameter must identify a load balancer. The forwarding_rules array must contain at least one rule, and each rule must include entry_protocol, entry_port, target_protocol, and target_port; the protocols must be allowed values, and if either protocol is udp, both must be udp.