Skip to content

Set Tgw Info

Configure TGW Information like tgw-ID, F5 Distributed Cloud site’s VPC-ID.

ToolDescription
f5xc-api-sites-set-tgw-info-createConfigure TGW Information.
ParameterDescriptionExample
nameName-
namespaceNamespace-

Ask Claude to help you work with Set Tgw Info resources:

“Create a set-tgw-info named ‘example’ in the ‘production’ namespace”

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