Skip to content

Cdn Cache Rule

List the set of cdn_cache_rule in a namespace.

ToolDescription
f5xc-api-cdn-cdn-cache-rule-createCreate CDN cache rule.
f5xc-api-cdn-cdn-cache-rule-getGET CDN cache rule.
f5xc-api-cdn-cdn-cache-rule-listList CDN cache rule.
f5xc-api-cdn-cdn-cache-rule-updateReplace CDN cache rule.
f5xc-api-cdn-cdn-cache-rule-deleteDELETE CDN cache rule.
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.cache_rules.cache_bypass-
spec.cache_rules.eligible_for_cache-
OptionDescriptionRecommended
spec.cache_rules.eligible_for_cache.scheme_proxy_host_request_uri-
spec.cache_rules.eligible_for_cache.scheme_proxy_host_uri-
OptionDescriptionRecommended
spec.cache_rules.rule_expression_list[].cache_rule_expression[].cache_headers[].operator.Contains-
spec.cache_rules.rule_expression_list[].cache_rule_expression[].cache_headers[].operator.DoesNotContain-
spec.cache_rules.rule_expression_list[].cache_rule_expression[].cache_headers[].operator.DoesNotEndWith-
spec.cache_rules.rule_expression_list[].cache_rule_expression[].cache_headers[].operator.DoesNotEqual-
spec.cache_rules.rule_expression_list[].cache_rule_expression[].cache_headers[].operator.DoesNotStartWith-
spec.cache_rules.rule_expression_list[].cache_rule_expression[].cache_headers[].operator.Endswith-
spec.cache_rules.rule_expression_list[].cache_rule_expression[].cache_headers[].operator.Equals-
spec.cache_rules.rule_expression_list[].cache_rule_expression[].cache_headers[].operator.MatchRegex-
spec.cache_rules.rule_expression_list[].cache_rule_expression[].cache_headers[].operator.Startswith-

Ask Claude to help you work with Cdn Cache Rule resources:

“Create a cdn-cache-rule named ‘example’ in the ‘production’ namespace”

“List all cdn-cache-rules in the ‘production’ namespace”

“Get details of the cdn-cache-rule named ‘example’ in namespace ‘production‘“

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