Skip to content

Create TCP Load Balancer

Create TCP load balancer using the discovered virtual server as an origin server.

ToolDescription
f5xc-api-statistics-create-tcp-load-balancer-createCreate TCP load balancer.
ParameterDescriptionExample
nameService Name-
namespaceNamespace-

This resource includes mutually exclusive configuration options:

OptionDescriptionRecommended
tcp_lb_request.advertise_custom-
tcp_lb_request.advertise_on_public_default_vip-
OptionDescriptionRecommended
tcp_lb_request.listen_port-
tcp_lb_request.port_ranges-
OptionDescriptionRecommended
tcp_lb_request.no_sni-
tcp_lb_request.sni-
OptionDescriptionRecommended
tcp_lb_request.advertise_custom.advertise_where[].advertise_on_public-
tcp_lb_request.advertise_custom.advertise_where[].cloud_edge_segment-
tcp_lb_request.advertise_custom.advertise_where[].segment-
tcp_lb_request.advertise_custom.advertise_where[].site-
tcp_lb_request.advertise_custom.advertise_where[].site_segment-
tcp_lb_request.advertise_custom.advertise_where[].virtual_network-
tcp_lb_request.advertise_custom.advertise_where[].virtual_site-
tcp_lb_request.advertise_custom.advertise_where[].virtual_site_segment-
tcp_lb_request.advertise_custom.advertise_where[].virtual_site_with_vip-
tcp_lb_request.advertise_custom.advertise_where[].vk8s_service-
OptionDescriptionRecommended
tcp_lb_request.advertise_custom.advertise_where[].virtual_network.default_v6_vip-
tcp_lb_request.advertise_custom.advertise_where[].virtual_network.specific_v6_vip-
OptionDescriptionRecommended
tcp_lb_request.advertise_custom.advertise_where[].virtual_network.default_vip-
tcp_lb_request.advertise_custom.advertise_where[].virtual_network.specific_vip-

Ask Claude to help you work with Create TCP Load Balancer resources:

“Create a create-tcp-load-balancer named ‘example’ in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/create_tcp_load_balancers" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/create_tcp_load_balancers/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/create_tcp_load_balancers" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @create_tcp_load_balancer.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/create_tcp_load_balancers/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"