Skip to content

Service Policy Set

Low Risk

Operations on this resource are generally safe.

GET service_policy_set reads a given object from storage backend for metadata.namespace.

Tools

Tool Description
f5xc-api-virtual-service-policy-set-get GET Service Policy Set.
f5xc-api-virtual-service-policy-set-list List Service Policy Set.

Parameters

Path Parameters

Parameter Description Example
name Name -
namespace Namespace -

Query Parameters

Parameter Description Example
response_format The format in which the configuration object is to be fetched. This could be for example -
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 -

Example Usage

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

List Service Policy Sets

"List all service-policy-sets in the 'production' namespace"

Get Service Policy Set Details

"Get details of the service-policy-set named 'example' in namespace 'production'"

CURL Examples

# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/service_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}/service_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}/service_policy_sets" \
  -H "Authorization: APIToken ${F5XC_API_TOKEN}" \
  -H "Content-Type: application/json" \
  -d @service_policy_set.json

# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/service_policy_sets/<name>" \
  -H "Authorization: APIToken ${F5XC_API_TOKEN}"