Forum Discussion
Aaron_Forster_3
Jan 03, 2013Historic F5 Account
Deploy an application Service from an iApp template via tmsh
I've seen a couple of refernces to how to do this but nothing fully fledged out so here is my attempt to do so.
The actual man page of the command can be viewed by issuing the following from wi...
Ken_Bocchino_49
Mar 12, 2015Historic F5 Account
Here is a rest example:
curl -ku \
$username:$password \
https://$device/mgmt/tm/sys/application/service \
-H "Content-Type: application/json" -X POST \
-d '{"partition":"Common","template":"tempatename","inheritedTrafficGroup":"false","name":"deployment",
"variables":[
{"name":"configuration__provision","encrypted":"no","value":"yes"},
{"name":"configuration__aws_log_stream","encrypted":"no","value":"something"}
],
"tables":[{"name":"configuration__destination","columnNames":[
"ip",
"port",
"mode",
"backendmembers",
"monitoruser",
"monitorpass",
"monitoruri",
"monitorexpect",
"asmtemplate",
"l7ddos",
"ipintel",
"caching",
"tcpoptmode",
"fqdns",
"oneconnect",
"sslcert",
"sslkey",
"sslchain",
"correctforbugblank"
],"rows":[{
"row":[
"something",
"80",
"http",
"something",
"",
"",
"/test.html",
"",
"something",
"yes",
"yes",
"yes",
"wanlan",
"something",
"yes",
"",
"",
"",
"correctforbugblank"
]},{"row":[
"something",
"443",
"sslhttp",
"something",
"",
"",
"/test/monitor.html",
"",
"something",,
"yes",
"yes",
"yes",
"wanlan",
"something",
"yes",
"something",
"something",
"something",
"correctforbugblank"
]}]}]}'
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