- Home
- API MCP Server
- tools
- cloud-infrastructure
- Segment Metric
Segment Metric
Cloud Connect APIs are used to GET the segment data for cloud connect.
| Tool | Description |
|---|---|
f5xc-api-cloudinfrastructure-segment-metric-create | All Cloud Connect Segment Metrics. |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Segment Metric resources:
Create Segment Metric
Section titled “Create Segment Metric”“Create a segment-metric named ‘example’ in the ‘production’ namespace”
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/segment_metrics" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json"
# Get specific resourcecurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/segment_metrics/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json"
# Create resourcecurl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/segment_metrics" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @segment_metric.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/segment_metrics/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"