Skip to content

HTTP Load Balancer

HTTP Load Balancer provides tools for creating, listing, retrieving, updating, and deleting resources in F5 Distributed Cloud.

ToolDescription
f5xc-api-virtual-http-loadbalancer-createCreate HTTP Load Balancer.
f5xc-api-virtual-http-loadbalancer-getGet HTTP Load Balancer.
f5xc-api-virtual-http-loadbalancer-listList Configure HTTP Load Balancer.
f5xc-api-virtual-http-loadbalancer-updateUpdate HTTP Load Balancer.
f5xc-api-virtual-http-loadbalancer-deleteDelete Configure HTTP Load Balancer.
ParameterDescriptionExample
namespaceNamespace This defines the workspace within which each the configuration object is to be created.system
nameName The name of the configuration object to be fetched.example-resource
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example - in GetSpec form for the contents of object…GET_RSP_FORMAT_DEFAULT
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter…-
report_status_fieldsThe report_status_fields parameter…-

This resource includes mutually exclusive configuration options:

OptionDescriptionRecommended
spec.advertise_customAdvertise custom
spec.advertise_on_publicAdvertise on public
spec.advertise_on_public_default_vipAdvertise on public default vip
spec.do_not_advertiseDo not advertise
OptionDescriptionRecommended
spec.api_specificationApi specification
spec.disable_api_definitionDisable api definition
OptionDescriptionRecommended
spec.disable_api_discoveryDisable api discovery
spec.enable_api_discoveryEnable api discovery
OptionDescriptionRecommended
spec.api_testingApi testing
spec.disable_api_testingDisable api testing
OptionDescriptionRecommended
spec.bot_defenseBot defense
spec.bot_defense_advancedBot defense advanced
spec.disable_bot_defenseDisable bot defense
OptionDescriptionRecommended
spec.caching_policyCaching policy
spec.disable_cachingDisable caching
OptionDescriptionRecommended
spec.captcha_challengeCaptcha challenge
spec.enable_challengeEnable challenge
spec.js_challengeJs challenge
spec.no_challengeNo challenge
spec.policy_based_challengePolicy based challenge
OptionDescriptionRecommended
spec.client_side_defenseClient side defense
spec.disable_client_side_defenseDisable client side defense
OptionDescriptionRecommended
spec.cookie_stickinessCookie stickiness
spec.least_activeLeast active
spec.randomRandom
spec.ring_hashRing hash
spec.round_robinRound robin
spec.source_ip_stickinessSource ip stickiness
OptionDescriptionRecommended
spec.disable_ip_reputationDisable ip reputation
spec.enable_ip_reputationEnable ip reputation
OptionDescriptionRecommended
spec.l7_ddos_action_blockL7 ddos action block
spec.l7_ddos_action_defaultL7 ddos action default
spec.l7_ddos_action_js_challengeL7 ddos action js challenge
OptionDescriptionRecommended
spec.httpHttp
spec.httpsHttps
spec.https_auto_certHttps auto cert
OptionDescriptionRecommended
spec.disable_malicious_user_detectionDisable malicious user detection
spec.enable_malicious_user_detectionEnable malicious user detection
OptionDescriptionRecommended
spec.disable_malware_protectionDisable malware protection
spec.malware_protection_settingsMalware protection settings
OptionDescriptionRecommended
spec.multi_lb_appMulti lb app
spec.single_lb_appSingle lb app
OptionDescriptionRecommended
spec.default_poolDefault pool
spec.default_pool_listDefault pool list
OptionDescriptionRecommended
spec.api_rate_limitApi rate limit
spec.disable_rate_limitDisable rate limit
spec.rate_limitRate limit
OptionDescriptionRecommended
spec.default_sensitive_data_policyDefault sensitive data policy
spec.sensitive_data_policySensitive data policy
OptionDescriptionRecommended
spec.active_service_policiesActive service policies
spec.no_service_policiesNo service policies
spec.service_policies_from_namespaceService policies from namespace
OptionDescriptionRecommended
spec.slow_ddos_mitigationSlow ddos mitigation
spec.system_default_timeoutsSystem default timeouts
OptionDescriptionRecommended
spec.disable_threat_meshDisable threat mesh
spec.enable_threat_meshEnable threat mesh
OptionDescriptionRecommended
spec.disable_trust_client_ip_headersDisable trust client ip headers
spec.enable_trust_client_ip_headersEnable trust client ip headers
OptionDescriptionRecommended
spec.user_id_client_ipUser id client ip
spec.user_identificationUser identification
OptionDescriptionRecommended
spec.app_firewallApp firewall
spec.disable_wafDisable waf

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

“Create a http-loadbalancer named ‘example’ in the ‘production’ namespace”

“List all http-loadbalancers in the ‘production’ namespace”

“Get details of the http-loadbalancer named ‘example’ in namespace ‘production‘“

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