Forum Discussion
Bunkemannen
Nimbostratus
Mar 12, 2020Create an address List on the bigip using RestAPI?
Is it possible to automate the creation of address Lists (shared Objects) via the API, or any other tool lika Ansible /Terraform?
- cjunior
Nacreous
Hello,
Using iControlREST:
curl -k -u "admin:admin" -X POST -H 'Content-Type: application/json' -d '{ "name":"my_list", "addresses":["10.10.10.10","10.10.10.20"] }' https://192.168.1.245/mgmt/tm/security/firewall/address-list |jq
I hope it helps.
Regards.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects