Skip to content

Infraprotect Firewall Rule

List the set of infraprotect_firewall_rule in a namespace.

ToolDescription
f5xc-api-ddos-infraprotect-firewall-rule-createCreate DDoS transit Firewall Rule.
f5xc-api-ddos-infraprotect-firewall-rule-getGET Infraprotect Firewall Rule.
f5xc-api-ddos-infraprotect-firewall-rule-listList Infraprotect Firewall Rule.
f5xc-api-ddos-infraprotect-firewall-rule-updateReplace DDoS transit Firewall Rule.
f5xc-api-ddos-infraprotect-firewall-rule-deleteDELETE Infraprotect Firewall 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.action_allow-
spec.action_deny-
OptionDescriptionRecommended
spec.destination_prefix_all-
spec.destination_prefix_single-
OptionDescriptionRecommended
spec.fragments_allow-
spec.fragments_deny-
OptionDescriptionRecommended
spec.protocol_ah-
spec.protocol_all-
spec.protocol_esp-
spec.protocol_gre-
spec.protocol_icmp-
spec.protocol_icmp6-
spec.protocol_ipv6-
spec.protocol_tcp-
spec.protocol_udp-
OptionDescriptionRecommended
spec.source_prefix_all-
spec.source_prefix_single-
OptionDescriptionRecommended
spec.state_off-
spec.state_on-
OptionDescriptionRecommended
spec.version_ipv4-
spec.version_ipv6-
OptionDescriptionRecommended
spec.protocol_tcp.destination_port_all-
spec.protocol_tcp.destination_port_range-
OptionDescriptionRecommended
spec.protocol_tcp.source_port_all-
spec.protocol_tcp.source_port_range-

Ask Claude to help you work with Infraprotect Firewall Rule resources:

“Create a infraprotect-firewall-rule named ‘example’ in the ‘production’ namespace”

“List all infraprotect-firewall-rules in the ‘production’ namespace”

“Get details of the infraprotect-firewall-rule named ‘example’ in namespace ‘production‘“

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