Nginx Csg¶
Low Risk
Operations on this resource are generally safe.
List the set of nginx_csg in a namespace.
Tools¶
| Tool | Description |
|---|---|
f5xc-api-nginxone-nginx-csg-get | GET Request. |
f5xc-api-nginxone-nginx-csg-list | List NGINX One CSG Object configuration. |
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 Nginx Csg resources:
List Nginx Csgs¶
"List all nginx-csgs in the 'production' namespace"
Get Nginx Csg Details¶
"Get details of the nginx-csg named 'example' in namespace 'production'"
CURL Examples¶
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/nginx_csgs" \
-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}/nginx_csgs/<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}/nginx_csgs" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @nginx_csg.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/nginx_csgs/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"