Skip to content

Mitigation

Mitigation provides tools for creating, and listing resources in F5 Distributed Cloud.

ToolDescription
f5xc-api-ddos-mitigation-createList of mitigations.
f5xc-api-ddos-mitigation-listMitigation details.
ParameterDescriptionExample
namespaceNamespace This request is supported only in system namespace.system
mitigation_idMitigation ID ID of the mitigation we want to GET the details for.-

Ask Claude to help you work with Mitigation resources:

“Create a mitigation named ‘example’ in the ‘production’ namespace”

“List all mitigations in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/infraprotect/namespaces/$${PARAM}/infraprotect/mitigation/${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/infraprotect/namespaces/$${PARAM}/infraprotect/mitigations" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @mitigation.json