Script
Script provides tools for creating, and listing resources in F5 Distributed Cloud.
| Tool | Description |
|---|---|
f5xc-api-shape-script-create | List Scripts. |
f5xc-api-shape-script-list | List Scripts. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
namespace | Namespace Namespace. | system |
Query Parameters
Section titled “Query Parameters”| Parameter | Description | Example |
|---|---|---|
end_time | X-required format: unix epoch timestamp in seconds… | - |
page_number | One-indexed page number (starts from 1), page_number and page_size are optional when page_token is specified. | - |
page_size | The maximum number of scripts to return per page. | - |
page_token | Page_token is the value of listscriptsresponse.next_page_token from previous request. | - |
start_time | X-required format: unix epoch timestamp in seconds… | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Script resources:
Create Script
Section titled “Create Script”“Create a script named ‘example’ in the ‘production’ namespace”
List Scripts
Section titled “List Scripts”“List all scripts in the ‘production’ namespace”
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/shape/csd/namespaces/$${PARAM}/scripts" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resourcecurl -X POST "https://${TENANT}.console.ves.volterra.io/api/shape/csd/namespaces/$${PARAM}/scripts" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @script.json