Infraprotect Firewall Rule provides tools for creating, listing, retrieving, updating, and deleting resources in F5 Distributed Cloud.
| Tool | Description |
|---|
f5xc-api-ddos-infraprotect-firewall-rule-create | Create DDoS transit Firewall Rule. |
f5xc-api-ddos-infraprotect-firewall-rule-get | Get Infraprotect Firewall Rule. |
f5xc-api-ddos-infraprotect-firewall-rule-list | List Infraprotect Firewall Rule. |
f5xc-api-ddos-infraprotect-firewall-rule-update | Update DDoS transit Firewall Rule. |
f5xc-api-ddos-infraprotect-firewall-rule-delete | Delete Infraprotect Firewall Rule. |
| Parameter | Description | Example |
|---|
namespace | Namespace This defines the workspace within which each the configuration object is to be created. | system |
name | Name The name of the configuration object to be fetched. | example-resource |
| Parameter | Description | Example |
|---|
response_format | The format in which the configuration object is to be fetched. This could be for example - in GetSpec form for the contents of object… | GET_RSP_FORMAT_DEFAULT |
label_filter | A LabelSelectorType expression that every item in list response will satisfy. | - |
report_fields | The report_fields parameter… | - |
report_status_fields | The report_status_fields parameter… | - |
This resource includes mutually exclusive configuration options:
| Option | Description | Recommended |
|---|
spec.action_allow | Action allow | |
spec.action_deny | Action deny | |
| Option | Description | Recommended |
|---|
spec.destination_prefix_all | Destination prefix all | |
spec.destination_prefix_single | Destination prefix single | |
| Option | Description | Recommended |
|---|
spec.fragments_allow | Fragments allow | |
spec.fragments_deny | Fragments deny | |
| Option | Description | Recommended |
|---|
spec.protocol_ah | Protocol ah | |
spec.protocol_all | Protocol all | |
spec.protocol_esp | Protocol esp | |
spec.protocol_gre | Protocol gre | |
spec.protocol_icmp | Protocol icmp | |
spec.protocol_icmp6 | Protocol icmp6 | |
spec.protocol_ipv6 | Protocol ipv6 | |
spec.protocol_tcp | Protocol tcp | |
spec.protocol_udp | Protocol udp | |
| Option | Description | Recommended |
|---|
spec.source_prefix_all | Source prefix all | |
spec.source_prefix_single | Source prefix single | |
| Option | Description | Recommended |
|---|
spec.state_off | State off | |
spec.state_on | State on | |
| Option | Description | Recommended |
|---|
spec.version_ipv4 | Version ipv4 | |
spec.version_ipv6 | Version ipv6 | |
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‘“
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/infraprotect/namespaces/$${PARAM}/infraprotect_firewall_rules" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/infraprotect/namespaces/$${PARAM}/infraprotect_firewall_rules/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/infraprotect/namespaces/$${PARAM}/infraprotect_firewall_rules" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @infraprotect_firewall_rule.json
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/infraprotect/namespaces/$${PARAM}/infraprotect_firewall_rules/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"