Skip to content

DNS Load Balancer

Create DNS Load Balancer in a given namespace. If one already exist it will give a error.

ToolDescription
f5xc-api-dns-dns-load-balancer-createCreate DNS Load Balancer.
f5xc-api-dns-dns-load-balancer-getGET DNS Load Balancer.
f5xc-api-dns-dns-load-balancer-listList DNS Load Balancer.
f5xc-api-dns-dns-load-balancer-updateReplace DNS Load Balancer.
f5xc-api-dns-dns-load-balancer-deleteDELETE DNS Load Balancer.
ParameterDescriptionExample
metadata.namespaceNamespace-
nameName-
namespaceNamespace-
metadata.nameName-
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example-
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.response_cache.default_response_cache_parameters-
spec.response_cache.disable-
spec.response_cache.response_cache_parameters-
OptionDescriptionRecommended
spec.rule_list.rules[].pool-
OptionDescriptionRecommended
spec.rule_list.rules[].asn_list-
spec.rule_list.rules[].asn_matcher-
spec.rule_list.rules[].geo_location_label_selector-
spec.rule_list.rules[].geo_location_set-
spec.rule_list.rules[].ip_prefix_list-
spec.rule_list.rules[].ip_prefix_set-

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

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

“List all dns-load-balancers in the ‘production’ namespace”

“Get details of the dns-load-balancer named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/dns_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}/dns_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}/dns_load_balancers" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @dns_load_balancer.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/dns_load_balancers/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"