Skip to content

Network Policy Set

List the set of network_policy_set in a namespace.

ToolDescription
f5xc-api-networksecurity-network-policy-set-getGET Network Policy Set.
f5xc-api-networksecurity-network-policy-set-listList Network Policy Set.
ParameterDescriptionExample
nameName-
namespaceNamespace-
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-

Ask Claude to help you work with Network Policy Set resources:

“List all network-policy-sets in the ‘production’ namespace”

“Get details of the network-policy-set named ‘example’ in namespace ‘production‘“

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