Skip to content

Segment

List the set of segment in a namespace.

ToolDescription
f5xc-api-networksecurity-segment-createCreate segment.
f5xc-api-networksecurity-segment-getGET segment.
f5xc-api-networksecurity-segment-listList Segment.
f5xc-api-networksecurity-segment-updateReplace segment.
f5xc-api-networksecurity-segment-deleteDELETE Segment.
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.disable-
spec.enable-

Ask Claude to help you work with Segment resources:

“Create a segment named ‘example’ in the ‘production’ namespace”

“List all segments in the ‘production’ namespace”

“Get details of the segment named ‘example’ in namespace ‘production‘“

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