Cache Purge
Cache Purge provides tools for creating resources in F5 Distributed Cloud.
| Tool | Description |
|---|---|
f5xc-api-cdn-cache-purge-create | Purge CDN Cache. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | CDN Distribution Name x-required… | example-resource |
namespace | Namespace x-required… | system |
Configuration Choices
Section titled “Configuration Choices”This resource includes mutually exclusive configuration options:
pattern_type
Section titled “pattern_type”| Option | Description | Recommended |
|---|---|---|
hostname | Hostname | |
pattern | Pattern | |
purge_all | Purge all | |
url | Url |
purge_type
Section titled “purge_type”| Option | Description | Recommended |
|---|---|---|
hard_purge | Hard purge | |
soft_purge | Soft purge |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Cache Purge resources:
Create Cache Purge
Section titled “Create Cache Purge”“Create a cache-purge named ‘example’ in the ‘production’ namespace”
CURL Examples
Section titled “CURL Examples”# Create resourcecurl -X POST "https://${TENANT}.console.ves.volterra.io/api/cdn/namespaces/$${PARAM}/cdn_loadbalancer/$${PARAM}/cache-purge" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @cache_purge.json