Service Policy Rule provides tools for creating, listing, retrieving, updating, and deleting resources in F5 Distributed Cloud.
| Tool | Description |
|---|
f5xc-api-virtual-service-policy-rule-create | Create Service Policy Rule. |
f5xc-api-virtual-service-policy-rule-get | Get Service Policy Rule. |
f5xc-api-virtual-service-policy-rule-list | List Service Policy Rule. |
f5xc-api-virtual-service-policy-rule-update | Update Service Policy Rule. |
f5xc-api-virtual-service-policy-rule-delete | Delete Service Policy 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.any_asn | Any asn | |
spec.asn_list | Asn list | |
spec.asn_matcher | Asn matcher | |
| Option | Description | Recommended |
|---|
spec.any_client | Any client | |
spec.client_name | Client name | |
spec.client_name_matcher | Client name matcher | |
spec.client_selector | Client selector | |
spec.ip_threat_category_list | Ip threat category list | |
| Option | Description | Recommended |
|---|
spec.any_ip | Any ip | |
spec.ip_matcher | Ip matcher | |
spec.ip_prefix_list | Ip prefix list | |
| Option | Description | Recommended |
|---|
spec.ja4_tls_fingerprint | Ja4 tls fingerprint | |
spec.tls_fingerprint_matcher | Tls fingerprint matcher | |
Ask Claude to help you work with Service Policy Rule resources:
“Create a service-policy-rule named ‘example’ in the ‘production’ namespace”
“List all service-policy-rules in the ‘production’ namespace”
“Get details of the service-policy-rule named ‘example’ in namespace ‘production‘“
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/service_policy_rules" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/service_policy_rules/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/service_policy_rules" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @service_policy_rule.json
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/service_policy_rules/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"