Skip to content

Create HTTP Load Balancer

Create HTTP/HTTPS load balancer using the discovered virtual server as an origin server.

ToolDescription
f5xc-api-statistics-create-http-load-balancer-createCreate HTTP/HTTPS load balancer.
ParameterDescriptionExample
nameService Name-
namespaceNamespace-

This resource includes mutually exclusive configuration options:

OptionDescriptionRecommended
OptionDescriptionRecommended
http_lb_request.http-
http_lb_request.https-
http_lb_request.https_auto_cert-
OptionDescriptionRecommended
http_lb_request.skip_server_verification-
http_lb_request.trusted_ca-

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

“Create a create-http-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_http_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_http_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_http_load_balancers" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @create_http_load_balancer.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/create_http_load_balancers/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"