​
Select Service
- About F5 Distributed Cloud Services
- Services
- Concepts
- Quick Start
- How To
- Images
- Changelogs
- Reference
- Support
- FAQs
ves-io-schema-views-aws_tgw_site-CustomAPI-SetVIPInfo
Published April 5, 2023 | Last modified March 20, 2025
Examples of performing aws_tgw_site CustomAPI SetVIPInfo
Usecase:
Configure AWS TGW Site VIP Information
Request:
Request using vesctl:
vesctl request rpc aws_tgw_site.CustomAPI.SetVIPInfo -i request.yaml --uri /public/namespaces/default/aws_tgw_site/my-site/set_vip_info --http-method POST
where file request.yaml has following contents:
name: my-site
namespace: system
vipParamsPerAz:
- azName: us-east-2a
insideVip:
- 1.1.1.1
outsideVip:
- 2.2.2.2
Copy to clipboard!
vesctl yaml response:
{}
Copy to clipboard!
Request using curl:
curl -X 'POST' -d '{"namespace":"system","name":"my-site","vip_params_per_az":[{"inside_vip":["1.1.1.1"],"outside_vip":["2.2.2.2"],"az_name":"us-east-2a"}]}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build436303540_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/default/aws_tgw_site/my-site/set_vip_info'
Copy to clipboard!
curl response:
HTTP/1.1 200 OK
Content-Length: 4
Content-Type: application/json
Date: Tue, 11 Mar 2025 00:57:40 GMT
Vary: Accept-Encoding
{
}
Copy to clipboard!